swagger.yaml 1.0 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735
  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. allOf:
  230. - $ref: '#/definitions/models.Division'
  231. description: 省
  232. type: object
  233. common.QueryTableDefineRsp:
  234. properties:
  235. columns:
  236. description: 列头信息数组
  237. items:
  238. $ref: '#/definitions/models.Tablecolumnconfig'
  239. type: array
  240. remark:
  241. description: Remark
  242. type: string
  243. tabelmenu:
  244. description: 列表菜单
  245. type: string
  246. tablekey:
  247. description: 列表Key
  248. type: string
  249. tablename:
  250. description: 列表名称
  251. type: string
  252. tabletype:
  253. description: 列表类型 - 1:管理端 2:终端
  254. type: integer
  255. required:
  256. - tablekey
  257. type: object
  258. common.QueryTraderMenuRsp:
  259. properties:
  260. OperationMenu:
  261. description: 功能菜单
  262. items:
  263. $ref: '#/definitions/models.OperationPrimaryMenu'
  264. type: array
  265. QuoteMenu:
  266. description: 报价牌分类菜单
  267. items:
  268. $ref: '#/definitions/models.QuotePrimaryMenu'
  269. type: array
  270. type: object
  271. cptrade.Cptradepositioncancel:
  272. properties:
  273. accountid:
  274. description: 申请人账户ID
  275. type: integer
  276. applystatus:
  277. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  278. type: integer
  279. applytime:
  280. description: 申请时间
  281. type: string
  282. cancelid:
  283. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  284. type: integer
  285. cancelqty:
  286. description: 注销数量
  287. type: integer
  288. createtime:
  289. description: 创建时间
  290. type: string
  291. creatorid:
  292. description: 创建人ID
  293. type: integer
  294. creatorname:
  295. description: 创建人
  296. type: string
  297. goodscode:
  298. description: 订单商品代码
  299. type: string
  300. goodsid:
  301. description: 商品ID
  302. type: integer
  303. goodsname:
  304. description: 订单商品名称
  305. type: string
  306. goodunit:
  307. description: 报价单位
  308. type: string
  309. handlestatus:
  310. description: 处理状态
  311. type: integer
  312. marketid:
  313. description: 市场ID
  314. type: integer
  315. marketname:
  316. description: 市场名称
  317. type: string
  318. tradedate:
  319. description: 交易日(yyyyMMdd)
  320. type: string
  321. userid:
  322. description: 申请人ID
  323. type: integer
  324. required:
  325. - cancelid
  326. type: object
  327. cptrade.Cptradepresaleapply:
  328. properties:
  329. accountid:
  330. description: 申请人账户ID
  331. type: integer
  332. applyid:
  333. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  334. type: integer
  335. applyremark:
  336. description: 申请备注
  337. type: string
  338. applystatus:
  339. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  340. type: integer
  341. applytime:
  342. description: 申请时间
  343. type: string
  344. attachmenturl:
  345. description: 附件地址
  346. type: string
  347. endtime:
  348. description: 预售结束时间
  349. type: string
  350. goodscode:
  351. description: 商品代码
  352. type: string
  353. goodsid:
  354. description: 商品ID
  355. type: integer
  356. goodsname:
  357. description: 商品名称
  358. type: string
  359. goodunit:
  360. description: 报价单位
  361. type: string
  362. handlestatus:
  363. description: 处理状态
  364. type: integer
  365. marketid:
  366. description: 预售市场ID
  367. type: integer
  368. marketname:
  369. description: 预售市场名称
  370. type: string
  371. presaleqty:
  372. description: 预售数量
  373. type: integer
  374. relatedgoodscode:
  375. description: 关联交易合约代码
  376. type: string
  377. relatedgoodsid:
  378. description: 关联交易合约ID
  379. type: integer
  380. relatedgoodsname:
  381. description: 关联交易合约名称
  382. type: string
  383. starttime:
  384. description: 预售开始时间
  385. type: string
  386. tradedate:
  387. description: 交易日(yyyyMMdd)
  388. type: string
  389. trademode:
  390. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  391. type: integer
  392. userid:
  393. description: 申请人ID
  394. type: integer
  395. required:
  396. - applyid
  397. type: object
  398. cptrade.Cptradeusergoodsdata:
  399. properties:
  400. EnabledQty:
  401. description: 可用量
  402. type: integer
  403. GoodsCode:
  404. description: 订单商品代码
  405. type: string
  406. GoodsName:
  407. description: 订单商品名称
  408. type: string
  409. WRStandardCode:
  410. description: 仓单标准代码
  411. type: string
  412. WRStandardName:
  413. description: 仓单标准名称
  414. type: string
  415. accountid:
  416. description: 账户ID
  417. type: integer
  418. cancelqty:
  419. description: 注销量
  420. type: integer
  421. curpresaleqty:
  422. description: 当前预售量
  423. type: integer
  424. deliveryqty:
  425. description: 交割量
  426. type: integer
  427. freezeamount:
  428. description: 冻结金额
  429. type: number
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. goodunit:
  434. description: 报价单位
  435. type: string
  436. hasspotfreeze:
  437. description: 是否有现货冻结 - 0:否 1:有
  438. type: integer
  439. inqty:
  440. description: 转入量(总数量)
  441. type: integer
  442. marketid:
  443. description: 市场ID
  444. type: integer
  445. presaledamount:
  446. description: 已预售总金额
  447. type: integer
  448. presaledqty:
  449. description: 已预售量
  450. type: integer
  451. userid:
  452. description: 用户ID
  453. type: integer
  454. wrstandardid:
  455. description: 仓单标准ID
  456. type: integer
  457. required:
  458. - accountid
  459. - goodsid
  460. type: object
  461. cptrade.QueryCPTradeMyBidRsp:
  462. properties:
  463. accountid:
  464. description: 账户ID[报价币种]
  465. type: integer
  466. goodsid:
  467. description: 商品ID
  468. type: integer
  469. goodunit:
  470. description: 报价单位
  471. type: string
  472. marketid:
  473. description: 市场ID
  474. type: integer
  475. orderid:
  476. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  477. type: integer
  478. orderprice:
  479. description: 委托价格
  480. type: number
  481. orderqty:
  482. description: 委托数量
  483. type: integer
  484. ordertime:
  485. description: 委托时间
  486. type: string
  487. ordertotalprice:
  488. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  489. type: number
  490. ordertotalweight:
  491. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  492. type: integer
  493. totaltotalprice:
  494. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  495. type: number
  496. tradeprice:
  497. description: 成交价格
  498. type: number
  499. tradeqty:
  500. description: 成交数量
  501. type: integer
  502. required:
  503. - accountid
  504. - goodsid
  505. - marketid
  506. - orderid
  507. - orderqty
  508. - ordertime
  509. - tradeprice
  510. - tradeqty
  511. type: object
  512. cptrade.QueryCPTradeOrderDetailRsq:
  513. properties:
  514. accountid:
  515. description: 账户ID[报价币种]
  516. type: integer
  517. buildtype:
  518. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  519. type: integer
  520. buyorsell:
  521. description: 买卖 - 0:买 1:卖
  522. type: integer
  523. cancelorderid:
  524. description: 撤单单号(撤单时填写)
  525. type: integer
  526. cancelqty:
  527. description: 撤单数量
  528. type: integer
  529. clientordertime:
  530. description: 客户端委托时间
  531. type: string
  532. clientticket:
  533. description: 客户端流水号
  534. type: string
  535. clienttype:
  536. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  537. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  538. type: integer
  539. closeexchagechargevalue:
  540. description: 平仓交易所手续费设置值
  541. type: number
  542. closefeealgorithm:
  543. description: 平仓手续费收取方式 1:比率 2:固定
  544. type: integer
  545. closefreezecharge:
  546. description: 平仓冻结手续费(先建后平操作,需要记录)
  547. type: number
  548. closememberchargevalue:
  549. description: 平仓会员手续费设置值
  550. type: number
  551. closeqty:
  552. description: 平仓数量(先建后平操作 需要记录)
  553. type: integer
  554. closetradeqty:
  555. description: 平仓成交数量(先建后平操作,需要记录)
  556. type: integer
  557. closeunfreezecharge:
  558. description: 平仓解冻手续费(先建后平操作,需要记录)
  559. type: number
  560. delistingtype:
  561. description: 摘牌类型 - 1:价格最优 2:点选成交
  562. type: integer
  563. freezecharge:
  564. description: 冻结手续费
  565. type: number
  566. freezemargin:
  567. description: 冻结保证金(冻结交易金额)
  568. type: number
  569. gcaccountid:
  570. description: 账户ID[合约币种]
  571. type: integer
  572. goodsid:
  573. description: 商品ID
  574. type: integer
  575. isconfirmexercise:
  576. description: 是否确认行权- 0:否 1:是
  577. type: integer
  578. ispreexercise:
  579. description: 是否预申报- 0:否 1:是
  580. type: integer
  581. listingselecttype:
  582. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  583. type: integer
  584. marginalgorithm:
  585. description: 保证金收取方式 1:比率 2:固定
  586. type: integer
  587. marginvalue:
  588. description: 即市保证金设置值
  589. type: number
  590. marketid:
  591. description: 市场ID
  592. type: integer
  593. marketmaxsub:
  594. description: 市价最大偏移范围
  595. type: number
  596. memberuserid:
  597. description: 所属会员UserID
  598. type: integer
  599. openexchagechargevalue:
  600. description: 建仓交易所手续费设置值
  601. type: number
  602. openfeealgorithm:
  603. description: 建仓手续费收取方式 1:比率 2:固定
  604. type: integer
  605. openfreezecharge:
  606. description: 开仓冻结手续费(先建后平操作,需要记录)
  607. type: number
  608. openmemberchargevalue:
  609. description: 建仓会员手续费设置值
  610. type: number
  611. openqty:
  612. description: 开仓数量(先建后平操作,需要记录)
  613. type: integer
  614. opentradeqty:
  615. description: 开仓成交数量(先建后平操作,需要记录)
  616. type: integer
  617. openunfreezecharge:
  618. description: 开仓解冻手续费(先建后平操作,需要记录)
  619. type: number
  620. operatetype:
  621. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  622. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  623. 15:管理端协议转让
  624. type: integer
  625. operatorid:
  626. description: 登录账号(LoginID)
  627. type: integer
  628. optiontype:
  629. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  630. type: integer
  631. orderprice:
  632. description: 委托价格
  633. type: number
  634. orderqty:
  635. description: 委托数量
  636. type: integer
  637. ordersrc:
  638. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  639. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  640. type: integer
  641. orderstatus:
  642. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  643. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  644. 16:成交失败违约(荷兰式竞拍专用)
  645. type: integer
  646. ordertime:
  647. description: 委托时间
  648. type: string
  649. preexerciseprice:
  650. description: 预申报价格
  651. type: number
  652. premium:
  653. description: 权利金
  654. type: number
  655. preorderid:
  656. description: 关联预埋单号(止盈止损单时填写)
  657. type: integer
  658. pricemode:
  659. description: '取价方式 - 1:市价 2: 限价'
  660. type: integer
  661. quoteid:
  662. description: 报价单ID
  663. type: integer
  664. relatedid:
  665. description: 关联单号(交割单)
  666. type: integer
  667. retcode:
  668. description: 错误代码
  669. type: integer
  670. sessionid:
  671. description: 会话ID
  672. type: integer
  673. strorderid:
  674. description: 委托单号
  675. type: string
  676. tradedate:
  677. description: 交易日(yyyyMMdd)
  678. type: string
  679. tradeproperty:
  680. description: 交易属性
  681. type: integer
  682. tradeqty:
  683. description: 成交数量
  684. type: integer
  685. unfreezecharge:
  686. description: 解冻手续费
  687. type: number
  688. unfreezemargin:
  689. description: 解冻保证金
  690. type: number
  691. updatetime:
  692. description: 更新时间
  693. type: string
  694. uuid:
  695. description: 发起端唯一id
  696. type: string
  697. validtime:
  698. description: 有效期限
  699. type: string
  700. validtype:
  701. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  702. type: integer
  703. volumetype:
  704. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  705. type: integer
  706. required:
  707. - accountid
  708. - buildtype
  709. - buyorsell
  710. - goodsid
  711. - marketid
  712. - memberuserid
  713. - operatetype
  714. - orderqty
  715. - ordertime
  716. - pricemode
  717. - strorderid
  718. - tradedate
  719. - validtype
  720. type: object
  721. cptrade.QueryMyCPTradeGoodsRsp:
  722. properties:
  723. accountid:
  724. description: 卖方账户ID
  725. type: integer
  726. agreeunit:
  727. description: 合约单位
  728. type: number
  729. applyid:
  730. description: 关联申请ID
  731. type: integer
  732. attachmenturl:
  733. description: 附件地址
  734. type: string
  735. createtime:
  736. description: 创建时间
  737. type: string
  738. currencyid:
  739. description: 报价货币ID
  740. type: integer
  741. decimalplace:
  742. description: 报价小数位
  743. type: integer
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodscode:
  751. description: 商品代码(预售)
  752. type: string
  753. goodsdetail:
  754. description: 详情[大宗]
  755. type: string
  756. goodsid:
  757. description: 商品ID(自增ID SEQ_GOODS)
  758. type: integer
  759. goodsname:
  760. description: 商品名称(预售)
  761. type: string
  762. goodunit:
  763. description: 报价单位
  764. type: string
  765. goodunitid:
  766. description: 报价单位ID
  767. type: integer
  768. marketid:
  769. description: 所属市场ID
  770. type: integer
  771. marketname:
  772. description: 预售市场名称
  773. type: string
  774. presaledamount:
  775. description: 已预售总金额(预售结束时更新)
  776. type: number
  777. presaledqty:
  778. description: 已预售量(预售结束时更新)
  779. type: integer
  780. presalemode:
  781. description: 预售模式 - 1:一口价 2:大宗式竞拍
  782. type: integer
  783. presaleqty:
  784. description: 预售数量
  785. type: integer
  786. refprice:
  787. description: 参考价格[一口价]
  788. type: number
  789. relatedgoodscode:
  790. description: 商品代码(订单)
  791. type: string
  792. relatedgoodsid:
  793. description: 关联交易合约ID
  794. type: integer
  795. relatedgoodsname:
  796. description: 商品名称(订单)
  797. type: string
  798. relatedmarketid:
  799. description: 关联交易合约市场ID
  800. type: integer
  801. sellstatus:
  802. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  803. type: integer
  804. startprice:
  805. description: 起拍价[大宗式竞拍]
  806. type: number
  807. starttime:
  808. description: 预售开始时间
  809. type: string
  810. tradedate:
  811. description: 交易日(yyyyMMdd)
  812. type: string
  813. tradeprice:
  814. description: 成交价[大宗]
  815. type: number
  816. userid:
  817. description: 卖方用户ID
  818. type: integer
  819. required:
  820. - goodscode
  821. - goodsid
  822. - goodsname
  823. - marketid
  824. - relatedgoodscode
  825. - relatedgoodsname
  826. type: object
  827. cptrade.QueryPresaleGoodsExRsp:
  828. properties:
  829. attachmenturl:
  830. description: 附件地址
  831. type: string
  832. createtime:
  833. description: 创建时间
  834. type: string
  835. endtime:
  836. description: 预售结束时间
  837. type: string
  838. floorprice:
  839. description: 底价[大宗式竞拍]
  840. type: number
  841. goodsdetail:
  842. description: 详情[大宗]
  843. type: string
  844. goodsid:
  845. description: 商品ID(预售)
  846. type: integer
  847. goodunit:
  848. description: 报价单位
  849. type: string
  850. marketid:
  851. description: 预售市场ID - 根据预售模式选择市场
  852. type: integer
  853. presaledamount:
  854. description: 已预售总金额(预售结束时更新)
  855. type: number
  856. presaledqty:
  857. description: 已预售量(预售结束时更新)
  858. type: integer
  859. presalemode:
  860. description: 预售模式 - 1:一口价 2:大宗式竞拍
  861. type: integer
  862. presaleqty:
  863. description: 预售数量
  864. type: integer
  865. refprice:
  866. description: 参考价格[一口价]
  867. type: number
  868. relatedgoodsid:
  869. description: 关联交易合约ID
  870. type: integer
  871. relatedmarketid:
  872. description: 关联交易合约市场ID
  873. type: integer
  874. sellstatus:
  875. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  876. type: integer
  877. startprice:
  878. description: 起拍价[大宗式竞拍]
  879. type: number
  880. starttime:
  881. description: 预售开始时间
  882. type: string
  883. tradedate:
  884. description: 交易日(yyyyMMdd)
  885. type: string
  886. tradeprice:
  887. description: 成交价[大宗]
  888. type: number
  889. required:
  890. - goodsid
  891. type: object
  892. delivery.QueryDeliveryRelationRsp:
  893. properties:
  894. begindate:
  895. description: 起始日期(yyyyMMdd)
  896. type: string
  897. buytemplateid:
  898. description: 买履约计划模板ID
  899. type: integer
  900. deliverygoodscode:
  901. description: 品种代码
  902. type: string
  903. deliverygoodsid:
  904. description: 交割商品
  905. type: integer
  906. deliverygoodsname:
  907. description: 品种名称
  908. type: string
  909. deliverymode:
  910. description: 交割方式 - 1:点选式 2:申报式
  911. type: integer
  912. deliverypricerule:
  913. description: 交割价规则- 1:行情价 2:建仓价
  914. type: integer
  915. deliverytype:
  916. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  917. type: integer
  918. enddate:
  919. description: 结束日期(yyyyMMdd)
  920. type: string
  921. enumdicname:
  922. description: 品类单位名称
  923. type: string
  924. goodscode:
  925. description: 商品代码
  926. type: string
  927. goodsid:
  928. description: 交易合约ID
  929. type: integer
  930. goodsname:
  931. description: 商品名称
  932. type: string
  933. marketid:
  934. description: 市场ID
  935. type: integer
  936. mindeliveryqty:
  937. description: 最小交割系数(K)
  938. type: integer
  939. p2deliveryprice:
  940. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  941. type: number
  942. p2deliveryratio:
  943. description: P2合约系数(p)
  944. type: integer
  945. p2goodsid:
  946. description: P2合约ID
  947. type: integer
  948. p2pricemode:
  949. description: P2合约价格方式 - 1:商品价 2:固定值
  950. type: integer
  951. pdeliveryprice:
  952. description: P合约价格(商品价时填写0,固定值时填写固定值)
  953. type: number
  954. pdeliveryratio:
  955. description: P合约系数(n)
  956. type: integer
  957. pgoodscode:
  958. description: p合约代码
  959. type: string
  960. pgoodsid:
  961. description: P合约ID
  962. type: integer
  963. ppricemode:
  964. description: P合约价格方式 - 1:商品价 2:固定值
  965. type: integer
  966. rratio:
  967. description: 兑换系数(R)
  968. type: integer
  969. rratio1:
  970. description: 兑换系数(交易合约)(R1)
  971. type: integer
  972. rratio2:
  973. description: 兑换系数(仓单标准)(R2)
  974. type: integer
  975. selltemplateid:
  976. description: 卖履约计划模板ID
  977. type: integer
  978. wrstandardid:
  979. description: 仓单标准ID
  980. type: integer
  981. xdeliveryratio:
  982. description: 交易合约系数(m)
  983. type: integer
  984. required:
  985. - begindate
  986. - enddate
  987. - goodsid
  988. - mindeliveryqty
  989. - xdeliveryratio
  990. type: object
  991. ermcp.ExposureDetailRsp:
  992. properties:
  993. areauserid:
  994. description: 机构ID
  995. type: integer
  996. changeQty:
  997. description: 套保变动量
  998. type: number
  999. contracttype:
  1000. description: 现货合同类型 - 1:采购 -1:销售
  1001. type: integer
  1002. convertfactor:
  1003. description: 标仓系数
  1004. type: number
  1005. convertratio:
  1006. description: 套保系数
  1007. type: number
  1008. createtime:
  1009. description: 时间
  1010. type: string
  1011. enumdicname:
  1012. description: 现货商品单位名称
  1013. type: string
  1014. logtype:
  1015. description: 类型 - 1:套保计划 2:现货合同
  1016. type: integer
  1017. middlegoodsId:
  1018. description: 套保商品id
  1019. type: integer
  1020. middlegoodscode:
  1021. description: 套保商品代码
  1022. type: string
  1023. middlegoodsname:
  1024. description: 套保商品名称
  1025. type: string
  1026. qty:
  1027. description: 数量
  1028. type: number
  1029. relateNo:
  1030. description: 现货合同/套保计划编号
  1031. type: string
  1032. wrstandardcode:
  1033. description: 现货商品代码
  1034. type: string
  1035. wrstandardid:
  1036. description: 现货商品ID
  1037. type: integer
  1038. wrstandardname:
  1039. description: 现货商品名称
  1040. type: string
  1041. type: object
  1042. ermcp.ExposureHedgePosDetailRsp:
  1043. properties:
  1044. buyorsell:
  1045. description: 买卖方向 0-买 1-卖
  1046. type: integer
  1047. channelbuildtype:
  1048. description: 开平方向 1-建仓 2-平仓
  1049. type: integer
  1050. goodscode:
  1051. description: 商品代码
  1052. type: string
  1053. goodsname:
  1054. description: 商品名称
  1055. type: string
  1056. hedgegoodsid:
  1057. description: 商品id
  1058. type: integer
  1059. tradeqty:
  1060. description: 数量(成交数量)
  1061. type: integer
  1062. tradetime:
  1063. description: 时间(成交时间)
  1064. type: string
  1065. type: object
  1066. ermcp.ExposureHedgePositionRsp:
  1067. properties:
  1068. accountid:
  1069. description: 资金账号[外部母账户]
  1070. type: integer
  1071. curbuyposition:
  1072. description: 期末买头寸
  1073. type: integer
  1074. cursellposition:
  1075. description: 期末卖头寸
  1076. type: integer
  1077. curtdbuyposition:
  1078. description: 期末今日买头寸
  1079. type: integer
  1080. curtdsellposition:
  1081. description: 期末今日卖头寸
  1082. type: integer
  1083. curydbuyposition:
  1084. description: 期末上日买头寸
  1085. type: integer
  1086. curydsellposition:
  1087. description: 期末上日卖头寸
  1088. type: integer
  1089. decreaseqty:
  1090. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1091. type: integer
  1092. fretdbuyposition:
  1093. description: 冻结今日买头寸
  1094. type: integer
  1095. fretdsellposition:
  1096. description: 冻结今日卖头寸
  1097. type: integer
  1098. freydbuyposition:
  1099. description: 冻结上日买头寸
  1100. type: integer
  1101. freydsellposition:
  1102. description: 冻结上日卖头寸
  1103. type: integer
  1104. goodscode:
  1105. description: 商品代码
  1106. type: string
  1107. goodsid:
  1108. description: 商品id
  1109. type: integer
  1110. goodsname:
  1111. description: 商品名称
  1112. type: string
  1113. hedgeaccountcode:
  1114. description: 对冲账号
  1115. type: string
  1116. hedgegoodsid:
  1117. description: 对冲合约ID
  1118. type: integer
  1119. increaseqty:
  1120. description: 增加数量 = 期末买头寸 - 期初买头寸
  1121. type: integer
  1122. marketid:
  1123. description: 市场ID
  1124. type: integer
  1125. relateduserid:
  1126. description: 关联用户id
  1127. type: integer
  1128. totalcurqty:
  1129. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1130. type: integer
  1131. totalydqty:
  1132. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1133. type: integer
  1134. tradedate:
  1135. description: 交易日(yyyyMMdd)
  1136. type: string
  1137. ydbuyposition:
  1138. description: 期初买头寸
  1139. type: integer
  1140. ydsellposition:
  1141. description: 期初卖头寸
  1142. type: integer
  1143. type: object
  1144. ermcp.ExposureSpotDetailRsp:
  1145. properties:
  1146. contracttype:
  1147. description: 合同类型 1-采购 -1-销售
  1148. type: integer
  1149. createtime:
  1150. description: 创建时间
  1151. type: string
  1152. enumdicname:
  1153. description: 现货商品单位名称
  1154. type: string
  1155. logtype:
  1156. description: 记录类型 1-套保 2-现货合同
  1157. type: integer
  1158. qty:
  1159. description: 数量
  1160. type: number
  1161. recordname:
  1162. description: 类型名称
  1163. type: string
  1164. relatedid:
  1165. description: 套保计划ID/现货合同ID
  1166. type: string
  1167. relatedno:
  1168. description: 编号
  1169. type: string
  1170. strtime:
  1171. description: 时间
  1172. type: string
  1173. wrstandardcode:
  1174. description: 现货商品代码
  1175. type: string
  1176. wrstandardname:
  1177. description: 现货商品名称
  1178. type: string
  1179. type: object
  1180. ermcp.ExposureSpotRsp:
  1181. properties:
  1182. areauserid:
  1183. description: 所属机构
  1184. type: integer
  1185. decreaseqty:
  1186. description: 减少数量=-(销售已定价数量+采购计划数量)
  1187. type: number
  1188. increaseqty:
  1189. description: 增加数量=销售计划数量+采购已定价数量
  1190. type: number
  1191. oritoalspotqty:
  1192. description: 昨日数量
  1193. type: number
  1194. totalspotqty:
  1195. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1196. type: number
  1197. updatetime:
  1198. description: 更新时间
  1199. type: string
  1200. wrstandardcode:
  1201. description: 现货品种代码
  1202. type: string
  1203. wrstandardid:
  1204. description: 现货商品ID
  1205. type: integer
  1206. wrstandardname:
  1207. description: 现货品种
  1208. type: string
  1209. type: object
  1210. ermcp.HisExposureRsp:
  1211. properties:
  1212. data:
  1213. description: 历史敞口
  1214. items:
  1215. $ref: '#/definitions/models.ErmcpHisExposure'
  1216. type: array
  1217. enumdicname:
  1218. description: 单位名称
  1219. type: string
  1220. middlegoodscode:
  1221. description: 套保品种代码
  1222. type: string
  1223. middlegoodsid:
  1224. description: 套保品种ID
  1225. type: integer
  1226. middlegoodsname:
  1227. description: 套保品种名称
  1228. type: string
  1229. type: object
  1230. ermcp.PendingAuditCntRsp:
  1231. properties:
  1232. areastockqty:
  1233. description: '待审核数量: 库存申请'
  1234. type: integer
  1235. businessdjqty:
  1236. description: '待审核数量: 点价'
  1237. type: integer
  1238. businessfpqty:
  1239. description: '待审核数量: 发票'
  1240. type: integer
  1241. businessjsqty:
  1242. description: '待审核数量: 结算'
  1243. type: integer
  1244. businesskxqty:
  1245. description: '待审核数量: 款项'
  1246. type: integer
  1247. hedgeplanqty:
  1248. description: '待审核数量: 套保计划'
  1249. type: integer
  1250. spotcontractqty:
  1251. description: '待审核数量: 现货合同'
  1252. type: integer
  1253. userqty:
  1254. description: '待审核数量: 用户'
  1255. type: integer
  1256. type: object
  1257. ermcp.QryAvalidGPRsp:
  1258. properties:
  1259. goodsgroupid:
  1260. description: 期货品种id
  1261. type: integer
  1262. goodsgroupname:
  1263. description: 期货品种名称
  1264. type: string
  1265. goodunitid:
  1266. description: 品种单位id
  1267. type: integer
  1268. goodunitname:
  1269. description: 品种单位名称
  1270. type: string
  1271. outergroupcode:
  1272. description: 期货品种代码
  1273. type: string
  1274. type: object
  1275. ermcp.QryBusinessDjRsp:
  1276. properties:
  1277. amount:
  1278. description: 点价金额=(点价价格+升贴水)*点价数量
  1279. type: number
  1280. applyid:
  1281. description: 申请人
  1282. type: string
  1283. applyname:
  1284. description: 申请人名称
  1285. type: string
  1286. applystatus:
  1287. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1288. type: integer
  1289. applytime:
  1290. description: 申请时间
  1291. type: string
  1292. attachurl:
  1293. description: 附件
  1294. type: string
  1295. auditid:
  1296. description: 审核人ID
  1297. type: string
  1298. auditname:
  1299. description: 审核人名称
  1300. type: string
  1301. auditremark:
  1302. description: 审核备注
  1303. type: string
  1304. audittime:
  1305. description: 审核时间
  1306. type: string
  1307. buyusername:
  1308. description: 采购方名称
  1309. type: string
  1310. contractno:
  1311. description: 合同编号
  1312. type: string
  1313. contractstatus:
  1314. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1315. type: integer
  1316. contracttype:
  1317. description: 现货合同类型 - 1:采购 -1:销售
  1318. type: integer
  1319. deliverygoodscode:
  1320. description: 现货品种代码
  1321. type: string
  1322. deliverygoodsid:
  1323. description: 现货商品ID
  1324. type: integer
  1325. deliverygoodsname:
  1326. description: 现货品种名称
  1327. type: string
  1328. enumdicname:
  1329. description: 单位名称
  1330. type: string
  1331. goodscode:
  1332. description: 点价合约
  1333. type: string
  1334. goodsname:
  1335. description: 商品名称
  1336. type: string
  1337. operateapplyid:
  1338. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1339. type: string
  1340. operateapplytype:
  1341. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1342. type: integer
  1343. pricedPrice:
  1344. description: 点价价格(非必填)
  1345. type: number
  1346. pricedQty:
  1347. description: 点价数量(非必填)
  1348. type: number
  1349. pricemove:
  1350. description: 升贴水
  1351. type: number
  1352. pricetype:
  1353. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1354. type: integer
  1355. relatedid:
  1356. description: 现货合同ID
  1357. type: string
  1358. sellusername:
  1359. description: 销售方名字
  1360. type: string
  1361. userid:
  1362. description: 用户ID
  1363. type: integer
  1364. wrstandardcode:
  1365. description: 品类代码
  1366. type: string
  1367. wrstandardid:
  1368. description: 品类id
  1369. type: integer
  1370. wrstandardname:
  1371. description: 品类名称
  1372. type: string
  1373. type: object
  1374. ermcp.QryBussinessFpRsp:
  1375. properties:
  1376. applyid:
  1377. description: 申请人
  1378. type: string
  1379. applyname:
  1380. description: 申请人名称
  1381. type: string
  1382. applystatus:
  1383. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1384. type: integer
  1385. applytime:
  1386. description: 申请时间
  1387. type: string
  1388. attachurl:
  1389. description: 附件
  1390. type: string
  1391. auditid:
  1392. description: 审核人ID
  1393. type: string
  1394. auditname:
  1395. description: 审核人名称
  1396. type: string
  1397. auditremark:
  1398. description: 审核备注
  1399. type: string
  1400. audittime:
  1401. description: 审核时间
  1402. type: string
  1403. buyusername:
  1404. description: 采购方名称
  1405. type: string
  1406. contractno:
  1407. description: 合同编号
  1408. type: string
  1409. contractstatus:
  1410. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1411. type: integer
  1412. contracttype:
  1413. description: 现货合同类型 - 1:采购 -1:销售
  1414. type: integer
  1415. deliverygoodscode:
  1416. description: 现货品种代码
  1417. type: string
  1418. deliverygoodsid:
  1419. description: 现货商品ID
  1420. type: integer
  1421. deliverygoodsname:
  1422. description: 现货品种名称
  1423. type: string
  1424. enumdicname:
  1425. description: 单位名称
  1426. type: string
  1427. goodscode:
  1428. description: 点价合约
  1429. type: string
  1430. goodsname:
  1431. description: 商品名称
  1432. type: string
  1433. invoiceamount:
  1434. description: 已开收票金额(销售为开票,采购为收票)
  1435. type: number
  1436. operateapplyid:
  1437. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1438. type: string
  1439. operateapplytype:
  1440. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1441. type: integer
  1442. pricemove:
  1443. description: 升贴水
  1444. type: number
  1445. pricetype:
  1446. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1447. type: integer
  1448. relatedid:
  1449. description: 现货合同ID
  1450. type: string
  1451. sellusername:
  1452. description: 销售方名字
  1453. type: string
  1454. userid:
  1455. description: 用户ID
  1456. type: integer
  1457. wrstandardcode:
  1458. description: 品类代码
  1459. type: string
  1460. wrstandardid:
  1461. description: 品类id
  1462. type: integer
  1463. wrstandardname:
  1464. description: 品类名称
  1465. type: string
  1466. type: object
  1467. ermcp.QryBussinessJsExRsp:
  1468. properties:
  1469. applyid:
  1470. description: 申请人
  1471. type: string
  1472. applyname:
  1473. description: 申请人名称
  1474. type: string
  1475. applystatus:
  1476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1477. type: integer
  1478. applytime:
  1479. description: 申请时间
  1480. type: string
  1481. attachurl:
  1482. description: 附件
  1483. type: string
  1484. auditid:
  1485. description: 审核人ID
  1486. type: string
  1487. auditname:
  1488. description: 审核人名称
  1489. type: string
  1490. auditremark:
  1491. description: 审核备注
  1492. type: string
  1493. audittime:
  1494. description: 审核时间
  1495. type: string
  1496. buyusername:
  1497. description: 采购方名称
  1498. type: string
  1499. contractno:
  1500. description: 合同编号
  1501. type: string
  1502. contractstatus:
  1503. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1504. type: integer
  1505. contracttype:
  1506. description: 现货合同类型 - 1:采购 -1:销售
  1507. type: integer
  1508. deliverygoodscode:
  1509. description: 现货品种代码
  1510. type: string
  1511. deliverygoodsid:
  1512. description: 现货商品ID
  1513. type: integer
  1514. deliverygoodsname:
  1515. description: 现货品种名称
  1516. type: string
  1517. enumdicname:
  1518. description: 单位名称
  1519. type: string
  1520. goodscode:
  1521. description: 点价合约
  1522. type: string
  1523. goodsname:
  1524. description: 商品名称
  1525. type: string
  1526. operateapplyid:
  1527. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1528. type: string
  1529. operateapplytype:
  1530. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1531. type: integer
  1532. pricemove:
  1533. description: 升贴水
  1534. type: number
  1535. pricetype:
  1536. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1537. type: integer
  1538. reckontype:
  1539. description: 结算类型
  1540. type: string
  1541. reckonvalue:
  1542. description: 值
  1543. type: number
  1544. relatedid:
  1545. description: 现货合同ID
  1546. type: string
  1547. sellusername:
  1548. description: 销售方名字
  1549. type: string
  1550. userid:
  1551. description: 用户ID
  1552. type: integer
  1553. wrstandardcode:
  1554. description: 品类代码
  1555. type: string
  1556. wrstandardid:
  1557. description: 品类id
  1558. type: integer
  1559. wrstandardname:
  1560. description: 品类名称
  1561. type: string
  1562. type: object
  1563. ermcp.QryBussinessJsRsp:
  1564. properties:
  1565. addmargin:
  1566. description: 追加保证金(非必填)
  1567. type: number
  1568. applyid:
  1569. description: 申请人
  1570. type: string
  1571. applyname:
  1572. description: 申请人名称
  1573. type: string
  1574. applystatus:
  1575. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1576. type: integer
  1577. applytime:
  1578. description: 申请时间
  1579. type: string
  1580. attachurl:
  1581. description: 附件
  1582. type: string
  1583. auditid:
  1584. description: 审核人ID
  1585. type: string
  1586. auditname:
  1587. description: 审核人名称
  1588. type: string
  1589. auditremark:
  1590. description: 审核备注
  1591. type: string
  1592. audittime:
  1593. description: 审核时间
  1594. type: string
  1595. buyusername:
  1596. description: 采购方名称
  1597. type: string
  1598. contractno:
  1599. description: 合同编号
  1600. type: string
  1601. contractstatus:
  1602. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1603. type: integer
  1604. contracttype:
  1605. description: 现货合同类型 - 1:采购 -1:销售
  1606. type: integer
  1607. decmargin:
  1608. description: 减少保证金(非必填)
  1609. type: number
  1610. deliverygoodscode:
  1611. description: 现货品种代码
  1612. type: string
  1613. deliverygoodsid:
  1614. description: 现货商品ID
  1615. type: integer
  1616. deliverygoodsname:
  1617. description: 现货品种名称
  1618. type: string
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 品类代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 品类id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 品类名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. auditremark:
  1695. description: 审核备注
  1696. type: string
  1697. audittime:
  1698. description: 审核时间
  1699. type: string
  1700. buyusername:
  1701. description: 采购方名称
  1702. type: string
  1703. contractno:
  1704. description: 合同编号
  1705. type: string
  1706. contractstatus:
  1707. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1708. type: integer
  1709. contracttype:
  1710. description: 现货合同类型 - 1:采购 -1:销售
  1711. type: integer
  1712. deductamount:
  1713. description: 退款(非必填)
  1714. type: number
  1715. deliverygoodscode:
  1716. description: 现货品种代码
  1717. type: string
  1718. deliverygoodsid:
  1719. description: 现货商品ID
  1720. type: integer
  1721. deliverygoodsname:
  1722. description: 现货品种名称
  1723. type: string
  1724. enumdicname:
  1725. description: 单位名称
  1726. type: string
  1727. goodscode:
  1728. description: 点价合约
  1729. type: string
  1730. goodsname:
  1731. description: 商品名称
  1732. type: string
  1733. kxtype:
  1734. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1735. type: integer
  1736. operateapplyid:
  1737. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1738. type: string
  1739. operateapplytype:
  1740. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1741. type: integer
  1742. payamount:
  1743. description: 收付款(非必填)
  1744. type: number
  1745. pricemove:
  1746. description: 升贴水
  1747. type: number
  1748. pricetype:
  1749. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1750. type: integer
  1751. relatedid:
  1752. description: 现货合同ID
  1753. type: string
  1754. sellusername:
  1755. description: 销售方名字
  1756. type: string
  1757. userid:
  1758. description: 用户ID
  1759. type: integer
  1760. wrstandardcode:
  1761. description: 品类代码
  1762. type: string
  1763. wrstandardid:
  1764. description: 品类id
  1765. type: integer
  1766. wrstandardname:
  1767. description: 品类名称
  1768. type: string
  1769. type: object
  1770. ermcp.QryGGCovertCfgRsp:
  1771. properties:
  1772. convertratio:
  1773. description: 折算系数
  1774. type: number
  1775. destgoodsgroupid:
  1776. description: 目标品种ID
  1777. type: integer
  1778. dstcode:
  1779. description: 目录品种代码
  1780. type: string
  1781. dstexchangecode:
  1782. description: 目标期货交易所
  1783. type: string
  1784. dstname:
  1785. description: 目标品种名称
  1786. type: string
  1787. dstunitid:
  1788. description: 目标品种单位ID
  1789. type: integer
  1790. dstunitidname:
  1791. description: 目标品种单位名称
  1792. type: string
  1793. modifytime:
  1794. description: 修改时间
  1795. type: string
  1796. srccode:
  1797. description: 源品种代码
  1798. type: string
  1799. srcexchangecode:
  1800. description: 源期货交易所
  1801. type: string
  1802. srcgoodsgroupid:
  1803. description: 源品种ID
  1804. type: integer
  1805. srcname:
  1806. description: 源品种名称
  1807. type: string
  1808. srcunitid:
  1809. description: 源品种单位ID
  1810. type: integer
  1811. srcunitidname:
  1812. description: 源品种单位名称
  1813. type: string
  1814. type: object
  1815. ermcp.QryMGChangeLogRsp:
  1816. properties:
  1817. aftervalue:
  1818. description: 变更后
  1819. type: number
  1820. applyid:
  1821. description: 操作人
  1822. type: integer
  1823. applyname:
  1824. description: 操作人名称
  1825. type: string
  1826. applysrc:
  1827. description: 操作来源 - 1:管理端 2:终端
  1828. type: integer
  1829. beforevalue:
  1830. description: 变更前
  1831. type: number
  1832. changelogtype:
  1833. description: 变更流水类型 - 1:套保比率变更
  1834. type: integer
  1835. handlestatus:
  1836. description: 处理状态
  1837. type: integer
  1838. logdatetime:
  1839. description: 流水日期
  1840. type: string
  1841. logid:
  1842. description: 流水ID
  1843. type: integer
  1844. logremark:
  1845. description: 流水备注
  1846. type: string
  1847. middlegoodsid:
  1848. description: 套保品种ID
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. updatetime:
  1854. description: 更新时间
  1855. type: string
  1856. type: object
  1857. ermcp.QryMiddleGoodsDetailRsp:
  1858. properties:
  1859. cvList:
  1860. description: 期货品种折算列表
  1861. items:
  1862. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1863. type: array
  1864. mg:
  1865. allOf:
  1866. - $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. agreeunit:
  2185. description: 合约单位
  2186. type: string
  2187. areauserid:
  2188. description: 所属机构id
  2189. type: integer
  2190. convertratio:
  2191. description: 期货品种系数(折算系数)
  2192. type: number
  2193. curhedgeqty:
  2194. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodscode:
  2218. description: 套保商品代码
  2219. type: string
  2220. middlegoodsid:
  2221. description: 套保商品id
  2222. type: integer
  2223. middlegoodsname:
  2224. description: 套保商品名称
  2225. type: string
  2226. ydqty:
  2227. description: 昨日持仓
  2228. type: integer
  2229. type: object
  2230. ermcp.RealtimeExposureRsp:
  2231. properties:
  2232. AreaUserID:
  2233. description: 所属机构
  2234. type: integer
  2235. BuyFutureQty:
  2236. description: 买入期货数量
  2237. type: number
  2238. BuyPlanQty:
  2239. description: 采购计划数量
  2240. type: number
  2241. BuyPricedQty:
  2242. description: 采购合同已定价数量
  2243. type: number
  2244. MiddleGoodsCode:
  2245. description: 套保品种代码
  2246. type: string
  2247. MiddleGoodsHedgeRatio:
  2248. description: 套保比例
  2249. type: number
  2250. MiddleGoodsID:
  2251. description: 套保品种
  2252. type: integer
  2253. MiddleGoodsName:
  2254. description: 套保品种名称
  2255. type: string
  2256. NeedHedgeExposoure:
  2257. description: 应套保敞口(套保敞口)
  2258. type: number
  2259. NeedHedgeRatio:
  2260. description: 应套保敞口比例
  2261. type: number
  2262. OriBuyFutureQty:
  2263. description: 期初买入期货数量
  2264. type: number
  2265. OriBuyPlanQty:
  2266. description: 期初采购计划数量
  2267. type: number
  2268. OriBuyPricedQty:
  2269. description: 期初采购合同已定价数量
  2270. type: number
  2271. OriSellFutureQty:
  2272. description: 期初卖出期货数量
  2273. type: number
  2274. OriSellPlanQty:
  2275. description: 期初销售计划数量
  2276. type: number
  2277. OriSellPricedQty:
  2278. description: 期初销售合同已定价数量
  2279. type: number
  2280. OriTotalSpotQty:
  2281. description: 期初现货总量
  2282. type: number
  2283. SellFutureQty:
  2284. description: 卖出期货数量
  2285. type: number
  2286. SellPlanQty:
  2287. description: 销售计划数量
  2288. type: number
  2289. SellPricedQty:
  2290. description: 销售合同已定价数量
  2291. type: number
  2292. TotalExposure:
  2293. description: 总敞口 平安:净敞口
  2294. type: number
  2295. TotalFutureQty:
  2296. description: 期货总量 平安:保值净持仓量
  2297. type: number
  2298. TotalHedgeRatio:
  2299. description: 敞口比例
  2300. type: number
  2301. TotalNeedHedgeQty:
  2302. description: 应套保总量(现货应套保总量)
  2303. type: number
  2304. TotalSpotQty:
  2305. description: 现货总量 平安:采销定价净值
  2306. type: number
  2307. arbitrageqty:
  2308. description: 套利量
  2309. type: number
  2310. diffArbitrageQty:
  2311. description: 套利变动量
  2312. type: number
  2313. diffExposoureQty:
  2314. description: 变动量(套保敞口)
  2315. type: number
  2316. diffFutuQty:
  2317. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2318. type: number
  2319. diffHedgeQty:
  2320. description: 套保变动量
  2321. type: number
  2322. diffQty:
  2323. description: 变动量(总敞口) 平安:净敞口今日变动
  2324. type: number
  2325. diffSpotHedgeQty:
  2326. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2327. type: number
  2328. diffSpotQty:
  2329. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2330. type: number
  2331. enumdicname:
  2332. description: 单位名称
  2333. type: string
  2334. hedgeqty:
  2335. description: 套保量
  2336. type: number
  2337. needarbitrageqty:
  2338. description: 应套利量
  2339. type: number
  2340. needarbitrageratio:
  2341. description: 套利比例
  2342. type: number
  2343. needhedgeqty:
  2344. description: 应套保量
  2345. type: number
  2346. oriarbitrageqty:
  2347. description: 期初套利量
  2348. type: number
  2349. orihedgeqty:
  2350. description: 期初套保量
  2351. type: number
  2352. orineedhedgeexposoure:
  2353. description: 期初套保敞口
  2354. type: number
  2355. oritotalexposure:
  2356. description: 期初总敞口
  2357. type: number
  2358. oritotalfutureqty:
  2359. description: 期初期货总量
  2360. type: number
  2361. oritotalneedhedgeqty:
  2362. description: 期初现货应套保量
  2363. type: number
  2364. type: object
  2365. erms2.QueryArbitrageStrategyRsp:
  2366. properties:
  2367. applybasis:
  2368. description: 申请基差
  2369. type: number
  2370. asapplyid:
  2371. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2372. type: string
  2373. asname:
  2374. description: 策略名称
  2375. type: string
  2376. asno:
  2377. description: 策略编号
  2378. type: string
  2379. basischangepl:
  2380. description: 基差变动损益[结算更新]
  2381. type: number
  2382. biztype:
  2383. description: 业务类型 - 1:正向套利 -1:反向套利
  2384. type: integer
  2385. closetradedate:
  2386. description: 完结交易日(yyyyMMdd)
  2387. type: string
  2388. curbasis:
  2389. description: 当前基差[结算更新]
  2390. type: number
  2391. deliverygoodsid:
  2392. description: 现货品种ID
  2393. type: integer
  2394. futureavgprice:
  2395. description: 期货建仓均价
  2396. type: number
  2397. futurecloseamount:
  2398. description: 期货平仓金额
  2399. type: number
  2400. futurecloseqty:
  2401. description: 期货平仓数量
  2402. type: number
  2403. futureopenamount:
  2404. description: 期货开仓金额
  2405. type: number
  2406. futureopenqty:
  2407. description: 期货开仓数量
  2408. type: number
  2409. futurepl:
  2410. description: 期货总盈亏[结算更新]
  2411. type: number
  2412. futureqty:
  2413. description: 期货持仓数量
  2414. type: number
  2415. futurequote:
  2416. description: 期货额度
  2417. type: number
  2418. goodsgroupid:
  2419. description: 期货品种ID
  2420. type: integer
  2421. marketid:
  2422. description: 市场ID
  2423. type: integer
  2424. netexposure:
  2425. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2426. type: number
  2427. netexposurepl:
  2428. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2429. type: number
  2430. netexposurerate:
  2431. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2432. type: number
  2433. openbasis:
  2434. description: 建仓基差
  2435. type: number
  2436. pricedspotqty:
  2437. description: 已定价现货数量
  2438. type: number
  2439. pricedspotqtynotax:
  2440. description: 已定价现货不含税数量
  2441. type: number
  2442. remark:
  2443. description: 备注
  2444. type: string
  2445. spotavgprice:
  2446. description: 现货均价
  2447. type: number
  2448. spotbuyamount:
  2449. description: 现货采购金额
  2450. type: number
  2451. spotbuyqty:
  2452. description: 现货采购数量
  2453. type: number
  2454. spotpl:
  2455. description: 现货总盈亏[结算更新]
  2456. type: number
  2457. spotquota:
  2458. description: 现货额度
  2459. type: number
  2460. spotsellamount:
  2461. description: 现货销售金额
  2462. type: number
  2463. spotsellqty:
  2464. description: 现货销售数量
  2465. type: number
  2466. spotusedquota:
  2467. description: 现货占用资金
  2468. type: number
  2469. strategystatus:
  2470. description: 策略状态 - 0:未结束 1:已结束
  2471. type: integer
  2472. totalpl:
  2473. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2474. type: number
  2475. tradedate:
  2476. description: 交易日(yyyyMMdd)
  2477. type: string
  2478. updatetime:
  2479. description: 更新时间
  2480. type: string
  2481. usedquota:
  2482. description: 已占用资金
  2483. type: number
  2484. userid:
  2485. description: 所属机构
  2486. type: integer
  2487. required:
  2488. - asapplyid
  2489. type: object
  2490. erms2.QueryInnerTradeDetailRsp:
  2491. properties:
  2492. accountid:
  2493. description: 账号ID
  2494. type: integer
  2495. agreeunit:
  2496. description: 合约单位
  2497. type: number
  2498. asapplyid:
  2499. description: 策略申请ID
  2500. type: integer
  2501. asname:
  2502. description: 策略名称
  2503. type: string
  2504. asno:
  2505. description: 策略编号
  2506. type: string
  2507. buyorsell:
  2508. description: 方向 - 0:买 1:卖
  2509. type: integer
  2510. channelbuildtype:
  2511. description: 委托单据类型 0:无 1:建仓 2:平仓
  2512. type: integer
  2513. closetype:
  2514. description: 平仓方式 - 0:无 1:平今 2:平昨
  2515. type: integer
  2516. decimalplace:
  2517. description: 报价小数位
  2518. type: integer
  2519. detailtype:
  2520. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2521. type: integer
  2522. exexchangecode:
  2523. description: 外部交易所代码
  2524. type: string
  2525. exexchangename:
  2526. description: 外部交易所名称
  2527. type: string
  2528. goodscode:
  2529. description: 商品代码(合约)
  2530. type: string
  2531. goodsgroupid:
  2532. description: 商品组ID(品种ID)
  2533. type: integer
  2534. goodsgroupname:
  2535. description: 商品组名称(品种)
  2536. type: string
  2537. goodsid:
  2538. description: 商品ID
  2539. type: integer
  2540. goodsname:
  2541. description: 商品名称(合约)
  2542. type: string
  2543. goodunit:
  2544. description: 报价单位
  2545. type: string
  2546. marketid:
  2547. description: 市场ID
  2548. type: integer
  2549. orderid:
  2550. description: 委托单号
  2551. type: string
  2552. outgoodscode:
  2553. description: 商品代码(外部)
  2554. type: string
  2555. relatedouttradeid:
  2556. description: 关联外部成交单ID
  2557. type: string
  2558. remark:
  2559. description: 备注
  2560. type: string
  2561. spotcontractid:
  2562. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2563. type: integer
  2564. spotcontractno:
  2565. description: 现货合同编号
  2566. type: string
  2567. tradeid:
  2568. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2569. type: string
  2570. tradeprice:
  2571. description: 成交价格
  2572. type: number
  2573. tradeqty:
  2574. description: 成交数量
  2575. type: integer
  2576. tradetime:
  2577. description: 成交时间
  2578. type: string
  2579. updatetime:
  2580. description: 更新时间
  2581. type: string
  2582. required:
  2583. - asapplyid
  2584. - buyorsell
  2585. - goodscode
  2586. - goodsgroupid
  2587. - goodsgroupname
  2588. - goodsname
  2589. - tradeid
  2590. type: object
  2591. erms2.QuerySpotContractRsp:
  2592. properties:
  2593. accountid:
  2594. description: 资金账户ID
  2595. type: integer
  2596. areauserid:
  2597. description: 所属机构
  2598. type: integer
  2599. closedate:
  2600. description: 终止日期
  2601. type: string
  2602. closeremark:
  2603. description: 结束备注
  2604. type: string
  2605. closetradedate:
  2606. description: 完结交易日(yyyyMMdd)
  2607. type: string
  2608. closetype:
  2609. description: 终止类型 - 1:违约 2:提前终止
  2610. type: integer
  2611. contractamount:
  2612. description: 合同金额
  2613. type: number
  2614. contractattachment:
  2615. description: 合同附件
  2616. type: string
  2617. contractno:
  2618. description: 现货合同编号
  2619. type: string
  2620. contractqty:
  2621. description: 合同数量(数值) (用于计算)
  2622. type: number
  2623. contractqtychar:
  2624. description: 合同数量\已订价数量 (用于显示)
  2625. type: string
  2626. contractstatus:
  2627. description: 合同状态 - 0:未结束 1:已结束
  2628. type: integer
  2629. contracttype:
  2630. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2631. type: integer
  2632. customeraccountid:
  2633. description: 客户资金账户ID
  2634. type: integer
  2635. customeruserid:
  2636. description: 客户ID
  2637. type: integer
  2638. deliverygoodsdesc:
  2639. description: 品种说明
  2640. type: string
  2641. deliverygoodsid:
  2642. description: 现货品种ID
  2643. type: integer
  2644. handlestatus:
  2645. description: 处理状态
  2646. type: integer
  2647. invoiceatt:
  2648. description: 发票附件
  2649. type: string
  2650. invoicedatetime:
  2651. description: 开收票更新时间
  2652. type: string
  2653. invoiceopentime:
  2654. description: 开票时间
  2655. type: string
  2656. invoiceremark:
  2657. description: 发票备注
  2658. type: string
  2659. invoicestatus:
  2660. description: 开收票状态 - 0:未开票 1:已开票
  2661. type: integer
  2662. lastdate:
  2663. description: 交货时间
  2664. type: string
  2665. marketid:
  2666. description: 市场ID
  2667. type: integer
  2668. paydatetime:
  2669. description: 收付款更新时间
  2670. type: string
  2671. payremark:
  2672. description: 收付款备注
  2673. type: string
  2674. paystatus:
  2675. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2676. type: integer
  2677. positionqty:
  2678. description: 头寸数量 - 合同数量去小数部分
  2679. type: integer
  2680. producttype:
  2681. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2682. type: integer
  2683. relatedqty:
  2684. description: 已关联数量
  2685. type: number
  2686. relatedstatus:
  2687. description: 关联完结状态 - 0:未结束 1:已结束
  2688. type: integer
  2689. remark:
  2690. description: 备注
  2691. type: string
  2692. signdate:
  2693. description: 签订日期
  2694. type: string
  2695. spotcontractid:
  2696. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2697. type: string
  2698. spotdatetime:
  2699. description: 收发货更新时间
  2700. type: string
  2701. spotprice:
  2702. description: 价格
  2703. type: number
  2704. spotremark:
  2705. description: 收发货备注
  2706. type: string
  2707. spotstatus:
  2708. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2709. type: integer
  2710. tradedate:
  2711. description: 交易日(yyyyMMdd)
  2712. type: string
  2713. userid:
  2714. description: 业务员用户ID
  2715. type: integer
  2716. warehouseid:
  2717. description: 仓库ID
  2718. type: integer
  2719. wrfactortypeid:
  2720. description: 仓单要素类型ID
  2721. type: integer
  2722. wrstandardid:
  2723. description: 仓单标准ID(SEQ_WRSTANDARD)
  2724. type: integer
  2725. required:
  2726. - spotcontractid
  2727. type: object
  2728. erms3.AddErms2ASApplyReq:
  2729. properties:
  2730. applybasis:
  2731. description: 申请基差
  2732. type: number
  2733. applystatus:
  2734. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2735. type: integer
  2736. asapplyid:
  2737. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2738. type: integer
  2739. asname:
  2740. description: 策略名称
  2741. type: string
  2742. asno:
  2743. description: 策略编号
  2744. type: string
  2745. auditid:
  2746. description: 审核人
  2747. type: integer
  2748. auditremark:
  2749. description: 审核备注
  2750. type: string
  2751. audittime:
  2752. description: 审核时间
  2753. type: string
  2754. biztype:
  2755. description: 业务类型 - 1:正向套利 2:反向套利
  2756. type: integer
  2757. createtime:
  2758. description: 创建时间
  2759. type: string
  2760. creatorid:
  2761. description: 创建人
  2762. type: integer
  2763. deliverygoodsid:
  2764. description: 现货品种ID
  2765. type: integer
  2766. futurequote:
  2767. description: 期货额度
  2768. type: number
  2769. goodsgroupid:
  2770. description: 期货品种ID
  2771. type: integer
  2772. marketid:
  2773. description: 市场ID
  2774. type: integer
  2775. remark:
  2776. description: 备注
  2777. type: string
  2778. spotquota:
  2779. description: 现货额度
  2780. type: number
  2781. tradedate:
  2782. description: 交易日(yyyyMMdd)
  2783. type: string
  2784. userid:
  2785. description: 所属机构
  2786. type: integer
  2787. required:
  2788. - asapplyid
  2789. type: object
  2790. erms3.AddErms2SpotTradeApplyReq:
  2791. properties:
  2792. applyjsondetail:
  2793. description: 申请明细(JSON)
  2794. type: string
  2795. applystatus:
  2796. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2797. type: integer
  2798. areauserid:
  2799. description: 所属机构
  2800. type: integer
  2801. auditid:
  2802. description: 审核人
  2803. type: integer
  2804. auditremark:
  2805. description: 审核备注
  2806. type: string
  2807. audittime:
  2808. description: 审核时间
  2809. type: string
  2810. createtime:
  2811. description: 创建时间
  2812. type: string
  2813. creatorid:
  2814. description: 创建人
  2815. type: integer
  2816. deliverygoodsid:
  2817. description: 现货品种ID
  2818. type: integer
  2819. futureaccountid:
  2820. description: 期货资金账户
  2821. type: integer
  2822. goodsgroupid:
  2823. description: 期货品种
  2824. type: integer
  2825. marketid:
  2826. description: 市场ID
  2827. type: integer
  2828. remark:
  2829. description: 备注
  2830. type: string
  2831. spotaccountid:
  2832. description: 现货资金账户
  2833. type: integer
  2834. spottradeid:
  2835. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2836. type: integer
  2837. spottradename:
  2838. description: 业务名称
  2839. type: string
  2840. spottradeno:
  2841. description: 业务编号
  2842. type: string
  2843. tradedate:
  2844. description: 交易日(yyyyMMdd)
  2845. type: string
  2846. wrstandardid:
  2847. description: 仓单标准ID
  2848. type: integer
  2849. required:
  2850. - spottradeid
  2851. type: object
  2852. erms3.AddSpotContractApplyReq:
  2853. properties:
  2854. accountid:
  2855. description: 资金账户ID
  2856. type: integer
  2857. areauserid:
  2858. description: 所属机构
  2859. type: integer
  2860. contractattachment:
  2861. description: 合同附件
  2862. type: string
  2863. contractno:
  2864. description: 现货合同编号
  2865. type: string
  2866. contracttype:
  2867. description: 现货合同类型 - 1:采购 -1:销售
  2868. type: integer
  2869. creatorid:
  2870. description: 申请人
  2871. type: integer
  2872. customeraccountid:
  2873. description: 客户资金账户ID
  2874. type: integer
  2875. customeruserid:
  2876. description: 客户ID
  2877. type: integer
  2878. details:
  2879. description: 明细
  2880. items:
  2881. $ref: '#/definitions/erms3.SoptContractDetail'
  2882. type: array
  2883. orimargin:
  2884. description: 初始保证金
  2885. type: number
  2886. remark:
  2887. description: 备注
  2888. type: string
  2889. signdate:
  2890. description: 签订日期
  2891. type: string
  2892. required:
  2893. - accountid
  2894. - areauserid
  2895. - contractno
  2896. - contracttype
  2897. - customeraccountid
  2898. - customeruserid
  2899. - details
  2900. - orimargin
  2901. - signdate
  2902. type: object
  2903. erms3.AddSpotContractApplyRsp:
  2904. properties:
  2905. contractno:
  2906. description: 现货合同编号
  2907. type: string
  2908. spotcontractid:
  2909. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2910. type: integer
  2911. required:
  2912. - contractno
  2913. type: object
  2914. erms3.AddUserInfoApplyReq:
  2915. properties:
  2916. accountid:
  2917. description: 交易系统帐号Id (加密存储)
  2918. type: integer
  2919. areacode:
  2920. description: 机构代码
  2921. type: string
  2922. areaid:
  2923. description: 机构Id
  2924. type: integer
  2925. attachment1:
  2926. description: 附件1
  2927. type: string
  2928. attachment2:
  2929. description: 附件2
  2930. type: string
  2931. attachment3:
  2932. description: 附件3
  2933. type: string
  2934. attachment4:
  2935. description: 附件4
  2936. type: string
  2937. attachment5:
  2938. description: 附件5
  2939. type: string
  2940. auditedby:
  2941. description: 审核人
  2942. type: string
  2943. auditime:
  2944. description: 审核时间
  2945. type: string
  2946. auditsrc:
  2947. description: 审核来源 - 1:管理端 2:终端
  2948. type: integer
  2949. bankaccount:
  2950. description: 银行帐号 (加密存储)
  2951. type: string
  2952. bankaccountname:
  2953. description: 收款人名称
  2954. type: string
  2955. bankcardbackphotourl:
  2956. description: 银行卡背面照地址
  2957. type: string
  2958. bankcardfrontphotourl:
  2959. description: 银行卡正面照地址
  2960. type: string
  2961. bankid:
  2962. description: 银行编码
  2963. type: string
  2964. bankname:
  2965. description: 银行名称
  2966. type: string
  2967. bankpictureurl:
  2968. description: 银行卡正面地址
  2969. type: string
  2970. biznature:
  2971. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2972. type: integer
  2973. bizscope:
  2974. description: 企业经营范围(企业)
  2975. type: string
  2976. biztype:
  2977. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2978. type: integer
  2979. brokerid:
  2980. description: 经纪人ID(加密存储)
  2981. type: string
  2982. cardaddress:
  2983. description: 证件地址 (加密存储)
  2984. type: string
  2985. cardbackphotourl:
  2986. description: 背面证件照地址
  2987. type: string
  2988. cardfrontphotourl:
  2989. description: 正面证件照地址
  2990. type: string
  2991. cardnum:
  2992. description: 证件号码 (加密存储)
  2993. type: string
  2994. cardtype:
  2995. description: 证件类型
  2996. type: integer
  2997. cityid:
  2998. description: 市
  2999. type: integer
  3000. company:
  3001. description: 公司(个人)
  3002. type: string
  3003. contactcardbackphotourl:
  3004. description: 联系人证件背面图片地址
  3005. type: string
  3006. contactcardfrontphotourl:
  3007. description: 联系人证件正面图片地址
  3008. type: string
  3009. contactname:
  3010. description: 联系人
  3011. type: string
  3012. countryid:
  3013. description: 国家
  3014. type: integer
  3015. createtime:
  3016. description: 开户申请时间
  3017. type: string
  3018. cusbankid:
  3019. description: 签约类型
  3020. type: string
  3021. cusbankname:
  3022. description: 签约类型名称
  3023. type: string
  3024. customername:
  3025. description: 客户名称(企业名称)
  3026. type: string
  3027. districtid:
  3028. description: 地区
  3029. type: integer
  3030. email:
  3031. description: Email地址(加密存储)
  3032. type: string
  3033. halfbodyphotourl:
  3034. description: 半身照地址
  3035. type: string
  3036. headurl:
  3037. description: 头像地址
  3038. type: string
  3039. ipaddress:
  3040. description: IP地址
  3041. type: string
  3042. isvalidate:
  3043. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3044. type: string
  3045. legalcardbackphotourl:
  3046. description: 法人身份证背面照地址
  3047. type: string
  3048. legalcardfrontphotourl:
  3049. description: 法人身份证正面照地址
  3050. type: string
  3051. legalpersonname:
  3052. description: 法人姓名(企业)
  3053. type: string
  3054. logincode:
  3055. description: 登录帐号 (加密存储)
  3056. type: string
  3057. memberareaid:
  3058. description: 所属会员ID
  3059. type: integer
  3060. mobile2:
  3061. description: 手机号码[明文-尚志]
  3062. type: string
  3063. mobilephone:
  3064. description: 手机号码 (加密存储)
  3065. type: string
  3066. modifiedby:
  3067. description: 修改人帐号
  3068. type: integer
  3069. modifiedtime:
  3070. description: 修改时间
  3071. type: string
  3072. nickname:
  3073. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3074. type: string
  3075. openmode:
  3076. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3077. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3078. type: integer
  3079. otherurl:
  3080. description: 其它图片地址[使用分号分隔]
  3081. type: string
  3082. postalcode:
  3083. description: 邮政编码
  3084. type: string
  3085. provinceid:
  3086. description: 省
  3087. type: integer
  3088. proxystatementurl:
  3089. description: 授权委托书
  3090. type: string
  3091. qq:
  3092. description: QQ(加密存储
  3093. type: string
  3094. referral:
  3095. description: 推荐人编码
  3096. type: string
  3097. remark:
  3098. description: 备注
  3099. type: string
  3100. removebeforestatus:
  3101. description: REMOVEBEFORESTATUS
  3102. type: integer
  3103. sex:
  3104. description: 性别 - 0:女 1:男
  3105. type: integer
  3106. signedstatus:
  3107. description: 账户一号签签约状态
  3108. type: integer
  3109. signpdfurl:
  3110. description: 签约pdf文件
  3111. type: string
  3112. subbranch:
  3113. description: 开户支行
  3114. type: string
  3115. taxpayernum:
  3116. description: 纳税人识别号
  3117. type: string
  3118. telphone:
  3119. description: 联系电话(加密存储)
  3120. type: string
  3121. userid:
  3122. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3123. type: integer
  3124. userinfotype:
  3125. description: 用户信息类型 - 1:个人 2:企业
  3126. type: integer
  3127. username:
  3128. description: 用户姓名
  3129. type: string
  3130. userstate:
  3131. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3132. type: integer
  3133. usertype:
  3134. description: 用户类型 - 1:投资者 2:机构
  3135. type: integer
  3136. videourl:
  3137. description: 视频地址
  3138. type: string
  3139. wechat:
  3140. description: 微信号 (加密存储)
  3141. type: string
  3142. required:
  3143. - userid
  3144. type: object
  3145. erms3.CustomerInfo:
  3146. properties:
  3147. accountids:
  3148. description: 资金账户ID列表
  3149. items:
  3150. type: integer
  3151. type: array
  3152. customername:
  3153. description: 名称(企业名称)
  3154. type: string
  3155. mobile:
  3156. description: 手机号码
  3157. type: string
  3158. userid:
  3159. description: 用户ID
  3160. type: integer
  3161. required:
  3162. - userid
  3163. type: object
  3164. erms3.ModifyUserInfoApplyReq:
  3165. properties:
  3166. accountid:
  3167. description: 交易系统帐号Id (加密存储)
  3168. type: integer
  3169. areacode:
  3170. description: 机构代码
  3171. type: string
  3172. areaid:
  3173. description: 机构Id
  3174. type: integer
  3175. attachment1:
  3176. description: 附件1
  3177. type: string
  3178. attachment2:
  3179. description: 附件2
  3180. type: string
  3181. attachment3:
  3182. description: 附件3
  3183. type: string
  3184. attachment4:
  3185. description: 附件4
  3186. type: string
  3187. attachment5:
  3188. description: 附件5
  3189. type: string
  3190. auditedby:
  3191. description: 审核人
  3192. type: string
  3193. auditime:
  3194. description: 审核时间
  3195. type: string
  3196. auditsrc:
  3197. description: 审核来源 - 1:管理端 2:终端
  3198. type: integer
  3199. bankaccount:
  3200. description: 银行帐号 (加密存储)
  3201. type: string
  3202. bankaccountname:
  3203. description: 收款人名称
  3204. type: string
  3205. bankcardbackphotourl:
  3206. description: 银行卡背面照地址
  3207. type: string
  3208. bankcardfrontphotourl:
  3209. description: 银行卡正面照地址
  3210. type: string
  3211. bankid:
  3212. description: 银行编码
  3213. type: string
  3214. bankname:
  3215. description: 银行名称
  3216. type: string
  3217. bankpictureurl:
  3218. description: 银行卡正面地址
  3219. type: string
  3220. biznature:
  3221. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3222. type: integer
  3223. bizscope:
  3224. description: 企业经营范围(企业)
  3225. type: string
  3226. biztype:
  3227. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3228. type: integer
  3229. brokerid:
  3230. description: 经纪人ID(加密存储)
  3231. type: string
  3232. cardaddress:
  3233. description: 证件地址 (加密存储)
  3234. type: string
  3235. cardbackphotourl:
  3236. description: 背面证件照地址
  3237. type: string
  3238. cardfrontphotourl:
  3239. description: 正面证件照地址
  3240. type: string
  3241. cardnum:
  3242. description: 证件号码 (加密存储)
  3243. type: string
  3244. cardtype:
  3245. description: 证件类型
  3246. type: integer
  3247. cityid:
  3248. description: 市
  3249. type: integer
  3250. company:
  3251. description: 公司(个人)
  3252. type: string
  3253. contactcardbackphotourl:
  3254. description: 联系人证件背面图片地址
  3255. type: string
  3256. contactcardfrontphotourl:
  3257. description: 联系人证件正面图片地址
  3258. type: string
  3259. contactname:
  3260. description: 联系人
  3261. type: string
  3262. countryid:
  3263. description: 国家
  3264. type: integer
  3265. createtime:
  3266. description: 开户申请时间
  3267. type: string
  3268. cusbankid:
  3269. description: 签约类型
  3270. type: string
  3271. cusbankname:
  3272. description: 签约类型名称
  3273. type: string
  3274. customername:
  3275. description: 客户名称(企业名称)
  3276. type: string
  3277. districtid:
  3278. description: 地区
  3279. type: integer
  3280. email:
  3281. description: Email地址(加密存储)
  3282. type: string
  3283. halfbodyphotourl:
  3284. description: 半身照地址
  3285. type: string
  3286. headurl:
  3287. description: 头像地址
  3288. type: string
  3289. ipaddress:
  3290. description: IP地址
  3291. type: string
  3292. isvalidate:
  3293. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3294. type: string
  3295. legalcardbackphotourl:
  3296. description: 法人身份证背面照地址
  3297. type: string
  3298. legalcardfrontphotourl:
  3299. description: 法人身份证正面照地址
  3300. type: string
  3301. legalpersonname:
  3302. description: 法人姓名(企业)
  3303. type: string
  3304. logincode:
  3305. description: 登录帐号 (加密存储)
  3306. type: string
  3307. memberareaid:
  3308. description: 所属会员ID
  3309. type: integer
  3310. mobile2:
  3311. description: 手机号码[明文-尚志]
  3312. type: string
  3313. mobilephone:
  3314. description: 手机号码 (加密存储)
  3315. type: string
  3316. modifiedby:
  3317. description: 修改人帐号
  3318. type: integer
  3319. modifiedtime:
  3320. description: 修改时间
  3321. type: string
  3322. nickname:
  3323. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3324. type: string
  3325. openmode:
  3326. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3327. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3328. type: integer
  3329. otherurl:
  3330. description: 其它图片地址[使用分号分隔]
  3331. type: string
  3332. postalcode:
  3333. description: 邮政编码
  3334. type: string
  3335. provinceid:
  3336. description: 省
  3337. type: integer
  3338. proxystatementurl:
  3339. description: 授权委托书
  3340. type: string
  3341. qq:
  3342. description: QQ(加密存储
  3343. type: string
  3344. referral:
  3345. description: 推荐人编码
  3346. type: string
  3347. remark:
  3348. description: 备注
  3349. type: string
  3350. removebeforestatus:
  3351. description: REMOVEBEFORESTATUS
  3352. type: integer
  3353. sex:
  3354. description: 性别 - 0:女 1:男
  3355. type: integer
  3356. signedstatus:
  3357. description: 账户一号签签约状态
  3358. type: integer
  3359. signpdfurl:
  3360. description: 签约pdf文件
  3361. type: string
  3362. subbranch:
  3363. description: 开户支行
  3364. type: string
  3365. taxpayernum:
  3366. description: 纳税人识别号
  3367. type: string
  3368. telphone:
  3369. description: 联系电话(加密存储)
  3370. type: string
  3371. userid:
  3372. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3373. type: integer
  3374. userinfotype:
  3375. description: 用户信息类型 - 1:个人 2:企业
  3376. type: integer
  3377. username:
  3378. description: 用户姓名
  3379. type: string
  3380. userstate:
  3381. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3382. type: integer
  3383. usertype:
  3384. description: 用户类型 - 1:投资者 2:机构
  3385. type: integer
  3386. videourl:
  3387. description: 视频地址
  3388. type: string
  3389. wechat:
  3390. description: 微信号 (加密存储)
  3391. type: string
  3392. required:
  3393. - userid
  3394. type: object
  3395. erms3.QryAuditContractRsp:
  3396. properties:
  3397. accountid:
  3398. description: 交易员ID
  3399. type: string
  3400. applystatus:
  3401. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3402. type: integer
  3403. curdeliveryqty:
  3404. description: 未交收量
  3405. type: integer
  3406. customername:
  3407. description: 采购方ID
  3408. type: string
  3409. deliverygoodsid:
  3410. description: 品种ID
  3411. type: string
  3412. deliveryqty:
  3413. description: 交收量
  3414. type: integer
  3415. enumdicname:
  3416. description: 单位名称
  3417. type: string
  3418. matchaccountid:
  3419. description: 业务员ID
  3420. type: string
  3421. matchcustomername:
  3422. description: 销售方ID
  3423. type: string
  3424. pricedqty:
  3425. description: 定价量
  3426. type: number
  3427. signdate:
  3428. description: 签订日期
  3429. type: string
  3430. spotcontractid:
  3431. description: 合同ID
  3432. type: string
  3433. totaldqty:
  3434. description: 合同量
  3435. type: number
  3436. unpricedqty:
  3437. description: 未定价量
  3438. type: number
  3439. wrstandardname:
  3440. description: 商品名称
  3441. type: string
  3442. required:
  3443. - matchcustomername
  3444. - spotcontractid
  3445. type: object
  3446. erms3.QryPendingBizRsp:
  3447. properties:
  3448. accountid:
  3449. description: 现货账户
  3450. type: string
  3451. areaname:
  3452. description: 所属部门
  3453. type: string
  3454. bizid:
  3455. description: 业务ID
  3456. type: string
  3457. bizname:
  3458. description: 业务名称
  3459. type: string
  3460. status:
  3461. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3462. type: integer
  3463. type:
  3464. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3465. type: integer
  3466. type: object
  3467. erms3.QueryBusinessInfoRsp:
  3468. properties:
  3469. businessid:
  3470. description: 业务ID.
  3471. type: integer
  3472. buyamount:
  3473. description: 采购额.
  3474. type: number
  3475. buyqty:
  3476. description: 采购量.
  3477. type: string
  3478. futurepl:
  3479. description: 期货盈亏.
  3480. type: number
  3481. futureqty:
  3482. description: 期货敞口.
  3483. type: string
  3484. goodsid:
  3485. description: 商品名称/商品代码.
  3486. type: string
  3487. hedgingqty:
  3488. description: 套保量.
  3489. type: string
  3490. sellamount:
  3491. description: 销售额.
  3492. type: number
  3493. sellqty:
  3494. description: 销售量.
  3495. type: string
  3496. spotmarketvalue:
  3497. description: 现货市值.
  3498. type: number
  3499. spotpl:
  3500. description: 浮动权益.
  3501. type: number
  3502. spotqty:
  3503. description: 现货量.
  3504. type: string
  3505. statu:
  3506. description: 状态,0-未结束 1-已结束.
  3507. type: integer
  3508. totalpl:
  3509. description: 总盈亏.
  3510. type: number
  3511. totalqty:
  3512. description: 总敞口.
  3513. type: string
  3514. type:
  3515. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3516. type: integer
  3517. type: object
  3518. erms3.QuerySpotContractAppleFormRsp:
  3519. properties:
  3520. goodses:
  3521. description: 合约列表
  3522. items:
  3523. $ref: '#/definitions/models.GoodsIDAndName'
  3524. type: array
  3525. oppositeusers:
  3526. description: 对方账号列表
  3527. items:
  3528. $ref: '#/definitions/erms3.CustomerInfo'
  3529. type: array
  3530. ouruser:
  3531. allOf:
  3532. - $ref: '#/definitions/erms3.CustomerInfo'
  3533. description: 我方账号
  3534. warehouseinfos:
  3535. description: 仓库信息列表
  3536. items:
  3537. $ref: '#/definitions/models.Warehouseinfo'
  3538. type: array
  3539. wrstandards:
  3540. description: 仓单标准列表
  3541. items:
  3542. $ref: '#/definitions/models.WRStandardInfo'
  3543. type: array
  3544. type: object
  3545. erms3.QuerySpotContractInfoRsp:
  3546. properties:
  3547. accountid:
  3548. description: 表示交易员ID.
  3549. type: integer
  3550. curdeliveryqty:
  3551. description: 表示未交收量.
  3552. type: number
  3553. customername:
  3554. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3555. type: string
  3556. deliverygoodsid:
  3557. description: 表示品种ID.
  3558. type: string
  3559. deliveryqty:
  3560. description: 表示交收量.
  3561. type: number
  3562. matchaccountid:
  3563. description: 表示业务员ID.
  3564. type: integer
  3565. matchcustomername:
  3566. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3567. type: string
  3568. priceqty:
  3569. description: 表示定价量.
  3570. type: number
  3571. relatedbizid:
  3572. description: 表示业务ID.
  3573. type: string
  3574. signdate:
  3575. description: 表示签订日期.
  3576. type: string
  3577. spotcontractid:
  3578. description: 合同ID
  3579. type: string
  3580. status:
  3581. description: 表示状态,0-履约中 1-已完成.
  3582. type: integer
  3583. totalqty:
  3584. description: 表示合同量.
  3585. type: number
  3586. unpricedqty:
  3587. description: 表示未定价量.
  3588. type: number
  3589. wrstandardname:
  3590. description: 表示商品ID.
  3591. type: string
  3592. type: object
  3593. erms3.QueryUserInfoAppliesRsp:
  3594. properties:
  3595. biznature:
  3596. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3597. type: integer
  3598. contactname:
  3599. description: 联系人
  3600. type: string
  3601. createtime:
  3602. description: 开户申请时间
  3603. type: string
  3604. userid:
  3605. description: 用户ID(自增ID)
  3606. type: integer
  3607. userinfotype:
  3608. description: 用户信息类型 - 1:个人 2:企业
  3609. type: integer
  3610. username:
  3611. description: 用户姓名
  3612. type: string
  3613. userstate:
  3614. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3615. type: integer
  3616. required:
  3617. - userid
  3618. type: object
  3619. erms3.QueryUserInfosRsp:
  3620. properties:
  3621. biznature:
  3622. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3623. type: integer
  3624. contactname:
  3625. description: 联系人
  3626. type: string
  3627. customername:
  3628. description: 客户名称(企业名称)
  3629. type: string
  3630. userid:
  3631. description: 用户ID
  3632. type: integer
  3633. userinfotype:
  3634. description: 用户信息类型 - 1:个人 2:企业
  3635. type: integer
  3636. userstatus:
  3637. description: 用户状态 - 1:正常 2:注销
  3638. type: integer
  3639. required:
  3640. - userid
  3641. type: object
  3642. erms3.SoptContractDetail:
  3643. properties:
  3644. deliverygoodsdesc:
  3645. description: 现货品种说明
  3646. type: string
  3647. deliverygoodsid:
  3648. description: 现货品种ID
  3649. type: integer
  3650. deliverygoodsname:
  3651. description: 现货品种名称
  3652. type: string
  3653. pointdesc:
  3654. description: 点价描述
  3655. type: string
  3656. producttype:
  3657. description: 产品类型 1:标准仓单 2:等标 3:非标
  3658. type: integer
  3659. producttypename:
  3660. description: 产品类型名称
  3661. type: string
  3662. spotPointOrderVoList:
  3663. description: 点价列表
  3664. items:
  3665. $ref: '#/definitions/erms3.SpotPointOrder'
  3666. type: array
  3667. spotPriceOrderList:
  3668. description: 定价列表
  3669. items:
  3670. $ref: '#/definitions/erms3.SpotPriceOrder'
  3671. type: array
  3672. unitname:
  3673. description: 单位名称
  3674. type: string
  3675. warehouseid:
  3676. description: 仓库ID
  3677. type: integer
  3678. warehousename:
  3679. description: 仓库名称
  3680. type: string
  3681. wrstandardid:
  3682. description: 交易标的ID
  3683. type: integer
  3684. wrstandardname:
  3685. description: 交易标的名称
  3686. type: string
  3687. required:
  3688. - deliverygoodsid
  3689. - producttype
  3690. - unitname
  3691. - warehouseid
  3692. - wrstandardid
  3693. - wrstandardname
  3694. type: object
  3695. erms3.SpotPointOrder:
  3696. properties:
  3697. basic:
  3698. description: 基差
  3699. type: number
  3700. deliveryenddate:
  3701. description: 交收结束日期
  3702. type: string
  3703. deliverystartdate:
  3704. description: 交收开始日期
  3705. type: string
  3706. enddate:
  3707. description: 点价结束日期
  3708. type: string
  3709. goodsid:
  3710. description: 商品ID
  3711. type: integer
  3712. goodsname:
  3713. description: 商品名称
  3714. type: string
  3715. qty:
  3716. description: 数量
  3717. type: number
  3718. startdate:
  3719. description: 点价开始日期
  3720. type: string
  3721. required:
  3722. - basic
  3723. - goodsid
  3724. - qty
  3725. type: object
  3726. erms3.SpotPriceOrder:
  3727. properties:
  3728. amount:
  3729. description: 金额
  3730. type: number
  3731. deliveryenddate:
  3732. description: 交收结束日期
  3733. type: string
  3734. deliverystartdate:
  3735. description: 交收开始日期
  3736. type: string
  3737. price:
  3738. description: 价格
  3739. type: number
  3740. qty:
  3741. description: 数量
  3742. type: number
  3743. required:
  3744. - amount
  3745. - price
  3746. - qty
  3747. type: object
  3748. hsby.GetHsbyMyCountRsp:
  3749. properties:
  3750. myCouponCount:
  3751. description: 我的优惠卷数量
  3752. type: integer
  3753. myOrderDetailListingCount:
  3754. description: 我的订单求购中数量
  3755. type: integer
  3756. myOrderDetailPreCount:
  3757. description: 我的订单抢购中数量
  3758. type: integer
  3759. myPackageUnReceiveCount:
  3760. description: 我的包裹待收货数量
  3761. type: integer
  3762. myPackageUnSendCount:
  3763. description: 我的包裹待发货数量
  3764. type: integer
  3765. myPayOrderCount:
  3766. description: 我的订单待付款数量
  3767. type: integer
  3768. type: object
  3769. hsby.QueryProvincesAndCitiesRsp:
  3770. properties:
  3771. cities:
  3772. description: 市
  3773. items:
  3774. $ref: '#/definitions/models.Division'
  3775. type: array
  3776. province:
  3777. allOf:
  3778. - $ref: '#/definitions/models.Division'
  3779. description: 省
  3780. type: object
  3781. models.Arearole:
  3782. properties:
  3783. createtime:
  3784. description: 创建时间
  3785. type: string
  3786. creatorid:
  3787. description: 创建人ID
  3788. type: integer
  3789. fromuserid:
  3790. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3791. type: integer
  3792. isreturnscore:
  3793. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3794. type: integer
  3795. modifierid:
  3796. description: 修改人ID
  3797. type: integer
  3798. modifytime:
  3799. description: 修改时间
  3800. type: string
  3801. orgtype:
  3802. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3803. type: integer
  3804. outuserid:
  3805. description: 外部账户[场外期权做市商]
  3806. type: string
  3807. parentuserid:
  3808. description: 上级组织机构(组织机构)
  3809. type: integer
  3810. roletype:
  3811. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3812. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3813. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3814. type: integer
  3815. rootuserid:
  3816. description: 顶级组织机构用户ID(组织机构)
  3817. type: integer
  3818. shoppassword:
  3819. description: 商城店铺登陆密码(商城店铺角色使用)
  3820. type: string
  3821. sublevelpath:
  3822. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3823. type: string
  3824. suborgtype:
  3825. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3826. type: integer
  3827. tradeaccountid:
  3828. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3829. type: integer
  3830. transurl:
  3831. description: 物流地址(物流机构)
  3832. type: string
  3833. userid:
  3834. description: 机构用户ID其他做市关系,都设置为 1
  3835. type: integer
  3836. required:
  3837. - roletype
  3838. - userid
  3839. type: object
  3840. models.BuyOrder:
  3841. properties:
  3842. accountid:
  3843. description: 资金账户ID
  3844. type: integer
  3845. buyusername:
  3846. description: 买方
  3847. type: string
  3848. marketid:
  3849. description: 市场ID
  3850. type: integer
  3851. ordertime:
  3852. description: 委托时间
  3853. type: string
  3854. origin:
  3855. description: 原产地
  3856. type: string
  3857. performancetemplateid:
  3858. description: 履约计划模板ID
  3859. type: integer
  3860. remark:
  3861. description: 备注
  3862. type: string
  3863. userid:
  3864. description: 用户ID
  3865. type: integer
  3866. validtime:
  3867. description: 有效期限
  3868. type: string
  3869. warehouseids:
  3870. description: 仓库ID - 多个, 逗号分隔
  3871. type: string
  3872. warehouseinfosdisplay:
  3873. type: string
  3874. wrtradeorderid:
  3875. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3876. type: string
  3877. wrtradeorderstatus:
  3878. 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、
  3879. type: integer
  3880. zscategory:
  3881. description: 钻石分类 - 枚举”ZSCategory“
  3882. type: integer
  3883. zscategorydisplay:
  3884. type: string
  3885. zsclaritytype:
  3886. description: 净度 - 两个, 逗号分隔
  3887. type: string
  3888. zsclaritytypedisplay:
  3889. type: string
  3890. zscolortype:
  3891. description: 颜色 - 两个, 逗号分隔
  3892. type: string
  3893. zscolortypedisplay:
  3894. type: string
  3895. zscrystaltype:
  3896. description: 晶型 - 多个,逗号分隔
  3897. type: string
  3898. zscrystaltypedisplay:
  3899. type: string
  3900. zscurrencytype:
  3901. description: 货币类型 - 多个, 逗号分隔
  3902. type: string
  3903. zscurrencytypedisplay:
  3904. type: string
  3905. zscuttype:
  3906. description: 切工 - 两个, 逗号分隔
  3907. type: string
  3908. zscuttypedisplay:
  3909. type: string
  3910. zsczcolor1type:
  3911. description: 彩钻颜色1, 逗号分隔
  3912. type: string
  3913. zsczcolor1typedisplay:
  3914. type: string
  3915. zsczcolor2type:
  3916. description: 彩钻颜色2, 逗号分隔
  3917. type: string
  3918. zsczcolor2typedisplay:
  3919. type: string
  3920. zsczcolor3type:
  3921. description: 彩钻颜色3, 逗号分隔
  3922. type: string
  3923. zsczcolor3typedisplay:
  3924. type: string
  3925. zsfluorescencetype:
  3926. description: 荧光 - 多个, 逗号分隔
  3927. type: string
  3928. zsfluorescencetypedisplay:
  3929. type: string
  3930. zspolishtype:
  3931. description: 抛光度 - 两个, 逗号分隔
  3932. type: string
  3933. zspolishtypedisplay:
  3934. type: string
  3935. zsshapetype:
  3936. description: 形状 - 多个, 逗号分隔
  3937. type: string
  3938. zsshapetypedisplay:
  3939. type: string
  3940. zssize:
  3941. description: 尺寸 - 两个小数, 逗号分隔
  3942. type: string
  3943. zsstyletype:
  3944. description: 款式 - 多个, 逗号分隔
  3945. type: string
  3946. zsstyletypedisplay:
  3947. type: string
  3948. zssymmetrytype:
  3949. description: 对称度 - 两个, 逗号分隔
  3950. type: string
  3951. zssymmetrytypedisplay:
  3952. type: string
  3953. zstabledisplay:
  3954. description: 求购信息
  3955. type: string
  3956. type: object
  3957. models.Clientfixedadconfig:
  3958. properties:
  3959. adsort:
  3960. description: 排序
  3961. type: integer
  3962. adtype:
  3963. description: 广告位类型 - 1:新品抢购(HSBY)
  3964. type: integer
  3965. areauserid:
  3966. description: 所属机构ID
  3967. type: integer
  3968. createdate:
  3969. description: 创建时间
  3970. type: string
  3971. creatorid:
  3972. description: 创建人
  3973. type: integer
  3974. imagepath:
  3975. description: 图片
  3976. type: string
  3977. isshow:
  3978. description: 是否展示 - 0:不展示 1:展示
  3979. type: integer
  3980. modifierid:
  3981. description: 操作人
  3982. type: integer
  3983. recsize:
  3984. description: 推荐尺寸
  3985. type: string
  3986. title:
  3987. description: 标题
  3988. type: string
  3989. updatedate:
  3990. description: 更新时间
  3991. type: string
  3992. urlcontent:
  3993. description: 链接(地址或商品ID)
  3994. type: string
  3995. urltype:
  3996. description: 链接类型 - 1:直接地址 2:商品ID
  3997. type: integer
  3998. required:
  3999. - adsort
  4000. - adtype
  4001. type: object
  4002. models.DgFactoryItem:
  4003. properties:
  4004. dgfactoryitemid:
  4005. description: 选择项ID(SEQ_DGFACTORYITEM)
  4006. type: integer
  4007. dgfactoryitemtypeid:
  4008. description: 要素项类型
  4009. type: integer
  4010. dgfactoryitemvalue:
  4011. description: 要素项值(类型为仓库时填写仓库名称)
  4012. type: string
  4013. orderindex:
  4014. description: 顺序
  4015. type: integer
  4016. type: object
  4017. models.Division:
  4018. properties:
  4019. autoid:
  4020. description: 自增ID
  4021. type: integer
  4022. divisioncode:
  4023. description: 行政代码
  4024. type: string
  4025. divisionlevel:
  4026. description: 行政级别
  4027. type: string
  4028. divisionname:
  4029. description: 行政名称
  4030. type: string
  4031. modifierid:
  4032. description: 修改人
  4033. type: integer
  4034. modifytime:
  4035. description: 修改时间
  4036. type: string
  4037. parentcode:
  4038. description: 上级行政代码
  4039. type: string
  4040. pathname:
  4041. description: 路径名称
  4042. type: string
  4043. postcode:
  4044. description: 邮政编码
  4045. type: string
  4046. separablename:
  4047. description: 可拆分的全称
  4048. type: string
  4049. shortcode:
  4050. description: 地区简码
  4051. type: string
  4052. required:
  4053. - autoid
  4054. - divisioncode
  4055. type: object
  4056. models.Enumdicitem:
  4057. properties:
  4058. autoid:
  4059. description: 自增ID
  4060. type: integer
  4061. bankmappedvalue:
  4062. description: 银行服务对应值
  4063. type: string
  4064. enumdiccode:
  4065. description: 所属枚举代码
  4066. type: string
  4067. enumdicid:
  4068. description: 所属枚举ID
  4069. type: integer
  4070. enumdicname:
  4071. description: 枚举项名称
  4072. type: string
  4073. enumitemname:
  4074. description: 枚举项值
  4075. type: integer
  4076. enumitemstatus:
  4077. description: 枚举项状态 - 1.启用 2.不启用
  4078. type: integer
  4079. enumitemvalue:
  4080. description: 通用值 - [币种通用简写]
  4081. type: string
  4082. param1:
  4083. description: 参数1[币种:币种小数位]
  4084. type: string
  4085. param2:
  4086. description: 参数1[币种:币种显示单位]
  4087. type: string
  4088. remark:
  4089. description: 备注
  4090. type: string
  4091. required:
  4092. - autoid
  4093. - enumdiccode
  4094. - enumdicid
  4095. - enumitemname
  4096. type: object
  4097. models.Ermcp2AreaExposure:
  4098. properties:
  4099. areauserid:
  4100. description: 所属机构
  4101. type: integer
  4102. enumdicname:
  4103. description: 单位
  4104. type: string
  4105. futureqty:
  4106. description: 期货套期量
  4107. type: number
  4108. futureqtychange:
  4109. description: 期货变动量 = FutureQty - OriFutureQty
  4110. type: number
  4111. goodsunitid:
  4112. description: 单位ID
  4113. type: integer
  4114. hedgedspotexposure:
  4115. description: 被套期现货敞口量
  4116. type: number
  4117. hedgedspratio:
  4118. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4119. type: number
  4120. hedgedtotalexposourechange:
  4121. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4122. type: number
  4123. hedgedtotalexposure:
  4124. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4125. type: number
  4126. hedgeplanqty:
  4127. description: 套期计划量
  4128. type: number
  4129. hedgeplanqtychange:
  4130. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4131. type: number
  4132. hedgespotqty:
  4133. description: 被套期现货量
  4134. type: number
  4135. middlegoodsid:
  4136. description: 套保品种
  4137. type: integer
  4138. middlegoodsname:
  4139. description: 套保品种名称
  4140. type: string
  4141. orifutureqty:
  4142. description: 期初期货套期量
  4143. type: number
  4144. orihedgedspotexposure:
  4145. description: 期初被套期现货敞口量
  4146. type: number
  4147. orihedgedtotalexposure:
  4148. description: 期初套期敞口量
  4149. type: number
  4150. orihedgeplanqty:
  4151. description: 期初套期计划量
  4152. type: number
  4153. orihedgespotqty:
  4154. description: 期初被套期现货量
  4155. type: number
  4156. orispotexposure:
  4157. description: 期初现货敞口量
  4158. type: number
  4159. orispotqty:
  4160. description: 期初现货总量
  4161. type: number
  4162. oritotalexposure:
  4163. description: 期初总敞口量
  4164. type: number
  4165. spotexposure:
  4166. description: 现货敞口量
  4167. type: number
  4168. spotqty:
  4169. description: 现货总量
  4170. type: number
  4171. spotqtychange:
  4172. description: 现货变动量 = SpotQty - OriSpotQty
  4173. type: number
  4174. spratio:
  4175. description: 总期现比例 = 期货套期量/现货敞口量
  4176. type: number
  4177. totalexposure:
  4178. description: 总敞口量 = 现货敞口量 + 期货套期量
  4179. type: number
  4180. totalexposurechange:
  4181. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4182. type: number
  4183. updatetime:
  4184. description: 更新时间 --DATE
  4185. type: string
  4186. type: object
  4187. models.Ermcp2hedgeditem:
  4188. properties:
  4189. accountname:
  4190. description: 套期主体
  4191. type: string
  4192. applyid:
  4193. description: 申请人
  4194. type: integer
  4195. applysrc:
  4196. description: 申请来源 - 1:管理端 2:终端
  4197. type: integer
  4198. areauserid:
  4199. description: 企业ID
  4200. type: integer
  4201. auditid:
  4202. description: 审核人
  4203. type: integer
  4204. auditremark:
  4205. description: 审核备注
  4206. type: string
  4207. auditsrc:
  4208. description: 审核来源 - 1:管理端 2:终端
  4209. type: integer
  4210. audittime:
  4211. description: 审核时间
  4212. type: string
  4213. audittradedate:
  4214. description: 审核交易日(yyyyMMdd)
  4215. type: string
  4216. createtime:
  4217. description: 申请时间
  4218. type: string
  4219. curprice:
  4220. description: 当前市场价
  4221. type: number
  4222. curstock:
  4223. description: 期末库存量 = 采购总量 - 销售总量
  4224. type: number
  4225. deliverygoodsid:
  4226. description: 现货品种ID
  4227. type: integer
  4228. enddate:
  4229. description: 完成日期
  4230. type: string
  4231. endtradedate:
  4232. description: 完成交易日
  4233. type: string
  4234. enumdicname:
  4235. description: 单位
  4236. type: string
  4237. exeamount:
  4238. description: 执行市价总额
  4239. type: number
  4240. exeavgprice:
  4241. description: 执行市场均价= 执行市价总额 / 执行现货量
  4242. type: number
  4243. execontractamount:
  4244. description: 执行定价总额
  4245. type: number
  4246. exeqty:
  4247. description: 执行现货量
  4248. type: number
  4249. exerestamount:
  4250. description: 执行剩余市价总额【现货贸易】
  4251. type: number
  4252. futurefloatpl:
  4253. description: 期货浮动损益
  4254. type: number
  4255. futurehedgepl:
  4256. description: 期货实际损益
  4257. type: number
  4258. futurehedgeplchange:
  4259. description: 期货实际损益变动
  4260. type: number
  4261. futurepl:
  4262. description: 期货套期损益
  4263. type: number
  4264. futureplchange:
  4265. description: 期货套期损益变动
  4266. type: number
  4267. hedgeamount:
  4268. description: 套期市价总额
  4269. type: number
  4270. hedgecontractamount:
  4271. description: 套期定价总额 【定价采购合同】【现货贸易】
  4272. type: number
  4273. hedgeditemid:
  4274. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4275. type: string
  4276. hedgeditemname:
  4277. description: 项目名称
  4278. type: string
  4279. hedgeditemnum:
  4280. description: 项目编号
  4281. type: string
  4282. hedgeditemstatus:
  4283. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4284. type: integer
  4285. hedgedtype:
  4286. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4287. type: integer
  4288. hedgeqty:
  4289. description: 套期现货量
  4290. type: number
  4291. hedgerate:
  4292. description: 套保比率
  4293. type: number
  4294. hedgerestamount:
  4295. description: 套期剩余市价总额【现货贸易】
  4296. type: number
  4297. hedgesumpl:
  4298. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4299. type: number
  4300. middlegoodslist:
  4301. description: 套期商品列表
  4302. items:
  4303. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4304. type: array
  4305. oriavgprice:
  4306. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4307. type: number
  4308. orifuturehedgepl:
  4309. description: 期初期货实际损益
  4310. type: number
  4311. orifuturepl:
  4312. description: 期初期货套期损益
  4313. type: number
  4314. orispothedgepl:
  4315. description: 期初现货实际损益
  4316. type: number
  4317. orispotpl:
  4318. description: 期初现货套期损益
  4319. type: number
  4320. planenddate:
  4321. description: 计划结束日期
  4322. type: string
  4323. planstartdate:
  4324. description: 计划开始日期
  4325. type: string
  4326. remark:
  4327. description: 备注
  4328. type: string
  4329. spotbookamount:
  4330. description: 现货账面总额
  4331. type: number
  4332. spotfloatpl:
  4333. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4334. type: number
  4335. spothedgepl:
  4336. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4337. type: number
  4338. spothedgeplchange:
  4339. description: 现货实际损益变动
  4340. type: number
  4341. spotpl:
  4342. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4343. type: number
  4344. spotplchange:
  4345. description: 现货套期损益变动
  4346. type: number
  4347. spottradepl:
  4348. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4349. type: number
  4350. sumobspl:
  4351. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4352. type: number
  4353. tradeuserid:
  4354. description: 交易用户ID
  4355. type: integer
  4356. unexeqty:
  4357. description: 未执行现货量 = 套期现货量 - 执行现货量
  4358. type: number
  4359. updatetime:
  4360. description: 更新时间
  4361. type: string
  4362. vatpl:
  4363. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4364. type: number
  4365. vatrate:
  4366. description: 增值税
  4367. type: number
  4368. wrstandardid:
  4369. description: 现货商品ID
  4370. type: integer
  4371. wrstandardname:
  4372. description: 商品名称
  4373. type: string
  4374. type: object
  4375. models.Ermcp2hedgeditemlink:
  4376. properties:
  4377. areauserid:
  4378. description: 企业ID
  4379. type: integer
  4380. createtime:
  4381. description: '[关联时间]创建时间'
  4382. type: string
  4383. customeruserid:
  4384. description: 对手方 【3:采购合同 4:销售合同】
  4385. type: integer
  4386. deliverygoodsid:
  4387. description: 现货品种ID
  4388. type: integer
  4389. enumdicname:
  4390. description: 单位
  4391. type: string
  4392. hedgeditemid:
  4393. description: 被套期项目ID
  4394. type: integer
  4395. hedgeditemlinkid:
  4396. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4397. type: integer
  4398. hedgeditemnum:
  4399. description: 项目编号
  4400. type: string
  4401. hedgedtype:
  4402. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4403. type: integer
  4404. relatedamount:
  4405. description: 市价总额 = 关联数量 * 期初市场价
  4406. type: number
  4407. relatedhedgeplanid:
  4408. description: 关联计划ID 【1:采购计划 2:销售计划】
  4409. type: integer
  4410. relatedqty:
  4411. description: 关联数量
  4412. type: number
  4413. relatedspotcontractid:
  4414. description: 关联合同ID 【3:采购合同 4:销售合同】
  4415. type: integer
  4416. relatedtype:
  4417. description: 关联类型 - 1:套期关联 2:执行关联
  4418. type: integer
  4419. spotgoodsbrandid:
  4420. description: 现货品牌ID
  4421. type: integer
  4422. spotpricedamount:
  4423. description: '[关联定价总额]定价总额'
  4424. type: number
  4425. spotpricedavgprice:
  4426. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4427. type: number
  4428. spottype:
  4429. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4430. type: integer
  4431. tradeuserid:
  4432. description: 交易用户ID
  4433. type: integer
  4434. unexeqty:
  4435. description: 未执行现货量【项目关联时值】
  4436. type: number
  4437. wrstandardid:
  4438. description: 现货商品ID
  4439. type: integer
  4440. wrstandardname:
  4441. description: 现货商品
  4442. type: string
  4443. required:
  4444. - relatedspotcontractid
  4445. type: object
  4446. models.Ermcp2hedgeditemsDetail:
  4447. properties:
  4448. accountname:
  4449. description: 套期主体
  4450. type: string
  4451. areauserid:
  4452. description: 企业ID
  4453. type: integer
  4454. createtime:
  4455. description: '[日期时间]创建时间'
  4456. type: string
  4457. customeruserid:
  4458. description: 对手方 【3:采购合同 4:销售合同】
  4459. type: integer
  4460. deliverygoodsid:
  4461. description: 现货品种ID
  4462. type: integer
  4463. enumdicname:
  4464. description: 单位
  4465. type: string
  4466. hedgeditemid:
  4467. description: 被套期项目ID
  4468. type: string
  4469. hedgeditemspotid:
  4470. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4471. type: string
  4472. hedgedtype:
  4473. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4474. type: integer
  4475. hedgeplanno:
  4476. description: 计划编号
  4477. type: string
  4478. middlegoodschange:
  4479. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4480. type: number
  4481. oriavgprice:
  4482. description: 期初市场价[当初市场价]
  4483. type: number
  4484. relatedamount:
  4485. description: 市价总额 = 关联数量 * 期初市场价
  4486. type: number
  4487. relatedhedgeplanid:
  4488. description: 关联计划ID 【1:采购计划 2:销售计划】
  4489. type: integer
  4490. relatedqty:
  4491. description: '[期间变化量]关联数量'
  4492. type: number
  4493. relatedspotcontractid:
  4494. description: 关联合同ID 【3:采购合同 4:销售合同】
  4495. type: integer
  4496. relatedtype:
  4497. description: 关联类型 - 1:套期关联 2:执行关联
  4498. type: integer
  4499. spotgoodsbrandid:
  4500. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4501. type: integer
  4502. spotpricedamount:
  4503. description: 定价总额
  4504. type: number
  4505. spotpricedavgprice:
  4506. description: 现货均价 = 定价总额 / 关联数量
  4507. type: number
  4508. spottype:
  4509. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4510. type: integer
  4511. tradeuserid:
  4512. description: 交易用户ID
  4513. type: integer
  4514. unexeqty:
  4515. description: 未执行现货量 = 套期现货量 - 执行现货量
  4516. type: number
  4517. wrstandardid:
  4518. description: 现货商品ID
  4519. type: integer
  4520. wrstandardname:
  4521. description: 现货商品
  4522. type: string
  4523. type: object
  4524. models.Ermcp2hedgeditemspot:
  4525. properties:
  4526. areauserid:
  4527. description: 企业ID
  4528. type: integer
  4529. createtime:
  4530. description: 创建时间
  4531. type: string
  4532. customeruserid:
  4533. description: 对手方 【3:采购合同 4:销售合同】
  4534. type: integer
  4535. deliverygoodsid:
  4536. description: 现货品种ID
  4537. type: integer
  4538. enumdicname:
  4539. description: 单位
  4540. type: string
  4541. hedgeditemid:
  4542. description: 被套期项目ID
  4543. type: string
  4544. hedgeditemspotid:
  4545. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4546. type: string
  4547. hedgedtype:
  4548. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4549. type: integer
  4550. hedgeplanno:
  4551. description: 计划编号
  4552. type: string
  4553. oriavgprice:
  4554. description: 期初市场价[当初市场价]
  4555. type: number
  4556. relatedamount:
  4557. description: 市价总额 = 关联数量 * 期初市场价
  4558. type: number
  4559. relatedhedgeplanid:
  4560. description: 关联计划ID 【1:采购计划 2:销售计划】
  4561. type: integer
  4562. relatedqty:
  4563. description: 关联数量[数量]
  4564. type: number
  4565. relatedspotcontractid:
  4566. description: 关联合同ID 【3:采购合同 4:销售合同】
  4567. type: integer
  4568. relatedtype:
  4569. description: 关联类型 - 1:套期关联 2:执行关联
  4570. type: integer
  4571. spotgoodsbrandid:
  4572. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4573. type: integer
  4574. spotpricedamount:
  4575. description: 定价总额
  4576. type: number
  4577. spotpricedavgprice:
  4578. description: 现货均价 = 定价总额 / 关联数量
  4579. type: number
  4580. spottype:
  4581. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4582. type: integer
  4583. tradeuserid:
  4584. description: 交易用户ID
  4585. type: integer
  4586. wrstandardid:
  4587. description: 现货商品ID
  4588. type: integer
  4589. wrstandardname:
  4590. description: 现货商品
  4591. type: string
  4592. required:
  4593. - hedgeditemid
  4594. type: object
  4595. models.Ermcp2hedgeditemspotDetail:
  4596. properties:
  4597. accountname:
  4598. description: 对手方
  4599. type: string
  4600. areauserid:
  4601. description: 企业ID
  4602. type: integer
  4603. brandname:
  4604. description: 品牌
  4605. type: string
  4606. contractno:
  4607. description: 合同编号
  4608. type: string
  4609. createtime:
  4610. description: 创建时间
  4611. type: string
  4612. customeruserid:
  4613. description: 对手方 【3:采购合同 4:销售合同】
  4614. type: integer
  4615. deliverygoodsid:
  4616. description: 现货品种ID
  4617. type: integer
  4618. enumdicname:
  4619. description: 单位
  4620. type: string
  4621. hedgeditemid:
  4622. description: 被套期项目ID
  4623. type: string
  4624. hedgeditemspotid:
  4625. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4626. type: string
  4627. hedgedtype:
  4628. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4629. type: integer
  4630. oriavgprice:
  4631. description: 期初市场价[当初市场价]
  4632. type: number
  4633. relatedamount:
  4634. description: 市价总额 = 关联数量 * 期初市场价
  4635. type: number
  4636. relatedhedgeplanid:
  4637. description: 关联计划ID 【1:采购计划 2:销售计划】
  4638. type: integer
  4639. relatedqty:
  4640. description: 关联数量[数量]
  4641. type: number
  4642. relatedspotcontractid:
  4643. description: 关联合同ID 【3:采购合同 4:销售合同】
  4644. type: integer
  4645. relatedtype:
  4646. description: 关联类型 - 1:套期关联 2:执行关联
  4647. type: integer
  4648. spotgoodsbrandid:
  4649. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4650. type: integer
  4651. spotpricedamount:
  4652. description: 定价总额[金额]
  4653. type: number
  4654. spotpricedavgprice:
  4655. description: 现货均价 = 定价总额 / 关联数量
  4656. type: number
  4657. spottype:
  4658. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4659. type: integer
  4660. tradeuserid:
  4661. description: 交易用户ID
  4662. type: integer
  4663. wrstandardid:
  4664. description: 现货商品ID
  4665. type: integer
  4666. wrstandardname:
  4667. description: 现货商品
  4668. type: string
  4669. required:
  4670. - hedgeditemid
  4671. type: object
  4672. models.Ermcp2himiddlegoods:
  4673. properties:
  4674. futurehedgeqty:
  4675. description: 期货持仓套期量
  4676. type: number
  4677. hedgeditemid:
  4678. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4679. type: integer
  4680. hiexpsoure:
  4681. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4682. type: number
  4683. middlegoodscode:
  4684. description: 套保商品代码
  4685. type: string
  4686. middlegoodsid:
  4687. description: 套保品种ID
  4688. type: integer
  4689. middlegoodsname:
  4690. description: 套保商品名称
  4691. type: string
  4692. unexehedgeqty:
  4693. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4694. type: number
  4695. required:
  4696. - hedgeditemid
  4697. - middlegoodsid
  4698. type: object
  4699. models.Ermcp2stockspotchangelog:
  4700. properties:
  4701. accountname:
  4702. description: 套期主体
  4703. type: string
  4704. aftervalue:
  4705. description: 现货量
  4706. type: number
  4707. beforevalue:
  4708. description: 变更前现货量
  4709. type: number
  4710. contractno:
  4711. description: '[编号]现货合同编号'
  4712. type: string
  4713. contracttype:
  4714. description: 现货合同类型 - 1:采购 -1:销售
  4715. type: integer
  4716. createtime:
  4717. description: 创建时间
  4718. type: string
  4719. customerusername:
  4720. description: 对手方
  4721. type: string
  4722. deliverygoodsid:
  4723. description: 现货品种ID
  4724. type: integer
  4725. exetype:
  4726. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4727. type: integer
  4728. logid:
  4729. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4730. type: string
  4731. logvalue:
  4732. description: '[期间变化量]现货量变更值'
  4733. type: number
  4734. middlegoodschange:
  4735. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4736. type: number
  4737. operatelogtype:
  4738. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4739. 27:生产出库
  4740. type: integer
  4741. relatedid:
  4742. description: 现货合同ID
  4743. type: integer
  4744. spotgoodsbrandid:
  4745. description: 现货品牌ID
  4746. type: integer
  4747. tradedate:
  4748. description: 交易日(yyyyMMdd)
  4749. type: string
  4750. userid:
  4751. description: 机构ID
  4752. type: integer
  4753. warehouseinfoid:
  4754. description: 仓库ID
  4755. type: integer
  4756. wrfactortypeid:
  4757. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4758. type: integer
  4759. wrstandardid:
  4760. description: 现货商品ID
  4761. type: integer
  4762. wrstandardname:
  4763. description: 商品名称
  4764. type: string
  4765. type: object
  4766. models.Ermcp3AreaSpot:
  4767. properties:
  4768. areauserid:
  4769. description: 所属机构
  4770. type: integer
  4771. convertratio:
  4772. description: 套保系数
  4773. type: number
  4774. decreaseqty:
  4775. description: 减少数量=-(销售已定价数量+采购计划数量)
  4776. type: number
  4777. enumdicname:
  4778. description: 单位名称
  4779. type: string
  4780. increaseqty:
  4781. description: 增加数量=销售计划数量+采购已定价数量
  4782. type: number
  4783. oritoalspotqty:
  4784. description: 昨日数量
  4785. type: number
  4786. totalspotqty:
  4787. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4788. type: number
  4789. unitid:
  4790. description: 现货商品单位id
  4791. type: integer
  4792. updatetime:
  4793. description: 更新时间
  4794. type: string
  4795. wrstandardcode:
  4796. description: 现货商品代码
  4797. type: string
  4798. wrstandardid:
  4799. description: 现货商品ID(SEQ_WRSTANDARD)
  4800. type: integer
  4801. wrstandardname:
  4802. description: 现货商品名称
  4803. type: string
  4804. type: object
  4805. models.Ermcp3AreaSpotDetail:
  4806. properties:
  4807. contracttype:
  4808. description: 合同类型 1-采购 -1-销售
  4809. type: integer
  4810. createtime:
  4811. description: 创建时间
  4812. type: string
  4813. enumdicname:
  4814. description: 现货商品单位名称
  4815. type: string
  4816. logtype:
  4817. description: 记录类型 1-套保 2-现货合同
  4818. type: integer
  4819. qty:
  4820. description: 数量
  4821. type: number
  4822. recordname:
  4823. description: 类型名称
  4824. type: string
  4825. relatedid:
  4826. description: 套保计划ID/现货合同ID
  4827. type: string
  4828. relatedno:
  4829. description: 编号
  4830. type: string
  4831. strtime:
  4832. description: 时间
  4833. type: string
  4834. wrstandardcode:
  4835. description: 现货商品代码
  4836. type: string
  4837. wrstandardid:
  4838. description: 现货商品ID(SEQ_WRSTANDARD)
  4839. type: integer
  4840. wrstandardname:
  4841. description: 现货商品名称
  4842. type: string
  4843. type: object
  4844. models.Ermcp3AreaSpotPLReport:
  4845. properties:
  4846. accountid:
  4847. description: 期货账户ID (作废, 默认为0)
  4848. type: integer
  4849. accountname:
  4850. description: 机构名称
  4851. type: string
  4852. actualpl:
  4853. description: 现货损益
  4854. type: number
  4855. areauserid:
  4856. description: 所属机构\交易用户ID
  4857. type: integer
  4858. begindate:
  4859. description: 开始交易日
  4860. type: string
  4861. biztype:
  4862. description: 业务类型 - 1:套保 2:套利
  4863. type: integer
  4864. brandname:
  4865. description: 品牌名称
  4866. type: string
  4867. curamount:
  4868. description: 期末额
  4869. type: number
  4870. curaverageprice:
  4871. description: 期末均价
  4872. type: number
  4873. curbuyamount:
  4874. description: 期末采购总额
  4875. type: number
  4876. curbuyqty:
  4877. description: 期末采购总量
  4878. type: number
  4879. curmarketvalue:
  4880. description: 参考市值(期末市值)
  4881. type: number
  4882. curqty:
  4883. description: 期末量
  4884. type: number
  4885. currencyid:
  4886. description: 结算币种ID【原值】
  4887. type: integer
  4888. currencyname:
  4889. description: 币种名称
  4890. type: string
  4891. cursellamount:
  4892. description: 期末销售总额
  4893. type: number
  4894. cursellqty:
  4895. description: 期末销售总量
  4896. type: number
  4897. curspotprice:
  4898. description: 参考市价(最新价)
  4899. type: number
  4900. cycletime:
  4901. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4902. type: string
  4903. cycletype:
  4904. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4905. type: integer
  4906. deliverygoodscode:
  4907. description: 现货品种代码
  4908. type: string
  4909. deliverygoodsid:
  4910. description: 现货品种ID
  4911. type: integer
  4912. deliverygoodsname:
  4913. description: 现货品种名称
  4914. type: string
  4915. enddate:
  4916. description: 结束交易日
  4917. type: string
  4918. enumdicname:
  4919. description: 现货品种单位名称(作废)
  4920. type: string
  4921. floatpl:
  4922. description: 浮动损益
  4923. type: number
  4924. goodsunitid:
  4925. description: 现货品种单位id(作废)
  4926. type: integer
  4927. oriamount:
  4928. description: 期初额
  4929. type: number
  4930. oriaverageprice:
  4931. description: 期初均价
  4932. type: number
  4933. oribuyamount:
  4934. description: 期初采购总额
  4935. type: number
  4936. oribuyqty:
  4937. description: 期初采购总量
  4938. type: number
  4939. oriqty:
  4940. description: 期初量
  4941. type: number
  4942. orisellamount:
  4943. description: 期初销售总额
  4944. type: number
  4945. orisellqty:
  4946. description: 期初销售总量
  4947. type: number
  4948. reckondate:
  4949. description: 日照时期(yyyyMMdd)
  4950. type: string
  4951. spotgoodsbrandid:
  4952. description: 现货品牌ID
  4953. type: integer
  4954. todaybuyamount:
  4955. description: 今日采购额(今采购额)
  4956. type: number
  4957. todaybuyaverageprice:
  4958. description: 今日采购均价
  4959. type: number
  4960. todaybuyqty:
  4961. description: 今日采购量(今采购量)
  4962. type: number
  4963. todayinqty:
  4964. description: 今日入库量(今入库量)
  4965. type: number
  4966. todayoutqty:
  4967. description: 今日出库量(今出库量)
  4968. type: number
  4969. todaysellamount:
  4970. description: 今日销售额(今销售额)
  4971. type: number
  4972. todaysellaverageprice:
  4973. description: 今日销售均价
  4974. type: number
  4975. todaysellqty:
  4976. description: 今日销售量(今销售量)
  4977. type: number
  4978. unitid:
  4979. description: 品类单位id
  4980. type: integer
  4981. unitidname:
  4982. description: 品类单位名称
  4983. type: string
  4984. updatetime:
  4985. description: 更新时间
  4986. type: string
  4987. wrfactortypeid:
  4988. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4989. type: integer
  4990. wrstandardcode:
  4991. description: 现货商品(品类)代码
  4992. type: string
  4993. wrstandardid:
  4994. description: 现货品类ID
  4995. type: integer
  4996. wrstandardname:
  4997. description: 现货商品(品类)名称
  4998. type: string
  4999. type: object
  5000. models.Ermcp3AreaStock:
  5001. properties:
  5002. brandname:
  5003. description: 品牌名称
  5004. type: string
  5005. curstock:
  5006. description: 期末库存量(今日量)
  5007. type: number
  5008. deliverygoodscode:
  5009. description: 现货品种代码
  5010. type: string
  5011. deliverygoodsid:
  5012. description: 现货品种id
  5013. type: integer
  5014. deliverygoodsname:
  5015. description: 现货品种名称
  5016. type: string
  5017. enumdicname:
  5018. description: 单位名称
  5019. type: string
  5020. goodsunitid:
  5021. description: 现货商品单位id
  5022. type: integer
  5023. oristock:
  5024. description: 期初库存量(昨日量)
  5025. type: number
  5026. spotgoodsbrandid:
  5027. description: 现货品牌ID
  5028. type: integer
  5029. todaybuyinqty:
  5030. description: 今日采购入库量
  5031. type: number
  5032. todayproduceinqty:
  5033. description: 今日生产入库量
  5034. type: number
  5035. todayproduceoutqty:
  5036. description: 今日生产出库量
  5037. type: number
  5038. todayselloutqty:
  5039. description: 今日销售出库量
  5040. type: number
  5041. unitid:
  5042. description: 单位id
  5043. type: integer
  5044. updatetime:
  5045. description: 更新时间
  5046. type: string
  5047. userid:
  5048. description: 机构ID
  5049. type: integer
  5050. username:
  5051. description: 机构名称
  5052. type: string
  5053. warehousecode:
  5054. description: 仓库代码
  5055. type: string
  5056. warehouseinfoid:
  5057. description: 仓库ID
  5058. type: string
  5059. warehousename:
  5060. description: 仓库名称
  5061. type: string
  5062. warehousetype:
  5063. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5064. type: integer
  5065. wrstandardcode:
  5066. description: 品类代码
  5067. type: string
  5068. wrstandardid:
  5069. description: 品类ID
  5070. type: string
  5071. wrstandardname:
  5072. description: 品类名称
  5073. type: string
  5074. required:
  5075. - userid
  5076. type: object
  5077. models.Ermcp3AreaStockApply:
  5078. properties:
  5079. applyid:
  5080. description: 申请人
  5081. type: integer
  5082. applyname:
  5083. description: 申请人名称
  5084. type: string
  5085. applyremark:
  5086. description: 申请备注
  5087. type: string
  5088. applysrc:
  5089. description: 申请来源 - 1:管理端 2:终端
  5090. type: integer
  5091. applystatus:
  5092. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5093. type: integer
  5094. applytime:
  5095. description: 申请时间
  5096. type: string
  5097. auditid:
  5098. description: 审核人
  5099. type: integer
  5100. auditname:
  5101. description: 审核人名称
  5102. type: string
  5103. auditremark:
  5104. description: 审核备注
  5105. type: string
  5106. auditsrc:
  5107. description: 审核来源 - 1:管理端 2:终端
  5108. type: integer
  5109. audittime:
  5110. description: 审核时间
  5111. type: string
  5112. audittradedate:
  5113. description: 审核交易日(yyyyMMdd)
  5114. type: string
  5115. brandname:
  5116. description: 品牌名称
  5117. type: string
  5118. buynickname:
  5119. description: 采购方昵称
  5120. type: string
  5121. buyuserid:
  5122. description: 采购方userid
  5123. type: integer
  5124. buyusername:
  5125. description: 采购方名称
  5126. type: string
  5127. contractno:
  5128. description: 合同编号
  5129. type: string
  5130. contractqty:
  5131. description: 合同量
  5132. type: number
  5133. contracttype:
  5134. description: 现货合同类型 - 1:采购 -1:销售
  5135. type: integer
  5136. deliverygoodscode:
  5137. description: 现货品种代码
  5138. type: string
  5139. deliverygoodsid:
  5140. description: 现货品种id
  5141. type: integer
  5142. deliverygoodsname:
  5143. description: 现货品种名称
  5144. type: string
  5145. detailjson:
  5146. description: 明细数据
  5147. type: string
  5148. enumdicname:
  5149. description: 现货商品单位名称
  5150. type: string
  5151. inoutapplyid:
  5152. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5153. type: string
  5154. inouttype:
  5155. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5156. type: integer
  5157. pricetype:
  5158. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5159. type: integer
  5160. qty:
  5161. description: 数量
  5162. type: number
  5163. sellnickname:
  5164. description: 销售方昵称
  5165. type: string
  5166. selluserid:
  5167. description: 销售方userid
  5168. type: integer
  5169. sellusername:
  5170. description: 销售方名称
  5171. type: string
  5172. spotcontractid:
  5173. description: 关联现货合同ID
  5174. type: string
  5175. spotgoodsbrandid:
  5176. description: 现货品牌ID
  5177. type: integer
  5178. unitid:
  5179. description: 单位id
  5180. type: integer
  5181. userid:
  5182. description: 机构ID
  5183. type: integer
  5184. warehousecode:
  5185. description: 仓库代码
  5186. type: string
  5187. warehouseinfoid:
  5188. description: 现货仓库ID
  5189. type: string
  5190. warehousename:
  5191. description: 仓库名称
  5192. type: string
  5193. warehousetype:
  5194. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5195. type: integer
  5196. wrstandardcode:
  5197. description: 品类代码
  5198. type: string
  5199. wrstandardid:
  5200. description: 品类ID
  5201. type: integer
  5202. wrstandardname:
  5203. description: 品类名称
  5204. type: string
  5205. type: object
  5206. models.Ermcp3AreaStockApplySum:
  5207. properties:
  5208. brandname:
  5209. description: 品牌名称
  5210. type: string
  5211. inouttype:
  5212. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5213. type: integer
  5214. spotcontractid:
  5215. description: 关联现货合同ID
  5216. type: string
  5217. spotgoodsbrandid:
  5218. description: 品牌id
  5219. type: integer
  5220. totalqty:
  5221. description: 总数量
  5222. type: number
  5223. wrstandardid:
  5224. description: 品类id
  5225. type: integer
  5226. wrstandardname:
  5227. description: 品类名称
  5228. type: string
  5229. type: object
  5230. models.Ermcp3AreaStockReportEx:
  5231. properties:
  5232. begindate:
  5233. description: 开始交易日
  5234. type: string
  5235. brandname:
  5236. description: 品牌名称
  5237. type: string
  5238. curstock:
  5239. description: 期末库存量
  5240. type: number
  5241. cycletime:
  5242. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5243. type: string
  5244. cycletype:
  5245. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5246. type: integer
  5247. deliverygoodscode:
  5248. description: 现货品种代码
  5249. type: string
  5250. deliverygoodsid:
  5251. description: 现货品种id
  5252. type: integer
  5253. deliverygoodsname:
  5254. description: 现货品种名称
  5255. type: string
  5256. diffqty:
  5257. description: 库存变化量 = 期末 - 期初
  5258. type: number
  5259. enddate:
  5260. description: 结束交易日
  5261. type: string
  5262. enumdicname:
  5263. description: 单位名称
  5264. type: string
  5265. goodsunitid:
  5266. description: 现货单位id
  5267. type: integer
  5268. oristock:
  5269. description: 期初库存量
  5270. type: number
  5271. reckondate:
  5272. description: 日照时期(yyyyMMdd)
  5273. type: string
  5274. spotgoodsbrandid:
  5275. description: 现货品牌ID
  5276. type: integer
  5277. todaybuyinqty:
  5278. description: 今采购入库量
  5279. type: number
  5280. todayproduceinqty:
  5281. description: 今内部入库量
  5282. type: number
  5283. todayproduceoutqty:
  5284. description: 今内部出库量
  5285. type: number
  5286. todayselloutqty:
  5287. description: 今销售出库量
  5288. type: number
  5289. unbuyinqty:
  5290. description: 采购未入库量(数据库未找到相关字段?)
  5291. type: number
  5292. unitid:
  5293. description: 品类单位id
  5294. type: integer
  5295. unselloutqty:
  5296. description: 销售未出库量(数据库未找到相关字段?)
  5297. type: number
  5298. updatetime:
  5299. description: 更新时间
  5300. type: string
  5301. userid:
  5302. description: 机构ID
  5303. type: integer
  5304. username:
  5305. description: 机构名称
  5306. type: string
  5307. warehousecode:
  5308. description: 仓库代码
  5309. type: string
  5310. warehouseinfoid:
  5311. description: 仓库ID
  5312. type: string
  5313. warehousename:
  5314. description: 仓库名称
  5315. type: string
  5316. warehousetype:
  5317. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5318. type: integer
  5319. wrstandardcode:
  5320. description: 品类代码
  5321. type: string
  5322. wrstandardid:
  5323. description: 品类ID
  5324. type: integer
  5325. wrstandardname:
  5326. description: 品类名称
  5327. type: string
  5328. type: object
  5329. models.Ermcp3ArealSumPL:
  5330. properties:
  5331. accountname:
  5332. description: 机构名称
  5333. type: string
  5334. areauserid:
  5335. description: 所属机构\交易用户ID
  5336. type: integer
  5337. begindate:
  5338. description: 开始交易日
  5339. type: string
  5340. currencyid:
  5341. description: 结算币种ID
  5342. type: integer
  5343. currencyname:
  5344. description: 币种名称
  5345. type: string
  5346. cycletime:
  5347. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5348. type: string
  5349. cycletype:
  5350. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5351. type: integer
  5352. enddate:
  5353. description: 结束交易日
  5354. type: string
  5355. enumdicname:
  5356. description: 单位名称(套保品种)
  5357. type: string
  5358. futureactualpl:
  5359. description: 期货损益
  5360. type: number
  5361. futurefloatpl:
  5362. description: 期货浮动损益
  5363. type: number
  5364. futurespotratio:
  5365. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5366. type: number
  5367. goodsunitid:
  5368. description: 套保品种单位id
  5369. type: integer
  5370. hedgeexposurepl:
  5371. description: 套保敞口损益
  5372. type: number
  5373. middlegoodscode:
  5374. description: 套保品种代码
  5375. type: string
  5376. middlegoodsid:
  5377. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5378. type: integer
  5379. middlegoodsname:
  5380. description: 套保品种名称
  5381. type: string
  5382. reckondate:
  5383. description: 日照时期(yyyyMMdd)
  5384. type: string
  5385. spotactualpl:
  5386. description: 现货损益
  5387. type: number
  5388. spotfloatpl:
  5389. description: 现货浮动损益
  5390. type: number
  5391. sumactualpl:
  5392. description: 实际损益 = (ActualPL + FutureActualPL)
  5393. type: number
  5394. sumpl:
  5395. description: 总敞口损益 | 汇总损益
  5396. type: number
  5397. totalfutureqty:
  5398. description: 期货头寸总量
  5399. type: number
  5400. totalneedhedgeqty:
  5401. description: 应套保总量
  5402. type: number
  5403. totalspotqty:
  5404. description: 现货头寸总量
  5405. type: number
  5406. updatetime:
  5407. description: 更新时间
  5408. type: string
  5409. type: object
  5410. models.Ermcp3Brand:
  5411. properties:
  5412. areauserid:
  5413. description: 用户id
  5414. type: integer
  5415. brandid:
  5416. description: 品牌id
  5417. type: integer
  5418. brandname:
  5419. description: 品牌名称
  5420. type: string
  5421. deliverygoodsid:
  5422. description: 品种ID
  5423. type: integer
  5424. isvalid:
  5425. description: 是否有效
  5426. type: integer
  5427. type: object
  5428. models.Ermcp3Contract:
  5429. properties:
  5430. accountid:
  5431. description: 期货账户id
  5432. type: string
  5433. amount:
  5434. description: 金额 [1:一口价、3:暂定价]
  5435. type: number
  5436. attachment:
  5437. description: 附件
  5438. type: string
  5439. auditremark:
  5440. description: 审核意见
  5441. type: string
  5442. audittime:
  5443. description: 审核时间
  5444. type: string
  5445. biztype:
  5446. description: 业务类型 1-套保 2-套利
  5447. type: integer
  5448. brandname:
  5449. description: 品牌名称
  5450. type: string
  5451. buynickname:
  5452. description: 销售方昵称
  5453. type: string
  5454. buyuserid:
  5455. description: 采购方ID
  5456. type: integer
  5457. buyusername:
  5458. description: 采购方名称
  5459. type: string
  5460. contracctstatus:
  5461. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5462. type: integer
  5463. contractmargin:
  5464. description: 合同保证金
  5465. type: number
  5466. contractno:
  5467. description: 现货合同编号
  5468. type: string
  5469. contracttype:
  5470. description: 现货合同类型 - 1:采购 -1:销售
  5471. type: integer
  5472. convertfactor:
  5473. description: 标仓系数(品类)
  5474. type: number
  5475. createtime:
  5476. description: 创建时间
  5477. type: string
  5478. currencyid:
  5479. description: 币种id
  5480. type: integer
  5481. currencyname:
  5482. description: 币种名称
  5483. type: string
  5484. deliveryenddate:
  5485. description: 交收期(结束)
  5486. type: string
  5487. deliverygoodscode:
  5488. description: 现货品种代码
  5489. type: string
  5490. deliverygoodsid:
  5491. description: 现货品种ID
  5492. type: integer
  5493. deliverygoodsname:
  5494. description: 现货品种名称
  5495. type: string
  5496. deliverystartdate:
  5497. description: 交收期(开始)
  5498. type: string
  5499. enddate:
  5500. description: 点价结束日期 [2:点价 3:暂定价]
  5501. type: string
  5502. enumdicname:
  5503. description: 单位名称
  5504. type: string
  5505. goodscode:
  5506. description: 点价合约代码
  5507. type: string
  5508. goodsid:
  5509. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5510. type: integer
  5511. goodsname:
  5512. description: 点价商品名称
  5513. type: string
  5514. margin:
  5515. description: 当前保证金
  5516. type: number
  5517. meruserid:
  5518. description: 跟单员id
  5519. type: integer
  5520. meruserlogincode:
  5521. description: 跟单员登录代码
  5522. type: string
  5523. merusername:
  5524. description: 跟单员名称
  5525. type: string
  5526. pointdesc:
  5527. description: 点价备注
  5528. type: string
  5529. price:
  5530. description: 价格\暂定价 [1:一口价、3:暂定价]
  5531. type: number
  5532. pricemove:
  5533. description: 升贴水 [2:点价 3:暂定价]
  5534. type: number
  5535. pricetype:
  5536. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5537. type: integer
  5538. producttype:
  5539. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5540. type: integer
  5541. qty:
  5542. description: 数量
  5543. type: number
  5544. remark:
  5545. description: 备注
  5546. type: string
  5547. saleuserid:
  5548. description: 业务员id
  5549. type: integer
  5550. saleuserlogincode:
  5551. description: 业务员登录代码
  5552. type: string
  5553. saleusername:
  5554. description: 业务员名称
  5555. type: string
  5556. sellnickname:
  5557. description: 采购方昵称
  5558. type: string
  5559. selluserid:
  5560. description: 销售方ID
  5561. type: integer
  5562. sellusername:
  5563. description: 销售方名称
  5564. type: string
  5565. spotcontractid:
  5566. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5567. type: string
  5568. spotgoodsbrandid:
  5569. description: 现货品牌ID(DGFactoryItem表的ID)
  5570. type: integer
  5571. spotgoodsdesc:
  5572. description: 商品型号
  5573. type: string
  5574. startdate:
  5575. description: 点价开始日期 [2:点价 3:暂定价]
  5576. type: string
  5577. subjectid:
  5578. description: 交易主体ID
  5579. type: integer
  5580. subjectname:
  5581. description: 交易主体名称
  5582. type: string
  5583. tradeuserid:
  5584. description: 交易员id
  5585. type: integer
  5586. tradeuserlogincode:
  5587. description: 交易员登录代码
  5588. type: string
  5589. tradeusername:
  5590. description: 交易员名称
  5591. type: string
  5592. unitid:
  5593. description: 单位id(取品类上的单位id)
  5594. type: integer
  5595. updatetime:
  5596. description: 更新时间
  5597. type: string
  5598. userid:
  5599. description: 所属机构ID
  5600. type: integer
  5601. vatrate:
  5602. description: 增值税率
  5603. type: number
  5604. wrstandardcode:
  5605. description: 品类代码
  5606. type: string
  5607. wrstandardid:
  5608. description: 品类ID
  5609. type: integer
  5610. wrstandardname:
  5611. description: 品类名称
  5612. type: string
  5613. type: object
  5614. models.Ermcp3ContractMiddleGoodsCfg:
  5615. properties:
  5616. agreeunit:
  5617. description: 合约乘数
  5618. type: number
  5619. convertratio:
  5620. description: 期货品种系数
  5621. type: number
  5622. covertqty:
  5623. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5624. type: integer
  5625. middlegoodsid:
  5626. description: 套保品种ID
  5627. type: integer
  5628. middlegoodspricedqty3:
  5629. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5630. example: "0"
  5631. type: string
  5632. pendingpricedqty:
  5633. description: 待点价量
  5634. example: "0"
  5635. type: string
  5636. relatedmiddlegoodsqty:
  5637. description: 已关联量(套保品种-期货)
  5638. example: "0"
  5639. type: string
  5640. spotcontractid:
  5641. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5642. type: string
  5643. type: object
  5644. models.Ermcp3ExposureContractDetail:
  5645. properties:
  5646. biztype:
  5647. description: 业务类型 1-套保 2-套利
  5648. type: integer
  5649. brandname:
  5650. description: 品牌名称
  5651. type: string
  5652. buyuserid:
  5653. description: 采购方id
  5654. type: integer
  5655. buyusername:
  5656. description: 采购方名称
  5657. type: string
  5658. contractno:
  5659. description: 合同编号
  5660. type: string
  5661. contracttype:
  5662. description: 现货合同类型 - 1:采购 -1:销售
  5663. type: integer
  5664. convertfactor:
  5665. description: 标仓系数
  5666. type: number
  5667. convertratio:
  5668. description: 折算系数(套保品种)
  5669. type: number
  5670. curqty:
  5671. description: 今定价量
  5672. type: number
  5673. deliverygoodscode:
  5674. description: 现货品种代码
  5675. type: string
  5676. deliverygoodsid:
  5677. description: 现货品种id
  5678. type: integer
  5679. deliverygoodsname:
  5680. description: 现货品种名称
  5681. type: string
  5682. diffhedgeqty:
  5683. description: 套保变动量
  5684. type: number
  5685. diffneedhedgeqty:
  5686. description: 应套保变动量
  5687. type: number
  5688. diffqty:
  5689. description: 套保品种今变动量
  5690. type: number
  5691. enumdicname:
  5692. description: 单位名称
  5693. type: string
  5694. mgunitname:
  5695. description: 套保品种单位名称
  5696. type: string
  5697. middlegoodscode:
  5698. description: 套保品种代码
  5699. type: string
  5700. middlegoodsid:
  5701. description: 套保品种id
  5702. type: integer
  5703. middlegoodsname:
  5704. description: 套保品种名称
  5705. type: string
  5706. needarbitrageratio:
  5707. description: 应套利比例
  5708. type: number
  5709. needhedgeratio:
  5710. description: 应套保比例
  5711. type: number
  5712. pricedqty:
  5713. description: 已定价量
  5714. type: number
  5715. qty:
  5716. description: 合同量
  5717. type: number
  5718. reckondate:
  5719. description: 交易日(reckondate)
  5720. type: string
  5721. selluserid:
  5722. description: 销售方id
  5723. type: integer
  5724. sellusername:
  5725. description: 销售方名称
  5726. type: string
  5727. spotcontractid:
  5728. description: 合同id
  5729. type: string
  5730. todaypricedqty:
  5731. description: 今定价量
  5732. type: number
  5733. tradedate:
  5734. description: 交易日
  5735. type: string
  5736. unitid:
  5737. description: 品类单位id
  5738. type: integer
  5739. userid:
  5740. description: 机构id
  5741. type: integer
  5742. username:
  5743. description: 交易用户
  5744. type: string
  5745. wrstandardcode:
  5746. description: 现货商品代码
  5747. type: string
  5748. wrstandardid:
  5749. description: 现货商品id
  5750. type: integer
  5751. wrstandardname:
  5752. description: 现货商品名称
  5753. type: string
  5754. type: object
  5755. models.Ermcp3ExposureDetail:
  5756. properties:
  5757. areauserid:
  5758. description: 机构ID
  5759. type: integer
  5760. changeQty:
  5761. description: 套保变动量
  5762. type: number
  5763. contracttype:
  5764. description: 现货合同类型 - 1:采购 -1:销售
  5765. type: integer
  5766. convertfactor:
  5767. description: 标仓系数
  5768. type: number
  5769. convertratio:
  5770. description: 折算系数
  5771. type: number
  5772. createtime:
  5773. description: 时间
  5774. type: string
  5775. enumdicname:
  5776. description: 现货商品单位名称
  5777. type: string
  5778. logtype:
  5779. description: 类型 - 1:套保计划 2:现货合同
  5780. type: integer
  5781. mgunitid:
  5782. description: 套保品种单位id
  5783. type: integer
  5784. mgunitidname:
  5785. description: 套保品种单位名称
  5786. type: string
  5787. middlegoodsId:
  5788. description: 套保商品id
  5789. type: integer
  5790. middlegoodscode:
  5791. description: 套保商品代码
  5792. type: string
  5793. middlegoodsname:
  5794. description: 套保商品名称
  5795. type: string
  5796. qty:
  5797. description: 数量
  5798. type: number
  5799. relateNo:
  5800. description: 现货合同/套保计划编号
  5801. type: string
  5802. unitid:
  5803. description: 现货商品单位id
  5804. type: integer
  5805. wrstandardcode:
  5806. description: 现货商品代码
  5807. type: string
  5808. wrstandardid:
  5809. description: 现货商品ID(SEQ_WRSTANDARD)
  5810. type: integer
  5811. wrstandardname:
  5812. description: 现货商品名称
  5813. type: string
  5814. type: object
  5815. models.Ermcp3ExposureFutuDetail:
  5816. properties:
  5817. accountid:
  5818. description: 交易账户id
  5819. type: integer
  5820. accountname:
  5821. description: 交易账户
  5822. type: string
  5823. begindate:
  5824. description: 开始交易日
  5825. type: string
  5826. buyorsell:
  5827. description: 方向 0-买 1-卖
  5828. type: integer
  5829. diffmgqty:
  5830. description: 套保品种今变化量
  5831. type: number
  5832. diffneedqty:
  5833. description: 应套保总量变化量
  5834. type: number
  5835. difftradeqty:
  5836. description: 交易品种今变化量
  5837. type: number
  5838. enddate:
  5839. description: 结束交易日
  5840. type: string
  5841. enumdicname:
  5842. description: 单位名称
  5843. type: string
  5844. goodscode:
  5845. description: 商品代码
  5846. type: string
  5847. goodsid:
  5848. description: 商品id
  5849. type: integer
  5850. goodsname:
  5851. description: 商品名称
  5852. type: string
  5853. holdqty:
  5854. description: 期末持仓量
  5855. type: number
  5856. middlegoodscode:
  5857. description: 套保商品代码
  5858. type: string
  5859. middlegoodsid:
  5860. description: 套保商品id
  5861. type: integer
  5862. middlegoodsname:
  5863. description: 套保商品名称
  5864. type: string
  5865. oriholdqty:
  5866. description: 期初持仓量
  5867. type: number
  5868. reckondate:
  5869. description: 交易日(RECKONDATE)
  5870. type: string
  5871. todaycloseqty:
  5872. description: 今平仓量
  5873. type: number
  5874. todayopenqty:
  5875. description: 今开仓量
  5876. type: number
  5877. tradedate:
  5878. description: 交易日(RECKONDATE)
  5879. type: string
  5880. username:
  5881. description: 用户名称(交易用户)
  5882. type: string
  5883. type: object
  5884. models.Ermcp3ExposureHedgeplanDetail:
  5885. properties:
  5886. biztype:
  5887. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5888. type: integer
  5889. changqty:
  5890. description: 应套保总量变化量
  5891. type: number
  5892. contracttype:
  5893. description: 计划类型 - 1:采购 -1:销售
  5894. type: integer
  5895. convertratio:
  5896. description: 折算系数(套保品种)
  5897. type: number
  5898. deliverygoodscode:
  5899. description: 现货商品代码
  5900. type: string
  5901. deliverygoodsid:
  5902. description: 现货商品id
  5903. type: integer
  5904. deliverygoodsname:
  5905. description: 现货商吕名称
  5906. type: string
  5907. dgunitid:
  5908. description: 现货商品单位id
  5909. type: integer
  5910. dgunitidname:
  5911. description: 单位名称(现货商品)
  5912. type: string
  5913. diffqty:
  5914. description: 套保品种今变动量
  5915. type: number
  5916. enumdicname:
  5917. description: 单位名称(品类)
  5918. type: string
  5919. hedgeplanid:
  5920. description: 套保计划id
  5921. type: string
  5922. hedgeplanno:
  5923. description: 套保计划名称
  5924. type: string
  5925. hedgeplanstatus:
  5926. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5927. type: integer
  5928. mgunitidname:
  5929. description: 单位名称(套保商品)
  5930. type: string
  5931. middlegoodscode:
  5932. description: 套保品种代码
  5933. type: string
  5934. middlegoodsid:
  5935. description: 套保品种id
  5936. type: integer
  5937. middlegoodsname:
  5938. description: 套保品种名称
  5939. type: string
  5940. needarbitrageratio:
  5941. description: 应套利比例
  5942. type: number
  5943. needhedgeratio:
  5944. description: 应套保比例
  5945. type: number
  5946. pricedqty:
  5947. description: 已定价量
  5948. type: number
  5949. qty:
  5950. description: 合同量
  5951. type: number
  5952. reckondate:
  5953. description: 交易日(reckondate)
  5954. type: string
  5955. tradedate:
  5956. description: 交易日(登记日)
  5957. type: string
  5958. unitid:
  5959. description: 品类单位id
  5960. type: integer
  5961. userid:
  5962. description: 机构id
  5963. type: integer
  5964. wrstandardcode:
  5965. description: 品类代码
  5966. type: string
  5967. wrstandardid:
  5968. description: 品类id
  5969. type: integer
  5970. wrstandardname:
  5971. description: 品类名称
  5972. type: string
  5973. type: object
  5974. models.Ermcp3ExposureParamChLog:
  5975. properties:
  5976. accountid:
  5977. description: 期货账户ID (作废, 默认为0)
  5978. type: integer
  5979. aftervalue:
  5980. description: 应套保\套利量变更后(调整后应套保总量)
  5981. type: number
  5982. areauserid:
  5983. description: 所属机构\交易用户ID
  5984. type: integer
  5985. beforevalue:
  5986. description: 应套保\套利量变更前(调整前应套保总量)
  5987. type: number
  5988. begindate:
  5989. description: 开始交易日
  5990. type: string
  5991. changelogtype:
  5992. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5993. type: integer
  5994. curvalue:
  5995. description: 当前套保\套利量(套保总量|套利总量)
  5996. type: number
  5997. diffvalue:
  5998. description: 应套保总量变化量
  5999. type: number
  6000. enddate:
  6001. description: 结束交易日
  6002. type: string
  6003. logdatetime:
  6004. description: 流水日期
  6005. type: string
  6006. logid:
  6007. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  6008. type: string
  6009. middlegoodscode:
  6010. description: 套保品种代码
  6011. type: string
  6012. middlegoodsid:
  6013. description: 套保品种
  6014. type: integer
  6015. middlegoodsname:
  6016. description: 套保品种名称
  6017. type: string
  6018. paramaftervalue:
  6019. description: 参数变更后(调整后参数值)
  6020. type: number
  6021. parambeforevalue:
  6022. description: 参数变更前(调整前参数值)
  6023. type: number
  6024. reckondate:
  6025. description: 交易日(reckondate)
  6026. type: string
  6027. tradedate:
  6028. description: 交易日(yyyyMMdd)
  6029. type: string
  6030. type: object
  6031. models.Ermcp3ExpourseReport:
  6032. properties:
  6033. accountid:
  6034. description: 期货账户ID (作废, 默认为0)
  6035. type: integer
  6036. accountname:
  6037. description: 机构名称
  6038. type: string
  6039. arbitrageqty:
  6040. description: 套利量
  6041. type: number
  6042. areauserid:
  6043. description: 所属机构\交易用户ID
  6044. type: integer
  6045. begindate:
  6046. description: 开始交易日
  6047. type: string
  6048. buyfutureqty:
  6049. description: 买入期货数量
  6050. type: number
  6051. buyplanqty:
  6052. description: 采购计划数量
  6053. type: number
  6054. buypricedqty:
  6055. description: 采购合同已定价数量
  6056. type: number
  6057. cycletime:
  6058. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6059. type: string
  6060. cycletype:
  6061. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6062. type: integer
  6063. diffexposure:
  6064. description: 变动量(套保敞口)
  6065. type: number
  6066. difffutuqty:
  6067. description: 变动量(期货)
  6068. type: number
  6069. diffhedgeqty:
  6070. description: 变动量(现货应套保总量)
  6071. type: number
  6072. diffmgqtya:
  6073. description: 套保变动量
  6074. type: number
  6075. diffmgqtyb:
  6076. description: 套利变动量
  6077. type: number
  6078. diffneedqty:
  6079. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  6080. type: number
  6081. diffqty:
  6082. description: 变动量(总敞口)
  6083. type: number
  6084. diffspotqty:
  6085. description: 变动量(现货) | 除税变动量
  6086. type: number
  6087. enddate:
  6088. description: 结束交易日
  6089. type: string
  6090. enumdicname:
  6091. description: 单位名称
  6092. type: string
  6093. hedgeqty:
  6094. description: 套保量
  6095. type: number
  6096. mgneedhedgeratio:
  6097. description: 套保比例(套保品的)
  6098. type: number
  6099. middlegoodsid:
  6100. description: 套保品种ID
  6101. type: integer
  6102. middlegoodsname:
  6103. description: 套保商品名称
  6104. type: string
  6105. middlgoodscode:
  6106. description: 套保商品代码
  6107. type: string
  6108. needarbitrageqty:
  6109. description: 应套利量
  6110. type: number
  6111. needarbitrageratio:
  6112. description: 套利比例(套保品的)
  6113. type: number
  6114. needhedgeexposoure:
  6115. description: 应套保敞口(套保敞口)
  6116. type: number
  6117. needhedgeqty:
  6118. description: 应套保量
  6119. type: number
  6120. needhedgeratio:
  6121. description: 应套保敞口比例
  6122. type: number
  6123. needqty:
  6124. description: 应套总量 = 应套保量 + 应套利量
  6125. type: number
  6126. oriarbitrageqty:
  6127. description: 期初套利量
  6128. type: number
  6129. oribuyfutureqty:
  6130. description: 期初买入期货数量
  6131. type: number
  6132. oribuyplanqty:
  6133. description: 期初采购计划数量
  6134. type: number
  6135. oribuypricedqty:
  6136. description: 期初采购合同已定价数量
  6137. type: number
  6138. orihedgeqty:
  6139. description: 期初套保量
  6140. type: number
  6141. orineedarbitrageqty:
  6142. description: 期初应套利量
  6143. type: number
  6144. orineedhedgeexposoure:
  6145. description: 期初应套保敞口
  6146. type: number
  6147. orineedhedgeqty:
  6148. description: 期初应套保量
  6149. type: number
  6150. orisellfutureqty:
  6151. description: 期初卖出期货数量
  6152. type: number
  6153. orisellplanqty:
  6154. description: 期初销售计划数量
  6155. type: number
  6156. orisellpricedqty:
  6157. description: 期初销售合同已定价数量
  6158. type: number
  6159. oritotalexposure:
  6160. description: 期初实时总敞口
  6161. type: number
  6162. oritotalfutureqty:
  6163. description: 期初期货头寸总量
  6164. type: number
  6165. oritotalneedhedgeqty:
  6166. description: 期初应套保总量
  6167. type: number
  6168. oritotalspotqty:
  6169. description: 期初现货头寸总量
  6170. type: number
  6171. reckondate:
  6172. description: 日照时期(yyyyMMdd)
  6173. type: string
  6174. sellfutureqty:
  6175. description: 卖出期货数量
  6176. type: number
  6177. sellplanqty:
  6178. description: 销售计划数量
  6179. type: number
  6180. sellpricedqty:
  6181. description: 销售合同已定价数量
  6182. type: number
  6183. totalexposure:
  6184. description: 实时总敞口(总敞口)
  6185. type: number
  6186. totalfutureqty:
  6187. description: 期货头寸总量(期货总量)
  6188. type: number
  6189. totalhedgeratio:
  6190. description: 敞口比例
  6191. type: number
  6192. totalneedhedgeqty:
  6193. description: 应套保总量(现货应套保总量)
  6194. type: number
  6195. totalspotqty:
  6196. description: 现货头寸总量 | 除税总量
  6197. type: number
  6198. unitid:
  6199. description: 单位id
  6200. type: integer
  6201. updatetime:
  6202. description: 更新时间
  6203. type: string
  6204. type: object
  6205. models.Ermcp3FinanceReport:
  6206. properties:
  6207. accountname:
  6208. description: 机构名称
  6209. type: string
  6210. areauserid:
  6211. description: 所属机构\交易用户ID
  6212. type: integer
  6213. begindate:
  6214. description: 开始交易日
  6215. type: string
  6216. biztype:
  6217. description: 业务类型 - 1:套保 2:套利
  6218. type: integer
  6219. brandname:
  6220. description: 品牌名称
  6221. type: string
  6222. buypreinvoicedamount:
  6223. description: 采购预收票额(预收票额)
  6224. type: number
  6225. buyprepaidamount:
  6226. description: 采购预付款额(预付货款额)
  6227. type: number
  6228. buytodayinvoiceamount:
  6229. description: 采购今收票额(今收票额)
  6230. type: number
  6231. buytodayrefundamount:
  6232. description: 采购今收退款额(今收退款额)
  6233. type: number
  6234. buytodaysettleamount:
  6235. description: 采购今付款额(今付货款额)
  6236. type: number
  6237. buyuninvoicedamount:
  6238. description: 采购应收票额(应收票额)
  6239. type: number
  6240. buyunpaidamount:
  6241. description: 采购应付款额(应付货款额)
  6242. type: number
  6243. currencyid:
  6244. description: 结算币种ID
  6245. type: integer
  6246. currencyname:
  6247. description: 币种名称
  6248. type: string
  6249. cycletime:
  6250. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6251. type: string
  6252. cycletype:
  6253. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6254. type: integer
  6255. deliverygoodscode:
  6256. description: 现货品种代码
  6257. type: string
  6258. deliverygoodsid:
  6259. description: 现货品种ID
  6260. type: integer
  6261. deliverygoodsname:
  6262. description: 现货品种名称
  6263. type: string
  6264. enddate:
  6265. description: 结束交易日
  6266. type: string
  6267. reckondate:
  6268. description: 日照时期(yyyyMMdd)
  6269. type: string
  6270. sellpreinvoicedamount:
  6271. description: 销售预开票额(预开票额)
  6272. type: number
  6273. sellprepaidamount:
  6274. description: 销售预收款额(预收货款额)
  6275. type: number
  6276. selltodayinvoiceamount:
  6277. description: 销售今开票额(今开票额)
  6278. type: number
  6279. selltodayrefundamount:
  6280. description: 销售今付退款额(今付退款额)
  6281. type: number
  6282. selltodaysettleamount:
  6283. description: 销售今收款额(今收货款额)
  6284. type: number
  6285. selluninvoicedamount:
  6286. description: 销售应开票额(应开票额)
  6287. type: number
  6288. sellunpaidamount:
  6289. description: 销售应收款额(应收货款额)
  6290. type: number
  6291. spotgoodsbrandid:
  6292. description: 现货品牌ID
  6293. type: integer
  6294. todaypaysum:
  6295. description: 今付款合计
  6296. type: number
  6297. todayreceivesum:
  6298. description: 今收款合计
  6299. type: number
  6300. updatetime:
  6301. description: 更新时间
  6302. type: string
  6303. wrfactortypeid:
  6304. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6305. type: integer
  6306. wrstandardcode:
  6307. description: 品类代码
  6308. type: string
  6309. wrstandardid:
  6310. description: 现货商品ID
  6311. type: integer
  6312. wrstandardname:
  6313. description: 品类名称
  6314. type: string
  6315. type: object
  6316. models.Ermcp3GoodsGroup:
  6317. properties:
  6318. agreeunit:
  6319. description: 合约单位
  6320. type: number
  6321. areauserid:
  6322. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6323. type: integer
  6324. canshort:
  6325. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6326. type: integer
  6327. closepricemode:
  6328. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6329. type: integer
  6330. createtime:
  6331. description: 创建时间
  6332. type: string
  6333. creatorid:
  6334. description: 创建人
  6335. type: integer
  6336. currencyid:
  6337. description: 报价货币ID
  6338. type: integer
  6339. decimalplace:
  6340. description: 报价小数位
  6341. type: integer
  6342. enumdicname:
  6343. description: 单位名称
  6344. type: string
  6345. exchangefullname:
  6346. description: 交易所全称
  6347. type: string
  6348. excludecfg:
  6349. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6350. type: integer
  6351. exexchangecode:
  6352. description: 交易所代码
  6353. type: string
  6354. exexchangeid:
  6355. description: 外部交易所ID[通道交易]
  6356. type: integer
  6357. exexchangename:
  6358. description: 交易所名称
  6359. type: string
  6360. goodsgroupid:
  6361. description: 商品组ID(自增ID)
  6362. type: integer
  6363. goodsgroupname:
  6364. description: 商品组名称
  6365. type: string
  6366. goodsgroupstatus:
  6367. description: 商品组状态 - 1:正常 2:注销
  6368. type: integer
  6369. goodunitid:
  6370. description: 报价单位ID
  6371. type: integer
  6372. groupcategroyid:
  6373. description: 品种分类ID
  6374. type: integer
  6375. innerdealmode:
  6376. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6377. type: integer
  6378. marketid:
  6379. description: 所属市场ID
  6380. type: integer
  6381. modifierid:
  6382. description: 修改人
  6383. type: integer
  6384. modifytime:
  6385. description: 修改时间
  6386. type: string
  6387. outerdealmode:
  6388. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6389. type: integer
  6390. outergroupcode:
  6391. description: 外部商品组代码[通道交易]
  6392. type: string
  6393. quoteminunit:
  6394. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6395. type: integer
  6396. quotesourcegroupid:
  6397. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6398. type: integer
  6399. syncgoodsqty:
  6400. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6401. type: integer
  6402. required:
  6403. - areauserid
  6404. type: object
  6405. models.Ermcp3HPMiddleGoods:
  6406. properties:
  6407. biztype:
  6408. description: 业务类型 1:套保 2:套利
  6409. type: integer
  6410. contracttype:
  6411. description: 合同类型 1:采购 -1:销售
  6412. type: integer
  6413. convertratio:
  6414. description: 折算系数
  6415. type: number
  6416. customername:
  6417. description: 对手手名称
  6418. type: string
  6419. customeruserid:
  6420. description: 对手id
  6421. type: integer
  6422. enumdicname:
  6423. description: 现货单位名称
  6424. type: string
  6425. hedgeplanid:
  6426. description: 计划id
  6427. type: string
  6428. hedgeplanno:
  6429. description: 计划编号
  6430. type: string
  6431. middlegoodsid:
  6432. description: 套保品种ID
  6433. type: integer
  6434. middlegoodsplanqty3:
  6435. description: 应套保计划量
  6436. type: number
  6437. needhedgeratio:
  6438. description: 套保比例
  6439. type: number
  6440. pricedqty:
  6441. description: 已定价量
  6442. type: number
  6443. relatedmiddlegoodsqty:
  6444. description: 已关联量(套保品种)(期货)
  6445. type: number
  6446. unitid:
  6447. description: 现货单位id
  6448. type: integer
  6449. userid:
  6450. description: 用户id
  6451. type: integer
  6452. vatrate:
  6453. description: 增值税率
  6454. type: number
  6455. wrstandardcode:
  6456. description: 现货商品代码
  6457. type: string
  6458. wrstandardid:
  6459. description: 现货商品id
  6460. type: integer
  6461. wrstandardname:
  6462. description: 现货商品名称
  6463. type: string
  6464. type: object
  6465. models.Ermcp3HedgePlan:
  6466. properties:
  6467. accountid:
  6468. description: 资金账号
  6469. type: integer
  6470. areauserid:
  6471. description: 用户ID
  6472. type: integer
  6473. auditid:
  6474. description: 审核id
  6475. type: integer
  6476. auditname:
  6477. description: 审核人名称
  6478. type: string
  6479. auditremark:
  6480. description: 审核备注
  6481. type: string
  6482. auditsrc:
  6483. description: 审核来源 1-管理端 2-终端
  6484. type: integer
  6485. audittime:
  6486. description: 审核时间
  6487. type: string
  6488. contracttype:
  6489. description: 计划类型 - 1:采购 -1:销售
  6490. type: integer
  6491. convertfactor:
  6492. description: 标仓系数
  6493. type: number
  6494. createtime:
  6495. description: 创建时间
  6496. type: string
  6497. currencyid:
  6498. description: 币种id
  6499. type: integer
  6500. currencyname:
  6501. description: 币种名称
  6502. type: string
  6503. deliverygoodscode:
  6504. description: 现货品种代码
  6505. type: string
  6506. deliverygoodsid:
  6507. description: 现货品种ID
  6508. type: integer
  6509. deliverygoodsname:
  6510. description: 现货品种名称
  6511. type: string
  6512. enumdicname:
  6513. description: 单位名称(现货商品)
  6514. type: string
  6515. hedgeplanid:
  6516. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6517. type: string
  6518. hedgeplanno:
  6519. description: 套保计划编号(名称)
  6520. type: string
  6521. hedgeplanstatus:
  6522. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6523. type: integer
  6524. planqty:
  6525. description: 计划数量
  6526. type: number
  6527. plantime:
  6528. description: 计划时间
  6529. type: string
  6530. producttype:
  6531. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6532. type: integer
  6533. remark:
  6534. description: 备注
  6535. type: string
  6536. spotgoodsdesc:
  6537. description: 商品型号
  6538. type: string
  6539. taaccountname:
  6540. description: 资金账号名称
  6541. type: string
  6542. tradeuserid:
  6543. description: 交易用户id
  6544. type: integer
  6545. tradeusername:
  6546. description: 交易用户名称
  6547. type: string
  6548. unitid:
  6549. description: 单位id(现货商品)
  6550. type: integer
  6551. updatetime:
  6552. description: 更新时间
  6553. type: string
  6554. vatrate:
  6555. description: 增值税率
  6556. type: number
  6557. wrstandardcode:
  6558. description: 品类代码
  6559. type: string
  6560. wrstandardid:
  6561. description: 品类id
  6562. type: integer
  6563. wrstandardname:
  6564. description: 品类名称
  6565. type: string
  6566. wrunitid:
  6567. description: 品类单位id
  6568. type: integer
  6569. wrunitidame:
  6570. description: 品类单位名称
  6571. type: string
  6572. type: object
  6573. models.Ermcp3InnerTradeLink:
  6574. properties:
  6575. accountid:
  6576. description: 期货账号代码 | 资金账号ID
  6577. type: integer
  6578. buyorsell:
  6579. description: 方向 - 0:买 1:卖
  6580. type: integer
  6581. channelbuildtype:
  6582. description: 委托单据类型 0:无 1:建仓 2:平仓
  6583. type: integer
  6584. currencyid:
  6585. description: 币种id
  6586. type: integer
  6587. currencyname:
  6588. description: 结算币种 名称
  6589. type: string
  6590. goodscode:
  6591. description: 商品代码
  6592. type: string
  6593. goodsid:
  6594. description: 商品ID
  6595. type: integer
  6596. goodsname:
  6597. description: 商品名称
  6598. type: string
  6599. outtradeid:
  6600. description: 外部成交单号
  6601. type: string
  6602. taname:
  6603. description: 期货账户名称
  6604. type: string
  6605. tradeid:
  6606. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6607. type: string
  6608. tradeprice:
  6609. description: 成交价格
  6610. type: number
  6611. tradeqty:
  6612. description: 期货成交数量
  6613. type: integer
  6614. tradetime:
  6615. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6616. type: string
  6617. username:
  6618. description: 用户名称
  6619. type: string
  6620. type: object
  6621. models.Ermcp3OutTradeLink:
  6622. properties:
  6623. buyorsell:
  6624. description: 买卖方向 - 0:买 1:卖
  6625. type: integer
  6626. channelbuildtype:
  6627. description: 开平标志- 0:无 1:建仓 2:平仓
  6628. type: integer
  6629. currencyname:
  6630. description: 币种名称
  6631. type: string
  6632. exexchangecode:
  6633. description: 交易所代码
  6634. type: string
  6635. exexchangename:
  6636. description: 交易所名称
  6637. type: string
  6638. goodscode:
  6639. description: 合约代码
  6640. type: string
  6641. goodsid:
  6642. description: 合约id
  6643. type: integer
  6644. goodsname:
  6645. description: 合约名称
  6646. type: string
  6647. hasinnerorder:
  6648. description: 是否有内部单关联 - 0:无 1:有
  6649. type: integer
  6650. hedgeaccountcode:
  6651. description: 外部账号 | 对冲账号
  6652. type: string
  6653. outtradeid:
  6654. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6655. type: string
  6656. tradeprice:
  6657. description: 成交价格
  6658. type: number
  6659. tradeqty:
  6660. description: 成交数量
  6661. type: integer
  6662. tradetime:
  6663. description: 成交时间
  6664. type: string
  6665. type: object
  6666. models.Ermcp3PaAreaAuditCfg:
  6667. properties:
  6668. areauserid:
  6669. description: 用户ID
  6670. type: integer
  6671. buyinauditflag:
  6672. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6673. type: integer
  6674. costratioauditflag:
  6675. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6676. type: integer
  6677. customerauditflag:
  6678. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6679. type: integer
  6680. deliveryauditflag:
  6681. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6682. type: integer
  6683. invoiceauditflag:
  6684. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6685. type: integer
  6686. mgneedhedgeratioauditflag:
  6687. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6688. type: integer
  6689. moneyauditflag:
  6690. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6691. type: integer
  6692. operatorid:
  6693. description: 操作人
  6694. type: integer
  6695. operatorsrc:
  6696. description: 操作来源 - 1:管理端 2:终端
  6697. type: integer
  6698. pointpriceauditflag:
  6699. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6700. type: integer
  6701. produceinauditflag:
  6702. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6703. type: integer
  6704. produceoutauditflag:
  6705. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6706. type: integer
  6707. selloutauditflag:
  6708. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6709. type: integer
  6710. sgconvertratioauditflag:
  6711. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6712. type: integer
  6713. sgvtaratioauditflag:
  6714. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6715. type: integer
  6716. spotcontractauditflag:
  6717. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6718. type: integer
  6719. updatetime:
  6720. description: 更新时间
  6721. type: string
  6722. type: object
  6723. models.Ermcp3PaAreaSubject:
  6724. properties:
  6725. areauserid:
  6726. description: 所属机构
  6727. type: integer
  6728. canmodify:
  6729. description: 是否可修改 - 0:否 1:是
  6730. type: integer
  6731. createtime:
  6732. description: 创建时间
  6733. type: string
  6734. creatorid:
  6735. description: 创建人ID
  6736. type: string
  6737. creatorsrc:
  6738. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6739. type: integer
  6740. modifierid:
  6741. description: 修改人
  6742. type: string
  6743. modifiersrc:
  6744. description: 修改人来源 - 1:管理端 2:终端
  6745. type: integer
  6746. modifytime:
  6747. description: 修改时间
  6748. type: string
  6749. parentsubjectid:
  6750. description: 上级主体ID
  6751. type: string
  6752. remark:
  6753. description: 备注
  6754. type: string
  6755. subjectid:
  6756. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6757. type: integer
  6758. subjectname:
  6759. description: 主体名称
  6760. type: string
  6761. subjectstatus:
  6762. description: '主体状态 - 1:正常 2: 停用'
  6763. type: integer
  6764. subjecttype:
  6765. description: 主体类型 - 1:交易主体 2:业务部门
  6766. type: integer
  6767. type: object
  6768. models.Ermcp3PaTradeLink:
  6769. properties:
  6770. accountid:
  6771. description: 期货账户代码 | 账号ID
  6772. type: integer
  6773. agreeunit:
  6774. description: 合约乘数
  6775. type: number
  6776. buyorsell:
  6777. description: 方向 - 0:买 1:卖
  6778. type: integer
  6779. channelbuildtype:
  6780. description: 委托单据类型 0:无 1:建仓 2:平仓
  6781. type: integer
  6782. charge:
  6783. description: 手续费
  6784. type: number
  6785. closepl:
  6786. description: 平仓盈亏
  6787. type: number
  6788. closetype:
  6789. description: 平仓方式 - 0:无 1:平今 2:平昨
  6790. type: integer
  6791. convertratio:
  6792. description: 折算系数
  6793. type: number
  6794. enumdicname:
  6795. description: 单位名称
  6796. type: string
  6797. executeprice:
  6798. description: 执行价 [期权]
  6799. type: integer
  6800. goodscode:
  6801. description: 合约代码
  6802. type: string
  6803. goodsgroupid:
  6804. description: 对冲品种ID[期货合约商品组ID]
  6805. type: integer
  6806. goodsid:
  6807. description: 商品ID
  6808. type: integer
  6809. goodsname:
  6810. description: 合约名称
  6811. type: string
  6812. goodunitid:
  6813. description: 单位id
  6814. type: integer
  6815. hedgeflag:
  6816. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6817. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6818. type: integer
  6819. marketid:
  6820. description: 市场ID
  6821. type: integer
  6822. middlegoodsid:
  6823. description: 套保品种ID
  6824. type: integer
  6825. middlegoodsqty:
  6826. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6827. type: number
  6828. optioncode:
  6829. description: 期权代码 [期权]
  6830. type: string
  6831. ordertype:
  6832. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6833. type: integer
  6834. ordertypename:
  6835. description: 订单类型
  6836. type: string
  6837. parentaccountid:
  6838. description: 所属母账户
  6839. type: integer
  6840. premium:
  6841. description: 权利金 [期权]
  6842. type: number
  6843. relatedlot:
  6844. description: 已关联数量(已关联数量手) | db:关联手数
  6845. type: number
  6846. relatedouttradeid:
  6847. description: 关联外部成交单ID
  6848. type: string
  6849. relatedqty:
  6850. description: 关联数量
  6851. type: number
  6852. spotcontractid:
  6853. description: 现货合同ID [4:套期保值\10\11]
  6854. type: string
  6855. taname:
  6856. description: 期货账户名称
  6857. type: string
  6858. tradeamount:
  6859. description: 成交金额(账户)
  6860. type: number
  6861. tradedate:
  6862. description: 交易日(yyyyMMdd)
  6863. type: string
  6864. tradeid:
  6865. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6866. type: string
  6867. tradelot:
  6868. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6869. type: integer
  6870. tradeprice:
  6871. description: 成交价格
  6872. type: number
  6873. tradetime:
  6874. description: 时间 | db:成交时间
  6875. type: string
  6876. tradetype:
  6877. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6878. type: integer
  6879. userid:
  6880. description: 所属机构 - 所属母账户的UserID
  6881. type: string
  6882. username:
  6883. description: 用户名称
  6884. type: string
  6885. type: object
  6886. models.Ermcp3ParamChangeApp:
  6887. properties:
  6888. aftervalue:
  6889. description: 变更后
  6890. type: number
  6891. applicationid:
  6892. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6893. type: string
  6894. applyid:
  6895. description: 申请人
  6896. type: string
  6897. applyname:
  6898. description: 申请人名称(代码)
  6899. type: string
  6900. applyremark:
  6901. description: 申请备注
  6902. type: string
  6903. applysrc:
  6904. description: 申请来源 - 1:管理端 2:终端
  6905. type: integer
  6906. applystatus:
  6907. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6908. type: integer
  6909. applytime:
  6910. description: 申请时间
  6911. type: string
  6912. areauserid:
  6913. description: 所属机构用户ID
  6914. type: integer
  6915. auditid:
  6916. description: 审核人
  6917. type: string
  6918. auditname:
  6919. description: 审核人名称(代码)
  6920. type: string
  6921. auditremark:
  6922. description: 审核备注
  6923. type: string
  6924. auditsrc:
  6925. description: 审核来源 - 1:管理端 2:终端
  6926. type: integer
  6927. audittime:
  6928. description: 审核时间
  6929. type: string
  6930. audittradedate:
  6931. description: 审核交易日(yyyyMMdd)
  6932. type: string
  6933. beforevalue:
  6934. description: 变更前
  6935. type: number
  6936. deliverygoodscode:
  6937. description: 品种代码
  6938. type: string
  6939. deliverygoodsid:
  6940. description: 品种id
  6941. type: integer
  6942. deliverygoodsname:
  6943. description: 品种名称
  6944. type: string
  6945. middlegoodscode:
  6946. description: 套保品种代码
  6947. type: string
  6948. middlegoodsid:
  6949. description: 套保品种ID [ParamChangeType = 2,3,4]
  6950. type: integer
  6951. middlegoodsname:
  6952. description: 套保品种名称
  6953. type: string
  6954. operatetype:
  6955. description: 操作类型 - 1:新增 2:修改
  6956. type: integer
  6957. paramchangetype:
  6958. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6959. type: integer
  6960. wrstandardcode:
  6961. description: 现货商品代码
  6962. type: string
  6963. wrstandardid:
  6964. description: 现货商品ID [ParamChangeType = 1,2,3]
  6965. type: integer
  6966. wrstandardname:
  6967. description: 现货商品名称
  6968. type: string
  6969. type: object
  6970. models.Ermcp3RootUserAccount:
  6971. properties:
  6972. accountname:
  6973. description: 账户名称(机构名称)
  6974. type: string
  6975. accountstatus:
  6976. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6977. type: integer
  6978. applysrc:
  6979. description: 申请来源 - 1:管理端 2:终端
  6980. type: integer
  6981. auditremark:
  6982. description: 审核备注
  6983. type: string
  6984. auditsrc:
  6985. description: 审核来源 - 1:管理端 2:终端
  6986. type: integer
  6987. audittime:
  6988. description: 审核时间
  6989. type: string
  6990. audituserid:
  6991. description: 审核人
  6992. type: integer
  6993. broker:
  6994. description: 所属经纪人ID
  6995. type: integer
  6996. canceltime:
  6997. description: 销户时间
  6998. type: string
  6999. canceluserid:
  7000. description: 销户人
  7001. type: integer
  7002. canrecommend:
  7003. description: 是否可推荐 - 0:不可 1;可
  7004. type: integer
  7005. createtime:
  7006. description: 创建时间
  7007. type: string
  7008. creatorid:
  7009. description: 创建人
  7010. type: integer
  7011. hasauth:
  7012. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7013. type: integer
  7014. isanonymous:
  7015. description: 是否匿名下单 - 0:否 1:是
  7016. type: integer
  7017. maxinvestornum:
  7018. description: 最大用户数(经纪会员下投资者个数)
  7019. type: integer
  7020. memberuserid:
  7021. description: 所属会员ID
  7022. type: integer
  7023. modifierid:
  7024. description: 修改人
  7025. type: integer
  7026. modifyremark:
  7027. description: 变更备注
  7028. type: string
  7029. modifystatus:
  7030. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7031. type: integer
  7032. modifytime:
  7033. description: 修改时间
  7034. type: string
  7035. nickname:
  7036. description: 昵称
  7037. type: string
  7038. parenttopuser:
  7039. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  7040. type: string
  7041. parentuserid:
  7042. description: 所属机构ID
  7043. type: integer
  7044. reckonaccountid:
  7045. description: 默认结算资金账号ID(机构分润使用) 作废
  7046. type: integer
  7047. refercount:
  7048. description: 推荐总人数
  7049. type: integer
  7050. refereeuserid:
  7051. description: 推荐人ID
  7052. type: integer
  7053. refernum:
  7054. description: 推荐码
  7055. type: string
  7056. rootuserid:
  7057. description: 根用户ID
  7058. type: integer
  7059. subaccountlevel:
  7060. description: 子账户层数
  7061. type: integer
  7062. subarealevelpath:
  7063. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7064. type: string
  7065. userid:
  7066. description: 用户ID
  7067. type: integer
  7068. usertype:
  7069. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7070. type: integer
  7071. type: object
  7072. models.Ermcp3SCMiddleGoods:
  7073. properties:
  7074. biztype:
  7075. description: 业务类型 1:套保 2:套利
  7076. type: integer
  7077. contractno:
  7078. description: 合同编号
  7079. type: string
  7080. contracttype:
  7081. description: 合同类型 1:采购 -1:销售
  7082. type: integer
  7083. convertratio:
  7084. description: 折算系数
  7085. type: number
  7086. customername:
  7087. description: 对手手名称
  7088. type: string
  7089. customeruserid:
  7090. description: 对手id
  7091. type: integer
  7092. deliverygoodscode:
  7093. description: 现货品种代码
  7094. type: string
  7095. deliverygoodsid:
  7096. description: 现货品种ID
  7097. type: integer
  7098. deliverygoodsname:
  7099. description: 现货品种名称
  7100. type: string
  7101. enumdicname:
  7102. description: 现货单位名称
  7103. type: string
  7104. middlegoodsid:
  7105. description: 套保品种ID
  7106. type: integer
  7107. middlegoodspricedqty3:
  7108. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7109. type: number
  7110. needhedgeratio:
  7111. description: 套保比例
  7112. type: number
  7113. pricedqty:
  7114. description: 已定价量
  7115. type: number
  7116. relatedmiddlegoodsqty:
  7117. description: 已关联量(套保品种)(期货)
  7118. type: number
  7119. spotcontractid:
  7120. description: 合同编号
  7121. type: string
  7122. unitid:
  7123. description: 现货单位id
  7124. type: integer
  7125. userid:
  7126. description: 用户id
  7127. type: integer
  7128. vatrate:
  7129. description: 增值税率
  7130. type: number
  7131. wrstandardcode:
  7132. description: 现货商品代码
  7133. type: string
  7134. wrstandardid:
  7135. description: 现货商品id
  7136. type: integer
  7137. wrstandardname:
  7138. description: 现货商品名称
  7139. type: string
  7140. type: object
  7141. models.Ermcp3SCMiddleGoodsReport:
  7142. properties:
  7143. begindate:
  7144. description: 开始交易日
  7145. type: string
  7146. contractno:
  7147. description: 合同编号
  7148. type: string
  7149. contracttype:
  7150. description: 合同类型 1:采购 -1:销售
  7151. type: integer
  7152. convertratio:
  7153. description: 折算系数
  7154. type: number
  7155. cycletime:
  7156. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7157. type: string
  7158. cycletype:
  7159. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7160. type: integer
  7161. deliverygoodscode:
  7162. description: 品种代码
  7163. type: string
  7164. deliverygoodsid:
  7165. description: 现货品种ID
  7166. type: integer
  7167. deliverygoodsname:
  7168. description: 品种名称
  7169. type: string
  7170. diffprice:
  7171. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  7172. type: number
  7173. diffqty:
  7174. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  7175. type: number
  7176. enddate:
  7177. description: 结束交易日
  7178. type: string
  7179. hedgeplanqty:
  7180. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  7181. type: number
  7182. matchname:
  7183. description: 交易对手方(个人:用户名称 企业:简称)
  7184. type: string
  7185. matchnickname:
  7186. description: 交易对手方昵称
  7187. type: string
  7188. middlegoodscode:
  7189. description: 套保品种代码
  7190. type: string
  7191. middlegoodsid:
  7192. description: 套保品种ID
  7193. type: integer
  7194. middlegoodsname:
  7195. description: 套保品种名称
  7196. type: string
  7197. middlegoodspricedqty:
  7198. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  7199. type: number
  7200. middlegoodspricedqty2:
  7201. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  7202. type: number
  7203. middlegoodspricedqty3:
  7204. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  7205. type: number
  7206. needhedgeratio:
  7207. description: 套保系数
  7208. type: number
  7209. pricedamount:
  7210. description: 已定价额(现货)
  7211. type: number
  7212. pricedamount2:
  7213. description: 已定价额(现货-基价额)
  7214. type: number
  7215. pricedqty:
  7216. description: 已定价量(现货)
  7217. type: number
  7218. reckondate:
  7219. description: 日照时期(yyyyMMdd)
  7220. type: string
  7221. relatedmiddlegoodsamount:
  7222. description: 已关联额(期货)
  7223. type: number
  7224. relatedmiddlegoodsqty:
  7225. description: 已关联量(套保品种)(期货)
  7226. type: number
  7227. spotcontractid:
  7228. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7229. type: string
  7230. todayavgfutuprice:
  7231. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  7232. type: number
  7233. todayavgprice:
  7234. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  7235. type: number
  7236. todayavgprice2:
  7237. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  7238. type: number
  7239. todaypricedamount:
  7240. description: 今日定价额(现货)
  7241. type: number
  7242. todaypricedamount2:
  7243. description: 今日定价额(现货-基价额)
  7244. type: number
  7245. todaypricedqty:
  7246. description: 今日定价量(现货)
  7247. type: number
  7248. todayrelatedfutureqty:
  7249. description: 今日关联量(期货)
  7250. type: number
  7251. todayrelatedmiddlegoodsamount:
  7252. description: 今日关联额(期货)
  7253. type: number
  7254. todayrelatedmiddlegoodsqty:
  7255. description: 今日关联量(套保品-期货)
  7256. type: number
  7257. updatetime:
  7258. description: 更新时间
  7259. type: string
  7260. userid:
  7261. description: 合同所属用户id
  7262. type: integer
  7263. vatrate:
  7264. description: 增值税率
  7265. type: number
  7266. wrstandardcode:
  7267. description: 商品(品类) 代码
  7268. type: string
  7269. wrstandardid:
  7270. description: 现货商品ID
  7271. type: integer
  7272. wrstandardname:
  7273. description: 商品(品类) 名称
  7274. type: string
  7275. type: object
  7276. models.Ermcp3SellBuyContract:
  7277. properties:
  7278. accountid:
  7279. description: 期货账户id
  7280. type: string
  7281. accountname:
  7282. description: 账户名称
  7283. type: string
  7284. attachment:
  7285. description: 附件
  7286. type: string
  7287. audittime:
  7288. description: 审核时间
  7289. type: string
  7290. bizsubjectid:
  7291. description: 归属业务部门ID - SubjectID
  7292. type: integer
  7293. biztype:
  7294. description: 业务类型 1-套保 2-套利
  7295. type: integer
  7296. brandname:
  7297. description: 品牌名称
  7298. type: string
  7299. contracctstatus:
  7300. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7301. type: integer
  7302. contractmargin:
  7303. description: 合同保证金
  7304. type: number
  7305. contractno:
  7306. description: 合同编号
  7307. type: string
  7308. contracttype:
  7309. description: 合同类型 1-采购, -1-销售
  7310. type: integer
  7311. convertfactor:
  7312. description: 标仓系数(品类)
  7313. type: number
  7314. createtime:
  7315. description: 创建时间
  7316. type: string
  7317. currencyid:
  7318. description: 币种id
  7319. type: integer
  7320. currencyname:
  7321. description: 币种名称
  7322. type: string
  7323. daikaiamount:
  7324. description: 应收(开)票额 | 未收票额
  7325. type: number
  7326. deliveryenddate:
  7327. description: 交割结束日
  7328. type: string
  7329. deliverygoodscode:
  7330. description: 现货品种代码
  7331. type: string
  7332. deliverygoodsid:
  7333. description: 现货商品ID
  7334. type: integer
  7335. deliverygoodsname:
  7336. description: 现货品种名称
  7337. type: string
  7338. deliverystartdate:
  7339. description: 交割开始日
  7340. type: string
  7341. enddate:
  7342. description: 点价结束日
  7343. type: string
  7344. enumdicname:
  7345. description: 单位名称
  7346. type: string
  7347. goodscode:
  7348. description: 点价商品代码
  7349. type: string
  7350. goodsgroupid:
  7351. description: 点价商品组id
  7352. type: integer
  7353. goodsid:
  7354. description: 点价商品ID
  7355. type: integer
  7356. goodsname:
  7357. description: 点价商品名称
  7358. type: string
  7359. invoiceamount:
  7360. description: 已开票额
  7361. type: number
  7362. loanamount:
  7363. description: 贷款总额=已定价额+调整金额
  7364. type: number
  7365. margin:
  7366. description: 保证金
  7367. type: number
  7368. meruserid:
  7369. description: 跟单员id
  7370. type: integer
  7371. meruserlogincode:
  7372. description: 跟单员登录代码
  7373. type: string
  7374. merusername:
  7375. description: 跟单员名称
  7376. type: string
  7377. nickname:
  7378. description: 账户昵称
  7379. type: string
  7380. orireckonrealqty:
  7381. description: 应交收量
  7382. type: number
  7383. payamount:
  7384. description: 已收付额(收款或付款)
  7385. type: number
  7386. preinvoiceamount:
  7387. description: 预收(开)票额
  7388. type: number
  7389. prepayamount:
  7390. description: 预收付额
  7391. type: number
  7392. price:
  7393. description: 价格
  7394. type: number
  7395. pricedamount:
  7396. description: 已定价额
  7397. type: number
  7398. pricedavg:
  7399. description: 已点均价
  7400. type: number
  7401. pricedqty:
  7402. description: 已定价量
  7403. type: number
  7404. pricemove:
  7405. description: 升贴水
  7406. type: number
  7407. pricetype:
  7408. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7409. type: integer
  7410. producttype:
  7411. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7412. type: integer
  7413. qty:
  7414. description: 合同量
  7415. type: number
  7416. reckonadjustamount:
  7417. description: 调整金额
  7418. type: number
  7419. reckonedamount:
  7420. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7421. type: number
  7422. reckonotheramount:
  7423. description: 其它费用
  7424. type: number
  7425. reckonrealqty:
  7426. description: 已交收量
  7427. type: number
  7428. remark:
  7429. description: 备注
  7430. type: string
  7431. saleuserid:
  7432. description: 业务员id
  7433. type: integer
  7434. saleuserlogincode:
  7435. description: 业务员登录代码
  7436. type: string
  7437. saleusername:
  7438. description: 业务员名称
  7439. type: string
  7440. spotcontractid:
  7441. description: 合同ID
  7442. type: string
  7443. spotgoodsbrandid:
  7444. description: 现货品牌ID(DGFactoryItem表的ID)
  7445. type: integer
  7446. spotgoodsdesc:
  7447. description: 商品型号(商品规格)
  7448. type: string
  7449. startdate:
  7450. description: 点价开始日
  7451. type: string
  7452. subjectid:
  7453. description: 交易主体ID
  7454. type: integer
  7455. subjectname:
  7456. description: 交易主体名称
  7457. type: string
  7458. totalamount:
  7459. description: 合计总额
  7460. type: number
  7461. tradeuserid:
  7462. description: 交易员id
  7463. type: integer
  7464. tradeuserlogincode:
  7465. description: 交易员登录代码
  7466. type: string
  7467. tradeusername:
  7468. description: 交易员名称
  7469. type: string
  7470. unpayamount:
  7471. description: 应收付款额(应支付或应收款) | 未付款额
  7472. type: number
  7473. unpricedqty:
  7474. description: 未定价量
  7475. type: number
  7476. unsureqty:
  7477. description: 未确定量 | 未交收量
  7478. type: number
  7479. userid:
  7480. description: 机构ID
  7481. type: integer
  7482. vatrate:
  7483. description: 增值税率
  7484. type: number
  7485. wrstandardcode:
  7486. description: 品类代码
  7487. type: string
  7488. wrstandardid:
  7489. description: 品类ID
  7490. type: integer
  7491. wrstandardname:
  7492. description: 品类名称
  7493. type: string
  7494. type: object
  7495. models.Ermcp3SpotGoodsPrice:
  7496. properties:
  7497. areauserid:
  7498. description: 所属机构id
  7499. type: integer
  7500. brandname:
  7501. description: 品牌名称
  7502. type: string
  7503. currencyid:
  7504. description: 报价货币ID
  7505. type: integer
  7506. currencyname:
  7507. description: 币种名称
  7508. type: string
  7509. deliverygoodscode:
  7510. description: 现货商品代码
  7511. type: string
  7512. deliverygoodsid:
  7513. description: 现货商品id
  7514. type: integer
  7515. deliverygoodsname:
  7516. description: 现货商品名称
  7517. type: string
  7518. enumdicname:
  7519. description: 现货商品单位名称
  7520. type: string
  7521. gbenumdicname:
  7522. description: 品类单位名称
  7523. type: string
  7524. gmunitid:
  7525. description: 品类单位id
  7526. type: integer
  7527. isvalid:
  7528. description: 是否有效 - 0:无效 1:有效
  7529. type: integer
  7530. operateid:
  7531. description: 最后操作人
  7532. type: integer
  7533. operatesrc:
  7534. description: 最后操作来源 - 1:管理端 2:终端
  7535. type: integer
  7536. operatetime:
  7537. description: 最后操作时间
  7538. type: string
  7539. operatorname:
  7540. description: 操作人名称
  7541. type: string
  7542. spotgoodsbrandid:
  7543. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7544. type: integer
  7545. spotgoodsprice:
  7546. description: 现货价格
  7547. type: number
  7548. tradedate:
  7549. description: 交易日(yyyyMMdd)
  7550. type: string
  7551. unitid:
  7552. description: 现货商品单位id
  7553. type: integer
  7554. wrstandardcode:
  7555. description: 品类代码
  7556. type: string
  7557. wrstandardid:
  7558. description: 现货品类ID(通用则为0)
  7559. type: integer
  7560. wrstandardname:
  7561. description: 品类名称
  7562. type: string
  7563. type: object
  7564. models.Ermcp3SpotGoodsPriceLog:
  7565. properties:
  7566. areauserid:
  7567. description: 所属机构id
  7568. type: integer
  7569. brandname:
  7570. description: 品牌名称
  7571. type: string
  7572. currencyid:
  7573. description: 报价货币ID
  7574. type: integer
  7575. deliverygoodscode:
  7576. description: 现货商品代码
  7577. type: string
  7578. deliverygoodsid:
  7579. description: 现货商品id
  7580. type: integer
  7581. deliverygoodsname:
  7582. description: 现货商品名称
  7583. type: string
  7584. enumdicname:
  7585. description: 现货商品单位名称
  7586. type: string
  7587. gbenumdicname:
  7588. description: 品类单位名称
  7589. type: string
  7590. gmunitid:
  7591. description: 品类单位id
  7592. type: integer
  7593. logid:
  7594. description: 日志id
  7595. type: integer
  7596. operateid:
  7597. description: 最后操作人
  7598. type: integer
  7599. operatesrc:
  7600. description: 最后操作来源 - 1:管理端 2:终端
  7601. type: integer
  7602. operatetime:
  7603. description: 最后操作时间
  7604. type: string
  7605. operatorname:
  7606. description: 操作人名称
  7607. type: string
  7608. spotgoodsbrandid:
  7609. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7610. type: integer
  7611. spotgoodsprice:
  7612. description: 现货价格
  7613. type: number
  7614. tradedate:
  7615. description: 交易日(yyyyMMdd)
  7616. type: string
  7617. unitid:
  7618. description: 现货商品单位id
  7619. type: integer
  7620. wrstandardcode:
  7621. description: 品类代码
  7622. type: string
  7623. wrstandardid:
  7624. description: 现货品类ID(通用则为0)
  7625. type: integer
  7626. wrstandardname:
  7627. description: 品类名称
  7628. type: string
  7629. type: object
  7630. models.Ermcp3SubTaaccount:
  7631. properties:
  7632. accountid:
  7633. description: 资金账户ID
  7634. type: integer
  7635. parentaccountcode:
  7636. description: 所属根账号代码(母账号代码)
  7637. type: string
  7638. parentaccountid:
  7639. description: 所属根账号(母账号)
  7640. type: integer
  7641. taname:
  7642. description: 资金账号名称
  7643. type: string
  7644. tradestatus:
  7645. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7646. type: integer
  7647. username:
  7648. description: 交易用户
  7649. type: string
  7650. type: object
  7651. models.Ermcp3TaFutuReDataReport:
  7652. properties:
  7653. accountid:
  7654. description: 交易账户
  7655. type: integer
  7656. accountname:
  7657. description: 交易账号名称
  7658. type: string
  7659. agreeunit:
  7660. description: 商品合约单位
  7661. type: number
  7662. begindate:
  7663. description: 开始交易日
  7664. type: string
  7665. buyorsell:
  7666. description: 持仓方向
  7667. type: integer
  7668. charge:
  7669. description: 手续费
  7670. type: number
  7671. closeavgprice:
  7672. description: 平仓均价
  7673. type: number
  7674. closepl:
  7675. description: 平仓损益
  7676. type: number
  7677. currencyid:
  7678. description: 结算币种ID
  7679. type: integer
  7680. currencyname:
  7681. description: 币种名称
  7682. type: string
  7683. cycletime:
  7684. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7685. type: string
  7686. cycletype:
  7687. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7688. type: integer
  7689. enddate:
  7690. description: 结束交易日
  7691. type: string
  7692. enumdicname:
  7693. description: 单位名称
  7694. type: string
  7695. floatpl:
  7696. description: 浮动损益
  7697. type: number
  7698. goodscode:
  7699. description: 交易合约代码
  7700. type: string
  7701. goodsgroupid:
  7702. description: 交易品种
  7703. type: integer
  7704. goodsgroupname:
  7705. description: 交易品种名称
  7706. type: string
  7707. goodsgroupspotqty:
  7708. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7709. type: number
  7710. goodsid:
  7711. description: 交易合约
  7712. type: integer
  7713. goodsname:
  7714. description: 交易合约名称
  7715. type: string
  7716. goodunitid:
  7717. description: 交易合约单位id
  7718. type: integer
  7719. holdamount:
  7720. description: 期末持仓额
  7721. type: number
  7722. holdqty:
  7723. description: 期末持仓量
  7724. type: number
  7725. lastholdamount:
  7726. description: 当前持仓额
  7727. type: number
  7728. lastprice:
  7729. description: 最新价
  7730. type: number
  7731. middlegoodsid:
  7732. description: 套保品种id
  7733. type: integer
  7734. middlegoodsname:
  7735. description: 套保商品名称
  7736. type: string
  7737. middlegoodsqty:
  7738. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7739. type: number
  7740. middlgoodscode:
  7741. description: 套保商品代码
  7742. type: string
  7743. openamount:
  7744. description: 期末开仓额
  7745. type: number
  7746. openavgprice:
  7747. description: 开仓均价
  7748. type: number
  7749. oriholdamount:
  7750. description: 期初持仓额
  7751. type: number
  7752. oriholdqty:
  7753. description: 期初持仓量
  7754. type: number
  7755. oriopenamount:
  7756. description: 期初开仓额
  7757. type: number
  7758. outergroupcode:
  7759. description: 交易品种代码
  7760. type: string
  7761. qtydecimalplace:
  7762. description: 成交量小数位
  7763. type: integer
  7764. reckondate:
  7765. description: 日照时期(yyyyMMdd)
  7766. type: string
  7767. reckonholdamount:
  7768. description: 结算持仓额
  7769. type: number
  7770. reckonpl:
  7771. description: 结算损益
  7772. type: number
  7773. reckonpl2:
  7774. description: 结算逐笔盈亏
  7775. type: number
  7776. reckonprice:
  7777. description: 结算价
  7778. type: number
  7779. relateduserid:
  7780. description: 账户关联用户ID
  7781. type: integer
  7782. todaycloseamount:
  7783. description: 今平仓额
  7784. type: number
  7785. todaycloseqty:
  7786. description: 今平仓量
  7787. type: number
  7788. todaygoodsgroupspotqty:
  7789. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7790. type: number
  7791. todaymiddlegoodsqty:
  7792. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7793. type: number
  7794. todayopenamount:
  7795. description: 今开仓额
  7796. type: number
  7797. todayopenqty:
  7798. description: 今开仓量
  7799. type: number
  7800. userid:
  7801. description: 账户所属用户ID
  7802. type: integer
  7803. type: object
  7804. models.Ermcp3TradeLinkDetail:
  7805. properties:
  7806. accountid:
  7807. description: 资金账号
  7808. type: integer
  7809. agreeunit:
  7810. description: 合约乘数
  7811. type: number
  7812. areauserid:
  7813. description: 所属机构
  7814. type: string
  7815. bizsubjectid:
  7816. description: 归属业务部门ID - SubjectID
  7817. type: string
  7818. buyorsell:
  7819. description: 方向 - 0:买 1:卖
  7820. type: integer
  7821. channelbuildtype:
  7822. description: 委托单据类型 0:无 1:建仓 2:平仓
  7823. type: integer
  7824. contractno:
  7825. description: 现货编号 (合同编号)
  7826. type: string
  7827. convertratio:
  7828. description: 折算系数
  7829. type: number
  7830. createtime:
  7831. description: 关联时间 | 创建时间
  7832. type: string
  7833. creatorid:
  7834. description: 创建人ID
  7835. type: string
  7836. creatorsrc:
  7837. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7838. type: integer
  7839. enumdicname:
  7840. description: 单位名称
  7841. type: string
  7842. goodscode:
  7843. description: 合约代码
  7844. type: string
  7845. goodsgroupid:
  7846. description: 对冲品种ID[期货合约商品组ID]
  7847. type: integer
  7848. goodsid:
  7849. description: 商品ID
  7850. type: integer
  7851. goodsname:
  7852. description: 合约名称
  7853. type: string
  7854. hedgeflag:
  7855. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7856. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7857. type: integer
  7858. linkdetailid:
  7859. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7860. type: string
  7861. linkstatus:
  7862. description: 关联状态 - 1:成功 2:失败 3:解绑
  7863. type: integer
  7864. middlegoodscode:
  7865. description: 套保品种代码
  7866. type: string
  7867. middlegoodsid:
  7868. description: 套保品种ID
  7869. type: integer
  7870. middlegoodsname:
  7871. description: 套保品种名称
  7872. type: string
  7873. relatedlot:
  7874. description: 关联手数
  7875. type: number
  7876. relatedmode:
  7877. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7878. type: integer
  7879. relatedqty:
  7880. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7881. type: number
  7882. retcode:
  7883. description: 返回码
  7884. type: integer
  7885. saleuserid:
  7886. description: 业务员ID
  7887. type: string
  7888. spotcontractid:
  7889. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7890. type: string
  7891. taname:
  7892. description: 期货账户
  7893. type: string
  7894. tradedate:
  7895. description: 关联交易日(yyyyMMdd)
  7896. type: string
  7897. tradeid:
  7898. description: 期货订单号 | 内部成交单ID
  7899. type: string
  7900. tradelot:
  7901. description: 成交数量 | 成交手数
  7902. type: integer
  7903. tradeprice:
  7904. description: 成交价格
  7905. type: number
  7906. tradetime:
  7907. description: 期货成交时间
  7908. type: string
  7909. tradetradedate:
  7910. description: 成交交易日(yyyyMMdd)
  7911. type: string
  7912. username:
  7913. description: 用户名称
  7914. type: string
  7915. type: object
  7916. models.Ermcp3Wrstandard:
  7917. properties:
  7918. areauserid:
  7919. description: 所属机构
  7920. type: integer
  7921. cantrade:
  7922. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7923. type: integer
  7924. convertfactor:
  7925. description: 标仓系数
  7926. type: number
  7927. createtime:
  7928. description: 创建时间
  7929. type: string
  7930. creatorid:
  7931. description: 创建人
  7932. type: integer
  7933. deliverygoodsid:
  7934. description: 现货品种ID
  7935. type: integer
  7936. enumdicname:
  7937. description: 品类单位名称
  7938. type: string
  7939. isvalid:
  7940. description: 是否有效 0-无效(停用) 1-有效(正常)
  7941. type: integer
  7942. minivalue:
  7943. description: 最小变动值
  7944. type: integer
  7945. minivaluedp:
  7946. description: 最小变动值小数位
  7947. type: integer
  7948. realminivalue:
  7949. description: 实际最小变动值
  7950. type: integer
  7951. realminivaluedp:
  7952. description: 实际最小变动值小数位
  7953. type: integer
  7954. remark:
  7955. description: 备注
  7956. type: string
  7957. unitid:
  7958. description: 品类单位ID
  7959. type: integer
  7960. updatetime:
  7961. description: 更新时间
  7962. type: string
  7963. wrstandardcode:
  7964. description: 品类代码
  7965. type: string
  7966. wrstandardid:
  7967. description: 品类ID(SEQ_WRSTANDARD)
  7968. type: integer
  7969. wrstandardname:
  7970. description: 品类名称
  7971. type: string
  7972. type: object
  7973. models.Ermcp8EnableHedgeditem:
  7974. properties:
  7975. accountname:
  7976. description: 套期主体
  7977. type: string
  7978. hedgeditemid:
  7979. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7980. type: string
  7981. hedgeditemname:
  7982. description: 项目名称
  7983. type: string
  7984. hedgeditemnum:
  7985. description: 项目编号
  7986. type: string
  7987. hedgedtype:
  7988. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7989. type: integer
  7990. planenddate:
  7991. description: 计划结束日期
  7992. type: string
  7993. planstartdate:
  7994. description: 计划开始日期
  7995. type: string
  7996. wrstandardid:
  7997. description: 现货商品ID
  7998. type: integer
  7999. wrstandardname:
  8000. description: 现货商品
  8001. type: string
  8002. type: object
  8003. models.Ermcp8HedgeditemReport:
  8004. properties:
  8005. accountname:
  8006. description: 套期主体
  8007. type: string
  8008. areauserid:
  8009. description: 企业ID
  8010. type: integer
  8011. curprice:
  8012. description: '[当日现货市场价]当前市场价'
  8013. type: number
  8014. enumdicname:
  8015. description: 单位
  8016. type: string
  8017. exeamount:
  8018. description: '[执行现货金额]执行市价总额'
  8019. type: number
  8020. exeavgprice:
  8021. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  8022. type: number
  8023. exeqty:
  8024. description: '[执行数量]执行现货量'
  8025. type: number
  8026. futurehedgepl:
  8027. description: 期货实际损益
  8028. type: number
  8029. futurehedgeplchange:
  8030. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  8031. type: number
  8032. futurepl:
  8033. description: 期货套期损益
  8034. type: number
  8035. futureplchange:
  8036. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  8037. type: number
  8038. hedgeamount:
  8039. description: '[套期现货金额]套期市价总额'
  8040. type: number
  8041. hedgeditemnum:
  8042. description: 项目编号,模糊查询
  8043. type: string
  8044. hedgeditemstatus:
  8045. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8046. type: integer
  8047. hedgedtype:
  8048. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8049. type: integer
  8050. hedgeqty:
  8051. description: '[套期数量]套期现货量'
  8052. type: number
  8053. oriavgprice:
  8054. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  8055. type: number
  8056. orifuturehedgepl:
  8057. description: 期初期货实际损益
  8058. type: number
  8059. orifuturepl:
  8060. description: 期初期货套期损益
  8061. type: number
  8062. orispothedgepl:
  8063. description: 期初现货实际损益
  8064. type: number
  8065. orispotpl:
  8066. description: 期初现货套期损益
  8067. type: number
  8068. planenddate:
  8069. description: 计划结束日期
  8070. type: string
  8071. planstartdate:
  8072. description: 计划开始日期
  8073. type: string
  8074. spothedgepl:
  8075. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8076. type: number
  8077. spothedgeplchange:
  8078. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  8079. type: number
  8080. spotpl:
  8081. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8082. type: number
  8083. spotplchange:
  8084. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8085. type: number
  8086. tradeuserid:
  8087. description: 交易用户ID
  8088. type: integer
  8089. unexeqty:
  8090. description: 未执行现货量 = 套期现货量 - 执行现货量
  8091. type: number
  8092. wrstandardcode:
  8093. description: 现货品类代码
  8094. type: string
  8095. wrstandardid:
  8096. description: 现货商品ID
  8097. type: integer
  8098. wrstandardname:
  8099. description: '[现货商品]现货品类名称'
  8100. type: string
  8101. type: object
  8102. models.Ermcp8RunningHedgeditem:
  8103. properties:
  8104. accountname:
  8105. description: 套期主体
  8106. type: string
  8107. applyid:
  8108. description: 申请人
  8109. type: integer
  8110. applysrc:
  8111. description: 申请来源 - 1:管理端 2:终端
  8112. type: integer
  8113. areauserid:
  8114. description: 企业ID
  8115. type: integer
  8116. auditid:
  8117. description: 审核人
  8118. type: integer
  8119. auditremark:
  8120. description: 审核备注
  8121. type: string
  8122. auditsrc:
  8123. description: 审核来源 - 1:管理端 2:终端
  8124. type: integer
  8125. audittime:
  8126. description: 审核时间
  8127. type: string
  8128. audittradedate:
  8129. description: 审核交易日(yyyyMMdd)
  8130. type: string
  8131. createtime:
  8132. description: 申请时间
  8133. type: string
  8134. curprice:
  8135. description: 当前市场价
  8136. type: number
  8137. curstock:
  8138. description: 期末库存量 = 采购总量 - 销售总量
  8139. type: number
  8140. deliverygoodsid:
  8141. description: 现货品种ID
  8142. type: integer
  8143. enddate:
  8144. description: 完成日期
  8145. type: string
  8146. endtradedate:
  8147. description: 完成交易日
  8148. type: string
  8149. enumdicname:
  8150. description: 单位
  8151. type: string
  8152. exeamount:
  8153. description: 执行市价总额
  8154. type: number
  8155. exeavgprice:
  8156. description: 执行市场均价= 执行市价总额 / 执行现货量
  8157. type: number
  8158. execontractamount:
  8159. description: 执行定价总额
  8160. type: number
  8161. exeqty:
  8162. description: 执行现货量
  8163. type: number
  8164. exerestamount:
  8165. description: 执行剩余市价总额【现货贸易】
  8166. type: number
  8167. futurefloatpl:
  8168. description: 期货浮动损益
  8169. type: number
  8170. futurehedgepl:
  8171. description: 期货实际损益
  8172. type: number
  8173. futurehedgeplchange:
  8174. description: 期货实际损益变动
  8175. type: number
  8176. futurepl:
  8177. description: 期货套期损益
  8178. type: number
  8179. futureplchange:
  8180. description: 期货套期损益变动
  8181. type: number
  8182. hedgeamount:
  8183. description: 套期市价总额
  8184. type: number
  8185. hedgecontractamount:
  8186. description: 套期定价总额 【定价采购合同】【现货贸易】
  8187. type: number
  8188. hedgeditemid:
  8189. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8190. type: string
  8191. hedgeditemname:
  8192. description: 项目名称
  8193. type: string
  8194. hedgeditemnum:
  8195. description: 项目编号
  8196. type: string
  8197. hedgeditemstatus:
  8198. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8199. type: integer
  8200. hedgedtype:
  8201. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8202. type: integer
  8203. hedgeqty:
  8204. description: 套期现货量
  8205. type: number
  8206. hedgerate:
  8207. description: 套保比率
  8208. type: number
  8209. hedgerestamount:
  8210. description: 套期剩余市价总额【现货贸易】
  8211. type: number
  8212. hedgesumpl:
  8213. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8214. type: number
  8215. middlegoodslist:
  8216. description: 套期商品列表
  8217. items:
  8218. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8219. type: array
  8220. oriavgprice:
  8221. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8222. type: number
  8223. orifuturehedgepl:
  8224. description: 期初期货实际损益
  8225. type: number
  8226. orifuturepl:
  8227. description: 期初期货套期损益
  8228. type: number
  8229. orispothedgepl:
  8230. description: 期初现货实际损益
  8231. type: number
  8232. orispotpl:
  8233. description: 期初现货套期损益
  8234. type: number
  8235. planenddate:
  8236. description: 计划结束日期
  8237. type: string
  8238. planstartdate:
  8239. description: 计划开始日期
  8240. type: string
  8241. remark:
  8242. description: 备注
  8243. type: string
  8244. spotbookamount:
  8245. description: 现货账面总额
  8246. type: number
  8247. spotfloatpl:
  8248. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8249. type: number
  8250. spothedgepl:
  8251. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8252. type: number
  8253. spothedgeplchange:
  8254. description: 现货实际损益变动
  8255. type: number
  8256. spotpl:
  8257. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8258. type: number
  8259. spotplchange:
  8260. description: 现货套期损益变动
  8261. type: number
  8262. spottradepl:
  8263. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8264. type: number
  8265. sumobspl:
  8266. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8267. type: number
  8268. tradeuserid:
  8269. description: 交易用户ID
  8270. type: integer
  8271. unexeqty:
  8272. description: 未执行现货量 = 套期现货量 - 执行现货量
  8273. type: number
  8274. updatetime:
  8275. description: 更新时间
  8276. type: string
  8277. vatpl:
  8278. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8279. type: number
  8280. vatrate:
  8281. description: 增值税
  8282. type: number
  8283. wrstandardid:
  8284. description: 现货商品ID
  8285. type: integer
  8286. wrstandardname:
  8287. description: 商品名称
  8288. type: string
  8289. type: object
  8290. models.ErmcpBizGroupEx:
  8291. properties:
  8292. acclist:
  8293. description: 账号列表
  8294. items:
  8295. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8296. type: array
  8297. bizgroupid:
  8298. description: 业务分组id
  8299. type: integer
  8300. biztype:
  8301. description: 业务类型 1-套保 2-套利
  8302. type: integer
  8303. wrlist:
  8304. description: 现货商品表
  8305. items:
  8306. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8307. type: array
  8308. type: object
  8309. models.ErmcpBizGroupSpotGoods:
  8310. properties:
  8311. areauserid:
  8312. description: 所属机构id
  8313. type: integer
  8314. bizgroupid:
  8315. description: 分组id
  8316. type: integer
  8317. biztype:
  8318. description: 业务类型 1-套保 2-套利
  8319. type: integer
  8320. deliverygoodscode:
  8321. description: 现货商品代码
  8322. type: string
  8323. deliverygoodsid:
  8324. description: 现货商品id
  8325. type: integer
  8326. deliverygoodsname:
  8327. description: 现货商品名称
  8328. type: string
  8329. unitid:
  8330. description: 现货商品单位id
  8331. type: integer
  8332. type: object
  8333. models.ErmcpBizGroupTaAccount:
  8334. properties:
  8335. accountid:
  8336. description: 账号id
  8337. type: integer
  8338. accountname:
  8339. description: 账号名称
  8340. type: string
  8341. areauserid:
  8342. description: 所属机构id
  8343. type: integer
  8344. bizgroupid:
  8345. description: 业务分组id
  8346. type: integer
  8347. ismain:
  8348. description: 是否主账号 1-是 0-否
  8349. type: integer
  8350. type: object
  8351. models.ErmcpDGFactoryItem:
  8352. properties:
  8353. areauserid:
  8354. description: 用户id
  8355. type: integer
  8356. deliverygoodsid:
  8357. description: 现货品种ID
  8358. type: integer
  8359. dgfactoryitemid:
  8360. description: 选择项ID(SEQ_DGFACTORYITEM)
  8361. type: integer
  8362. dgfactoryitemtypeid:
  8363. description: 要素项类型
  8364. type: integer
  8365. dgfactoryitemvalue:
  8366. description: 要素项值(类型为仓库时填写仓库名称)
  8367. type: string
  8368. isvalid:
  8369. description: 是否有效 - 0:无效 1:有效
  8370. type: integer
  8371. orderindex:
  8372. description: 顺序
  8373. type: integer
  8374. warehouseid:
  8375. description: 仓库ID(类型为仓库时填写)
  8376. type: integer
  8377. type: object
  8378. models.ErmcpDeliveryGoods:
  8379. properties:
  8380. agreeunit:
  8381. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8382. type: integer
  8383. areauserid:
  8384. description: 所属机构
  8385. type: integer
  8386. auditflag:
  8387. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8388. type: integer
  8389. categoryid:
  8390. description: 类别ID(SEQ_WRCATEGORY)
  8391. type: integer
  8392. deliverygoodscode:
  8393. description: 现货品种代码
  8394. type: string
  8395. deliverygoodsid:
  8396. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8397. type: integer
  8398. deliverygoodsname:
  8399. description: 现货品种名称
  8400. type: string
  8401. deliverygoodstype:
  8402. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8403. type: integer
  8404. dgstatus:
  8405. description: 品种状态 - 作废 - 0:未激活 1:正常
  8406. type: integer
  8407. enumdicname:
  8408. description: 现货品种单位名称
  8409. type: string
  8410. goodsunitid:
  8411. description: 现货品种单位ID
  8412. type: integer
  8413. isvalid:
  8414. description: 是否有效 - 0:无效 1:有效
  8415. type: integer
  8416. qtydecimalplace:
  8417. description: 成交量小数位
  8418. type: integer
  8419. remark:
  8420. description: 备注
  8421. type: string
  8422. standardqty:
  8423. description: 标准数量(库位数量) [标准品特有]
  8424. type: integer
  8425. standardqtyrange:
  8426. description: 标准数量偏差范围 [标准品特有]
  8427. type: integer
  8428. type: object
  8429. models.ErmcpFuturesCompany:
  8430. properties:
  8431. brokerid:
  8432. description: 经纪公司代码
  8433. type: string
  8434. channeladdress:
  8435. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8436. type: string
  8437. channelid:
  8438. description: 对冲渠道ID
  8439. type: string
  8440. createtime:
  8441. description: 创建时间
  8442. type: string
  8443. creatorid:
  8444. description: 创建人
  8445. type: string
  8446. fcid:
  8447. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8448. type: integer
  8449. fcname:
  8450. description: 期货公司名称
  8451. type: string
  8452. isvalid:
  8453. description: 是否有效 - 0:无效 1:有效
  8454. type: integer
  8455. mhpaddress:
  8456. description: MHP服务地址(IP:Port)
  8457. type: string
  8458. riskrulegroupid:
  8459. description: 风控规则组ID
  8460. type: string
  8461. tradefeetmpid:
  8462. description: 手续费模板ID[TradeConfigTmpType为2]
  8463. type: string
  8464. trademargintmpid:
  8465. description: 保证金模板ID [TradeConfigTmpType为1]
  8466. type: string
  8467. traderatetmpid:
  8468. description: 汇率模板ID[TradeConfigTmpType为3]
  8469. type: string
  8470. updatetime:
  8471. description: 更新时间
  8472. type: string
  8473. updatorid:
  8474. description: 更新人
  8475. type: string
  8476. type: object
  8477. models.ErmcpGGConvertCfg:
  8478. properties:
  8479. convertratio:
  8480. description: 折算系数
  8481. type: number
  8482. destgoodsgroupid:
  8483. description: 目标品种ID
  8484. type: integer
  8485. dstcode:
  8486. description: 目录品种代码
  8487. type: string
  8488. dstexchangecode:
  8489. description: 目标期货交易所
  8490. type: string
  8491. dstname:
  8492. description: 目标品种名称
  8493. type: string
  8494. dstunitid:
  8495. description: 目标品种单位ID
  8496. type: integer
  8497. dstunitidname:
  8498. description: 目标品种单位名称
  8499. type: string
  8500. modifytime:
  8501. description: 修改时间
  8502. type: string
  8503. srccode:
  8504. description: 源品种代码
  8505. type: string
  8506. srcexchangecode:
  8507. description: 源期货交易所
  8508. type: string
  8509. srcgoodsgroupid:
  8510. description: 源品种ID
  8511. type: integer
  8512. srcname:
  8513. description: 源品种名称
  8514. type: string
  8515. srcunitid:
  8516. description: 源品种单位ID
  8517. type: integer
  8518. srcunitidname:
  8519. description: 源品种单位名称
  8520. type: string
  8521. type: object
  8522. models.ErmcpGoods:
  8523. properties:
  8524. agreeunit:
  8525. description: 合约单位
  8526. type: number
  8527. areauserid:
  8528. description: 所属机构
  8529. type: integer
  8530. auditaccountid:
  8531. description: 审核操作员账号
  8532. type: integer
  8533. audittime:
  8534. description: 审核时间
  8535. type: string
  8536. cancelaccountid:
  8537. description: 注销操作员账号
  8538. type: integer
  8539. canceltime:
  8540. description: 注销时间
  8541. type: string
  8542. closepricemode:
  8543. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8544. type: integer
  8545. closepriceparam:
  8546. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8547. type: number
  8548. createtime:
  8549. description: 创建时间
  8550. type: string
  8551. creatorid:
  8552. description: 创建人
  8553. type: integer
  8554. currencyid:
  8555. description: 报价货币ID
  8556. type: integer
  8557. cutmode:
  8558. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8559. type: integer
  8560. decimalplace:
  8561. description: 报价小数位
  8562. type: integer
  8563. delistingdate:
  8564. description: 商品退市时间(状态:退市) -- 已作废
  8565. type: string
  8566. delistingmode:
  8567. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8568. type: integer
  8569. deliveryflag:
  8570. description: 交割标志 - 0:不可交割 1:可交割
  8571. type: integer
  8572. enumdicname:
  8573. description: 单位名称
  8574. type: string
  8575. forceclosemode:
  8576. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8577. type: integer
  8578. forceclosevalue:
  8579. description: 定期强平参数 [收益权]
  8580. type: integer
  8581. goodscode:
  8582. description: 商品代码(内部)
  8583. type: string
  8584. goodscurrencyid:
  8585. description: 合约货币ID
  8586. type: integer
  8587. goodsgroupid:
  8588. description: 所属商品组ID
  8589. type: integer
  8590. goodsid:
  8591. description: 商品ID(自增ID SEQ_GOODS)
  8592. type: integer
  8593. goodsname:
  8594. description: 商品名称
  8595. type: string
  8596. goodsquotetype:
  8597. description: '合约报价类型: 1-直接报价 2-间接报价'
  8598. type: integer
  8599. goodsstatus:
  8600. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8601. type: integer
  8602. goodstradetype:
  8603. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8604. type: integer
  8605. goodunitid:
  8606. description: 报价单位ID
  8607. type: integer
  8608. hasquoter:
  8609. description: 是否有报价商 - 0:无报价商 1:有报价商
  8610. type: integer
  8611. hqprotecttime:
  8612. description: 行情保护时间(秒)
  8613. type: integer
  8614. innerdealmode:
  8615. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8616. type: integer
  8617. isbuylimited:
  8618. description: 是否限制建仓量 - 0:不限制 1:限制
  8619. type: integer
  8620. isvisible:
  8621. description: 游客是否可见 - 0:不可见 1:可见
  8622. type: integer
  8623. lasttradedate:
  8624. description: 最后交易日期(状态:待退市)
  8625. type: string
  8626. listingdate:
  8627. description: 交易开始日期
  8628. type: string
  8629. marketid:
  8630. description: 所属市场ID
  8631. type: integer
  8632. modifierid:
  8633. description: 修改人
  8634. type: integer
  8635. modifystatus:
  8636. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8637. type: integer
  8638. modifytime:
  8639. description: 修改时间
  8640. type: string
  8641. outerdealmode:
  8642. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8643. type: integer
  8644. outgoodscode:
  8645. description: 商品代码(外部)
  8646. type: string
  8647. pictureurl:
  8648. description: 商品图片
  8649. type: string
  8650. qtydecimalplace:
  8651. description: 成交量小数位
  8652. type: integer
  8653. quotegear:
  8654. description: 行情档位(1-10)
  8655. type: integer
  8656. quoteminunit:
  8657. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8658. type: integer
  8659. quoteshowtype:
  8660. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8661. type: integer
  8662. quoteshowtypeinterval:
  8663. description: 行情报价间隔时间(秒)(成交价时为0)
  8664. type: integer
  8665. relatedgoodsid:
  8666. description: 关联参考商品ID
  8667. type: integer
  8668. remark:
  8669. description: 备注
  8670. type: string
  8671. trademode:
  8672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8673. 21:竞拍-大宗式 22:受托竞价
  8674. type: integer
  8675. required:
  8676. - goodscode
  8677. - goodsid
  8678. - goodsname
  8679. - marketid
  8680. type: object
  8681. models.ErmcpGoodsBrand:
  8682. properties:
  8683. areauserid:
  8684. description: 所属机构
  8685. type: integer
  8686. brandid:
  8687. description: BrandID(SEQ_SPOTGOODSBRAND)
  8688. type: integer
  8689. brandname:
  8690. description: 品牌名称
  8691. type: string
  8692. createtime:
  8693. description: 创建时间
  8694. type: string
  8695. creatorid:
  8696. description: 创建人
  8697. type: integer
  8698. creatorsrc:
  8699. description: 创建人来源 - 1:管理端 2:终端
  8700. type: integer
  8701. deliverygoodsid:
  8702. description: 现货品种ID
  8703. type: integer
  8704. isvalid:
  8705. description: 是否有效 - 0:无效 1:有效
  8706. type: integer
  8707. updatetime:
  8708. description: 更新时间
  8709. type: string
  8710. updatorid:
  8711. description: 更新人
  8712. type: integer
  8713. updatorsrc:
  8714. description: 更新人来源 - 1:管理端 2:终端
  8715. type: integer
  8716. wrstandardid:
  8717. description: 现货商品ID
  8718. type: integer
  8719. type: object
  8720. models.ErmcpGoodsModel:
  8721. properties:
  8722. areauserid:
  8723. description: 所属机构
  8724. type: integer
  8725. convertfactor:
  8726. description: 标仓系数
  8727. type: number
  8728. createtime:
  8729. description: 创建时间
  8730. type: string
  8731. creatorid:
  8732. description: 创建人
  8733. type: integer
  8734. creatorsrc:
  8735. description: 创建人来源 - 1:管理端 2:终端
  8736. type: integer
  8737. deliverygoodsid:
  8738. description: 现货品种ID
  8739. type: integer
  8740. isvalid:
  8741. description: 是否有效 - 0:无效 1:有效
  8742. type: integer
  8743. modelid:
  8744. description: ModelID(SEQ_SPOTGOODSMODEL)
  8745. type: integer
  8746. modelname:
  8747. description: 型号名称
  8748. type: string
  8749. updatetime:
  8750. description: 更新时间
  8751. type: string
  8752. updatorid:
  8753. description: 更新人
  8754. type: integer
  8755. updatorsrc:
  8756. description: 更新人来源 - 1:管理端 2:终端
  8757. type: integer
  8758. wrstandardid:
  8759. description: 现货商品ID
  8760. type: integer
  8761. type: object
  8762. models.ErmcpHisExposure:
  8763. properties:
  8764. needhedgeexposoure:
  8765. description: 应套保敞口
  8766. type: number
  8767. reckondate:
  8768. description: 日照时期(yyyyMMdd)
  8769. type: string
  8770. totalexposure:
  8771. description: 总敞口
  8772. type: number
  8773. type: object
  8774. models.ErmcpLoginTaAccount:
  8775. properties:
  8776. accountid:
  8777. description: 账号id
  8778. type: integer
  8779. accountname:
  8780. description: 账号名称
  8781. type: string
  8782. type: object
  8783. models.ErmcpLoginUser:
  8784. properties:
  8785. acclist:
  8786. description: 关联资金账号
  8787. items:
  8788. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8789. type: array
  8790. accountname:
  8791. description: 用户名称
  8792. type: string
  8793. clientroleid:
  8794. description: 角色id(usertype=2)
  8795. type: integer
  8796. createtime:
  8797. description: 创建时间
  8798. type: string
  8799. logincode:
  8800. description: 登录代码
  8801. type: string
  8802. loginid:
  8803. description: 登录id(LOGINID)
  8804. type: integer
  8805. loginname:
  8806. description: 登录名称(loginaccount表中的accountname字段)
  8807. type: string
  8808. loginstatus:
  8809. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8810. type: integer
  8811. memberuserid:
  8812. description: 所属会员id
  8813. type: integer
  8814. mobile:
  8815. description: 手机号
  8816. type: string
  8817. modifytime:
  8818. description: 修改时间
  8819. type: string
  8820. password:
  8821. description: 密码(不可解密)
  8822. type: string
  8823. rolename:
  8824. description: 角色名称
  8825. type: string
  8826. rolestatus:
  8827. description: 角色状态 1-启用 2-停用
  8828. type: integer
  8829. roletype:
  8830. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8831. type: string
  8832. userid:
  8833. description: 用户id
  8834. type: integer
  8835. usertype:
  8836. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8837. type: integer
  8838. type: object
  8839. models.ErmcpLoginUserEx:
  8840. properties:
  8841. accountstatus:
  8842. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8843. type: integer
  8844. mobile:
  8845. description: 手机号
  8846. type: string
  8847. querytype:
  8848. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8849. type: integer
  8850. roleid:
  8851. description: 角色id(交易账户->用户id)
  8852. type: integer
  8853. rolename:
  8854. description: 角色名称(交易账户->用户名称)
  8855. type: string
  8856. userlist:
  8857. description: 用户列表
  8858. items:
  8859. $ref: '#/definitions/models.ErmcpLoginUser'
  8860. type: array
  8861. usertype:
  8862. description: 用户类型 2-机构 7-企业成员(云平台)
  8863. type: integer
  8864. type: object
  8865. models.ErmcpMiddleGoodsModel:
  8866. properties:
  8867. areauserid:
  8868. description: 机构用户ID
  8869. type: integer
  8870. createtime:
  8871. description: 修改时间
  8872. type: string
  8873. enumdicname:
  8874. description: 单位名称
  8875. type: string
  8876. evaluateratio:
  8877. description: 估价系数
  8878. type: number
  8879. goodsgroupid:
  8880. description: 关联期货品种ID
  8881. type: integer
  8882. goodsunitid:
  8883. description: 单位ID
  8884. type: integer
  8885. isvalid:
  8886. description: 状态 0-无效(停用) 1-有效(正常)
  8887. type: integer
  8888. middlegoodscode:
  8889. description: 套保品种代码
  8890. type: string
  8891. middlegoodsid:
  8892. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8893. type: integer
  8894. middlegoodsname:
  8895. description: 套保品种名称
  8896. type: string
  8897. modifytime:
  8898. description: 修改时间
  8899. type: string
  8900. needarbitrageratio:
  8901. description: 套利比例
  8902. type: number
  8903. needhedgeratio:
  8904. description: 套保比率
  8905. type: number
  8906. qtydecimalplace:
  8907. description: 数量小数位
  8908. type: integer
  8909. relatedgoodsid:
  8910. description: 关联交易商品ID
  8911. type: integer
  8912. relatedgoodstype:
  8913. description: 关联商品类型 - 1:期货合约 2:现货品种
  8914. type: integer
  8915. remark:
  8916. description: 备注
  8917. type: string
  8918. type: object
  8919. models.ErmcpMiddlegoodsRelateGoods:
  8920. properties:
  8921. agreeunit:
  8922. description: 合约乘数
  8923. type: number
  8924. convertratio:
  8925. description: 折算系数
  8926. type: number
  8927. enumdicname:
  8928. description: 单位名称(交易商品)
  8929. type: string
  8930. goodscode:
  8931. description: 交易商品代码
  8932. type: string
  8933. goodsgroupid:
  8934. description: 交易品种id
  8935. type: integer
  8936. goodsid:
  8937. description: 商品Id
  8938. type: integer
  8939. goodsname:
  8940. description: 交易商品名称
  8941. type: string
  8942. goodunitid:
  8943. description: 交易商品单位id
  8944. type: integer
  8945. middlegoodsid:
  8946. description: 套保商品id
  8947. type: integer
  8948. middlegoodsname:
  8949. description: 套保商品名称
  8950. type: string
  8951. middlegoodsswcode:
  8952. description: 套保商品代码
  8953. type: string
  8954. needarbitrageratio:
  8955. description: 应套利比例
  8956. type: number
  8957. needhedgeratio:
  8958. description: 应套保比例
  8959. type: number
  8960. type: object
  8961. models.ErmcpRole:
  8962. properties:
  8963. areauserid:
  8964. description: 所属机构
  8965. type: integer
  8966. autoid:
  8967. description: 角色ID(自增ID)
  8968. type: integer
  8969. modifierid:
  8970. description: 修改人(创建人)
  8971. type: integer
  8972. modifiername:
  8973. description: 修改人名称
  8974. type: string
  8975. modifytime:
  8976. description: 修改时间(创建时间)
  8977. type: string
  8978. rolename:
  8979. description: 角色名称
  8980. type: string
  8981. rolestatus:
  8982. description: 角色状态 - 1:启用 2:停用
  8983. type: integer
  8984. roletype:
  8985. description: 角色类型 - 1- 管理端 2- 交易端
  8986. type: integer
  8987. type: object
  8988. models.ErmcpRoleMenu:
  8989. properties:
  8990. iconame:
  8991. description: 菜单图标
  8992. type: string
  8993. ishadrole:
  8994. description: 是否有权限
  8995. type: boolean
  8996. menutype:
  8997. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8998. type: integer
  8999. parentcode:
  9000. description: 上级资源代码
  9001. type: string
  9002. remark:
  9003. description: 菜单备注
  9004. type: string
  9005. resourcecode:
  9006. description: 菜单代码
  9007. type: string
  9008. resourcelevel:
  9009. description: 级别
  9010. type: integer
  9011. resourcename:
  9012. description: 菜单名称
  9013. type: string
  9014. roleid:
  9015. description: 角色id
  9016. type: integer
  9017. sort:
  9018. description: 排序
  9019. type: integer
  9020. url:
  9021. description: URL
  9022. type: string
  9023. userid:
  9024. description: 用户id
  9025. type: integer
  9026. type: object
  9027. models.ErmcpRoleMenuEx:
  9028. properties:
  9029. menu:
  9030. allOf:
  9031. - $ref: '#/definitions/models.ErmcpRoleMenu'
  9032. description: 父级菜单
  9033. subMenu:
  9034. description: 子级菜单
  9035. items:
  9036. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  9037. type: array
  9038. type: object
  9039. models.ErmcpSpotContractModelEx:
  9040. properties:
  9041. accountname:
  9042. description: 套期主体
  9043. type: string
  9044. amount:
  9045. description: 金额 [1:一口价、3:暂定价]
  9046. type: number
  9047. attachment:
  9048. description: 附件
  9049. type: string
  9050. auditremark:
  9051. description: 审核意见
  9052. type: string
  9053. audittime:
  9054. description: 审核时间
  9055. type: string
  9056. avgprice:
  9057. description: 定价均价 = 已定价金额 / 已定价量
  9058. type: number
  9059. brandname:
  9060. description: 品牌名称
  9061. type: string
  9062. buyuserid:
  9063. description: 采购方ID
  9064. type: integer
  9065. buyusername:
  9066. description: 采购方名称
  9067. type: string
  9068. contracctstatus:
  9069. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9070. type: integer
  9071. contractmargin:
  9072. description: 合同保证金
  9073. type: number
  9074. contractno:
  9075. description: '[合同编号]现货合同编号'
  9076. type: string
  9077. contracttype:
  9078. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  9079. type: integer
  9080. convertfactor:
  9081. description: 标仓系数
  9082. type: number
  9083. createtime:
  9084. description: 创建时间
  9085. type: string
  9086. customername:
  9087. description: 对手方
  9088. type: string
  9089. customeruserid:
  9090. description: 客户ID
  9091. type: integer
  9092. deliveryenddate:
  9093. description: 交收期(结束)
  9094. type: string
  9095. deliverygoodscode:
  9096. description: 现货品种代码
  9097. type: string
  9098. deliverygoodsid:
  9099. description: 现货品种ID
  9100. type: integer
  9101. deliverygoodsname:
  9102. description: 现货品种名称
  9103. type: string
  9104. deliverystartdate:
  9105. description: 交收期(开始)
  9106. type: string
  9107. enddate:
  9108. description: 点价结束日期 [2:点价 3:暂定价]
  9109. type: string
  9110. enumdicname:
  9111. description: 单位名称
  9112. type: string
  9113. goodscode:
  9114. description: 点价合约代码
  9115. type: string
  9116. goodsid:
  9117. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9118. type: integer
  9119. goodsname:
  9120. description: 点价商品名称
  9121. type: string
  9122. isrelated:
  9123. description: 是否已关联计划项目 - 0:否 1:是
  9124. type: integer
  9125. isrelated2:
  9126. description: 是否已关联现货项目 - 0:否 1:是
  9127. type: integer
  9128. margin:
  9129. description: 当前保证金
  9130. type: number
  9131. modelname:
  9132. description: 型号名称
  9133. type: string
  9134. price:
  9135. description: 价格\暂定价 [1:一口价、3:暂定价]
  9136. type: number
  9137. pricedamount:
  9138. description: 已定价金额 = (点价价格+升贴水) * 数量
  9139. type: number
  9140. pricedqty:
  9141. description: 已定价量
  9142. type: number
  9143. pricemove:
  9144. description: 升贴水 [2:点价 3:暂定价]
  9145. type: number
  9146. pricetype:
  9147. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9148. type: integer
  9149. producttype:
  9150. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9151. type: integer
  9152. qty:
  9153. description: '[合同数量]数量'
  9154. type: number
  9155. remark:
  9156. description: 备注
  9157. type: string
  9158. selluserid:
  9159. description: 销售方ID
  9160. type: integer
  9161. sellusername:
  9162. description: 销售方名称
  9163. type: string
  9164. spotamount:
  9165. description: 合同现货金额 [不含升贴水]
  9166. type: number
  9167. spotavgprice:
  9168. description: 现货均价 = 合同现货金额 / 已定价量
  9169. type: number
  9170. spotcontractid:
  9171. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9172. type: string
  9173. spotgoodsbrandid:
  9174. description: 现货品牌ID
  9175. type: integer
  9176. spotgoodsdesc:
  9177. description: 商品型号
  9178. type: string
  9179. spotgoodsmodelid:
  9180. description: 现货型号ID
  9181. type: integer
  9182. startdate:
  9183. description: 点价开始日期 [2:点价 3:暂定价]
  9184. type: string
  9185. tradeuserid:
  9186. description: 交易用户ID
  9187. type: integer
  9188. unpricedqty:
  9189. description: 未定价量 = 合同数量 - 已定价量
  9190. type: number
  9191. updatetime:
  9192. description: 更新时间
  9193. type: string
  9194. userid:
  9195. description: 机构ID
  9196. type: integer
  9197. wrstandardcode:
  9198. description: 现货商品代码
  9199. type: string
  9200. wrstandardid:
  9201. description: 现货商品ID
  9202. type: integer
  9203. wrstandardname:
  9204. description: '[现货商品]现货商品名称'
  9205. type: string
  9206. type: object
  9207. models.ErmcpTaAccount:
  9208. properties:
  9209. accountid:
  9210. description: 账户id
  9211. type: integer
  9212. accountname:
  9213. description: 账户名称
  9214. type: string
  9215. currencyid:
  9216. description: 币种id
  9217. type: integer
  9218. hedgeaccountcode:
  9219. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9220. type: string
  9221. ismain:
  9222. description: 是否主账户 0-否 1-是
  9223. type: integer
  9224. parentaccountid:
  9225. description: 父账户id
  9226. type: integer
  9227. relateduserid:
  9228. description: 关联userid
  9229. type: integer
  9230. tradefeetmpid:
  9231. description: 手续费模板id
  9232. type: integer
  9233. tradefeetmpname:
  9234. description: 手续费模板名称
  9235. type: string
  9236. trademargintmpid:
  9237. description: 保证金模板id
  9238. type: integer
  9239. trademargintmpname:
  9240. description: 保证金模板名称
  9241. type: string
  9242. traderatetmpid:
  9243. description: 汇率模板id
  9244. type: integer
  9245. traderatetmpname:
  9246. description: 汇率模板名称
  9247. type: string
  9248. tradestatus:
  9249. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9250. type: integer
  9251. userid:
  9252. description: 用户id
  9253. type: integer
  9254. type: object
  9255. models.ErmcpTaAccountEx:
  9256. properties:
  9257. mainAcc:
  9258. allOf:
  9259. - $ref: '#/definitions/models.ErmcpTaAccountM'
  9260. description: 主账号
  9261. subacclist:
  9262. description: 子账号列表
  9263. items:
  9264. $ref: '#/definitions/models.ErmcpTaAccount'
  9265. type: array
  9266. type: object
  9267. models.ErmcpTaAccountInfo:
  9268. properties:
  9269. accountid:
  9270. description: 资金账户ID
  9271. type: integer
  9272. accountname:
  9273. description: 账户名称
  9274. type: string
  9275. balance:
  9276. description: 期初余额
  9277. type: number
  9278. capitalbalance:
  9279. description: 本金余额[外部子账户实际出入金余额]
  9280. type: number
  9281. closepl:
  9282. description: 今日平仓盈亏
  9283. type: number
  9284. creditdecrease:
  9285. description: 今日授信减少
  9286. type: number
  9287. creditincrease:
  9288. description: 今日授信增加
  9289. type: number
  9290. curdebt:
  9291. description: 期末欠款
  9292. type: number
  9293. currencyid:
  9294. description: 货币ID
  9295. type: integer
  9296. currentbalance:
  9297. description: 期末余额
  9298. type: number
  9299. freezecharge:
  9300. description: 手续费冻结
  9301. type: number
  9302. freezemargin:
  9303. description: 冻结保证金
  9304. type: number
  9305. fromaccountid:
  9306. description: 所属上级账户
  9307. type: integer
  9308. inamount:
  9309. description: 今日入金金额(包括三方入金)
  9310. type: number
  9311. ismain:
  9312. description: 是否母账号 0:不是母账户 1:是母账户
  9313. type: integer
  9314. mortgagecredit:
  9315. description: 授信金额
  9316. type: number
  9317. oridebt:
  9318. description: 期初欠款
  9319. type: number
  9320. orifreezecharge:
  9321. description: 期初手续费冻结
  9322. type: number
  9323. orifreezemargin:
  9324. description: 期初冻结保证金
  9325. type: number
  9326. orimortgagecredit:
  9327. description: 期初授信金额
  9328. type: number
  9329. oriothercredit:
  9330. description: 期初其它授信金额
  9331. type: number
  9332. oriotherfreezemargin:
  9333. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9334. type: number
  9335. orioutamountfreeze:
  9336. description: 期初出金冻结
  9337. type: number
  9338. oriusedmargin:
  9339. description: 期初占用保证金
  9340. type: number
  9341. othercredit:
  9342. description: 其它授信金额
  9343. type: number
  9344. othercreditdecrease:
  9345. description: 今日其它授信减少
  9346. type: number
  9347. othercreditincrease:
  9348. description: 今日其它授信增加
  9349. type: number
  9350. otherfreezemargin:
  9351. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9352. type: number
  9353. outamount:
  9354. description: 今日出金金额(包括三方出金)
  9355. type: number
  9356. outamountfreeze:
  9357. description: 出金冻结
  9358. type: number
  9359. outthreshold:
  9360. description: 出金阈值
  9361. type: number
  9362. parentaccountid:
  9363. description: 所属根账号
  9364. type: integer
  9365. paycharge:
  9366. description: 今日手续费支出
  9367. type: number
  9368. relateduserid:
  9369. description: 关联用户
  9370. type: integer
  9371. signstatus:
  9372. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9373. type: integer
  9374. sublevelpath:
  9375. description: 账号层级路径(逗号分隔,首尾加逗号)
  9376. type: string
  9377. taaccounttype:
  9378. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9379. type: integer
  9380. thirdinamount:
  9381. description: 今日三方入金
  9382. type: number
  9383. thirdoutamount:
  9384. description: 今日三方出金
  9385. type: number
  9386. tradestatus:
  9387. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9388. type: integer
  9389. transferamount:
  9390. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9391. type: number
  9392. usedmargin:
  9393. description: 占用保证金
  9394. type: number
  9395. userid:
  9396. description: 用户ID
  9397. type: integer
  9398. type: object
  9399. models.ErmcpTaAccountM:
  9400. properties:
  9401. accountid:
  9402. description: 账户id
  9403. type: integer
  9404. accountname:
  9405. description: 账户名称
  9406. type: string
  9407. currencyid:
  9408. description: 币种id
  9409. type: integer
  9410. fcid:
  9411. description: 期货公司id
  9412. type: integer
  9413. fcname:
  9414. description: 期货公司代码
  9415. type: string
  9416. hedgeaccountcode:
  9417. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9418. type: string
  9419. ismain:
  9420. description: 是否主账户 0-否 1-是
  9421. type: integer
  9422. parentaccountid:
  9423. description: 父账户id
  9424. type: integer
  9425. relateduserid:
  9426. description: 关联userid
  9427. type: integer
  9428. tradefeetmpid:
  9429. description: 手续费模板id
  9430. type: integer
  9431. tradefeetmpname:
  9432. description: 手续费模板名称
  9433. type: string
  9434. trademargintmpid:
  9435. description: 保证金模板id
  9436. type: integer
  9437. trademargintmpname:
  9438. description: 保证金模板名称
  9439. type: string
  9440. traderatetmpid:
  9441. description: 汇率模板id
  9442. type: integer
  9443. traderatetmpname:
  9444. description: 汇率模板名称
  9445. type: string
  9446. tradestatus:
  9447. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9448. type: integer
  9449. userid:
  9450. description: 用户id
  9451. type: integer
  9452. type: object
  9453. models.ErmcpTradeConfigTMP:
  9454. properties:
  9455. areauserid:
  9456. description: 所属机构
  9457. type: integer
  9458. basiccurrencyid:
  9459. description: 基本币种ID[汇率] - 目标币种
  9460. type: integer
  9461. mainaccountid:
  9462. description: 主账户ID
  9463. type: integer
  9464. modifierid:
  9465. description: 修改人
  9466. type: integer
  9467. remark:
  9468. description: 备注
  9469. type: string
  9470. tradeconfigtmpid:
  9471. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9472. type: integer
  9473. tradeconfigtmpname:
  9474. description: 交易配置模板名称
  9475. type: string
  9476. tradeconfigtmptype:
  9477. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9478. type: integer
  9479. updatetime:
  9480. description: 更新时间
  9481. type: string
  9482. type: object
  9483. models.Ermcpjrlinkpos:
  9484. properties:
  9485. areauserid:
  9486. description: 所属企业
  9487. type: integer
  9488. averageprice:
  9489. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9490. type: number
  9491. closepl:
  9492. description: 总平仓盈亏 [期货损益]
  9493. type: number
  9494. executeprice:
  9495. description: 执行价 - 1:期货单 为 0
  9496. type: integer
  9497. futurehedgeqty:
  9498. description: 期货套期量
  9499. type: number
  9500. goodsid:
  9501. description: 期货合约
  9502. type: integer
  9503. middlegoodscode:
  9504. description: 套保商品代码
  9505. type: string
  9506. middlegoodsname:
  9507. description: 套保商品名称
  9508. type: string
  9509. netqty:
  9510. description: 净头寸
  9511. type: number
  9512. optioncode:
  9513. description: 期权代码
  9514. type: string
  9515. ordertype:
  9516. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9517. type: integer
  9518. reckonpl:
  9519. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9520. type: number
  9521. spotcontractid:
  9522. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9523. type: string
  9524. todayfutureclosepl:
  9525. description: 今日平仓盈亏
  9526. type: number
  9527. totalbuyamount:
  9528. description: 买金额 [期货]
  9529. type: number
  9530. totalbuyholdamount:
  9531. description: 买持仓总金额[期货]
  9532. type: number
  9533. totalbuyqty:
  9534. description: 买数量
  9535. type: number
  9536. totalcharge:
  9537. description: 手续费
  9538. type: number
  9539. totalpremium:
  9540. description: 权利金 [期权]
  9541. type: number
  9542. totalsellamount:
  9543. description: 卖金额 [期货]
  9544. type: number
  9545. totalsellholdamount:
  9546. description: 卖持仓总金额[期货]
  9547. type: number
  9548. totalsellqty:
  9549. description: 卖数量
  9550. type: number
  9551. updatetime:
  9552. description: 更新时间
  9553. type: string
  9554. required:
  9555. - spotcontractid
  9556. type: object
  9557. models.Ermcppatradelinkdetail:
  9558. properties:
  9559. agreeunit:
  9560. description: 合约乘数
  9561. type: number
  9562. amount:
  9563. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9564. type: number
  9565. areauserid:
  9566. description: 所属机构
  9567. type: integer
  9568. bizsubjectid:
  9569. description: 归属业务部门ID - SubjectID
  9570. type: integer
  9571. buyorsell:
  9572. description: 方向 - 0:买 1:卖
  9573. type: integer
  9574. convertratio:
  9575. description: 品种系数
  9576. type: number
  9577. createtime:
  9578. description: 创建时间
  9579. type: string
  9580. creatorid:
  9581. description: 创建人ID
  9582. type: integer
  9583. creatorsrc:
  9584. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9585. type: integer
  9586. goodsgroupid:
  9587. description: 对冲品种ID[期货合约商品组ID]
  9588. type: integer
  9589. goodsid:
  9590. description: 商品ID
  9591. type: integer
  9592. hedgeditemid:
  9593. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9594. type: integer
  9595. hedgeflag:
  9596. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9597. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9598. type: integer
  9599. linkdetailid:
  9600. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9601. type: string
  9602. linkstatus:
  9603. description: 关联状态 - 1:成功 2:失败 3:解绑
  9604. type: integer
  9605. middlegoodsid:
  9606. description: 套保品种ID
  9607. type: integer
  9608. name:
  9609. description: 账户名/子账户
  9610. type: string
  9611. optioncode:
  9612. description: '[期货合约]期权代码 [期权]'
  9613. type: string
  9614. ordertype:
  9615. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9616. type: integer
  9617. relatedlot:
  9618. description: '[数量]关联手数'
  9619. type: number
  9620. relatedmode:
  9621. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9622. type: integer
  9623. relatedqty:
  9624. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9625. type: number
  9626. retcode:
  9627. description: 返回码
  9628. type: integer
  9629. saleuserid:
  9630. description: 业务员ID
  9631. type: integer
  9632. tradedate:
  9633. description: 关联交易日(yyyyMMdd)
  9634. type: string
  9635. tradeid:
  9636. description: '[成交单号]内部成交单ID'
  9637. type: string
  9638. tradelot:
  9639. description: 成交手数
  9640. type: integer
  9641. tradeprice:
  9642. description: '[价格]成交价格'
  9643. type: number
  9644. tradetime:
  9645. description: 日期时间
  9646. type: string
  9647. tradetradedate:
  9648. description: 成交交易日(yyyyMMdd)
  9649. type: string
  9650. required:
  9651. - hedgeditemid
  9652. type: object
  9653. models.Exchangerateconfig:
  9654. properties:
  9655. descurrencyid:
  9656. description: 目标币种ID
  9657. type: integer
  9658. exchangerate:
  9659. description: 汇率
  9660. type: number
  9661. oricurrencyid:
  9662. description: 源币种ID
  9663. type: integer
  9664. remark:
  9665. description: 备注
  9666. type: string
  9667. type: object
  9668. models.Externalexchange:
  9669. properties:
  9670. autoid:
  9671. description: AutoID - SEQ_EXTERNALEXCHANGE
  9672. type: integer
  9673. exchangefullname:
  9674. description: 外部交易所全称
  9675. type: string
  9676. exexchangecode:
  9677. description: 外部交易所代码
  9678. type: string
  9679. exexchangename:
  9680. description: 外部交易所名称(简称)
  9681. type: string
  9682. ismarketprice:
  9683. description: 是否支持市价 - 0:不支持 1:支持
  9684. type: integer
  9685. quotegear:
  9686. description: 行情档位(1-10)
  9687. type: integer
  9688. showbrokerflag:
  9689. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9690. type: integer
  9691. updatetime:
  9692. description: 更新时间
  9693. type: string
  9694. required:
  9695. - autoid
  9696. type: object
  9697. models.Funcmenulist:
  9698. properties:
  9699. iconame:
  9700. description: 菜单图标
  9701. type: string
  9702. menutype:
  9703. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9704. type: integer
  9705. parentcode:
  9706. description: 上级资源代码
  9707. type: string
  9708. remark:
  9709. description: 备注
  9710. type: string
  9711. resourcecode:
  9712. description: 资源代码
  9713. type: string
  9714. resourcelevel:
  9715. description: 级别 1-一级 2-二级 3-三级 4-四级
  9716. type: integer
  9717. resourcename:
  9718. description: 资源名
  9719. type: string
  9720. sort:
  9721. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9722. type: integer
  9723. url:
  9724. description: URL
  9725. type: string
  9726. required:
  9727. - resourcecode
  9728. type: object
  9729. models.GErmcpspotgoodsprice:
  9730. properties:
  9731. chg:
  9732. description: 涨跌幅
  9733. type: number
  9734. currencyid:
  9735. description: 报价货币ID
  9736. type: integer
  9737. deliverygoodsid:
  9738. description: 现货品种ID
  9739. type: integer
  9740. prespotgoodsprice:
  9741. description: 上日价格
  9742. type: number
  9743. spotgoodsbrandid:
  9744. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  9745. type: integer
  9746. spotgoodsprice:
  9747. description: 【最新价】当前价格
  9748. type: number
  9749. srcmarketname:
  9750. description: 来源市场名称
  9751. type: string
  9752. todaypricedtotalamount:
  9753. description: 今日定价金额
  9754. type: number
  9755. todaypricedtotalqty:
  9756. description: 今日定价总量
  9757. type: number
  9758. todayspotgoodsprice:
  9759. description: 今日指定价
  9760. type: number
  9761. tradedate:
  9762. description: 【日期】交易日
  9763. type: string
  9764. wrstandardcode:
  9765. description: 现货商品代码
  9766. type: string
  9767. wrstandardid:
  9768. description: 现货商品ID(通用则为0)
  9769. type: integer
  9770. wrstandardname:
  9771. description: 【名称】现货商品名称
  9772. type: string
  9773. ystspotgoodsprice:
  9774. description: 昨价
  9775. type: number
  9776. type: object
  9777. models.GThjuserscorelog:
  9778. properties:
  9779. createtime:
  9780. description: 记账时间
  9781. type: string
  9782. redpacketvalue:
  9783. description: 红包值【抽奖】
  9784. type: number
  9785. score:
  9786. description: 变动积分
  9787. type: number
  9788. scoreconfigtype:
  9789. description: 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分
  9790. 7:抽奖配置
  9791. type: integer
  9792. stype:
  9793. description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  9794. 6:自己供求下单积分 7:抽奖配置'
  9795. type: string
  9796. type: object
  9797. models.GZGoods:
  9798. properties:
  9799. address:
  9800. description: 详细地址
  9801. type: string
  9802. cerno:
  9803. description: 证书编号 - 类型:2,4,5
  9804. type: string
  9805. cityname:
  9806. description: 城市名称
  9807. type: string
  9808. countryname:
  9809. description: 国家名称
  9810. type: string
  9811. cpcertno:
  9812. description: 金伯利证书编号 - 类型:3
  9813. type: string
  9814. districtname:
  9815. description: 地区名称
  9816. type: string
  9817. goodsno:
  9818. description: 商品编号
  9819. type: string
  9820. imagepath:
  9821. description: 商品照片(相对地址)
  9822. type: string
  9823. isvalid:
  9824. description: 是否有效 - 0:无效 1:有效
  9825. type: integer
  9826. kppath:
  9827. description: 金伯利证书图片(相对地址) - 类型:3
  9828. type: string
  9829. kpweight:
  9830. description: 金伯利证书重量 - 类型:3
  9831. type: string
  9832. marketprice:
  9833. description: 市场价
  9834. type: string
  9835. mobile:
  9836. description: 手机号码
  9837. type: string
  9838. origin:
  9839. description: 原产地 - 类型:3
  9840. type: string
  9841. performancetemplateid:
  9842. description: 履约计划模板ID
  9843. type: integer
  9844. price:
  9845. description: 总价(价格) - 类型:1,2,3,4,5
  9846. type: number
  9847. priceper:
  9848. description: 克拉单价 - 类型:1,2,3,5
  9849. type: string
  9850. provincename:
  9851. description: 省名称
  9852. type: string
  9853. remainqty:
  9854. description: 剩余重量
  9855. type: number
  9856. remark:
  9857. description: 备注
  9858. type: string
  9859. sellusername:
  9860. description: 账户名称(机构名称)
  9861. type: string
  9862. settingmaterial:
  9863. description: 镶嵌材料 - 类型:4
  9864. type: string
  9865. size1:
  9866. description: 尺寸1 - 类型:2,4,5
  9867. type: string
  9868. size2:
  9869. description: 尺寸2 - 类型:2,4,5
  9870. type: string
  9871. size3:
  9872. description: 尺寸3 - 类型:2,4,5
  9873. type: string
  9874. sizedisplay:
  9875. description: 尺寸
  9876. type: string
  9877. stonedesc:
  9878. description: 配石描述 - 类型:4
  9879. type: string
  9880. userid:
  9881. description: 用户ID
  9882. type: integer
  9883. warehouseid:
  9884. description: 仓库ID
  9885. type: integer
  9886. warehousenamedisplay:
  9887. type: string
  9888. weight:
  9889. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9890. type: number
  9891. weightavg:
  9892. description: 平均单颗重量 - 类型:1,3
  9893. type: number
  9894. wrpath:
  9895. description: 仓单扫描件(相对地址)
  9896. type: string
  9897. wrstandardid:
  9898. description: 现货商品ID
  9899. type: integer
  9900. wrtradeorderid:
  9901. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9902. type: string
  9903. zscategory:
  9904. description: 钻石分类 - 枚举”ZSCategory“
  9905. type: integer
  9906. zscategorydisplay:
  9907. type: string
  9908. zscerttype:
  9909. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9910. type: integer
  9911. zscerttypedisplay:
  9912. type: string
  9913. zsclaritytype1:
  9914. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9915. type: integer
  9916. zsclaritytype1display:
  9917. type: string
  9918. zsclaritytype2:
  9919. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9920. type: integer
  9921. zsclaritytype2display:
  9922. type: string
  9923. zscolortype1:
  9924. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9925. type: integer
  9926. zscolortype1display:
  9927. type: string
  9928. zscolortype2:
  9929. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9930. type: integer
  9931. zscolortype2display:
  9932. type: string
  9933. zscrystaltype:
  9934. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9935. type: string
  9936. zscrystaltypedisplay:
  9937. type: string
  9938. zscurrencytype:
  9939. description: 货币类型 - 枚举“ZSCurrencyType”
  9940. type: integer
  9941. zscurrencytypedisplay:
  9942. type: string
  9943. zscurrencytypedisplayunit:
  9944. type: string
  9945. zscuttype1:
  9946. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9947. type: integer
  9948. zscuttype1display:
  9949. type: string
  9950. zscuttype2:
  9951. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9952. type: integer
  9953. zscuttype2display:
  9954. type: string
  9955. zsczcolor1type:
  9956. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9957. type: integer
  9958. zsczcolor1typedisplay:
  9959. type: string
  9960. zsczcolor2type:
  9961. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9962. type: integer
  9963. zsczcolor2typedisplay:
  9964. type: string
  9965. zsczcolor3type:
  9966. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9967. type: integer
  9968. zsczcolor3typedisplay:
  9969. type: string
  9970. zsfluorescencetype1:
  9971. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9972. type: integer
  9973. zsfluorescencetype1display:
  9974. type: string
  9975. zsfluorescencetype2:
  9976. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9977. type: integer
  9978. zsfluorescencetype2display:
  9979. type: string
  9980. zspolishtype1:
  9981. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9982. type: integer
  9983. zspolishtype1display:
  9984. type: string
  9985. zspolishtype2:
  9986. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9987. type: integer
  9988. zspolishtype2display:
  9989. type: string
  9990. zsshapetype:
  9991. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9992. type: string
  9993. zsshapetypedisplay:
  9994. type: string
  9995. zsstyletype:
  9996. description: 款式 - 类型:4
  9997. type: integer
  9998. zsstyletypedisplay:
  9999. type: string
  10000. zssymmetrytype1:
  10001. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  10002. type: integer
  10003. zssymmetrytype1display:
  10004. type: string
  10005. zssymmetrytype2:
  10006. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  10007. type: integer
  10008. zssymmetrytype2display:
  10009. type: string
  10010. required:
  10011. - goodsno
  10012. type: object
  10013. models.GZHomeData:
  10014. properties:
  10015. purchasedtransactions:
  10016. description: 已购买的交易
  10017. type: integer
  10018. transactioninpurchase:
  10019. description: 求购中的交易
  10020. type: integer
  10021. transactionsonsale:
  10022. description: 出售中的交易
  10023. type: integer
  10024. transactionssold:
  10025. description: 已卖出的交易
  10026. type: integer
  10027. unhandledmessage:
  10028. description: 未处理消息
  10029. type: integer
  10030. type: object
  10031. models.GZWarehouseinfo:
  10032. properties:
  10033. address:
  10034. description: 详细地址
  10035. type: string
  10036. areauserid:
  10037. description: 所属机构
  10038. type: integer
  10039. autoid:
  10040. description: 自增ID
  10041. type: integer
  10042. cityid:
  10043. description: 市
  10044. type: integer
  10045. cityname:
  10046. description: 城市名称
  10047. type: string
  10048. contactname:
  10049. description: 联系人
  10050. type: string
  10051. contactnum:
  10052. description: 联系电话
  10053. type: string
  10054. countryid:
  10055. description: 国家
  10056. type: integer
  10057. countryname:
  10058. description: 国家名称
  10059. type: string
  10060. createtime:
  10061. description: 创建时间
  10062. type: string
  10063. districtid:
  10064. description: 区
  10065. type: integer
  10066. districtname:
  10067. description: 地区名称
  10068. type: string
  10069. hasvideo:
  10070. description: 是否有视频 - 0:无 1:有
  10071. type: integer
  10072. provinceid:
  10073. description: 省
  10074. type: integer
  10075. provincename:
  10076. description: 省名称
  10077. type: string
  10078. remark:
  10079. description: 审核备注
  10080. type: string
  10081. videourl:
  10082. description: 视频地址
  10083. type: string
  10084. warehousecode:
  10085. description: 仓库代码
  10086. type: string
  10087. warehousename:
  10088. description: 仓库名称
  10089. type: string
  10090. warehousestatus:
  10091. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10092. type: integer
  10093. warehousetype:
  10094. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10095. type: integer
  10096. type: object
  10097. models.Goods:
  10098. properties:
  10099. agreeunit:
  10100. description: 合约单位
  10101. type: number
  10102. areauserid:
  10103. description: 所属机构
  10104. type: integer
  10105. auditaccountid:
  10106. description: 审核操作员账号
  10107. type: integer
  10108. audittime:
  10109. description: 审核时间
  10110. type: string
  10111. cancelaccountid:
  10112. description: 注销操作员账号
  10113. type: integer
  10114. canceltime:
  10115. description: 注销时间
  10116. type: string
  10117. closepricemode:
  10118. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10119. type: integer
  10120. closepriceparam:
  10121. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  10122. type: number
  10123. createtime:
  10124. description: 创建时间
  10125. type: string
  10126. creatorid:
  10127. description: 创建人
  10128. type: integer
  10129. currencyid:
  10130. description: 报价货币ID
  10131. type: integer
  10132. cutmode:
  10133. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  10134. type: integer
  10135. decimalplace:
  10136. description: 报价小数位
  10137. type: integer
  10138. delistingdate:
  10139. description: 商品退市时间(状态:退市) -- 已作废
  10140. type: string
  10141. delistingmode:
  10142. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  10143. type: integer
  10144. deliveryflag:
  10145. description: 交割标志 - 0:不可交割 1:可交割
  10146. type: integer
  10147. forceclosemode:
  10148. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  10149. type: integer
  10150. forceclosevalue:
  10151. description: 定期强平参数 [收益权]
  10152. type: integer
  10153. goodscode:
  10154. description: 商品代码(内部)
  10155. type: string
  10156. goodscurrencyid:
  10157. description: 合约货币ID
  10158. type: integer
  10159. goodsgroupid:
  10160. description: 所属商品组ID
  10161. type: integer
  10162. goodsid:
  10163. description: 商品ID(自增ID SEQ_GOODS)
  10164. type: integer
  10165. goodsname:
  10166. description: 商品名称
  10167. type: string
  10168. goodsquotetype:
  10169. description: '合约报价类型: 1-直接报价 2-间接报价'
  10170. type: integer
  10171. goodsstatus:
  10172. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10173. type: integer
  10174. goodstradetype:
  10175. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10176. type: integer
  10177. goodunitid:
  10178. description: 报价单位ID
  10179. type: integer
  10180. hasquoter:
  10181. description: 是否有报价商 - 0:无报价商 1:有报价商
  10182. type: integer
  10183. hqprotecttime:
  10184. description: 行情保护时间(秒)
  10185. type: integer
  10186. innerdealmode:
  10187. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10188. type: integer
  10189. isbuylimited:
  10190. description: 是否限制建仓量 - 0:不限制 1:限制
  10191. type: integer
  10192. isvisible:
  10193. description: 游客是否可见 - 0:不可见 1:可见
  10194. type: integer
  10195. lasttradedate:
  10196. description: 最后交易日期(状态:待退市)
  10197. type: string
  10198. listingdate:
  10199. description: 交易开始日期
  10200. type: string
  10201. marketid:
  10202. description: 所属市场ID
  10203. type: integer
  10204. modifierid:
  10205. description: 修改人
  10206. type: integer
  10207. modifystatus:
  10208. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10209. type: integer
  10210. modifytime:
  10211. description: 修改时间
  10212. type: string
  10213. outerdealmode:
  10214. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10215. type: integer
  10216. outgoodscode:
  10217. description: 商品代码(外部)
  10218. type: string
  10219. pictureurl:
  10220. description: 商品图片
  10221. type: string
  10222. qtydecimalplace:
  10223. description: 成交量小数位
  10224. type: integer
  10225. quotegear:
  10226. description: 行情档位(1-10)
  10227. type: integer
  10228. quoteminunit:
  10229. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10230. type: integer
  10231. quoteshowtype:
  10232. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10233. type: integer
  10234. quoteshowtypeinterval:
  10235. description: 行情报价间隔时间(秒)(成交价时为0)
  10236. type: integer
  10237. remark:
  10238. description: 备注
  10239. type: string
  10240. required:
  10241. - goodscode
  10242. - goodsid
  10243. - goodsname
  10244. - marketid
  10245. type: object
  10246. models.GoodsIDAndName:
  10247. properties:
  10248. goodscode:
  10249. description: 商品代码(内部)
  10250. type: string
  10251. goodsid:
  10252. description: 商品ID(自增ID SEQ_GOODS)
  10253. type: integer
  10254. goodsname:
  10255. description: 商品名称
  10256. type: string
  10257. marketid:
  10258. description: 所属市场ID
  10259. type: integer
  10260. required:
  10261. - goodscode
  10262. - goodsid
  10263. - goodsname
  10264. - marketid
  10265. type: object
  10266. models.Goodsgroup:
  10267. properties:
  10268. agreeunit:
  10269. description: 合约单位
  10270. type: number
  10271. canshort:
  10272. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10273. type: integer
  10274. closepricemode:
  10275. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10276. type: integer
  10277. closepriceparam:
  10278. description: 强平最新价浮动比例 - 方式为2时使用
  10279. type: number
  10280. createtime:
  10281. description: 创建时间
  10282. type: string
  10283. creatorid:
  10284. description: 创建人
  10285. type: integer
  10286. currencyid:
  10287. description: 报价货币ID
  10288. type: integer
  10289. decimalplace:
  10290. description: 报价小数位
  10291. type: integer
  10292. exercisetype:
  10293. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10294. type: integer
  10295. exexchangeid:
  10296. description: 外部交易所ID[通道交易]
  10297. type: integer
  10298. goodsgroupid:
  10299. description: 商品组ID(自增ID)
  10300. type: integer
  10301. goodsgroupname:
  10302. description: 商品组名称
  10303. type: string
  10304. goodsgroupstatus:
  10305. description: 商品组状态 - 1:正常 2:注销
  10306. type: integer
  10307. goodunitid:
  10308. description: 报价单位ID
  10309. type: integer
  10310. innerdealmode:
  10311. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10312. type: integer
  10313. isbuylimited:
  10314. description: 是否限制建仓量 - 0:不限制 1:限制
  10315. type: integer
  10316. marketid:
  10317. description: 所属市场ID
  10318. type: integer
  10319. modifierid:
  10320. description: 修改人
  10321. type: integer
  10322. modifytime:
  10323. description: 修改时间
  10324. type: string
  10325. outerdealmode:
  10326. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10327. type: integer
  10328. outergroupcode:
  10329. description: 外部商品组代码[通道交易]
  10330. type: string
  10331. premiumdecimalplace:
  10332. description: 权利金小数位[场外期权]
  10333. type: integer
  10334. premiumspreadalgorithm:
  10335. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10336. type: integer
  10337. premiumspreadvalue:
  10338. description: 权利金点差值[场外期权]
  10339. type: number
  10340. qtydecimalplace:
  10341. description: 成交量小数位
  10342. type: integer
  10343. quotegear:
  10344. description: 行情档位(1-10)
  10345. type: integer
  10346. quoteminunit:
  10347. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10348. type: integer
  10349. quoterid:
  10350. description: 报价商ID[场外期权]
  10351. type: integer
  10352. quotesourcegroupid:
  10353. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10354. type: integer
  10355. syncgoodsqty:
  10356. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10357. type: integer
  10358. required:
  10359. - goodsgroupid
  10360. - goodsgroupname
  10361. - goodsgroupstatus
  10362. - marketid
  10363. type: object
  10364. models.Goodssortbypreposition:
  10365. properties:
  10366. goodscode:
  10367. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10368. type: string
  10369. goodsgroupcode:
  10370. description: 品种代码
  10371. type: string
  10372. prepositionqty:
  10373. description: 昨持仓量
  10374. type: integer
  10375. sortindex:
  10376. description: 排序
  10377. type: integer
  10378. tradedate:
  10379. description: 交易日
  10380. type: string
  10381. updatetime:
  10382. description: 更新时间
  10383. type: string
  10384. required:
  10385. - goodscode
  10386. - tradedate
  10387. type: object
  10388. models.GzbsfworderM:
  10389. properties:
  10390. accountid:
  10391. description: 资金账户ID
  10392. type: integer
  10393. addresscn:
  10394. description: 地址(中文)
  10395. type: string
  10396. addressen:
  10397. description: 地址(英文)
  10398. type: string
  10399. advanceamount:
  10400. description: 总预付款
  10401. type: number
  10402. colorrange:
  10403. description: 颜色范围
  10404. type: string
  10405. companynamecn:
  10406. description: 收货人(中文)
  10407. type: string
  10408. companynameen:
  10409. description: 收货人(英文)
  10410. type: string
  10411. contactfax:
  10412. description: 收货人传真
  10413. type: string
  10414. contactname:
  10415. description: 收货人姓名
  10416. type: string
  10417. contactphoneno:
  10418. description: 收货人电话
  10419. type: string
  10420. contentrange:
  10421. description: 【内容】内容范围
  10422. type: string
  10423. createtime:
  10424. description: 创建时间
  10425. type: string
  10426. executestatus:
  10427. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10428. type: integer
  10429. gzbsdeliverytype:
  10430. description: 收货方式 - 枚举"GZBSDeliveryType"
  10431. type: integer
  10432. gzbsstatus:
  10433. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10434. type: integer
  10435. gzbsstatusdisplay:
  10436. description: 单据状态
  10437. type: string
  10438. handlestatus:
  10439. description: 处理状态
  10440. type: integer
  10441. orderdate:
  10442. description: 单据日期
  10443. type: string
  10444. orderid:
  10445. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10446. type: integer
  10447. orderno:
  10448. description: 单据编号 - GZDEBSFW+单据流水号
  10449. type: string
  10450. ordersn:
  10451. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10452. type: string
  10453. origincountry:
  10454. description: 原产国
  10455. type: string
  10456. otherlogistics:
  10457. description: 指定其它物流
  10458. type: string
  10459. priceper:
  10460. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10461. type: number
  10462. settleamount:
  10463. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10464. type: number
  10465. shaperange:
  10466. description: 形状范围
  10467. type: string
  10468. taxmargin:
  10469. description: 税费保证金 - 确认结算费用时退回
  10470. type: number
  10471. totalamount:
  10472. description: 总值(美元)
  10473. type: number
  10474. totalgrossweightgm:
  10475. description: 总毛重(克)
  10476. type: number
  10477. totalnetweightgm:
  10478. description: 总净重(克)
  10479. type: number
  10480. totalnetweigthct:
  10481. description: 总净重(克拉)
  10482. type: number
  10483. totalnumber:
  10484. description: 总粒数
  10485. type: integer
  10486. userid:
  10487. description: 用户ID
  10488. type: integer
  10489. weightrange:
  10490. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10491. type: string
  10492. required:
  10493. - userid
  10494. type: object
  10495. models.GzbsfworderdetailM:
  10496. properties:
  10497. colorinfo:
  10498. description: 彩钻信息
  10499. type: string
  10500. createtime:
  10501. description: 创建时间
  10502. type: string
  10503. grossweightgm:
  10504. description: 毛重(克)
  10505. type: number
  10506. gzcjshape:
  10507. description: 形状(字符)
  10508. type: string
  10509. netweigthct:
  10510. description: 净重(克拉)
  10511. type: number
  10512. netweigthgm:
  10513. description: 净重(克)
  10514. type: number
  10515. ordercontent:
  10516. description: 内容
  10517. type: string
  10518. orderdetailid:
  10519. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10520. type: integer
  10521. orderid:
  10522. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10523. type: integer
  10524. orderindex:
  10525. description: 顺序
  10526. type: integer
  10527. perprice:
  10528. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10529. type: number
  10530. remark:
  10531. description: 备注(其它)
  10532. type: string
  10533. totalamount:
  10534. description: 总值(美元)
  10535. type: number
  10536. type: object
  10537. models.Gzbsfworderoperate:
  10538. properties:
  10539. advanceproofaddr:
  10540. description: 预付款收款凭证(确认结算费用时)
  10541. type: string
  10542. bankfee:
  10543. description: 汇款银行手续费
  10544. type: number
  10545. bankproofaddr:
  10546. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10547. type: string
  10548. customsproofaddr:
  10549. description: 海关税费保证金收据(确认结算费用时)
  10550. type: string
  10551. gzbsstatus:
  10552. description: 操作后单据状态 - 枚举"GZBSStatus"
  10553. type: integer
  10554. logisticsfee:
  10555. description: 代缴物流保险费
  10556. type: number
  10557. logisticsproofaddr:
  10558. description: 代缴物流保险费凭证(确认结算费用时)
  10559. type: string
  10560. operatetime:
  10561. description: 操作时间
  10562. type: string
  10563. operatoraccount:
  10564. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10565. type: string
  10566. operatorid:
  10567. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10568. type: integer
  10569. operatorname:
  10570. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10571. type: string
  10572. operatorsrc:
  10573. description: 操作人来源 - 1:管理端 2:终端
  10574. type: integer
  10575. orderid:
  10576. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10577. type: integer
  10578. otherfee:
  10579. description: 其它费用
  10580. type: number
  10581. remark:
  10582. description: 操作备注
  10583. type: string
  10584. servicefee:
  10585. description: 综合服务费
  10586. type: number
  10587. taxmargin:
  10588. description: 税费保证金
  10589. type: number
  10590. totalfee:
  10591. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10592. type: number
  10593. required:
  10594. - orderid
  10595. type: object
  10596. models.Gzcertaddressconfig:
  10597. properties:
  10598. certregion:
  10599. description: 证书地域 - 1:国内 2:国际
  10600. type: integer
  10601. certtype:
  10602. description: 证书类型
  10603. type: string
  10604. orderindex:
  10605. description: 显示顺序
  10606. type: integer
  10607. orgcnname:
  10608. description: 机构名称(中文)
  10609. type: string
  10610. orgenname:
  10611. description: 机构名称(英文)
  10612. type: string
  10613. queryaddress:
  10614. description: 查询地址
  10615. type: string
  10616. remark:
  10617. description: 备注
  10618. type: string
  10619. updatetime:
  10620. description: 更新时间
  10621. type: string
  10622. type: object
  10623. models.Gzcertaddressparam:
  10624. properties:
  10625. certtype:
  10626. description: 证书类型
  10627. type: string
  10628. orderindex:
  10629. description: 参数顺序
  10630. type: integer
  10631. paramkey:
  10632. description: 参数Key
  10633. type: string
  10634. paramname:
  10635. description: 参数名称
  10636. type: string
  10637. updatetime:
  10638. description: 更新时间
  10639. type: string
  10640. type: object
  10641. models.GzcjbsorderfileM:
  10642. properties:
  10643. canmembervisit:
  10644. description: 会员是否可访问 - 1:可 2:不可
  10645. type: integer
  10646. fileaddress:
  10647. description: 文件地址
  10648. type: string
  10649. filegentype:
  10650. description: 文件生成类型 - 1:系统生成 2:手动上传
  10651. type: integer
  10652. filename:
  10653. description: 文件名称
  10654. type: string
  10655. operatetime:
  10656. description: 操作时间
  10657. type: string
  10658. operatoraccount:
  10659. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10660. type: string
  10661. operatorid:
  10662. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10663. type: integer
  10664. operatorsrc:
  10665. description: 操作人来源 - 1:管理端 2:终端
  10666. type: integer
  10667. orderfileid:
  10668. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10669. type: integer
  10670. orderid:
  10671. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10672. type: integer
  10673. required:
  10674. - orderid
  10675. type: object
  10676. models.GzcjjcorderM:
  10677. properties:
  10678. accountid:
  10679. description: 资金账户ID
  10680. type: integer
  10681. addresscn:
  10682. description: 地址(中文)
  10683. type: string
  10684. addressen:
  10685. description: 地址(英文)
  10686. type: string
  10687. advanceamount:
  10688. description: 总预付款
  10689. type: number
  10690. colorrange:
  10691. description: 颜色范围
  10692. type: string
  10693. companynamecn:
  10694. description: 公司名称(中文)
  10695. type: string
  10696. companynameen:
  10697. description: 公司名称(英文)
  10698. type: string
  10699. contactname:
  10700. description: 联系人姓名
  10701. type: string
  10702. contactphoneno:
  10703. description: 联系人电话
  10704. type: string
  10705. contactposition:
  10706. description: 联系人职位
  10707. type: string
  10708. createtime:
  10709. description: 创建时间
  10710. type: string
  10711. email:
  10712. description: 邮箱
  10713. type: string
  10714. executestatus:
  10715. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10716. type: integer
  10717. gzcjaccount:
  10718. description: 送检账户
  10719. type: string
  10720. gzcjaccounttype:
  10721. description: 检测账户类型 - 枚举"GZCJAccountType"
  10722. type: integer
  10723. gzcjcategorytype:
  10724. description: 货物品类 - 枚举"GZCJCategoryType"
  10725. type: integer
  10726. gzcjcategorytypedisplay:
  10727. description: 货物品类
  10728. type: string
  10729. gzcjdeliverytype:
  10730. description: 收货方式 - 枚举"GZCJDeliveryType"
  10731. type: integer
  10732. gzcjdeliverytypedisplay:
  10733. description: 收货方式
  10734. type: string
  10735. gzcjstatus:
  10736. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10737. type: integer
  10738. gzcjstatusdisplay:
  10739. description: 单据状态(出境检测)
  10740. type: string
  10741. handlestatus:
  10742. description: 处理状态
  10743. type: integer
  10744. invoiceremark:
  10745. description: 复核备注 - 发票装箱单使用
  10746. type: string
  10747. orderid:
  10748. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10749. type: integer
  10750. orderno:
  10751. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10752. type: string
  10753. ordersn:
  10754. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10755. type: string
  10756. origincountry:
  10757. description: 原产国
  10758. type: string
  10759. processingcountry:
  10760. description: 成品钻石加工国
  10761. type: string
  10762. realservicefee:
  10763. description: 应收综合服务费
  10764. type: number
  10765. servicefeesum:
  10766. description: 汇总综合服务费 - 明细上值汇总
  10767. type: number
  10768. settleamount:
  10769. description: 总结算费用
  10770. type: number
  10771. shaperange:
  10772. description: 形状范围
  10773. type: string
  10774. totalamount:
  10775. description: 总金额(美元)
  10776. type: number
  10777. totalgrossweight:
  10778. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10779. * 200
  10780. type: number
  10781. totalnumber:
  10782. description: 总粒数
  10783. type: integer
  10784. totalweight:
  10785. description: 总克拉数(保留3位小数)
  10786. type: number
  10787. totalweightgm:
  10788. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10789. type: number
  10790. userid:
  10791. description: 用户ID
  10792. type: integer
  10793. weightrange:
  10794. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10795. type: string
  10796. zsorigin:
  10797. description: 天然钻石毛坯原产地
  10798. type: string
  10799. required:
  10800. - userid
  10801. type: object
  10802. models.GzcjjcorderdetailM:
  10803. properties:
  10804. amount:
  10805. description: 参考货值(USD)
  10806. type: number
  10807. colorinfo:
  10808. description: 彩钻信息
  10809. type: string
  10810. createtime:
  10811. description: 创建时间
  10812. type: string
  10813. gzcjmarktype:
  10814. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10815. type: integer
  10816. gzcjpublishtype:
  10817. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10818. type: integer
  10819. gzcjpublishtypestring:
  10820. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10821. type: string
  10822. gzcjservicetype:
  10823. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10824. type: integer
  10825. gzcjservicetypestring:
  10826. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10827. type: string
  10828. gzcjshapetype:
  10829. description: 形状 - 枚举"GZCJShapeType"
  10830. type: integer
  10831. gzcjshapetypestring:
  10832. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10833. type: string
  10834. gzno:
  10835. description: 货物编号
  10836. type: string
  10837. orderdetailid:
  10838. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10839. type: integer
  10840. orderid:
  10841. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10842. type: integer
  10843. orderindex:
  10844. description: 顺序
  10845. type: integer
  10846. origincertno:
  10847. description: 原证书号【送检账户为“广钻账户”】
  10848. type: string
  10849. remark:
  10850. description: 备注(其它)
  10851. type: string
  10852. servicefee:
  10853. description: 综合服务费 - 根据市场配置计算
  10854. type: number
  10855. weight:
  10856. description: 重量(CT)
  10857. type: number
  10858. type: object
  10859. models.Gzrapaportprice:
  10860. properties:
  10861. dollar:
  10862. description: 美元
  10863. type: string
  10864. rmb:
  10865. description: 人民币
  10866. type: string
  10867. type: object
  10868. models.Hedgeinnerholderdetail:
  10869. properties:
  10870. accountid:
  10871. description: 账号ID
  10872. type: integer
  10873. buyorsell:
  10874. description: 方向 - 0:买 1:卖
  10875. type: integer
  10876. freezeqty:
  10877. description: 冻结数量 - 按单平使用
  10878. type: integer
  10879. goodsid:
  10880. description: 商品ID
  10881. type: integer
  10882. holderamount:
  10883. description: 持仓金额 [商品币种]
  10884. type: number
  10885. holderdays:
  10886. description: 剩余冻结天数
  10887. type: integer
  10888. holderprice:
  10889. description: 持仓价格
  10890. type: number
  10891. holderqty:
  10892. description: 持仓数量
  10893. type: integer
  10894. marketid:
  10895. description: 市场ID
  10896. type: integer
  10897. openprice:
  10898. description: 建仓价格
  10899. type: number
  10900. openqty:
  10901. description: 建仓数量
  10902. type: integer
  10903. parentaccountid:
  10904. description: 所属母账户
  10905. type: integer
  10906. releaseamount:
  10907. description: 释放持仓金额[商品币种]
  10908. type: number
  10909. tradeamount:
  10910. description: 成交金额[账户]
  10911. type: number
  10912. tradedate:
  10913. description: 交易日(yyyyMMdd)
  10914. type: string
  10915. tradeid:
  10916. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10917. type: string
  10918. tradetime:
  10919. description: 交易时间
  10920. type: string
  10921. required:
  10922. - buyorsell
  10923. - tradeid
  10924. type: object
  10925. models.Hedgemarketopenlog:
  10926. properties:
  10927. accountid:
  10928. description: 资金账号[外部母账户]
  10929. type: integer
  10930. fcname:
  10931. description: 期货公司名称
  10932. type: string
  10933. handlestatus:
  10934. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10935. type: integer
  10936. marketid:
  10937. description: 市场ID
  10938. type: integer
  10939. status:
  10940. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10941. type: integer
  10942. tradedate:
  10943. description: 交易日(yyyyMMdd)
  10944. type: string
  10945. updatetime:
  10946. description: 更新时间
  10947. type: string
  10948. required:
  10949. - accountid
  10950. type: object
  10951. models.HistoryData:
  10952. properties:
  10953. c:
  10954. description: 收盘价
  10955. type: number
  10956. f:
  10957. description: 是否补充数据
  10958. type: boolean
  10959. h:
  10960. description: 最高价
  10961. type: number
  10962. hv:
  10963. description: 持仓量
  10964. type: integer
  10965. l:
  10966. description: 最低价
  10967. type: number
  10968. o:
  10969. description: 开盘价
  10970. type: number
  10971. s:
  10972. description: 结算价,日线周期(包括)以上才有
  10973. type: number
  10974. ts:
  10975. description: 时间
  10976. type: string
  10977. tt:
  10978. description: 总金额
  10979. type: number
  10980. tv:
  10981. description: 总量(成交量)
  10982. type: integer
  10983. type: object
  10984. models.HsbyBuyMyPayOrder:
  10985. properties:
  10986. agreeunit:
  10987. description: 合约单位
  10988. type: number
  10989. buyaccountid:
  10990. description: 买方账号ID[报价币种]
  10991. type: integer
  10992. buyorderid:
  10993. description: 买方委托单号
  10994. type: string
  10995. createtime:
  10996. description: 创建时间
  10997. type: string
  10998. currencysign:
  10999. description: 货币符号
  11000. type: string
  11001. decimalplace:
  11002. description: 报价小数位
  11003. type: integer
  11004. goodscode:
  11005. description: 商品代码(内部)
  11006. type: string
  11007. goodsid:
  11008. description: 商品ID
  11009. type: integer
  11010. goodsname:
  11011. description: 商品名称
  11012. type: string
  11013. marketid:
  11014. description: 市场ID
  11015. type: integer
  11016. offamount:
  11017. description: 优惠金额
  11018. type: number
  11019. originalamount:
  11020. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  11021. type: number
  11022. payamount:
  11023. description: 支付金额 = TradeAmount + TradeCharge
  11024. type: number
  11025. payflag:
  11026. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11027. type: integer
  11028. paylimitedtime:
  11029. description: 支付期限
  11030. type: string
  11031. paytime:
  11032. description: 付款时间
  11033. type: string
  11034. picurls1:
  11035. description: 预售商品介绍图片[多张用逗号分隔]
  11036. type: string
  11037. picurls2:
  11038. description: 挂牌商品介绍图片[多张用逗号分隔]
  11039. type: string
  11040. sellaccountid:
  11041. description: 卖方账号ID[报价币种]
  11042. type: integer
  11043. sellorderid:
  11044. description: 卖方委托单号
  11045. type: string
  11046. tradeamount:
  11047. description: 成交金额
  11048. type: number
  11049. tradecharge:
  11050. description: 成交手续费(买方)
  11051. type: number
  11052. tradedate:
  11053. description: 交易日(yyyyMMdd)
  11054. type: string
  11055. tradeid:
  11056. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11057. type: string
  11058. trademode:
  11059. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11060. 21:竞拍-大宗式 22:受托竞价
  11061. type: integer
  11062. tradeprice:
  11063. description: 成交价格
  11064. type: number
  11065. tradeqty:
  11066. description: 成交数量
  11067. type: integer
  11068. vendorname1:
  11069. description: 预售商品供应商名称
  11070. type: string
  11071. vendorname2:
  11072. description: 挂牌商品供应商名称
  11073. type: string
  11074. required:
  11075. - goodscode
  11076. - goodsname
  11077. - tradeid
  11078. - trademode
  11079. type: object
  11080. models.HsbyBuyMyTradeDetail:
  11081. properties:
  11082. accountid:
  11083. description: 账户ID[报价币种]
  11084. type: integer
  11085. agreeunit:
  11086. description: 合约单位
  11087. type: number
  11088. amount:
  11089. description: 金额 = 价格 * 数量 * 合约单位
  11090. type: number
  11091. buyorsell:
  11092. description: 买卖 - 0:买 1:卖
  11093. type: integer
  11094. currencysign:
  11095. description: 货币符号
  11096. type: string
  11097. decimalplace:
  11098. description: 报价小数位
  11099. type: integer
  11100. goodscode:
  11101. description: 商品代码(内部)
  11102. type: string
  11103. goodsid:
  11104. description: 商品ID
  11105. type: integer
  11106. goodsname:
  11107. description: 商品名称
  11108. type: string
  11109. marketid:
  11110. description: 市场ID
  11111. type: integer
  11112. orderamount:
  11113. description: 委托金额
  11114. type: number
  11115. orderid:
  11116. description: 单号(成交单号)
  11117. type: string
  11118. picurls1:
  11119. description: 预售商品介绍图片[多张用逗号分隔]
  11120. type: string
  11121. picurls2:
  11122. description: 挂牌商品介绍图片[多张用逗号分隔]
  11123. type: string
  11124. price:
  11125. description: 价格
  11126. type: number
  11127. qty:
  11128. description: 数量
  11129. type: integer
  11130. time:
  11131. description: 时间
  11132. type: string
  11133. trademode:
  11134. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11135. 21:竞拍-大宗式 22:受托竞价
  11136. type: integer
  11137. vendorname1:
  11138. description: 预售商品供应商名称
  11139. type: string
  11140. vendorname2:
  11141. description: 挂牌商品供应商名称
  11142. type: string
  11143. required:
  11144. - accountid
  11145. - buyorsell
  11146. - goodscode
  11147. - goodsid
  11148. - goodsname
  11149. - marketid
  11150. - orderid
  11151. - qty
  11152. - time
  11153. - trademode
  11154. type: object
  11155. models.HsbyGoodsOrderDetail:
  11156. properties:
  11157. buyorsell:
  11158. description: 买卖 - 0:买 1:卖
  11159. type: integer
  11160. currencysign:
  11161. description: 货币符号
  11162. type: string
  11163. customername:
  11164. description: 客户名称(企业名称),已脱敏
  11165. type: string
  11166. enableqty:
  11167. description: 可用数量
  11168. type: integer
  11169. goodunit:
  11170. description: 报价单位
  11171. type: string
  11172. orderid:
  11173. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11174. type: string
  11175. orderprice:
  11176. description: 委托价格
  11177. type: number
  11178. ordertime:
  11179. description: 委托时间
  11180. type: string
  11181. required:
  11182. - buyorsell
  11183. - orderid
  11184. - ordertime
  11185. type: object
  11186. models.HsbyListingGoodsDetail:
  11187. properties:
  11188. agreeunit:
  11189. description: 合约单位
  11190. type: number
  11191. buymaxqty:
  11192. description: 购买上限 [71] - 0为不限
  11193. type: integer
  11194. currency:
  11195. description: 货币
  11196. type: string
  11197. currencysign:
  11198. description: 货币符号
  11199. type: string
  11200. decimalplace:
  11201. description: 报价小数位
  11202. type: integer
  11203. desccityid:
  11204. description: 目的地(市)ID
  11205. type: integer
  11206. descprovinceid:
  11207. description: 目的地(省)ID
  11208. type: integer
  11209. goodscode:
  11210. description: 商品代码(内部)
  11211. type: string
  11212. goodsdesc:
  11213. description: 商品详情
  11214. type: string
  11215. goodsid:
  11216. description: 商品ID(自增ID SEQ_GOODS)
  11217. type: integer
  11218. goodsname:
  11219. description: 商品名称
  11220. type: string
  11221. goodsprice:
  11222. description: 商品价格
  11223. type: number
  11224. hotindex:
  11225. description: 景点热度
  11226. type: integer
  11227. last:
  11228. description: 现价
  11229. type: number
  11230. limitdown:
  11231. description: 跌停价
  11232. type: number
  11233. limitup:
  11234. description: 涨停价
  11235. type: number
  11236. lotsize:
  11237. description: 手数最小变动单位
  11238. type: integer
  11239. marketid:
  11240. description: 所属市场ID
  11241. type: integer
  11242. picurls:
  11243. description: 介绍图片[多张用逗号分隔]
  11244. type: string
  11245. quoteminunit:
  11246. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11247. type: integer
  11248. stepvalue:
  11249. description: 价格最小变动单位
  11250. type: number
  11251. trademode:
  11252. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11253. 21:竞拍-大宗式 22:受托竞价
  11254. type: integer
  11255. vendorattr:
  11256. description: 供应商附件(多张,逗号分隔)
  11257. type: string
  11258. vendorname:
  11259. description: 供应商名称
  11260. type: string
  11261. vendorphone:
  11262. description: 供应商客服电话
  11263. type: string
  11264. videourls:
  11265. description: 介绍视频[多张用逗号分隔]
  11266. type: string
  11267. required:
  11268. - goodscode
  11269. - goodsid
  11270. - goodsname
  11271. - marketid
  11272. - trademode
  11273. type: object
  11274. models.HsbyMarketGoods:
  11275. properties:
  11276. accountid:
  11277. description: 账户ID[报价币种]
  11278. type: integer
  11279. agreeunit:
  11280. description: 合约单位
  11281. type: number
  11282. buyorsell:
  11283. description: 买卖 - 0:买 1:卖
  11284. type: integer
  11285. categoryid:
  11286. description: 类别ID(WRCATEGORY)
  11287. type: integer
  11288. currency:
  11289. description: 货币
  11290. type: string
  11291. currencysign:
  11292. description: 货币符号
  11293. type: string
  11294. customername:
  11295. description: 卖家名称
  11296. type: string
  11297. decimalplace:
  11298. description: 报价小数位
  11299. type: integer
  11300. goodscode:
  11301. description: 商品代码(内部)
  11302. type: string
  11303. goodsid:
  11304. description: 商品ID
  11305. type: integer
  11306. goodsname:
  11307. description: 商品名称
  11308. type: string
  11309. goodsprice:
  11310. description: 商品价格
  11311. type: number
  11312. hascoupon:
  11313. description: 是否可用优惠卷
  11314. type: boolean
  11315. hotindex:
  11316. description: 景点热度
  11317. type: integer
  11318. marketid:
  11319. description: 市场ID
  11320. type: integer
  11321. orderid:
  11322. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11323. type: string
  11324. orderprice:
  11325. description: 委托价格
  11326. type: number
  11327. orderstatus:
  11328. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11329. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11330. 16:成交失败违约(荷兰式竞拍专用)
  11331. type: integer
  11332. picurls:
  11333. description: 介绍图片[多张用逗号分隔]
  11334. type: string
  11335. quoteminunit:
  11336. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11337. type: integer
  11338. sellUserID:
  11339. description: 卖方UserID
  11340. type: integer
  11341. trademode:
  11342. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11343. 21:竞拍-大宗式 22:受托竞价
  11344. type: integer
  11345. videourls:
  11346. description: 介绍视频[多张用逗号分隔]
  11347. type: string
  11348. required:
  11349. - accountid
  11350. - buyorsell
  11351. - goodscode
  11352. - goodsid
  11353. - goodsname
  11354. - marketid
  11355. - orderid
  11356. - trademode
  11357. type: object
  11358. models.HsbyMarketGoodsDetail:
  11359. properties:
  11360. accountid:
  11361. description: 账户ID[报价币种]
  11362. type: integer
  11363. agreeunit:
  11364. description: 合约单位
  11365. type: number
  11366. buymaxqty:
  11367. description: 购买上限 [71] - 0为不限
  11368. type: integer
  11369. buyorsell:
  11370. description: 买卖 - 0:买 1:卖
  11371. type: integer
  11372. cancelqty:
  11373. description: 撤单数量
  11374. type: integer
  11375. categoryid:
  11376. description: 类别ID(WRCATEGORY)
  11377. type: integer
  11378. currency:
  11379. description: 货币
  11380. type: string
  11381. currencysign:
  11382. description: 货币符号
  11383. type: string
  11384. customername:
  11385. description: 卖家名称
  11386. type: string
  11387. decimalplace:
  11388. description: 报价小数位
  11389. type: integer
  11390. goodscode:
  11391. description: 商品代码(内部)
  11392. type: string
  11393. goodsdesc:
  11394. description: 商品详情
  11395. type: string
  11396. goodsid:
  11397. description: 商品ID
  11398. type: integer
  11399. goodsname:
  11400. description: 商品名称
  11401. type: string
  11402. goodsprice:
  11403. description: 商品价格
  11404. type: number
  11405. hotindex:
  11406. description: 景点热度
  11407. type: integer
  11408. lotsize:
  11409. description: 手数最小变动单位
  11410. type: integer
  11411. marketid:
  11412. description: 市场ID
  11413. type: integer
  11414. orderid:
  11415. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11416. type: string
  11417. orderprice:
  11418. description: 委托价格
  11419. type: number
  11420. orderqty:
  11421. description: 委托数量
  11422. type: integer
  11423. orderstatus:
  11424. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11425. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11426. 16:成交失败违约(荷兰式竞拍专用)
  11427. type: integer
  11428. picurls:
  11429. description: 介绍图片[多张用逗号分隔]
  11430. type: string
  11431. quoteminunit:
  11432. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11433. type: integer
  11434. sellUserID:
  11435. description: 卖方UserID
  11436. type: integer
  11437. trademode:
  11438. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11439. 21:竞拍-大宗式 22:受托竞价
  11440. type: integer
  11441. tradeqty:
  11442. description: 成交数量
  11443. type: integer
  11444. vendorattr:
  11445. description: 供应商附件(多张,逗号分隔)
  11446. type: string
  11447. vendorname:
  11448. description: 供应商名称
  11449. type: string
  11450. vendorphone:
  11451. description: 供应商客服电话
  11452. type: string
  11453. videourls:
  11454. description: 介绍视频[多张用逗号分隔]
  11455. type: string
  11456. required:
  11457. - accountid
  11458. - buyorsell
  11459. - goodscode
  11460. - goodsid
  11461. - goodsname
  11462. - marketid
  11463. - orderid
  11464. - orderqty
  11465. - trademode
  11466. type: object
  11467. models.HsbyMarketInfo:
  11468. properties:
  11469. marketid:
  11470. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11471. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11472. type: integer
  11473. marketname:
  11474. description: 市场名称
  11475. type: string
  11476. marketstatus:
  11477. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11478. type: integer
  11479. trademode:
  11480. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11481. 21:竞拍-大宗式 22:受托竞价
  11482. type: integer
  11483. required:
  11484. - marketid
  11485. - marketstatus
  11486. - trademode
  11487. type: object
  11488. models.HsbyMyGoods:
  11489. properties:
  11490. accountid:
  11491. description: 账号Id
  11492. type: integer
  11493. agreeunit:
  11494. description: 合约单位
  11495. type: number
  11496. buyaverageprice:
  11497. description: 持仓均价
  11498. type: number
  11499. buycurholderamount:
  11500. description: 买当前持仓总金额[商品币种]
  11501. type: number
  11502. buycurpositionqty:
  11503. description: 买当前持仓总数量
  11504. type: integer
  11505. buymaxqty:
  11506. description: 购买上限 [71] - 0为不限
  11507. type: integer
  11508. currencysign:
  11509. description: 货币符号
  11510. type: string
  11511. decimalplace:
  11512. description: 报价小数位
  11513. type: integer
  11514. enableqty:
  11515. description: 可用数量
  11516. type: integer
  11517. goodscode:
  11518. description: 商品代码(内部)
  11519. type: string
  11520. goodsid:
  11521. description: 商品Id
  11522. type: integer
  11523. goodsname:
  11524. description: 商品名称
  11525. type: string
  11526. goodsprice:
  11527. description: 商品价格
  11528. type: number
  11529. goodsstatus:
  11530. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  11531. type: integer
  11532. last:
  11533. description: 现价(仅使用于挂牌点选)
  11534. type: number
  11535. limitdown:
  11536. description: 跌停价(仅使用于挂牌点选)
  11537. type: number
  11538. limitup:
  11539. description: 涨停价(仅使用于挂牌点选)
  11540. type: number
  11541. lotsize:
  11542. description: 手数最小变动单位
  11543. type: integer
  11544. marketid:
  11545. description: 所属市场ID
  11546. type: integer
  11547. picurls:
  11548. description: 介绍图片[多张用逗号分隔]
  11549. type: string
  11550. quoteminunit:
  11551. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11552. type: integer
  11553. stepvalue:
  11554. description: 价格最小变动单位
  11555. type: number
  11556. trademode:
  11557. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11558. 21:竞拍-大宗式 22:受托竞价
  11559. type: integer
  11560. required:
  11561. - accountid
  11562. - goodscode
  11563. - goodsid
  11564. - goodsname
  11565. - marketid
  11566. - trademode
  11567. type: object
  11568. models.HsbyMyPackage:
  11569. properties:
  11570. accountid:
  11571. description: 账户ID
  11572. type: integer
  11573. address:
  11574. description: 提货人详细地址
  11575. type: string
  11576. agreeunit:
  11577. description: 合约单位
  11578. type: number
  11579. amount:
  11580. description: 提货金额
  11581. type: number
  11582. auditer:
  11583. description: 审核人
  11584. type: integer
  11585. audittime:
  11586. description: 审核时间
  11587. type: string
  11588. averageprice:
  11589. description: 均价
  11590. type: number
  11591. cardnum:
  11592. description: 提货人证件号码
  11593. type: string
  11594. cardtypeid:
  11595. description: 提货人证件类型
  11596. type: integer
  11597. checkremark:
  11598. description: 审核备注
  11599. type: string
  11600. currencysign:
  11601. description: 货币符号
  11602. type: string
  11603. decimalplace:
  11604. description: 报价小数位
  11605. type: integer
  11606. goodscode:
  11607. description: 商品代码(内部)
  11608. type: string
  11609. goodsid:
  11610. description: 商品ID
  11611. type: integer
  11612. goodsname:
  11613. description: 商品名称
  11614. type: string
  11615. handlestatus:
  11616. description: 处理状态
  11617. type: integer
  11618. marketid:
  11619. description: 市场ID
  11620. type: integer
  11621. phonenum:
  11622. description: 提货人联系方式
  11623. type: string
  11624. picurls:
  11625. description: 介绍图片[多张用逗号分隔]
  11626. type: string
  11627. qty:
  11628. description: 提货数量
  11629. type: number
  11630. recivername:
  11631. description: 提货人姓名
  11632. type: string
  11633. reqtime:
  11634. description: 更新时间
  11635. type: string
  11636. takemode:
  11637. description: 提货方式 - 2:自提 3:配送
  11638. type: integer
  11639. takeorderid:
  11640. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11641. type: string
  11642. takeorderstatus:
  11643. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11644. type: integer
  11645. takeremark:
  11646. description: 提货备注
  11647. type: string
  11648. tradedate:
  11649. description: 交易日(yyyyMMdd)
  11650. type: string
  11651. trademode:
  11652. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11653. 21:竞拍-大宗式 22:受托竞价
  11654. type: integer
  11655. userid:
  11656. description: 用户ID
  11657. type: integer
  11658. vendorname:
  11659. description: 供应商名称
  11660. type: string
  11661. required:
  11662. - goodscode
  11663. - goodsname
  11664. - takeorderid
  11665. - trademode
  11666. type: object
  11667. models.HsbyPreGoods:
  11668. properties:
  11669. agreeunit:
  11670. description: 合约单位
  11671. type: number
  11672. currency:
  11673. description: 货币
  11674. type: string
  11675. currencysign:
  11676. description: 货币符号
  11677. type: string
  11678. decimalplace:
  11679. description: 报价小数位
  11680. type: integer
  11681. desccityid:
  11682. description: 目的地(市)
  11683. type: integer
  11684. descprovinceid:
  11685. description: 目的地(省)
  11686. type: integer
  11687. enableqty:
  11688. description: 剩余数量
  11689. type: integer
  11690. goodscode:
  11691. description: 商品代码(内部)
  11692. type: string
  11693. goodsid:
  11694. description: 商品ID(自增ID SEQ_GOODS)
  11695. type: integer
  11696. goodsname:
  11697. description: 商品名称
  11698. type: string
  11699. goodsstatus:
  11700. description: 商品状态- 2:未上市 3:上市
  11701. type: integer
  11702. lasttradedate:
  11703. description: 最后交易日期(状态:待退市)
  11704. type: string
  11705. listingdate:
  11706. description: 交易开始日期
  11707. type: string
  11708. marketid:
  11709. description: 所属市场ID
  11710. type: integer
  11711. picurls:
  11712. description: 介绍图片[多张用逗号分隔]
  11713. type: string
  11714. presaledqty:
  11715. description: 已预售量(预售结束时更新)
  11716. type: integer
  11717. presaleqty:
  11718. description: 预售数量
  11719. type: integer
  11720. quoteminunit:
  11721. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11722. type: integer
  11723. refprice:
  11724. description: 参考价格[一口价]
  11725. type: number
  11726. relatedgoodsid:
  11727. description: 关联交易合约ID
  11728. type: integer
  11729. trademode:
  11730. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11731. 21:竞拍-大宗式 22:受托竞价
  11732. type: integer
  11733. videourls:
  11734. description: 介绍视频[多张用逗号分隔]
  11735. type: string
  11736. required:
  11737. - goodscode
  11738. - goodsid
  11739. - goodsname
  11740. - marketid
  11741. - trademode
  11742. type: object
  11743. models.HsbyPreGoodsDetail:
  11744. properties:
  11745. agreeunit:
  11746. description: 合约单位
  11747. type: number
  11748. buymaxqty:
  11749. description: 购买上限 [71] - 0为不限
  11750. type: integer
  11751. currency:
  11752. description: 货币
  11753. type: string
  11754. currencysign:
  11755. description: 货币符号
  11756. type: string
  11757. customername:
  11758. description: 发行单位
  11759. type: string
  11760. decimalplace:
  11761. description: 报价小数位
  11762. type: integer
  11763. desccityid:
  11764. description: 目的地(市)ID
  11765. type: integer
  11766. descprovinceid:
  11767. description: 目的地(省)ID
  11768. type: integer
  11769. enableqty:
  11770. description: 剩余数量
  11771. type: integer
  11772. goodscode:
  11773. description: 商品代码(内部)
  11774. type: string
  11775. goodsdesc:
  11776. description: 商品详情
  11777. type: string
  11778. goodsid:
  11779. description: 商品ID(自增ID SEQ_GOODS)
  11780. type: integer
  11781. goodsname:
  11782. description: 商品名称
  11783. type: string
  11784. goodsstatus:
  11785. description: 商品状态- 2:未上市 3:上市
  11786. type: integer
  11787. goodunit:
  11788. description: 报价单位
  11789. type: string
  11790. lasttradedate:
  11791. description: 最后交易日期(状态:待退市)
  11792. type: string
  11793. listingdate:
  11794. description: 交易开始日期
  11795. type: string
  11796. lotsize:
  11797. description: 手数最小变动单位
  11798. type: integer
  11799. marketid:
  11800. description: 所属市场ID
  11801. type: integer
  11802. picurls:
  11803. description: 介绍图片[多张用逗号分隔]
  11804. type: string
  11805. presaledqty:
  11806. description: 已预售量(预售结束时更新)
  11807. type: integer
  11808. presaleqty:
  11809. description: 预售数量
  11810. type: integer
  11811. quoteminunit:
  11812. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11813. type: integer
  11814. refprice:
  11815. description: 参考价格[一口价]
  11816. type: number
  11817. relatedgoodsid:
  11818. description: 关联交易合约ID
  11819. type: integer
  11820. stepvalue:
  11821. description: 价格最小变动单位
  11822. type: number
  11823. trademode:
  11824. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11825. 21:竞拍-大宗式 22:受托竞价
  11826. type: integer
  11827. vendorattr:
  11828. description: 供应商附件(多张,逗号分隔)
  11829. type: string
  11830. vendorname:
  11831. description: 供应商名称
  11832. type: string
  11833. vendorphone:
  11834. description: 供应商客服电话
  11835. type: string
  11836. videourls:
  11837. description: 介绍视频[多张用逗号分隔]
  11838. type: string
  11839. required:
  11840. - goodscode
  11841. - goodsid
  11842. - goodsname
  11843. - marketid
  11844. - trademode
  11845. type: object
  11846. models.HsbySellCollectionOrder:
  11847. properties:
  11848. agreeunit:
  11849. description: 合约单位
  11850. type: number
  11851. buyaccountid:
  11852. description: 买方账号ID[报价币种]
  11853. type: integer
  11854. buyorderid:
  11855. description: 买方委托单号
  11856. type: string
  11857. createtime:
  11858. description: 创建时间
  11859. type: string
  11860. currencysign:
  11861. description: 货币符号
  11862. type: string
  11863. decimalplace:
  11864. description: 报价小数位
  11865. type: integer
  11866. goodscode:
  11867. description: 商品代码(内部)
  11868. type: string
  11869. goodsid:
  11870. description: 商品ID
  11871. type: integer
  11872. goodsname:
  11873. description: 商品名称
  11874. type: string
  11875. marketid:
  11876. description: 市场ID
  11877. type: integer
  11878. offamount:
  11879. description: 优惠金额
  11880. type: number
  11881. payamount:
  11882. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  11883. type: number
  11884. payflag:
  11885. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11886. type: integer
  11887. paylimitedtime:
  11888. description: 支付期限
  11889. type: string
  11890. paytime:
  11891. description: 付款时间
  11892. type: string
  11893. picurls:
  11894. description: 商品介绍图片[多张用逗号分隔]
  11895. type: string
  11896. sellaccountid:
  11897. description: 卖方账号ID[报价币种]
  11898. type: integer
  11899. sellorderid:
  11900. description: 卖方委托单号
  11901. type: string
  11902. tradeamount:
  11903. description: 成交金额
  11904. type: number
  11905. tradecharge:
  11906. description: 成交手续费(买方)
  11907. type: number
  11908. tradedate:
  11909. description: 交易日(yyyyMMdd)
  11910. type: string
  11911. tradeid:
  11912. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11913. type: string
  11914. trademode:
  11915. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11916. 21:竞拍-大宗式 22:受托竞价
  11917. type: integer
  11918. tradeprice:
  11919. description: 成交价格
  11920. type: number
  11921. tradeqty:
  11922. description: 成交数量
  11923. type: integer
  11924. required:
  11925. - goodscode
  11926. - goodsname
  11927. - tradeid
  11928. - trademode
  11929. type: object
  11930. models.HsbySellMyDetail:
  11931. properties:
  11932. accountid:
  11933. description: 账户ID[报价币种]
  11934. type: integer
  11935. agreeunit:
  11936. description: 合约单位
  11937. type: number
  11938. buyorsell:
  11939. description: 买卖 - 0:买 1:卖
  11940. type: integer
  11941. currencysign:
  11942. description: 货币符号
  11943. type: string
  11944. decimalplace:
  11945. description: 报价小数位
  11946. type: integer
  11947. goodscode:
  11948. description: 商品代码(内部)
  11949. type: string
  11950. goodsid:
  11951. description: 商品ID
  11952. type: integer
  11953. goodsname:
  11954. description: 商品名称
  11955. type: string
  11956. marketid:
  11957. description: 市场ID
  11958. type: integer
  11959. orderid:
  11960. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  11961. type: string
  11962. ordertype:
  11963. description: 单据类型:0 - 发布中, 1 - 已完成
  11964. type: integer
  11965. picurls:
  11966. description: 介绍图片[多张用逗号分隔]
  11967. type: string
  11968. price:
  11969. description: 价格
  11970. type: number
  11971. qty:
  11972. description: 数量
  11973. type: integer
  11974. time:
  11975. description: 时间
  11976. type: string
  11977. trademode:
  11978. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11979. 21:竞拍-大宗式 22:受托竞价
  11980. type: integer
  11981. vendorname:
  11982. description: 供应商名称
  11983. type: string
  11984. required:
  11985. - accountid
  11986. - buyorsell
  11987. - goodscode
  11988. - goodsid
  11989. - goodsname
  11990. - marketid
  11991. - orderid
  11992. - time
  11993. - trademode
  11994. type: object
  11995. models.HsbyTopGoods:
  11996. properties:
  11997. agreeunit:
  11998. description: 合约单位
  11999. type: number
  12000. currency:
  12001. description: 货币
  12002. type: string
  12003. currencysign:
  12004. description: 货币符号
  12005. type: string
  12006. decimalplace:
  12007. description: 报价小数位
  12008. type: integer
  12009. desccityid:
  12010. description: 目的地(市)
  12011. type: integer
  12012. descprovinceid:
  12013. description: 目的地(省)
  12014. type: integer
  12015. goodscode:
  12016. description: 商品代码(内部)
  12017. type: string
  12018. goodsid:
  12019. description: 商品ID(自增ID SEQ_GOODS)
  12020. type: integer
  12021. goodsname:
  12022. description: 商品名称
  12023. type: string
  12024. hotindex:
  12025. description: 景点热度
  12026. type: integer
  12027. last:
  12028. description: 现价
  12029. type: number
  12030. marketid:
  12031. description: 所属市场ID
  12032. type: integer
  12033. picurls:
  12034. description: 介绍图片[多张用逗号分隔]
  12035. type: string
  12036. quoteminunit:
  12037. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12038. type: integer
  12039. trademode:
  12040. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12041. 21:竞拍-大宗式 22:受托竞价
  12042. type: integer
  12043. videourls:
  12044. description: 介绍视频[多张用逗号分隔]
  12045. type: string
  12046. required:
  12047. - goodscode
  12048. - goodsid
  12049. - goodsname
  12050. - marketid
  12051. - trademode
  12052. type: object
  12053. models.HybsMyBuyOrderDetail:
  12054. properties:
  12055. accountid:
  12056. description: 账户ID[报价币种]
  12057. type: integer
  12058. agreeunit:
  12059. description: 合约单位
  12060. type: number
  12061. buyorsell:
  12062. description: 买卖 - 0:买 1:卖
  12063. type: integer
  12064. cancelqty:
  12065. description: 撤单数量
  12066. type: integer
  12067. currencysign:
  12068. description: 货币符号
  12069. type: string
  12070. decimalplace:
  12071. description: 报价小数位
  12072. type: integer
  12073. goodscode:
  12074. description: 商品代码(内部)
  12075. type: string
  12076. goodsid:
  12077. description: 商品ID
  12078. type: integer
  12079. goodsname:
  12080. description: 商品名称
  12081. type: string
  12082. listingselecttype:
  12083. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12084. type: integer
  12085. marketid:
  12086. description: 市场ID
  12087. type: integer
  12088. mybuystatus:
  12089. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  12090. type: integer
  12091. orderamount:
  12092. description: 委托金额
  12093. type: number
  12094. orderid:
  12095. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12096. type: string
  12097. orderprice:
  12098. description: 委托价格
  12099. type: number
  12100. orderqty:
  12101. description: 委托数量
  12102. type: integer
  12103. orderstatus:
  12104. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12105. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12106. 16:成交失败违约(荷兰式竞拍专用)
  12107. type: integer
  12108. ordertime:
  12109. description: 委托时间
  12110. type: string
  12111. picurls1:
  12112. description: 预售商品介绍图片[多张用逗号分隔]
  12113. type: string
  12114. picurls2:
  12115. description: 挂牌商品介绍图片[多张用逗号分隔]
  12116. type: string
  12117. trademode:
  12118. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12119. 21:竞拍-大宗式 22:受托竞价
  12120. type: integer
  12121. tradeqty:
  12122. description: 成交数量
  12123. type: integer
  12124. vendorname1:
  12125. description: 预售商品供应商名称
  12126. type: string
  12127. vendorname2:
  12128. description: 挂牌商品供应商名称
  12129. type: string
  12130. required:
  12131. - accountid
  12132. - buyorsell
  12133. - goodscode
  12134. - goodsid
  12135. - goodsname
  12136. - marketid
  12137. - orderid
  12138. - orderqty
  12139. - ordertime
  12140. - trademode
  12141. type: object
  12142. models.InternalEnableTradeDetail:
  12143. properties:
  12144. agreeunit:
  12145. description: 合约乘数
  12146. type: number
  12147. areauserid:
  12148. description: 企业ID
  12149. type: integer
  12150. convertratio:
  12151. description: 品种系数
  12152. type: number
  12153. deliverygoodscode:
  12154. description: 现货品种代码
  12155. type: string
  12156. deliverygoodsid:
  12157. description: 现货品种ID(SEQ_DELIVERYGOODS)
  12158. type: integer
  12159. deliverygoodsname:
  12160. description: 现货品种名称
  12161. type: string
  12162. futurehedgeqty:
  12163. description: '[已关联数量]期货持仓套期量'
  12164. type: number
  12165. goodsid:
  12166. description: 期货合约ID
  12167. type: integer
  12168. hedgeditemid:
  12169. description: 被套期项目ID
  12170. type: string
  12171. hedgeditemnum:
  12172. description: 项目编号
  12173. type: string
  12174. tradeuserid:
  12175. description: 交易用户ID
  12176. type: integer
  12177. unexehedgeqty:
  12178. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  12179. type: number
  12180. unexespotqty:
  12181. description: 未执行现货量
  12182. type: number
  12183. wrstandardcode:
  12184. description: 现货品类代码
  12185. type: string
  12186. wrstandardid:
  12187. description: 现货品类ID(SEQ_WRSTANDARD)
  12188. type: integer
  12189. wrstandardname:
  12190. description: 现货品类名称
  12191. type: string
  12192. required:
  12193. - areauserid
  12194. - goodsid
  12195. - tradeuserid
  12196. type: object
  12197. models.InternalUncorrelatedTradeDetail:
  12198. properties:
  12199. accountid:
  12200. description: 账号ID
  12201. type: integer
  12202. accountname:
  12203. description: 套期主体
  12204. type: string
  12205. agreeunit:
  12206. description: 合约乘数
  12207. type: number
  12208. areauserid:
  12209. description: 所属机构
  12210. type: integer
  12211. bizsubjectid:
  12212. description: 归属业务部门ID - SubjectID
  12213. type: integer
  12214. buyorsell:
  12215. description: 方向 - 0:买 1:卖
  12216. type: integer
  12217. channelbuildtype:
  12218. description: 委托单据类型 0:无 1:建仓 2:平仓
  12219. type: integer
  12220. convertratio:
  12221. description: 品种系数
  12222. type: number
  12223. createtime:
  12224. description: 创建时间
  12225. type: string
  12226. creatorid:
  12227. description: 创建人ID
  12228. type: integer
  12229. creatorsrc:
  12230. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12231. type: integer
  12232. enableqty:
  12233. description: 项目可关联数量 = 套保品种数量 - 关联数量
  12234. type: number
  12235. enumdicname:
  12236. description: 单位
  12237. type: string
  12238. goodscode:
  12239. description: 合约代码
  12240. type: string
  12241. goodsgroupid:
  12242. description: 对冲品种ID[期货合约商品组ID]
  12243. type: integer
  12244. goodsid:
  12245. description: 商品ID
  12246. type: integer
  12247. goodsname:
  12248. description: 合约名称
  12249. type: string
  12250. hedgeditemid:
  12251. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12252. type: integer
  12253. hedgeflag:
  12254. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12255. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12256. type: integer
  12257. linkdetailid:
  12258. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12259. type: string
  12260. linkstatus:
  12261. description: 关联状态 - 1:成功 2:失败 3:解绑
  12262. type: integer
  12263. middlegoodsid:
  12264. description: 套保品种ID
  12265. type: integer
  12266. middlegoodsqty:
  12267. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  12268. type: number
  12269. relatedlot:
  12270. description: '[数量]关联手数'
  12271. type: number
  12272. relatedmode:
  12273. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12274. type: integer
  12275. relatedqty:
  12276. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12277. type: number
  12278. retcode:
  12279. description: 返回码
  12280. type: integer
  12281. saleuserid:
  12282. description: 业务员ID
  12283. type: integer
  12284. tradedate:
  12285. description: 关联交易日(yyyyMMdd)
  12286. type: string
  12287. tradeid:
  12288. description: 成交单号
  12289. type: string
  12290. tradelot:
  12291. description: 成交手数
  12292. type: integer
  12293. tradeprice:
  12294. description: 成交价
  12295. type: number
  12296. tradetime:
  12297. description: 成交时间
  12298. type: string
  12299. tradetradedate:
  12300. description: 成交交易日(yyyyMMdd)
  12301. type: string
  12302. tradeuserid:
  12303. description: 交易用户ID
  12304. type: integer
  12305. type: object
  12306. models.Loginaccount:
  12307. properties:
  12308. accountname:
  12309. description: 账户名称
  12310. type: string
  12311. canoutin:
  12312. description: 是否可出入金 - 0:不可 1:可
  12313. type: integer
  12314. clientroleid:
  12315. description: 终端角色ID
  12316. type: integer
  12317. haslogined:
  12318. description: 是否已登录 - 0:未登录 1:已登录
  12319. type: integer
  12320. hasupdatedpwd:
  12321. description: 是否已更改密码 - 0:未修改 1:已修改
  12322. type: integer
  12323. lastloginip:
  12324. description: 最新登录地址
  12325. type: string
  12326. lastloginmode:
  12327. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  12328. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12329. type: integer
  12330. lastloginremark:
  12331. description: 最新登录描述
  12332. type: string
  12333. lastlogintime:
  12334. description: 最新登录时间
  12335. type: string
  12336. logincode:
  12337. description: 登录代码
  12338. type: string
  12339. loginfailnum:
  12340. description: 连续登录失败次数(登录成功时清零)
  12341. type: integer
  12342. loginid:
  12343. description: 登陆账号
  12344. type: integer
  12345. loginport:
  12346. description: 最新登录端口
  12347. type: integer
  12348. loginstatus:
  12349. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  12350. type: integer
  12351. loginusertype:
  12352. description: 登录账号类型 - 1:投资者 2:机构交易员
  12353. type: integer
  12354. mobile:
  12355. description: 手机号码(加密存储)
  12356. type: string
  12357. modifierid:
  12358. description: 修改人
  12359. type: integer
  12360. modifysrc:
  12361. description: 审核来源 - 1:管理端 2:终端
  12362. type: integer
  12363. modifytime:
  12364. description: 修改时间
  12365. type: string
  12366. pwdwrongcount:
  12367. description: 密码错误次数
  12368. type: integer
  12369. relateduserid:
  12370. description: 关联用户ID(机构)
  12371. type: integer
  12372. taaccountrighttype:
  12373. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  12374. type: integer
  12375. unfreezetime:
  12376. description: 账户解冻时间
  12377. type: string
  12378. userid:
  12379. description: 用户ID
  12380. type: integer
  12381. required:
  12382. - loginid
  12383. type: object
  12384. models.MainAccountInfo:
  12385. properties:
  12386. accountid:
  12387. description: 账号id
  12388. type: integer
  12389. accountname:
  12390. description: 账号名称(taaccount表中的名称)
  12391. type: string
  12392. appid:
  12393. description: AppID
  12394. type: string
  12395. authcode:
  12396. description: 授权码
  12397. type: string
  12398. brokerid:
  12399. description: 经纪商id
  12400. type: string
  12401. fcid:
  12402. description: 期货公司id
  12403. type: integer
  12404. fcname:
  12405. description: 期货公司代码
  12406. type: string
  12407. hedgeaccountcode:
  12408. description: 外部账号代码(主账号登录代码)
  12409. type: string
  12410. hedgeaccountpwd:
  12411. description: 密码
  12412. type: string
  12413. ismain:
  12414. description: 是否主账号
  12415. type: integer
  12416. relateduserid:
  12417. description: 关联用户id
  12418. type: integer
  12419. userid:
  12420. description: 关联用户id
  12421. type: integer
  12422. type: object
  12423. models.Market:
  12424. properties:
  12425. auctionwrtype:
  12426. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  12427. type: integer
  12428. canacceptquote:
  12429. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  12430. type: integer
  12431. cangoodsexercise:
  12432. description: '[期权]是否可现货行权- 0:否 1:是'
  12433. type: integer
  12434. cangoodsexercisetype:
  12435. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  12436. type: integer
  12437. canmanualquotestrike:
  12438. description: 是否可手动报行权价- 0:否 1:是 [期权]
  12439. type: integer
  12440. canmutistage:
  12441. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  12442. type: integer
  12443. canpreexercise:
  12444. description: '[期权]是否可预申报- 0:否 1:是'
  12445. type: integer
  12446. clearinterval:
  12447. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  12448. type: integer
  12449. contracttmp:
  12450. description: 合同模板[荷兰式][竞价式][仓单贸易]
  12451. type: string
  12452. exchareaid:
  12453. description: 所属交易所,可以没有
  12454. type: integer
  12455. goodstype:
  12456. description: 商品类型 - 1:交易商品 2:仓单商品
  12457. type: integer
  12458. hasrebate:
  12459. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  12460. type: integer
  12461. hastradecredit:
  12462. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  12463. type: integer
  12464. haswr:
  12465. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  12466. type: integer
  12467. isdeductmargin:
  12468. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  12469. type: integer
  12470. isrecordsource:
  12471. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  12472. type: integer
  12473. isreleasemargin:
  12474. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  12475. type: integer
  12476. marginformula:
  12477. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12478. type: integer
  12479. marginformula2:
  12480. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12481. type: integer
  12482. marketid:
  12483. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12484. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12485. type: integer
  12486. marketname:
  12487. description: 市场名称
  12488. type: string
  12489. marketserviceid:
  12490. description: 市场服务ID
  12491. type: integer
  12492. marketstatus:
  12493. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12494. type: integer
  12495. markettype:
  12496. description: 市场类型- 1:非交易服务 2:交易服务
  12497. type: integer
  12498. matchermode:
  12499. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  12500. type: integer
  12501. openmethod:
  12502. description: 开盘模式 - 0 自动 1手动
  12503. type: integer
  12504. otcuserid:
  12505. description: 场外期权做市商[场外期权]
  12506. type: integer
  12507. outersynctime:
  12508. description: 外部同步时间点(h24:mi:ss)[场外期权]
  12509. type: string
  12510. pendingflag:
  12511. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  12512. type: integer
  12513. pendingtime:
  12514. description: 待开市时间[通道交易-对冲](HH:mm)
  12515. type: string
  12516. performancetempid:
  12517. description: 履约计划模板ID - 作废
  12518. type: integer
  12519. premiumquotemode:
  12520. description: 权利金报价方式 - 1:自动 2:手动
  12521. type: integer
  12522. rebateratio:
  12523. description: 返利比率[竞价式]
  12524. type: number
  12525. reckonorder:
  12526. description: 结算顺序
  12527. type: integer
  12528. reckonpricealgorithm:
  12529. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  12530. 6.卖一价 7.买一卖一均价 8.外部结算价'
  12531. type: integer
  12532. reckonpriceparam:
  12533. description: 结算价参数
  12534. type: integer
  12535. reckontime:
  12536. description: 结算时间[通道交易-对冲](HH:mm)
  12537. type: string
  12538. roleprioritytype:
  12539. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  12540. type: integer
  12541. selllistingauditflag:
  12542. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  12543. type: integer
  12544. trademarkettype:
  12545. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  12546. type: integer
  12547. trademode:
  12548. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12549. 21:竞拍-大宗式 22:受托竞价
  12550. type: integer
  12551. tradeproperty:
  12552. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  12553. 8:场外期权
  12554. type: integer
  12555. tradetype:
  12556. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  12557. type: integer
  12558. required:
  12559. - marketid
  12560. - marketstatus
  12561. - openmethod
  12562. - reckonpricealgorithm
  12563. - trademode
  12564. - tradeproperty
  12565. type: object
  12566. models.Marketcalendar:
  12567. properties:
  12568. holidaydate:
  12569. description: 节假日期(yyyy-MM-dd)
  12570. type: string
  12571. marketid:
  12572. description: 市场ID
  12573. type: integer
  12574. type: object
  12575. models.Marketrun:
  12576. properties:
  12577. afternexttradedate:
  12578. description: 下下交易日
  12579. type: string
  12580. clearquoteflag:
  12581. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  12582. type: integer
  12583. lastreckondate:
  12584. description: 最新交易日(结算成功)
  12585. type: string
  12586. machinedate:
  12587. description: 机器时间
  12588. type: string
  12589. manualflag:
  12590. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  12591. type: integer
  12592. marketid:
  12593. description: 市场ID
  12594. type: integer
  12595. nexttradedate:
  12596. description: 下一交易日
  12597. type: string
  12598. pretradedate:
  12599. description: 上一交易日
  12600. type: string
  12601. reckonflag:
  12602. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  12603. type: integer
  12604. runstatus:
  12605. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  12606. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  12607. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  12608. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  12609. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  12610. 62.今日免清算
  12611. type: integer
  12612. sectionid:
  12613. description: 时间段号[多时段时用]
  12614. type: integer
  12615. tradedate:
  12616. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  12617. type: string
  12618. tradedate2:
  12619. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  12620. type: string
  12621. updatetime:
  12622. description: 更新时间
  12623. type: string
  12624. required:
  12625. - marketid
  12626. - nexttradedate
  12627. - reckonflag
  12628. - runstatus
  12629. - tradedate
  12630. - tradedate2
  12631. type: object
  12632. models.Messageboard:
  12633. properties:
  12634. contactnum:
  12635. description: 联系电话
  12636. type: string
  12637. createtime:
  12638. description: 创建时间
  12639. type: string
  12640. message:
  12641. description: 留言信息
  12642. type: string
  12643. messageboardid:
  12644. description: 留言簿ID(SEQ_MessageBoard)
  12645. type: integer
  12646. userid:
  12647. description: 用户ID
  12648. type: integer
  12649. required:
  12650. - messageboardid
  12651. type: object
  12652. models.MyBargainApply:
  12653. properties:
  12654. accountid:
  12655. description: 摘牌资金账号
  12656. type: integer
  12657. applyprice:
  12658. description: 申请价格
  12659. type: string
  12660. applyremark:
  12661. description: 申请备注
  12662. type: string
  12663. applystatus:
  12664. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  12665. type: integer
  12666. applytime:
  12667. description: 申请时间
  12668. type: string
  12669. buyorsell:
  12670. description: 买卖 - 0:买 1:卖
  12671. type: integer
  12672. buyusername:
  12673. description: 买方
  12674. type: string
  12675. confirmprice:
  12676. description: 可接受价格(拒绝时填写)-作废
  12677. type: number
  12678. confirmqty:
  12679. description: 可接受数量(拒绝时填写)-作废
  12680. type: integer
  12681. confirmremark:
  12682. description: 确认备注
  12683. type: string
  12684. confirmtime:
  12685. description: 确认时间
  12686. type: string
  12687. confirmuserid:
  12688. description: 确认人
  12689. type: integer
  12690. goodsno:
  12691. description: 商品编号
  12692. type: string
  12693. handlestatus:
  12694. description: 处理状态
  12695. type: integer
  12696. ladingbillid:
  12697. description: 摘牌方提单ID [卖]
  12698. type: integer
  12699. marketid:
  12700. description: 市场ID
  12701. type: integer
  12702. matchaccountid:
  12703. description: 挂牌方资金账号
  12704. type: integer
  12705. matchuserid:
  12706. description: 挂牌方用户ID
  12707. type: integer
  12708. performancetemplateid:
  12709. description: 履约计划模板ID
  12710. type: integer
  12711. price:
  12712. description: 价格
  12713. type: number
  12714. priceper:
  12715. description: 克拉单价 - 类型:1,2,3,5
  12716. type: string
  12717. qty:
  12718. description: 申请数量
  12719. type: number
  12720. refprice:
  12721. description: 参考价格
  12722. type: string
  12723. retcode:
  12724. description: 委托返回代码
  12725. type: integer
  12726. sellusername:
  12727. description: 卖方
  12728. type: string
  12729. sizedisplay:
  12730. description: 尺寸
  12731. type: string
  12732. subnum:
  12733. description: 摘牌方提单子单号 [卖]
  12734. type: integer
  12735. tradedate:
  12736. description: 交易日(yyyyMMdd)
  12737. type: string
  12738. userid:
  12739. description: 摘牌人用户ID
  12740. type: integer
  12741. warehousenamedisplay:
  12742. type: string
  12743. wrbargainid:
  12744. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  12745. type: string
  12746. wrtradeorderid:
  12747. description: 关联委托单ID
  12748. type: string
  12749. zscerttypedisplay:
  12750. type: string
  12751. zsclaritytype1display:
  12752. type: string
  12753. zsclaritytype2display:
  12754. type: string
  12755. zscolortype1display:
  12756. type: string
  12757. zscolortype2display:
  12758. type: string
  12759. zscrystaltypedisplay:
  12760. type: string
  12761. zscurrencytypedisplay:
  12762. type: string
  12763. zscurrencytypedisplayunit:
  12764. type: string
  12765. zscuttype1display:
  12766. type: string
  12767. zscuttype2display:
  12768. type: string
  12769. zsczcolor1typedisplay:
  12770. type: string
  12771. zsczcolor2typedisplay:
  12772. type: string
  12773. zsczcolor3typedisplay:
  12774. type: string
  12775. zsfluorescencetype1display:
  12776. type: string
  12777. zsfluorescencetype2display:
  12778. type: string
  12779. zspolishtype1display:
  12780. type: string
  12781. zspolishtype2display:
  12782. type: string
  12783. zsshapetypedisplay:
  12784. type: string
  12785. zsstyletypedisplay:
  12786. type: string
  12787. zssymmetrytype1display:
  12788. type: string
  12789. zssymmetrytype2display:
  12790. type: string
  12791. required:
  12792. - userid
  12793. type: object
  12794. models.MyBuyOrder:
  12795. properties:
  12796. accountid:
  12797. description: 资金账户ID
  12798. type: integer
  12799. marketid:
  12800. description: 市场ID
  12801. type: integer
  12802. ordertime:
  12803. description: 委托时间
  12804. type: string
  12805. origin:
  12806. description: 原产地
  12807. type: string
  12808. performancetemplateid:
  12809. description: 履约计划模板ID
  12810. type: integer
  12811. remark:
  12812. description: 备注
  12813. type: string
  12814. userid:
  12815. description: 用户ID
  12816. type: integer
  12817. validtime:
  12818. description: 有效期限
  12819. type: string
  12820. warehouseids:
  12821. description: 仓库ID - 多个, 逗号分隔
  12822. type: string
  12823. warehouseinfosdisplay:
  12824. type: string
  12825. wrtradeorderid:
  12826. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  12827. type: string
  12828. wrtradeorderstatus:
  12829. 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、
  12830. type: integer
  12831. zscategory:
  12832. description: 钻石分类 - 枚举”ZSCategory“
  12833. type: integer
  12834. zscategorydisplay:
  12835. type: string
  12836. zsclaritytype:
  12837. description: 净度 - 两个, 逗号分隔
  12838. type: string
  12839. zsclaritytypedisplay:
  12840. type: string
  12841. zscolortype:
  12842. description: 颜色 - 两个, 逗号分隔
  12843. type: string
  12844. zscolortypedisplay:
  12845. type: string
  12846. zscrystaltype:
  12847. description: 晶型 - 多个,逗号分隔
  12848. type: string
  12849. zscrystaltypedisplay:
  12850. type: string
  12851. zscurrencytype:
  12852. description: 货币类型 - 多个, 逗号分隔
  12853. type: string
  12854. zscurrencytypedisplay:
  12855. type: string
  12856. zscuttype:
  12857. description: 切工 - 两个, 逗号分隔
  12858. type: string
  12859. zscuttypedisplay:
  12860. type: string
  12861. zsczcolor1type:
  12862. description: 彩钻颜色1, 逗号分隔
  12863. type: string
  12864. zsczcolor1typedisplay:
  12865. type: string
  12866. zsczcolor2type:
  12867. description: 彩钻颜色2, 逗号分隔
  12868. type: string
  12869. zsczcolor2typedisplay:
  12870. type: string
  12871. zsczcolor3type:
  12872. description: 彩钻颜色3, 逗号分隔
  12873. type: string
  12874. zsczcolor3typedisplay:
  12875. type: string
  12876. zsfluorescencetype:
  12877. description: 荧光 - 多个, 逗号分隔
  12878. type: string
  12879. zsfluorescencetypedisplay:
  12880. type: string
  12881. zspolishtype:
  12882. description: 抛光度 - 两个, 逗号分隔
  12883. type: string
  12884. zspolishtypedisplay:
  12885. type: string
  12886. zsshapetype:
  12887. description: 形状 - 多个, 逗号分隔
  12888. type: string
  12889. zsshapetypedisplay:
  12890. type: string
  12891. zssize:
  12892. description: 尺寸 - 两个小数, 逗号分隔
  12893. type: string
  12894. zsstyletype:
  12895. description: 款式 - 多个, 逗号分隔
  12896. type: string
  12897. zsstyletypedisplay:
  12898. type: string
  12899. zssymmetrytype:
  12900. description: 对称度 - 两个, 逗号分隔
  12901. type: string
  12902. zssymmetrytypedisplay:
  12903. type: string
  12904. zstabledisplay:
  12905. description: 求购信息
  12906. type: string
  12907. required:
  12908. - userid
  12909. type: object
  12910. models.MyCoupon:
  12911. properties:
  12912. accountid:
  12913. description: 资金账户ID
  12914. type: integer
  12915. areauserid:
  12916. description: 所属机构
  12917. type: integer
  12918. conditionvalue:
  12919. description: 条件阈值(可为0)
  12920. type: number
  12921. couponcategroy:
  12922. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  12923. type: integer
  12924. couponname:
  12925. description: 优惠券名称
  12926. type: string
  12927. coupontypeid:
  12928. description: 优惠券类型ID
  12929. type: string
  12930. couponvalue:
  12931. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  12932. type: number
  12933. curfreezeqty:
  12934. description: 期末冻结数量
  12935. type: integer
  12936. curqty:
  12937. description: 期末数量
  12938. type: integer
  12939. isgeneral:
  12940. description: 是否通用券 - 0:否 1:是
  12941. type: integer
  12942. isunusable:
  12943. description: 是否不可用
  12944. type: boolean
  12945. limitedflag:
  12946. description: 是否指定商品 - 0:不限 1:限制
  12947. type: integer
  12948. limitedgoodsids:
  12949. description: 指定商品IDs[逗号分隔,前后加逗号]
  12950. type: string
  12951. orifreezeqty:
  12952. description: 期初冻结数量
  12953. type: integer
  12954. oriqty:
  12955. description: 期初数量
  12956. type: integer
  12957. reasontype:
  12958. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  12959. type: integer
  12960. todaydecrease:
  12961. description: 今日减少
  12962. type: integer
  12963. todayincrease:
  12964. description: 今日增加
  12965. type: integer
  12966. userid:
  12967. description: 用户ID
  12968. type: integer
  12969. userscope:
  12970. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  12971. type: string
  12972. required:
  12973. - accountid
  12974. - coupontypeid
  12975. type: object
  12976. models.MyCouponHold:
  12977. properties:
  12978. accountid:
  12979. description: 资金账户ID
  12980. type: integer
  12981. conditionvalue:
  12982. description: 条件阈值(可为0)
  12983. type: number
  12984. couponcategroy:
  12985. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  12986. type: integer
  12987. couponholdid:
  12988. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  12989. type: string
  12990. couponname:
  12991. description: 优惠券名称
  12992. type: string
  12993. coupontypeid:
  12994. description: 优惠券类型ID - SEQ_COUPONTYPE
  12995. type: string
  12996. couponvalue:
  12997. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  12998. type: number
  12999. createtime:
  13000. description: 创建时间
  13001. type: string
  13002. enddate:
  13003. description: 结束日期
  13004. type: string
  13005. giveapplyid:
  13006. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  13007. type: integer
  13008. holdstatus:
  13009. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  13010. type: integer
  13011. isgeneral:
  13012. description: 是否通用券 - 0:否 1:是
  13013. type: integer
  13014. limitedflag:
  13015. description: 是否指定商品 - 0:不限 1:限制
  13016. type: integer
  13017. limitedgoodsids:
  13018. description: 指定商品IDs[逗号分隔]
  13019. type: string
  13020. qty:
  13021. description: 数量(按1平铺)
  13022. type: integer
  13023. startdate:
  13024. description: 开始日期
  13025. type: string
  13026. userid:
  13027. description: 用户ID
  13028. type: integer
  13029. userscope:
  13030. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  13031. type: string
  13032. required:
  13033. - couponholdid
  13034. type: object
  13035. models.MyDeListing:
  13036. properties:
  13037. buyaccountid:
  13038. description: 买方账号ID
  13039. type: integer
  13040. buychargevalue:
  13041. description: 买方手续费
  13042. type: number
  13043. buyuserid:
  13044. description: 买方用户ID
  13045. type: integer
  13046. deliverygoodsid:
  13047. description: 现货品种ID
  13048. type: integer
  13049. exchangerate:
  13050. description: 汇率
  13051. type: number
  13052. goodsno:
  13053. description: 商品编号
  13054. type: string
  13055. marketid:
  13056. description: 市场ID
  13057. type: integer
  13058. matchusername:
  13059. description: 对手方
  13060. type: string
  13061. oritradeamount:
  13062. description: 成交金额[商品币种]
  13063. type: number
  13064. performanceplanid:
  13065. description: 履约计划ID/合同ID
  13066. type: string
  13067. price:
  13068. description: 价格
  13069. type: number
  13070. qty:
  13071. description: 成交重量
  13072. type: number
  13073. sellaccountid:
  13074. description: 卖方账号ID
  13075. type: integer
  13076. sellchargevalue:
  13077. description: 卖方手续费
  13078. type: number
  13079. selluserid:
  13080. description: 卖方用户ID
  13081. type: integer
  13082. sizedisplay:
  13083. description: 尺寸
  13084. type: string
  13085. tradeamount:
  13086. description: 成交金额
  13087. type: number
  13088. tradedate:
  13089. description: 交易日(yyyyMMdd)
  13090. type: string
  13091. tradeprice:
  13092. description: 成交价格
  13093. type: number
  13094. tradetime:
  13095. description: 成交时间
  13096. type: string
  13097. userid:
  13098. description: 用户ID
  13099. type: integer
  13100. warehousenamedisplay:
  13101. type: string
  13102. wrfactortypeid:
  13103. description: 仓单要素类型ID
  13104. type: integer
  13105. wrstandardid:
  13106. description: 现货商品ID
  13107. type: integer
  13108. wrtradedetailid:
  13109. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  13110. type: string
  13111. zscategory:
  13112. description: 钻石分类 - 枚举”ZSCategory“
  13113. type: integer
  13114. zscategorydisplay:
  13115. type: string
  13116. zscerttypedisplay:
  13117. type: string
  13118. zsclaritytype1display:
  13119. type: string
  13120. zsclaritytype2display:
  13121. type: string
  13122. zscolortype1display:
  13123. type: string
  13124. zscolortype2display:
  13125. type: string
  13126. zscrystaltypedisplay:
  13127. type: string
  13128. zscurrencytype:
  13129. description: 货币类型 - 枚举“ZSCurrencyType”
  13130. type: integer
  13131. zscurrencytypedisplay:
  13132. type: string
  13133. zscurrencytypedisplayunit:
  13134. type: string
  13135. zscuttype1display:
  13136. type: string
  13137. zscuttype2display:
  13138. type: string
  13139. zsczcolor1typedisplay:
  13140. type: string
  13141. zsczcolor2typedisplay:
  13142. type: string
  13143. zsczcolor3typedisplay:
  13144. type: string
  13145. zsfluorescencetype1display:
  13146. type: string
  13147. zsfluorescencetype2display:
  13148. type: string
  13149. zspolishtype1display:
  13150. type: string
  13151. zspolishtype2display:
  13152. type: string
  13153. zsshapetypedisplay:
  13154. type: string
  13155. zsstyletypedisplay:
  13156. type: string
  13157. zssymmetrytype1display:
  13158. type: string
  13159. zssymmetrytype2display:
  13160. type: string
  13161. required:
  13162. - userid
  13163. type: object
  13164. models.MyDelistingApply:
  13165. properties:
  13166. applyprice:
  13167. description: 申请价格
  13168. type: number
  13169. applyqty:
  13170. description: 申请数量
  13171. type: number
  13172. applyremark:
  13173. description: 申请备注
  13174. type: string
  13175. applystatus:
  13176. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13177. type: integer
  13178. applytime:
  13179. description: 申请时间
  13180. type: string
  13181. auditremark:
  13182. description: 确认备注
  13183. type: string
  13184. audittime:
  13185. description: 确认时间
  13186. type: string
  13187. buyuserid:
  13188. description: 买方用户ID
  13189. type: integer
  13190. buyusername:
  13191. description: 买方
  13192. type: string
  13193. buywrtradeorderid:
  13194. description: 买委托单ID
  13195. type: string
  13196. goodsno:
  13197. description: 商品编号
  13198. type: string
  13199. ladingbillid:
  13200. description: 卖方提单ID
  13201. type: string
  13202. marketid:
  13203. description: 市场ID
  13204. type: integer
  13205. performancetemplateid:
  13206. description: 履约计划模板ID
  13207. type: integer
  13208. price:
  13209. description: 价格
  13210. type: number
  13211. sellaccountid:
  13212. description: 卖方账户ID
  13213. type: integer
  13214. selldelistingapplyid:
  13215. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  13216. type: string
  13217. selltradeorderid:
  13218. description: 卖方委托ID(买方确认成交后更新)
  13219. type: string
  13220. selluserid:
  13221. description: 卖方用户ID
  13222. type: integer
  13223. sellusername:
  13224. description: 卖方
  13225. type: string
  13226. sizedisplay:
  13227. description: 尺寸
  13228. type: string
  13229. subnum:
  13230. description: 卖方提单子单号
  13231. type: integer
  13232. warehouseinfosdisplay:
  13233. type: string
  13234. weight:
  13235. description: 克拉重量
  13236. type: number
  13237. wrfactortypeid:
  13238. description: 仓单要素类型ID
  13239. type: string
  13240. wrstandardid:
  13241. description: 现货商品ID
  13242. type: integer
  13243. zsallproperties:
  13244. type: string
  13245. zscategorydisplay:
  13246. type: string
  13247. zsclaritytypedisplay:
  13248. type: string
  13249. zscolortypedisplay:
  13250. type: string
  13251. zscrystaltypedisplay:
  13252. type: string
  13253. zscurrencytypedisplay:
  13254. type: string
  13255. zscurrencytypedisplayunit:
  13256. description: 价格单位
  13257. type: string
  13258. zscuttypedisplay:
  13259. type: string
  13260. zsczcolor1typedisplay:
  13261. type: string
  13262. zsczcolor2typedisplay:
  13263. type: string
  13264. zsczcolor3typedisplay:
  13265. type: string
  13266. zsfluorescencetypedisplay:
  13267. type: string
  13268. zspolishtypedisplay:
  13269. type: string
  13270. zsshapetypedisplay:
  13271. type: string
  13272. zssizedisplay:
  13273. type: string
  13274. zsstyletypedisplay:
  13275. type: string
  13276. zssymmetrytypedisplay:
  13277. type: string
  13278. zstabledisplay:
  13279. type: string
  13280. required:
  13281. - selluserid
  13282. type: object
  13283. models.MyFavorite:
  13284. properties:
  13285. accountname:
  13286. description: 账户名称(机构名称)
  13287. type: string
  13288. buyorsell:
  13289. description: 买卖 - 0:买 1:卖
  13290. type: integer
  13291. favoritestatus:
  13292. description: 收藏状态 - 1:正常 2:失效
  13293. type: integer
  13294. goodsno:
  13295. description: 商品编号
  13296. type: string
  13297. marketid:
  13298. description: 市场ID
  13299. type: integer
  13300. marketprice:
  13301. description: 市场价
  13302. type: string
  13303. price:
  13304. description: 价格
  13305. type: number
  13306. priceper:
  13307. description: 克拉单价
  13308. type: string
  13309. sellusername:
  13310. description: 卖家
  13311. type: string
  13312. sizedisplay:
  13313. description: 尺寸
  13314. type: string
  13315. userid:
  13316. description: 用户ID
  13317. type: integer
  13318. warehousenamedisplay:
  13319. description: 仓库名称
  13320. type: string
  13321. weight:
  13322. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  13323. type: number
  13324. weightavg:
  13325. description: 平均单颗重量 - 类型:1,3
  13326. type: number
  13327. wrfactortypeid:
  13328. description: 仓单要素类型ID/商品ID(77)
  13329. type: string
  13330. wrstandardid:
  13331. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  13332. type: integer
  13333. wrtradeorderid:
  13334. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13335. type: string
  13336. zscategory:
  13337. description: 钻石分类 - 枚举”ZSCategory“
  13338. type: integer
  13339. zscategorydisplay:
  13340. type: string
  13341. zscerttypedisplay:
  13342. type: string
  13343. zsclaritytype1display:
  13344. type: string
  13345. zsclaritytype2display:
  13346. type: string
  13347. zscolortype1display:
  13348. type: string
  13349. zscolortype2display:
  13350. type: string
  13351. zscrystaltypedisplay:
  13352. type: string
  13353. zscurrencytypedisplay:
  13354. type: string
  13355. zscurrencytypedisplayunit:
  13356. type: string
  13357. zscuttype1display:
  13358. type: string
  13359. zscuttype2display:
  13360. type: string
  13361. zsczcolor1typedisplay:
  13362. type: string
  13363. zsczcolor2typedisplay:
  13364. type: string
  13365. zsczcolor3typedisplay:
  13366. type: string
  13367. zsfluorescencetype1display:
  13368. type: string
  13369. zsfluorescencetype2display:
  13370. type: string
  13371. zspolishtype1display:
  13372. type: string
  13373. zspolishtype2display:
  13374. type: string
  13375. zsshapetypedisplay:
  13376. type: string
  13377. zsstyletypedisplay:
  13378. type: string
  13379. zssymmetrytype1display:
  13380. type: string
  13381. zssymmetrytype2display:
  13382. type: string
  13383. required:
  13384. - userid
  13385. type: object
  13386. models.MyPerformanc:
  13387. properties:
  13388. accountname:
  13389. description: '[对手方]账户名称(机构名称)'
  13390. type: string
  13391. amount:
  13392. description: 履约金额
  13393. type: number
  13394. buyaccountid:
  13395. description: 买方账号
  13396. type: integer
  13397. buyerfreezeamount:
  13398. description: 买方履约前冻结资金
  13399. type: number
  13400. buyerfreezeamountremain:
  13401. description: 买方履约前冻结资金剩余
  13402. type: number
  13403. buyerinfo:
  13404. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13405. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  13406. type: string
  13407. buyorsell:
  13408. description: 方向 - 0:买 1:卖
  13409. type: integer
  13410. buypaidamount:
  13411. description: 买方已冻/已扣金额
  13412. type: number
  13413. buytodayamount:
  13414. description: 买方今日扣/冻金额 (待开市时清零)
  13415. type: number
  13416. curstepid:
  13417. description: 当前步骤ID
  13418. type: string
  13419. goodsno:
  13420. description: 商品编号
  13421. type: string
  13422. overshortamount:
  13423. description: 溢短金额
  13424. type: number
  13425. paymenttype:
  13426. description: 买方支付方式 - 1:冻结 2:扣款
  13427. type: integer
  13428. performanceplanid:
  13429. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  13430. type: string
  13431. performancestatus:
  13432. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  13433. 9:超时待处理 10:超时关闭
  13434. type: integer
  13435. price:
  13436. description: 价格
  13437. type: number
  13438. priceper:
  13439. description: 克拉单价
  13440. type: string
  13441. relatedorderid:
  13442. description: 关联单号(履约类型的关联单号)
  13443. type: string
  13444. remaindays:
  13445. description: 剩余天数
  13446. type: integer
  13447. sellerfreezeamount:
  13448. description: 卖方履约前冻结资金
  13449. type: number
  13450. sellerfreezeamountremain:
  13451. description: 卖方履约前冻结资金剩余
  13452. type: number
  13453. sellerinfo:
  13454. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13455. "xxxxxxxx"}'
  13456. type: string
  13457. sellreceivedamount:
  13458. description: 卖方已收金额
  13459. type: number
  13460. selltodayamount:
  13461. description: 卖方今日收取金额(待开市时清零)
  13462. type: number
  13463. sizedisplay:
  13464. description: 尺寸
  13465. type: string
  13466. steptypeid:
  13467. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13468. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13469. type: integer
  13470. warehousenamedisplay:
  13471. type: string
  13472. zscategorydisplay:
  13473. type: string
  13474. zscerttypedisplay:
  13475. type: string
  13476. zsclaritytype1display:
  13477. type: string
  13478. zsclaritytype2display:
  13479. type: string
  13480. zscolortype1display:
  13481. type: string
  13482. zscolortype2display:
  13483. type: string
  13484. zscrystaltypedisplay:
  13485. type: string
  13486. zscurrencytypedisplay:
  13487. type: string
  13488. zscurrencytypedisplayunit:
  13489. type: string
  13490. zscuttype1display:
  13491. type: string
  13492. zscuttype2display:
  13493. type: string
  13494. zsczcolor1typedisplay:
  13495. type: string
  13496. zsczcolor2typedisplay:
  13497. type: string
  13498. zsczcolor3typedisplay:
  13499. type: string
  13500. zsfluorescencetype1display:
  13501. type: string
  13502. zsfluorescencetype2display:
  13503. type: string
  13504. zspolishtype1display:
  13505. type: string
  13506. zspolishtype2display:
  13507. type: string
  13508. zsshapetypedisplay:
  13509. type: string
  13510. zsstyletypedisplay:
  13511. type: string
  13512. zssymmetrytype1display:
  13513. type: string
  13514. zssymmetrytype2display:
  13515. type: string
  13516. type: object
  13517. models.MyRefer:
  13518. properties:
  13519. accountname:
  13520. description: 用户名(脱敏)
  13521. type: string
  13522. createtime:
  13523. description: 时间(yyyy-mm-dd)
  13524. type: string
  13525. score:
  13526. description: 积分
  13527. type: number
  13528. type: object
  13529. models.MySellOrder:
  13530. properties:
  13531. accountid:
  13532. description: 资金账号
  13533. type: integer
  13534. applyid:
  13535. description: 申请单ID
  13536. type: integer
  13537. attachment1:
  13538. description: 附件1
  13539. type: string
  13540. attachment2:
  13541. description: 附件2
  13542. type: string
  13543. buyorsell:
  13544. description: 买卖 - 0:买 1:卖
  13545. type: integer
  13546. canbargain:
  13547. description: 是否可议价 - 0:不可 1:可
  13548. type: integer
  13549. cancelqty:
  13550. description: 撤销数量
  13551. type: integer
  13552. canceltime:
  13553. description: 撤销时间
  13554. type: string
  13555. cerno:
  13556. type: string
  13557. chargealgorithm:
  13558. description: 手续费收取方式 1:比率 2:固定
  13559. type: integer
  13560. chargealgorithmvalue:
  13561. description: 手续费设置值(交易所部分)
  13562. type: number
  13563. chargealgorithmvalue2:
  13564. description: 手续费设置值(会员部分)
  13565. type: number
  13566. clientordertime:
  13567. description: 客户端委托时间
  13568. type: string
  13569. cpcertno:
  13570. type: string
  13571. exchangerate:
  13572. description: 汇率[67]
  13573. type: number
  13574. firstratio:
  13575. description: 首付比率 - [挂牌时指定,摘牌时使用]
  13576. type: number
  13577. fixedprice:
  13578. description: '[克拉单价]固定价格 - [挂牌]'
  13579. type: number
  13580. freezecharge:
  13581. description: 冻结手续费
  13582. type: number
  13583. freezefirstamount:
  13584. description: 冻结首付金额 - [摘牌]
  13585. type: number
  13586. freezemargin:
  13587. description: 冻结保证金
  13588. type: number
  13589. goodsno:
  13590. description: 商品编号
  13591. type: string
  13592. imagepath:
  13593. type: string
  13594. isspecified:
  13595. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  13596. type: integer
  13597. kppath:
  13598. type: string
  13599. kpweight:
  13600. type: string
  13601. marginalgorithm:
  13602. description: 保证金方式 - 1:比率 2:固定
  13603. type: integer
  13604. marginvalue:
  13605. description: 保证金设置值
  13606. type: number
  13607. marketid:
  13608. description: 市场ID
  13609. type: integer
  13610. marketprice:
  13611. type: string
  13612. orderamount:
  13613. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  13614. type: number
  13615. ordertime:
  13616. description: 委托时间
  13617. type: string
  13618. performancetemplateid:
  13619. description: 履约计划模板ID
  13620. type: integer
  13621. price:
  13622. description: 价格
  13623. type: number
  13624. pricefactor:
  13625. description: 价格系数(浮动价时填写) - [挂牌]
  13626. type: number
  13627. pricemove:
  13628. description: 升贴水(浮动价时填写) - [挂牌]
  13629. type: number
  13630. priceper:
  13631. type: string
  13632. relatedwrtradeorderid:
  13633. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  13634. type: integer
  13635. remark:
  13636. type: string
  13637. retcode:
  13638. description: 错误代码
  13639. type: integer
  13640. selledqty:
  13641. description: 成交重量
  13642. type: number
  13643. settingmaterial:
  13644. type: string
  13645. size1:
  13646. type: string
  13647. size2:
  13648. type: string
  13649. size3:
  13650. type: string
  13651. sizedisplay:
  13652. description: 尺寸
  13653. type: string
  13654. stonedesc:
  13655. type: string
  13656. totalqty:
  13657. description: 总重量
  13658. type: number
  13659. tradedate:
  13660. description: 交易日(yyyyMMdd)
  13661. type: string
  13662. tradeprice:
  13663. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13664. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13665. type: number
  13666. unfreezecharge:
  13667. description: 解冻手续费
  13668. type: number
  13669. unfreezefirstamount:
  13670. description: 解冻首付金额 - [摘牌]
  13671. type: number
  13672. unfreezemargin:
  13673. description: 解冻保证金
  13674. type: number
  13675. userid:
  13676. description: 用户ID
  13677. type: integer
  13678. uuid:
  13679. description: 发起端唯一id
  13680. type: string
  13681. validtime:
  13682. description: 有效期限
  13683. type: string
  13684. validtype:
  13685. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  13686. type: integer
  13687. warehousenamedisplay:
  13688. type: string
  13689. wrbargainid:
  13690. description: 议价申请单ID
  13691. type: integer
  13692. wrfactortypeid:
  13693. description: 仓单要素类型ID/商品ID(77)
  13694. type: integer
  13695. wrpath:
  13696. type: string
  13697. wrpricetype:
  13698. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13699. type: integer
  13700. wrstandardid:
  13701. description: 现货商品ID
  13702. type: integer
  13703. wrtradeorderid:
  13704. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13705. type: string
  13706. wrtradeorderstatus:
  13707. 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:撤单解冻贷款失败
  13708. type: integer
  13709. wrtradetype:
  13710. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13711. type: integer
  13712. wrtransferuserid:
  13713. description: 仓单受让用户 - [摘牌]
  13714. type: integer
  13715. zscategory:
  13716. description: 钻石分类 - 枚举”ZSCategory“
  13717. type: integer
  13718. zscategorydisplay:
  13719. description: 钻石分类 - 描述
  13720. type: string
  13721. zscerttypedisplay:
  13722. type: string
  13723. zsclaritytype1display:
  13724. type: string
  13725. zsclaritytype2display:
  13726. type: string
  13727. zscolortype1display:
  13728. type: string
  13729. zscolortype2display:
  13730. type: string
  13731. zscrystaltype:
  13732. type: string
  13733. zscrystaltypedisplay:
  13734. type: string
  13735. zscurrencytype:
  13736. description: 货币类型 - 枚举“ZSCurrencyType”
  13737. type: integer
  13738. zscurrencytypedisplay:
  13739. type: string
  13740. zscurrencytypedisplayunit:
  13741. type: string
  13742. zscuttype1display:
  13743. type: string
  13744. zscuttype2display:
  13745. type: string
  13746. zsczcolor1typedisplay:
  13747. type: string
  13748. zsczcolor2typedisplay:
  13749. type: string
  13750. zsczcolor3typedisplay:
  13751. type: string
  13752. zsfluorescencetype1display:
  13753. type: string
  13754. zsfluorescencetype2display:
  13755. type: string
  13756. zspolishtype1display:
  13757. type: string
  13758. zspolishtype2display:
  13759. type: string
  13760. zsshapetypedisplay:
  13761. type: string
  13762. zsstyletypedisplay:
  13763. type: string
  13764. zssymmetrytype1display:
  13765. type: string
  13766. zssymmetrytype2display:
  13767. type: string
  13768. required:
  13769. - userid
  13770. type: object
  13771. models.MyUsedCoupon:
  13772. properties:
  13773. accountid:
  13774. description: 资金账户ID(买方)
  13775. type: integer
  13776. conditionvalue:
  13777. description: 条件阈值(可为0)
  13778. type: number
  13779. couponcategroy:
  13780. description: 种类 - 1:现金券 2:折扣券
  13781. type: integer
  13782. couponname:
  13783. description: 优惠券名称
  13784. type: string
  13785. coupontypeid:
  13786. description: 优惠券类型ID(买方)
  13787. type: string
  13788. couponvalue:
  13789. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  13790. type: number
  13791. createtime:
  13792. description: 创建时间
  13793. type: string
  13794. goodsid:
  13795. description: 商品ID
  13796. type: integer
  13797. handlestatus:
  13798. description: 处理状态
  13799. type: integer
  13800. marketid:
  13801. description: 市场ID
  13802. type: integer
  13803. offamount:
  13804. description: 优惠金额
  13805. type: number
  13806. orderid:
  13807. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13808. type: string
  13809. sellaccountid:
  13810. description: 资金账户ID(卖方)
  13811. type: integer
  13812. tradeamount:
  13813. description: 成交金额
  13814. type: number
  13815. tradeid:
  13816. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13817. type: string
  13818. usedqty:
  13819. description: 使用数量
  13820. type: integer
  13821. required:
  13822. - coupontypeid
  13823. - orderid
  13824. type: object
  13825. models.MyWRPosition:
  13826. properties:
  13827. cerno:
  13828. description: 证书编号 - 类型:2,4,5
  13829. type: string
  13830. cpcertno:
  13831. description: 金伯利证书编号 - 类型:3
  13832. type: string
  13833. ffreezeqty:
  13834. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  13835. type: number
  13836. ftotalqty:
  13837. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  13838. type: number
  13839. goodsno:
  13840. description: 商品编号
  13841. type: string
  13842. imagepath:
  13843. description: 商品照片(相对地址)
  13844. type: string
  13845. isvalid:
  13846. description: 是否有效 - 0:无效 1:有效
  13847. type: integer
  13848. kppath:
  13849. description: 金伯利证书图片(相对地址) - 类型:3
  13850. type: string
  13851. kpweight:
  13852. description: 金伯利证书重量 - 类型:3
  13853. type: string
  13854. ladingbillid:
  13855. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13856. type: string
  13857. marketflag:
  13858. description: 是否上架,0-全部 1-是 2-否
  13859. type: integer
  13860. marketprice:
  13861. description: 市场价
  13862. type: string
  13863. origin:
  13864. description: 原产地 - 类型:3
  13865. type: string
  13866. price:
  13867. description: 总价(价格) - 类型:1,2,3,4,5
  13868. type: number
  13869. priceper:
  13870. description: 克拉单价 - 类型:1,2,3,5
  13871. type: string
  13872. remark:
  13873. description: 备注
  13874. type: string
  13875. sellmobile:
  13876. description: 手机号码(加密存储)
  13877. type: string
  13878. sellusername:
  13879. description: 账户名称(机构名称)
  13880. type: string
  13881. settingmaterial:
  13882. description: 镶嵌材料 - 类型:4
  13883. type: string
  13884. size1:
  13885. description: 尺寸1 - 类型:2,4,5
  13886. type: string
  13887. size2:
  13888. description: 尺寸2 - 类型:2,4,5
  13889. type: string
  13890. size3:
  13891. description: 尺寸3 - 类型:2,4,5
  13892. type: string
  13893. sizedisplay:
  13894. description: 尺寸
  13895. type: string
  13896. stonedesc:
  13897. description: 配石描述 - 类型:4
  13898. type: string
  13899. subnum:
  13900. description: 提单子单号
  13901. type: integer
  13902. userid:
  13903. description: 用户ID
  13904. type: integer
  13905. warehouseid:
  13906. description: 仓库ID
  13907. type: integer
  13908. warehousenamedisplay:
  13909. type: string
  13910. weight:
  13911. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  13912. type: number
  13913. weightavg:
  13914. description: 平均单颗重量 - 类型:1,3
  13915. type: number
  13916. wrpath:
  13917. description: 仓单扫描件(相对地址)
  13918. type: string
  13919. wrstandardid:
  13920. description: 现货商品ID
  13921. type: integer
  13922. wrtradeorderid:
  13923. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13924. type: string
  13925. wruserid:
  13926. description: 登录用户ID
  13927. type: integer
  13928. zscategory:
  13929. description: 钻石分类 - 枚举”ZSCategory“
  13930. type: integer
  13931. zscategorydisplay:
  13932. type: string
  13933. zscerttype:
  13934. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  13935. type: integer
  13936. zscerttypedisplay:
  13937. type: string
  13938. zsclaritytype1:
  13939. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  13940. type: integer
  13941. zsclaritytype1display:
  13942. type: string
  13943. zsclaritytype2:
  13944. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  13945. type: integer
  13946. zsclaritytype2display:
  13947. type: string
  13948. zscolortype1:
  13949. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  13950. type: integer
  13951. zscolortype1display:
  13952. type: string
  13953. zscolortype2:
  13954. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  13955. type: integer
  13956. zscolortype2display:
  13957. type: string
  13958. zscrystaltype:
  13959. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  13960. type: string
  13961. zscrystaltypedisplay:
  13962. type: string
  13963. zscurrencytype:
  13964. description: 货币类型 - 枚举“ZSCurrencyType”
  13965. type: integer
  13966. zscurrencytypedisplay:
  13967. type: string
  13968. zscurrencytypedisplayunit:
  13969. type: string
  13970. zscuttype1:
  13971. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  13972. type: integer
  13973. zscuttype1display:
  13974. type: string
  13975. zscuttype2:
  13976. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  13977. type: integer
  13978. zscuttype2display:
  13979. type: string
  13980. zsczcolor1type:
  13981. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  13982. type: integer
  13983. zsczcolor1typedisplay:
  13984. type: string
  13985. zsczcolor2type:
  13986. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  13987. type: integer
  13988. zsczcolor2typedisplay:
  13989. type: string
  13990. zsczcolor3type:
  13991. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  13992. type: integer
  13993. zsczcolor3typedisplay:
  13994. type: string
  13995. zsfluorescencetype1:
  13996. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  13997. type: integer
  13998. zsfluorescencetype1display:
  13999. type: string
  14000. zsfluorescencetype2:
  14001. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  14002. type: integer
  14003. zsfluorescencetype2display:
  14004. type: string
  14005. zspolishtype1:
  14006. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  14007. type: integer
  14008. zspolishtype1display:
  14009. type: string
  14010. zspolishtype2:
  14011. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  14012. type: integer
  14013. zspolishtype2display:
  14014. type: string
  14015. zsshapetype:
  14016. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  14017. type: string
  14018. zsshapetypedisplay:
  14019. type: string
  14020. zsstyletype:
  14021. description: 款式 - 类型:4
  14022. type: integer
  14023. zsstyletypedisplay:
  14024. type: string
  14025. zssymmetrytype1:
  14026. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  14027. type: integer
  14028. zssymmetrytype1display:
  14029. type: string
  14030. zssymmetrytype2:
  14031. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  14032. type: integer
  14033. zssymmetrytype2display:
  14034. type: string
  14035. required:
  14036. - wruserid
  14037. type: object
  14038. models.NewFuncmenulist:
  14039. properties:
  14040. authtype:
  14041. description: 权限类型 - 1:菜单 2:组件 3:按钮
  14042. type: integer
  14043. buttonname:
  14044. description: 按钮名称
  14045. type: string
  14046. buttontype:
  14047. description: 按钮类型 - 存按钮样式
  14048. type: string
  14049. component:
  14050. description: 组件名或组件地址
  14051. type: string
  14052. hidden:
  14053. description: 是否隐藏 - 0:显示 1:隐藏
  14054. type: integer
  14055. iconame:
  14056. description: 菜单图标
  14057. type: string
  14058. menutype:
  14059. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  14060. type: integer
  14061. parentcode:
  14062. description: 上级资源代码
  14063. type: string
  14064. remark:
  14065. description: Remark
  14066. type: string
  14067. resourcecode:
  14068. description: 资源代码
  14069. type: string
  14070. resourcelevel:
  14071. description: 级别1-一级 2-二级 3-三级4-四级
  14072. type: integer
  14073. resourcename:
  14074. description: 资源名(Title)
  14075. type: string
  14076. sort:
  14077. description: 排序
  14078. type: integer
  14079. url:
  14080. description: Url
  14081. type: string
  14082. urltype:
  14083. description: 地址类型 - 1:路由 2:外链 3:内联框架
  14084. type: integer
  14085. required:
  14086. - resourcecode
  14087. type: object
  14088. models.OperationPrimaryMenu:
  14089. properties:
  14090. Children:
  14091. description: 二级功能菜单
  14092. items:
  14093. $ref: '#/definitions/models.OperationSecondaryMenu'
  14094. type: array
  14095. Key:
  14096. description: 菜单KEY
  14097. type: string
  14098. Label:
  14099. description: 菜单标题
  14100. type: string
  14101. type: object
  14102. models.OperationSecondaryMenu:
  14103. properties:
  14104. Key:
  14105. description: 菜单KEY
  14106. type: string
  14107. Label:
  14108. description: 菜单标题
  14109. type: string
  14110. TabList:
  14111. description: 三级功能菜单
  14112. items:
  14113. $ref: '#/definitions/models.OperationTabMenu'
  14114. type: array
  14115. type: object
  14116. models.OperationTabMenu:
  14117. properties:
  14118. Key:
  14119. description: 菜单KEY
  14120. type: string
  14121. Label:
  14122. description: 菜单标题
  14123. type: string
  14124. type: object
  14125. models.Patradelinkdetail:
  14126. properties:
  14127. accountname:
  14128. description: 套期主体
  14129. type: string
  14130. agreeunit:
  14131. description: 合约乘数
  14132. type: number
  14133. amount:
  14134. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  14135. type: number
  14136. areauserid:
  14137. description: 所属机构
  14138. type: integer
  14139. bizsubjectid:
  14140. description: 归属业务部门ID - SubjectID
  14141. type: integer
  14142. buyorsell:
  14143. description: 方向 - 0:买 1:卖
  14144. type: integer
  14145. convertratio:
  14146. description: 品种系数
  14147. type: number
  14148. convertratiochange:
  14149. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  14150. type: number
  14151. createtime:
  14152. description: '[日期时间]创建时间'
  14153. type: string
  14154. creatorid:
  14155. description: 创建人ID
  14156. type: integer
  14157. creatorsrc:
  14158. description: 创建人来源 - 1:管理端 2:终端 3:交易
  14159. type: integer
  14160. goodscode:
  14161. description: 商品代码(内部)
  14162. type: string
  14163. goodsgroupid:
  14164. description: 对冲品种ID[期货合约商品组ID]
  14165. type: integer
  14166. goodsid:
  14167. description: 商品ID
  14168. type: integer
  14169. hedgeditemid:
  14170. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  14171. type: integer
  14172. hedgeflag:
  14173. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  14174. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  14175. type: integer
  14176. linkdetailid:
  14177. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  14178. type: string
  14179. linkstatus:
  14180. description: 关联状态 - 1:成功 2:失败 3:解绑
  14181. type: integer
  14182. middlegoodsid:
  14183. description: 套保品种ID
  14184. type: integer
  14185. name:
  14186. description: 账户名/子账户
  14187. type: string
  14188. optioncode:
  14189. description: '[期货合约]期权代码 [期权]'
  14190. type: string
  14191. ordertype:
  14192. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  14193. type: integer
  14194. relatedlot:
  14195. description: '[数量]关联手数'
  14196. type: number
  14197. relatedmode:
  14198. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  14199. type: integer
  14200. relatedqty:
  14201. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  14202. type: number
  14203. retcode:
  14204. description: 返回码
  14205. type: integer
  14206. saleuserid:
  14207. description: 业务员ID
  14208. type: integer
  14209. tradedate:
  14210. description: 关联交易日(yyyyMMdd)
  14211. type: string
  14212. tradeid:
  14213. description: '[成交单号]内部成交单ID'
  14214. type: string
  14215. tradelot:
  14216. description: 成交手数
  14217. type: integer
  14218. tradeprice:
  14219. description: '[价格]成交价格'
  14220. type: number
  14221. tradetradedate:
  14222. description: 成交交易日(yyyyMMdd)
  14223. type: string
  14224. type: object
  14225. models.PromotionIncome:
  14226. properties:
  14227. profitmonth:
  14228. description: 时间
  14229. type: string
  14230. profitstatus:
  14231. description: 状态 - 0:全部 1:已支付 2:未支付
  14232. type: integer
  14233. sumamount:
  14234. description: 金额
  14235. type: number
  14236. wrstandardcode:
  14237. description: 现货商品代码
  14238. type: string
  14239. wrstandardid:
  14240. description: 现货商品ID
  14241. type: integer
  14242. wrstandardname:
  14243. description: 现货商品名称
  14244. type: string
  14245. type: object
  14246. models.PromotionIncomeDetail:
  14247. properties:
  14248. buyorsell:
  14249. description: 方向
  14250. type: string
  14251. market:
  14252. description: 市场
  14253. type: string
  14254. profitamount:
  14255. description: 金额
  14256. type: number
  14257. profitroletype:
  14258. description: 级别
  14259. type: string
  14260. tradetime:
  14261. description: 时间
  14262. type: string
  14263. wrstandardcode:
  14264. description: 现货商品代码
  14265. type: string
  14266. wrstandardid:
  14267. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14268. type: integer
  14269. wrstandardname:
  14270. description: 现货商品名称
  14271. type: string
  14272. type: object
  14273. models.PurchaseTransfer:
  14274. properties:
  14275. pictureurls:
  14276. description: 详情图片(逗号分隔)
  14277. type: string
  14278. refgoodsid:
  14279. description: 参考商品ID
  14280. type: integer
  14281. thumurls:
  14282. description: 缩略图片(1:1)(逗号分隔)
  14283. type: string
  14284. unitid:
  14285. description: 现货商品单位ID
  14286. type: integer
  14287. wrstandardcode:
  14288. description: 现货商品代码
  14289. type: string
  14290. wrstandardid:
  14291. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14292. type: integer
  14293. wrstandardname:
  14294. description: 现货商品名称(模糊查询)
  14295. type: string
  14296. type: object
  14297. models.QhjAccountOutInApply:
  14298. properties:
  14299. accountcode:
  14300. description: 资金账号
  14301. type: string
  14302. accountname:
  14303. description: 用户名称(名称)
  14304. type: string
  14305. accountpwd:
  14306. description: 资金密码
  14307. type: string
  14308. accountticket:
  14309. description: 最新账户服务流水号
  14310. type: string
  14311. amount:
  14312. description: 金额
  14313. type: number
  14314. applyremark:
  14315. description: 申请备注
  14316. type: string
  14317. applystatus:
  14318. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  14319. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  14320. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  14321. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  14322. type: integer
  14323. auditid:
  14324. description: 审核人
  14325. type: integer
  14326. audittime:
  14327. description: 审核时间
  14328. type: string
  14329. bank_apply_ticket:
  14330. description: 银行申请流水
  14331. type: string
  14332. bankaccountname:
  14333. description: 银行账户名
  14334. type: string
  14335. bankaccountno:
  14336. description: 银行卡号
  14337. type: string
  14338. bankid:
  14339. description: 银行编号
  14340. type: string
  14341. bankticket:
  14342. description: 银行流水
  14343. type: string
  14344. branchbankid:
  14345. description: 银行支行号
  14346. type: string
  14347. branchbankname:
  14348. description: 银行支行名称
  14349. type: string
  14350. capamountout:
  14351. description: 出金(劣后本金) - 外部子账户
  14352. type: number
  14353. certificatephotourl:
  14354. description: 凭证地址
  14355. type: string
  14356. charge:
  14357. description: 手续费
  14358. type: number
  14359. checkerrorflag:
  14360. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  14361. type: integer
  14362. currency:
  14363. description: 币种
  14364. type: string
  14365. cusbankid:
  14366. description: 托管银行编号
  14367. type: string
  14368. cusbankname:
  14369. description: 托管银行名称
  14370. type: string
  14371. cusbankshortname:
  14372. description: 托管银行简称
  14373. type: string
  14374. exchticket:
  14375. description: 银行服务流水号
  14376. type: string
  14377. executetype:
  14378. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  14379. 7:外部子账户:入金 8:外部子账户:出金'
  14380. type: integer
  14381. extendinfo:
  14382. description: 扩展信息
  14383. type: string
  14384. extoperateid:
  14385. description: 交易服务流水号
  14386. type: integer
  14387. infamount:
  14388. description: 劣后金额(自有)
  14389. type: number
  14390. logincode:
  14391. description: 登录账号(账号)
  14392. type: string
  14393. netaddr:
  14394. description: 调转网址
  14395. type: string
  14396. priamount:
  14397. description: 优先金额(授信)
  14398. type: number
  14399. reauditid:
  14400. description: 复审人
  14401. type: integer
  14402. reauditremark:
  14403. description: 复审备注
  14404. type: string
  14405. reaudittime:
  14406. description: 复审时间
  14407. type: string
  14408. relatedorderid:
  14409. description: 三方关联ID
  14410. type: string
  14411. remark:
  14412. description: 备注
  14413. type: string
  14414. remark2:
  14415. description: 备注(失败原因)
  14416. type: string
  14417. soucreamount:
  14418. description: 原始出入金金额
  14419. type: number
  14420. soucrecurrencyid:
  14421. description: 原始出入金币种
  14422. type: integer
  14423. tradedate:
  14424. description: 交易日(yyyyMMdd)
  14425. type: string
  14426. updatetime:
  14427. description: 更新时间(申请时间)
  14428. type: string
  14429. userid:
  14430. description: 用户id
  14431. type: integer
  14432. userinfotype:
  14433. description: 账户类型 1-个人 2-企业
  14434. type: integer
  14435. type: object
  14436. models.QhjAgreementChangeLog:
  14437. properties:
  14438. agreementcontent:
  14439. description: 协议内容
  14440. type: string
  14441. agreementfrequency:
  14442. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14443. type: integer
  14444. agreementid:
  14445. description: 协议ID
  14446. type: integer
  14447. agreementname:
  14448. description: 协议名称
  14449. type: string
  14450. agreementno:
  14451. description: 协议编号
  14452. type: string
  14453. agreementtype:
  14454. description: 协议类型 - 1:注册 2:登录 3:交易
  14455. type: integer
  14456. agreementversion:
  14457. description: 协议版本号
  14458. type: integer
  14459. logid:
  14460. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  14461. type: integer
  14462. reviserid:
  14463. description: 修改人
  14464. type: integer
  14465. revisersrc:
  14466. description: 修改来源 - 1:管理端 2:终端
  14467. type: integer
  14468. updatetime:
  14469. description: 更新时间
  14470. type: string
  14471. type: object
  14472. models.QhjAgreementConfig:
  14473. properties:
  14474. agreementcontent:
  14475. description: 协议内容
  14476. type: string
  14477. agreementfrequency:
  14478. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14479. type: integer
  14480. agreementid:
  14481. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  14482. type: integer
  14483. agreementname:
  14484. description: 协议名称
  14485. type: string
  14486. agreementno:
  14487. description: 协议编号
  14488. type: string
  14489. agreementtype:
  14490. description: 协议类型 - 1:注册 2:登录 3:交易
  14491. type: integer
  14492. agreementversion:
  14493. description: 协议版本号(从1开始每次修改加1)
  14494. type: integer
  14495. createtime:
  14496. description: 创建时间
  14497. type: string
  14498. creatorid:
  14499. description: 创建人
  14500. type: integer
  14501. creatorsrc:
  14502. description: 创建来源 - 1:管理端 2:终端
  14503. type: integer
  14504. isvalid:
  14505. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  14506. type: integer
  14507. reviserid:
  14508. description: 修改人
  14509. type: integer
  14510. revisersrc:
  14511. description: 修改来源 - 1:管理端 2:终端
  14512. type: integer
  14513. updatetime:
  14514. description: 更新时间
  14515. type: string
  14516. type: object
  14517. models.QhjAreaFinanceConfig:
  14518. properties:
  14519. additionalratio:
  14520. description: 追加款比例
  14521. type: number
  14522. advanceratio:
  14523. description: 预付款比例
  14524. type: number
  14525. alarmratio:
  14526. description: 告警比例
  14527. type: number
  14528. consumptiondirectreward:
  14529. description: 消费直推奖励值
  14530. type: number
  14531. consumptionenabled:
  14532. description: 是否启用消费奖励 - 0:不启用 1:启用
  14533. type: integer
  14534. consumptionindirectreward:
  14535. description: 消费间推奖励值
  14536. type: number
  14537. consumptionmodel:
  14538. description: 消费奖励方式 - 1:比率 2:固定
  14539. type: integer
  14540. customerservicenum:
  14541. description: 客服电话
  14542. type: string
  14543. dayinterestrate:
  14544. description: 日利率
  14545. type: number
  14546. disableconsumptiontips:
  14547. description: 关闭消费奖励提示
  14548. type: string
  14549. modifierid:
  14550. description: 修改人ID
  14551. type: integer
  14552. modifysrc:
  14553. description: 审核来源 - 1:管理端 2:终端
  14554. type: integer
  14555. modifytime:
  14556. description: 修改时间
  14557. type: string
  14558. promotionvalue:
  14559. description: 推广奖励值(固定)
  14560. type: number
  14561. scoreconfigvalue1:
  14562. description: 提货积分配置1
  14563. type: integer
  14564. scoreconfigvalue2:
  14565. description: 提货积分配置2
  14566. type: integer
  14567. userid:
  14568. description: 机构用户ID其他做市关系,都设置为 1
  14569. type: integer
  14570. username:
  14571. description: 用户名称
  14572. type: string
  14573. type: object
  14574. models.QhjBankAccountSign:
  14575. properties:
  14576. accountcode:
  14577. description: 资金账号
  14578. type: string
  14579. accountname:
  14580. description: 资金账号对应的账号名(UserName)
  14581. type: string
  14582. accountname2:
  14583. description: 资金账号对应的账号名(UserName) - 密文
  14584. type: string
  14585. accounttype:
  14586. description: 账户类型(UserType)
  14587. type: integer
  14588. applicationtime:
  14589. description: 最后一次更新的时间
  14590. type: string
  14591. applyexchticket:
  14592. description: 申请流水
  14593. type: string
  14594. auditid:
  14595. description: 审核人
  14596. type: integer
  14597. audittime:
  14598. description: 审核时间
  14599. type: string
  14600. bankaccountname:
  14601. description: 签约银行卡账号名
  14602. type: string
  14603. bankaccountname2:
  14604. description: 签约银行卡账号名 - 密文
  14605. type: string
  14606. bankaccountno:
  14607. description: 银行卡号
  14608. type: string
  14609. bankaccountno2:
  14610. description: 银行卡号 - 密文
  14611. type: string
  14612. bankaccounttype:
  14613. description: 银行账户类型 - 1-对私; 2-对公
  14614. type: integer
  14615. bankcardtype:
  14616. description: 银行卡类型
  14617. type: integer
  14618. bankchildaccount:
  14619. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  14620. type: string
  14621. bankcity:
  14622. description: 开户行城市
  14623. type: string
  14624. bankid:
  14625. description: 签约银行ID
  14626. type: string
  14627. bankname:
  14628. description: 签约银行名称
  14629. type: string
  14630. bankprovince:
  14631. description: 开户行省份
  14632. type: string
  14633. branchbankid:
  14634. description: 签约银行支行号
  14635. type: string
  14636. branchbankname:
  14637. description: 签约银行支行名称
  14638. type: string
  14639. cardno:
  14640. description: 证件号码
  14641. type: string
  14642. cardno2:
  14643. description: 证件号码 - 密文
  14644. type: string
  14645. cardtype:
  14646. description: 证件类型
  14647. type: string
  14648. currency:
  14649. description: 币种
  14650. type: string
  14651. cusbankid:
  14652. description: 托管银行编号
  14653. type: string
  14654. direct:
  14655. description: 方向(可以判断那方先发起的签约)
  14656. type: integer
  14657. exchticket:
  14658. description: 最后一次签约成功的流水号
  14659. type: string
  14660. extendinfo:
  14661. description: 扩展信息(JSON字符串)
  14662. type: string
  14663. mobilephone:
  14664. description: 手机号
  14665. type: string
  14666. mobilephone2:
  14667. description: 手机号 - 密文
  14668. type: string
  14669. netaddr:
  14670. description: 调转网址
  14671. type: string
  14672. relateduserid:
  14673. description: 关联使用者userid
  14674. type: integer
  14675. signstatus:
  14676. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14677. 10:审核拒绝 11:换签待审核
  14678. type: integer
  14679. updatetime:
  14680. description: 更新时间(签解约更新时间)
  14681. type: string
  14682. type: object
  14683. models.QhjBankInfo:
  14684. properties:
  14685. bankid:
  14686. description: 银行ID
  14687. type: string
  14688. bankname:
  14689. description: 银行名称
  14690. type: string
  14691. clearbankno:
  14692. description: 清算系统银行编号
  14693. type: string
  14694. orderindex:
  14695. description: 排序顺序
  14696. type: integer
  14697. status:
  14698. description: 状态 - 0:正常 1:注销
  14699. type: integer
  14700. type: object
  14701. models.QhjBrokerApply:
  14702. properties:
  14703. applicantid:
  14704. description: 申请人
  14705. type: integer
  14706. applysrc:
  14707. description: 申请来源 - 1:管理端 2:终端
  14708. type: integer
  14709. applystatus:
  14710. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14711. type: integer
  14712. applytime:
  14713. description: 申请时间
  14714. type: string
  14715. auditorid:
  14716. description: 审核人
  14717. type: integer
  14718. auditremark:
  14719. description: 审核备注
  14720. type: string
  14721. auditsrc:
  14722. description: 审核来源 - 1:管理端 2:终端
  14723. type: integer
  14724. audittime:
  14725. description: 审核时间
  14726. type: string
  14727. audittradedate:
  14728. description: 审核交易日(yyyyMMdd)
  14729. type: string
  14730. brokerapplyid:
  14731. description: 申请ID(SEQ_BROKERAPPLY)
  14732. type: integer
  14733. cardbackphotourl:
  14734. description: 证件背面图片地址
  14735. type: string
  14736. cardfrontphotourl:
  14737. description: 证件正面图片地址
  14738. type: string
  14739. cardnum:
  14740. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  14741. type: string
  14742. customername:
  14743. description: 姓名
  14744. type: string
  14745. logincode:
  14746. description: 登录代码
  14747. type: string
  14748. mobile:
  14749. description: 手机号码
  14750. type: string
  14751. parentuserid:
  14752. description: 所属机构id
  14753. type: integer
  14754. parentusername:
  14755. description: 所属机构名称
  14756. type: string
  14757. refereeuserid:
  14758. description: 推荐人id(经纪人)
  14759. type: integer
  14760. refernum:
  14761. description: 推荐码
  14762. type: string
  14763. remark:
  14764. description: 备注
  14765. type: string
  14766. subarealevelpath:
  14767. description: 层级路径
  14768. type: string
  14769. tradedate:
  14770. description: 交易日(yyyyMMdd)
  14771. type: string
  14772. userid:
  14773. description: 申请人用户ID
  14774. type: integer
  14775. userinfotype:
  14776. description: 用户类型 1-个人 2-企业
  14777. type: integer
  14778. username:
  14779. description: 用户名称
  14780. type: string
  14781. type: object
  14782. models.QhjBrokerApplyEx:
  14783. properties:
  14784. applylist:
  14785. description: 经纪人申请记录(只返回最新一条)
  14786. items:
  14787. $ref: '#/definitions/models.QhjBrokerApply'
  14788. type: array
  14789. canrecommend:
  14790. description: 是否经纪人 0-不是 1-是
  14791. type: integer
  14792. refernum:
  14793. description: 推荐码
  14794. type: string
  14795. userid:
  14796. description: 用户id
  14797. type: integer
  14798. userinfotype:
  14799. description: 用户类型 1-个人 2-企业
  14800. type: integer
  14801. type: object
  14802. models.QhjBrokerRewardLog:
  14803. properties:
  14804. accountid:
  14805. description: 资金账号ID
  14806. type: integer
  14807. createtime:
  14808. description: 创建时间(时间)
  14809. type: string
  14810. handlestatus:
  14811. description: 处理状态
  14812. type: integer
  14813. logid:
  14814. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14815. type: string
  14816. marketid:
  14817. description: 市场ID
  14818. type: integer
  14819. mmaccountid:
  14820. description: 做市商资金账号ID
  14821. type: string
  14822. mmuserid:
  14823. description: 做市商用户ID
  14824. type: string
  14825. rewardamount:
  14826. description: 奖励金额
  14827. type: number
  14828. rewardmodel:
  14829. description: 消费奖励方式 - 1:比率 2:固定
  14830. type: integer
  14831. rewardtype:
  14832. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  14833. type: integer
  14834. rewardvalue:
  14835. description: 配置奖励值
  14836. type: number
  14837. srcamount:
  14838. description: 成交金额 [消费奖励] (金额)
  14839. type: number
  14840. srcgoodsid:
  14841. description: 来源商品ID [消费奖励]
  14842. type: string
  14843. srctime:
  14844. description: 来源时间 (成交时间) [消费奖励]
  14845. type: string
  14846. srctradeid:
  14847. description: 来源成交单ID [消费奖励] - 排除提货成交
  14848. type: string
  14849. srcuserid:
  14850. description: 来源用户ID(推广账户)
  14851. type: string
  14852. srcusername:
  14853. description: 推广账户名称
  14854. type: string
  14855. tradedate:
  14856. description: 交易日(yyyyMMdd)
  14857. type: string
  14858. userid:
  14859. description: 经纪人用户ID
  14860. type: integer
  14861. type: object
  14862. models.QhjContract:
  14863. properties:
  14864. contractconfirmtime:
  14865. description: 合同确认时间(时间)
  14866. type: string
  14867. currisklevel:
  14868. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14869. type: integer
  14870. decimalplace:
  14871. description: 商品报价小数位
  14872. type: integer
  14873. enumdicname:
  14874. description: 单位名称
  14875. type: string
  14876. goodscode:
  14877. description: 商品代码
  14878. type: string
  14879. goodsid:
  14880. description: 商品ID [5:融资单]
  14881. type: integer
  14882. goodsname:
  14883. description: 商品名称
  14884. type: string
  14885. goodunitid:
  14886. description: 商品单位id
  14887. type: integer
  14888. initmargin:
  14889. description: 初始保证金(首付款)
  14890. type: number
  14891. lenderamount:
  14892. description: 贷款金额(总额|订单总额)
  14893. type: number
  14894. marginratio:
  14895. description: 保证金比率(首付比例)
  14896. type: number
  14897. payamount:
  14898. description: 已付(已付货款)
  14899. type: number
  14900. reckonrecovermargin:
  14901. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  14902. type: number
  14903. recoveredmargin:
  14904. description: 已追缴保证金
  14905. type: number
  14906. remainamount:
  14907. description: 合同剩余金额(融资额)
  14908. type: number
  14909. scfcontractid:
  14910. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14911. type: string
  14912. scfcontractstatus:
  14913. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14914. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14915. type: integer
  14916. scfcontracttype:
  14917. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  14918. type: integer
  14919. totalinterest:
  14920. description: 已计总利息(利息)
  14921. type: number
  14922. tradeprice:
  14923. description: 成交价格(成本价格)
  14924. type: number
  14925. userid:
  14926. description: 用户ID
  14927. type: integer
  14928. username:
  14929. description: 用户名称
  14930. type: string
  14931. wrqty:
  14932. description: 仓单数量(数量)
  14933. type: number
  14934. type: object
  14935. models.QhjContractLog:
  14936. properties:
  14937. amount:
  14938. description: 支付金额
  14939. type: number
  14940. amounttype:
  14941. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  14942. type: integer
  14943. logid:
  14944. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14945. type: string
  14946. remainamount:
  14947. description: 剩余货款
  14948. type: number
  14949. scfcontractid:
  14950. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14951. type: integer
  14952. updatetime:
  14953. description: 更新时间
  14954. type: string
  14955. type: object
  14956. models.QhjCusBankSignBankEx:
  14957. properties:
  14958. banklst:
  14959. description: 银行列表
  14960. items:
  14961. $ref: '#/definitions/models.QhjBankInfo'
  14962. type: array
  14963. canallot:
  14964. description: 是否支持跨行调拨 - 0:不支持 1:支持
  14965. type: integer
  14966. canallotquery:
  14967. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  14968. type: integer
  14969. canbindcard:
  14970. description: 是否可绑卡与解卡 - 0:不可 1:可以
  14971. type: integer
  14972. caninamount:
  14973. description: 是否可入金 - 0:不可 1:可以
  14974. type: integer
  14975. caninamount2:
  14976. description: 是否可入金(网银端) - 0:不可 1:可以
  14977. type: integer
  14978. canmodifybankcard:
  14979. description: 是否可修改银行卡号 - 0:不可 1:可以
  14980. type: integer
  14981. canmodifyphone:
  14982. description: 是否可修改手机号 - 0:不可 1:可以
  14983. type: integer
  14984. canmodifysigninfo:
  14985. description: 是否可修改签约信息 - 0:不可 1:可以
  14986. type: integer
  14987. canoutamount:
  14988. description: 是否可出金 - 0:不可 1:可以
  14989. type: integer
  14990. canoutamount2:
  14991. description: 是否可出金(网银端) - 0:不可 1:可以
  14992. type: integer
  14993. canrelease:
  14994. description: 是否可解约 - 0:不可 1:可以
  14995. type: integer
  14996. canrelease2:
  14997. description: 是否可解约(网银端) - 0:不可 1:可以
  14998. type: integer
  14999. cansign:
  15000. description: 是否可签约 - 0:不可 1:可以
  15001. type: integer
  15002. cansign2:
  15003. description: 是否可签约(网银端) - 0:不可 1:可以
  15004. type: integer
  15005. currency:
  15006. description: 币种
  15007. type: string
  15008. cusbankid:
  15009. description: 托管银行编号(对应清算中心TRAN_NO)
  15010. type: string
  15011. cusbankname:
  15012. description: 银行业务名称
  15013. type: string
  15014. cusbankshortname:
  15015. description: 银行业务简称
  15016. type: string
  15017. exchbankid:
  15018. description: 交易所开户银行ID
  15019. type: string
  15020. exchpaybankaccname:
  15021. description: 交易所支出结算账户户名
  15022. type: string
  15023. exchpaybankaccno:
  15024. description: 交易所支出结算账户
  15025. type: string
  15026. isneedcheck:
  15027. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  15028. type: integer
  15029. isneedclear:
  15030. description: 是否需要清算 - 0:不需要 1:需要
  15031. type: integer
  15032. lastcheckstatus:
  15033. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  15034. type: integer
  15035. lastchecktime:
  15036. description: 最后对账时间
  15037. type: string
  15038. lastclearstatus:
  15039. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  15040. type: integer
  15041. lastcleartime:
  15042. description: 最后清算时间
  15043. type: string
  15044. lastsignintime:
  15045. description: 最后签到时间
  15046. type: string
  15047. lastsignouttime:
  15048. description: 最后签退时间
  15049. type: string
  15050. riskinfo:
  15051. description: 签约风险提示书
  15052. type: string
  15053. signstatus:
  15054. description: 当前签到/签退状态 - 1:签到 2:签退
  15055. type: integer
  15056. tradedate:
  15057. description: 交易日(yyyyMMdd)
  15058. type: string
  15059. updatetime:
  15060. description: 当前签到/签退更新时间
  15061. type: string
  15062. type: object
  15063. models.QhjCustomer:
  15064. properties:
  15065. address:
  15066. description: 通讯地址
  15067. type: string
  15068. attachment1:
  15069. description: 附件1
  15070. type: string
  15071. attachment2:
  15072. description: 附件2
  15073. type: string
  15074. audittime:
  15075. description: 审核时间
  15076. type: string
  15077. cardbackphotourl:
  15078. description: 证件反面图片地址
  15079. type: string
  15080. cardfrontphotourl:
  15081. description: 证件正面图片地址
  15082. type: string
  15083. cardnum:
  15084. description: 证件号码
  15085. type: string
  15086. cardtype:
  15087. description: 证件类型
  15088. type: integer
  15089. cardtypename:
  15090. description: 证件类型名称
  15091. type: string
  15092. cityid:
  15093. description: 市
  15094. type: integer
  15095. cityname:
  15096. description: 城市名称
  15097. type: string
  15098. contactname:
  15099. description: 联系人
  15100. type: string
  15101. countryid:
  15102. description: 国家
  15103. type: integer
  15104. countryname:
  15105. description: 国家名称
  15106. type: string
  15107. createtime:
  15108. description: 创建时间
  15109. type: string
  15110. customername:
  15111. description: 客户名称
  15112. type: string
  15113. districtid:
  15114. description: 区域
  15115. type: integer
  15116. districtname:
  15117. description: 地区名称
  15118. type: string
  15119. email:
  15120. description: 邮件
  15121. type: string
  15122. legalpersonname:
  15123. description: 法人姓名(企业)
  15124. type: string
  15125. logincode:
  15126. description: 登录账号(代码)
  15127. type: string
  15128. memberuserid:
  15129. description: 所属机构ID(所属会员)
  15130. type: integer
  15131. memberusername:
  15132. description: 所属会员名称
  15133. type: string
  15134. mobile:
  15135. description: 手机号码
  15136. type: string
  15137. modifytime:
  15138. description: 修改时间
  15139. type: string
  15140. nickname:
  15141. description: 昵称
  15142. type: string
  15143. parentuserid:
  15144. description: 上级机构(所属机构)
  15145. type: integer
  15146. parentusername:
  15147. description: 所属机构名称
  15148. type: string
  15149. provinceid:
  15150. description: 省
  15151. type: integer
  15152. provincename:
  15153. description: 省名称
  15154. type: string
  15155. proxystatementurl:
  15156. description: 授权委托书
  15157. type: string
  15158. remark:
  15159. description: 备注
  15160. type: string
  15161. status:
  15162. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  15163. type: integer
  15164. statusdesc:
  15165. description: 账户状态中文描述
  15166. type: string
  15167. taxpayernum:
  15168. description: 纳税人识别号
  15169. type: string
  15170. telphone:
  15171. description: 联系电话
  15172. type: string
  15173. userid:
  15174. description: 用户ID
  15175. type: integer
  15176. userinfotype:
  15177. description: 客户类型 1-个人 2-企业
  15178. type: integer
  15179. username:
  15180. description: 用户名称
  15181. type: string
  15182. type: object
  15183. models.QhjCustomerSignLog:
  15184. properties:
  15185. agreementcontent:
  15186. description: 协议内容
  15187. type: string
  15188. agreementid:
  15189. description: 协议ID
  15190. type: integer
  15191. agreementname:
  15192. description: 协议名称
  15193. type: string
  15194. agreementno:
  15195. description: 协议编号
  15196. type: string
  15197. agreementtype:
  15198. description: 协议类型 - 1:注册 2:登录 3:交易
  15199. type: integer
  15200. agreementversion:
  15201. description: 协议版本号
  15202. type: integer
  15203. createtime:
  15204. description: 创建时间
  15205. type: string
  15206. goodscode:
  15207. description: 商品代码
  15208. type: string
  15209. goodsid:
  15210. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15211. type: integer
  15212. goodsname:
  15213. description: 商品名称
  15214. type: string
  15215. logid:
  15216. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  15217. type: integer
  15218. nodetype:
  15219. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15220. type: integer
  15221. signadressurl:
  15222. description: 签约文件地址
  15223. type: string
  15224. signtimestamp:
  15225. description: 签约状态时间戳
  15226. type: string
  15227. userid:
  15228. description: 客户ID
  15229. type: integer
  15230. username:
  15231. description: 客户名称
  15232. type: string
  15233. type: object
  15234. models.QhjCustomerSignStatus:
  15235. properties:
  15236. createtime:
  15237. description: 创建时间
  15238. type: string
  15239. goodscode:
  15240. description: 商品代码
  15241. type: string
  15242. goodsid:
  15243. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15244. type: integer
  15245. goodsname:
  15246. description: 商品名称
  15247. type: string
  15248. nodetype:
  15249. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  15250. type: integer
  15251. signtimestamp:
  15252. description: 签约状态时间戳
  15253. type: string
  15254. tradedate:
  15255. description: 创建交易日(yyyyMMdd)
  15256. type: string
  15257. updatetime:
  15258. description: 更新时间
  15259. type: string
  15260. userid:
  15261. description: 客户ID
  15262. type: integer
  15263. username:
  15264. description: 客户名称
  15265. type: string
  15266. type: object
  15267. models.QhjMgrAccountOutInApply:
  15268. properties:
  15269. accountcode:
  15270. description: 资金账号
  15271. type: string
  15272. accountname:
  15273. description: 用户名称(名称)
  15274. type: string
  15275. accountpwd:
  15276. description: 资金密码
  15277. type: string
  15278. accountticket:
  15279. description: 最新账户服务流水号
  15280. type: string
  15281. amount:
  15282. description: 金额
  15283. type: number
  15284. applyremark:
  15285. description: 申请备注
  15286. type: string
  15287. applystatus:
  15288. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  15289. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  15290. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  15291. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  15292. type: integer
  15293. auditid:
  15294. description: 审核人
  15295. type: integer
  15296. audittime:
  15297. description: 审核时间
  15298. type: string
  15299. bank_apply_ticket:
  15300. description: 银行申请流水
  15301. type: string
  15302. bankaccountname:
  15303. description: 银行账户名
  15304. type: string
  15305. bankaccountno:
  15306. description: 银行卡号
  15307. type: string
  15308. bankid:
  15309. description: 银行编号
  15310. type: string
  15311. bankname:
  15312. description: 银行名称
  15313. type: string
  15314. bankticket:
  15315. description: 银行流水
  15316. type: string
  15317. branchbankid:
  15318. description: 银行支行号
  15319. type: string
  15320. branchbankname:
  15321. description: 银行支行名称
  15322. type: string
  15323. capamountout:
  15324. description: 出金(劣后本金) - 外部子账户
  15325. type: number
  15326. certificatephotourl:
  15327. description: 凭证地址
  15328. type: string
  15329. charge:
  15330. description: 手续费
  15331. type: number
  15332. checkerrorflag:
  15333. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  15334. type: integer
  15335. currency:
  15336. description: 币种
  15337. type: string
  15338. cusbankid:
  15339. description: 托管银行编号
  15340. type: string
  15341. exchticket:
  15342. description: 银行服务流水号
  15343. type: string
  15344. executetype:
  15345. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  15346. 7:外部子账户:入金 8:外部子账户:出金'
  15347. type: integer
  15348. extendinfo:
  15349. description: 扩展信息
  15350. type: string
  15351. extoperateid:
  15352. description: 交易服务流水号
  15353. type: integer
  15354. infamount:
  15355. description: 劣后金额(自有)
  15356. type: number
  15357. logincode:
  15358. description: 登录账号(账号)
  15359. type: string
  15360. netaddr:
  15361. description: 调转网址
  15362. type: string
  15363. priamount:
  15364. description: 优先金额(授信)
  15365. type: number
  15366. reauditid:
  15367. description: 复审人
  15368. type: integer
  15369. reauditremark:
  15370. description: 复审备注
  15371. type: string
  15372. reaudittime:
  15373. description: 复审时间
  15374. type: string
  15375. relatedorderid:
  15376. description: 三方关联ID
  15377. type: string
  15378. remark:
  15379. description: 备注
  15380. type: string
  15381. remark2:
  15382. description: 备注(失败原因)
  15383. type: string
  15384. soucreamount:
  15385. description: 原始出入金金额
  15386. type: number
  15387. soucrecurrencyid:
  15388. description: 原始出入金币种
  15389. type: integer
  15390. tradedate:
  15391. description: 交易日(yyyyMMdd)
  15392. type: string
  15393. updatetime:
  15394. description: 更新时间(申请时间)
  15395. type: string
  15396. userid:
  15397. description: 用户id
  15398. type: integer
  15399. userinfotype:
  15400. description: 账户类型 1-个人 2-企业
  15401. type: integer
  15402. type: object
  15403. models.QhjMgrBrokerApply:
  15404. properties:
  15405. applicantid:
  15406. description: 申请人
  15407. type: integer
  15408. applysrc:
  15409. description: 申请来源 - 1:管理端 2:终端
  15410. type: integer
  15411. applystatus:
  15412. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15413. type: integer
  15414. applytime:
  15415. description: 申请时间
  15416. type: string
  15417. auditorid:
  15418. description: 审核人
  15419. type: integer
  15420. auditremark:
  15421. description: 审核备注
  15422. type: string
  15423. auditsrc:
  15424. description: 审核来源 - 1:管理端 2:终端
  15425. type: integer
  15426. audittime:
  15427. description: 审核时间
  15428. type: string
  15429. audittradedate:
  15430. description: 审核交易日(yyyyMMdd)
  15431. type: string
  15432. brokerapplyid:
  15433. description: 申请ID(SEQ_BROKERAPPLY)
  15434. type: integer
  15435. cardbackphotourl:
  15436. description: 证件背面图片地址
  15437. type: string
  15438. cardfrontphotourl:
  15439. description: 证件正面图片地址
  15440. type: string
  15441. cardnum:
  15442. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  15443. type: string
  15444. customername:
  15445. description: 姓名
  15446. type: string
  15447. filterstatus:
  15448. description: 筛选条件
  15449. type: string
  15450. logincode:
  15451. description: 登录代码
  15452. type: string
  15453. mobile:
  15454. description: 手机号码
  15455. type: string
  15456. parentuserid:
  15457. description: 所属机构id
  15458. type: integer
  15459. parentusername:
  15460. description: 所属机构名称
  15461. type: string
  15462. refereeuserid:
  15463. description: 推荐人id(经纪人)
  15464. type: integer
  15465. refernum:
  15466. description: 推荐码
  15467. type: string
  15468. remark:
  15469. description: 备注
  15470. type: string
  15471. subarealevelpath:
  15472. description: 层级路径
  15473. type: string
  15474. tradedate:
  15475. description: 交易日(yyyyMMdd)
  15476. type: string
  15477. userid:
  15478. description: 申请人用户ID
  15479. type: integer
  15480. userinfotype:
  15481. description: 用户类型 1-个人 2-企业
  15482. type: integer
  15483. username:
  15484. description: 用户名称
  15485. type: string
  15486. type: object
  15487. models.QhjMgrBrokerRewardReport:
  15488. properties:
  15489. createtime:
  15490. description: 创建时间(注册时间)
  15491. type: string
  15492. cycletime:
  15493. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  15494. type: string
  15495. cycletype:
  15496. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15497. type: integer
  15498. directtotalnum:
  15499. description: 直推总人数【期末】
  15500. type: integer
  15501. indirecttotalnum:
  15502. description: 间推总人数【期末】
  15503. type: integer
  15504. mobile:
  15505. description: 电话号码
  15506. type: string
  15507. refereeuserid:
  15508. description: 推荐人id(经纪人id)
  15509. type: integer
  15510. refereeusername:
  15511. description: 推荐人名称(经纪人) 上级经纪人名称
  15512. type: string
  15513. refernum:
  15514. description: 推荐码
  15515. type: string
  15516. subarealevelpath:
  15517. description: 用户层级路径
  15518. type: string
  15519. todayrewardamount:
  15520. description: 奖励总金额【汇总】
  15521. type: number
  15522. updatetime:
  15523. description: 更新时间
  15524. type: string
  15525. userid:
  15526. description: 经纪人用户ID
  15527. type: integer
  15528. userinfotype:
  15529. description: 用户类型 1-个人 2-企业
  15530. type: integer
  15531. username:
  15532. description: 用户名称
  15533. type: string
  15534. type: object
  15535. models.QhjMgrContract:
  15536. properties:
  15537. contractconfirmtime:
  15538. description: 合同确认时间(时间)
  15539. type: string
  15540. currisklevel:
  15541. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15542. type: integer
  15543. decimalplace:
  15544. description: 商品报价小数位
  15545. type: integer
  15546. enumdicname:
  15547. description: 单位名称
  15548. type: string
  15549. goodscode:
  15550. description: 商品代码
  15551. type: string
  15552. goodsid:
  15553. description: 商品ID [5:融资单]
  15554. type: integer
  15555. goodsname:
  15556. description: 商品名称
  15557. type: string
  15558. goodunitid:
  15559. description: 商品单位id
  15560. type: integer
  15561. initmargin:
  15562. description: 初始保证金(首付款)
  15563. type: number
  15564. lenderamount:
  15565. description: 贷款金额(总额|订单总额)
  15566. type: number
  15567. logincode:
  15568. description: 账号(登录代码)
  15569. type: string
  15570. marginratio:
  15571. description: 保证金比率(首付比例)
  15572. type: number
  15573. mobile:
  15574. description: 电话号码(用户资料里的电话)
  15575. type: string
  15576. payamount:
  15577. description: 已付(已付货款)
  15578. type: number
  15579. reckonrecovermargin:
  15580. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15581. type: number
  15582. recoveredmargin:
  15583. description: 已追缴保证金
  15584. type: number
  15585. remainamount:
  15586. description: 合同剩余金额(融资额)
  15587. type: number
  15588. scfcontractid:
  15589. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15590. type: string
  15591. scfcontractstatus:
  15592. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15593. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15594. type: integer
  15595. scfcontracttype:
  15596. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15597. type: integer
  15598. totalinterest:
  15599. description: 已计总利息(利息)
  15600. type: number
  15601. tradedate:
  15602. description: 交易日
  15603. type: string
  15604. tradeprice:
  15605. description: 成交价格(成本价格)
  15606. type: number
  15607. userid:
  15608. description: 用户ID
  15609. type: integer
  15610. userinfotype:
  15611. description: 用户类型 1-个人 2-企业
  15612. type: integer
  15613. username:
  15614. description: 用户名称
  15615. type: string
  15616. wrqty:
  15617. description: 仓单数量(数量)
  15618. type: number
  15619. type: object
  15620. models.QhjMgrCustomer:
  15621. properties:
  15622. address:
  15623. description: 通讯地址
  15624. type: string
  15625. attachment1:
  15626. description: 附件1
  15627. type: string
  15628. audittime:
  15629. description: 审核时间
  15630. type: string
  15631. birthday:
  15632. description: 生日
  15633. type: string
  15634. brokerid:
  15635. description: 所属客户经理id
  15636. type: integer
  15637. brokername:
  15638. description: 所属客户经理名称
  15639. type: string
  15640. cardbackphotourl:
  15641. description: 证件反面图片地址
  15642. type: string
  15643. cardfrontphotourl:
  15644. description: 证件正面图片地址
  15645. type: string
  15646. cardnum:
  15647. description: 证件号码
  15648. type: string
  15649. cardtype:
  15650. description: 证件类型
  15651. type: integer
  15652. cardtypename:
  15653. description: 证件类型名称
  15654. type: string
  15655. cityid:
  15656. description: 市
  15657. type: integer
  15658. cityname:
  15659. description: 城市名称
  15660. type: string
  15661. contactname:
  15662. description: 联系人
  15663. type: string
  15664. countryid:
  15665. description: 国家
  15666. type: integer
  15667. countryname:
  15668. description: 国家名称
  15669. type: string
  15670. createtime:
  15671. description: 创建时间
  15672. type: string
  15673. customername:
  15674. description: 客户名称
  15675. type: string
  15676. districtid:
  15677. description: 区域
  15678. type: integer
  15679. districtname:
  15680. description: 地区名称
  15681. type: string
  15682. email:
  15683. description: 邮件
  15684. type: string
  15685. legalpersonname:
  15686. description: 法人姓名(企业)
  15687. type: string
  15688. logincode:
  15689. description: 登录账号(代码)
  15690. type: string
  15691. memberuserid:
  15692. description: 所属机构ID(所属会员)
  15693. type: integer
  15694. memberusername:
  15695. description: 所属会员名称
  15696. type: string
  15697. mobile:
  15698. description: 手机号码
  15699. type: string
  15700. modifytime:
  15701. description: 修改时间
  15702. type: string
  15703. nickname:
  15704. description: 昵称
  15705. type: string
  15706. parentuserid:
  15707. description: 上级机构(所属机构)
  15708. type: integer
  15709. parentusername:
  15710. description: 所属机构名称
  15711. type: string
  15712. provinceid:
  15713. description: 省
  15714. type: integer
  15715. provincename:
  15716. description: 省名称
  15717. type: string
  15718. proxystatementurl:
  15719. description: 授权委托书
  15720. type: string
  15721. querytype:
  15722. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  15723. type: integer
  15724. remark:
  15725. description: 备注
  15726. type: string
  15727. sex:
  15728. description: 性别 0-女 1-男
  15729. type: integer
  15730. status:
  15731. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  15732. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  15733. type: integer
  15734. statusdesc:
  15735. description: 账户状态中文描述
  15736. type: string
  15737. taxpayernum:
  15738. description: 纳税人识别号
  15739. type: string
  15740. telphone:
  15741. description: 联系电话
  15742. type: string
  15743. userid:
  15744. description: 用户ID
  15745. type: integer
  15746. userinfotype:
  15747. description: 客户类型 1-个人 2-企业
  15748. type: integer
  15749. username:
  15750. description: 用户名称
  15751. type: string
  15752. type: object
  15753. models.QhjMgrPickGoods:
  15754. properties:
  15755. enumdicname:
  15756. description: 单位名称(提货商品)
  15757. type: string
  15758. goodsid:
  15759. description: 商品id
  15760. type: integer
  15761. imageaddress:
  15762. description: 图片
  15763. type: string
  15764. modifierid:
  15765. description: 修改人
  15766. type: integer
  15767. modifiername:
  15768. description: 修改人名称
  15769. type: string
  15770. modifysrc:
  15771. description: 修改来源 - 1:管理端 2:终端
  15772. type: integer
  15773. pickupgoodsagreeunit:
  15774. description: 合约乘数
  15775. type: number
  15776. pickupgoodsdesc:
  15777. description: 描述
  15778. type: string
  15779. pickupgoodsid:
  15780. description: 提货商品ID
  15781. type: string
  15782. pickupgoodsname:
  15783. description: 提货商品名称
  15784. type: string
  15785. pickupgoodsstatus:
  15786. description: 状态 - 1:正常 2:停用 3:注销
  15787. type: integer
  15788. pickupgoodsunitid:
  15789. description: 单位ID
  15790. type: integer
  15791. pickupratio:
  15792. description: 提货系数
  15793. type: number
  15794. preparedays:
  15795. description: 备货期(天)
  15796. type: integer
  15797. remark:
  15798. description: 备注
  15799. type: string
  15800. updatetime:
  15801. description: 更新时间
  15802. type: string
  15803. type: object
  15804. models.QhjMgrPositionRsp:
  15805. properties:
  15806. accountid:
  15807. description: 账号Id
  15808. type: integer
  15809. accountname:
  15810. description: 用户名称
  15811. type: string
  15812. agreeunit:
  15813. description: 合约乘数
  15814. type: number
  15815. averageprice:
  15816. description: 均价
  15817. type: number
  15818. avialqty:
  15819. description: 可用数量
  15820. type: number
  15821. decimalplace:
  15822. description: 报价小数位
  15823. type: integer
  15824. enumdicname:
  15825. description: 单位名称(商品)
  15826. type: string
  15827. frozenqty:
  15828. description: 冻结数量
  15829. type: number
  15830. goodscode:
  15831. description: 商品代码(内部)
  15832. type: string
  15833. goodsid:
  15834. description: 商品Id
  15835. type: integer
  15836. goodsname:
  15837. description: 商品名称
  15838. type: string
  15839. goodunitid:
  15840. description: 报价单位ID
  15841. type: integer
  15842. holderamount:
  15843. description: 金额
  15844. type: number
  15845. holderqty:
  15846. description: 持有数量
  15847. type: number
  15848. holdertype:
  15849. description: 持仓类别 - 1:单边持仓 2:双边持仓
  15850. type: integer
  15851. logincode:
  15852. description: 登录代码(账户)
  15853. type: string
  15854. marketid:
  15855. description: 市场id
  15856. type: integer
  15857. qtydecimalplace:
  15858. description: 成交量小数位
  15859. type: integer
  15860. trademode:
  15861. description: 交易模式
  15862. type: integer
  15863. userid:
  15864. description: 用户id
  15865. type: integer
  15866. userinfotype:
  15867. description: 账户类型 1-个人 2-企业
  15868. type: integer
  15869. type: object
  15870. models.QhjMgrSubArea:
  15871. properties:
  15872. accountname:
  15873. description: 账户名称(机构名称)
  15874. type: string
  15875. memberuserid:
  15876. description: 所属会员ID
  15877. type: integer
  15878. parenttopuser:
  15879. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  15880. type: string
  15881. parentuserid:
  15882. description: 所属机构ID
  15883. type: integer
  15884. rootuserid:
  15885. description: 根用户ID
  15886. type: string
  15887. subaccountlevel:
  15888. description: 子账户层数
  15889. type: integer
  15890. subarealevelpath:
  15891. description: 子机构层级路径(逗号分隔,首尾加逗号)
  15892. type: string
  15893. userid:
  15894. description: 用户ID
  15895. type: integer
  15896. usertype:
  15897. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  15898. type: integer
  15899. type: object
  15900. models.QhjMgrTradeDetailRsp:
  15901. properties:
  15902. accountid:
  15903. description: 资金账号
  15904. type: integer
  15905. accountname:
  15906. description: 用户名称
  15907. type: string
  15908. agreeunit:
  15909. description: 合约乘数
  15910. type: number
  15911. buyorsell:
  15912. description: 成交类型(方向) 0:买 1:卖
  15913. type: integer
  15914. decimalplace:
  15915. description: 报价小数位
  15916. type: integer
  15917. enumdicname:
  15918. description: 单位名称(商品)
  15919. type: string
  15920. goodscode:
  15921. description: 商品代码(内部)
  15922. type: string
  15923. goodsid:
  15924. description: 商品id
  15925. type: integer
  15926. goodsname:
  15927. description: 商品名称
  15928. type: string
  15929. goodunitid:
  15930. description: 报价单位ID
  15931. type: integer
  15932. logincode:
  15933. description: 登录代码(账户)
  15934. type: string
  15935. marketid:
  15936. description: 市场id
  15937. type: integer
  15938. orderid:
  15939. description: 关联委托单号
  15940. type: string
  15941. qtydecimalplace:
  15942. description: 成交量小数位
  15943. type: integer
  15944. tradeamount:
  15945. description: 金额
  15946. type: number
  15947. tradedate:
  15948. description: 交易日
  15949. type: string
  15950. tradeid:
  15951. description: 成交单号
  15952. type: string
  15953. trademode:
  15954. description: 交易模式
  15955. type: integer
  15956. tradeprice:
  15957. description: 价格
  15958. type: number
  15959. tradeqty:
  15960. description: 数量
  15961. type: number
  15962. tradetime:
  15963. description: 成交时间
  15964. type: string
  15965. userid:
  15966. description: 用户id
  15967. type: integer
  15968. userinfotype:
  15969. description: 账户类型 1-个人 2-企业
  15970. type: integer
  15971. type: object
  15972. models.QhjMgrTradeOrderDetailRsp:
  15973. properties:
  15974. accountid:
  15975. description: 资金账号
  15976. type: integer
  15977. accountname:
  15978. description: 用户名称
  15979. type: string
  15980. agreeunit:
  15981. description: 合约乘数
  15982. type: number
  15983. amount:
  15984. description: 金额
  15985. type: number
  15986. decimalplace:
  15987. description: 报价小数位
  15988. type: integer
  15989. enumdicname:
  15990. description: 单位名称(商品)
  15991. type: string
  15992. goodscode:
  15993. description: 商品代码(内部)
  15994. type: string
  15995. goodsid:
  15996. description: 商品id
  15997. type: integer
  15998. goodsname:
  15999. description: 商品名称
  16000. type: string
  16001. goodunitid:
  16002. description: 报价单位ID
  16003. type: integer
  16004. logincode:
  16005. description: 登录代码(账户)
  16006. type: string
  16007. marketid:
  16008. description: 市场id
  16009. type: integer
  16010. orderid:
  16011. description: 关联委托单号
  16012. type: string
  16013. orderprice:
  16014. description: 价格
  16015. type: number
  16016. orderqty:
  16017. description: 数量
  16018. type: number
  16019. orderstatus:
  16020. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16021. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16022. 16:成交失败违约(荷兰式竞拍专用)
  16023. type: integer
  16024. ordertime:
  16025. description: 委托时间
  16026. type: string
  16027. qtydecimalplace:
  16028. description: 成交量小数位
  16029. type: integer
  16030. tradedate:
  16031. description: 交易日
  16032. type: string
  16033. trademode:
  16034. description: 交易模式
  16035. type: integer
  16036. userid:
  16037. description: 用户id
  16038. type: integer
  16039. userinfotype:
  16040. description: 账户类型 1-个人 2-企业
  16041. type: integer
  16042. type: object
  16043. models.QhjMgrTradePayOrder:
  16044. properties:
  16045. accountname:
  16046. description: 用户名称
  16047. type: string
  16048. advanceratio:
  16049. description: 首付比率
  16050. type: number
  16051. agreeunit:
  16052. description: 合约乘数
  16053. type: number
  16054. buyaccountid:
  16055. description: 买方账号ID[报价币种]
  16056. type: integer
  16057. buyorderid:
  16058. description: 买方委托单号(关联单号)
  16059. type: string
  16060. createtime:
  16061. description: 创建时间
  16062. type: string
  16063. decimalplace:
  16064. description: 报价小数位
  16065. type: integer
  16066. enumdicname:
  16067. description: 单位名称(商品)
  16068. type: string
  16069. goodscode:
  16070. description: 商品代码(内部)
  16071. type: string
  16072. goodsid:
  16073. description: 商品ID
  16074. type: integer
  16075. goodsname:
  16076. description: 商品名称
  16077. type: string
  16078. goodunitid:
  16079. description: 报价单位ID
  16080. type: integer
  16081. logincode:
  16082. description: 登录代码(账户)
  16083. type: string
  16084. marketid:
  16085. description: 市场id
  16086. type: integer
  16087. offamount:
  16088. description: 优惠金额
  16089. type: number
  16090. operatetype:
  16091. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16092. type: integer
  16093. payamount:
  16094. description: 支付金额(金额)
  16095. type: number
  16096. payflag:
  16097. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16098. type: integer
  16099. paylimitedtime:
  16100. description: 支付期限
  16101. type: string
  16102. paytime:
  16103. description: 付款时间
  16104. type: string
  16105. qtydecimalplace:
  16106. description: 成交量小数位
  16107. type: integer
  16108. sellaccountid:
  16109. description: 卖方账号ID[报价币种]
  16110. type: integer
  16111. sellorderid:
  16112. description: 卖方委托单号
  16113. type: string
  16114. tradeamount:
  16115. description: 成交金额(优惠后金额)
  16116. type: number
  16117. tradecharge:
  16118. description: 成交手续费(买方)
  16119. type: number
  16120. tradedate:
  16121. description: 交易日(yyyyMMdd)
  16122. type: string
  16123. tradeid:
  16124. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16125. type: string
  16126. trademode:
  16127. description: 交易模式
  16128. type: integer
  16129. tradeprice:
  16130. description: 成交价格(价格)
  16131. type: number
  16132. tradeqty:
  16133. description: 成交数量(数量)
  16134. type: number
  16135. tradetime:
  16136. description: 成交时间
  16137. type: string
  16138. userid:
  16139. description: 用户id
  16140. type: integer
  16141. userinfotype:
  16142. description: 账户类型 1-个人 2-企业
  16143. type: integer
  16144. type: object
  16145. models.QhjMyTeamEx:
  16146. properties:
  16147. accountname:
  16148. description: 用户名称
  16149. type: string
  16150. accountstatus:
  16151. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16152. type: integer
  16153. createtime:
  16154. description: 创建时间
  16155. type: string
  16156. mobile:
  16157. description: 手机号码
  16158. type: string
  16159. refereeuserid:
  16160. description: 推荐人id
  16161. type: integer
  16162. refernum:
  16163. description: 推荐码
  16164. type: string
  16165. subList:
  16166. items:
  16167. $ref: '#/definitions/models.QhjMyTeamEx'
  16168. type: array
  16169. userid:
  16170. description: 用户id
  16171. type: integer
  16172. userinfotype:
  16173. description: 用户类型 1-个人 2-企业
  16174. type: integer
  16175. type: object
  16176. models.QhjNodeAgreementConfig:
  16177. properties:
  16178. agreementcontent:
  16179. description: 协议内容
  16180. type: string
  16181. agreementid:
  16182. description: 协议ID
  16183. type: integer
  16184. agreementname:
  16185. description: 协议名称
  16186. type: string
  16187. agreementno:
  16188. description: 协议编号
  16189. type: string
  16190. agreementtype:
  16191. description: 协议类型 - 1:注册 2:登录 3:交易
  16192. type: integer
  16193. agreementversion:
  16194. description: 协议版本号
  16195. type: integer
  16196. configid:
  16197. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  16198. type: integer
  16199. createtime:
  16200. description: 创建时间
  16201. type: string
  16202. goodsid:
  16203. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  16204. type: integer
  16205. nodetype:
  16206. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  16207. type: integer
  16208. type: object
  16209. models.QhjParentAreaList:
  16210. properties:
  16211. accountname:
  16212. description: 账户名称(机构名称)
  16213. type: string
  16214. userid:
  16215. description: 用户ID
  16216. type: integer
  16217. usertype:
  16218. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16219. type: integer
  16220. type: object
  16221. models.QhjPayOrder:
  16222. properties:
  16223. advanceratio:
  16224. description: 首付比率
  16225. type: number
  16226. buyaccountid:
  16227. description: 买方账号ID[报价币种]
  16228. type: integer
  16229. buyorderid:
  16230. description: 买方委托单号
  16231. type: string
  16232. createtime:
  16233. description: 创建时间
  16234. type: string
  16235. decimalplace:
  16236. description: 商品报价小数位
  16237. type: integer
  16238. enumdicname:
  16239. description: 单位名称
  16240. type: string
  16241. goodscode:
  16242. description: 商品代码
  16243. type: string
  16244. goodsid:
  16245. description: 商品ID
  16246. type: integer
  16247. goodsname:
  16248. description: 商品名称
  16249. type: string
  16250. goodunitid:
  16251. description: 商品单位id
  16252. type: integer
  16253. marketid:
  16254. description: 市场ID
  16255. type: integer
  16256. offamount:
  16257. description: 优惠金额
  16258. type: number
  16259. operatetype:
  16260. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16261. type: integer
  16262. payamount:
  16263. description: 支付金额
  16264. type: number
  16265. payflag:
  16266. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16267. type: integer
  16268. paylimitedtime:
  16269. description: 支付期限
  16270. type: string
  16271. paytime:
  16272. description: 付款时间
  16273. type: string
  16274. qtydecimalplace:
  16275. description: 成交量小数位
  16276. type: integer
  16277. sellaccountid:
  16278. description: 卖方账号ID[报价币种]
  16279. type: integer
  16280. sellorderid:
  16281. description: 卖方委托单号
  16282. type: string
  16283. tradeamount:
  16284. description: 成交金额(优惠后金额)
  16285. type: number
  16286. tradecharge:
  16287. description: 成交手续费(买方)
  16288. type: number
  16289. tradedate:
  16290. description: 交易日(yyyyMMdd)
  16291. type: string
  16292. tradeid:
  16293. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16294. type: string
  16295. tradeprice:
  16296. description: 成交价格
  16297. type: number
  16298. tradeqty:
  16299. description: 成交数量
  16300. type: number
  16301. type: object
  16302. models.QhjPickArea:
  16303. properties:
  16304. address:
  16305. description: 详细地址
  16306. type: string
  16307. cityid:
  16308. description: 市
  16309. type: integer
  16310. cityname:
  16311. description: 城市名称
  16312. type: string
  16313. countryid:
  16314. description: 国家
  16315. type: integer
  16316. countryname:
  16317. description: 国家名称
  16318. type: string
  16319. districtid:
  16320. description: 地区
  16321. type: integer
  16322. districtname:
  16323. description: 地区名称
  16324. type: string
  16325. fromuserid:
  16326. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  16327. type: integer
  16328. fromusername:
  16329. description: 所属机构名称
  16330. type: string
  16331. provinceid:
  16332. description: 省
  16333. type: integer
  16334. provincename:
  16335. description: 省名称
  16336. type: string
  16337. suborgtype:
  16338. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  16339. type: integer
  16340. userid:
  16341. description: 机构用户ID 其他做市关系,都设置为 1
  16342. type: integer
  16343. username:
  16344. description: 机构用户名称(门店门称)
  16345. type: string
  16346. type: object
  16347. models.QhjPickGoods:
  16348. properties:
  16349. enumdicname:
  16350. description: 单位名称(提货商品)
  16351. type: string
  16352. goodsid:
  16353. description: 商品id
  16354. type: integer
  16355. imageaddress:
  16356. description: 图片
  16357. type: string
  16358. modifierid:
  16359. description: 修改人
  16360. type: integer
  16361. modifiername:
  16362. description: 修改人名称
  16363. type: string
  16364. modifysrc:
  16365. description: 修改来源 - 1:管理端 2:终端
  16366. type: integer
  16367. pickupgoodsagreeunit:
  16368. description: 合约乘数
  16369. type: number
  16370. pickupgoodsdesc:
  16371. description: 描述
  16372. type: string
  16373. pickupgoodsid:
  16374. description: 提货商品ID
  16375. type: string
  16376. pickupgoodsname:
  16377. description: 提货商品名称
  16378. type: string
  16379. pickupgoodsstatus:
  16380. description: 状态 - 1:正常 2:停用 3:注销
  16381. type: integer
  16382. pickupgoodsunitid:
  16383. description: 单位ID
  16384. type: integer
  16385. pickupratio:
  16386. description: 提货系数
  16387. type: number
  16388. preparedays:
  16389. description: 备货期(天)
  16390. type: integer
  16391. remark:
  16392. description: 备注
  16393. type: string
  16394. updatetime:
  16395. description: 更新时间
  16396. type: string
  16397. type: object
  16398. models.QhjRSTriggerLog:
  16399. properties:
  16400. accountid:
  16401. description: 用户资金账户
  16402. type: integer
  16403. accountname:
  16404. description: 账号名称(ACCOUNTID对应的名称)
  16405. type: string
  16406. currencyid:
  16407. description: 币种id
  16408. type: integer
  16409. currencyname:
  16410. description: 币种名称
  16411. type: string
  16412. decimalplace:
  16413. description: 商品报价小数位
  16414. type: integer
  16415. enumdicname:
  16416. description: 单位名称
  16417. type: string
  16418. goodscode:
  16419. description: 定投商品代码
  16420. type: string
  16421. goodsid:
  16422. description: 定投商品ID
  16423. type: integer
  16424. goodsname:
  16425. description: 定投商品名称
  16426. type: string
  16427. goodunitid:
  16428. description: 定投商品单位id
  16429. type: integer
  16430. logid:
  16431. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  16432. type: string
  16433. logincode:
  16434. description: 账号(登录代码)
  16435. type: string
  16436. qtydecimalplace:
  16437. description: 成交量小数位
  16438. type: integer
  16439. regularlycycle:
  16440. description: 定投频率 - 1:每周 2:每月
  16441. type: integer
  16442. regularlycyclevalue:
  16443. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16444. type: string
  16445. regularlymode:
  16446. description: 定投方式 - 1:按数量 2:按金额
  16447. type: integer
  16448. regularlymodevalue:
  16449. description: 定投方式值 - 数量或金额
  16450. type: number
  16451. regularlystrategyid:
  16452. description: 定投策略ID
  16453. type: integer
  16454. retcode:
  16455. description: 错误码
  16456. type: string
  16457. tradeid:
  16458. description: 成交单ID
  16459. type: string
  16460. triggeramount:
  16461. description: 触发金额
  16462. type: number
  16463. triggerqty:
  16464. description: 触发数量
  16465. type: number
  16466. triggerstatus:
  16467. description: 触发状态 - 1:成功 2:失败
  16468. type: integer
  16469. triggertime:
  16470. description: 触发时间
  16471. type: string
  16472. triggertradedate:
  16473. description: 触发交易日
  16474. type: string
  16475. userid:
  16476. description: 所属用户ID
  16477. type: integer
  16478. userinfotype:
  16479. description: 用户类型 1-个人 2-企业
  16480. type: integer
  16481. username:
  16482. description: 用户名称(userid对应的名称)
  16483. type: string
  16484. type: object
  16485. models.QhjRStrategy:
  16486. properties:
  16487. accountid:
  16488. description: 用户资金账户
  16489. type: integer
  16490. accountname:
  16491. description: 账号名称(ACCOUNTID对应的名称)
  16492. type: string
  16493. currencyid:
  16494. description: 币种id
  16495. type: integer
  16496. currencyname:
  16497. description: 币种名称
  16498. type: string
  16499. decimalplace:
  16500. description: 商品报价小数位
  16501. type: integer
  16502. enumdicname:
  16503. description: 单位名称
  16504. type: string
  16505. goodscode:
  16506. description: 定投商品代码
  16507. type: string
  16508. goodsid:
  16509. description: 定投商品ID
  16510. type: integer
  16511. goodsname:
  16512. description: 定投商品名称
  16513. type: string
  16514. goodunitid:
  16515. description: 定投商品单位id
  16516. type: integer
  16517. lasteffecttradedate:
  16518. description: 最新生效交易日
  16519. type: string
  16520. laststoptradedate:
  16521. description: 最新暂停交易日
  16522. type: string
  16523. lasttriggertradedate:
  16524. description: 最新触发交易日
  16525. type: string
  16526. logincode:
  16527. description: 账号(登录代码)
  16528. type: string
  16529. nexttriggeramount:
  16530. description: 下次触发金额
  16531. type: number
  16532. nexttriggerdate:
  16533. description: 下次触发日期
  16534. type: string
  16535. nexttriggerqty:
  16536. description: 下次触发数量 [按小数位放大值]
  16537. type: number
  16538. qtydecimalplace:
  16539. description: 成交量小数位
  16540. type: integer
  16541. regularlycycle:
  16542. description: 定投频率 - 1:每周 2:每月
  16543. type: integer
  16544. regularlycyclevalue:
  16545. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16546. type: string
  16547. regularlymode:
  16548. description: 定投方式 - 1:按数量 2:按金额
  16549. type: integer
  16550. regularlymodevalue:
  16551. description: 定投方式值 - 数量或金额
  16552. type: number
  16553. regularlystrategyid:
  16554. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  16555. type: integer
  16556. regularlystrategystatus:
  16557. description: 策略状态 - 1:正常 2:暂停 3:终止
  16558. type: integer
  16559. remark:
  16560. description: 备注
  16561. type: string
  16562. triggersuccesstimes:
  16563. description: 累计定投成功次数
  16564. type: string
  16565. triggertotalamount:
  16566. description: 累计定投金额(成功)
  16567. type: number
  16568. triggertotalqty:
  16569. description: 累计定投数量(成功) [按小数位放大值]
  16570. type: number
  16571. triggertotaltimes:
  16572. description: 累计定投总次数
  16573. type: string
  16574. updatesrc:
  16575. description: 更新来源 - 1:管理端 2:终端
  16576. type: integer
  16577. updatetime:
  16578. description: 更新时间
  16579. type: string
  16580. updatorid:
  16581. description: 更新人
  16582. type: string
  16583. userid:
  16584. description: 所属用户ID
  16585. type: integer
  16586. userinfotype:
  16587. description: 用户类型 1-个人 2-企业
  16588. type: integer
  16589. username:
  16590. description: 用户名称(userid对应的名称)
  16591. type: string
  16592. type: object
  16593. models.QhjReckonPriceLog:
  16594. properties:
  16595. decimalplace:
  16596. description: 商品报价小数位
  16597. type: integer
  16598. goodscode:
  16599. description: 商品代码
  16600. type: string
  16601. goodsid:
  16602. description: 商品ID
  16603. type: integer
  16604. goodsname:
  16605. description: 商品名称
  16606. type: string
  16607. lastreckonprice:
  16608. description: 上日结算价
  16609. type: number
  16610. nextdnlimitprice:
  16611. description: 下个交易日跌停价
  16612. type: number
  16613. nexttrade:
  16614. description: 下个交易日
  16615. type: string
  16616. nextuplimitprice:
  16617. description: 下个交易日涨停价
  16618. type: number
  16619. reckonprice:
  16620. description: 今日结算价(定投价)
  16621. type: number
  16622. reckontime:
  16623. description: 结算时间
  16624. type: string
  16625. totalholderqty:
  16626. description: 总持仓数
  16627. type: integer
  16628. totalstock:
  16629. description: 总库存
  16630. type: integer
  16631. tradedate:
  16632. description: 交易日
  16633. type: string
  16634. updowncount:
  16635. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  16636. type: integer
  16637. updownflag:
  16638. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  16639. type: integer
  16640. updownrate:
  16641. description: 今日涨跌幅
  16642. type: number
  16643. updownrate_2d:
  16644. description: 连续两日涨跌幅
  16645. type: number
  16646. updownrate_3d:
  16647. description: 连续三日涨跌幅
  16648. type: number
  16649. type: object
  16650. models.QhjScoreLog:
  16651. properties:
  16652. accountid:
  16653. description: 账户ID
  16654. type: integer
  16655. createtime:
  16656. description: 创建时间(时间)
  16657. type: string
  16658. goodsid:
  16659. description: 商品ID
  16660. type: integer
  16661. hasuploaded:
  16662. description: 是否已同步(千海金) 0:未同步 1;已同步
  16663. type: integer
  16664. logid:
  16665. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16666. type: string
  16667. marketid:
  16668. description: 市场ID
  16669. type: integer
  16670. relatedamount:
  16671. description: 关联金额
  16672. type: number
  16673. relatedorderid:
  16674. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  16675. type: string
  16676. scoreconfigvalue1:
  16677. description: 积分配置1
  16678. type: integer
  16679. scoreconfigvalue2:
  16680. description: 积分配置1
  16681. type: integer
  16682. scoretype:
  16683. description: 积分类型 - 1:提货积分
  16684. type: integer
  16685. scorevalue:
  16686. description: 积分
  16687. type: number
  16688. tradedate:
  16689. description: 交易日(yyyyMMdd)
  16690. type: string
  16691. uploadedtime:
  16692. description: 同步时间
  16693. type: string
  16694. userid:
  16695. description: 用户ID
  16696. type: integer
  16697. type: object
  16698. models.QhjSiteColumnDetail:
  16699. properties:
  16700. author:
  16701. description: 作者
  16702. type: string
  16703. brief:
  16704. description: 简介
  16705. type: string
  16706. columnid:
  16707. description: 所属栏目
  16708. type: integer
  16709. context:
  16710. description: 内容
  16711. type: string
  16712. coverimage:
  16713. description: 封面图片
  16714. type: string
  16715. creaedate:
  16716. description: 创建时间
  16717. type: string
  16718. creatorid:
  16719. description: 创建人
  16720. type: integer
  16721. hits:
  16722. description: 点击数
  16723. type: integer
  16724. id:
  16725. description: ID(SEQ_SITE_COLUMNDETAIL)
  16726. type: integer
  16727. isshow:
  16728. description: 是否展示 - 0:不展示 1:展示
  16729. type: integer
  16730. istop:
  16731. description: 是否置顶 - 0:不置 1:置顶
  16732. type: integer
  16733. modifierid:
  16734. description: 操作人
  16735. type: integer
  16736. publishdate:
  16737. description: 发布日期
  16738. type: string
  16739. status:
  16740. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  16741. type: integer
  16742. title:
  16743. description: 标题
  16744. type: string
  16745. updatedate:
  16746. description: 修改时间
  16747. type: string
  16748. userid:
  16749. description: 用户ID(默认为0, 核心为为机构用户ID)
  16750. type: integer
  16751. username:
  16752. description: 用户名称
  16753. type: string
  16754. type: object
  16755. models.QhjTeamOrder:
  16756. properties:
  16757. accountid:
  16758. description: 账户ID[报价币种]
  16759. type: integer
  16760. accountname:
  16761. description: 账户名称
  16762. type: string
  16763. agreeunit:
  16764. description: 合约乘数
  16765. type: number
  16766. buyorsell:
  16767. description: 方向 - 0:买 1:卖
  16768. type: integer
  16769. decimalplace:
  16770. description: 报价小数位
  16771. type: integer
  16772. enumdicname:
  16773. description: 单位名称
  16774. type: string
  16775. goodscode:
  16776. description: 商品代码(内部)
  16777. type: string
  16778. goodsid:
  16779. description: 商品ID
  16780. type: integer
  16781. goodsname:
  16782. description: 商品名称
  16783. type: string
  16784. goodunitid:
  16785. description: 报价单位ID
  16786. type: integer
  16787. marketid:
  16788. description: 市场ID
  16789. type: integer
  16790. marketname:
  16791. description: 市场名称
  16792. type: string
  16793. qtydecimalplace:
  16794. description: 成交量小数位
  16795. type: integer
  16796. refereeuserid:
  16797. description: 推荐人ID
  16798. type: integer
  16799. tradeamount:
  16800. description: 成交金额[账户币种,用于所有权]
  16801. type: number
  16802. tradedate:
  16803. description: 交易日(yyyyMMdd)
  16804. type: string
  16805. trademode:
  16806. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16807. 21:竞拍-大宗式 22:受托竞价
  16808. type: integer
  16809. tradeprice:
  16810. description: 成交价格
  16811. type: number
  16812. tradeqty:
  16813. description: 成交数量
  16814. type: number
  16815. tradetime:
  16816. description: 成交时间
  16817. type: string
  16818. userid:
  16819. description: 用户ID
  16820. type: integer
  16821. type: object
  16822. models.QhjTradeGoodsPickup:
  16823. properties:
  16824. accountid:
  16825. description: 账户ID
  16826. type: integer
  16827. address:
  16828. description: 提货人详细地址
  16829. type: string
  16830. amount:
  16831. description: 提货金额
  16832. type: number
  16833. artradedate:
  16834. description: 自动收货交易日(yyyyMMdd)
  16835. type: string
  16836. auditer:
  16837. description: 审核人
  16838. type: integer
  16839. auditsrc:
  16840. description: 更新来源 - 1:管理端 2:终端
  16841. type: integer
  16842. audittime:
  16843. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  16844. type: string
  16845. audittradedate:
  16846. description: 审核交易日(yyyyMMdd)
  16847. type: string
  16848. cardnum:
  16849. description: 提货人证件号码
  16850. type: string
  16851. cardtypeid:
  16852. description: 提货人证件类型
  16853. type: integer
  16854. checkremark:
  16855. description: 审核备注
  16856. type: string
  16857. cityid:
  16858. description: 市
  16859. type: integer
  16860. cityname:
  16861. description: 城市名称
  16862. type: string
  16863. confirmtime:
  16864. description: 取货时间 或 收货时间
  16865. type: string
  16866. countryid:
  16867. description: 国家
  16868. type: integer
  16869. countryname:
  16870. description: 国家名称
  16871. type: string
  16872. decimalplace:
  16873. description: 商品报价小数位
  16874. type: integer
  16875. districtid:
  16876. description: 地区
  16877. type: integer
  16878. districtname:
  16879. description: 地区名称
  16880. type: string
  16881. enumdicname:
  16882. description: 单位名称(提货商品)
  16883. type: string
  16884. expresscompany:
  16885. description: 物流公司
  16886. type: string
  16887. expressnum:
  16888. description: 物流单号
  16889. type: string
  16890. goodsagreeunit:
  16891. description: 交易商品乘数
  16892. type: number
  16893. goodscode:
  16894. description: 商品代码
  16895. type: string
  16896. goodsid:
  16897. description: 商品ID
  16898. type: integer
  16899. goodsname:
  16900. description: 商品名称
  16901. type: string
  16902. goodsqty:
  16903. description: 交易商品手数(69模式按成交量小数位放大取整)
  16904. type: number
  16905. handlestatus:
  16906. description: 处理状态
  16907. type: integer
  16908. logincode:
  16909. description: 账号(登录代码, 有可能为空)
  16910. type: string
  16911. marketid:
  16912. description: 市场ID
  16913. type: integer
  16914. phonenum:
  16915. description: 提货人联系方式
  16916. type: string
  16917. pickupgoodsagreeunit:
  16918. description: 提货商品合约乘数
  16919. type: number
  16920. pickupgoodsid:
  16921. description: 提货商品ID
  16922. type: string
  16923. pickupgoodsname:
  16924. description: 提货商品名称
  16925. type: string
  16926. pickupgoodsqty:
  16927. description: 提货商品手数(数量)
  16928. type: number
  16929. pickupgoodsunitid:
  16930. description: 单位ID(提货商品)
  16931. type: integer
  16932. pickupratio:
  16933. description: 提货系数
  16934. type: number
  16935. preparedays:
  16936. description: 备货期(天)-提货单明细表
  16937. type: integer
  16938. provinceid:
  16939. description: 省
  16940. type: integer
  16941. provincename:
  16942. description: 省名称
  16943. type: string
  16944. qty:
  16945. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  16946. type: number
  16947. qtydecimalplace:
  16948. description: 商品数量小数位
  16949. type: integer
  16950. recivername:
  16951. description: 提货人姓名
  16952. type: string
  16953. reqtime:
  16954. description: 提货申请时间
  16955. type: string
  16956. storeuserid:
  16957. description: 门店用户ID (千海金)
  16958. type: integer
  16959. storeusername:
  16960. description: 门店用户名称
  16961. type: string
  16962. takemode:
  16963. description: 提货方式 - 2:自提 3:配送(邮寄)
  16964. type: integer
  16965. takeorderid:
  16966. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  16967. type: string
  16968. takeorderstatus:
  16969. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  16970. 7:已拒绝 8:已撤销
  16971. type: integer
  16972. takeremark:
  16973. description: 提货备注
  16974. type: string
  16975. tradedate:
  16976. description: 交易日(yyyyMMdd)
  16977. type: string
  16978. updatetime:
  16979. description: 更新时间
  16980. type: string
  16981. userid:
  16982. description: 用户ID
  16983. type: integer
  16984. userinfotype:
  16985. description: 客户类型 1-个人 2-企业
  16986. type: integer
  16987. username:
  16988. description: 用户名称
  16989. type: string
  16990. type: object
  16991. models.QhjUserNodeCfgAndStatus:
  16992. properties:
  16993. agreementcontent:
  16994. description: 协议内容
  16995. type: string
  16996. agreementid:
  16997. description: 协议ID
  16998. type: integer
  16999. agreementname:
  17000. description: 协议名称
  17001. type: string
  17002. agreementno:
  17003. description: 协议编号
  17004. type: string
  17005. agreementtype:
  17006. description: 协议类型 - 1:注册 2:登录 3:交易
  17007. type: integer
  17008. agreementversion:
  17009. description: 协议版本号
  17010. type: integer
  17011. configid:
  17012. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  17013. type: integer
  17014. createtime:
  17015. description: 创建时间
  17016. type: string
  17017. goodsid:
  17018. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  17019. type: integer
  17020. nodetype:
  17021. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  17022. type: integer
  17023. signtimestamp:
  17024. description: 签约状态时间戳(最近一次)
  17025. type: string
  17026. tradedate:
  17027. description: 签约交易日(yyyyMMdd)
  17028. type: string
  17029. userid:
  17030. description: 客户ID
  17031. type: integer
  17032. type: object
  17033. models.Qhjgoodsex:
  17034. properties:
  17035. canfinance:
  17036. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  17037. type: integer
  17038. canregularlybuy:
  17039. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  17040. type: integer
  17041. defaulttradeuserid:
  17042. description: 默认交易用户ID
  17043. type: integer
  17044. deliverygoodsid:
  17045. description: 现货品种ID
  17046. type: integer
  17047. goodsid:
  17048. description: 商品ID(自增ID SEQ_GOODS)
  17049. type: integer
  17050. minamount:
  17051. description: 最小购买金额
  17052. type: number
  17053. regularlybuyminamount:
  17054. description: 定投最小金额
  17055. type: number
  17056. regularlybuyminqty:
  17057. description: 定投最小数量
  17058. type: number
  17059. spotgoodsbrandid:
  17060. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  17061. type: integer
  17062. visibilityforenterprise:
  17063. description: 企业客户是否可见 - 0:不可见 1:可见
  17064. type: integer
  17065. visibilityforpersonal:
  17066. description: 个人客户是否可见 - 0:不可见 1:可见
  17067. type: integer
  17068. wrstandardid:
  17069. description: 现货商品ID
  17070. type: integer
  17071. type: object
  17072. models.QueryErrorInfosRsp:
  17073. properties:
  17074. description:
  17075. description: 异常描述
  17076. type: string
  17077. errorcode:
  17078. description: 异常代码
  17079. type: string
  17080. errorid:
  17081. description: 异常ID
  17082. type: integer
  17083. modulecode:
  17084. description: 所属模块
  17085. type: string
  17086. operatecode:
  17087. description: 所属操作
  17088. type: string
  17089. rownumber:
  17090. description: 行号
  17091. type: string
  17092. required:
  17093. - errorid
  17094. type: object
  17095. models.QueryHedgeOrderDetailRsp:
  17096. properties:
  17097. accountid:
  17098. description: 账户ID
  17099. type: integer
  17100. buyorsell:
  17101. description: 买卖 - 0:买 1:卖
  17102. type: integer
  17103. cancellogincode:
  17104. description: 撤单人
  17105. type: string
  17106. channelbuildtype:
  17107. description: 开平标志 - 0:无 1:建仓 2:平仓
  17108. type: integer
  17109. channelinnerorderstatus:
  17110. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  17111. 9:全部成交
  17112. type: integer
  17113. channeloperatetype:
  17114. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  17115. type: integer
  17116. closetype:
  17117. description: 平仓方式 - 0:无 1:平今 2:平昨
  17118. type: integer
  17119. curexchangerate:
  17120. description: 当前汇率
  17121. type: number
  17122. decimalplace:
  17123. description: 商品报价小数位
  17124. type: integer
  17125. exchangefullname:
  17126. description: 外部交易所全称
  17127. type: string
  17128. goodscode:
  17129. description: 商品代码(内部)
  17130. type: string
  17131. goodsid:
  17132. description: 商品ID
  17133. type: integer
  17134. goodsname:
  17135. description: 商品名称
  17136. type: string
  17137. marketid:
  17138. description: 市场ID
  17139. type: integer
  17140. openfreezemargin:
  17141. description: 冻结保证金(冻结交易金额)
  17142. type: number
  17143. orderid:
  17144. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17145. type: string
  17146. orderlogincode:
  17147. description: 委托人
  17148. type: string
  17149. orderprice:
  17150. description: 委托价格(账户)
  17151. type: number
  17152. orderqty:
  17153. description: 委托数量
  17154. type: integer
  17155. ordertime:
  17156. description: 委托时间
  17157. type: string
  17158. pricemode:
  17159. description: '取价方式 - 1:市价 2: 限价'
  17160. type: integer
  17161. tradedate:
  17162. description: 交易日(yyyyMMdd)
  17163. type: string
  17164. tradeqty:
  17165. description: 成交数量
  17166. type: integer
  17167. type: object
  17168. models.QueryHedgeTradeDetailRsp:
  17169. properties:
  17170. accountid:
  17171. description: 账号ID
  17172. type: integer
  17173. buyorsell:
  17174. description: 方向 - 0:买 1:卖
  17175. type: integer
  17176. channelbuildtype:
  17177. description: 委托单据类型 0:无 1:建仓 2:平仓
  17178. type: integer
  17179. closecharge:
  17180. description: 平仓手续费(账户)
  17181. type: number
  17182. closecharge2:
  17183. description: 平仓手续费(商品)
  17184. type: number
  17185. closepl:
  17186. description: 平仓盈亏(账户)
  17187. type: number
  17188. closepl2:
  17189. description: 平仓盈亏(商品)
  17190. type: number
  17191. closepl3:
  17192. description: 平仓盈亏(账户)(逐笔)
  17193. type: number
  17194. closepl4:
  17195. description: 平仓盈亏(商品)(逐笔)
  17196. type: number
  17197. closetype:
  17198. description: 平仓方式 - 0:无 1:平今 2:平昨
  17199. type: integer
  17200. curexchangerate:
  17201. description: 当前汇率
  17202. type: number
  17203. decimalplace:
  17204. description: 商品报价小数位
  17205. type: integer
  17206. exchangefullname:
  17207. description: 外部交易所全称
  17208. type: string
  17209. goodscode:
  17210. description: 商品代码(内部)
  17211. type: string
  17212. goodsid:
  17213. description: 商品ID
  17214. type: integer
  17215. goodsname:
  17216. description: 商品名称
  17217. type: string
  17218. marketid:
  17219. description: 市场ID
  17220. type: integer
  17221. opencharge:
  17222. description: 建仓手续费(账户)
  17223. type: number
  17224. opencharge2:
  17225. description: 建仓手续费(商品)
  17226. type: number
  17227. orderid:
  17228. description: 委托单号
  17229. type: string
  17230. orderlogincode:
  17231. description: 委托人
  17232. type: string
  17233. tradeamount:
  17234. description: 成交金额(账户)
  17235. type: number
  17236. tradedate:
  17237. description: 交易日(yyyyMMdd)
  17238. type: string
  17239. tradeid:
  17240. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17241. type: string
  17242. tradeprice:
  17243. description: 成交价格
  17244. type: number
  17245. tradeqty:
  17246. description: 成交数量
  17247. type: integer
  17248. tradetime:
  17249. description: 成交时间
  17250. type: string
  17251. tradetype:
  17252. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  17253. type: integer
  17254. type: object
  17255. models.QuotePrimaryMenu:
  17256. properties:
  17257. Index:
  17258. description: 序号
  17259. type: integer
  17260. Key:
  17261. description: 键名
  17262. type: string
  17263. Name:
  17264. description: 菜单名称
  17265. type: string
  17266. SubMenus:
  17267. description: 子菜单
  17268. items:
  17269. $ref: '#/definitions/models.QuoteSecondaryMenu'
  17270. type: array
  17271. SubTitleType:
  17272. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  17273. type: integer
  17274. TradeModes:
  17275. description: 包含市场交易类型
  17276. type: string
  17277. type: object
  17278. models.QuoteSecondaryMenu:
  17279. properties:
  17280. ExExchangeCode:
  17281. description: 外部交易所代码
  17282. type: string
  17283. ExExchangeID:
  17284. description: 外部交易所ID
  17285. type: integer
  17286. GoodsGroupIDs:
  17287. description: 商品组ID列表
  17288. items:
  17289. type: integer
  17290. type: array
  17291. Index:
  17292. description: 序号
  17293. type: integer
  17294. MarketID:
  17295. description: 市场ID
  17296. type: integer
  17297. MenuTitle:
  17298. description: 菜单标题(市场名称或外部交易所名称)
  17299. type: string
  17300. TradeMode:
  17301. description: 交易模式
  17302. type: integer
  17303. type: object
  17304. models.Reckondaytaaccount:
  17305. properties:
  17306. accountid:
  17307. description: 资金账户ID
  17308. type: integer
  17309. accountname:
  17310. description: 账户名称
  17311. type: string
  17312. accountpl:
  17313. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  17314. type: number
  17315. avaiablemoney:
  17316. description: 可用资金
  17317. type: number
  17318. avaiableoutmoney:
  17319. description: 可出资金
  17320. type: number
  17321. balance:
  17322. description: 期初余额
  17323. type: number
  17324. capitalbalance:
  17325. description: 本金余额[外部子账户实际出入金余额]
  17326. type: number
  17327. changeflag:
  17328. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  17329. type: integer
  17330. clearbalance:
  17331. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  17332. type: number
  17333. clearpl:
  17334. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  17335. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  17336. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  17337. type: number
  17338. closepl:
  17339. description: 今日平仓盈亏
  17340. type: number
  17341. closepl2:
  17342. description: 平仓盈亏(逐笔)
  17343. type: number
  17344. creditdecrease:
  17345. description: 今日授信减少
  17346. type: number
  17347. creditincrease:
  17348. description: 今日授信增加
  17349. type: number
  17350. curdebt:
  17351. description: 期末欠款
  17352. type: number
  17353. currencyid:
  17354. description: 货币ID
  17355. type: integer
  17356. currentbalance:
  17357. description: 期末余额
  17358. type: number
  17359. cycletype:
  17360. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  17361. type: integer
  17362. defercharge:
  17363. description: 今日递延费2支出[111, 112]
  17364. type: number
  17365. deliveryamountin:
  17366. description: 今日交收货款收入
  17367. type: number
  17368. deliveryamountout:
  17369. description: 今日交收货款支出
  17370. type: number
  17371. deliverycharge:
  17372. description: 今日交收手续费支出 [105,106]
  17373. type: number
  17374. deliverycompensationfeein:
  17375. description: 今日交收补偿费收入
  17376. type: number
  17377. deliverycompensationfeeout:
  17378. description: 今日交收补偿费支出
  17379. type: number
  17380. dividedcharge:
  17381. description: 今日已收手续费分成
  17382. type: number
  17383. floatnetvalue:
  17384. description: 浮动净值 = 净值 + 浮动盈亏
  17385. type: number
  17386. floatpl:
  17387. description: 浮动盈亏 - 每日有负债类商品
  17388. type: number
  17389. freezecharge:
  17390. description: 手续费冻结
  17391. type: number
  17392. freezemargin:
  17393. description: 冻结保证金
  17394. type: number
  17395. fromaccountid:
  17396. description: 所属上级账户
  17397. type: integer
  17398. holdcharge:
  17399. description: 今日持仓过夜费支出[108,109,110]
  17400. type: number
  17401. inamount:
  17402. description: 今日入金金额
  17403. type: number
  17404. interestcharge:
  17405. description: 今日递延费支出[103, 104]
  17406. type: number
  17407. ismain:
  17408. description: 是否账号 0:不是母账户 1:是母账户
  17409. type: integer
  17410. ismarketaccount:
  17411. description: 是否机构接单账号 0:不是 1:是
  17412. type: integer
  17413. isreckonaccount:
  17414. description: 是否机构分润账号 0:不是 1:是
  17415. type: integer
  17416. mortgagecredit:
  17417. description: 授信金额
  17418. type: number
  17419. netvalue:
  17420. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  17421. type: number
  17422. oridebt:
  17423. description: 期初欠款
  17424. type: number
  17425. orifreezecharge:
  17426. description: 期初手续费冻结
  17427. type: number
  17428. orifreezemargin:
  17429. description: 期初冻结保证金
  17430. type: number
  17431. orimortgagecredit:
  17432. description: 期初授信金额
  17433. type: number
  17434. oriothercredit:
  17435. description: 期初其它授信金额
  17436. type: number
  17437. oriotherfreezemargin:
  17438. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17439. type: number
  17440. orioutamountfreeze:
  17441. description: 期初出金冻结
  17442. type: number
  17443. oriusedmargin:
  17444. description: 期初占用保证金
  17445. type: number
  17446. othercredit:
  17447. description: 其它授信金额
  17448. type: number
  17449. othercreditdecrease:
  17450. description: 今日其它授信减少
  17451. type: number
  17452. othercreditincrease:
  17453. description: 今日其它授信增加
  17454. type: number
  17455. otherfreezemargin:
  17456. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17457. type: number
  17458. otherincome:
  17459. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  17460. type: number
  17461. otherpay:
  17462. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  17463. type: number
  17464. outamount:
  17465. description: 今日出金金额
  17466. type: number
  17467. outamountfreeze:
  17468. description: 出金冻结
  17469. type: number
  17470. outthreshold:
  17471. description: 出金阈值
  17472. type: number
  17473. ownershipvalue:
  17474. description: 所有权市值
  17475. type: number
  17476. parentaccountid:
  17477. description: 所属根账户
  17478. type: integer
  17479. password:
  17480. description: 资金密码
  17481. type: string
  17482. paycharge:
  17483. description: 今日手续费支出
  17484. type: number
  17485. paycharge2:
  17486. description: 今日手续费支出(外部配置)
  17487. type: number
  17488. payexchcharge:
  17489. description: 今日应付交易所手续费
  17490. type: number
  17491. reckondate:
  17492. description: 日照日期(yyyyMMdd)
  17493. type: string
  17494. reckonpl:
  17495. description: 今日结算盈亏
  17496. type: number
  17497. reckonpl2:
  17498. description: 结算盈亏(逐笔) - 汇总取期末
  17499. type: number
  17500. relatedaccountstatus:
  17501. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  17502. type: integer
  17503. relateuserid:
  17504. description: 关联用户
  17505. type: integer
  17506. riskrate:
  17507. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  17508. type: number
  17509. signstatus:
  17510. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  17511. type: integer
  17512. spotvalue:
  17513. description: 现货市值-统计服务更新
  17514. type: number
  17515. sublevelpath:
  17516. description: 账号层级路径(逗号分隔,首尾加逗号)
  17517. type: string
  17518. taaccounttype:
  17519. description: 外部/内部账号 - 1:外部账号 2:内部账号
  17520. type: integer
  17521. thirdinamount:
  17522. description: 今日三方入金
  17523. type: number
  17524. thirdoutamount:
  17525. description: 今日三方出金
  17526. type: number
  17527. tradeamount:
  17528. description: 今日成交金额
  17529. type: number
  17530. tradecharge:
  17531. description: 今日交易手续费支出 [101,102]
  17532. type: number
  17533. tradeqty:
  17534. description: 今日成交量
  17535. type: integer
  17536. tradestatus:
  17537. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  17538. type: integer
  17539. transferamount:
  17540. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  17541. type: number
  17542. usedmargin:
  17543. description: 占用保证金
  17544. type: number
  17545. userid:
  17546. description: 用户ID
  17547. type: integer
  17548. required:
  17549. - userid
  17550. type: object
  17551. models.Reckongzmemtradesum:
  17552. properties:
  17553. buylistingamount:
  17554. description: 买挂牌金额 - 无数据,预留
  17555. type: number
  17556. buylistinglot:
  17557. description: 买挂牌宗数
  17558. type: integer
  17559. buylistingqty:
  17560. description: 买挂牌数量 - 无数据,预留
  17561. type: number
  17562. buytradeamount:
  17563. description: 购买金额
  17564. type: number
  17565. buytradelot:
  17566. description: 购买宗数
  17567. type: integer
  17568. buytradeqty:
  17569. description: 购买数量
  17570. type: number
  17571. marketid:
  17572. description: 市场ID
  17573. type: integer
  17574. reckondate:
  17575. description: 日照日期(yyyyMMdd)
  17576. type: string
  17577. selllistingamount:
  17578. description: 卖挂牌金额
  17579. type: number
  17580. selllistinglot:
  17581. description: 卖挂牌宗数
  17582. type: integer
  17583. selllistingqty:
  17584. description: 卖挂牌数量
  17585. type: number
  17586. selltradeamount:
  17587. description: 销售金额
  17588. type: number
  17589. selltradelot:
  17590. description: 销售宗数
  17591. type: integer
  17592. selltradeqty:
  17593. description: 销售数量
  17594. type: number
  17595. updatetime:
  17596. description: 更新时间
  17597. type: string
  17598. userid:
  17599. description: 用户ID
  17600. type: integer
  17601. zscategory:
  17602. description: 钻石分类 - 枚举”ZSCategory“
  17603. type: integer
  17604. zscategorydisplay:
  17605. type: string
  17606. zscurrencytype:
  17607. description: 货币类型 - 枚举“ZSCurrencyType”
  17608. type: integer
  17609. zscurrencytypedisplay:
  17610. type: string
  17611. zscurrencytypedisplayunit:
  17612. type: string
  17613. required:
  17614. - userid
  17615. type: object
  17616. models.RegisterMoney:
  17617. properties:
  17618. amount:
  17619. description: 红包
  17620. type: number
  17621. type: object
  17622. models.RelatedTaAccount:
  17623. properties:
  17624. accountid:
  17625. description: 资金账户ID
  17626. type: integer
  17627. type: object
  17628. models.RoleMenu:
  17629. properties:
  17630. hasright:
  17631. description: 是否有权限 0-没有权限 1-有权限
  17632. type: integer
  17633. iconame:
  17634. description: 菜单图标
  17635. type: string
  17636. menutype:
  17637. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  17638. type: integer
  17639. parentcode:
  17640. description: 上级资源代码
  17641. type: string
  17642. remark:
  17643. description: 菜单备注
  17644. type: string
  17645. resourcecode:
  17646. description: 菜单代码
  17647. type: string
  17648. resourcelevel:
  17649. description: 级别
  17650. type: integer
  17651. resourcename:
  17652. description: 菜单名称
  17653. type: string
  17654. roleid:
  17655. description: 角色id
  17656. type: integer
  17657. sort:
  17658. description: 排序
  17659. type: integer
  17660. subMenu:
  17661. description: 子级菜单(结构同上层一样, swag解析不出来)
  17662. items:
  17663. $ref: '#/definitions/models.RoleMenu'
  17664. type: array
  17665. url:
  17666. description: URL
  17667. type: string
  17668. userid:
  17669. description: 用户id
  17670. type: integer
  17671. type: object
  17672. models.SearchGoods:
  17673. properties:
  17674. goodscode:
  17675. description: 商品代码(内部)
  17676. type: string
  17677. goodsid:
  17678. description: 商品ID(自增ID SEQ_GOODS)
  17679. type: integer
  17680. goodsname:
  17681. description: 商品名称
  17682. type: string
  17683. marketid:
  17684. description: 所属市场ID
  17685. type: integer
  17686. marketname:
  17687. description: 市场名称
  17688. type: string
  17689. trademode:
  17690. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17691. 21:竞拍-大宗式 22:受托竞价
  17692. type: integer
  17693. required:
  17694. - goodscode
  17695. - goodsid
  17696. - goodsname
  17697. - marketid
  17698. - trademode
  17699. type: object
  17700. models.SellOrder:
  17701. properties:
  17702. accountid:
  17703. description: 资金账号
  17704. type: integer
  17705. applyid:
  17706. description: 申请单ID
  17707. type: integer
  17708. attachment1:
  17709. description: 附件1
  17710. type: string
  17711. attachment2:
  17712. description: 附件2
  17713. type: string
  17714. buyorsell:
  17715. description: 买卖 - 0:买 1:卖
  17716. type: integer
  17717. canbargain:
  17718. description: 是否可议价 - 0:不可 1:可
  17719. type: integer
  17720. cancelqty:
  17721. description: 撤销数量
  17722. type: integer
  17723. canceltime:
  17724. description: 撤销时间
  17725. type: string
  17726. cerno:
  17727. type: string
  17728. chargealgorithm:
  17729. description: 手续费收取方式 1:比率 2:固定
  17730. type: integer
  17731. chargealgorithmvalue:
  17732. description: 手续费设置值(交易所部分)
  17733. type: number
  17734. chargealgorithmvalue2:
  17735. description: 手续费设置值(会员部分)
  17736. type: number
  17737. clientordertime:
  17738. description: 客户端委托时间
  17739. type: string
  17740. cpcertno:
  17741. type: string
  17742. exchangerate:
  17743. description: 汇率[67]
  17744. type: number
  17745. firstratio:
  17746. description: 首付比率 - [挂牌时指定,摘牌时使用]
  17747. type: number
  17748. fixedprice:
  17749. description: '[克拉单价]固定价格 - [挂牌]'
  17750. type: number
  17751. freezecharge:
  17752. description: 冻结手续费
  17753. type: number
  17754. freezefirstamount:
  17755. description: 冻结首付金额 - [摘牌]
  17756. type: number
  17757. freezemargin:
  17758. description: 冻结保证金
  17759. type: number
  17760. goodsno:
  17761. description: 商品编号
  17762. type: string
  17763. imagepath:
  17764. type: string
  17765. isQueryDiamond:
  17766. description: 是否钻石查询
  17767. type: boolean
  17768. isspecified:
  17769. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17770. type: integer
  17771. kppath:
  17772. type: string
  17773. kpweight:
  17774. type: string
  17775. marginalgorithm:
  17776. description: 保证金方式 - 1:比率 2:固定
  17777. type: integer
  17778. marginvalue:
  17779. description: 保证金设置值
  17780. type: number
  17781. marketid:
  17782. description: 市场ID
  17783. type: integer
  17784. marketprice:
  17785. type: string
  17786. orderamount:
  17787. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  17788. type: number
  17789. ordertime:
  17790. description: 委托时间
  17791. type: string
  17792. performancetemplateid:
  17793. description: 履约计划模板ID
  17794. type: integer
  17795. price:
  17796. description: 价格
  17797. type: number
  17798. pricefactor:
  17799. description: 价格系数(浮动价时填写) - [挂牌]
  17800. type: number
  17801. pricemove:
  17802. description: 升贴水(浮动价时填写) - [挂牌]
  17803. type: number
  17804. priceper:
  17805. type: string
  17806. relatedwrtradeorderid:
  17807. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  17808. type: integer
  17809. remainqty:
  17810. description: 剩余重量
  17811. type: number
  17812. remark:
  17813. type: string
  17814. retcode:
  17815. description: 错误代码
  17816. type: integer
  17817. sellusername:
  17818. description: 卖方(查询字段-模糊查询)
  17819. type: string
  17820. settingmaterial:
  17821. description: 镶嵌材料
  17822. type: string
  17823. size1:
  17824. type: string
  17825. size2:
  17826. type: string
  17827. size3:
  17828. type: string
  17829. sizedisplay:
  17830. description: 尺寸
  17831. type: string
  17832. stonedesc:
  17833. description: 配石描述
  17834. type: string
  17835. totalqty:
  17836. description: 总重量
  17837. type: number
  17838. tradedate:
  17839. description: 交易日(yyyyMMdd)
  17840. type: string
  17841. tradeprice:
  17842. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17843. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17844. type: number
  17845. unfreezecharge:
  17846. description: 解冻手续费
  17847. type: number
  17848. unfreezefirstamount:
  17849. description: 解冻首付金额 - [摘牌]
  17850. type: number
  17851. unfreezemargin:
  17852. description: 解冻保证金
  17853. type: number
  17854. userid:
  17855. description: 用户ID
  17856. type: integer
  17857. uuid:
  17858. description: 发起端唯一id
  17859. type: string
  17860. validtime:
  17861. description: 有效期限
  17862. type: string
  17863. validtype:
  17864. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17865. type: integer
  17866. warehousenamedisplay:
  17867. type: string
  17868. wrbargainid:
  17869. description: 议价申请单ID
  17870. type: integer
  17871. wrfactortypeid:
  17872. description: 仓单要素类型ID/商品ID(77)
  17873. type: integer
  17874. wrpath:
  17875. type: string
  17876. wrpricetype:
  17877. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17878. type: integer
  17879. wrstandardid:
  17880. description: 现货商品ID
  17881. type: integer
  17882. wrtradeorderid:
  17883. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17884. type: string
  17885. wrtradeorderstatus:
  17886. 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:撤单解冻贷款失败
  17887. type: integer
  17888. wrtradetype:
  17889. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17890. type: integer
  17891. wrtransferuserid:
  17892. description: 仓单受让用户 - [摘牌]
  17893. type: integer
  17894. zscategory:
  17895. description: 钻石分类 - 枚举”ZSCategory“
  17896. type: integer
  17897. zscategorydisplay:
  17898. description: 钻石分类 - 描述
  17899. type: string
  17900. zscerttypedisplay:
  17901. type: string
  17902. zsclaritytype1display:
  17903. type: string
  17904. zsclaritytype2display:
  17905. type: string
  17906. zscolortype1display:
  17907. type: string
  17908. zscolortype2display:
  17909. type: string
  17910. zscrystaltype:
  17911. type: string
  17912. zscrystaltypedisplay:
  17913. type: string
  17914. zscurrencytype:
  17915. description: 货币类型 - 枚举“ZSCurrencyType”
  17916. type: integer
  17917. zscurrencytypedisplay:
  17918. type: string
  17919. zscurrencytypedisplayunit:
  17920. type: string
  17921. zscuttype1display:
  17922. type: string
  17923. zscuttype2display:
  17924. type: string
  17925. zsczcolor1typedisplay:
  17926. type: string
  17927. zsczcolor2typedisplay:
  17928. type: string
  17929. zsczcolor3typedisplay:
  17930. type: string
  17931. zsfluorescencetype1display:
  17932. type: string
  17933. zsfluorescencetype2display:
  17934. type: string
  17935. zspolishtype1display:
  17936. type: string
  17937. zspolishtype2display:
  17938. type: string
  17939. zsshapetypedisplay:
  17940. type: string
  17941. zsstyletypedisplay:
  17942. type: string
  17943. zssymmetrytype1display:
  17944. type: string
  17945. zssymmetrytype2display:
  17946. type: string
  17947. type: object
  17948. models.SellOrderQueryReq:
  17949. properties:
  17950. origin:
  17951. description: 原产地
  17952. type: string
  17953. page:
  17954. description: 页码
  17955. type: integer
  17956. pagesize:
  17957. description: 每页大小
  17958. type: integer
  17959. total:
  17960. description: 总条数
  17961. type: integer
  17962. warehouseid:
  17963. description: 仓库ID
  17964. type: integer
  17965. weight1:
  17966. description: 总重量(克拉重量)-从
  17967. type: number
  17968. weight2:
  17969. description: 总重量(克拉重量)-至
  17970. type: number
  17971. weightavg1:
  17972. description: 平均单颗重量-从
  17973. type: number
  17974. weightavg2:
  17975. description: 平均单颗重量-至
  17976. type: number
  17977. zscategory:
  17978. description: 钻石分类 - 枚举”ZSCategory“
  17979. type: integer
  17980. zscerttype:
  17981. description: 证书类型
  17982. items:
  17983. type: string
  17984. type: array
  17985. zsclaritytype:
  17986. description: 净度
  17987. items:
  17988. type: integer
  17989. type: array
  17990. zscolortype:
  17991. description: 颜色
  17992. items:
  17993. type: integer
  17994. type: array
  17995. zscurrencytype:
  17996. description: 货币类型 - 枚举“ZSCurrencyType”
  17997. items:
  17998. type: string
  17999. type: array
  18000. zscuttype:
  18001. description: 切工
  18002. items:
  18003. type: integer
  18004. type: array
  18005. zsczcolor1type:
  18006. description: 彩钻颜色1
  18007. items:
  18008. type: string
  18009. type: array
  18010. zsfluorescencetype:
  18011. description: 荧光
  18012. items:
  18013. type: integer
  18014. type: array
  18015. zspolishtype:
  18016. description: 抛光度
  18017. items:
  18018. type: integer
  18019. type: array
  18020. zsshapetype:
  18021. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  18022. items:
  18023. type: string
  18024. type: array
  18025. zsstyletype:
  18026. description: 款式
  18027. items:
  18028. type: string
  18029. type: array
  18030. zssymmetrytype:
  18031. description: 对称度
  18032. items:
  18033. type: integer
  18034. type: array
  18035. required:
  18036. - zscategory
  18037. type: object
  18038. models.Sitecolumnconfig:
  18039. properties:
  18040. columnname:
  18041. description: 栏目名称
  18042. type: string
  18043. columntype:
  18044. description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  18045. type: integer
  18046. creaedate:
  18047. description: 创建时间
  18048. type: string
  18049. creatorid:
  18050. description: 创建人
  18051. type: integer
  18052. id:
  18053. description: ID(SEQ_SITE_COLUMNCONFIG)
  18054. type: integer
  18055. isshow:
  18056. description: 是否展示 - 0:不展示 1:展示
  18057. type: integer
  18058. modifierid:
  18059. description: 操作人
  18060. type: integer
  18061. sort:
  18062. description: 排序
  18063. type: integer
  18064. updatedate:
  18065. description: 修改时间
  18066. type: string
  18067. type: object
  18068. models.Systemparam:
  18069. properties:
  18070. loginid:
  18071. description: 更新用户账号,登录账号
  18072. type: string
  18073. modifyflag:
  18074. description: 修改标志0 不允许修改 1 允许修改
  18075. type: integer
  18076. paramcode:
  18077. description: 参数代码
  18078. type: string
  18079. paramname:
  18080. description: 参数名
  18081. type: string
  18082. paramtype:
  18083. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  18084. type: integer
  18085. paramvalue:
  18086. description: 参数值
  18087. type: string
  18088. paramvalue2:
  18089. description: 参数值(CLOB)
  18090. type: string
  18091. regexpress:
  18092. description: 正则表达式
  18093. type: string
  18094. remark:
  18095. description: 备注
  18096. type: string
  18097. serverip:
  18098. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  18099. type: string
  18100. showflag:
  18101. description: 是否显示0 不显示 1 显示
  18102. type: integer
  18103. updatetime:
  18104. description: 更新时间
  18105. type: string
  18106. userid:
  18107. description: 更新用户ID
  18108. type: integer
  18109. required:
  18110. - paramcode
  18111. type: object
  18112. models.Szdz3convertconfig:
  18113. properties:
  18114. canin:
  18115. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  18116. type: integer
  18117. canout:
  18118. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  18119. type: integer
  18120. converttype:
  18121. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18122. 6:交易转花生米(不设置)
  18123. type: integer
  18124. createtime:
  18125. description: 创建时间
  18126. type: string
  18127. creatorid:
  18128. description: 创建人
  18129. type: integer
  18130. daymaxvalue:
  18131. description: 当日最大转入限制
  18132. type: number
  18133. freezedays:
  18134. description: 冻结天数 [5:花生米转交易]
  18135. type: integer
  18136. innergoodsid:
  18137. description: 内部商品ID[交易]
  18138. type: integer
  18139. inratio:
  18140. description: 目标值
  18141. type: integer
  18142. modifierid:
  18143. description: 修改人
  18144. type: integer
  18145. modifytime:
  18146. description: 修改时间
  18147. type: string
  18148. outergoodscode:
  18149. description: 外部商品代码[JD\PD]
  18150. type: string
  18151. outratio:
  18152. description: 源值
  18153. type: integer
  18154. pddecimalplace:
  18155. description: PD小数位
  18156. type: integer
  18157. timemaxvalue:
  18158. description: 单次最大转入限制
  18159. type: number
  18160. timeminvalue:
  18161. description: 单次最小转入限制
  18162. type: number
  18163. required:
  18164. - converttype
  18165. - innergoodsid
  18166. - outergoodscode
  18167. type: object
  18168. models.Szdz3searchwhitelist:
  18169. properties:
  18170. createtime:
  18171. description: 创建时间
  18172. type: string
  18173. creatorid:
  18174. description: 创建人
  18175. type: integer
  18176. modifierid:
  18177. description: 修改人
  18178. type: integer
  18179. modifytime:
  18180. description: 修改时间
  18181. type: string
  18182. userid:
  18183. description: 用户ID
  18184. type: integer
  18185. required:
  18186. - userid
  18187. type: object
  18188. models.TBGoods:
  18189. properties:
  18190. agreeunit:
  18191. description: 合约乘数
  18192. type: number
  18193. enumdicname:
  18194. description: 单位名称
  18195. type: string
  18196. goodscode:
  18197. description: 商品代码(内部)
  18198. type: string
  18199. goodsid:
  18200. description: 商品ID(自增ID SEQ_GOODS)
  18201. type: integer
  18202. goodsname:
  18203. description: 商品名称
  18204. type: string
  18205. type: object
  18206. models.TBGoodsGroup:
  18207. properties:
  18208. GDLST:
  18209. description: 商品列表
  18210. items:
  18211. $ref: '#/definitions/models.TBGoods'
  18212. type: array
  18213. convertratio:
  18214. description: 折算系数
  18215. type: number
  18216. enumdicname:
  18217. description: 单位名称
  18218. type: string
  18219. exexchangecode:
  18220. description: 交易所代码
  18221. type: string
  18222. exexchangename:
  18223. description: 交易所名称
  18224. type: string
  18225. goodsgroupid:
  18226. description: 商品组ID(自增ID)
  18227. type: integer
  18228. goodsgroupname:
  18229. description: 商品组名称
  18230. type: string
  18231. goodunitid:
  18232. description: 报价单位ID
  18233. type: integer
  18234. type: object
  18235. models.TBMiddleGoods:
  18236. properties:
  18237. GPLST:
  18238. description: 期货品种列表
  18239. items:
  18240. $ref: '#/definitions/models.TBGoodsGroup'
  18241. type: array
  18242. WDLST:
  18243. description: 商品信息列表(现货品类)
  18244. items:
  18245. $ref: '#/definitions/models.TBWrstandard'
  18246. type: array
  18247. areauserid:
  18248. description: 机构用户ID
  18249. type: integer
  18250. enumdicname:
  18251. description: 单位名称
  18252. type: string
  18253. goodsunitid:
  18254. description: 套保品种单位id
  18255. type: integer
  18256. middlegoodscode:
  18257. description: 套保品种代码
  18258. type: string
  18259. middlegoodsid:
  18260. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  18261. type: integer
  18262. middlegoodsname:
  18263. description: 套保品种名称
  18264. type: string
  18265. needarbitrageratio:
  18266. description: 套利比率
  18267. type: number
  18268. needhedgeratio:
  18269. description: 套保比率
  18270. type: number
  18271. type: object
  18272. models.TBWrstandard:
  18273. properties:
  18274. convertratio:
  18275. description: 折算系数
  18276. type: number
  18277. deliverygoodsname:
  18278. description: 品种名称
  18279. type: string
  18280. enumdicname:
  18281. description: 单位名称
  18282. type: string
  18283. vatrate:
  18284. description: 增值税率
  18285. type: number
  18286. wrstandardcode:
  18287. description: 现货商品代码
  18288. type: string
  18289. wrstandardid:
  18290. description: 现货商品ID(SEQ_WRSTANDARD)
  18291. type: integer
  18292. wrstandardname:
  18293. description: 现货商品名称
  18294. type: string
  18295. type: object
  18296. models.THJDeliveryMode:
  18297. properties:
  18298. enumdicname:
  18299. description: 枚举项名称
  18300. type: string
  18301. enumitemname:
  18302. description: 枚举项值
  18303. type: integer
  18304. type: object
  18305. models.THJDeliveryMonth:
  18306. properties:
  18307. enddate:
  18308. description: 预售结束日期(yyyy-mm-dd)
  18309. type: string
  18310. endmonth:
  18311. description: 预售结束月份(yyyy-mm)
  18312. type: string
  18313. orderqty:
  18314. description: 委托数量
  18315. type: integer
  18316. presaleapplyid:
  18317. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18318. type: string
  18319. remainqty:
  18320. description: 可用数量
  18321. type: integer
  18322. tradeqty:
  18323. description: 成交数量
  18324. type: integer
  18325. unitprice:
  18326. description: '[参考价]商品单价'
  18327. type: number
  18328. type: object
  18329. models.THJGoodsDetailRsp:
  18330. properties:
  18331. goodsinfo:
  18332. allOf:
  18333. - $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18334. description: 商品信息
  18335. spotgoodspricelogs:
  18336. description: 历史价格走势
  18337. items:
  18338. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18339. type: array
  18340. type: object
  18341. models.THJPresaleApplyDeposit:
  18342. properties:
  18343. depositid:
  18344. description: 自增ID autoid
  18345. type: integer
  18346. depositrate:
  18347. description: 定金比例
  18348. type: number
  18349. discountamount:
  18350. description: 优惠金额(每吨)
  18351. type: number
  18352. presaleapplyid:
  18353. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18354. type: string
  18355. type: object
  18356. models.THJProduct:
  18357. properties:
  18358. bannerpicurl:
  18359. description: Banner图(逗号分隔)
  18360. type: string
  18361. pictureurls:
  18362. description: 详情图片(逗号分隔)
  18363. type: string
  18364. thumurls:
  18365. description: 缩略图片(1:1)(逗号分隔)
  18366. type: string
  18367. wrstandardcode:
  18368. description: 现货商品代码
  18369. type: string
  18370. wrstandardid:
  18371. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18372. type: string
  18373. wrstandardname:
  18374. description: 现货商品名称
  18375. type: string
  18376. type: object
  18377. models.THJPurchaseTradeDetail_Date:
  18378. properties:
  18379. depositrate:
  18380. description: 定金比例
  18381. type: number
  18382. enddate:
  18383. description: 预售结束日期
  18384. type: string
  18385. tradeprice:
  18386. description: 摘牌价格
  18387. type: number
  18388. tradeqty:
  18389. description: 摘牌数量
  18390. type: integer
  18391. transferamount:
  18392. description: 转让金额
  18393. type: number
  18394. transferid:
  18395. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  18396. type: string
  18397. transferprice:
  18398. description: 转让价格
  18399. type: number
  18400. type: object
  18401. models.THJPurchaseTradeDetail_Goodsinfo:
  18402. properties:
  18403. pictureurls:
  18404. description: 详情图片(逗号分隔)
  18405. type: string
  18406. refgoodscode:
  18407. description: 参考商品代码
  18408. type: string
  18409. refgoodsid:
  18410. description: 参考商品ID
  18411. type: integer
  18412. unitid:
  18413. description: 现货商品单位ID
  18414. type: integer
  18415. wrstandardcode:
  18416. description: 现货商品代码
  18417. type: string
  18418. wrstandardid:
  18419. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18420. type: integer
  18421. wrstandardname:
  18422. description: 现货商品名称(模糊查询)
  18423. type: string
  18424. type: object
  18425. models.THJPurchaseTradeDetailRsp:
  18426. properties:
  18427. deliverydate:
  18428. description: 交割日期
  18429. items:
  18430. $ref: '#/definitions/models.THJPurchaseTradeDetail_Date'
  18431. type: array
  18432. goodsinfo:
  18433. allOf:
  18434. - $ref: '#/definitions/models.THJPurchaseTradeDetail_Goodsinfo'
  18435. description: 商品信息
  18436. history:
  18437. description: 历史价格走势(历史数据日线)
  18438. items:
  18439. $ref: '#/definitions/models.HistoryData'
  18440. type: array
  18441. type: object
  18442. models.THJSigninReq:
  18443. properties:
  18444. userid:
  18445. description: 用户ID
  18446. type: integer
  18447. required:
  18448. - userid
  18449. type: object
  18450. models.THJSigninRsp:
  18451. properties:
  18452. signinstatus:
  18453. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  18454. type: integer
  18455. type: object
  18456. models.THJSpotGoodsPriceLog:
  18457. properties:
  18458. spotgoodsprice:
  18459. description: 现货价格
  18460. type: number
  18461. tradedate:
  18462. description: 交易日(yyyyMMdd)
  18463. type: string
  18464. type: object
  18465. models.THJTradeData:
  18466. properties:
  18467. accountname:
  18468. description: 被推荐人
  18469. type: string
  18470. buytradelot:
  18471. description: 购买笔数
  18472. type: integer
  18473. buytradeqty:
  18474. description: 购买数量
  18475. type: number
  18476. marketid:
  18477. description: 市场ID 采购-64201 供求-65201
  18478. type: integer
  18479. reckondate:
  18480. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  18481. type: string
  18482. selltradelot:
  18483. description: 销售笔数
  18484. type: integer
  18485. selltradeqty:
  18486. description: 销售数量
  18487. type: number
  18488. userid:
  18489. description: 用户ID
  18490. type: integer
  18491. wrstandardname:
  18492. description: 现货商品名称
  18493. type: string
  18494. required:
  18495. - marketid
  18496. - userid
  18497. type: object
  18498. models.THJUserLevelInfo:
  18499. properties:
  18500. appup:
  18501. description: 晋升已累计的数量
  18502. type: integer
  18503. checkday:
  18504. description: 最近一次考核日
  18505. type: string
  18506. levelgroup:
  18507. description: 当前等级
  18508. type: string
  18509. nextlevelgroup:
  18510. description: 下一等级
  18511. type: string
  18512. notyet:
  18513. description: 晋升还差多少数量
  18514. type: integer
  18515. progress:
  18516. description: 进度
  18517. type: number
  18518. type: object
  18519. models.THJWrstandard:
  18520. properties:
  18521. areauserid:
  18522. description: 所属机构
  18523. type: integer
  18524. bannerpicurl:
  18525. description: Banner图(逗号分隔)
  18526. type: string
  18527. convertfactor:
  18528. description: 标仓系数
  18529. type: number
  18530. deliverygoodsid:
  18531. description: 现货品种ID
  18532. type: integer
  18533. isvalid:
  18534. description: 是否有效 - 0:无效 1:有效
  18535. type: integer
  18536. minivalue:
  18537. description: 最小变动值
  18538. type: integer
  18539. minivaluedp:
  18540. description: 最小变动值小数位
  18541. type: integer
  18542. pictureurls:
  18543. description: 详情图片(逗号分隔)
  18544. type: string
  18545. realminivalue:
  18546. description: 实际最小变动值
  18547. type: integer
  18548. realminivaluedp:
  18549. description: 实际最小变动值小数位
  18550. type: integer
  18551. storagefee:
  18552. description: '仓储费(固定: 111)'
  18553. type: number
  18554. thumurls:
  18555. description: 缩略图片(1:1)(逗号分隔)
  18556. type: string
  18557. unitid:
  18558. description: 现货商品单位ID
  18559. type: integer
  18560. vatrate:
  18561. description: 现货增值税率
  18562. type: number
  18563. wrsstatus:
  18564. description: 状态 - 作废 - 0:未激活 1:正常
  18565. type: integer
  18566. wrstandardcode:
  18567. description: 现货商品代码
  18568. type: string
  18569. wrstandardid:
  18570. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18571. type: integer
  18572. wrstandardname:
  18573. description: 现货商品名称(模糊查询)
  18574. type: string
  18575. type: object
  18576. models.THJWrstandardDetail_GoodsInfo:
  18577. properties:
  18578. bannerpicurl:
  18579. description: Banner图(逗号分隔)
  18580. type: string
  18581. pictureurls:
  18582. description: 详情图片(逗号分隔)
  18583. type: string
  18584. spotgoodsprice:
  18585. description: 现货价格
  18586. type: number
  18587. unitid:
  18588. description: 现货商品单位ID
  18589. type: integer
  18590. wrstandardcode:
  18591. description: 现货商品代码
  18592. type: string
  18593. wrstandardid:
  18594. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18595. type: integer
  18596. wrstandardname:
  18597. description: 现货商品名称
  18598. type: string
  18599. type: object
  18600. models.THJWrstandardDetailRsp:
  18601. properties:
  18602. deliverymodes:
  18603. description: 交割方式
  18604. items:
  18605. $ref: '#/definitions/models.THJDeliveryMode'
  18606. type: array
  18607. deliverymonth:
  18608. description: 交割月份
  18609. items:
  18610. $ref: '#/definitions/models.THJDeliveryMonth'
  18611. type: array
  18612. goodsinfo:
  18613. allOf:
  18614. - $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18615. description: 商品信息
  18616. presaleapplydeposits:
  18617. description: 支付方式
  18618. items:
  18619. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  18620. type: array
  18621. spotgoodspricelogs:
  18622. description: 历史价格走势
  18623. items:
  18624. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18625. type: array
  18626. type: object
  18627. models.Taaccount:
  18628. properties:
  18629. accountflag:
  18630. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  18631. type: integer
  18632. accountid:
  18633. description: 资金账户ID
  18634. type: integer
  18635. accountname:
  18636. description: 账户名称
  18637. type: string
  18638. balance:
  18639. description: 期初余额
  18640. type: number
  18641. capitalbalance:
  18642. description: 本金余额[外部子账户实际出入金余额]
  18643. type: number
  18644. changeflag:
  18645. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  18646. type: integer
  18647. changetime:
  18648. description: 账户状态变更时间
  18649. type: string
  18650. closepl:
  18651. description: 今日平仓盈亏
  18652. type: number
  18653. creditdecrease:
  18654. description: 今日授信减少
  18655. type: number
  18656. creditincrease:
  18657. description: 今日授信增加
  18658. type: number
  18659. curamount:
  18660. description: 总市值(从持仓中统计)
  18661. type: number
  18662. currencyid:
  18663. description: 货币ID
  18664. type: integer
  18665. currentbalance:
  18666. description: 期末余额
  18667. type: number
  18668. freezecharge:
  18669. description: 手续费冻结
  18670. type: number
  18671. freezemargin:
  18672. description: 冻结保证金
  18673. type: number
  18674. fromaccountid:
  18675. description: 所属上级账户
  18676. type: integer
  18677. inamount:
  18678. description: 今日入金金额(包括三方入金)
  18679. type: number
  18680. ismain:
  18681. description: 是否母账号 0:不是母账户 1:是母账户
  18682. type: integer
  18683. ismarketaccount:
  18684. description: 是否机构接单账号 0:不是 1:是
  18685. type: integer
  18686. isreckonaccount:
  18687. description: 是否机构分润账号 0:不是 1:是
  18688. type: integer
  18689. mortgagecredit:
  18690. description: 授信金额
  18691. type: number
  18692. orifreezecharge:
  18693. description: 期初手续费冻结
  18694. type: number
  18695. orifreezemargin:
  18696. description: 期初冻结保证金
  18697. type: number
  18698. orimortgagecredit:
  18699. description: 期初授信金额
  18700. type: number
  18701. oriothercredit:
  18702. description: 期初其它授信金额
  18703. type: number
  18704. oriotherfreezemargin:
  18705. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  18706. type: number
  18707. orioutamountfreeze:
  18708. description: 期初出金冻结
  18709. type: number
  18710. oriusedmargin:
  18711. description: 期初占用保证金
  18712. type: number
  18713. othercredit:
  18714. description: 其它授信金额
  18715. type: number
  18716. othercreditdecrease:
  18717. description: 今日其它授信减少
  18718. type: number
  18719. othercreditincrease:
  18720. description: 今日其它授信增加
  18721. type: number
  18722. otherfreezemargin:
  18723. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  18724. type: number
  18725. otherincome:
  18726. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  18727. type: number
  18728. otherpay:
  18729. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  18730. type: number
  18731. outamount:
  18732. description: 今日出金金额(包括三方出金)
  18733. type: number
  18734. outamountfreeze:
  18735. description: 出金冻结
  18736. type: number
  18737. outthreshold:
  18738. description: 出金阈值
  18739. type: number
  18740. parentaccountid:
  18741. description: 所属根账号
  18742. type: integer
  18743. paycharge:
  18744. description: 今日手续费支出
  18745. type: number
  18746. relatedaccountstatus:
  18747. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  18748. type: integer
  18749. relateduserid:
  18750. description: 关联用户
  18751. type: integer
  18752. remainamount:
  18753. description: 融资额(从融资合同中统计)
  18754. type: number
  18755. serivcegroup:
  18756. description: 服务分组
  18757. type: integer
  18758. signstatus:
  18759. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  18760. type: integer
  18761. sublevelpath:
  18762. description: 账号层级路径(逗号分隔,首尾加逗号)
  18763. type: string
  18764. taaccounttype:
  18765. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18766. type: integer
  18767. thirdinamount:
  18768. description: 今日三方入金
  18769. type: number
  18770. thirdoutamount:
  18771. description: 今日三方出金
  18772. type: number
  18773. tradestatus:
  18774. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  18775. type: integer
  18776. tradestatuschangetime:
  18777. description: 激活时间
  18778. type: string
  18779. transferamount:
  18780. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  18781. type: number
  18782. usedmargin:
  18783. description: 占用保证金
  18784. type: number
  18785. userid:
  18786. description: 用户ID
  18787. type: integer
  18788. required:
  18789. - accountid
  18790. - userid
  18791. type: object
  18792. models.Tablecolumnconfig:
  18793. properties:
  18794. aligntype:
  18795. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  18796. type: integer
  18797. autoid:
  18798. description: AutoID
  18799. type: integer
  18800. columnfield:
  18801. description: 列字段
  18802. type: string
  18803. columntitle:
  18804. description: 列Title
  18805. type: string
  18806. columnwidth:
  18807. description: 列宽
  18808. type: string
  18809. fixed:
  18810. description: 固定类型 - 空 | left | right
  18811. type: string
  18812. formatterstring:
  18813. description: 格式化字符
  18814. type: string
  18815. formattertype:
  18816. description: 格式化类型
  18817. type: string
  18818. groupname:
  18819. description: 表头分组名称
  18820. type: string
  18821. ismerge:
  18822. description: 是否合并显示 - 0:不合并 1:合并
  18823. type: integer
  18824. isshow:
  18825. description: 是否显示 - 0:不显示 1:显示
  18826. type: integer
  18827. needsummary:
  18828. description: 是否需要汇总 - 0:不需要 1:需要
  18829. type: integer
  18830. orderindex:
  18831. description: 顺序
  18832. type: integer
  18833. remark:
  18834. description: 备注
  18835. type: string
  18836. summarytype:
  18837. description: 汇总类型 - 1:加总 2:最后一个
  18838. type: integer
  18839. tablekey:
  18840. description: 列表Key
  18841. type: string
  18842. required:
  18843. - autoid
  18844. type: object
  18845. models.Thjpurchasetradedetail:
  18846. properties:
  18847. buyaccountid:
  18848. description: 买方账号ID
  18849. type: integer
  18850. buychargevalue:
  18851. description: 买方到期手续费
  18852. type: number
  18853. buyconfirmremark:
  18854. description: 买方确认备注
  18855. type: string
  18856. buyconfirmtime:
  18857. description: 买方确认时间
  18858. type: string
  18859. buyfreezecharge:
  18860. description: 买方摘牌冻结手续费
  18861. type: number
  18862. buyuserid:
  18863. description: 买方用户ID
  18864. type: integer
  18865. contactinfo:
  18866. description: 联系方式
  18867. type: string
  18868. contactname:
  18869. description: 联系人姓名
  18870. type: string
  18871. contractaddrbuy:
  18872. description: 贸易合同地址(买家)
  18873. type: string
  18874. contractaddrsell:
  18875. description: 贸易合同地址(卖家)
  18876. type: string
  18877. createtime:
  18878. description: 预售挂牌时间
  18879. type: string
  18880. deliverygoodsid:
  18881. description: 现货品种ID
  18882. type: integer
  18883. depositrate:
  18884. description: 定金比例
  18885. type: number
  18886. desaddress:
  18887. description: 目的地地址
  18888. type: string
  18889. discountamount:
  18890. description: 优惠总金额(优惠金额*TradeQty)
  18891. type: number
  18892. enddate:
  18893. description: 到期日期(交收日期)
  18894. type: string
  18895. enddatemonth:
  18896. description: 到期月份
  18897. type: string
  18898. handlestatus:
  18899. description: 处理状态
  18900. type: integer
  18901. lastamount:
  18902. description: 到期总货款 = 到期价格 * 摘牌数量
  18903. type: number
  18904. lastprice:
  18905. description: '[实际价]到期价格'
  18906. type: number
  18907. lastpricedate:
  18908. description: 到期价格日期 - 暂不使用
  18909. type: string
  18910. marketid:
  18911. description: 市场ID
  18912. type: integer
  18913. orderstatus:
  18914. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  18915. (枚举:THJOrderStatus)
  18916. type: integer
  18917. payeddeposit:
  18918. description: '[定金]买方已付定金(预付款)'
  18919. type: number
  18920. payedtradedate:
  18921. description: 支付尾款成功交易日
  18922. type: string
  18923. presaleapplyid:
  18924. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18925. type: string
  18926. presalestatus:
  18927. description: 预留状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  18928. type: integer
  18929. receiptinfo:
  18930. description: 发票信息
  18931. type: string
  18932. remainamount:
  18933. description: '[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额'
  18934. type: number
  18935. sellaccountid:
  18936. description: 卖方账号ID
  18937. type: integer
  18938. sellchargevalue:
  18939. description: 卖方到期手续费
  18940. type: number
  18941. sellconfirmattach:
  18942. description: 卖方确认附件
  18943. type: string
  18944. sellconfirmremark:
  18945. description: 卖方确认备注
  18946. type: string
  18947. sellconfirmtime:
  18948. description: 卖方确认时间
  18949. type: string
  18950. sellconfirmtradedate:
  18951. description: 卖方确认交易日
  18952. type: string
  18953. selluserid:
  18954. description: 卖方用户ID
  18955. type: integer
  18956. thjdeliverymode:
  18957. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  18958. type: integer
  18959. thjdeliverymodedisplay:
  18960. description: 提货方式
  18961. type: string
  18962. thjorderstatusdisplay:
  18963. description: 状态
  18964. type: string
  18965. tradeamount:
  18966. description: 摘牌总货款
  18967. type: number
  18968. tradedate:
  18969. description: 交易日(yyyyMMdd)
  18970. type: string
  18971. tradeprice:
  18972. description: 摘牌价格 - 参考价
  18973. type: number
  18974. tradeqty:
  18975. description: '[预售价]摘牌数量'
  18976. type: integer
  18977. tradetime:
  18978. description: 摘牌时间(委托时间)
  18979. type: string
  18980. transferprice:
  18981. description: 转让价格 - 购买价
  18982. type: number
  18983. unitid:
  18984. description: 商品单位
  18985. type: integer
  18986. warehouseid:
  18987. description: 仓库ID
  18988. type: integer
  18989. warehousename:
  18990. description: 仓库名称
  18991. type: string
  18992. wrfactortypeid:
  18993. description: 仓单要素类型ID
  18994. type: string
  18995. wrstandardid:
  18996. description: 现货商品ID
  18997. type: integer
  18998. wrstandardname:
  18999. description: 现货商品名称
  19000. type: string
  19001. wrtradedetailid:
  19002. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19003. type: string
  19004. required:
  19005. - buyuserid
  19006. type: object
  19007. models.Thjpurchasetransfer:
  19008. properties:
  19009. buyaccountid:
  19010. description: 买方账号ID
  19011. type: integer
  19012. buyuserid:
  19013. description: 买方用户ID
  19014. type: integer
  19015. contractaddr:
  19016. description: 协议转让合同地址
  19017. type: string
  19018. createtime:
  19019. description: 转让挂牌时间
  19020. type: string
  19021. deliverygoodsid:
  19022. description: 现货品种ID
  19023. type: integer
  19024. enddate:
  19025. description: 交收日期
  19026. type: string
  19027. enddatemonth:
  19028. description: 交收月份
  19029. type: string
  19030. handlestatus:
  19031. description: 处理状态
  19032. type: integer
  19033. marketid:
  19034. description: 市场ID(固定为(64202)
  19035. type: integer
  19036. ordertype:
  19037. description: 类型 - 1:转让委托 - 挂牌中(卖方) 2:转让成交(卖方) 3:转让委托 - 已完成(卖方)
  19038. type: integer
  19039. payeddeposit:
  19040. description: 买方已付定金(预付款)
  19041. type: number
  19042. presaleapplyid:
  19043. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19044. type: string
  19045. presalestatus:
  19046. description: 预留状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19047. type: integer
  19048. remark:
  19049. description: 备注
  19050. type: string
  19051. sellaccountid:
  19052. description: 卖方账号ID
  19053. type: integer
  19054. sellcharge:
  19055. description: 卖方手续费值
  19056. type: number
  19057. sellchargealgorithm:
  19058. description: 卖方手续费收取方式 1:比率 2:固定
  19059. type: integer
  19060. sellchargealgorithmvalue:
  19061. description: 手续费设置值(交易所部分)
  19062. type: number
  19063. selluserid:
  19064. description: 卖方用户ID
  19065. type: integer
  19066. tradedate:
  19067. description: 交易日(yyyyMMdd)
  19068. type: string
  19069. tradeprice:
  19070. description: 参考价
  19071. type: number
  19072. transferamount:
  19073. description: 转让金额
  19074. type: number
  19075. transferid:
  19076. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  19077. type: string
  19078. transferprice:
  19079. description: 转让价格
  19080. type: number
  19081. transferqty:
  19082. description: 数量
  19083. type: integer
  19084. transferstatus:
  19085. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19086. type: integer
  19087. transfertradedate:
  19088. description: 转让交易日
  19089. type: string
  19090. transfertradetime:
  19091. description: 转让成交时间
  19092. type: string
  19093. unitid:
  19094. description: 现货商品单位ID
  19095. type: integer
  19096. warehouseid:
  19097. description: 仓库ID
  19098. type: integer
  19099. wrfactortypeid:
  19100. description: 仓单要素类型ID
  19101. type: string
  19102. wrstandardid:
  19103. description: 现货商品ID
  19104. type: integer
  19105. wrstandardname:
  19106. description: 现货商品名称
  19107. type: string
  19108. wrtradedetailid:
  19109. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19110. type: string
  19111. required:
  19112. - ordertype
  19113. type: object
  19114. models.ThjpurchasetransferDetail:
  19115. properties:
  19116. buyusername:
  19117. description: 受让人
  19118. type: string
  19119. contractaddrbuy:
  19120. description: 贸易合同地址(买家)
  19121. type: string
  19122. contractaddrsell:
  19123. description: 贸易合同地址(卖家)
  19124. type: string
  19125. payeddeposit:
  19126. description: 买方已付定金
  19127. type: number
  19128. sellusername:
  19129. description: 转让人
  19130. type: string
  19131. tradeprice:
  19132. description: 预售价格
  19133. type: number
  19134. transferamount:
  19135. description: 转让金额
  19136. type: number
  19137. transferid:
  19138. description: 转让单号
  19139. type: string
  19140. transferprice:
  19141. description: 转让价格
  19142. type: number
  19143. transferqty:
  19144. description: 转让数量
  19145. type: integer
  19146. transferstatus:
  19147. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19148. type: integer
  19149. warehousename:
  19150. description: 仓库名称
  19151. type: string
  19152. wrstandardcode:
  19153. description: 现货商品代码
  19154. type: string
  19155. wrstandardid:
  19156. description: 现货商品ID
  19157. type: integer
  19158. wrstandardname:
  19159. description: 现货商品名称
  19160. type: string
  19161. type: object
  19162. models.Thjscoreconfig:
  19163. properties:
  19164. parma1:
  19165. description: 参数1
  19166. type: integer
  19167. parma2:
  19168. description: 参数2
  19169. type: integer
  19170. parma3:
  19171. description: 参数3
  19172. type: integer
  19173. parma4:
  19174. description: 参数4
  19175. type: integer
  19176. parma5:
  19177. description: 参数5
  19178. type: integer
  19179. parma6:
  19180. description: 参数6
  19181. type: integer
  19182. parma7:
  19183. description: 参数6
  19184. type: integer
  19185. scoreconfigtype:
  19186. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  19187. 7:抽奖得红包
  19188. type: integer
  19189. type: object
  19190. models.TjmdHolderDetailTradeInfo:
  19191. properties:
  19192. agreeunit:
  19193. description: 合约乘数
  19194. type: number
  19195. buyaccountid:
  19196. description: 买方账户
  19197. type: string
  19198. buyusername:
  19199. description: 买方
  19200. type: string
  19201. delistingdate:
  19202. description: 最后结算日
  19203. type: string
  19204. expiredate:
  19205. description: 到期结算价定价日
  19206. type: string
  19207. exprieprice:
  19208. description: 到期清算价格
  19209. type: string
  19210. goodscode:
  19211. description: 商品代码
  19212. type: string
  19213. goodsid:
  19214. description: 商品ID
  19215. type: integer
  19216. goodsname:
  19217. description: 商品名称(交易标的)
  19218. type: string
  19219. lasttradedate:
  19220. description: 最后交易日
  19221. type: string
  19222. listingdate:
  19223. description: 开始交易日
  19224. type: string
  19225. openprice:
  19226. description: 成交价
  19227. type: number
  19228. openqty:
  19229. description: 交易数量
  19230. type: integer
  19231. sellaccountid:
  19232. description: 卖方账户
  19233. type: string
  19234. sellusername:
  19235. description: 卖方
  19236. type: string
  19237. tradeamount:
  19238. description: 初始名义价值
  19239. type: number
  19240. tradedate:
  19241. description: 成交日期
  19242. type: string
  19243. tradeid:
  19244. description: 成交编号
  19245. type: string
  19246. type: object
  19247. models.TjmdMarketSection:
  19248. properties:
  19249. marketsectionid:
  19250. description: 市场版块ID(SEQ_MARKETSECTION)
  19251. type: integer
  19252. marketsectionname:
  19253. description: 市场版块名称
  19254. type: string
  19255. mlist:
  19256. description: 市场列表(板块下面有多少个市场)
  19257. items:
  19258. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  19259. type: array
  19260. orderindex:
  19261. description: 排序
  19262. type: integer
  19263. pictureurl:
  19264. description: 图片url, 规格(90*90)
  19265. type: string
  19266. remark:
  19267. description: 备注
  19268. type: string
  19269. type: object
  19270. models.TjmdMarketSectionConfig:
  19271. properties:
  19272. auctionwrtype:
  19273. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  19274. type: integer
  19275. canacceptquote:
  19276. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  19277. type: integer
  19278. cangoodsexercise:
  19279. description: '[期权]是否可现货行权- 0:否 1:是'
  19280. type: integer
  19281. cangoodsexercisetype:
  19282. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  19283. type: integer
  19284. canmanualquotestrike:
  19285. description: 是否可手动报行权价- 0:否 1:是 [期权]
  19286. type: integer
  19287. canmutistage:
  19288. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  19289. type: integer
  19290. canpreexercise:
  19291. description: '[期权]是否可预申报- 0:否 1:是'
  19292. type: integer
  19293. clearinterval:
  19294. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  19295. type: integer
  19296. contracttmp:
  19297. description: 合同模板[荷兰式][竞价式][仓单贸易]
  19298. type: string
  19299. exchareaid:
  19300. description: 所属交易所,可以没有
  19301. type: integer
  19302. financemarketid:
  19303. description: 融资回购市场ID [仓单贸易]
  19304. type: integer
  19305. goodstype:
  19306. description: 商品类型 - 1:交易商品 2:仓单商品
  19307. type: integer
  19308. hasrebate:
  19309. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  19310. type: integer
  19311. hastradecredit:
  19312. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  19313. type: integer
  19314. haswr:
  19315. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  19316. type: integer
  19317. isdeductmargin:
  19318. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  19319. type: integer
  19320. isrecordsource:
  19321. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  19322. type: integer
  19323. isreleasemargin:
  19324. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  19325. type: integer
  19326. isupdatereckonprice:
  19327. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  19328. type: integer
  19329. listingmode:
  19330. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19331. type: integer
  19332. marginformula:
  19333. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19334. type: integer
  19335. marginformula2:
  19336. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19337. type: integer
  19338. marketid:
  19339. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  19340. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  19341. type: integer
  19342. marketname:
  19343. description: 市场名称
  19344. type: string
  19345. marketsectionid:
  19346. description: 市场版块ID(SEQ_MARKETSECTION)
  19347. type: integer
  19348. marketserviceid:
  19349. description: 市场服务ID
  19350. type: integer
  19351. marketstatus:
  19352. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  19353. type: integer
  19354. markettype:
  19355. description: 市场类型- 1:非交易服务 2:交易服务
  19356. type: integer
  19357. matchermode:
  19358. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  19359. type: integer
  19360. nowrquotaflag:
  19361. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  19362. type: integer
  19363. openmethod:
  19364. description: 开盘模式 - 0 自动 1手动
  19365. type: integer
  19366. orderindex:
  19367. description: 排序
  19368. type: integer
  19369. otcuserid:
  19370. description: 场外期权做市商[场外期权]
  19371. type: integer
  19372. outersynctime:
  19373. description: 外部同步时间点(h24:mi:ss)[场外期权]
  19374. type: string
  19375. paylaterflag:
  19376. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  19377. type: integer
  19378. pendingflag:
  19379. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  19380. type: integer
  19381. pendingtime:
  19382. description: 待开市时间[通道交易-对冲](HH:mm)
  19383. type: string
  19384. performancetempid:
  19385. description: 履约计划模板ID - 作废
  19386. type: integer
  19387. premiumquotemode:
  19388. description: 权利金报价方式 - 1:自动 2:手动
  19389. type: integer
  19390. rebateratio:
  19391. description: 返利比率[竞价式]
  19392. type: number
  19393. reckonorder:
  19394. description: 结算顺序
  19395. type: integer
  19396. reckonpricealgorithm:
  19397. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  19398. 6.卖一价 7.买一卖一均价 8.外部结算价'
  19399. type: integer
  19400. reckonpriceparam:
  19401. description: 结算价参数
  19402. type: integer
  19403. reckontime:
  19404. description: 结算时间[通道交易-对冲](HH:mm)
  19405. type: string
  19406. roleprioritytype:
  19407. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  19408. type: integer
  19409. selllistingauditflag:
  19410. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  19411. type: integer
  19412. trademarkettype:
  19413. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  19414. type: integer
  19415. trademode:
  19416. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19417. 21:竞拍-大宗式 22:受托竞价
  19418. type: integer
  19419. tradeproperty:
  19420. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  19421. 8:场外期权
  19422. type: integer
  19423. tradetype:
  19424. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  19425. type: integer
  19426. updatereckonpriceinterval:
  19427. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  19428. type: integer
  19429. type: object
  19430. models.TjmdQuoteGoods:
  19431. properties:
  19432. buyqty:
  19433. description: 买量(暂不做, 无值, 保留字段)
  19434. type: number
  19435. decimalplace:
  19436. description: 报价小数位
  19437. type: integer
  19438. goodscode:
  19439. description: 合约代码
  19440. type: string
  19441. goodsgroupid:
  19442. description: 商品组ID(自增ID)
  19443. type: integer
  19444. goodsgroupname:
  19445. description: 商品组名称
  19446. type: string
  19447. goodsid:
  19448. description: 合约id
  19449. type: integer
  19450. goodsname:
  19451. description: 合约名称
  19452. type: string
  19453. refgoodscode:
  19454. description: 标的合约代码
  19455. type: string
  19456. refgoodsid:
  19457. description: 标的合约id
  19458. type: integer
  19459. refgoodsname:
  19460. description: 标的合约名称
  19461. type: string
  19462. sellqty:
  19463. description: 卖量(暂不做, 无值, 保留字段)
  19464. type: number
  19465. type: object
  19466. models.TjmdTodayAccountMargin:
  19467. properties:
  19468. accountid:
  19469. description: 账号ID
  19470. type: integer
  19471. goodsid:
  19472. description: 商品ID
  19473. type: integer
  19474. infoc:
  19475. allOf:
  19476. - $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  19477. description: 配置参数
  19478. marketid:
  19479. description: 市场ID
  19480. type: integer
  19481. type: object
  19482. models.TjmdTradeOrderDetail:
  19483. properties:
  19484. buyorsell:
  19485. description: 买卖方向 0-买 1-卖
  19486. type: integer
  19487. goodsid:
  19488. description: 商品id
  19489. type: integer
  19490. marketmaxsub:
  19491. description: 市价最大偏移范围 [浮动价 - 点差]
  19492. type: number
  19493. orderid:
  19494. description: 委托单号
  19495. type: string
  19496. orderprice:
  19497. description: 委托价格
  19498. type: number
  19499. orderqty:
  19500. description: 委托数量
  19501. type: integer
  19502. pricemode:
  19503. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  19504. type: integer
  19505. userid:
  19506. description: 用户id
  19507. type: integer
  19508. username:
  19509. description: 用户名称(已脱敏)
  19510. type: string
  19511. type: object
  19512. models.TjmdTransferApply:
  19513. properties:
  19514. applyid:
  19515. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  19516. type: integer
  19517. applystatus:
  19518. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  19519. type: integer
  19520. applytime:
  19521. description: 申请时间(时间)
  19522. type: string
  19523. auditremark:
  19524. description: 审核备注(拒绝原因?)
  19525. type: string
  19526. begindate:
  19527. description: 开始交易日(yyyymmdd)
  19528. type: string
  19529. buyorsell:
  19530. description: 买卖 - 0:买 1:卖
  19531. type: integer
  19532. enddate:
  19533. description: 结束交易日(yyyymmdd)
  19534. type: string
  19535. goodscode:
  19536. description: 商品代码
  19537. type: string
  19538. goodsid:
  19539. description: 商品ID
  19540. type: integer
  19541. goodsname:
  19542. description: 商品名称
  19543. type: string
  19544. marketid:
  19545. description: 市场ID
  19546. type: integer
  19547. qty:
  19548. description: 转让数量(数量)
  19549. type: number
  19550. tradeid:
  19551. description: 成交单号(关联持仓)
  19552. type: string
  19553. transferamount:
  19554. description: 转让总金额(金额)
  19555. type: number
  19556. transferprice:
  19557. description: 转让价格(协议价格)
  19558. type: number
  19559. type: object
  19560. models.TradeHolderDetail:
  19561. properties:
  19562. accountid:
  19563. description: 账号ID
  19564. type: integer
  19565. agreeunit:
  19566. description: 合约乘数
  19567. type: number
  19568. buyorsell:
  19569. description: 方向 - 0:买 1:卖
  19570. type: integer
  19571. currencyid:
  19572. description: 商品币种id
  19573. type: integer
  19574. currencyname:
  19575. description: 币种名称
  19576. type: string
  19577. decimalplace:
  19578. description: 商品价格小数位
  19579. type: integer
  19580. enumdicname:
  19581. description: 商品单位名称
  19582. type: string
  19583. expirecycle:
  19584. description: 行权周期(天) - 1:滚动行权时填写
  19585. type: integer
  19586. expiredate:
  19587. description: 行权日(yyyyMMdd) - 到期日
  19588. type: string
  19589. expiretype:
  19590. description: 行权日类型 - 1:滚动行权 2:固定日行权
  19591. type: integer
  19592. freezeqty:
  19593. description: 冻结数量
  19594. type: number
  19595. goodscode:
  19596. description: 商品代码
  19597. type: string
  19598. goodsid:
  19599. description: 商品ID
  19600. type: integer
  19601. goodsname:
  19602. description: 商品名称
  19603. type: string
  19604. goodunitid:
  19605. description: 商品单位id
  19606. type: integer
  19607. holderamount:
  19608. description: 持仓金额
  19609. type: number
  19610. holdercredit:
  19611. description: 持仓授信金额
  19612. type: number
  19613. holderdays:
  19614. description: 剩余冻结天数
  19615. type: integer
  19616. holderprice:
  19617. description: 持仓价格
  19618. type: number
  19619. holderqty:
  19620. description: 持仓数量
  19621. type: number
  19622. isconfirmexercise:
  19623. description: 是否确认行权- 0:否 1:是
  19624. type: integer
  19625. ispreexercise:
  19626. description: 是否预申报- 0:否 1:是 2:不可行权
  19627. type: integer
  19628. marketid:
  19629. description: 市场id
  19630. type: integer
  19631. marketname:
  19632. description: 市场名称
  19633. type: string
  19634. openprice:
  19635. description: 建仓价格
  19636. type: number
  19637. openqty:
  19638. description: 建仓数量
  19639. type: number
  19640. optiontype:
  19641. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19642. type: integer
  19643. preexerciseprice:
  19644. description: 预申报价格
  19645. type: number
  19646. premium:
  19647. description: 权利金
  19648. type: number
  19649. qtydecimalplace:
  19650. description: 商品成交量小数位
  19651. type: integer
  19652. refgoodscode:
  19653. description: 标的合约代码
  19654. type: string
  19655. refgoodsid:
  19656. description: 标的合约id
  19657. type: integer
  19658. releaseamount:
  19659. description: 释放持仓金额
  19660. type: number
  19661. releaseholdercredit:
  19662. description: 释放持仓授信金额
  19663. type: number
  19664. taname:
  19665. description: 资金账号名称
  19666. type: string
  19667. tradeamount:
  19668. description: 成交金额
  19669. type: number
  19670. tradedate:
  19671. description: 交易日(yyyyMMdd)
  19672. type: string
  19673. tradeid:
  19674. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19675. type: string
  19676. trademode:
  19677. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19678. 21:竞拍-大宗式 22:受托竞价 46:掉期
  19679. type: integer
  19680. tradeproperty:
  19681. description: 交易属性
  19682. type: integer
  19683. tradetime:
  19684. description: 交易时间
  19685. type: string
  19686. userid:
  19687. description: 用户id
  19688. type: integer
  19689. username:
  19690. description: 用户名称
  19691. type: string
  19692. type: object
  19693. models.Unlinkermcphedgeplan:
  19694. properties:
  19695. accountid:
  19696. description: 期货账户ID - 作废
  19697. type: integer
  19698. accountname:
  19699. description: 交易用户
  19700. type: string
  19701. applyid:
  19702. description: 申请人
  19703. type: integer
  19704. applysrc:
  19705. description: 申请来源 - 1:管理端 2:终端
  19706. type: integer
  19707. applytime:
  19708. description: 申请时间
  19709. type: string
  19710. areauserid:
  19711. description: '[企业ID]机构ID'
  19712. type: integer
  19713. auditid:
  19714. description: 审核人
  19715. type: integer
  19716. auditremark:
  19717. description: 审核备注
  19718. type: string
  19719. auditsrc:
  19720. description: 审核来源 - 1:管理端 2:终端
  19721. type: integer
  19722. audittime:
  19723. description: 审核时间
  19724. type: string
  19725. audittradedate:
  19726. description: 审核交易日(yyyyMMdd)
  19727. type: string
  19728. biztype:
  19729. description: 业务类型 - 1:套保
  19730. type: integer
  19731. contracttype:
  19732. description: 计划类型 - 1:采购 -1:销售
  19733. type: integer
  19734. convertfactor:
  19735. description: 标仓系数 - 作废
  19736. type: number
  19737. createtime:
  19738. description: 创建时间
  19739. type: string
  19740. currencyid:
  19741. description: 结算币种ID - 作废
  19742. type: integer
  19743. deliverygoodsid:
  19744. description: 现货品种ID
  19745. type: integer
  19746. enumdicname:
  19747. description: 结算币种
  19748. type: string
  19749. hedgeplanid:
  19750. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  19751. type: string
  19752. hedgeplanno:
  19753. description: '[计划编号]套保计划编号,模糊查询'
  19754. type: string
  19755. hedgeplanstatus:
  19756. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  19757. type: integer
  19758. isrelated:
  19759. description: 是否已关联计划项目 - 0:否 1:是
  19760. type: integer
  19761. planqty:
  19762. description: '[计划量]计划数量'
  19763. type: number
  19764. plantime:
  19765. description: 计划时间
  19766. type: string
  19767. producttype:
  19768. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  19769. type: integer
  19770. remark:
  19771. description: 备注
  19772. type: string
  19773. spotgoodsdesc:
  19774. description: 商品型号
  19775. type: string
  19776. tradedate:
  19777. description: 交易日(yyyyMMdd)
  19778. type: string
  19779. tradeuserid:
  19780. description: 交易用户ID
  19781. type: integer
  19782. updatetime:
  19783. description: 更新时间
  19784. type: string
  19785. wrstandardid:
  19786. description: 现货商品ID
  19787. type: integer
  19788. wrstandardname:
  19789. description: 现货商品,模糊查询
  19790. type: string
  19791. required:
  19792. - areauserid
  19793. type: object
  19794. models.UserCollectConfig:
  19795. properties:
  19796. accountstatus:
  19797. description: 账户状态 - 1:正常 2:停用 3:注销
  19798. type: integer
  19799. collectaccountname:
  19800. description: 收款人账户名称
  19801. type: string
  19802. collectaccountno:
  19803. description: 收款人账户
  19804. type: string
  19805. collectbankname:
  19806. description: 收款人开户行
  19807. type: string
  19808. collectbranchbankname:
  19809. description: 收款人开户支行
  19810. type: string
  19811. collectconfigid:
  19812. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  19813. type: string
  19814. remark:
  19815. description: 备注
  19816. type: string
  19817. userid:
  19818. description: 收款人用户ID
  19819. type: integer
  19820. type: object
  19821. models.UserReceiveInfo:
  19822. properties:
  19823. address:
  19824. description: 提货人详细地址
  19825. type: string
  19826. autoid:
  19827. description: AutoID
  19828. type: integer
  19829. cardnum:
  19830. description: 证件号码(加密存储)
  19831. type: string
  19832. cardtypeid:
  19833. description: 证件类型
  19834. type: integer
  19835. cityid:
  19836. description: 市
  19837. type: integer
  19838. cityname:
  19839. description: 城市名称
  19840. type: string
  19841. countryid:
  19842. description: 国家
  19843. type: integer
  19844. countryname:
  19845. description: 国家名称
  19846. type: string
  19847. districtid:
  19848. description: 地区
  19849. type: integer
  19850. districtname:
  19851. description: 地区名称
  19852. type: string
  19853. hasencrypt:
  19854. description: 数据是否已加密 - 0:未加密 1:已加密
  19855. type: integer
  19856. isdefault:
  19857. description: 是否默认地址 - 0:否 1:是
  19858. type: integer
  19859. phonenum:
  19860. description: 提货人联系方式(加密存储)
  19861. type: string
  19862. provinceid:
  19863. description: 省
  19864. type: integer
  19865. provincename:
  19866. description: 省名称
  19867. type: string
  19868. receivername:
  19869. description: 提货人姓名
  19870. type: string
  19871. takeremark:
  19872. description: 提货备注
  19873. type: string
  19874. userid:
  19875. description: 用户ID
  19876. type: integer
  19877. type: object
  19878. models.Useraccount:
  19879. properties:
  19880. accountname:
  19881. description: 账户名称(机构名称)
  19882. type: string
  19883. accountstatus:
  19884. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  19885. type: integer
  19886. applysrc:
  19887. description: 申请来源 - 1:管理端 2:终端
  19888. type: integer
  19889. auditremark:
  19890. description: 审核备注
  19891. type: string
  19892. auditsrc:
  19893. description: 审核来源 - 1:管理端 2:终端
  19894. type: integer
  19895. audittime:
  19896. description: 审核时间
  19897. type: string
  19898. audituserid:
  19899. description: 审核人
  19900. type: integer
  19901. broker:
  19902. description: 所属经纪人ID
  19903. type: integer
  19904. canceltime:
  19905. description: 销户时间
  19906. type: string
  19907. canceluserid:
  19908. description: 销户人
  19909. type: integer
  19910. canrecommend:
  19911. description: 是否可推荐 - 0:不可 1;可
  19912. type: integer
  19913. createtime:
  19914. description: 创建时间
  19915. type: string
  19916. creatorid:
  19917. description: 创建人
  19918. type: integer
  19919. curscore:
  19920. description: 积分
  19921. type: integer
  19922. hasauth:
  19923. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  19924. type: integer
  19925. isanonymous:
  19926. description: 是否匿名下单 - 0:否 1:是
  19927. type: integer
  19928. issigned:
  19929. description: 今日是否已签到
  19930. type: boolean
  19931. maxinvestornum:
  19932. description: 最大用户数(经纪会员下投资者个数)
  19933. type: integer
  19934. memberuserid:
  19935. description: 所属会员ID
  19936. type: integer
  19937. modifierid:
  19938. description: 修改人
  19939. type: integer
  19940. modifyremark:
  19941. description: 变更备注
  19942. type: string
  19943. modifystatus:
  19944. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  19945. type: integer
  19946. modifytime:
  19947. description: 修改时间
  19948. type: string
  19949. parenttopuser:
  19950. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  19951. type: string
  19952. parentuserid:
  19953. description: 所属机构ID
  19954. type: integer
  19955. reckonaccountid:
  19956. description: 默认结算资金账号ID(机构分润使用) 作废
  19957. type: integer
  19958. refercount:
  19959. description: 推荐总人数
  19960. type: integer
  19961. refereeuserid:
  19962. description: 推荐人ID
  19963. type: integer
  19964. refernum:
  19965. description: 推荐码
  19966. type: string
  19967. rootuserid:
  19968. description: 根用户ID
  19969. type: integer
  19970. subaccountlevel:
  19971. description: 子账户层数
  19972. type: integer
  19973. subarealevelpath:
  19974. description: 子机构层级路径(逗号分隔,首尾加逗号)
  19975. type: string
  19976. todayrefercount:
  19977. description: 今日推荐人数
  19978. type: integer
  19979. userid:
  19980. description: 用户ID
  19981. type: integer
  19982. usertype:
  19983. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19984. type: integer
  19985. required:
  19986. - userid
  19987. type: object
  19988. models.Userfavoritegoods:
  19989. properties:
  19990. goodsid:
  19991. description: 商品ID
  19992. type: integer
  19993. required:
  19994. - goodsid
  19995. type: object
  19996. models.Userinfo:
  19997. properties:
  19998. address:
  19999. description: 地址
  20000. type: string
  20001. attachment1:
  20002. description: 附件1
  20003. type: string
  20004. attachment2:
  20005. description: 附件2
  20006. type: string
  20007. bankaccount:
  20008. description: 银行帐号 (加密存储)
  20009. type: string
  20010. bankaccountname:
  20011. description: 收款人名称
  20012. type: string
  20013. bankcardfrontphotourl:
  20014. description: 银行卡正面照地址
  20015. type: string
  20016. bankid:
  20017. description: 银行编码
  20018. type: string
  20019. bankname:
  20020. description: 银行名称
  20021. type: string
  20022. biznature:
  20023. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  20024. type: integer
  20025. bizscope:
  20026. description: 企业经营范围(企业)
  20027. type: string
  20028. cardbackphotourl:
  20029. description: 证件背面图片地址
  20030. type: string
  20031. cardfrontphotourl:
  20032. description: 证件正面图片地址
  20033. type: string
  20034. cardnum:
  20035. description: 证件号码(加密存储)
  20036. type: string
  20037. cardtypeid:
  20038. description: 证件类型ID
  20039. type: integer
  20040. cityid:
  20041. description: 市
  20042. type: integer
  20043. company:
  20044. description: 公司(个人)
  20045. type: string
  20046. contactname:
  20047. description: 联系人
  20048. type: string
  20049. countryid:
  20050. description: 国家
  20051. type: integer
  20052. createtime:
  20053. description: 创建时间
  20054. type: string
  20055. creatorid:
  20056. description: 创建人
  20057. type: integer
  20058. customername:
  20059. description: 客户名称(企业名称)
  20060. type: string
  20061. districtid:
  20062. description: 地区
  20063. type: integer
  20064. email:
  20065. description: 邮件(加密存储)
  20066. type: string
  20067. fax:
  20068. description: 传真(加密存储)
  20069. type: string
  20070. halfbodyphotourl:
  20071. description: 半身照地址
  20072. type: string
  20073. hasencrypt:
  20074. description: 数据是否已加密 - 0:未加密 1:已加密
  20075. type: integer
  20076. headurl:
  20077. description: 头像地址
  20078. type: string
  20079. legalcardbackphotourl:
  20080. description: 法人身份证背面照地址
  20081. type: string
  20082. legalcardfrontphotourl:
  20083. description: 法人身份证正面照地址
  20084. type: string
  20085. legalpersonname:
  20086. description: 法人姓名(企业)
  20087. type: string
  20088. mobile:
  20089. description: 手机号码(加密存储)
  20090. type: string
  20091. mobile2:
  20092. description: 手机号码[明文-尚志]
  20093. type: string
  20094. modifierid:
  20095. description: 修改人
  20096. type: integer
  20097. modifiertime:
  20098. description: 修改时间
  20099. type: string
  20100. needinvoice:
  20101. description: 是否需要发票 - 0:不需要 1:需要
  20102. type: integer
  20103. nickname:
  20104. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  20105. type: string
  20106. openmode:
  20107. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  20108. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  20109. type: integer
  20110. otherurl:
  20111. description: 其它图片地址[使用分号分隔]
  20112. type: string
  20113. postalcode:
  20114. description: 邮政编码
  20115. type: string
  20116. provinceid:
  20117. description: 省
  20118. type: integer
  20119. qq:
  20120. description: QQ(加密存储
  20121. type: string
  20122. remark:
  20123. description: 备注
  20124. type: string
  20125. sex:
  20126. description: '用户性别 0: 女 1: 男'
  20127. type: integer
  20128. signpdfurl:
  20129. description: 签约pdf文件
  20130. type: string
  20131. telphone:
  20132. description: 联系电话(加密存储)
  20133. type: string
  20134. userid:
  20135. description: 用户ID
  20136. type: integer
  20137. userinfotype:
  20138. description: 用户信息类型 - 1:个人 2:企业
  20139. type: integer
  20140. userstatus:
  20141. description: 用户状态 - 1:正常 2:注销
  20142. type: integer
  20143. usertype:
  20144. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  20145. type: integer
  20146. wechat:
  20147. description: 微信(加密存储)
  20148. type: string
  20149. wskhinfo:
  20150. description: 开户申请信息(JSON)
  20151. type: string
  20152. required:
  20153. - userid
  20154. type: object
  20155. models.WRPositionReport:
  20156. properties:
  20157. accountid:
  20158. description: 帐户ID
  20159. type: integer
  20160. brandid:
  20161. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  20162. type: integer
  20163. buylistinglot:
  20164. description: 买挂牌宗数
  20165. type: integer
  20166. buytradeamount:
  20167. description: 购买金额
  20168. type: number
  20169. buytradelot:
  20170. description: 购买宗数
  20171. type: integer
  20172. buytradeqty:
  20173. description: 购买数量
  20174. type: number
  20175. creditcurqty:
  20176. description: 授信当前数量
  20177. type: integer
  20178. creditfreezeqty:
  20179. description: 授信冻结数量
  20180. type: integer
  20181. credittotalqty:
  20182. description: 授信总数量
  20183. type: integer
  20184. credittradeqty:
  20185. description: 授信成交数量
  20186. type: integer
  20187. decreaseqty:
  20188. description: 今日减少数量
  20189. type: integer
  20190. deliverygoodsid:
  20191. description: 交割商品ID
  20192. type: integer
  20193. deliverymonthid:
  20194. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  20195. type: integer
  20196. freezeqty:
  20197. description: 总冻结数量
  20198. type: integer
  20199. increaseqty:
  20200. description: 今日增加数量
  20201. type: integer
  20202. marketvalue:
  20203. description: 市值
  20204. type: number
  20205. pickupqty:
  20206. description: 今日提货数量
  20207. type: integer
  20208. qualityid:
  20209. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  20210. type: integer
  20211. reckondate:
  20212. description: 日照时期(yyyyMMdd)
  20213. type: string
  20214. relatedqty:
  20215. description: 关联数量
  20216. type: integer
  20217. selllistingamount:
  20218. description: 卖挂牌金额
  20219. type: number
  20220. selllistinglot:
  20221. description: 卖挂牌宗数
  20222. type: integer
  20223. selllistingqty:
  20224. description: 卖挂牌数量
  20225. type: number
  20226. selltradeamount:
  20227. description: 销售金额
  20228. type: number
  20229. selltradelot:
  20230. description: 销售宗数
  20231. type: integer
  20232. selltradeqty:
  20233. description: 销售数量
  20234. type: number
  20235. specid:
  20236. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  20237. type: integer
  20238. totalprice:
  20239. description: 销售金额(¥)
  20240. type: number
  20241. totalqty:
  20242. description: 总数量
  20243. type: integer
  20244. totalweight:
  20245. description: 销售重量(ct)
  20246. type: number
  20247. tradewrqty:
  20248. description: 订单仓单头寸总数量
  20249. type: integer
  20250. transfertradewrqty:
  20251. description: 今日转订单数量
  20252. type: integer
  20253. warehouseid:
  20254. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  20255. type: integer
  20256. wrfactortypeid:
  20257. description: 仓单要素类型ID
  20258. type: integer
  20259. wrpositionid:
  20260. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20261. type: integer
  20262. wrstandardcode:
  20263. description: 现货商品代码
  20264. type: string
  20265. wrstandardid:
  20266. description: 现货商品ID
  20267. type: integer
  20268. wruserid:
  20269. description: 持有人ID
  20270. type: integer
  20271. zscategory:
  20272. description: 商品分类
  20273. type: integer
  20274. zscategorydisplay:
  20275. type: string
  20276. zscurrencytype:
  20277. description: 商品币种
  20278. type: integer
  20279. zscurrencytypedisplay:
  20280. type: string
  20281. zscurrencytypedisplayunit:
  20282. type: string
  20283. type: object
  20284. models.WRSConverTDetail:
  20285. properties:
  20286. convertratio:
  20287. description: 套保系数
  20288. type: number
  20289. deliverygoodscode:
  20290. description: 现货商品代码
  20291. type: string
  20292. deliverygoodsid:
  20293. description: 现货品种ID
  20294. type: integer
  20295. deliverygoodsname:
  20296. description: 现货商品名称
  20297. type: string
  20298. enumdicname:
  20299. description: 单位名称
  20300. type: string
  20301. goodsunitid:
  20302. description: 套保品种单位id
  20303. type: integer
  20304. middlegoodscode:
  20305. description: 套保品种代码
  20306. type: string
  20307. middlegoodsid:
  20308. description: 套保品种ID
  20309. type: integer
  20310. middlegoodsname:
  20311. description: 套保品种名称
  20312. type: string
  20313. modifytime:
  20314. description: 修改时间
  20315. type: string
  20316. wrstandardid:
  20317. description: 品类ID
  20318. type: integer
  20319. type: object
  20320. models.WRStandardInfo:
  20321. properties:
  20322. areauserid:
  20323. description: 所属机构
  20324. type: integer
  20325. convertfactor:
  20326. description: 标仓系数
  20327. type: number
  20328. createtime:
  20329. description: 创建时间
  20330. type: string
  20331. creatorid:
  20332. description: 创建人
  20333. type: integer
  20334. deliverygoodsid:
  20335. description: 品种ID
  20336. type: integer
  20337. deliverygoodsname:
  20338. description: 交割商品名称
  20339. type: string
  20340. factoryitemjson:
  20341. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  20342. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  20343. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  20344. 逗号分隔'
  20345. type: string
  20346. isvalid:
  20347. description: 是否有效 - 0:无效 1:有效
  20348. type: integer
  20349. minivalue:
  20350. description: 最小变动值
  20351. type: integer
  20352. minivaluedp:
  20353. description: 最小变动值小数位
  20354. type: integer
  20355. realminivalue:
  20356. description: 实际最小变动值
  20357. type: integer
  20358. realminivaluedp:
  20359. description: 实际最小变动值小数位
  20360. type: integer
  20361. remark:
  20362. description: 备注
  20363. type: string
  20364. unitid:
  20365. description: 单位ID
  20366. type: integer
  20367. unitname:
  20368. description: 单位
  20369. type: string
  20370. updatetime:
  20371. description: 更新时间
  20372. type: string
  20373. updatorid:
  20374. description: 更新人
  20375. type: integer
  20376. wrsstatus:
  20377. description: 状态 - 作废 - 0:未激活 1:正常
  20378. type: integer
  20379. wrstandardcode:
  20380. description: 现货品类代码
  20381. type: string
  20382. wrstandardid:
  20383. description: 现货品类ID(SEQ_WRSTANDARD)
  20384. type: integer
  20385. wrstandardname:
  20386. description: 现货品类名称
  20387. type: string
  20388. required:
  20389. - wrstandardid
  20390. type: object
  20391. models.WRTradeBargainApply:
  20392. properties:
  20393. accountid:
  20394. description: 摘牌资金账号
  20395. type: integer
  20396. applyprice:
  20397. description: 申请价格(议价价格)
  20398. type: string
  20399. applyqty:
  20400. description: 摘牌数量(议价数量)
  20401. type: number
  20402. applyremark:
  20403. description: 申请备注
  20404. type: string
  20405. applystatus:
  20406. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  20407. type: integer
  20408. applytime:
  20409. description: 申请时间(议价时间)
  20410. type: string
  20411. begindate:
  20412. description: 开始交易日(yyyymmdd)
  20413. type: string
  20414. buyorsell:
  20415. description: 买卖(挂牌类型) - 0:买 1:卖
  20416. type: integer
  20417. confirmremark:
  20418. description: 确认备注
  20419. type: string
  20420. confirmtime:
  20421. description: 确认时间
  20422. type: string
  20423. confirmuserid:
  20424. description: 确认人
  20425. type: integer
  20426. deliverygoodscode:
  20427. description: 品种代码
  20428. type: string
  20429. deliverygoodsid:
  20430. description: 品种ID
  20431. type: integer
  20432. deliverygoodsname:
  20433. description: 品种名称
  20434. type: string
  20435. deliverymonth:
  20436. description: 交收月
  20437. type: string
  20438. enddate:
  20439. description: 结束交易日(yyyymmdd)
  20440. type: string
  20441. enumdicname:
  20442. description: 单位名称
  20443. type: string
  20444. fixedprice:
  20445. description: 挂牌价格
  20446. type: number
  20447. handlestatus:
  20448. description: 处理状态
  20449. type: integer
  20450. marginvalue:
  20451. description: 履约保证金比例
  20452. type: number
  20453. marketid:
  20454. description: 市场ID
  20455. type: integer
  20456. matchaccountid:
  20457. description: 挂牌方资金账号
  20458. type: integer
  20459. matchuserid:
  20460. description: 挂牌方用户id
  20461. type: integer
  20462. matchusername:
  20463. description: 挂牌方用户名称(已脱敏)
  20464. type: string
  20465. minivalue:
  20466. description: 现货商品最小变动值
  20467. type: integer
  20468. optioncompare:
  20469. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20470. type: string
  20471. orderqty:
  20472. description: 挂牌数量
  20473. type: integer
  20474. refprice:
  20475. description: 参考价格
  20476. type: string
  20477. retcode:
  20478. description: 委托返回代码
  20479. type: integer
  20480. templatename:
  20481. description: 履约方式(履约模板名称)
  20482. type: string
  20483. tradedate:
  20484. description: 交易日(yyyyMMdd)
  20485. type: string
  20486. userid:
  20487. description: 摘牌人用户ID(议价人ID)
  20488. type: integer
  20489. username:
  20490. description: 议价人名字(已脱敏)
  20491. type: string
  20492. validtime:
  20493. description: 有效期限
  20494. type: string
  20495. warehouseid:
  20496. description: 仓库ID
  20497. type: integer
  20498. warehousename:
  20499. description: 仓库名称
  20500. type: string
  20501. wrbargainid:
  20502. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  20503. type: string
  20504. wrfactortypeid:
  20505. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20506. type: string
  20507. wrfactortypename:
  20508. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20509. type: string
  20510. wrstandardcode:
  20511. description: 现货商品代码
  20512. type: string
  20513. wrstandardid:
  20514. description: 现货商品ID
  20515. type: integer
  20516. wrstandardname:
  20517. description: 商品名称
  20518. type: string
  20519. wrtradeorderid:
  20520. description: 关联委托单ID
  20521. type: string
  20522. wrtypename:
  20523. description: 商品
  20524. type: string
  20525. type: object
  20526. models.Warehouseinfo:
  20527. properties:
  20528. address:
  20529. description: 详细地址
  20530. type: string
  20531. areauserid:
  20532. description: 所属机构
  20533. type: integer
  20534. autoid:
  20535. description: 自增ID
  20536. type: integer
  20537. cityid:
  20538. description: 市
  20539. type: integer
  20540. contactname:
  20541. description: 联系人
  20542. type: string
  20543. contactnum:
  20544. description: 联系电话
  20545. type: string
  20546. countryid:
  20547. description: 国家
  20548. type: integer
  20549. createtime:
  20550. description: 创建时间
  20551. type: string
  20552. districtid:
  20553. description: 区
  20554. type: integer
  20555. hasvideo:
  20556. description: 是否有视频 - 0:无 1:有
  20557. type: integer
  20558. provinceid:
  20559. description: 省
  20560. type: integer
  20561. remark:
  20562. description: 审核备注
  20563. type: string
  20564. videourl:
  20565. description: 视频地址
  20566. type: string
  20567. warehousecode:
  20568. description: 仓库代码
  20569. type: string
  20570. warehousename:
  20571. description: 仓库名称
  20572. type: string
  20573. warehousestatus:
  20574. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  20575. type: integer
  20576. warehousetype:
  20577. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  20578. type: integer
  20579. required:
  20580. - autoid
  20581. - warehousecode
  20582. type: object
  20583. models.WrAverageTradePrice:
  20584. properties:
  20585. averageprice:
  20586. description: 成交均价
  20587. type: number
  20588. tradedate:
  20589. description: 交易日yyyymm
  20590. type: string
  20591. type: object
  20592. models.WrBrandAndYears:
  20593. properties:
  20594. brandlst:
  20595. description: 品牌列表
  20596. items:
  20597. $ref: '#/definitions/models.DgFactoryItem'
  20598. type: array
  20599. yearslst:
  20600. description: 年份列表
  20601. items:
  20602. $ref: '#/definitions/models.DgFactoryItem'
  20603. type: array
  20604. type: object
  20605. models.WrBsGoodsInfo:
  20606. properties:
  20607. buyorsell:
  20608. description: 买卖方向 0-买 1-卖
  20609. type: integer
  20610. goodsid:
  20611. description: 交易合约ID
  20612. type: integer
  20613. lstitem:
  20614. description: 商品信息项
  20615. items:
  20616. $ref: '#/definitions/models.WrTypeItem'
  20617. type: array
  20618. lststep:
  20619. description: 履约规则
  20620. items:
  20621. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20622. type: array
  20623. type: object
  20624. models.WrBuybackDetail:
  20625. properties:
  20626. buybackamount:
  20627. description: 回购金额
  20628. type: number
  20629. buybackqty:
  20630. description: 回购数量
  20631. type: number
  20632. buybackreleasemargin:
  20633. description: 回购释放保证金
  20634. type: number
  20635. buybacktime:
  20636. description: 回购时间
  20637. type: string
  20638. errordesc:
  20639. description: 错误描述
  20640. type: string
  20641. handlestatus:
  20642. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  20643. type: integer
  20644. relatedwrid:
  20645. description: 关联仓单ID
  20646. type: integer
  20647. scfcontractid:
  20648. description: SCF合同ID
  20649. type: string
  20650. scfwrbuybackid:
  20651. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  20652. type: integer
  20653. tradedate:
  20654. description: 交易日(yyyyMMdd)
  20655. type: string
  20656. type: object
  20657. models.WrClientAdSpaceConfig:
  20658. properties:
  20659. adspaceid:
  20660. description: 广告位ID
  20661. type: integer
  20662. adspacename:
  20663. description: 广告位名称
  20664. type: string
  20665. adspacetype:
  20666. description: 广告位类型 - 1:固定广告位
  20667. type: integer
  20668. areauserid:
  20669. description: 所属机构ID
  20670. type: integer
  20671. createdate:
  20672. description: 创建时间
  20673. type: string
  20674. imagepath:
  20675. description: 图片
  20676. type: string
  20677. modifierid:
  20678. description: 操作人
  20679. type: integer
  20680. recsize:
  20681. description: 推荐尺寸
  20682. type: string
  20683. title:
  20684. description: 标题
  20685. type: string
  20686. updatedate:
  20687. description: 更新时间
  20688. type: string
  20689. urlcontent:
  20690. description: 链接(地址\商品ID\功能菜单Key\appid)
  20691. type: string
  20692. urltype:
  20693. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  20694. type: integer
  20695. type: object
  20696. models.WrDeliveryAvalidHoldLB:
  20697. properties:
  20698. accountid:
  20699. description: 资金账号
  20700. type: integer
  20701. avalidqty:
  20702. description: 数量(可点选数量)
  20703. type: number
  20704. deliverygoodsid:
  20705. description: 品种id
  20706. type: integer
  20707. enumdicname:
  20708. description: 单位名称
  20709. type: string
  20710. goodsid:
  20711. description: x合约商品id
  20712. type: integer
  20713. ladingbillid:
  20714. description: 提单id
  20715. type: string
  20716. pgoodscode:
  20717. description: p商品代码(点价合约)
  20718. type: string
  20719. pgoodsid:
  20720. description: p商品id(点价合约)
  20721. type: integer
  20722. pgoodsname:
  20723. description: p商品名称(点价合约)
  20724. type: string
  20725. pricemove:
  20726. description: 升贴水
  20727. type: number
  20728. subnum:
  20729. description: 提单子id
  20730. type: integer
  20731. userid:
  20732. description: 用户id
  20733. type: integer
  20734. username:
  20735. description: 仓单持有人
  20736. type: string
  20737. warehousecode:
  20738. description: 仓库代码
  20739. type: string
  20740. warehouseid:
  20741. description: 仓库id
  20742. type: integer
  20743. warehousename:
  20744. description: 仓库名称
  20745. type: string
  20746. wrfactortypeid:
  20747. description: 仓单要素id
  20748. type: string
  20749. wrstandardcode:
  20750. description: 品代码
  20751. type: string
  20752. wrstandardid:
  20753. description: 品类d
  20754. type: integer
  20755. wrstandardname:
  20756. description: 品类名称
  20757. type: string
  20758. wrtypename:
  20759. description: 商品
  20760. type: string
  20761. xgoodscode:
  20762. description: x合约代码
  20763. type: string
  20764. xgoodsname:
  20765. description: x合约名称
  20766. type: string
  20767. type: object
  20768. models.WrDeliveryDetail:
  20769. properties:
  20770. accountid:
  20771. description: 账号ID
  20772. type: integer
  20773. averageprice:
  20774. description: 交割均价 = 交割金额 / 交割数量
  20775. type: number
  20776. begindate:
  20777. description: 开始交易日(yyyymmdd)
  20778. type: string
  20779. buyorsell:
  20780. description: 方向 - 0:买 1:卖
  20781. type: integer
  20782. deliveryamount:
  20783. description: 货款金额(X总货款+P总货款)
  20784. type: number
  20785. deliveryid:
  20786. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  20787. type: string
  20788. deliveryorderid:
  20789. description: 申报单号
  20790. type: string
  20791. deliverypricemove:
  20792. description: 升贴水(升贴水总额)
  20793. type: number
  20794. deliveryqty:
  20795. description: 交收数量(点选数量)
  20796. type: number
  20797. deliverystatus:
  20798. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  20799. type: integer
  20800. deliverytime:
  20801. description: 交割时间
  20802. type: string
  20803. deliverytotalamount:
  20804. description: 交收金额
  20805. type: number
  20806. enddate:
  20807. description: 结束交易日(yyyymmdd)
  20808. type: string
  20809. enumdicname:
  20810. description: 单位名称
  20811. type: string
  20812. matchaccountid:
  20813. description: 对手账号ID
  20814. type: integer
  20815. matchusername:
  20816. description: 对手方名称(仓单持有人)
  20817. type: string
  20818. p1goodsremainamount:
  20819. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  20820. type: number
  20821. pdeliverycloseqty:
  20822. description: p合约平仓数量
  20823. type: number
  20824. pdeliveryprice:
  20825. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  20826. type: number
  20827. pgoodscode:
  20828. description: 商品代码
  20829. type: string
  20830. pgoodsid:
  20831. description: p点选合约id
  20832. type: integer
  20833. pgoodsname:
  20834. description: 商品名称
  20835. type: string
  20836. ppricemode:
  20837. description: 点价价格方式 - 1:商品价 2:固定值
  20838. type: integer
  20839. tradedate:
  20840. description: 交易日(yyyymmdd)
  20841. type: string
  20842. userid:
  20843. description: 用户id
  20844. type: integer
  20845. username:
  20846. description: 用户名称
  20847. type: string
  20848. warehousename:
  20849. description: 仓库名称
  20850. type: string
  20851. wrfactortypeid:
  20852. description: 仓单要素类型ID
  20853. type: string
  20854. wrtypename:
  20855. description: 商品
  20856. type: string
  20857. xdeliverycloseqty:
  20858. description: 合约数量
  20859. type: number
  20860. xgoodsamount:
  20861. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  20862. type: number
  20863. xgoodscode:
  20864. description: 商品代码
  20865. type: string
  20866. xgoodsid:
  20867. description: x交易合约ID
  20868. type: integer
  20869. xgoodsname:
  20870. description: 商品名称
  20871. type: string
  20872. type: object
  20873. models.WrDeliveryGoodsSection:
  20874. properties:
  20875. dglst:
  20876. description: 板块商品列表
  20877. items:
  20878. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  20879. type: array
  20880. imagepath:
  20881. description: 图片地址
  20882. type: string
  20883. orderindex:
  20884. description: 排序
  20885. type: integer
  20886. sectionid:
  20887. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  20888. = 1的版块1 - 云融指数
  20889. type: integer
  20890. sectionname:
  20891. description: 版块名称
  20892. type: string
  20893. sectiontype:
  20894. description: 版块类型 - 1:指数版块 2:普通版块
  20895. type: integer
  20896. type: object
  20897. models.WrDeliveryGoodsSectionConfig:
  20898. properties:
  20899. deliverygoodscode:
  20900. description: 现货商品代码
  20901. type: string
  20902. deliverygoodsid:
  20903. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20904. type: integer
  20905. deliverygoodsname:
  20906. description: 现货商品名称
  20907. type: string
  20908. orderindex:
  20909. description: 排序
  20910. type: integer
  20911. type: object
  20912. models.WrDraftUserInfo:
  20913. properties:
  20914. address:
  20915. description: 地址
  20916. type: string
  20917. attachment1:
  20918. description: 附件1
  20919. type: string
  20920. attachment2:
  20921. description: 附件2
  20922. type: string
  20923. attachment3:
  20924. description: 附件3
  20925. type: string
  20926. attachment4:
  20927. description: 附件4
  20928. type: string
  20929. attachment5:
  20930. description: 附件5
  20931. type: string
  20932. bankaccount:
  20933. description: 银行帐号 (加密存储)
  20934. type: string
  20935. bankaccountname:
  20936. description: 收款人名称
  20937. type: string
  20938. bankcardfrontphotourl:
  20939. description: 银行卡正面照地址
  20940. type: string
  20941. bankid:
  20942. description: 银行编码
  20943. type: string
  20944. bankname:
  20945. description: 银行名称
  20946. type: string
  20947. birthday:
  20948. description: 生日(个人:年月日)
  20949. type: string
  20950. biznature:
  20951. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  20952. type: integer
  20953. bizscope:
  20954. description: 企业经营范围(企业)
  20955. type: string
  20956. biztype:
  20957. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  20958. type: integer
  20959. cardbackphotourl:
  20960. description: 证件背面图片地址
  20961. type: string
  20962. cardfrontphotourl:
  20963. description: 证件正面图片地址
  20964. type: string
  20965. cardnum:
  20966. description: 证件号码(加密存储)
  20967. type: string
  20968. cardtypeid:
  20969. description: 证件类型ID
  20970. type: integer
  20971. cityid:
  20972. description: 市
  20973. type: integer
  20974. company:
  20975. description: 公司(个人)
  20976. type: string
  20977. contactcardbackphotourl:
  20978. description: 联系人证件背面图片地址
  20979. type: string
  20980. contactcardfrontphotourl:
  20981. description: 联系人证件正面图片地址
  20982. type: string
  20983. contactname:
  20984. description: 联系人
  20985. type: string
  20986. countryid:
  20987. description: 国家
  20988. type: integer
  20989. createtime:
  20990. description: 创建时间
  20991. type: string
  20992. creatorid:
  20993. description: 创建人
  20994. type: integer
  20995. creditquota:
  20996. description: 授信额度(金瑞)
  20997. type: number
  20998. customername:
  20999. description: 客户名称(企业名称)
  21000. type: string
  21001. districtid:
  21002. description: 地区
  21003. type: integer
  21004. email:
  21005. description: 邮件(加密存储)
  21006. type: string
  21007. fax:
  21008. description: 传真(加密存储)
  21009. type: string
  21010. halfbodyphotourl:
  21011. description: 半身照地址
  21012. type: string
  21013. hasencrypt:
  21014. description: 数据是否已加密 - 0:未加密 1:已加密
  21015. type: integer
  21016. headurl:
  21017. description: 头像地址
  21018. type: string
  21019. legalcardbackphotourl:
  21020. description: 法人身份证背面照地址
  21021. type: string
  21022. legalcardfrontphotourl:
  21023. description: 法人身份证正面照地址
  21024. type: string
  21025. legalpersonname:
  21026. description: 法人姓名(企业)
  21027. type: string
  21028. mobile:
  21029. description: 手机号码(加密存储)
  21030. type: string
  21031. mobile2:
  21032. description: 手机号码[明文-尚志]
  21033. type: string
  21034. modifierid:
  21035. description: 修改人
  21036. type: integer
  21037. modifiertime:
  21038. description: 修改时间
  21039. type: string
  21040. needinvoice:
  21041. description: 是否需要发票 - 0:不需要 1:需要
  21042. type: integer
  21043. nickname:
  21044. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  21045. type: string
  21046. openmode:
  21047. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  21048. 6:苹果手机端注册 7:PC交易端注册"
  21049. type: integer
  21050. otherurl:
  21051. description: 其它图片地址[使用分号分隔]
  21052. type: string
  21053. postalcode:
  21054. description: 邮政编码
  21055. type: string
  21056. provinceid:
  21057. description: 省
  21058. type: integer
  21059. proxystatementurl:
  21060. description: 授权委托书
  21061. type: string
  21062. qq:
  21063. description: QQ(加密存储
  21064. type: string
  21065. remark:
  21066. description: 备注
  21067. type: string
  21068. sex:
  21069. description: '用户性别 0: 女 1: 男'
  21070. type: integer
  21071. signpdfurl:
  21072. description: 签约pdf文件
  21073. type: string
  21074. taxpayernum:
  21075. description: 纳税人识别号
  21076. type: string
  21077. telphone:
  21078. description: 联系电话(加密存储)
  21079. type: string
  21080. userid:
  21081. description: 用户ID
  21082. type: integer
  21083. userinfotype:
  21084. description: 用户信息类型 - 1:个人 2:企业
  21085. type: integer
  21086. userstatus:
  21087. description: 用户状态 - 1:正常 2:注销
  21088. type: integer
  21089. usertype:
  21090. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  21091. type: integer
  21092. wechat:
  21093. description: 微信(加密存储)
  21094. type: string
  21095. wskhinfo:
  21096. description: 开户申请信息(JSON)
  21097. type: string
  21098. type: object
  21099. models.WrFAProductDetail:
  21100. properties:
  21101. accountid:
  21102. description: 资金账号
  21103. type: integer
  21104. areauserid:
  21105. description: 金融机构ID
  21106. type: integer
  21107. financingdays:
  21108. description: 天数(天)
  21109. type: integer
  21110. interestminlen:
  21111. description: 最小起息天数
  21112. type: integer
  21113. interestrate:
  21114. description: 利率
  21115. type: number
  21116. interestratemode:
  21117. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21118. type: integer
  21119. interestsettlemode:
  21120. description: 结息方式 - 1:按日结息 3:按月结息
  21121. type: integer
  21122. interestsettlevalue:
  21123. description: 结息方式值
  21124. type: integer
  21125. isautoloan:
  21126. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  21127. type: integer
  21128. loantag:
  21129. description: '放款标识: "放款快" 或者为空'
  21130. type: string
  21131. marginratio:
  21132. description: 保证金比率质押率 - [仓单质押]
  21133. type: number
  21134. productdetailid:
  21135. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  21136. type: integer
  21137. productid:
  21138. description: 金融产品ID
  21139. type: integer
  21140. productname:
  21141. description: 产品名称
  21142. type: string
  21143. updatetime:
  21144. description: 更新时间
  21145. type: string
  21146. username:
  21147. description: 融出方
  21148. type: string
  21149. type: object
  21150. models.WrFactorTypeInfo:
  21151. properties:
  21152. deliverygoodscode:
  21153. description: 品种代码
  21154. type: string
  21155. deliverygoodsname:
  21156. description: 品种名称
  21157. type: string
  21158. dgfactoryitemid:
  21159. description: 选择项id
  21160. type: integer
  21161. dgfactoryitemtypeid:
  21162. description: 要素选择项ID (1-仓库 2-品牌)
  21163. type: integer
  21164. dgfactoryitemvalue:
  21165. description: 要素项值
  21166. type: string
  21167. itemtypename:
  21168. description: 要素项名称
  21169. type: string
  21170. optioncompare:
  21171. description: 选择比较串
  21172. type: string
  21173. warehouseid:
  21174. description: 仓库id
  21175. type: integer
  21176. wrfactortypeid:
  21177. description: 仓单要素ID
  21178. type: string
  21179. wrfactortypename:
  21180. description: 要素名称
  21181. type: string
  21182. wrfactortypename2:
  21183. description: 要素名称(不含仓库)
  21184. type: string
  21185. wrstandardcode:
  21186. description: 品类代码
  21187. type: string
  21188. wrstandardid:
  21189. description: 品类id
  21190. type: integer
  21191. wrstandardname:
  21192. description: 品类名称
  21193. type: string
  21194. type: object
  21195. models.WrFilterItem:
  21196. properties:
  21197. itemcode:
  21198. description: 代码
  21199. type: string
  21200. itemid:
  21201. description: 项id
  21202. type: integer
  21203. itemname:
  21204. description: 名称
  21205. type: string
  21206. itemtype:
  21207. description: 类型 1-品种 2-品类(商品) 3-仓库
  21208. type: integer
  21209. type: object
  21210. models.WrFinanceBuyApply:
  21211. properties:
  21212. applydate:
  21213. description: 申请时间
  21214. type: string
  21215. applystatus:
  21216. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  21217. type: integer
  21218. applyuserid:
  21219. description: 申请人
  21220. type: integer
  21221. auditdate:
  21222. description: 审核时间
  21223. type: string
  21224. auditremark:
  21225. description: 审核备注
  21226. type: string
  21227. audituserid:
  21228. description: 审核人
  21229. type: integer
  21230. buyaccountid:
  21231. description: 买方资金账号
  21232. type: integer
  21233. buyorsell:
  21234. description: 买卖 - 0:买 1:卖
  21235. type: integer
  21236. buyuserid:
  21237. description: 买方用户ID
  21238. type: integer
  21239. buyusername:
  21240. description: 买方名称
  21241. type: string
  21242. buywrtradeorderid:
  21243. description: 融资方买委托单ID
  21244. type: string
  21245. deliverygoodscode:
  21246. description: 品种代码
  21247. type: string
  21248. deliverygoodsid:
  21249. description: 品种ID
  21250. type: integer
  21251. deliverygoodsname:
  21252. description: 品种名称
  21253. type: string
  21254. deliverymonth:
  21255. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  21256. type: string
  21257. enumdicname:
  21258. description: 单位名称
  21259. type: string
  21260. financeaccountid:
  21261. description: 融资方资金帐户ID
  21262. type: integer
  21263. financeapplyid:
  21264. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21265. type: string
  21266. financeareauserid:
  21267. description: 融资方用户ID
  21268. type: string
  21269. financename:
  21270. description: 融出方名称
  21271. type: string
  21272. financetype:
  21273. description: 融资类型 1-融资回购
  21274. type: integer
  21275. financingdays:
  21276. description: 天数(天)
  21277. type: integer
  21278. freezebuymargin:
  21279. description: 冻结融资保证金(买方)
  21280. type: number
  21281. handleremark:
  21282. description: 处理备注
  21283. type: string
  21284. handlestatus:
  21285. description: 处理状态
  21286. type: integer
  21287. interestminlen:
  21288. description: 最小起息天数
  21289. type: integer
  21290. interestrate:
  21291. description: 利率
  21292. type: number
  21293. interestratemode:
  21294. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21295. type: integer
  21296. interestsettlemode:
  21297. description: 结息方式 - 1:按日结息 3:按月结息
  21298. type: integer
  21299. interestsettlevalue:
  21300. description: 结息方式值
  21301. type: integer
  21302. isautoloan:
  21303. description: 是否自动放款 - 0:手动 1:自动
  21304. type: integer
  21305. marginratio:
  21306. description: 保证金比率质押率 - [仓单质押]
  21307. type: number
  21308. marketid:
  21309. description: 市场ID
  21310. type: integer
  21311. minivalue:
  21312. description: 现货商品最小变动值
  21313. type: integer
  21314. optioncompare:
  21315. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21316. type: string
  21317. orderqty:
  21318. description: 委托数量(商品数量)
  21319. type: number
  21320. productdetailid:
  21321. description: 产品组合ID
  21322. type: integer
  21323. productid:
  21324. description: 金融产品ID
  21325. type: integer
  21326. productname:
  21327. description: 产品名称
  21328. type: string
  21329. remark:
  21330. description: 备注
  21331. type: string
  21332. scfcontractid:
  21333. description: 仓单回购合同ID
  21334. type: string
  21335. sellaccountid:
  21336. description: 卖方资金账号
  21337. type: integer
  21338. selluserid:
  21339. description: 卖方用户ID
  21340. type: integer
  21341. sellwrtradeorderid:
  21342. description: 卖方委托单ID
  21343. type: string
  21344. tradeamount:
  21345. description: 成交金额(借款金额)
  21346. type: number
  21347. tradedate:
  21348. description: 交易日(yyyyMMdd)
  21349. type: string
  21350. tradeprice:
  21351. description: 成交价格
  21352. type: number
  21353. warehouseid:
  21354. description: 仓库ID
  21355. type: integer
  21356. warehousename:
  21357. description: 仓库名称
  21358. type: string
  21359. wrfactortypeid:
  21360. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21361. type: string
  21362. wrfactortypename:
  21363. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21364. type: string
  21365. wrpricetype:
  21366. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  21367. type: integer
  21368. wrstandardcode:
  21369. description: 现货商品代码
  21370. type: string
  21371. wrstandardid:
  21372. description: 现货商品ID
  21373. type: integer
  21374. wrstandardname:
  21375. description: 商品名称
  21376. type: string
  21377. wrtypename:
  21378. description: 商品
  21379. type: string
  21380. type: object
  21381. models.WrFriendApply:
  21382. properties:
  21383. applicantid:
  21384. description: 申请人
  21385. type: integer
  21386. applyname:
  21387. description: 申请人名称
  21388. type: string
  21389. applysrc:
  21390. description: 申请来源 - 1:管理端 2:终端
  21391. type: integer
  21392. applystatus:
  21393. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21394. type: integer
  21395. applytime:
  21396. description: 申请时间
  21397. type: string
  21398. auditname:
  21399. description: 审核人名称
  21400. type: string
  21401. auditorid:
  21402. description: 审核人
  21403. type: integer
  21404. auditremark:
  21405. description: 审核备注
  21406. type: string
  21407. auditsrc:
  21408. description: 审核来源 - 1:管理端 2:终端
  21409. type: integer
  21410. audittime:
  21411. description: 审核时间
  21412. type: string
  21413. friendapplyid:
  21414. description: 申请ID(SEQ_FRIENDAPPLY)
  21415. type: string
  21416. friendname:
  21417. description: 好友名字(已脱敏)
  21418. type: string
  21419. frienduserid:
  21420. description: 好友用户ID
  21421. type: string
  21422. remark:
  21423. description: 备注
  21424. type: string
  21425. userid:
  21426. description: 申请人用户ID
  21427. type: integer
  21428. type: object
  21429. models.WrFtDeliveryGoods:
  21430. properties:
  21431. deliverygoodscode:
  21432. description: 品种代码
  21433. type: string
  21434. deliverygoodsid:
  21435. description: 品种ID
  21436. type: integer
  21437. deliverygoodsname:
  21438. description: 品种名称
  21439. type: string
  21440. wdlst:
  21441. description: 商品列表
  21442. items:
  21443. $ref: '#/definitions/models.WrFtWrstandard'
  21444. type: array
  21445. type: object
  21446. models.WrFtWrstandard:
  21447. properties:
  21448. enumdicname:
  21449. description: 单位名称
  21450. type: string
  21451. minivalue:
  21452. description: 最小变动值
  21453. type: integer
  21454. wrstandardcode:
  21455. description: 现货商品代码
  21456. type: string
  21457. wrstandardid:
  21458. description: 现货商品ID
  21459. type: integer
  21460. wrstandardname:
  21461. description: 商品名称
  21462. type: string
  21463. type: object
  21464. models.WrGoodsInfo:
  21465. properties:
  21466. haswr:
  21467. description: 0:仓单预售 1:仓单贸易
  21468. type: integer
  21469. lstitem:
  21470. description: 商品信息项
  21471. items:
  21472. $ref: '#/definitions/models.WrTypeItem'
  21473. type: array
  21474. lststep:
  21475. description: 履约规则
  21476. items:
  21477. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  21478. type: array
  21479. marketid:
  21480. description: 市场id
  21481. type: integer
  21482. type: object
  21483. models.WrGoodsPerformanceStep:
  21484. properties:
  21485. autoid:
  21486. description: AutoID
  21487. type: integer
  21488. isauto:
  21489. description: 是否自动 - 0:不自动 1:自动
  21490. type: integer
  21491. remark:
  21492. description: 备注
  21493. type: string
  21494. stepdate:
  21495. description: 天数信息(T+N)
  21496. type: string
  21497. stepdays:
  21498. description: 距离上一步天数
  21499. type: integer
  21500. stepindex:
  21501. description: 步骤序号
  21502. type: integer
  21503. stepinfo:
  21504. description: 步骤信息(步骤名称+步骤值)
  21505. type: string
  21506. steptypeid:
  21507. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  21508. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  21509. type: integer
  21510. steptypename:
  21511. description: 步骤名称
  21512. type: string
  21513. stepvalue:
  21514. description: 步骤值
  21515. type: number
  21516. templateid:
  21517. description: 履约计划模板ID
  21518. type: integer
  21519. type: object
  21520. models.WrHoldLB:
  21521. properties:
  21522. accountid:
  21523. description: 持有人帐户ID
  21524. type: integer
  21525. bannerpicurl:
  21526. description: Banner图
  21527. type: string
  21528. createtime:
  21529. description: 创建时间(过户时间)
  21530. type: string
  21531. deliverygoodscode:
  21532. description: 品种代码
  21533. type: string
  21534. deliverygoodsid:
  21535. description: 品种ID
  21536. type: integer
  21537. deliverygoodsname:
  21538. description: 品种名称
  21539. type: string
  21540. enableqty:
  21541. description: 可用数量
  21542. type: number
  21543. enumdicname:
  21544. description: 单位名称
  21545. type: string
  21546. freezerqty:
  21547. description: 冻结数量
  21548. type: number
  21549. ladingbillid:
  21550. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  21551. type: string
  21552. minivalue:
  21553. description: 现货商品最小变动值
  21554. type: integer
  21555. optioncompare:
  21556. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21557. type: string
  21558. parentsubnum:
  21559. description: 拆分父子单号
  21560. type: integer
  21561. pledgeqty:
  21562. description: 质押数量
  21563. type: number
  21564. qty:
  21565. description: 数量
  21566. type: number
  21567. spotgoodsprice:
  21568. description: 参考价(THJ)
  21569. type: number
  21570. subnum:
  21571. description: 提单子单号
  21572. type: integer
  21573. thumurls:
  21574. description: 缩略图
  21575. type: string
  21576. tradedate:
  21577. description: 交易日(yyyyMMdd)
  21578. type: string
  21579. userid:
  21580. description: 持有人ID
  21581. type: integer
  21582. warehouseid:
  21583. description: 仓库ID
  21584. type: integer
  21585. warehousename:
  21586. description: 仓库名称
  21587. type: string
  21588. wrfactortypeid:
  21589. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21590. type: string
  21591. wrfactortypename:
  21592. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21593. type: string
  21594. wrholdeno:
  21595. description: 仓单编号
  21596. type: string
  21597. wrid:
  21598. description: 仓单变更ID
  21599. type: string
  21600. wrstandardcode:
  21601. description: 现货商品代码
  21602. type: string
  21603. wrstandardid:
  21604. description: 现货商品ID
  21605. type: integer
  21606. wrstandardname:
  21607. description: 商品名称
  21608. type: string
  21609. wrtypename:
  21610. description: 商品
  21611. type: string
  21612. type: object
  21613. models.WrMarketTradeConfig:
  21614. properties:
  21615. basisdownratio:
  21616. description: 浮动价基差下限比例(仓单贸易)
  21617. type: number
  21618. basisupratio:
  21619. description: 浮动价基差上限比例(仓单贸易)
  21620. type: number
  21621. buychargealgorithm:
  21622. description: 买方手续费收取方式 1:比率 2:固定
  21623. type: integer
  21624. buychargealgorithm2:
  21625. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  21626. type: integer
  21627. buychargealgorithmvalue:
  21628. description: 买方手续费设置值(交易所部分)
  21629. type: number
  21630. buychargealgorithmvalue2:
  21631. description: 买方手续费设置值(会员部分)
  21632. type: number
  21633. buychargealgorithmvalue3:
  21634. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  21635. type: number
  21636. buychargealgorithmvalue4:
  21637. description: 回购买方手续费设置值(会员部分) --77:现货商城
  21638. type: number
  21639. buyfirstmarginalgorithm:
  21640. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  21641. type: integer
  21642. buyfirstmarginvalue:
  21643. description: 买方出价保证金设置值 - [竞拍]
  21644. type: number
  21645. buymarginalgorithm:
  21646. description: 买方保证金方式 - 1:比率 2:固定
  21647. type: integer
  21648. buymarginvalue:
  21649. description: 买方保证金设置值
  21650. type: number
  21651. buyreleaseratio:
  21652. description: 买方释放比率[2:分步履约]
  21653. type: number
  21654. executemode:
  21655. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  21656. type: integer
  21657. executeside:
  21658. description: 执行方[2:分步履约] - 1:买方 2:卖方
  21659. type: integer
  21660. failedchargealgorithm:
  21661. description: 流拍手续费收取方式 1:比率 2:固定
  21662. type: integer
  21663. failedchargevalue:
  21664. description: 流拍手续费设置值
  21665. type: number
  21666. failedchargevalue2:
  21667. description: 流拍卖方手续费设置值
  21668. type: number
  21669. holddays:
  21670. description: 合同期限[2:分步履约]
  21671. type: integer
  21672. listingmode:
  21673. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  21674. type: integer
  21675. marketid:
  21676. description: 市场ID-仓单贸易、竞拍、预售
  21677. type: integer
  21678. minqty:
  21679. description: 最小执行量[2:分步履约]
  21680. type: number
  21681. modifierid:
  21682. description: 修改人
  21683. type: integer
  21684. nowrquotaflag:
  21685. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  21686. type: integer
  21687. performancetempid:
  21688. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21689. 立即执行(-1)
  21690. type: integer
  21691. performancetempid2:
  21692. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21693. 立即执行
  21694. type: integer
  21695. performancetempid2s:
  21696. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21697. - 履约方式: 立即执行
  21698. type: string
  21699. performancetempids:
  21700. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21701. - 履约方式: 立即执行(-1)
  21702. type: string
  21703. performanceway:
  21704. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  21705. type: integer
  21706. sellchargealgorithm:
  21707. description: 卖方手续费收取方式 1:比率 2:固定
  21708. type: integer
  21709. sellchargealgorithm2:
  21710. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  21711. type: integer
  21712. sellchargealgorithmvalue:
  21713. description: 卖方手续费设置值(交易所部分)
  21714. type: number
  21715. sellchargealgorithmvalue2:
  21716. description: 卖方手续费设置值(会员部分)
  21717. type: number
  21718. sellchargealgorithmvalue3:
  21719. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  21720. type: number
  21721. sellchargealgorithmvalue4:
  21722. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  21723. type: number
  21724. sellmarginalgorithm:
  21725. description: 卖方保证金方式 - 1:比率 2:固定
  21726. type: integer
  21727. sellmarginvalue:
  21728. description: 卖方保证金设置值
  21729. type: number
  21730. sellmarginvalue2:
  21731. description: 卖方保证金设置值(无仓单)
  21732. type: number
  21733. sellreleaseratio:
  21734. description: 卖方释放比率[2:分步履约]
  21735. type: number
  21736. updatetime:
  21737. description: 更新时间
  21738. type: string
  21739. type: object
  21740. models.WrOrderDetail:
  21741. properties:
  21742. accountid:
  21743. description: 交易账号(资金账号)
  21744. type: integer
  21745. allfriendsflag:
  21746. description: 是否全好友可见 - 0:否 1:是
  21747. type: integer
  21748. amount:
  21749. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  21750. type: number
  21751. bannerpicurl:
  21752. description: Banner图
  21753. type: string
  21754. begindate:
  21755. description: 开始交易日(yyyymmdd)
  21756. type: string
  21757. buyorsell:
  21758. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21759. type: integer
  21760. canbargain:
  21761. description: 是否可议价 - 0:不可 1:可
  21762. type: integer
  21763. cancelqty:
  21764. description: 撤销数量
  21765. type: number
  21766. canpart:
  21767. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  21768. type: integer
  21769. delistminqty:
  21770. description: 起摘数量
  21771. type: integer
  21772. deliverygoodscode:
  21773. description: 品种代码
  21774. type: string
  21775. deliverygoodsid:
  21776. description: 品种ID
  21777. type: integer
  21778. deliverygoodsname:
  21779. description: 品种名称
  21780. type: string
  21781. deliverymonth:
  21782. description: 交收月
  21783. type: string
  21784. enddate:
  21785. description: 结束交易日(yyyymmdd)
  21786. type: string
  21787. enumdicname:
  21788. description: 单位名称
  21789. type: string
  21790. fixedprice:
  21791. description: 固定价格 - [挂牌]
  21792. type: number
  21793. freezecharge:
  21794. description: 冻结手续费
  21795. type: number
  21796. freezemargin:
  21797. description: 冻结保证金(保证金)
  21798. type: number
  21799. futupricemove:
  21800. description: 期货升贴水
  21801. type: number
  21802. futushow:
  21803. description: 期货合约/升贴水
  21804. type: string
  21805. goodscode:
  21806. description: 期货合约
  21807. type: string
  21808. goodsid:
  21809. description: 期货商品id
  21810. type: integer
  21811. goodsname:
  21812. description: 商品名称
  21813. type: string
  21814. haswr:
  21815. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21816. type: integer
  21817. isspecified:
  21818. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  21819. type: integer
  21820. ladingbillid:
  21821. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  21822. type: string
  21823. marginvalue:
  21824. description: 保证金设置值(履约保证金)
  21825. type: number
  21826. marketid:
  21827. description: 市场ID
  21828. type: integer
  21829. matchusername:
  21830. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  21831. type: string
  21832. minivalue:
  21833. description: 现货商品最小变动值
  21834. type: integer
  21835. optioncompare:
  21836. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21837. type: string
  21838. orderqty:
  21839. description: 委托数量
  21840. type: number
  21841. ordertime:
  21842. description: 委托时间(挂牌时间)
  21843. type: string
  21844. performancetemplateid:
  21845. description: 履约模板id
  21846. type: integer
  21847. pricemove:
  21848. description: 升贴水(浮动价时填写) - [挂牌]
  21849. type: number
  21850. taname:
  21851. description: 交易用户名称(资金账号名称)
  21852. type: string
  21853. thumurls:
  21854. description: 缩略图
  21855. type: string
  21856. tradedate:
  21857. description: 交易日(yyyyMMdd)
  21858. type: string
  21859. tradeprice:
  21860. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  21861. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  21862. type: number
  21863. tradeqty:
  21864. description: 成交数量
  21865. type: number
  21866. unitid:
  21867. description: 现货商品单位ID
  21868. type: integer
  21869. userid:
  21870. description: 用户ID
  21871. type: integer
  21872. validtime:
  21873. description: 挂牌有效期
  21874. type: string
  21875. validtype:
  21876. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  21877. type: integer
  21878. warehouseid:
  21879. description: 仓库ID
  21880. type: integer
  21881. warehousename:
  21882. description: 仓库名称
  21883. type: string
  21884. wrfactortypeid:
  21885. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21886. type: string
  21887. wrfactortypename:
  21888. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21889. type: string
  21890. wrpricetype:
  21891. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  21892. type: integer
  21893. wrstandardcode:
  21894. description: 现货商品代码
  21895. type: string
  21896. wrstandardid:
  21897. description: 现货商品ID
  21898. type: integer
  21899. wrstandardname:
  21900. description: 商品名称
  21901. type: string
  21902. wrtradeorderid:
  21903. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21904. type: string
  21905. wrtradeorderstatus:
  21906. 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:撤单解冻贷款失败
  21907. type: integer
  21908. wrtradetype:
  21909. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21910. type: integer
  21911. wrtypename:
  21912. description: 商品
  21913. type: string
  21914. type: object
  21915. models.WrOrderQuote:
  21916. properties:
  21917. bannerpicurl:
  21918. description: Banner图
  21919. type: string
  21920. buyprice:
  21921. description: 买价
  21922. type: number
  21923. buypricemove:
  21924. description: 买升贴水(基差)
  21925. type: number
  21926. buyqty:
  21927. description: 买量
  21928. type: number
  21929. deliverygoodscode:
  21930. description: 品种代码
  21931. type: string
  21932. deliverygoodsid:
  21933. description: 品种id
  21934. type: integer
  21935. deliverygoodsname:
  21936. description: 品种名称
  21937. type: string
  21938. deliverymonth:
  21939. description: 交收月
  21940. type: string
  21941. enumdicname:
  21942. description: 单位名称
  21943. type: string
  21944. goodscode:
  21945. description: 商品合约(浮动价列表才有)
  21946. type: string
  21947. goodsid:
  21948. description: 商品id(浮动价列表才有)
  21949. type: integer
  21950. minivalue:
  21951. description: 现货商品最小变动值
  21952. type: integer
  21953. pictureurls:
  21954. description: 详情图片(逗号分隔)
  21955. type: string
  21956. sellprice:
  21957. description: 卖价
  21958. type: number
  21959. sellpricemove:
  21960. description: 卖升贴水(基差)
  21961. type: number
  21962. sellqty:
  21963. description: 卖量
  21964. type: number
  21965. spotgoodsprice:
  21966. description: 参考价(THJ)
  21967. type: number
  21968. thumurls:
  21969. description: 缩略图片(1:1)(逗号分隔)
  21970. type: string
  21971. warehousecode:
  21972. description: 仓库代码
  21973. type: string
  21974. warehouseid:
  21975. description: 仓库id
  21976. type: integer
  21977. warehousename:
  21978. description: 仓库名称
  21979. type: string
  21980. wrfactortypeid:
  21981. description: 仓单要素id
  21982. type: string
  21983. wrfactortypename:
  21984. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21985. type: string
  21986. wrgoodsname:
  21987. description: 商品(商品名称+仓库要素名称 拼接)
  21988. type: string
  21989. wrstandardcode:
  21990. description: 商品代码
  21991. type: string
  21992. wrstandardid:
  21993. description: 商品id
  21994. type: integer
  21995. wrstandardname:
  21996. description: 商品名称
  21997. type: string
  21998. type: object
  21999. models.WrOrderQuoteDetail:
  22000. properties:
  22001. buyorsell:
  22002. description: 买卖 - 0:买 1:卖
  22003. type: integer
  22004. delistminqty:
  22005. description: 起摘数量
  22006. type: number
  22007. deliverymonth:
  22008. description: 交收月
  22009. type: string
  22010. enumdicname:
  22011. description: 单位名称
  22012. type: string
  22013. fixedprice:
  22014. description: 买(卖)价
  22015. type: number
  22016. marketid:
  22017. description: 市场id
  22018. type: integer
  22019. minivalue:
  22020. description: 现货商品最小变动值
  22021. type: integer
  22022. orderqty:
  22023. description: 买(卖)量(=委托量-成交量)
  22024. type: number
  22025. ordertime:
  22026. description: 委托时间
  22027. type: string
  22028. pricemove:
  22029. description: 买(卖)升贴水- 基差
  22030. type: number
  22031. userid:
  22032. description: 购买方(销售方)用户ID
  22033. type: integer
  22034. username:
  22035. description: 购买方(销售方)
  22036. type: string
  22037. wrtradeorderid:
  22038. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22039. type: string
  22040. type: object
  22041. models.WrOutInApply:
  22042. properties:
  22043. address:
  22044. description: 详细地址
  22045. type: string
  22046. applyid:
  22047. description: 申请单id
  22048. type: string
  22049. applystatus:
  22050. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  22051. 8:已撤销
  22052. type: integer
  22053. applytime:
  22054. description: 申请时间
  22055. type: string
  22056. applytype:
  22057. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  22058. type: integer
  22059. appointmentmodel:
  22060. description: 预约方式 - 1:物流 2:自送 3:自提
  22061. type: integer
  22062. appointmentmodeldisplay:
  22063. description: 预约方式(显示枚举)
  22064. type: string
  22065. appointmentremark:
  22066. description: 申请备注
  22067. type: string
  22068. bannerpicurl:
  22069. description: Banner图
  22070. type: string
  22071. begindate:
  22072. description: 开始交易日(yyyymmdd)
  22073. type: string
  22074. contactname:
  22075. description: 联系人
  22076. type: string
  22077. contactnum:
  22078. description: 联系方式
  22079. type: string
  22080. deliverygoodscode:
  22081. description: 品种代码
  22082. type: string
  22083. deliverygoodsid:
  22084. description: 品种ID
  22085. type: integer
  22086. deliverygoodsname:
  22087. description: 品种名称
  22088. type: string
  22089. enddate:
  22090. description: 结束交易日(yyyymmdd)
  22091. type: string
  22092. enumdicname:
  22093. description: 单位名称
  22094. type: string
  22095. expresscompany:
  22096. description: 物流公司
  22097. type: string
  22098. expressnum:
  22099. description: 物流单号
  22100. type: string
  22101. minivalue:
  22102. description: 现货商品最小变动值
  22103. type: integer
  22104. optioncompare:
  22105. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22106. type: string
  22107. qty:
  22108. description: 数量
  22109. type: integer
  22110. userid:
  22111. description: 用户id
  22112. type: integer
  22113. warehouseid:
  22114. description: 仓库ID
  22115. type: integer
  22116. warehousename:
  22117. description: 仓库名称
  22118. type: string
  22119. wrfactortypeid:
  22120. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22121. type: string
  22122. wrfactortypename:
  22123. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22124. type: string
  22125. wrstandardcode:
  22126. description: 现货商品代码
  22127. type: string
  22128. wrstandardid:
  22129. description: 现货商品ID
  22130. type: integer
  22131. wrstandardname:
  22132. description: 商品名称
  22133. type: string
  22134. wrtypename:
  22135. description: 商品
  22136. type: string
  22137. type: object
  22138. models.WrPerformancePlan:
  22139. properties:
  22140. activatemonth:
  22141. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  22142. type: string
  22143. amount:
  22144. description: 履约金额(总金额)
  22145. type: number
  22146. begindate:
  22147. description: 开始交易日(yyyymmdd)
  22148. type: string
  22149. buyaccountid:
  22150. description: 买方账号
  22151. type: integer
  22152. buyerfreezeamount:
  22153. description: 履约冻结(买履约)
  22154. type: number
  22155. buyerfreezeamountremain:
  22156. description: 履约冻结剩余(买履约)
  22157. type: number
  22158. buyorsell:
  22159. description: 买卖方向 0-买 1-卖
  22160. type: integer
  22161. buypaidamount:
  22162. description: 买方已冻/已扣金额 (已付金额)
  22163. type: number
  22164. buyusername:
  22165. description: 买方名字
  22166. type: string
  22167. contractid:
  22168. description: 合同ID
  22169. type: integer
  22170. createtime:
  22171. description: 创建时间
  22172. type: string
  22173. creatorid:
  22174. description: 创建人
  22175. type: integer
  22176. curstepdeadline:
  22177. description: 当前步骤到期时间
  22178. type: string
  22179. curstepid:
  22180. description: 当前步骤ID
  22181. type: string
  22182. curstepname:
  22183. description: 当前步骤名称
  22184. type: string
  22185. deliverygoodscode:
  22186. description: 品种代码
  22187. type: string
  22188. deliverygoodsid:
  22189. description: 品种ID
  22190. type: integer
  22191. deliverygoodsname:
  22192. description: 品种名称
  22193. type: string
  22194. enddate:
  22195. description: 结束交易日(yyyymmdd)
  22196. type: string
  22197. enumdicname:
  22198. description: 单位名称
  22199. type: string
  22200. expressfee:
  22201. description: 运费
  22202. type: number
  22203. expressfeeconfirmed:
  22204. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  22205. type: integer
  22206. hasovershort:
  22207. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  22208. type: integer
  22209. haswr:
  22210. description: 类型 0-仓单预售 1-仓单贸易
  22211. type: integer
  22212. marketid:
  22213. description: 市场ID
  22214. type: integer
  22215. middleaccountid:
  22216. description: 中间商资金账号ID
  22217. type: integer
  22218. middleuserid:
  22219. description: 中间商用户ID
  22220. type: integer
  22221. minivalue:
  22222. description: 现货商品最小变动值
  22223. type: integer
  22224. optioncompare:
  22225. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22226. type: string
  22227. overshortamount:
  22228. description: 溢短金额
  22229. type: number
  22230. overshortqty:
  22231. description: 溢短数量
  22232. type: number
  22233. paymenttype:
  22234. description: 付款方式 - 1:冻结 2:扣款
  22235. type: integer
  22236. performanceplanid:
  22237. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  22238. type: string
  22239. performancestatus:
  22240. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  22241. 9:超时待处理 10:超时关闭
  22242. type: integer
  22243. performancetype:
  22244. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  22245. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  22246. type: integer
  22247. qty:
  22248. description: 履约数量
  22249. type: number
  22250. relatedorderid:
  22251. description: 关联单号(履约类型的关联单号)
  22252. type: string
  22253. remark:
  22254. description: 备注
  22255. type: string
  22256. sellaccountid:
  22257. description: 卖方账号
  22258. type: integer
  22259. sellerfreezeamount:
  22260. description: 履约冻结(卖履约)
  22261. type: number
  22262. sellerfreezeamountremain:
  22263. description: 履约冻结剩余(卖履约)
  22264. type: number
  22265. sellreceivedamount:
  22266. description: 卖方已收金额
  22267. type: number
  22268. sellusername:
  22269. description: 卖方名字
  22270. type: string
  22271. shipremark:
  22272. description: 发货备注[物流单号]
  22273. type: string
  22274. starttime:
  22275. description: 开始时间
  22276. type: string
  22277. steptypeid:
  22278. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22279. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22280. type: integer
  22281. typename:
  22282. description: 履约类型 名称
  22283. type: string
  22284. unpaidamount:
  22285. description: 剩余款(待支付金额)
  22286. type: number
  22287. userid:
  22288. description: 用户id
  22289. type: integer
  22290. warehouseid:
  22291. description: 仓库ID
  22292. type: integer
  22293. warehousename:
  22294. description: 仓库名称
  22295. type: string
  22296. wrfactortypeid:
  22297. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22298. type: string
  22299. wrfactortypename:
  22300. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22301. type: string
  22302. wrstandardcode:
  22303. description: 现货商品代码
  22304. type: string
  22305. wrstandardid:
  22306. description: 现货商品ID
  22307. type: integer
  22308. wrstandardname:
  22309. description: 商品名称
  22310. type: string
  22311. wrtransferuserid:
  22312. description: 仓单受让用户
  22313. type: integer
  22314. wrtypename:
  22315. description: 商品
  22316. type: string
  22317. required:
  22318. - userid
  22319. type: object
  22320. models.WrPerformancePlanStep:
  22321. properties:
  22322. delaydays:
  22323. description: 延期申请天数
  22324. type: integer
  22325. deliverygoodscode:
  22326. description: 品种代码
  22327. type: string
  22328. deliverygoodsid:
  22329. description: 品种ID
  22330. type: integer
  22331. deliverygoodsname:
  22332. description: 品种名称
  22333. type: string
  22334. endtime:
  22335. description: 结束日期
  22336. type: string
  22337. enumdicname:
  22338. description: 单位名称
  22339. type: string
  22340. executeside:
  22341. description: 步骤执行方 - 1:买方 2:卖方
  22342. type: integer
  22343. handlestatus:
  22344. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  22345. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  22346. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  22347. type: integer
  22348. isauto:
  22349. description: 是否自动 - 0:不自动 1:自动
  22350. type: integer
  22351. islastreceivestep:
  22352. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  22353. type: integer
  22354. minivalue:
  22355. description: 现货商品最小变动值
  22356. type: integer
  22357. optioncompare:
  22358. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22359. type: string
  22360. overdays:
  22361. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  22362. type: integer
  22363. performancestepid:
  22364. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  22365. type: string
  22366. planid:
  22367. description: 所属履约计划ID
  22368. type: string
  22369. realamount:
  22370. description: 实际完成金额
  22371. type: number
  22372. relatedorderid:
  22373. description: 关联单号
  22374. type: string
  22375. remaindays:
  22376. description: 剩余天数
  22377. type: integer
  22378. remark:
  22379. description: 错误备注
  22380. type: string
  22381. starttime:
  22382. description: 开始日期
  22383. type: string
  22384. stepamount:
  22385. description: 步骤金额
  22386. type: number
  22387. stepdays:
  22388. description: 距离上一步天数(分钟)
  22389. type: integer
  22390. stepindex:
  22391. description: 步骤序号
  22392. type: integer
  22393. steplanchtype:
  22394. description: 步骤启动类型 - 1:系统自动 2:手动
  22395. type: integer
  22396. stepremark:
  22397. description: 步骤备注
  22398. type: string
  22399. stepstatus:
  22400. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  22401. type: integer
  22402. steptypeid:
  22403. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22404. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22405. type: integer
  22406. steptypename:
  22407. description: 步骤名称
  22408. type: string
  22409. stepvalue:
  22410. description: 步骤值
  22411. type: number
  22412. warehouseid:
  22413. description: 仓库ID
  22414. type: integer
  22415. warehousename:
  22416. description: 仓库名称
  22417. type: string
  22418. wrfactortypeid:
  22419. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22420. type: string
  22421. wrfactortypename:
  22422. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22423. type: string
  22424. wrstandardcode:
  22425. description: 现货商品代码
  22426. type: string
  22427. wrstandardid:
  22428. description: 现货商品ID
  22429. type: integer
  22430. wrstandardname:
  22431. description: 商品名称
  22432. type: string
  22433. wrtypename:
  22434. description: 商品
  22435. type: string
  22436. type: object
  22437. models.WrPerformanceStepType:
  22438. properties:
  22439. canauto:
  22440. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  22441. type: integer
  22442. steptypeid:
  22443. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  22444. type: integer
  22445. steptypename:
  22446. description: 步骤类型名称
  22447. type: string
  22448. type: object
  22449. models.WrPerformanceTemplateEx:
  22450. properties:
  22451. autoid:
  22452. description: AutoID 模板id
  22453. type: integer
  22454. createtime:
  22455. description: 创建时间
  22456. type: string
  22457. creatorid:
  22458. description: 创建人
  22459. type: integer
  22460. lstStep:
  22461. description: 步骤信息列表
  22462. items:
  22463. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  22464. type: array
  22465. paymenttype:
  22466. description: 支付方式 - 1:冻结 2:扣款
  22467. type: integer
  22468. takemode:
  22469. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  22470. type: integer
  22471. templatename:
  22472. description: 模板名称
  22473. type: string
  22474. templatetype:
  22475. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  22476. (无仓单) 5:挂牌期权 6:竞拍-降价式
  22477. type: integer
  22478. userid:
  22479. description: 所属用户
  22480. type: integer
  22481. type: object
  22482. models.WrPosition:
  22483. properties:
  22484. accountid:
  22485. description: 帐户ID
  22486. type: integer
  22487. buyexcuteqty:
  22488. description: 采购履约中数量
  22489. type: number
  22490. creditcurqty:
  22491. description: 授信当前数量(预售仓单:预售当前量)
  22492. type: number
  22493. creditenableqty:
  22494. description: '授信可用数量(预售仓单: 可用数量)'
  22495. type: number
  22496. creditfreezeqty:
  22497. description: '授信冻结数量(预售仓单: 当前数量)'
  22498. type: number
  22499. credittotalqty:
  22500. description: 授信总数量(预售仓单:预售总量)
  22501. type: number
  22502. credittradeqty:
  22503. description: 授信成交数量(预售仓单:成交总量)
  22504. type: number
  22505. deliverygoodscode:
  22506. description: 品种代码
  22507. type: string
  22508. deliverygoodsid:
  22509. description: 品种ID
  22510. type: integer
  22511. deliverygoodsname:
  22512. description: 品种名称
  22513. type: string
  22514. enalbeqty:
  22515. description: 可用数量
  22516. type: number
  22517. enumdicname:
  22518. description: 单位名称
  22519. type: string
  22520. freezeqty:
  22521. description: 总冻结数量
  22522. type: number
  22523. haswr:
  22524. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22525. type: integer
  22526. minivalue:
  22527. description: 现货商品最小变动值
  22528. type: integer
  22529. modifytime:
  22530. description: 修改时间(过户时间)
  22531. type: string
  22532. optioncompare:
  22533. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22534. type: string
  22535. pledgeqty:
  22536. description: 质押数量
  22537. type: number
  22538. querytype:
  22539. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  22540. type: integer
  22541. sellexcuteqty:
  22542. description: 销售履约中数量
  22543. type: number
  22544. totalqty:
  22545. description: 总数量(库存数量)
  22546. type: number
  22547. warehouseid:
  22548. description: 仓库ID
  22549. type: integer
  22550. warehousename:
  22551. description: 仓库名称
  22552. type: string
  22553. wrfactortypeid:
  22554. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22555. type: string
  22556. wrfactortypename:
  22557. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22558. type: string
  22559. wrpositionid:
  22560. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  22561. type: string
  22562. wrpositionno:
  22563. description: 仓单编号
  22564. type: string
  22565. wrstandardcode:
  22566. description: 现货商品代码
  22567. type: string
  22568. wrstandardid:
  22569. description: 现货商品ID
  22570. type: integer
  22571. wrstandardname:
  22572. description: 商品名称
  22573. type: string
  22574. wrtypename:
  22575. description: 商品
  22576. type: string
  22577. wruserid:
  22578. description: 持有人ID
  22579. type: integer
  22580. type: object
  22581. models.WrPreSaleInfo:
  22582. properties:
  22583. bannerpicurl:
  22584. description: Banner图
  22585. type: string
  22586. baseqty:
  22587. description: 中签基数
  22588. type: number
  22589. createtime:
  22590. description: 创建时间
  22591. type: string
  22592. deliverygoodsid:
  22593. description: 现货品种ID
  22594. type: integer
  22595. enddate:
  22596. description: 预售结束日期
  22597. type: string
  22598. enumdicname:
  22599. description: 单位名称
  22600. type: string
  22601. lotteryflag:
  22602. description: 摇号标识 - 0:未摇号 1:已摇号
  22603. type: integer
  22604. lotteryqty:
  22605. description: 摇号总量
  22606. type: number
  22607. luckyqty:
  22608. description: 已中签量
  22609. type: number
  22610. marketid:
  22611. description: 市场ID
  22612. type: integer
  22613. maxbuyqty:
  22614. description: 单人最大申购量
  22615. type: number
  22616. maxluckyqty:
  22617. description: 单人最大中签量
  22618. type: number
  22619. pictureurls:
  22620. description: 详情图片(逗号分隔)
  22621. type: string
  22622. placeqty:
  22623. description: 已配售量
  22624. type: number
  22625. presaleapplyid:
  22626. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  22627. example: "0"
  22628. type: string
  22629. presaleqty:
  22630. description: 预售总量
  22631. type: number
  22632. presalestatus:
  22633. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  22634. type: integer
  22635. sellaccountid:
  22636. description: 发行方资金账户ID
  22637. type: integer
  22638. selluserid:
  22639. description: 发行方用户ID
  22640. type: integer
  22641. sellwrtradeorderid:
  22642. description: 发行方卖委托单ID
  22643. type: string
  22644. startdate:
  22645. description: 预售开始日期
  22646. type: string
  22647. takestartdate:
  22648. description: 提货开始日期
  22649. type: string
  22650. thumurls:
  22651. description: 缩略图片(1:1)(逗号分隔)
  22652. type: string
  22653. tradedate:
  22654. description: 交易日
  22655. type: string
  22656. unitid:
  22657. description: 单位ID
  22658. type: integer
  22659. unitprice:
  22660. description: 商品单价
  22661. type: number
  22662. username:
  22663. description: 发行方用户名称
  22664. type: string
  22665. warehousecode:
  22666. description: 仓库代码(仓库简称)
  22667. type: string
  22668. warehouseid:
  22669. description: 仓库ID
  22670. type: integer
  22671. warehousename:
  22672. description: 仓库名称
  22673. type: string
  22674. wrfactortypeid:
  22675. description: 仓单要素类型ID - 根据现货商品\仓库生成
  22676. example: "0"
  22677. type: string
  22678. wrstandardid:
  22679. description: 现货商品ID
  22680. type: integer
  22681. wrstandardname:
  22682. description: 现货商品名称
  22683. type: string
  22684. type: object
  22685. models.WrQuoteOrderMyq:
  22686. properties:
  22687. buyorsell:
  22688. description: 买卖 - 0:买 1:卖
  22689. type: integer
  22690. canbargain:
  22691. description: 是否可议价 - 0:不可 1:可
  22692. type: integer
  22693. canpart:
  22694. description: 是否允许部份摘牌 - 0:不允许 1:允许
  22695. type: integer
  22696. delistminqty:
  22697. description: 起摘数量
  22698. type: number
  22699. deliverygoodscode:
  22700. description: 品种代码
  22701. type: string
  22702. deliverygoodsid:
  22703. description: 品种ID
  22704. type: integer
  22705. deliverygoodsname:
  22706. description: 品种名称
  22707. type: string
  22708. deliverymonth:
  22709. description: 交收月
  22710. type: string
  22711. enumdicname:
  22712. description: 单位名称
  22713. type: string
  22714. fixedprice:
  22715. description: 买(卖)价
  22716. type: number
  22717. goodscode:
  22718. description: 商品合约代码
  22719. type: string
  22720. marginflag:
  22721. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  22722. type: integer
  22723. marginvalue:
  22724. description: 保证金设置值
  22725. type: number
  22726. minivalue:
  22727. description: 现货商品最小变动值
  22728. type: integer
  22729. orderqty:
  22730. description: 买(卖)量(=委托量-成交量)
  22731. type: number
  22732. ordertime:
  22733. description: 委托时间
  22734. type: string
  22735. performancetemplateid:
  22736. description: 履约模板id
  22737. type: integer
  22738. pricemove:
  22739. description: 买(卖)升贴水- 基差
  22740. type: number
  22741. templatename:
  22742. description: 履约模板名称
  22743. type: string
  22744. userid:
  22745. description: 购买方(销售方)用户ID
  22746. type: integer
  22747. username:
  22748. description: 购买方(销售方)
  22749. type: string
  22750. validtime:
  22751. description: 有效期限
  22752. type: string
  22753. validtype:
  22754. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22755. type: integer
  22756. warehousename:
  22757. description: 仓库名称
  22758. type: string
  22759. wrfactortypeid:
  22760. description: 仓单要素id
  22761. type: string
  22762. wrstandardcode:
  22763. description: 现货商品代码
  22764. type: string
  22765. wrstandardid:
  22766. description: 现货商品ID
  22767. type: integer
  22768. wrstandardname:
  22769. description: 商品名称
  22770. type: string
  22771. wrtradeorderid:
  22772. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22773. type: string
  22774. wrtypename:
  22775. description: 商品
  22776. type: string
  22777. type: object
  22778. models.WrReckonSpotGoodsTradeSum:
  22779. properties:
  22780. begindate:
  22781. description: 开始日期(结果含开始日期) yyyymmdd
  22782. type: string
  22783. enddate:
  22784. description: 结束日期(结果含结束日期) yyyymmdd
  22785. type: string
  22786. istoday:
  22787. description: 是否当日
  22788. type: boolean
  22789. marketid:
  22790. description: 市场ID
  22791. type: integer
  22792. price:
  22793. description: 价格 = 日成交金额 / 日成交数量
  22794. type: string
  22795. reckondate:
  22796. description: 日期 格式 yyyymmdd
  22797. type: string
  22798. tradeamount:
  22799. description: 日成交金额(当日单方向成交金额)
  22800. type: number
  22801. tradeqty:
  22802. description: 日成交数量(当日单方向成交数量)
  22803. type: number
  22804. wrstandardid:
  22805. description: 现货商品ID
  22806. type: integer
  22807. type: object
  22808. models.WrScfContract:
  22809. properties:
  22810. borroweruserid:
  22811. description: 借款用户ID
  22812. type: integer
  22813. buybackwrpositionqty:
  22814. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  22815. type: number
  22816. closeinterest:
  22817. description: 已结利息 -> 已结费用
  22818. type: number
  22819. currisklevel:
  22820. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  22821. type: integer
  22822. deadline:
  22823. description: 截止日期(yyyyMMdd) -> 借款到期时间
  22824. type: string
  22825. deliverygoodscode:
  22826. description: 品种代码
  22827. type: string
  22828. deliverygoodsid:
  22829. description: 品种ID
  22830. type: integer
  22831. deliverygoodsname:
  22832. description: 品种名称
  22833. type: string
  22834. enumdicname:
  22835. description: 单位名称
  22836. type: string
  22837. financingdays:
  22838. description: 天数(天)
  22839. type: integer
  22840. initmargin:
  22841. description: 保证金 - [仓单回购]
  22842. type: number
  22843. interestamount:
  22844. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  22845. type: number
  22846. interestdebt:
  22847. description: 利息欠款(记录负数) -> 费用欠款
  22848. type: number
  22849. interestminlen:
  22850. description: 最小起息天数
  22851. type: integer
  22852. interestrate:
  22853. description: 利率
  22854. type: number
  22855. interestratemode:
  22856. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  22857. type: integer
  22858. interestsettlemode:
  22859. description: 结息方式 - 1:按日结息 3:按月结息
  22860. type: integer
  22861. interestsettlevalue:
  22862. description: 结息方式值
  22863. type: integer
  22864. isautoloan:
  22865. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  22866. type: integer
  22867. lastcloseinterestday:
  22868. description: 最近结息日(yyyyMMdd)
  22869. type: string
  22870. lenderamount:
  22871. description: 贷款金额 -> 借款金额
  22872. type: number
  22873. lenderuserid:
  22874. description: 贷款方用户ID -> 融出方用户ID
  22875. type: integer
  22876. lenderusername:
  22877. description: 融出方
  22878. type: string
  22879. marginratio:
  22880. description: 保证金比率质押率 - [仓单质押]
  22881. type: number
  22882. marketid:
  22883. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  22884. type: integer
  22885. minivalue:
  22886. description: 现货商品最小变动值
  22887. type: integer
  22888. optioncompare:
  22889. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22890. type: string
  22891. pricemove:
  22892. description: 估值升贴水值
  22893. type: number
  22894. productdetailid:
  22895. description: 产品组合ID
  22896. type: integer
  22897. productid:
  22898. description: 金融产品ID
  22899. type: integer
  22900. productname:
  22901. description: 产品名称
  22902. type: string
  22903. remainamount:
  22904. description: 合同剩余金额 -> 剩余金额
  22905. type: number
  22906. remainwrpositionqty:
  22907. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  22908. type: number
  22909. remark:
  22910. description: 备注
  22911. type: string
  22912. scfcontractid:
  22913. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  22914. type: string
  22915. scfcontractstatus:
  22916. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  22917. 9:违约结束 10:已注销 11:已关闭 99:未提交
  22918. type: integer
  22919. scfcontracttype:
  22920. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  22921. type: integer
  22922. startinterestday:
  22923. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  22924. type: string
  22925. totalinterest:
  22926. description: 已计利息 -> 已计费用
  22927. type: number
  22928. unpaidinterest:
  22929. description: 未结费用
  22930. type: number
  22931. updatetime:
  22932. description: 更新时间
  22933. type: string
  22934. warehouseid:
  22935. description: 仓库ID
  22936. type: integer
  22937. warehousename:
  22938. description: 仓库名称
  22939. type: string
  22940. wrfactortypeid:
  22941. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22942. type: string
  22943. wrfactortypename:
  22944. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22945. type: string
  22946. wrqty:
  22947. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  22948. type: number
  22949. wrstandardcode:
  22950. description: 现货商品代码
  22951. type: string
  22952. wrstandardid:
  22953. description: 现货商品ID
  22954. type: integer
  22955. wrstandardname:
  22956. description: 商品名称
  22957. type: string
  22958. wrtypename:
  22959. description: 商品
  22960. type: string
  22961. type: object
  22962. models.WrScfContractInterest:
  22963. properties:
  22964. closeinterest:
  22965. description: 已结利息
  22966. type: number
  22967. closeintereststatus:
  22968. description: 结息状态 - 1:未结 2:已结
  22969. type: integer
  22970. closetime:
  22971. description: 结息时间
  22972. type: string
  22973. closetradedate:
  22974. description: 结息交易日
  22975. type: string
  22976. creatorid:
  22977. description: 操作人ID
  22978. type: integer
  22979. dayrate:
  22980. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  22981. type: number
  22982. interest:
  22983. description: 利息
  22984. type: number
  22985. interestamount:
  22986. description: 计息金额
  22987. type: number
  22988. interestday:
  22989. description: 计息日(yyyyMMdd)
  22990. type: string
  22991. scfcontractid:
  22992. description: SCF合同ID
  22993. type: string
  22994. scfcontractinterestid:
  22995. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  22996. type: integer
  22997. updatetime:
  22998. description: 更新时间
  22999. type: string
  23000. type: object
  23001. models.WrSearchUser:
  23002. properties:
  23003. userid:
  23004. description: 用户ID
  23005. type: integer
  23006. username:
  23007. description: 用户名称(已脱敏)
  23008. type: string
  23009. username2:
  23010. description: 用户名称(未脱敏)
  23011. type: string
  23012. usertype:
  23013. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  23014. type: integer
  23015. required:
  23016. - username
  23017. type: object
  23018. models.WrSiteColumnDetail:
  23019. properties:
  23020. author:
  23021. description: 作者
  23022. type: string
  23023. brief:
  23024. description: 简介
  23025. type: string
  23026. context:
  23027. description: 内容
  23028. type: string
  23029. coverimage:
  23030. description: 封面图片
  23031. type: string
  23032. creaedate:
  23033. description: 创建时间
  23034. type: string
  23035. id:
  23036. description: ID(SEQ_SITE_COLUMNDETAIL)
  23037. type: integer
  23038. istop:
  23039. description: 是否置顶 - 0:不置 1:置顶
  23040. type: integer
  23041. publishdate:
  23042. description: 发布日期
  23043. type: string
  23044. title:
  23045. description: 标题
  23046. type: string
  23047. updatedate:
  23048. description: 修改时间
  23049. type: string
  23050. type: object
  23051. models.WrSpecialMatchOrder:
  23052. properties:
  23053. amount:
  23054. description: 金额 = 数量 * 价格
  23055. type: number
  23056. buyorsell:
  23057. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23058. type: integer
  23059. cancelqty:
  23060. description: 撤销数量
  23061. type: number
  23062. deliverygoodscode:
  23063. description: 品种代码
  23064. type: string
  23065. deliverygoodsid:
  23066. description: 品种ID
  23067. type: integer
  23068. deliverygoodsname:
  23069. description: 品种名称
  23070. type: string
  23071. enumdicname:
  23072. description: 单位名称
  23073. type: string
  23074. fixedprice:
  23075. description: 固定价格(价格)
  23076. type: number
  23077. haswr:
  23078. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23079. type: integer
  23080. isspecified:
  23081. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  23082. type: integer
  23083. marketid:
  23084. description: 市场ID
  23085. type: integer
  23086. matchuserid:
  23087. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  23088. type: integer
  23089. matchusername:
  23090. description: 指定方
  23091. type: string
  23092. minivalue:
  23093. description: 现货商品最小变动值
  23094. type: integer
  23095. optioncompare:
  23096. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23097. type: string
  23098. orderqty:
  23099. description: 委托数量
  23100. type: number
  23101. ordertime:
  23102. description: 委托时间
  23103. type: string
  23104. pricemove:
  23105. description: 升贴水(浮动价时填写) - [挂牌]
  23106. type: number
  23107. tradedate:
  23108. description: 交易日(yyyyMMdd)
  23109. type: string
  23110. tradeprice:
  23111. description: 成交价格
  23112. type: number
  23113. tradeqty:
  23114. description: 成交数量
  23115. type: number
  23116. userid:
  23117. description: 用户ID
  23118. type: integer
  23119. username:
  23120. description: 发起方
  23121. type: string
  23122. warehouseid:
  23123. description: 仓库ID
  23124. type: integer
  23125. warehousename:
  23126. description: 仓库名称
  23127. type: string
  23128. wrfactortypeid:
  23129. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23130. type: string
  23131. wrfactortypename:
  23132. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23133. type: string
  23134. wrpricetype:
  23135. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  23136. type: integer
  23137. wrstandardcode:
  23138. description: 现货商品代码
  23139. type: string
  23140. wrstandardid:
  23141. description: 现货商品ID
  23142. type: integer
  23143. wrstandardname:
  23144. description: 商品名称
  23145. type: string
  23146. wrtradeorderid:
  23147. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23148. type: string
  23149. wrtradeorderstatus:
  23150. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  23151. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  23152. type: integer
  23153. wrtradetype:
  23154. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23155. type: integer
  23156. wrtypename:
  23157. description: 商品
  23158. type: string
  23159. type: object
  23160. models.WrSpotGroupTradeSum:
  23161. properties:
  23162. deliverygoodscode:
  23163. description: 现货品种代码
  23164. type: string
  23165. deliverygoodsid:
  23166. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23167. type: integer
  23168. deliverygoodsname:
  23169. description: 现货品种名称
  23170. type: string
  23171. lastavgprice:
  23172. description: 上上个交易日价格(前2天价格)
  23173. type: string
  23174. lastreckondate:
  23175. description: 上上个交易日(前2天交易日)
  23176. type: string
  23177. reckondate:
  23178. description: 上个交易日(前1天交易日)
  23179. type: string
  23180. todayavgprice:
  23181. description: 上个交易日价格(前1天价格)
  23182. type: string
  23183. updown:
  23184. description: 涨跌
  23185. type: string
  23186. updownratio:
  23187. description: 涨幅(已格式化, 直接显示即可)
  23188. type: string
  23189. type: object
  23190. models.WrSpotGroupTradeSumDetail:
  23191. properties:
  23192. deliverygoodsid:
  23193. description: 现货商品id
  23194. type: integer
  23195. price:
  23196. description: 价格
  23197. type: number
  23198. reckondate:
  23199. description: 日期(yyymmdd, 如:20211031)
  23200. type: string
  23201. type: object
  23202. models.WrSpotGroupTradeSumEx:
  23203. properties:
  23204. lst:
  23205. description: 指数列表
  23206. items:
  23207. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  23208. type: array
  23209. prereckondate:
  23210. description: 上上个交易日(yyymmdd)
  23211. type: string
  23212. reckondate:
  23213. description: 上个交易日(yyyymmdd)
  23214. type: string
  23215. type: object
  23216. models.WrStandardFactoryItem:
  23217. properties:
  23218. dgfactoryitemid:
  23219. description: 选择项id
  23220. type: integer
  23221. dgfactoryitemvalue:
  23222. description: 要素项值
  23223. type: string
  23224. warehouseid:
  23225. description: 仓库id
  23226. type: integer
  23227. type: object
  23228. models.WrStandardFactoryItemEx:
  23229. properties:
  23230. dgfactoryitemtypeid:
  23231. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  23232. type: integer
  23233. itemlst:
  23234. description: 要素项列表
  23235. items:
  23236. $ref: '#/definitions/models.WrStandardFactoryItem'
  23237. type: array
  23238. itemtypename:
  23239. description: 要素项类型名称
  23240. type: string
  23241. wrstandardid:
  23242. description: 品类
  23243. type: integer
  23244. type: object
  23245. models.WrTradeDetail:
  23246. properties:
  23247. accountid:
  23248. description: 资金账号
  23249. type: integer
  23250. bannerpicurl:
  23251. description: Banner图
  23252. type: string
  23253. begindate:
  23254. description: 开始交易日(yyyymmdd)
  23255. type: string
  23256. buyorsell:
  23257. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23258. type: integer
  23259. chargevalue:
  23260. description: 手续费
  23261. type: number
  23262. deliverygoodscode:
  23263. description: 品种代码
  23264. type: string
  23265. deliverygoodsid:
  23266. description: 品种ID
  23267. type: integer
  23268. deliverygoodsname:
  23269. description: 品种名称
  23270. type: string
  23271. deliverymonth:
  23272. description: 交收月
  23273. type: string
  23274. enddate:
  23275. description: 结束交易日(yyyymmdd)
  23276. type: string
  23277. enumdicname:
  23278. description: 单位名称
  23279. type: string
  23280. haswr:
  23281. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23282. type: integer
  23283. marketid:
  23284. description: 市场ID
  23285. type: integer
  23286. matchaccountid:
  23287. description: 对手账号
  23288. type: integer
  23289. matchusername:
  23290. description: 对手方
  23291. type: string
  23292. minivalue:
  23293. description: 现货商品最小变动值
  23294. type: integer
  23295. optioncompare:
  23296. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23297. type: string
  23298. thumurls:
  23299. description: 缩略图
  23300. type: string
  23301. tradedate:
  23302. description: 交易日(yyyyMMdd)
  23303. type: string
  23304. tradeprice:
  23305. description: 成交价格
  23306. type: number
  23307. tradeqty:
  23308. description: 成交数量
  23309. type: number
  23310. tradetime:
  23311. description: 成交时间
  23312. type: string
  23313. unitid:
  23314. description: 现货商品单位ID
  23315. type: integer
  23316. userid:
  23317. description: 用户ID
  23318. type: integer
  23319. warehouseid:
  23320. description: 仓库ID
  23321. type: integer
  23322. warehousename:
  23323. description: 仓库名称
  23324. type: string
  23325. wrfactortypeid:
  23326. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23327. type: string
  23328. wrfactortypename:
  23329. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23330. type: string
  23331. wrstandardcode:
  23332. description: 现货商品代码
  23333. type: string
  23334. wrstandardid:
  23335. description: 现货商品ID
  23336. type: integer
  23337. wrstandardname:
  23338. description: 商品名称
  23339. type: string
  23340. wrtradedetailid:
  23341. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23342. type: string
  23343. wrtradetype:
  23344. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23345. type: integer
  23346. wrtypename:
  23347. description: 商品
  23348. type: string
  23349. type: object
  23350. models.WrTradeOrderDetail:
  23351. properties:
  23352. buyorsell:
  23353. description: 买卖方向 0-买 1-卖
  23354. type: integer
  23355. goodsid:
  23356. description: 商品id
  23357. type: integer
  23358. orderid:
  23359. description: 委托单号
  23360. type: string
  23361. orderprice:
  23362. description: 委托价格
  23363. type: number
  23364. orderqty:
  23365. description: 委托数量
  23366. type: integer
  23367. userid:
  23368. description: 用户id
  23369. type: integer
  23370. username:
  23371. description: 用户名称(已脱敏)
  23372. type: string
  23373. type: object
  23374. models.WrTypeItem:
  23375. properties:
  23376. name:
  23377. description: 名称
  23378. type: string
  23379. value:
  23380. description: 值
  23381. type: string
  23382. type: object
  23383. models.WrUserFriend:
  23384. properties:
  23385. friendname:
  23386. description: 朋友名称(已脱敏)
  23387. type: string
  23388. frienduserid:
  23389. description: 朋友id
  23390. type: integer
  23391. isfriend:
  23392. description: 是否好友 0-不是 1-是
  23393. type: integer
  23394. userid:
  23395. description: 用户id
  23396. type: integer
  23397. type: object
  23398. models.WrUserReceiptInfo:
  23399. properties:
  23400. address:
  23401. description: 地址[发票类型:企业]
  23402. type: string
  23403. autoid:
  23404. description: AutoID
  23405. type: integer
  23406. contactinfo:
  23407. description: 联系方式
  23408. type: string
  23409. email:
  23410. description: 收件邮箱
  23411. type: string
  23412. idnum:
  23413. description: 身份证号码[发票类型:个人]
  23414. type: string
  23415. isdefault:
  23416. description: 是否默认地址 - 0:否 1:是
  23417. type: integer
  23418. receiptaccount:
  23419. description: 发票帐号[发票类型:企业]
  23420. type: string
  23421. receiptbank:
  23422. description: 发票开户行[发票类型:企业]
  23423. type: string
  23424. receipttype:
  23425. description: 发票类型 - 1:个人 2:企业
  23426. type: integer
  23427. taxpayerid:
  23428. description: 纳税人识别号
  23429. type: string
  23430. userid:
  23431. description: 用户ID
  23432. type: integer
  23433. username:
  23434. description: 户名(个人姓名或企业名称)
  23435. type: string
  23436. type: object
  23437. models.Wrtradetradequote:
  23438. properties:
  23439. buyaccountid:
  23440. description: 买方账号ID
  23441. type: integer
  23442. buychargevalue:
  23443. description: 买方手续费
  23444. type: number
  23445. buyuserid:
  23446. description: 买方用户ID
  23447. type: integer
  23448. deliverygoodsid:
  23449. description: 现货品种ID
  23450. type: integer
  23451. exchangerate:
  23452. description: 汇率
  23453. type: number
  23454. marketid:
  23455. description: 市场ID
  23456. type: integer
  23457. oritradeamount:
  23458. description: 成交金额[商品币种]
  23459. type: number
  23460. performanceplanid:
  23461. description: 履约计划ID/合同ID
  23462. type: integer
  23463. sellaccountid:
  23464. description: 卖方账号ID
  23465. type: integer
  23466. sellchargevalue:
  23467. description: 卖方手续费
  23468. type: number
  23469. selluserid:
  23470. description: 卖方用户ID
  23471. type: integer
  23472. tradeamount:
  23473. description: 成交金额
  23474. type: number
  23475. tradedate:
  23476. description: 交易日(yyyyMMdd)
  23477. type: string
  23478. tradeprice:
  23479. description: 成交价格
  23480. type: number
  23481. tradeqty:
  23482. description: 成交数量
  23483. type: integer
  23484. tradetime:
  23485. description: 成交时间
  23486. type: string
  23487. wrfactortypeid:
  23488. description: 仓单要素类型ID
  23489. type: integer
  23490. wrstandardid:
  23491. description: 现货商品ID
  23492. type: integer
  23493. wrtradedetailid:
  23494. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23495. type: integer
  23496. type: object
  23497. models.XHBRAND:
  23498. properties:
  23499. brandid:
  23500. description: 品牌id
  23501. type: integer
  23502. brandname:
  23503. description: 品牌名称
  23504. type: string
  23505. isvalid:
  23506. description: 是否有效 0-无效 1-有效
  23507. type: integer
  23508. type: object
  23509. models.XHDeliveryGoods:
  23510. properties:
  23511. areauserid:
  23512. description: 所属机构
  23513. type: integer
  23514. bdlst:
  23515. description: 品牌列表
  23516. items:
  23517. $ref: '#/definitions/models.XHBRAND'
  23518. type: array
  23519. deliverygoodscode:
  23520. description: 现货品种代码
  23521. type: string
  23522. deliverygoodsid:
  23523. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23524. type: integer
  23525. deliverygoodsname:
  23526. description: 现货品种名称
  23527. type: string
  23528. dgstatus:
  23529. description: 品种状态 - 作废 - 0:未激活 1:正常
  23530. type: integer
  23531. filterSubEmpty:
  23532. description: 过滤下级为空的
  23533. type: integer
  23534. isvalid:
  23535. description: 是否有效 - 0:无效 1:有效
  23536. type: integer
  23537. remark:
  23538. description: 备注
  23539. type: string
  23540. unitid:
  23541. description: 单位id(目前看,数据库中是空值)
  23542. type: integer
  23543. wdlst:
  23544. description: 品类(现货商品)列表
  23545. items:
  23546. $ref: '#/definitions/models.XHWrstandard'
  23547. type: array
  23548. type: object
  23549. models.XHMiddleGoods:
  23550. properties:
  23551. GPLST:
  23552. description: 期货品种列表
  23553. items:
  23554. $ref: '#/definitions/models.TBGoodsGroup'
  23555. type: array
  23556. convertratio:
  23557. description: 拆算系数
  23558. type: number
  23559. costratio:
  23560. description: 成本权重
  23561. type: number
  23562. deliverygoodsid:
  23563. description: 现货商品id
  23564. type: integer
  23565. enumdicname:
  23566. description: 单位名称
  23567. type: string
  23568. middlegoodscode:
  23569. description: 套保品种代码
  23570. type: string
  23571. middlegoodsid:
  23572. description: 套保品种id
  23573. type: integer
  23574. middlegoodsname:
  23575. description: 套保品种名称
  23576. type: string
  23577. unitid:
  23578. description: 单位id
  23579. type: integer
  23580. type: object
  23581. models.XHWrstandard:
  23582. properties:
  23583. bannerpicurl:
  23584. description: banner图
  23585. type: string
  23586. deliverygoodsid:
  23587. description: 品种ID
  23588. type: integer
  23589. enumdicname:
  23590. description: 单位名称
  23591. type: string
  23592. mglst:
  23593. description: 套保品列表
  23594. items:
  23595. $ref: '#/definitions/models.XHMiddleGoods'
  23596. type: array
  23597. pictureurls:
  23598. description: 详情图片(逗号分隔)
  23599. type: string
  23600. thumurls:
  23601. description: 缩略图片(1:1)(逗号分隔)
  23602. type: string
  23603. unitid:
  23604. description: 单位id
  23605. type: integer
  23606. vatrate:
  23607. description: 增值税率
  23608. type: number
  23609. wrstandardcode:
  23610. description: 现货商品代码
  23611. type: string
  23612. wrstandardid:
  23613. description: 现货商品ID(SEQ_WRSTANDARD)
  23614. type: integer
  23615. wrstandardname:
  23616. description: 现货商品名称
  23617. type: string
  23618. type: object
  23619. models.XhcpSellBackApplyEx:
  23620. properties:
  23621. applyremark:
  23622. description: 申请备注
  23623. type: string
  23624. expirytype:
  23625. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23626. type: integer
  23627. goodsspec:
  23628. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23629. type: integer
  23630. holeflag:
  23631. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23632. type: integer
  23633. isunopened:
  23634. description: 是否原封 - 1:否 2:是
  23635. type: integer
  23636. mpflag:
  23637. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23638. type: integer
  23639. openflag:
  23640. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23641. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23642. type: integer
  23643. phonenum:
  23644. description: 联系电话
  23645. type: string
  23646. userid:
  23647. description: 所属用户ID
  23648. type: integer
  23649. zpflag:
  23650. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23651. type: integer
  23652. required:
  23653. - userid
  23654. type: object
  23655. models.Xhcpsellbackapply:
  23656. properties:
  23657. applyid:
  23658. description: 申请人
  23659. type: integer
  23660. applyremark:
  23661. description: 申请备注
  23662. type: string
  23663. applysrc:
  23664. description: 申请来源 - 1:管理端 2:终端
  23665. type: integer
  23666. applystatus:
  23667. description: 申请状态 - 1:待确认 2:已处理
  23668. type: integer
  23669. applytime:
  23670. description: 申请时间
  23671. type: string
  23672. auditremark:
  23673. description: 审核备注
  23674. type: string
  23675. auditsrc:
  23676. description: 审核来源 - 1:管理端 2:终端
  23677. type: integer
  23678. expirytype:
  23679. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23680. type: integer
  23681. goodsspec:
  23682. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23683. type: integer
  23684. holeflag:
  23685. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23686. type: integer
  23687. isunopened:
  23688. description: 是否原封 - 1:否 2:是
  23689. type: integer
  23690. mpflag:
  23691. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23692. type: integer
  23693. openflag:
  23694. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23695. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23696. type: integer
  23697. phonenum:
  23698. description: 联系电话
  23699. type: string
  23700. sellbackapplyid:
  23701. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  23702. type: string
  23703. userid:
  23704. description: 所属用户ID
  23705. type: integer
  23706. zpflag:
  23707. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23708. type: integer
  23709. required:
  23710. - userid
  23711. type: object
  23712. order.QueryHisTradeDetailRsp:
  23713. properties:
  23714. accountid:
  23715. description: 账户ID[报价币种]
  23716. type: integer
  23717. advanceratio:
  23718. description: 首付比率
  23719. type: number
  23720. buildtype:
  23721. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  23722. type: integer
  23723. buyorsell:
  23724. description: 方向 - 0:买 1:卖
  23725. type: integer
  23726. charge:
  23727. description: 手续费
  23728. type: number
  23729. closecharge:
  23730. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  23731. type: number
  23732. closeexchagechargevalue:
  23733. description: 平仓交易所手续费设置值
  23734. type: number
  23735. closefeealgorithm:
  23736. description: 平仓手续费收取方式 1:比率 2:固定
  23737. type: integer
  23738. closememberchargevalue:
  23739. description: 平仓会员手续费设置值
  23740. type: number
  23741. closepl:
  23742. description: 平仓盈亏
  23743. type: number
  23744. closepl2:
  23745. description: 平仓盈亏[逐笔]
  23746. type: number
  23747. closeqty:
  23748. description: 平仓数量(先建后平操作 需要记录)
  23749. type: number
  23750. creditamount:
  23751. description: 授信金额
  23752. type: number
  23753. decimalplace:
  23754. description: 商品报价小数位
  23755. type: integer
  23756. enumdicname:
  23757. description: 单位名称
  23758. type: string
  23759. gcaccountid:
  23760. description: 账户ID[合约币种]
  23761. type: integer
  23762. goodscode:
  23763. description: 商品代码
  23764. type: string
  23765. goodsid:
  23766. description: 商品ID
  23767. type: integer
  23768. goodsname:
  23769. description: 商品名称
  23770. type: string
  23771. goodunitid:
  23772. description: 商品单位id
  23773. type: integer
  23774. histradedate:
  23775. description: 历史交易日
  23776. type: string
  23777. intclosepl:
  23778. description: 整型盈亏(用于交易结算试算平衡-收益权)
  23779. type: integer
  23780. isconfirmexercise:
  23781. description: 是否确认行权- 0:否 1:是
  23782. type: integer
  23783. ismain:
  23784. description: 是否主单 - 0:不是 1:是
  23785. type: integer
  23786. ispreexercise:
  23787. description: 是否预申报- 0:否 1:是
  23788. type: integer
  23789. isreckoned:
  23790. description: 是否结算 - 0:未结算 1:已结算
  23791. type: integer
  23792. isvaliddata:
  23793. description: 是否有效 - 0:无效 1:有效
  23794. type: integer
  23795. listingselecttype:
  23796. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  23797. type: integer
  23798. marketid:
  23799. description: 市场ID
  23800. type: integer
  23801. marketname:
  23802. description: 市场名称
  23803. type: string
  23804. matchaccountid:
  23805. description: 对手账号id
  23806. type: integer
  23807. memberuserid:
  23808. description: 会员id 个人投资者 需要填写
  23809. type: integer
  23810. opencharge:
  23811. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  23812. type: number
  23813. openexchagechargevalue:
  23814. description: 建仓交易所手续费设置值
  23815. type: number
  23816. openfeealgorithm:
  23817. description: 建仓手续费收取方式 1:比率 2:固定
  23818. type: integer
  23819. openmemberchargevalue:
  23820. description: 建仓会员手续费设置值
  23821. type: number
  23822. openqty:
  23823. description: 开仓数量(先建后平操作 需要记录)
  23824. type: number
  23825. optiontype:
  23826. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  23827. type: integer
  23828. orderid:
  23829. description: 委托单号
  23830. type: string
  23831. payamount:
  23832. description: 支付金额(付款金额)
  23833. type: number
  23834. performanceplanid:
  23835. description: 履约计划ID[期权]
  23836. type: integer
  23837. performancestatus:
  23838. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  23839. type: integer
  23840. preexerciseprice:
  23841. description: 预申报价格
  23842. type: number
  23843. premium:
  23844. description: 权利金 - [持仓单的权利金]
  23845. type: number
  23846. qtydecimalplace:
  23847. description: 商品报价小数位
  23848. type: integer
  23849. recvamount:
  23850. description: 到账金额 = 成交金额 - 手续费
  23851. type: number
  23852. relatedouttradeid:
  23853. description: 关联外部成交单ID
  23854. type: integer
  23855. status:
  23856. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  23857. type: integer
  23858. totalamount:
  23859. description: 订单总额 = 成交金额 + 手续费
  23860. type: number
  23861. tradeamount:
  23862. description: 成交金额[账户币种,用于所有权]
  23863. type: number
  23864. tradedate:
  23865. description: 交易日(yyyyMMdd)
  23866. type: string
  23867. tradeid:
  23868. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  23869. type: string
  23870. trademode:
  23871. description: 交易模式
  23872. type: integer
  23873. tradeprice:
  23874. description: 成交价格
  23875. type: number
  23876. tradeproperty:
  23877. description: 交易属性
  23878. type: integer
  23879. tradeqty:
  23880. description: 成交数量
  23881. type: number
  23882. tradetime:
  23883. description: 成交时间
  23884. type: string
  23885. tradetype:
  23886. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  23887. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  23888. type: integer
  23889. required:
  23890. - accountid
  23891. - buyorsell
  23892. - goodsid
  23893. - histradedate
  23894. - marketid
  23895. - memberuserid
  23896. - orderid
  23897. - tradeamount
  23898. - tradedate
  23899. - tradeid
  23900. - tradeprice
  23901. - tradeqty
  23902. - tradetime
  23903. type: object
  23904. order.QueryHisTradeOrderDetailRsp:
  23905. properties:
  23906. accountid:
  23907. description: 账户ID[报价币种]
  23908. type: integer
  23909. buildtype:
  23910. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  23911. type: integer
  23912. buyorsell:
  23913. description: 买卖 - 0:买 1:卖
  23914. type: integer
  23915. cancelorderid:
  23916. description: 撤单单号(撤单时填写)
  23917. type: string
  23918. cancelqty:
  23919. description: 撤单数量
  23920. type: number
  23921. clientordertime:
  23922. description: 客户端委托时间
  23923. type: string
  23924. clientticket:
  23925. description: 客户端流水号
  23926. type: string
  23927. clienttype:
  23928. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  23929. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  23930. type: integer
  23931. closeexchagechargevalue:
  23932. description: 平仓交易所手续费设置值
  23933. type: number
  23934. closefeealgorithm:
  23935. description: 平仓手续费收取方式 1:比率 2:固定
  23936. type: integer
  23937. closefreezecharge:
  23938. description: 平仓冻结手续费(先建后平操作,需要记录)
  23939. type: number
  23940. closememberchargevalue:
  23941. description: 平仓会员手续费设置值
  23942. type: number
  23943. closeqty:
  23944. description: 平仓数量(先建后平操作 需要记录)
  23945. type: number
  23946. closetradeqty:
  23947. description: 平仓成交数量(先建后平操作,需要记录)
  23948. type: number
  23949. closeunfreezecharge:
  23950. description: 平仓解冻手续费(先建后平操作,需要记录)
  23951. type: number
  23952. decimalplace:
  23953. description: 商品报价小数位
  23954. type: integer
  23955. delistingtype:
  23956. description: 摘牌类型 - 1:价格最优 2:点选成交
  23957. type: integer
  23958. enumdicname:
  23959. description: 单位名称
  23960. type: string
  23961. freezecharge:
  23962. description: 冻结手续费
  23963. type: number
  23964. freezemargin:
  23965. description: 冻结保证金(冻结交易金额)
  23966. type: number
  23967. gcaccountid:
  23968. description: 账户ID[合约币种]
  23969. type: integer
  23970. goodscode:
  23971. description: 商品代码
  23972. type: string
  23973. goodsid:
  23974. description: 商品ID
  23975. type: integer
  23976. goodsname:
  23977. description: 商品名称
  23978. type: string
  23979. goodunitid:
  23980. description: 商品单位id
  23981. type: integer
  23982. histradedate:
  23983. description: 历史交易日
  23984. type: string
  23985. isconfirmexercise:
  23986. description: 是否确认行权- 0:否 1:是
  23987. type: integer
  23988. ispreexercise:
  23989. description: 是否预申报- 0:否 1:是
  23990. type: integer
  23991. isvaliddata:
  23992. description: 是否有效 - 0:无效 1:有效
  23993. type: integer
  23994. listingselecttype:
  23995. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  23996. type: integer
  23997. marginalgorithm:
  23998. description: 保证金收取方式 1:比率 2:固定
  23999. type: integer
  24000. marginvalue:
  24001. description: 即市保证金设置值
  24002. type: number
  24003. marketid:
  24004. description: 市场ID
  24005. type: integer
  24006. marketmaxsub:
  24007. description: 市价最大偏移范围
  24008. type: number
  24009. marketname:
  24010. description: 市场名称
  24011. type: string
  24012. memberuserid:
  24013. description: 所属会员UserID
  24014. type: integer
  24015. openexchagechargevalue:
  24016. description: 建仓交易所手续费设置值
  24017. type: number
  24018. openfeealgorithm:
  24019. description: 建仓手续费收取方式 1:比率 2:固定
  24020. type: integer
  24021. openfreezecharge:
  24022. description: 开仓冻结手续费(先建后平操作,需要记录)
  24023. type: number
  24024. openmemberchargevalue:
  24025. description: 建仓会员手续费设置值
  24026. type: number
  24027. openqty:
  24028. description: 开仓数量(先建后平操作,需要记录)
  24029. type: number
  24030. opentradeqty:
  24031. description: 开仓成交数量(先建后平操作,需要记录)
  24032. type: number
  24033. openunfreezecharge:
  24034. description: 开仓解冻手续费(先建后平操作,需要记录)
  24035. type: number
  24036. operatetype:
  24037. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24038. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24039. 15:管理端协议转让
  24040. type: integer
  24041. operatorid:
  24042. description: 登录账号(LoginID)
  24043. type: integer
  24044. optiontype:
  24045. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24046. type: integer
  24047. orderid:
  24048. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24049. type: string
  24050. orderprice:
  24051. description: 委托价格
  24052. type: number
  24053. orderqty:
  24054. description: 委托数量
  24055. type: number
  24056. ordersrc:
  24057. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24058. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24059. type: integer
  24060. orderstatus:
  24061. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24062. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24063. 16:成交失败违约(荷兰式竞拍专用)
  24064. type: integer
  24065. ordertime:
  24066. description: 委托时间
  24067. type: string
  24068. preexerciseprice:
  24069. description: 预申报价格
  24070. type: number
  24071. premium:
  24072. description: 权利金
  24073. type: number
  24074. preorderid:
  24075. description: 关联预埋单号(止盈止损单时填写)
  24076. type: string
  24077. pricemode:
  24078. description: '取价方式 - 1:市价 2: 限价'
  24079. type: integer
  24080. qtydecimalplace:
  24081. description: 成交量小数位
  24082. type: integer
  24083. quoteid:
  24084. description: 报价单ID
  24085. type: integer
  24086. relatedid:
  24087. description: 关联单号(交割单)
  24088. type: string
  24089. retcode:
  24090. description: 错误代码
  24091. type: integer
  24092. sessionid:
  24093. description: 会话ID
  24094. type: integer
  24095. tradedate:
  24096. description: 交易日(yyyyMMdd)
  24097. type: string
  24098. trademode:
  24099. description: 交易模式
  24100. type: integer
  24101. tradeproperty:
  24102. description: 交易属性
  24103. type: integer
  24104. tradeqty:
  24105. description: 成交数量
  24106. type: number
  24107. unfreezecharge:
  24108. description: 解冻手续费
  24109. type: number
  24110. unfreezemargin:
  24111. description: 解冻保证金
  24112. type: number
  24113. updatetime:
  24114. description: 更新时间
  24115. type: string
  24116. uuid:
  24117. description: 发起端唯一id
  24118. type: string
  24119. validtime:
  24120. description: 有效期限
  24121. type: string
  24122. validtype:
  24123. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24124. type: integer
  24125. volumetype:
  24126. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24127. type: integer
  24128. required:
  24129. - accountid
  24130. - buildtype
  24131. - buyorsell
  24132. - goodsid
  24133. - histradedate
  24134. - marketid
  24135. - memberuserid
  24136. - operatetype
  24137. - orderid
  24138. - orderqty
  24139. - ordertime
  24140. - pricemode
  24141. - tradedate
  24142. - validtype
  24143. type: object
  24144. order.QueryTradeDetailRsp:
  24145. properties:
  24146. accountid:
  24147. description: 账户ID[报价币种]
  24148. type: integer
  24149. advanceratio:
  24150. description: 首付比率
  24151. type: number
  24152. buildtype:
  24153. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  24154. type: integer
  24155. buyorsell:
  24156. description: 方向 - 0:买 1:卖
  24157. type: integer
  24158. charge:
  24159. description: 手续费
  24160. type: number
  24161. closecharge:
  24162. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24163. type: number
  24164. closeexchagechargevalue:
  24165. description: 平仓交易所手续费设置值
  24166. type: number
  24167. closefeealgorithm:
  24168. description: 平仓手续费收取方式 1:比率 2:固定
  24169. type: integer
  24170. closememberchargevalue:
  24171. description: 平仓会员手续费设置值
  24172. type: number
  24173. closepl:
  24174. description: 平仓盈亏
  24175. type: number
  24176. closepl2:
  24177. description: 平仓盈亏[逐笔]
  24178. type: number
  24179. closeqty:
  24180. description: 平仓数量(先建后平操作 需要记录)
  24181. type: number
  24182. creditamount:
  24183. description: 授信金额
  24184. type: number
  24185. decimalplace:
  24186. description: 商品报价小数位
  24187. type: integer
  24188. enumdicname:
  24189. description: 单位名称
  24190. type: string
  24191. gcaccountid:
  24192. description: 账户ID[合约币种]
  24193. type: integer
  24194. goodscode:
  24195. description: 商品代码
  24196. type: string
  24197. goodsid:
  24198. description: 商品ID
  24199. type: integer
  24200. goodsname:
  24201. description: 商品名称
  24202. type: string
  24203. goodunitid:
  24204. description: 商品单位id
  24205. type: integer
  24206. intclosepl:
  24207. description: 整型盈亏(用于交易结算试算平衡-收益权)
  24208. type: integer
  24209. isconfirmexercise:
  24210. description: 是否确认行权- 0:否 1:是
  24211. type: integer
  24212. ismain:
  24213. description: 是否主单 - 0:不是 1:是
  24214. type: integer
  24215. ispreexercise:
  24216. description: 是否预申报- 0:否 1:是
  24217. type: integer
  24218. isreckoned:
  24219. description: 是否结算 - 0:未结算 1:已结算
  24220. type: integer
  24221. listingselecttype:
  24222. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24223. type: integer
  24224. marketid:
  24225. description: 市场ID
  24226. type: integer
  24227. marketname:
  24228. description: 市场名称
  24229. type: string
  24230. matchaccountid:
  24231. description: 对手账号id
  24232. type: integer
  24233. memberuserid:
  24234. description: 会员id 个人投资者 需要填写
  24235. type: integer
  24236. opencharge:
  24237. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24238. type: number
  24239. openexchagechargevalue:
  24240. description: 建仓交易所手续费设置值
  24241. type: number
  24242. openfeealgorithm:
  24243. description: 建仓手续费收取方式 1:比率 2:固定
  24244. type: integer
  24245. openmemberchargevalue:
  24246. description: 建仓会员手续费设置值
  24247. type: number
  24248. openqty:
  24249. description: 开仓数量(先建后平操作 需要记录)
  24250. type: number
  24251. optiontype:
  24252. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24253. type: integer
  24254. orderid:
  24255. description: 委托单号
  24256. type: string
  24257. payamount:
  24258. description: 支付金额(付款金额)
  24259. type: number
  24260. performanceplanid:
  24261. description: 履约计划ID[期权]
  24262. type: integer
  24263. performancestatus:
  24264. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24265. type: integer
  24266. preexerciseprice:
  24267. description: 预申报价格
  24268. type: number
  24269. premium:
  24270. description: 权利金 - [持仓单的权利金]
  24271. type: number
  24272. qtydecimalplace:
  24273. description: 商品报价小数位
  24274. type: integer
  24275. recvamount:
  24276. description: 到账金额 = 成交金额 - 手续费
  24277. type: number
  24278. relatedouttradeid:
  24279. description: 关联外部成交单ID
  24280. type: integer
  24281. status:
  24282. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24283. type: integer
  24284. totalamount:
  24285. description: 订单总额 = 成交金额 + 手续费
  24286. type: number
  24287. tradeamount:
  24288. description: 成交金额[账户币种,用于所有权]
  24289. type: number
  24290. tradedate:
  24291. description: 交易日(yyyyMMdd)
  24292. type: string
  24293. tradeid:
  24294. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24295. type: string
  24296. trademode:
  24297. description: 交易模式
  24298. type: integer
  24299. tradeprice:
  24300. description: 成交价格
  24301. type: number
  24302. tradeproperty:
  24303. description: 交易属性
  24304. type: integer
  24305. tradeqty:
  24306. description: 成交数量
  24307. type: number
  24308. tradetime:
  24309. description: 成交时间
  24310. type: string
  24311. tradetype:
  24312. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24313. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24314. type: integer
  24315. required:
  24316. - accountid
  24317. - buyorsell
  24318. - goodsid
  24319. - marketid
  24320. - memberuserid
  24321. - orderid
  24322. - tradeamount
  24323. - tradedate
  24324. - tradeid
  24325. - tradeprice
  24326. - tradeqty
  24327. - tradetime
  24328. type: object
  24329. order.QueryTradeOrderDetailRsp:
  24330. properties:
  24331. accountid:
  24332. description: 账户ID[报价币种]
  24333. type: integer
  24334. buildtype:
  24335. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24336. type: integer
  24337. buyorsell:
  24338. description: 买卖 - 0:买 1:卖
  24339. type: integer
  24340. cancelorderid:
  24341. description: 撤单单号(撤单时填写)
  24342. type: string
  24343. cancelqty:
  24344. description: 撤单数量
  24345. type: number
  24346. clienttype:
  24347. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24348. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24349. type: integer
  24350. closefreezecharge:
  24351. description: 平仓冻结手续费(先建后平操作,需要记录)
  24352. type: number
  24353. closeqty:
  24354. description: 平仓数量(先建后平操作 需要记录)
  24355. type: number
  24356. closetradeqty:
  24357. description: 平仓成交数量(先建后平操作,需要记录)
  24358. type: number
  24359. closeunfreezecharge:
  24360. description: 平仓解冻手续费(先建后平操作,需要记录)
  24361. type: number
  24362. decimalplace:
  24363. description: 商品报价小数位
  24364. type: integer
  24365. delistingtype:
  24366. description: 摘牌类型 - 1:价格最优 2:点选成交
  24367. type: integer
  24368. enableqty:
  24369. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  24370. type: number
  24371. enumdicname:
  24372. description: 单位名称
  24373. type: string
  24374. freezecharge:
  24375. description: 冻结手续费
  24376. type: number
  24377. freezemargin:
  24378. description: 冻结保证金(冻结交易金额)
  24379. type: number
  24380. goodscode:
  24381. description: 商品代码
  24382. type: string
  24383. goodsid:
  24384. description: 商品ID
  24385. type: integer
  24386. goodsname:
  24387. description: 商品名称
  24388. type: string
  24389. goodunitid:
  24390. description: 商品单位id
  24391. type: integer
  24392. listingselecttype:
  24393. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24394. type: integer
  24395. marketid:
  24396. description: 市场ID
  24397. type: integer
  24398. marketname:
  24399. description: 市场名称
  24400. type: string
  24401. openfreezecharge:
  24402. description: 开仓冻结手续费(先建后平操作,需要记录)
  24403. type: number
  24404. openqty:
  24405. description: 开仓数量(先建后平操作,需要记录)
  24406. type: number
  24407. opentradeqty:
  24408. description: 开仓成交数量(先建后平操作,需要记录)
  24409. type: number
  24410. openunfreezecharge:
  24411. description: 开仓解冻手续费(先建后平操作,需要记录)
  24412. type: number
  24413. operatetype:
  24414. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24415. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24416. 15:管理端协议转让
  24417. type: integer
  24418. operatorid:
  24419. description: 登录账号(LoginID)
  24420. type: integer
  24421. orderid:
  24422. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24423. type: string
  24424. orderprice:
  24425. description: 委托价格
  24426. type: number
  24427. orderqty:
  24428. description: 委托数量
  24429. type: number
  24430. ordersrc:
  24431. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24432. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24433. type: integer
  24434. orderstatus:
  24435. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24436. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24437. 16:成交失败违约(荷兰式竞拍专用)
  24438. type: integer
  24439. ordertime:
  24440. description: 委托时间
  24441. type: string
  24442. preorderid:
  24443. description: 关联预埋单号(止盈止损单时填写)
  24444. type: string
  24445. pricemode:
  24446. description: '取价方式 - 1:市价 2: 限价'
  24447. type: integer
  24448. qtydecimalplace:
  24449. description: 商品报价小数位
  24450. type: integer
  24451. relatedid:
  24452. description: 关联单号(交割单)
  24453. type: string
  24454. tradedate:
  24455. description: 交易日(yyyyMMdd)
  24456. type: string
  24457. trademode:
  24458. description: 交易模式
  24459. type: integer
  24460. tradeqty:
  24461. description: 成交数量
  24462. type: number
  24463. unfreezecharge:
  24464. description: 解冻手续费
  24465. type: number
  24466. unfreezemargin:
  24467. description: 解冻保证金
  24468. type: number
  24469. validtime:
  24470. description: 有效期限
  24471. type: string
  24472. validtype:
  24473. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24474. type: integer
  24475. volumetype:
  24476. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24477. type: integer
  24478. required:
  24479. - accountid
  24480. - buildtype
  24481. - buyorsell
  24482. - goodsid
  24483. - marketid
  24484. - operatetype
  24485. - orderqty
  24486. - ordertime
  24487. - pricemode
  24488. - tradedate
  24489. - validtype
  24490. type: object
  24491. order.QueryTradePositionRsp:
  24492. properties:
  24493. accountid:
  24494. description: 资金账户
  24495. type: integer
  24496. agreeunit:
  24497. description: 合约单位
  24498. type: number
  24499. averageprice:
  24500. description: 持仓均价
  24501. type: number
  24502. buyorsell:
  24503. description: 方向 - 0:买 1:卖
  24504. type: integer
  24505. closetotalqty:
  24506. description: 平仓总数量
  24507. type: number
  24508. curholderamount:
  24509. description: 当前持仓总金额[商品币种]
  24510. type: number
  24511. curpositionqty:
  24512. description: 当前持仓总数量
  24513. type: number
  24514. currencyid:
  24515. description: 报价货币ID
  24516. type: integer
  24517. curtdposition:
  24518. description: 期末今日头寸
  24519. type: number
  24520. decimalplace:
  24521. description: 报价小数位
  24522. type: integer
  24523. enableqty:
  24524. description: 可用量
  24525. type: number
  24526. fretdposition:
  24527. description: 冻结今日头寸
  24528. type: number
  24529. frozenqty:
  24530. description: 持仓冻结数量
  24531. type: number
  24532. goodscode:
  24533. description: 商品代码
  24534. type: string
  24535. goodsid:
  24536. description: 商品Id
  24537. type: integer
  24538. goodsname:
  24539. description: 商品名称
  24540. type: string
  24541. goodunit:
  24542. description: 报价单位
  24543. type: string
  24544. goodunitid:
  24545. description: 报价单位ID
  24546. type: integer
  24547. holderamount:
  24548. description: 期初持仓总金额[商品币种]
  24549. type: number
  24550. lastprice:
  24551. description: 最新价
  24552. type: number
  24553. marketamount:
  24554. description: 市值
  24555. type: number
  24556. marketid:
  24557. description: 所属市场ID
  24558. type: integer
  24559. openreqqty:
  24560. description: 开仓申请数量(用于比较最大持仓数量)
  24561. type: number
  24562. opentotalqty:
  24563. description: 开仓总数量
  24564. type: number
  24565. otherfrozenqty:
  24566. description: 持仓其他冻结数量(交割冻结)
  24567. type: number
  24568. positionpl:
  24569. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  24570. * 合约单位
  24571. type: number
  24572. positionplrate:
  24573. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  24574. type: number
  24575. positionqty:
  24576. description: 期初持仓数量
  24577. type: number
  24578. qtydecimalplace:
  24579. description: 成交量小数位
  24580. type: integer
  24581. refgoodscode:
  24582. description: 参考商品代码
  24583. type: string
  24584. refgoodsid:
  24585. description: 参考商品ID
  24586. type: integer
  24587. tnqty:
  24588. description: T+N冻结总量
  24589. type: number
  24590. tnusedqty:
  24591. description: T+N使用量(可以使用T+N的冻结数量)
  24592. type: number
  24593. trademode:
  24594. description: 交易模式
  24595. type: integer
  24596. tradeproperty:
  24597. description: 交易属性
  24598. type: integer
  24599. usedmargin:
  24600. description: 占用保证金[商品币种]
  24601. type: number
  24602. required:
  24603. - goodsid
  24604. type: object
  24605. pb.GoodsMarginCfgStruct:
  24606. properties:
  24607. CustomerTypeID:
  24608. description: 投资者客户类型
  24609. type: integer
  24610. GoodsID:
  24611. description: 商品ID
  24612. type: integer
  24613. IsDefault:
  24614. description: 是否默认标志位
  24615. type: integer
  24616. LockMarginValue:
  24617. description: 锁仓保证金
  24618. type: number
  24619. MarginAlgorithm:
  24620. description: 保证金计算方式
  24621. type: integer
  24622. MarketMarginValue:
  24623. description: 即市保证金值
  24624. type: number
  24625. RealMarginAlgorithm:
  24626. description: 实付保证金计算方式
  24627. type: integer
  24628. RealMarginValue:
  24629. description: 实付比例
  24630. type: number
  24631. ReckonMarginValue:
  24632. description: 结算保证金值
  24633. type: number
  24634. type: object
  24635. quote.HistoryData:
  24636. properties:
  24637. c:
  24638. description: 收盘价
  24639. type: number
  24640. f:
  24641. description: 是否补充数据
  24642. type: boolean
  24643. h:
  24644. description: 最高价
  24645. type: number
  24646. hv:
  24647. description: 持仓量
  24648. type: integer
  24649. l:
  24650. description: 最低价
  24651. type: number
  24652. o:
  24653. description: 开盘价
  24654. type: number
  24655. s:
  24656. description: 结算价,日线周期(包括)以上才有
  24657. type: number
  24658. ts:
  24659. description: 时间
  24660. type: string
  24661. tt:
  24662. description: 总金额
  24663. type: number
  24664. tv:
  24665. description: 总量(成交量)
  24666. type: integer
  24667. type: object
  24668. quote.HistoryTikData:
  24669. properties:
  24670. AV:
  24671. description: 卖量
  24672. type: integer
  24673. Ask:
  24674. description: 卖价
  24675. type: number
  24676. BV:
  24677. description: 买量
  24678. type: integer
  24679. Bid:
  24680. description: 买价
  24681. type: number
  24682. HI:
  24683. description: 单笔持仓
  24684. type: integer
  24685. HV:
  24686. description: 持仓量
  24687. type: integer
  24688. PE:
  24689. description: 现价
  24690. type: number
  24691. TDR:
  24692. description: 交易方向,0:买 1:卖
  24693. type: integer
  24694. TK:
  24695. description: 交易类型
  24696. type: integer
  24697. TS:
  24698. description: 行情时间文本
  24699. type: string
  24700. TT:
  24701. description: 现金额
  24702. type: number
  24703. Vol:
  24704. description: 现量
  24705. type: integer
  24706. type: object
  24707. quote.QueryQuoteDayRsp:
  24708. properties:
  24709. ask:
  24710. description: 卖1
  24711. type: number
  24712. ask2:
  24713. description: 卖2
  24714. type: number
  24715. ask3:
  24716. description: 卖3
  24717. type: number
  24718. ask4:
  24719. description: 卖4
  24720. type: number
  24721. ask5:
  24722. description: 卖5
  24723. type: number
  24724. ask6:
  24725. description: 卖6
  24726. type: number
  24727. ask7:
  24728. description: 卖7
  24729. type: number
  24730. ask8:
  24731. description: 卖8
  24732. type: number
  24733. ask9:
  24734. description: 卖9
  24735. type: number
  24736. ask10:
  24737. description: 卖10
  24738. type: number
  24739. askorderid:
  24740. description: 卖单号1
  24741. type: integer
  24742. askorderid2:
  24743. description: 卖单号2
  24744. type: integer
  24745. askorderid3:
  24746. description: 卖单号3
  24747. type: integer
  24748. askorderid4:
  24749. description: 卖单号4
  24750. type: integer
  24751. askorderid5:
  24752. description: 卖单号5
  24753. type: integer
  24754. askordervolume:
  24755. description: 卖单量1
  24756. type: integer
  24757. askordervolume2:
  24758. description: 卖单量2
  24759. type: integer
  24760. askordervolume3:
  24761. description: 卖单量3
  24762. type: integer
  24763. askordervolume4:
  24764. description: 卖单量4
  24765. type: integer
  24766. askordervolume5:
  24767. description: 卖单量5
  24768. type: integer
  24769. askordervolume6:
  24770. description: 卖单量6
  24771. type: integer
  24772. askordervolume7:
  24773. description: 卖单量7
  24774. type: integer
  24775. askordervolume8:
  24776. description: 卖单量8
  24777. type: integer
  24778. askordervolume9:
  24779. description: 卖单量9
  24780. type: integer
  24781. askordervolume10:
  24782. description: 卖单量10
  24783. type: integer
  24784. askqueueinfo:
  24785. description: 大利市卖港股用
  24786. type: string
  24787. askvolume:
  24788. description: 卖量1
  24789. type: integer
  24790. askvolume2:
  24791. description: 卖量2
  24792. type: integer
  24793. askvolume3:
  24794. description: 卖量3
  24795. type: integer
  24796. askvolume4:
  24797. description: 卖量4
  24798. type: integer
  24799. askvolume5:
  24800. description: 卖量5
  24801. type: integer
  24802. askvolume6:
  24803. description: 卖量6
  24804. type: integer
  24805. askvolume7:
  24806. description: 卖量7
  24807. type: integer
  24808. askvolume8:
  24809. description: 卖量8
  24810. type: integer
  24811. askvolume9:
  24812. description: 卖量9
  24813. type: integer
  24814. askvolume10:
  24815. description: 卖量10
  24816. type: integer
  24817. averageprice:
  24818. description: 均价
  24819. type: number
  24820. bid:
  24821. description: 买1
  24822. type: number
  24823. bid2:
  24824. description: 买2
  24825. type: number
  24826. bid3:
  24827. description: 买3
  24828. type: number
  24829. bid4:
  24830. description: 买4
  24831. type: number
  24832. bid5:
  24833. description: 买5
  24834. type: number
  24835. bid6:
  24836. description: 买6
  24837. type: number
  24838. bid7:
  24839. description: 买7
  24840. type: number
  24841. bid8:
  24842. description: 买8
  24843. type: number
  24844. bid9:
  24845. description: 买9
  24846. type: number
  24847. bid10:
  24848. description: 买10
  24849. type: number
  24850. bidorderid:
  24851. description: 买单号1
  24852. type: integer
  24853. bidorderid2:
  24854. description: 买单号2
  24855. type: integer
  24856. bidorderid3:
  24857. description: 买单号3
  24858. type: integer
  24859. bidorderid4:
  24860. description: 买单号4
  24861. type: integer
  24862. bidorderid5:
  24863. description: 买单号5
  24864. type: integer
  24865. bidordervolume:
  24866. description: 买单量1
  24867. type: integer
  24868. bidordervolume2:
  24869. description: 买单量2
  24870. type: integer
  24871. bidordervolume3:
  24872. description: 买单量3
  24873. type: integer
  24874. bidordervolume4:
  24875. description: 买单量4
  24876. type: integer
  24877. bidordervolume5:
  24878. description: 买单量5
  24879. type: integer
  24880. bidordervolume6:
  24881. description: 买单量6
  24882. type: integer
  24883. bidordervolume7:
  24884. description: 买单量7
  24885. type: integer
  24886. bidordervolume8:
  24887. description: 买单量8
  24888. type: integer
  24889. bidordervolume9:
  24890. description: 买单量9
  24891. type: integer
  24892. bidordervolume10:
  24893. description: 买单量10
  24894. type: integer
  24895. bidqueueinfo:
  24896. description: 大利市买港股用
  24897. type: string
  24898. bidvolume:
  24899. description: 买量1
  24900. type: integer
  24901. bidvolume2:
  24902. description: 买量2
  24903. type: integer
  24904. bidvolume3:
  24905. description: 买量3
  24906. type: integer
  24907. bidvolume4:
  24908. description: 买量4
  24909. type: integer
  24910. bidvolume5:
  24911. description: 买量5
  24912. type: integer
  24913. bidvolume6:
  24914. description: 买量6
  24915. type: integer
  24916. bidvolume7:
  24917. description: 买量7
  24918. type: integer
  24919. bidvolume8:
  24920. description: 买量8
  24921. type: integer
  24922. bidvolume9:
  24923. description: 买量9
  24924. type: integer
  24925. bidvolume10:
  24926. description: 买量10
  24927. type: integer
  24928. calloptionpremiums:
  24929. description: 认购期权1
  24930. type: integer
  24931. calloptionpremiums2:
  24932. description: 认购期权2
  24933. type: integer
  24934. calloptionpremiums3:
  24935. description: 认购期权3
  24936. type: integer
  24937. calloptionpremiums4:
  24938. description: 认购期权4
  24939. type: integer
  24940. calloptionpremiums5:
  24941. description: 认购期权5
  24942. type: integer
  24943. cleartime:
  24944. description: 清盘时间
  24945. type: integer
  24946. exchangecode:
  24947. description: 交易所代码
  24948. type: integer
  24949. exchangedate:
  24950. description: 交易日
  24951. type: integer
  24952. goodscode:
  24953. description: 商品代码
  24954. type: string
  24955. grepmarketprice:
  24956. description: 暗盘价 港股专用
  24957. type: number
  24958. highest:
  24959. description: 最高价
  24960. type: number
  24961. holdincrement:
  24962. description: 单笔持仓
  24963. type: integer
  24964. holdvolume:
  24965. description: 持仓
  24966. type: integer
  24967. iep:
  24968. description: 平衡价 港股专用
  24969. type: number
  24970. iev:
  24971. description: 平衡量 港股专用
  24972. type: number
  24973. inventory:
  24974. description: 库存
  24975. type: integer
  24976. iscleared:
  24977. description: 是否清盘标志
  24978. type: integer
  24979. issettled:
  24980. description: 是否结算标志
  24981. type: integer
  24982. last:
  24983. description: 最新价
  24984. type: number
  24985. lastlot:
  24986. description: 最新成交手数
  24987. type: integer
  24988. lasttime:
  24989. description: 行情时间(只有现价变化行情时间才变化)
  24990. type: string
  24991. lastturnover:
  24992. description: 最新成交金额
  24993. type: number
  24994. lastvolume:
  24995. description: 最新成交量
  24996. type: integer
  24997. limitdown:
  24998. description: 跌停价
  24999. type: number
  25000. limitup:
  25001. description: 涨停价
  25002. type: number
  25003. lowest:
  25004. description: 最低价
  25005. type: number
  25006. nontotalholdervolume:
  25007. description: 非交易持仓量
  25008. type: integer
  25009. nontotallot:
  25010. description: 非交易总手数
  25011. type: integer
  25012. nontotalturnover:
  25013. description: 非交易总金额
  25014. type: integer
  25015. nontotalvolume:
  25016. description: 非交易总量
  25017. type: integer
  25018. opened:
  25019. description: 开盘价
  25020. type: number
  25021. opentime:
  25022. description: 开盘时间
  25023. type: string
  25024. orderid:
  25025. description: 序号
  25026. type: integer
  25027. preclose:
  25028. description: 昨收
  25029. type: number
  25030. preholdvolume:
  25031. description: 昨持仓
  25032. type: integer
  25033. presettle:
  25034. description: 昨结价
  25035. type: number
  25036. publictradetype:
  25037. description: 公共交易标志类型 港股专用
  25038. type: string
  25039. putoptionpremiums:
  25040. description: 认沽期权1
  25041. type: integer
  25042. putoptionpremiums2:
  25043. description: 认沽期权2
  25044. type: integer
  25045. putoptionpremiums3:
  25046. description: 认沽期权3
  25047. type: integer
  25048. putoptionpremiums4:
  25049. description: 认沽期权4
  25050. type: integer
  25051. putoptionpremiums5:
  25052. description: 认沽期权5
  25053. type: integer
  25054. settle:
  25055. description: 结算价
  25056. type: number
  25057. strikeprice:
  25058. description: 发行价
  25059. type: number
  25060. totalaskvolume:
  25061. description: 内盘
  25062. type: integer
  25063. totalbidvolume:
  25064. description: 外盘
  25065. type: integer
  25066. totallot:
  25067. description: 总手数
  25068. type: integer
  25069. totalturnover:
  25070. description: 总金额
  25071. type: number
  25072. totalvolume:
  25073. description: 总量
  25074. type: integer
  25075. utclasttime:
  25076. description: utc的行情时间
  25077. type: string
  25078. type: object
  25079. quote.QueryTSDataRsp:
  25080. properties:
  25081. Count:
  25082. description: 交易日应有数据个数
  25083. type: integer
  25084. decimalPlace:
  25085. description: 小数位
  25086. type: integer
  25087. endTime:
  25088. description: 结束时间
  25089. type: string
  25090. goodsCode:
  25091. description: 商品代码
  25092. type: string
  25093. historyDatas:
  25094. description: 历史数据
  25095. items:
  25096. $ref: '#/definitions/quote.HistoryData'
  25097. type: array
  25098. outGoodsCode:
  25099. description: 外部商品代码
  25100. type: string
  25101. preSettle:
  25102. description: 昨结价
  25103. type: number
  25104. runSteps:
  25105. description: 交易日开休市计划
  25106. items:
  25107. $ref: '#/definitions/quote.TSDataRunStep'
  25108. type: array
  25109. startTime:
  25110. description: 开始时间
  25111. type: string
  25112. tradeDate:
  25113. description: 交易日
  25114. type: string
  25115. type: object
  25116. quote.TSDataRunStep:
  25117. properties:
  25118. end:
  25119. description: 真实结束时间
  25120. type: string
  25121. endflag:
  25122. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  25123. type: integer
  25124. endtime:
  25125. description: 结束时间(HH:mm)
  25126. type: string
  25127. endweekday:
  25128. description: 结束周几
  25129. type: integer
  25130. groupid:
  25131. description: 分组ID
  25132. type: integer
  25133. runstep:
  25134. description: 运行阶段 - 2:连续交易
  25135. type: integer
  25136. sectionid:
  25137. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  25138. 结束时间=结算时间 结束周几=结算周几
  25139. type: integer
  25140. start:
  25141. description: 真实开始时间
  25142. type: string
  25143. startflag:
  25144. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  25145. type: integer
  25146. starttime:
  25147. description: 起始时间(HH:mm)
  25148. type: string
  25149. startweekday:
  25150. description: 起始周几
  25151. type: integer
  25152. tradeweekday:
  25153. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  25154. type: integer
  25155. type: object
  25156. szdz.QueryConvertLogRsp:
  25157. properties:
  25158. accountid:
  25159. description: 资金账户ID
  25160. type: integer
  25161. clientticket:
  25162. description: 客户端流水号
  25163. type: string
  25164. converttype:
  25165. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  25166. type: integer
  25167. createtime:
  25168. description: 记账时间
  25169. type: string
  25170. daymaxvalue:
  25171. description: 配置当日最大转入限制
  25172. type: number
  25173. daymaxvalue2:
  25174. description: 配置当日最大转入限制(转入)
  25175. type: number
  25176. goodscode:
  25177. description: 商品代码
  25178. type: string
  25179. goodsname:
  25180. description: 商品名称
  25181. type: string
  25182. handlestatus:
  25183. description: 处理状态
  25184. type: integer
  25185. innergoodsid:
  25186. description: 内部商品ID
  25187. type: integer
  25188. inratio:
  25189. description: 配置转入比值
  25190. type: integer
  25191. invalue:
  25192. description: 目标值
  25193. type: number
  25194. logid:
  25195. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  25196. type: integer
  25197. mobile:
  25198. description: 手机号码(加密存储)
  25199. type: string
  25200. outergoodscode:
  25201. description: 外部商品代码[JD\PD]
  25202. type: string
  25203. outratio:
  25204. description: 配置转出比值
  25205. type: integer
  25206. outvalue:
  25207. description: 源值
  25208. type: number
  25209. pddecimalplace:
  25210. description: PD小数位
  25211. type: integer
  25212. qty:
  25213. description: 数量
  25214. type: string
  25215. remark:
  25216. description: 备注
  25217. type: string
  25218. sessionid:
  25219. description: 会话ID
  25220. type: integer
  25221. timemaxvalue:
  25222. description: 配置单次最大转入限制
  25223. type: number
  25224. timemaxvalue2:
  25225. description: 配置单次最大转入限制(转入)
  25226. type: number
  25227. timeminvalue:
  25228. description: 配置单次最小数量限制
  25229. type: number
  25230. timeminvalue2:
  25231. description: 配置单次最小数量限制(转入)
  25232. type: number
  25233. tradedate:
  25234. description: 交易日(yyyyMMdd)
  25235. type: string
  25236. userid:
  25237. description: 用户ID
  25238. type: integer
  25239. required:
  25240. - logid
  25241. type: object
  25242. szdz.QueryGoodsPickupRsp:
  25243. properties:
  25244. accountid:
  25245. description: 账户ID
  25246. type: integer
  25247. address:
  25248. description: 提货人详细地址
  25249. type: string
  25250. auditer:
  25251. description: 审核人
  25252. type: integer
  25253. audittime:
  25254. description: 审核时间
  25255. type: string
  25256. cardnum:
  25257. description: 提货人证件号码
  25258. type: string
  25259. cardtypeid:
  25260. description: 提货人证件类型
  25261. type: integer
  25262. checkremark:
  25263. description: 审核备注
  25264. type: string
  25265. goodscode:
  25266. description: 商品代码
  25267. type: string
  25268. goodsid:
  25269. description: 商品ID
  25270. type: integer
  25271. goodsname:
  25272. description: 商品名称
  25273. type: string
  25274. handlestatus:
  25275. description: 处理状态
  25276. type: integer
  25277. marketid:
  25278. description: 市场ID
  25279. type: integer
  25280. phonenum:
  25281. description: 提货人联系方式
  25282. type: string
  25283. qty:
  25284. description: 提货数量
  25285. type: number
  25286. recivername:
  25287. description: 提货人姓名
  25288. type: string
  25289. reqtime:
  25290. description: 更新时间
  25291. type: string
  25292. takemode:
  25293. description: 提货方式 - 2:自提 3:配送
  25294. type: integer
  25295. takeorderid:
  25296. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  25297. type: string
  25298. takeorderstatus:
  25299. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25300. type: integer
  25301. takeremark:
  25302. description: 提货备注
  25303. type: string
  25304. tradedate:
  25305. description: 交易日(yyyyMMdd)
  25306. type: string
  25307. userid:
  25308. description: 用户ID
  25309. type: integer
  25310. required:
  25311. - takeorderid
  25312. type: object
  25313. szdz.QueryRecieptOrderRsp:
  25314. properties:
  25315. accountName:
  25316. description: 所属账号名称(已脱敏)
  25317. type: string
  25318. accountid:
  25319. description: 资金账号
  25320. type: integer
  25321. buyorsell:
  25322. description: 方向 - 0:买 1:卖
  25323. type: integer
  25324. enableqty:
  25325. description: 可摘数量
  25326. type: integer
  25327. goodscode:
  25328. description: 商品代码
  25329. type: string
  25330. goodsid:
  25331. description: 商品ID
  25332. type: integer
  25333. goodsname:
  25334. description: 商品名称
  25335. type: string
  25336. orderid:
  25337. description: 委托单号
  25338. type: string
  25339. orderprice:
  25340. description: 委托价格
  25341. type: number
  25342. ordertime:
  25343. description: 委托时间
  25344. type: string
  25345. tradedate:
  25346. description: 交易日(yyyyMMdd)
  25347. type: string
  25348. required:
  25349. - ordertime
  25350. type: object
  25351. szdz.QuerySZDZTradePositionRsp:
  25352. properties:
  25353. accountid:
  25354. description: 账号Id
  25355. type: integer
  25356. agreeunit:
  25357. description: 合约单位
  25358. type: number
  25359. averageprice:
  25360. description: 持仓均价
  25361. type: number
  25362. buyorsell:
  25363. description: 方向 - 0:买 1:卖
  25364. type: integer
  25365. closetotalqty:
  25366. description: 平仓总数量
  25367. type: integer
  25368. curholderamount:
  25369. description: 当前持仓总金额
  25370. type: number
  25371. curpositionqty:
  25372. description: 当前持仓总数量
  25373. type: integer
  25374. currencyid:
  25375. description: 报价货币ID
  25376. type: integer
  25377. curtdposition:
  25378. description: 期末今日头寸
  25379. type: integer
  25380. decimalplace:
  25381. description: 报价小数位
  25382. type: integer
  25383. enableqty:
  25384. description: 可用量
  25385. type: integer
  25386. fretdposition:
  25387. description: 冻结今日头寸
  25388. type: integer
  25389. frozenqty:
  25390. description: 持仓冻结数量
  25391. type: integer
  25392. goodscode:
  25393. description: 商品代码(内部)
  25394. type: string
  25395. goodsid:
  25396. description: 商品Id
  25397. type: integer
  25398. goodsname:
  25399. description: 商品名称
  25400. type: string
  25401. goodunit:
  25402. description: 报价单位
  25403. type: string
  25404. goodunitid:
  25405. description: 报价单位ID
  25406. type: integer
  25407. holderamount:
  25408. description: 期初持仓总金额
  25409. type: number
  25410. marketid:
  25411. description: 市场ID
  25412. type: integer
  25413. openreqqty:
  25414. description: 开仓申请数量
  25415. type: integer
  25416. opentotalqty:
  25417. description: 开仓总数量
  25418. type: integer
  25419. otherfrozenqty:
  25420. description: 持仓其他冻结数量(交割冻结)
  25421. type: integer
  25422. positionqty:
  25423. description: 期初持仓数量
  25424. type: integer
  25425. szdz3freezqty:
  25426. description: 尚志大宗转换冻结总数量
  25427. type: integer
  25428. tnqty:
  25429. description: T+N冻结总量
  25430. type: integer
  25431. tnusedqty:
  25432. description: T+N使用量
  25433. type: integer
  25434. trademode:
  25435. description: 交易模式
  25436. type: integer
  25437. usedmargin:
  25438. description: 占用保证金
  25439. type: number
  25440. type: object
  25441. taaccount.QueryAmountLogRsp:
  25442. properties:
  25443. accountid:
  25444. description: 资金账户ID
  25445. type: integer
  25446. agoodscode:
  25447. description: 竞拍商品代码
  25448. type: string
  25449. agoodsname:
  25450. description: 竞拍商品名称
  25451. type: string
  25452. amount:
  25453. description: 资金金额
  25454. type: number
  25455. amountadjusttype:
  25456. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25457. type: integer
  25458. autoid:
  25459. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25460. type: integer
  25461. balance:
  25462. description: 期初余额
  25463. type: number
  25464. businesscode:
  25465. description: 业务编号
  25466. type: integer
  25467. createtime:
  25468. description: 发生时间
  25469. type: string
  25470. currencyid:
  25471. description: 币种ID
  25472. type: integer
  25473. currentbalance:
  25474. description: 期末余额(变动后金额)
  25475. type: number
  25476. dgoodscode:
  25477. description: 交割商品代码
  25478. type: string
  25479. dgoodsname:
  25480. description: 交割商品名称
  25481. type: string
  25482. goodscode:
  25483. description: 商品代码
  25484. type: string
  25485. goodsid:
  25486. description: 商品ID
  25487. type: integer
  25488. goodsname:
  25489. description: 商品名称
  25490. type: string
  25491. marketid:
  25492. description: 市场ID
  25493. type: integer
  25494. marketname:
  25495. description: 市场名称
  25496. type: string
  25497. moneyticket:
  25498. description: 资金流水号:银行端流水号
  25499. type: integer
  25500. operatetype:
  25501. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25502. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25503. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25504. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25505. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25506. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25507. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25508. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25509. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25510. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25511. type: integer
  25512. relationorderid:
  25513. description: 关联单号
  25514. type: string
  25515. remark:
  25516. description: 备注
  25517. type: string
  25518. trademode:
  25519. description: 交易模式
  25520. type: integer
  25521. required:
  25522. - accountid
  25523. - amount
  25524. - amountadjusttype
  25525. - autoid
  25526. - balance
  25527. - createtime
  25528. - currentbalance
  25529. - operatetype
  25530. type: object
  25531. taaccount.QueryHisAmountLogRsp:
  25532. properties:
  25533. accountid:
  25534. description: 资金账户ID
  25535. type: integer
  25536. agoodscode:
  25537. description: 竞拍商品代码
  25538. type: string
  25539. agoodsname:
  25540. description: 竞拍商品名称
  25541. type: string
  25542. amount:
  25543. description: 资金金额
  25544. type: number
  25545. amountadjusttype:
  25546. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25547. type: integer
  25548. autoid:
  25549. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25550. type: integer
  25551. balance:
  25552. description: 期初余额
  25553. type: number
  25554. businesscode:
  25555. description: 业务编号
  25556. type: integer
  25557. createtime:
  25558. description: 发生时间
  25559. type: string
  25560. currencyid:
  25561. description: 币种ID
  25562. type: integer
  25563. currentbalance:
  25564. description: 期末余额(变动后金额)
  25565. type: number
  25566. dgoodscode:
  25567. description: 交割商品代码
  25568. type: string
  25569. dgoodsname:
  25570. description: 交割商品名称
  25571. type: string
  25572. goodscode:
  25573. description: 商品代码
  25574. type: string
  25575. goodsid:
  25576. description: 商品ID
  25577. type: integer
  25578. goodsname:
  25579. description: 商品名称
  25580. type: string
  25581. histradedate:
  25582. description: 历史交易日
  25583. type: string
  25584. isvaliddata:
  25585. description: 是否有效 - 0:无效 1:有效
  25586. type: integer
  25587. marketid:
  25588. description: 市场ID
  25589. type: integer
  25590. marketname:
  25591. description: 市场名称
  25592. type: string
  25593. moneyticket:
  25594. description: 资金流水号:银行端流水号
  25595. type: integer
  25596. operatetype:
  25597. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25598. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25599. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25600. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25601. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25602. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25603. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25604. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25605. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25606. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25607. type: integer
  25608. relationorderid:
  25609. description: 关联单号
  25610. type: string
  25611. remark:
  25612. description: 备注
  25613. type: string
  25614. trademode:
  25615. description: 交易模式
  25616. type: integer
  25617. required:
  25618. - accountid
  25619. - amount
  25620. - amountadjusttype
  25621. - autoid
  25622. - balance
  25623. - createtime
  25624. - currentbalance
  25625. - histradedate
  25626. - operatetype
  25627. type: object
  25628. trade.QueryRecieptOrderRsp:
  25629. properties:
  25630. accountName:
  25631. description: 所属账号名称(已脱敏)
  25632. type: string
  25633. accountid:
  25634. description: 资金账号
  25635. type: integer
  25636. buyorsell:
  25637. description: 方向 - 0:买 1:卖
  25638. type: integer
  25639. enableqty:
  25640. description: 可摘数量
  25641. type: integer
  25642. goodscode:
  25643. description: 商品代码
  25644. type: string
  25645. goodsid:
  25646. description: 商品ID
  25647. type: integer
  25648. goodsname:
  25649. description: 商品名称
  25650. type: string
  25651. orderid:
  25652. description: 委托单号
  25653. type: string
  25654. orderprice:
  25655. description: 委托价格
  25656. type: number
  25657. ordertime:
  25658. description: 委托时间
  25659. type: string
  25660. tradedate:
  25661. description: 交易日(yyyyMMdd)
  25662. type: string
  25663. required:
  25664. - ordertime
  25665. type: object
  25666. user.LoginQueryRsp:
  25667. properties:
  25668. areaRoles:
  25669. description: 所属角色信息
  25670. items:
  25671. $ref: '#/definitions/models.Arearole'
  25672. type: array
  25673. exchangeRateConfigs:
  25674. description: 汇率信息
  25675. items:
  25676. $ref: '#/definitions/models.Exchangerateconfig'
  25677. type: array
  25678. externalExchanges:
  25679. description: 外部交易所
  25680. items:
  25681. $ref: '#/definitions/models.Externalexchange'
  25682. type: array
  25683. goodsgroups:
  25684. description: 商品组
  25685. items:
  25686. $ref: '#/definitions/models.Goodsgroup'
  25687. type: array
  25688. loginAccount:
  25689. allOf:
  25690. - $ref: '#/definitions/models.Loginaccount'
  25691. description: 登录账号
  25692. markets:
  25693. description: 市场
  25694. items:
  25695. $ref: '#/definitions/models.Market'
  25696. type: array
  25697. systemParams:
  25698. description: 系统参数
  25699. items:
  25700. $ref: '#/definitions/models.Systemparam'
  25701. type: array
  25702. userAccount:
  25703. allOf:
  25704. - $ref: '#/definitions/models.Useraccount'
  25705. description: 用户账号
  25706. userInfo:
  25707. allOf:
  25708. - $ref: '#/definitions/models.Userinfo'
  25709. description: 用户信息
  25710. username:
  25711. description: 用户姓名
  25712. type: string
  25713. type: object
  25714. info:
  25715. contact: {}
  25716. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  25717. termsOfService: http://www.muchinfo.cn
  25718. title: MTP2.0 查询服务 API
  25719. version: "1.0"
  25720. paths:
  25721. /CPTrade/QueryCPTradeMyBidInfos:
  25722. get:
  25723. parameters:
  25724. - description: 资金账户
  25725. in: query
  25726. name: accountid
  25727. required: true
  25728. type: integer
  25729. - description: 预售市场ID
  25730. in: query
  25731. name: marketid
  25732. type: integer
  25733. - description: 预售商品ID
  25734. in: query
  25735. name: goodsid
  25736. type: integer
  25737. produces:
  25738. - application/json
  25739. responses:
  25740. "200":
  25741. description: OK
  25742. schema:
  25743. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  25744. "500":
  25745. description: Internal Server Error
  25746. schema:
  25747. $ref: '#/definitions/app.Response'
  25748. security:
  25749. - ApiKeyAuth: []
  25750. summary: 查询产能预售我的出价信息
  25751. tags:
  25752. - 产能预售
  25753. /CPTrade/QueryCPTradeOrderDetail:
  25754. get:
  25755. parameters:
  25756. - description: 预售商品ID
  25757. in: query
  25758. name: goodsid
  25759. type: integer
  25760. - description: 预售市场ID
  25761. in: query
  25762. name: marketid
  25763. type: integer
  25764. - description: 预售商品ID列表 - 格式:1,2,3
  25765. in: query
  25766. name: goodsids
  25767. type: string
  25768. produces:
  25769. - application/json
  25770. responses:
  25771. "200":
  25772. description: OK
  25773. schema:
  25774. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  25775. "500":
  25776. description: Internal Server Error
  25777. schema:
  25778. $ref: '#/definitions/app.Response'
  25779. security:
  25780. - ApiKeyAuth: []
  25781. summary: 查询产能预售委托单信息
  25782. tags:
  25783. - 产能预售
  25784. /CPTrade/QueryMyCPTradeGoods:
  25785. get:
  25786. parameters:
  25787. - description: 资金账户
  25788. in: query
  25789. name: accountid
  25790. required: true
  25791. type: integer
  25792. produces:
  25793. - application/json
  25794. responses:
  25795. "200":
  25796. description: OK
  25797. schema:
  25798. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  25799. "500":
  25800. description: Internal Server Error
  25801. schema:
  25802. $ref: '#/definitions/app.Response'
  25803. security:
  25804. - ApiKeyAuth: []
  25805. summary: 查询我的预售信息
  25806. tags:
  25807. - 产能预售
  25808. /CPTrade/QueryPositionCancel:
  25809. get:
  25810. parameters:
  25811. - description: 账户ID
  25812. in: query
  25813. name: userid
  25814. required: true
  25815. type: integer
  25816. - description: 注销ID
  25817. in: query
  25818. name: cancelid
  25819. type: integer
  25820. - description: 资金账户ID
  25821. in: query
  25822. name: accountid
  25823. type: integer
  25824. produces:
  25825. - application/json
  25826. responses:
  25827. "200":
  25828. description: OK
  25829. schema:
  25830. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  25831. "500":
  25832. description: Internal Server Error
  25833. schema:
  25834. $ref: '#/definitions/app.Response'
  25835. security:
  25836. - ApiKeyAuth: []
  25837. summary: 查询远期订单注销申请信息
  25838. tags:
  25839. - 产能预售
  25840. /CPTrade/QueryPreasleApply:
  25841. get:
  25842. parameters:
  25843. - description: 账户ID
  25844. in: query
  25845. name: userid
  25846. required: true
  25847. type: integer
  25848. - description: 申请ID
  25849. in: query
  25850. name: applyid
  25851. type: integer
  25852. - description: 资金账户ID
  25853. in: query
  25854. name: accountid
  25855. type: integer
  25856. produces:
  25857. - application/json
  25858. responses:
  25859. "200":
  25860. description: OK
  25861. schema:
  25862. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  25863. "500":
  25864. description: Internal Server Error
  25865. schema:
  25866. $ref: '#/definitions/app.Response'
  25867. security:
  25868. - ApiKeyAuth: []
  25869. summary: 查询产能预售申请信息
  25870. tags:
  25871. - 产能预售
  25872. /CPTrade/QueryPresaleGoodsEx:
  25873. get:
  25874. parameters:
  25875. - description: 预售商品ID
  25876. in: query
  25877. name: goodsid
  25878. type: integer
  25879. - description: 预售市场ID
  25880. in: query
  25881. name: marketid
  25882. type: integer
  25883. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  25884. in: query
  25885. name: presalemode
  25886. type: integer
  25887. - description: 预售商品ID列表 - 格式:1,2,3
  25888. in: query
  25889. name: goodsids
  25890. type: string
  25891. - description: 预售商品代码
  25892. in: query
  25893. name: goodscode
  25894. type: string
  25895. produces:
  25896. - application/json
  25897. responses:
  25898. "200":
  25899. description: OK
  25900. schema:
  25901. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  25902. "500":
  25903. description: Internal Server Error
  25904. schema:
  25905. $ref: '#/definitions/app.Response'
  25906. security:
  25907. - ApiKeyAuth: []
  25908. summary: 查询产能预售商品扩展信息
  25909. tags:
  25910. - 产能预售
  25911. /CPTrade/QueryUserGoodsData:
  25912. get:
  25913. parameters:
  25914. - description: 资金账户ID
  25915. in: query
  25916. name: accountid
  25917. required: true
  25918. type: integer
  25919. produces:
  25920. - application/json
  25921. responses:
  25922. "200":
  25923. description: OK
  25924. schema:
  25925. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  25926. "500":
  25927. description: Internal Server Error
  25928. schema:
  25929. $ref: '#/definitions/app.Response'
  25930. security:
  25931. - ApiKeyAuth: []
  25932. summary: 查询远期订单信息
  25933. tags:
  25934. - 产能预售
  25935. /Common/DeleteNewFuncmenu:
  25936. delete:
  25937. consumes:
  25938. - application/json
  25939. parameters:
  25940. - description: 菜单表数据,只需要resourcecode字段即可
  25941. in: body
  25942. name: data
  25943. required: true
  25944. schema:
  25945. $ref: '#/definitions/models.NewFuncmenulist'
  25946. produces:
  25947. - application/json
  25948. responses:
  25949. "200":
  25950. description: OK
  25951. schema:
  25952. $ref: '#/definitions/app.Response'
  25953. "500":
  25954. description: Internal Server Error
  25955. schema:
  25956. $ref: '#/definitions/app.Response'
  25957. security:
  25958. - ApiKeyAuth: []
  25959. summary: 删除菜单表数据
  25960. tags:
  25961. - 通用服务
  25962. /Common/FindNewFuncmenu:
  25963. get:
  25964. parameters:
  25965. - description: 资源代码
  25966. in: query
  25967. name: resourcecode
  25968. type: string
  25969. - description: 上级资源代码
  25970. in: query
  25971. name: parentcode
  25972. type: string
  25973. - description: 资源名(Title), 模糊查询
  25974. in: query
  25975. name: resourcename
  25976. type: string
  25977. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  25978. in: query
  25979. name: menutype
  25980. type: string
  25981. produces:
  25982. - application/json
  25983. responses:
  25984. "200":
  25985. description: OK
  25986. schema:
  25987. items:
  25988. $ref: '#/definitions/models.NewFuncmenulist'
  25989. type: array
  25990. "500":
  25991. description: Internal Server Error
  25992. schema:
  25993. $ref: '#/definitions/app.Response'
  25994. security:
  25995. - ApiKeyAuth: []
  25996. summary: 获取菜单表数据
  25997. tags:
  25998. - 通用服务
  25999. /Common/GetAllEnums:
  26000. get:
  26001. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  26002. parameters:
  26003. - description: 起始自增ID
  26004. in: query
  26005. name: autoid
  26006. type: integer
  26007. produces:
  26008. - application/json
  26009. responses:
  26010. "200":
  26011. description: OK
  26012. schema:
  26013. $ref: '#/definitions/models.Enumdicitem'
  26014. "500":
  26015. description: Internal Server Error
  26016. schema:
  26017. $ref: '#/definitions/app.Response'
  26018. summary: 获取所有枚举信息
  26019. tags:
  26020. - 通用服务
  26021. /Common/GetClientMenus:
  26022. get:
  26023. parameters:
  26024. - description: 登录账号
  26025. in: query
  26026. name: loginID
  26027. required: true
  26028. type: integer
  26029. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  26030. in: query
  26031. name: clientType
  26032. type: integer
  26033. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  26034. in: query
  26035. name: name
  26036. type: string
  26037. produces:
  26038. - application/json
  26039. responses:
  26040. "200":
  26041. description: OK
  26042. schema:
  26043. items:
  26044. $ref: '#/definitions/common.ClientMenu'
  26045. type: array
  26046. "500":
  26047. description: Internal Server Error
  26048. schema:
  26049. $ref: '#/definitions/app.Response'
  26050. security:
  26051. - ApiKeyAuth: []
  26052. summary: 获取交易端菜单
  26053. tags:
  26054. - 通用服务
  26055. /Common/GetClientNewFuncmenu:
  26056. get:
  26057. parameters:
  26058. - description: 登录账号
  26059. in: query
  26060. name: loginid
  26061. required: true
  26062. type: integer
  26063. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26064. in: query
  26065. name: menutype
  26066. required: true
  26067. type: integer
  26068. produces:
  26069. - application/json
  26070. responses:
  26071. "200":
  26072. description: OK
  26073. schema:
  26074. items:
  26075. $ref: '#/definitions/models.NewFuncmenulist'
  26076. type: array
  26077. "500":
  26078. description: Internal Server Error
  26079. schema:
  26080. $ref: '#/definitions/app.Response'
  26081. security:
  26082. - ApiKeyAuth: []
  26083. summary: 获取终端菜单
  26084. tags:
  26085. - 通用服务
  26086. /Common/GetDivisions:
  26087. get:
  26088. produces:
  26089. - application/json
  26090. responses:
  26091. "200":
  26092. description: OK
  26093. schema:
  26094. $ref: '#/definitions/models.Division'
  26095. "500":
  26096. description: Internal Server Error
  26097. schema:
  26098. $ref: '#/definitions/app.Response'
  26099. summary: 查询区域信息
  26100. tags:
  26101. - 通用服务
  26102. /Common/GetPCWebMenus:
  26103. get:
  26104. parameters:
  26105. - description: 登录账号
  26106. in: query
  26107. name: loginID
  26108. required: true
  26109. type: integer
  26110. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  26111. in: query
  26112. name: name
  26113. type: string
  26114. produces:
  26115. - application/json
  26116. responses:
  26117. "200":
  26118. description: OK
  26119. schema:
  26120. items:
  26121. $ref: '#/definitions/common.PCWebMenu'
  26122. type: array
  26123. "500":
  26124. description: Internal Server Error
  26125. schema:
  26126. $ref: '#/definitions/app.Response'
  26127. security:
  26128. - ApiKeyAuth: []
  26129. summary: 获取PCWeb交易端菜单
  26130. tags:
  26131. - 通用服务
  26132. /Common/GetServerTime:
  26133. get:
  26134. produces:
  26135. - application/json
  26136. responses:
  26137. "200":
  26138. description: OK
  26139. schema:
  26140. $ref: '#/definitions/app.Response'
  26141. "500":
  26142. description: Internal Server Error
  26143. schema:
  26144. $ref: '#/definitions/app.Response'
  26145. summary: 获取服务器时间
  26146. tags:
  26147. - 通用服务
  26148. /Common/InsertNewFuncmenu:
  26149. post:
  26150. consumes:
  26151. - application/json
  26152. parameters:
  26153. - description: 菜单表数据
  26154. in: body
  26155. name: data
  26156. required: true
  26157. schema:
  26158. $ref: '#/definitions/models.NewFuncmenulist'
  26159. produces:
  26160. - application/json
  26161. responses:
  26162. "200":
  26163. description: OK
  26164. schema:
  26165. $ref: '#/definitions/app.Response'
  26166. "500":
  26167. description: Internal Server Error
  26168. schema:
  26169. $ref: '#/definitions/app.Response'
  26170. security:
  26171. - ApiKeyAuth: []
  26172. summary: 插入菜单表数据
  26173. tags:
  26174. - 通用服务
  26175. /Common/NoticeReaded:
  26176. post:
  26177. parameters:
  26178. - description: 登录账号
  26179. in: query
  26180. name: loginID
  26181. required: true
  26182. type: integer
  26183. - description: 通知公告ID
  26184. in: query
  26185. name: noticeID
  26186. required: true
  26187. type: integer
  26188. produces:
  26189. - application/json
  26190. responses:
  26191. "200":
  26192. description: OK
  26193. schema:
  26194. $ref: '#/definitions/app.Response'
  26195. "500":
  26196. description: Internal Server Error
  26197. schema:
  26198. $ref: '#/definitions/app.Response'
  26199. security:
  26200. - ApiKeyAuth: []
  26201. summary: 通知公告设置已读请求
  26202. tags:
  26203. - 通用服务
  26204. /Common/QueryErrorInfos:
  26205. get:
  26206. description: 如果传入rowNumber,则返回此rowNumber后的数据
  26207. parameters:
  26208. - description: 起始行号前索引
  26209. in: query
  26210. name: rowNumber
  26211. type: string
  26212. produces:
  26213. - application/json
  26214. responses:
  26215. "200":
  26216. description: OK
  26217. schema:
  26218. $ref: '#/definitions/models.QueryErrorInfosRsp'
  26219. "500":
  26220. description: Internal Server Error
  26221. schema:
  26222. $ref: '#/definitions/app.Response'
  26223. summary: 获取数据库错误信息
  26224. tags:
  26225. - 通用服务
  26226. /Common/QueryImageConfigs:
  26227. get:
  26228. parameters:
  26229. - description: 用户id
  26230. in: query
  26231. name: userId
  26232. type: integer
  26233. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  26234. in: query
  26235. name: imageType
  26236. type: integer
  26237. produces:
  26238. - application/json
  26239. responses:
  26240. "200":
  26241. description: OK
  26242. schema:
  26243. $ref: '#/definitions/common.QueryImageConfigsRsp'
  26244. "500":
  26245. description: Internal Server Error
  26246. schema:
  26247. $ref: '#/definitions/app.Response'
  26248. summary: 查询轮播图配置信息
  26249. tags:
  26250. - 通用服务
  26251. /Common/QueryNotice:
  26252. get:
  26253. parameters:
  26254. - description: 页码
  26255. in: query
  26256. name: page
  26257. type: integer
  26258. - description: 每页条数
  26259. in: query
  26260. name: pagesize
  26261. type: integer
  26262. - description: 分页标志 0-page从0开始 1-page从1开始
  26263. in: query
  26264. name: pageflag
  26265. type: integer
  26266. - description: 登录账号
  26267. in: query
  26268. name: loginID
  26269. required: true
  26270. type: integer
  26271. - description: 消息类型 - 1:公告通知 2:系统消息
  26272. in: query
  26273. name: msgType
  26274. type: integer
  26275. - description: 是否只获取未读信息
  26276. in: query
  26277. name: onlyUnRead
  26278. type: boolean
  26279. - description: 自增ID,传入后会返回这个ID后面的记录
  26280. in: query
  26281. name: lastID
  26282. type: integer
  26283. produces:
  26284. - application/json
  26285. responses:
  26286. "200":
  26287. description: OK
  26288. schema:
  26289. $ref: '#/definitions/common.QueryNoticeRsp'
  26290. "500":
  26291. description: Internal Server Error
  26292. schema:
  26293. $ref: '#/definitions/app.Response'
  26294. security:
  26295. - ApiKeyAuth: []
  26296. summary: 通知公告系统消息查询
  26297. tags:
  26298. - 通用服务
  26299. /Common/QueryProvincesAndCities:
  26300. get:
  26301. parameters:
  26302. - description: 省ID
  26303. in: query
  26304. name: provinceID
  26305. type: integer
  26306. produces:
  26307. - application/json
  26308. responses:
  26309. "200":
  26310. description: OK
  26311. schema:
  26312. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  26313. "500":
  26314. description: Internal Server Error
  26315. schema:
  26316. $ref: '#/definitions/app.Response'
  26317. summary: 查询省市信息(不包括区)
  26318. tags:
  26319. - 通用服务
  26320. /Common/QueryRates:
  26321. get:
  26322. parameters:
  26323. - description: 页码
  26324. in: query
  26325. name: page
  26326. type: integer
  26327. - description: 每页条数
  26328. in: query
  26329. name: pagesize
  26330. type: integer
  26331. - description: 源币种ID
  26332. in: query
  26333. name: oricurrencyid
  26334. type: integer
  26335. - description: 目标币种ID
  26336. in: query
  26337. name: descurrencyid
  26338. type: integer
  26339. produces:
  26340. - application/json
  26341. responses:
  26342. "200":
  26343. description: OK
  26344. schema:
  26345. items:
  26346. $ref: '#/definitions/models.Exchangerateconfig'
  26347. type: array
  26348. "500":
  26349. description: Internal Server Error
  26350. schema:
  26351. $ref: '#/definitions/app.Response'
  26352. security:
  26353. - ApiKeyAuth: []
  26354. - LoginID: []
  26355. - Group: []
  26356. summary: 查询汇率信息
  26357. tags:
  26358. - 通用服务
  26359. /Common/QueryTableDefine:
  26360. get:
  26361. parameters:
  26362. - description: 表key
  26363. in: query
  26364. name: tableKey
  26365. type: string
  26366. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  26367. in: query
  26368. name: tableType
  26369. type: integer
  26370. produces:
  26371. - application/json
  26372. responses:
  26373. "200":
  26374. description: OK
  26375. schema:
  26376. $ref: '#/definitions/common.QueryTableDefineRsp'
  26377. "500":
  26378. description: Internal Server Error
  26379. schema:
  26380. $ref: '#/definitions/app.Response'
  26381. summary: 查询交易端列表头信息
  26382. tags:
  26383. - 通用服务
  26384. /Common/QueryTraderMenu:
  26385. get:
  26386. parameters:
  26387. - description: 登录账号
  26388. in: query
  26389. name: loginid
  26390. required: true
  26391. type: integer
  26392. produces:
  26393. - application/json
  26394. responses:
  26395. "200":
  26396. description: OK
  26397. schema:
  26398. $ref: '#/definitions/common.QueryTraderMenuRsp'
  26399. "500":
  26400. description: Internal Server Error
  26401. schema:
  26402. $ref: '#/definitions/app.Response'
  26403. summary: 查询交易端菜单
  26404. tags:
  26405. - 通用服务
  26406. /Common/UpdateNewFuncmenu:
  26407. put:
  26408. consumes:
  26409. - application/json
  26410. parameters:
  26411. - description: 菜单表数据
  26412. in: body
  26413. name: data
  26414. required: true
  26415. schema:
  26416. $ref: '#/definitions/models.NewFuncmenulist'
  26417. produces:
  26418. - application/json
  26419. responses:
  26420. "200":
  26421. description: OK
  26422. schema:
  26423. $ref: '#/definitions/app.Response'
  26424. "500":
  26425. description: Internal Server Error
  26426. schema:
  26427. $ref: '#/definitions/app.Response'
  26428. security:
  26429. - ApiKeyAuth: []
  26430. summary: 更新菜单表数据
  26431. tags:
  26432. - 通用服务
  26433. /Delivery/QueryDeliveryRelation:
  26434. get:
  26435. parameters:
  26436. - description: 商品ID
  26437. in: query
  26438. name: goodsid
  26439. type: integer
  26440. - description: 品种ID
  26441. in: query
  26442. name: deliverygoodsid
  26443. type: integer
  26444. - description: 市场ID
  26445. in: query
  26446. name: marketid
  26447. type: integer
  26448. produces:
  26449. - application/json
  26450. responses:
  26451. "200":
  26452. description: OK
  26453. schema:
  26454. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  26455. "500":
  26456. description: Internal Server Error
  26457. schema:
  26458. $ref: '#/definitions/app.Response'
  26459. security:
  26460. - ApiKeyAuth: []
  26461. summary: 查询商品交割关系表
  26462. tags:
  26463. - 交割服务
  26464. /Ermcp/GetErmcpGoods:
  26465. get:
  26466. parameters:
  26467. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  26468. in: query
  26469. name: userid
  26470. type: integer
  26471. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26472. in: query
  26473. name: lastUpdateTime
  26474. type: string
  26475. produces:
  26476. - application/json
  26477. responses:
  26478. "200":
  26479. description: OK
  26480. schema:
  26481. $ref: '#/definitions/models.ErmcpGoods'
  26482. "500":
  26483. description: Internal Server Error
  26484. schema:
  26485. $ref: '#/definitions/app.Response'
  26486. security:
  26487. - ApiKeyAuth: []
  26488. summary: 查询企业风管期货商品信息
  26489. tags:
  26490. - 企业风险管理(app)
  26491. /Ermcp/GetErmcpGoodsSortByPosition:
  26492. get:
  26493. parameters:
  26494. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  26495. in: query
  26496. name: sortIndex
  26497. type: string
  26498. produces:
  26499. - application/json
  26500. responses:
  26501. "200":
  26502. description: OK
  26503. schema:
  26504. $ref: '#/definitions/models.Goodssortbypreposition'
  26505. "500":
  26506. description: Internal Server Error
  26507. schema:
  26508. $ref: '#/definitions/app.Response'
  26509. security:
  26510. - ApiKeyAuth: []
  26511. summary: 查询企业风管期货主力、次主力商品信息
  26512. tags:
  26513. - 企业风险管理(app)
  26514. /Ermcp/GetErmcpOutAccountStatus:
  26515. get:
  26516. parameters:
  26517. - description: 登录账号
  26518. in: query
  26519. name: loginID
  26520. required: true
  26521. type: integer
  26522. produces:
  26523. - application/json
  26524. responses:
  26525. "200":
  26526. description: OK
  26527. schema:
  26528. $ref: '#/definitions/models.Hedgemarketopenlog'
  26529. "500":
  26530. description: Internal Server Error
  26531. schema:
  26532. $ref: '#/definitions/app.Response'
  26533. security:
  26534. - ApiKeyAuth: []
  26535. summary: 获取目标登录账号当前对冲账号在线状态
  26536. tags:
  26537. - 企业风险管理(app)
  26538. /Ermcp/GetErmcpRoleFuncMenuLists:
  26539. get:
  26540. parameters:
  26541. - description: 登录账号
  26542. in: query
  26543. name: loginID
  26544. required: true
  26545. type: integer
  26546. produces:
  26547. - application/json
  26548. responses:
  26549. "200":
  26550. description: OK
  26551. schema:
  26552. $ref: '#/definitions/models.Funcmenulist'
  26553. "500":
  26554. description: Internal Server Error
  26555. schema:
  26556. $ref: '#/definitions/app.Response'
  26557. security:
  26558. - ApiKeyAuth: []
  26559. summary: 获取企业风管终端权限
  26560. tags:
  26561. - 企业风险管理(app)
  26562. /Ermcp/QueryAccMgrBizGroupSet:
  26563. get:
  26564. parameters:
  26565. - description: 用户ID
  26566. in: query
  26567. name: userid
  26568. required: true
  26569. type: integer
  26570. - description: 现货商品id
  26571. in: query
  26572. name: deliverygoodsid
  26573. type: integer
  26574. produces:
  26575. - application/json
  26576. responses:
  26577. "200":
  26578. description: OK
  26579. schema:
  26580. items:
  26581. $ref: '#/definitions/models.ErmcpBizGroupEx'
  26582. type: array
  26583. "500":
  26584. description: Internal Server Error
  26585. schema:
  26586. $ref: '#/definitions/app.Response'
  26587. security:
  26588. - ApiKeyAuth: []
  26589. summary: 查询业务类型分组(账户管理/账户设置)
  26590. tags:
  26591. - 企业风险管理(app)
  26592. /Ermcp/QueryAccMgrLoginUser:
  26593. get:
  26594. parameters:
  26595. - description: 用户ID
  26596. in: query
  26597. name: userid
  26598. required: true
  26599. type: integer
  26600. - description: 用户类型 2-机构 7-企业成员
  26601. in: query
  26602. name: usertype
  26603. type: integer
  26604. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  26605. in: query
  26606. name: querytype
  26607. required: true
  26608. type: integer
  26609. produces:
  26610. - application/json
  26611. responses:
  26612. "200":
  26613. description: OK
  26614. schema:
  26615. items:
  26616. $ref: '#/definitions/models.ErmcpLoginUserEx'
  26617. type: array
  26618. "500":
  26619. description: Internal Server Error
  26620. schema:
  26621. $ref: '#/definitions/app.Response'
  26622. security:
  26623. - ApiKeyAuth: []
  26624. summary: 查询账户管理登录账号(账户管理/登录账号)
  26625. tags:
  26626. - 企业风险管理(app)
  26627. /Ermcp/QueryAccMgrMainAccountInfo:
  26628. get:
  26629. parameters:
  26630. - description: 用户ID
  26631. in: query
  26632. name: userid
  26633. type: integer
  26634. - description: 主账号id
  26635. in: query
  26636. name: accountid
  26637. type: integer
  26638. produces:
  26639. - application/json
  26640. responses:
  26641. "200":
  26642. description: OK
  26643. schema:
  26644. items:
  26645. $ref: '#/definitions/models.MainAccountInfo'
  26646. type: array
  26647. "500":
  26648. description: Internal Server Error
  26649. schema:
  26650. $ref: '#/definitions/app.Response'
  26651. security:
  26652. - ApiKeyAuth: []
  26653. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  26654. tags:
  26655. - 企业风险管理(app)
  26656. /Ermcp/QueryAccMgrRole:
  26657. get:
  26658. parameters:
  26659. - description: 用户ID
  26660. in: query
  26661. name: userid
  26662. required: true
  26663. type: integer
  26664. produces:
  26665. - application/json
  26666. responses:
  26667. "200":
  26668. description: OK
  26669. schema:
  26670. items:
  26671. $ref: '#/definitions/models.ErmcpRole'
  26672. type: array
  26673. "500":
  26674. description: Internal Server Error
  26675. schema:
  26676. $ref: '#/definitions/app.Response'
  26677. security:
  26678. - ApiKeyAuth: []
  26679. summary: 查询账户管理角色设置(账户管理/角色设置)
  26680. tags:
  26681. - 企业风险管理(app)
  26682. /Ermcp/QueryAccMgrRoleMenu:
  26683. get:
  26684. parameters:
  26685. - description: 用户ID
  26686. in: query
  26687. name: userid
  26688. required: true
  26689. type: integer
  26690. - description: 角色id(可多个,逗号隔开)
  26691. in: query
  26692. name: roleid
  26693. type: string
  26694. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  26695. in: query
  26696. name: menutype
  26697. type: integer
  26698. produces:
  26699. - application/json
  26700. responses:
  26701. "200":
  26702. description: OK
  26703. schema:
  26704. items:
  26705. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  26706. type: array
  26707. "500":
  26708. description: Internal Server Error
  26709. schema:
  26710. $ref: '#/definitions/app.Response'
  26711. security:
  26712. - ApiKeyAuth: []
  26713. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  26714. tags:
  26715. - 企业风险管理(app)
  26716. /Ermcp/QueryAccMgrTaAccountInfo:
  26717. get:
  26718. parameters:
  26719. - description: 用户ID
  26720. in: query
  26721. name: userid
  26722. required: true
  26723. type: integer
  26724. - description: 账号id
  26725. in: query
  26726. name: accountid
  26727. type: integer
  26728. produces:
  26729. - application/json
  26730. responses:
  26731. "200":
  26732. description: OK
  26733. schema:
  26734. items:
  26735. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  26736. type: array
  26737. "500":
  26738. description: Internal Server Error
  26739. schema:
  26740. $ref: '#/definitions/app.Response'
  26741. security:
  26742. - ApiKeyAuth: []
  26743. summary: 查询账户管理授信(账户管理/账户设置/授信)
  26744. tags:
  26745. - 企业风险管理(app)
  26746. /Ermcp/QueryAccMgrTaaccount:
  26747. get:
  26748. parameters:
  26749. - description: 用户ID
  26750. in: query
  26751. name: userid
  26752. required: true
  26753. type: integer
  26754. produces:
  26755. - application/json
  26756. responses:
  26757. "200":
  26758. description: OK
  26759. schema:
  26760. items:
  26761. $ref: '#/definitions/models.ErmcpTaAccountEx'
  26762. type: array
  26763. "500":
  26764. description: Internal Server Error
  26765. schema:
  26766. $ref: '#/definitions/app.Response'
  26767. security:
  26768. - ApiKeyAuth: []
  26769. summary: 查询账户管理期货账号(账户管理/期货账号)
  26770. tags:
  26771. - 企业风险管理(app)
  26772. /Ermcp/QueryAvaildGoodsGroup:
  26773. get:
  26774. parameters:
  26775. - description: 所属机构ID
  26776. in: query
  26777. name: userid
  26778. required: true
  26779. type: integer
  26780. produces:
  26781. - application/json
  26782. responses:
  26783. "200":
  26784. description: OK
  26785. schema:
  26786. items:
  26787. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  26788. type: array
  26789. "500":
  26790. description: Internal Server Error
  26791. schema:
  26792. $ref: '#/definitions/app.Response'
  26793. security:
  26794. - ApiKeyAuth: []
  26795. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  26796. tags:
  26797. - 企业风险管理(app)
  26798. /Ermcp/QueryBusinessDj:
  26799. get:
  26800. parameters:
  26801. - description: 用户ID
  26802. in: query
  26803. name: UserId
  26804. required: true
  26805. type: integer
  26806. - description: 用户类型 2-机构 7-企业成员
  26807. in: query
  26808. name: usertype
  26809. type: integer
  26810. - description: 现货合同ID, 不填则查所有
  26811. in: query
  26812. name: relatedid
  26813. type: string
  26814. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26815. in: query
  26816. name: applystatus
  26817. type: string
  26818. produces:
  26819. - application/json
  26820. responses:
  26821. "200":
  26822. description: OK
  26823. schema:
  26824. items:
  26825. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  26826. type: array
  26827. "500":
  26828. description: Internal Server Error
  26829. schema:
  26830. $ref: '#/definitions/app.Response'
  26831. security:
  26832. - ApiKeyAuth: []
  26833. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  26834. tags:
  26835. - 企业风险管理(app)
  26836. /Ermcp/QueryBusinessFp:
  26837. get:
  26838. parameters:
  26839. - description: 用户ID
  26840. in: query
  26841. name: UserId
  26842. required: true
  26843. type: integer
  26844. - description: 用户类型 2-机构 7-企业成员
  26845. in: query
  26846. name: usertype
  26847. type: integer
  26848. - description: 现货合同ID, 不填则查所有
  26849. in: query
  26850. name: relatedid
  26851. type: string
  26852. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26853. in: query
  26854. name: applystatus
  26855. type: string
  26856. produces:
  26857. - application/json
  26858. responses:
  26859. "200":
  26860. description: OK
  26861. schema:
  26862. items:
  26863. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  26864. type: array
  26865. "500":
  26866. description: Internal Server Error
  26867. schema:
  26868. $ref: '#/definitions/app.Response'
  26869. security:
  26870. - ApiKeyAuth: []
  26871. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  26872. tags:
  26873. - 企业风险管理(app)
  26874. /Ermcp/QueryBusinessJs:
  26875. get:
  26876. parameters:
  26877. - description: 用户ID
  26878. in: query
  26879. name: UserId
  26880. required: true
  26881. type: integer
  26882. - description: 用户类型 2-机构 7-企业成员
  26883. in: query
  26884. name: usertype
  26885. type: integer
  26886. - description: 现货合同ID, 不填则查所有
  26887. in: query
  26888. name: relatedid
  26889. type: string
  26890. - description: 操作申请id
  26891. in: query
  26892. name: operateapplyid
  26893. type: string
  26894. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26895. in: query
  26896. name: applystatus
  26897. type: string
  26898. produces:
  26899. - application/json
  26900. responses:
  26901. "200":
  26902. description: OK
  26903. schema:
  26904. items:
  26905. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  26906. type: array
  26907. "500":
  26908. description: Internal Server Error
  26909. schema:
  26910. $ref: '#/definitions/app.Response'
  26911. security:
  26912. - ApiKeyAuth: []
  26913. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  26914. tags:
  26915. - 企业风险管理(app)
  26916. /Ermcp/QueryBusinessJsEx:
  26917. get:
  26918. parameters:
  26919. - description: 用户ID
  26920. in: query
  26921. name: UserId
  26922. required: true
  26923. type: integer
  26924. - description: 用户类型 2-机构 7-企业成员
  26925. in: query
  26926. name: usertype
  26927. type: integer
  26928. - description: 现货合同ID, 不填则查所有
  26929. in: query
  26930. name: relatedid
  26931. type: string
  26932. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26933. in: query
  26934. name: applystatus
  26935. type: string
  26936. produces:
  26937. - application/json
  26938. responses:
  26939. "200":
  26940. description: OK
  26941. schema:
  26942. items:
  26943. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  26944. type: array
  26945. "500":
  26946. description: Internal Server Error
  26947. schema:
  26948. $ref: '#/definitions/app.Response'
  26949. security:
  26950. - ApiKeyAuth: []
  26951. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  26952. tags:
  26953. - 企业风险管理(app)
  26954. /Ermcp/QueryBusinessKx:
  26955. get:
  26956. parameters:
  26957. - description: 用户ID
  26958. in: query
  26959. name: UserId
  26960. required: true
  26961. type: integer
  26962. - description: 用户类型 2-机构 7-企业成员
  26963. in: query
  26964. name: usertype
  26965. type: integer
  26966. - description: 现货合同ID, 不填则查所有
  26967. in: query
  26968. name: relatedid
  26969. type: string
  26970. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26971. in: query
  26972. name: applystatus
  26973. type: string
  26974. produces:
  26975. - application/json
  26976. responses:
  26977. "200":
  26978. description: OK
  26979. schema:
  26980. items:
  26981. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  26982. type: array
  26983. "500":
  26984. description: Internal Server Error
  26985. schema:
  26986. $ref: '#/definitions/app.Response'
  26987. security:
  26988. - ApiKeyAuth: []
  26989. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  26990. tags:
  26991. - 企业风险管理(app)
  26992. /Ermcp/QueryChangeLog:
  26993. get:
  26994. parameters:
  26995. - description: 合同ID
  26996. in: query
  26997. name: RelatedId
  26998. required: true
  26999. type: string
  27000. produces:
  27001. - application/json
  27002. responses:
  27003. "200":
  27004. description: OK
  27005. schema:
  27006. items:
  27007. $ref: '#/definitions/ermcp.QryOPLogRsp'
  27008. type: array
  27009. "500":
  27010. description: Internal Server Error
  27011. schema:
  27012. $ref: '#/definitions/app.Response'
  27013. security:
  27014. - ApiKeyAuth: []
  27015. summary: 查询变更记录
  27016. tags:
  27017. - 企业风险管理(app)
  27018. /Ermcp/QueryErmcpHisOrderDetails:
  27019. get:
  27020. parameters:
  27021. - description: 资金账户ID
  27022. in: query
  27023. name: accountID
  27024. required: true
  27025. type: integer
  27026. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27027. in: query
  27028. name: startDate
  27029. type: string
  27030. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27031. in: query
  27032. name: endDate
  27033. type: string
  27034. produces:
  27035. - application/json
  27036. responses:
  27037. "200":
  27038. description: OK
  27039. schema:
  27040. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27041. "500":
  27042. description: Internal Server Error
  27043. schema:
  27044. $ref: '#/definitions/app.Response'
  27045. security:
  27046. - ApiKeyAuth: []
  27047. summary: 获取企业风管期货历史委托单信息
  27048. tags:
  27049. - 企业风险管理(app)
  27050. /Ermcp/QueryErmcpHisTradeDetails:
  27051. get:
  27052. parameters:
  27053. - description: 资金账户ID
  27054. in: query
  27055. name: accountID
  27056. required: true
  27057. type: integer
  27058. - description: 商品ID
  27059. in: query
  27060. name: goodsID
  27061. type: integer
  27062. - description: 买卖方向,0:买 1:卖
  27063. in: query
  27064. name: buyOrSell
  27065. type: integer
  27066. - description: 关联委托单号
  27067. in: query
  27068. name: orderID
  27069. type: integer
  27070. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27071. in: query
  27072. name: startDate
  27073. type: string
  27074. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27075. in: query
  27076. name: endDate
  27077. type: string
  27078. produces:
  27079. - application/json
  27080. responses:
  27081. "200":
  27082. description: OK
  27083. schema:
  27084. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27085. "500":
  27086. description: Internal Server Error
  27087. schema:
  27088. $ref: '#/definitions/app.Response'
  27089. security:
  27090. - ApiKeyAuth: []
  27091. summary: 获取企业风管期货历史成交单信息
  27092. tags:
  27093. - 企业风险管理(app)
  27094. /Ermcp/QueryErmcpInnerHolderDetails:
  27095. get:
  27096. parameters:
  27097. - description: 资金账户ID
  27098. in: query
  27099. name: accountID
  27100. required: true
  27101. type: integer
  27102. - description: 商品ID
  27103. in: query
  27104. name: goodsID
  27105. type: integer
  27106. - description: 买卖方向,0:买 1:卖
  27107. in: query
  27108. name: buyOrSell
  27109. type: integer
  27110. produces:
  27111. - application/json
  27112. responses:
  27113. "200":
  27114. description: OK
  27115. schema:
  27116. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  27117. "500":
  27118. description: Internal Server Error
  27119. schema:
  27120. $ref: '#/definitions/app.Response'
  27121. security:
  27122. - ApiKeyAuth: []
  27123. summary: 获取企业风管期货内部持仓单信息
  27124. tags:
  27125. - 企业风险管理(app)
  27126. /Ermcp/QueryErmcpOrderDetails:
  27127. get:
  27128. parameters:
  27129. - description: 资金账户ID
  27130. in: query
  27131. name: accountID
  27132. required: true
  27133. type: integer
  27134. produces:
  27135. - application/json
  27136. responses:
  27137. "200":
  27138. description: OK
  27139. schema:
  27140. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27141. "500":
  27142. description: Internal Server Error
  27143. schema:
  27144. $ref: '#/definitions/app.Response'
  27145. security:
  27146. - ApiKeyAuth: []
  27147. summary: 获取企业风管期货委托单信息
  27148. tags:
  27149. - 企业风险管理(app)
  27150. /Ermcp/QueryErmcpTradeDetails:
  27151. get:
  27152. parameters:
  27153. - description: 资金账户ID
  27154. in: query
  27155. name: accountID
  27156. required: true
  27157. type: integer
  27158. - description: 商品ID
  27159. in: query
  27160. name: goodsID
  27161. type: integer
  27162. - description: 买卖方向,0:买 1:卖
  27163. in: query
  27164. name: buyOrSell
  27165. type: integer
  27166. - description: 关联委托单号
  27167. in: query
  27168. name: orderID
  27169. type: integer
  27170. produces:
  27171. - application/json
  27172. responses:
  27173. "200":
  27174. description: OK
  27175. schema:
  27176. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27177. "500":
  27178. description: Internal Server Error
  27179. schema:
  27180. $ref: '#/definitions/app.Response'
  27181. security:
  27182. - ApiKeyAuth: []
  27183. summary: 获取企业风管期货成交单信息
  27184. tags:
  27185. - 企业风险管理(app)
  27186. /Ermcp/QueryErmcpTradePosition:
  27187. get:
  27188. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  27189. parameters:
  27190. - description: 资金账户ID
  27191. in: query
  27192. name: accountID
  27193. required: true
  27194. type: integer
  27195. - description: 所属市场ID
  27196. in: query
  27197. name: marketID
  27198. type: integer
  27199. produces:
  27200. - application/json
  27201. responses:
  27202. "200":
  27203. description: OK
  27204. schema:
  27205. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  27206. "500":
  27207. description: Internal Server Error
  27208. schema:
  27209. $ref: '#/definitions/app.Response'
  27210. security:
  27211. - ApiKeyAuth: []
  27212. summary: 获取企业风管期货持仓头寸信息
  27213. tags:
  27214. - 企业风险管理(app)
  27215. /Ermcp/QueryExposureDetail:
  27216. get:
  27217. parameters:
  27218. - description: 所属机构ID
  27219. in: query
  27220. name: areaUserId
  27221. required: true
  27222. type: integer
  27223. - description: 套保商品
  27224. in: query
  27225. name: middleGoodsId
  27226. required: true
  27227. type: integer
  27228. produces:
  27229. - application/json
  27230. responses:
  27231. "200":
  27232. description: OK
  27233. schema:
  27234. items:
  27235. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  27236. type: array
  27237. "500":
  27238. description: Internal Server Error
  27239. schema:
  27240. $ref: '#/definitions/app.Response'
  27241. security:
  27242. - ApiKeyAuth: []
  27243. summary: 查询敞口现货明细
  27244. tags:
  27245. - 企业风险管理(app)
  27246. /Ermcp/QueryExposureGoods:
  27247. get:
  27248. parameters:
  27249. - description: 套保商品id
  27250. in: query
  27251. name: middlegoodsid
  27252. required: true
  27253. type: integer
  27254. produces:
  27255. - application/json
  27256. responses:
  27257. "200":
  27258. description: OK
  27259. schema:
  27260. items:
  27261. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  27262. type: array
  27263. "500":
  27264. description: Internal Server Error
  27265. schema:
  27266. $ref: '#/definitions/app.Response'
  27267. security:
  27268. - ApiKeyAuth: []
  27269. summary: 查询敞口主力合约
  27270. tags:
  27271. - 企业风险管理(app)
  27272. /Ermcp/QueryExposureHedgePosition:
  27273. get:
  27274. parameters:
  27275. - description: 用户id
  27276. in: query
  27277. name: userid
  27278. required: true
  27279. type: integer
  27280. produces:
  27281. - application/json
  27282. responses:
  27283. "200":
  27284. description: OK
  27285. schema:
  27286. items:
  27287. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  27288. type: array
  27289. "500":
  27290. description: Internal Server Error
  27291. schema:
  27292. $ref: '#/definitions/app.Response'
  27293. security:
  27294. - ApiKeyAuth: []
  27295. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  27296. tags:
  27297. - 企业风险管理(app)
  27298. /Ermcp/QueryExposureHedgePositionDetail:
  27299. get:
  27300. parameters:
  27301. - description: 所属机构ID
  27302. in: query
  27303. name: userid
  27304. required: true
  27305. type: integer
  27306. - description: 商品id
  27307. in: query
  27308. name: goodsId
  27309. required: true
  27310. type: integer
  27311. produces:
  27312. - application/json
  27313. responses:
  27314. "200":
  27315. description: OK
  27316. schema:
  27317. items:
  27318. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  27319. type: array
  27320. "500":
  27321. description: Internal Server Error
  27322. schema:
  27323. $ref: '#/definitions/app.Response'
  27324. security:
  27325. - ApiKeyAuth: []
  27326. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  27327. tags:
  27328. - 企业风险管理(app)
  27329. /Ermcp/QueryExposureSpot:
  27330. get:
  27331. parameters:
  27332. - description: 所属机构ID
  27333. in: query
  27334. name: areaUserId
  27335. required: true
  27336. type: integer
  27337. produces:
  27338. - application/json
  27339. responses:
  27340. "200":
  27341. description: OK
  27342. schema:
  27343. items:
  27344. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  27345. type: array
  27346. "500":
  27347. description: Internal Server Error
  27348. schema:
  27349. $ref: '#/definitions/app.Response'
  27350. security:
  27351. - ApiKeyAuth: []
  27352. summary: 查询敞口现货头寸(敞口/现货头寸)
  27353. tags:
  27354. - 企业风险管理(app)
  27355. /Ermcp/QueryExposureSpotDetail:
  27356. get:
  27357. parameters:
  27358. - description: 所属机构ID
  27359. in: query
  27360. name: areaUserId
  27361. required: true
  27362. type: integer
  27363. - description: 现货品种ID
  27364. in: query
  27365. name: wrstandardId
  27366. required: true
  27367. type: integer
  27368. produces:
  27369. - application/json
  27370. responses:
  27371. "200":
  27372. description: OK
  27373. schema:
  27374. items:
  27375. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  27376. type: array
  27377. "500":
  27378. description: Internal Server Error
  27379. schema:
  27380. $ref: '#/definitions/app.Response'
  27381. security:
  27382. - ApiKeyAuth: []
  27383. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  27384. tags:
  27385. - 企业风险管理(app)
  27386. /Ermcp/QueryFuturesCompany:
  27387. get:
  27388. produces:
  27389. - application/json
  27390. responses:
  27391. "200":
  27392. description: OK
  27393. schema:
  27394. items:
  27395. $ref: '#/definitions/models.ErmcpFuturesCompany'
  27396. type: array
  27397. "500":
  27398. description: Internal Server Error
  27399. schema:
  27400. $ref: '#/definitions/app.Response'
  27401. security:
  27402. - ApiKeyAuth: []
  27403. summary: 查询期货公司
  27404. tags:
  27405. - 企业风险管理(app)
  27406. /Ermcp/QueryGGConvertConfig:
  27407. get:
  27408. parameters:
  27409. - description: 品种id(不填则查所有)
  27410. in: query
  27411. name: goodsgroupid
  27412. type: integer
  27413. produces:
  27414. - application/json
  27415. responses:
  27416. "200":
  27417. description: OK
  27418. schema:
  27419. items:
  27420. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  27421. type: array
  27422. "500":
  27423. description: Internal Server Error
  27424. schema:
  27425. $ref: '#/definitions/app.Response'
  27426. security:
  27427. - ApiKeyAuth: []
  27428. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  27429. tags:
  27430. - 企业风险管理(app)
  27431. /Ermcp/QueryGoodsBrand:
  27432. get:
  27433. parameters:
  27434. - description: 用户ID
  27435. in: query
  27436. name: userid
  27437. required: true
  27438. type: integer
  27439. - description: 现货商品ID
  27440. in: query
  27441. name: wrstandardid
  27442. type: integer
  27443. produces:
  27444. - application/json
  27445. responses:
  27446. "200":
  27447. description: OK
  27448. schema:
  27449. items:
  27450. $ref: '#/definitions/models.ErmcpGoodsBrand'
  27451. type: array
  27452. "500":
  27453. description: Internal Server Error
  27454. schema:
  27455. $ref: '#/definitions/app.Response'
  27456. security:
  27457. - ApiKeyAuth: []
  27458. summary: 查询商品品牌
  27459. tags:
  27460. - 企业风险管理(app)
  27461. /Ermcp/QueryGoodsModel:
  27462. get:
  27463. parameters:
  27464. - description: 用户ID
  27465. in: query
  27466. name: userid
  27467. required: true
  27468. type: integer
  27469. produces:
  27470. - application/json
  27471. responses:
  27472. "200":
  27473. description: OK
  27474. schema:
  27475. items:
  27476. $ref: '#/definitions/models.ErmcpGoodsModel'
  27477. type: array
  27478. "500":
  27479. description: Internal Server Error
  27480. schema:
  27481. $ref: '#/definitions/app.Response'
  27482. security:
  27483. - ApiKeyAuth: []
  27484. summary: 查询商品型号
  27485. tags:
  27486. - 企业风险管理(app)
  27487. /Ermcp/QueryHisExposure:
  27488. get:
  27489. parameters:
  27490. - description: 用户id
  27491. in: query
  27492. name: userid
  27493. required: true
  27494. type: integer
  27495. - description: 每个品种记录数
  27496. in: query
  27497. name: lastNum
  27498. required: true
  27499. type: integer
  27500. produces:
  27501. - application/json
  27502. responses:
  27503. "200":
  27504. description: OK
  27505. schema:
  27506. items:
  27507. $ref: '#/definitions/ermcp.HisExposureRsp'
  27508. type: array
  27509. "500":
  27510. description: Internal Server Error
  27511. schema:
  27512. $ref: '#/definitions/app.Response'
  27513. security:
  27514. - ApiKeyAuth: []
  27515. summary: 查询历史敞口(菜单:敞口/历史敞口)
  27516. tags:
  27517. - 企业风险管理(app)
  27518. /Ermcp/QueryMiddleGoods:
  27519. get:
  27520. parameters:
  27521. - description: 所属机构ID
  27522. in: query
  27523. name: userid
  27524. required: true
  27525. type: integer
  27526. - description: 状态 0-停用 1-正常
  27527. in: query
  27528. name: status
  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/ermcp.QryMiddleGoodsRsp'
  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. - 企业风险管理(app)
  27549. /Ermcp/QueryMiddleGoodsChangeLog:
  27550. get:
  27551. parameters:
  27552. - description: 所属机构ID
  27553. in: query
  27554. name: userid
  27555. required: true
  27556. type: integer
  27557. - description: 套保品种id
  27558. in: query
  27559. name: middlegoodsid
  27560. required: true
  27561. type: integer
  27562. produces:
  27563. - application/json
  27564. responses:
  27565. "200":
  27566. description: OK
  27567. schema:
  27568. items:
  27569. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  27570. type: array
  27571. "500":
  27572. description: Internal Server Error
  27573. schema:
  27574. $ref: '#/definitions/app.Response'
  27575. security:
  27576. - ApiKeyAuth: []
  27577. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  27578. tags:
  27579. - 企业风险管理(app)
  27580. /Ermcp/QueryMiddleGoodsDetail:
  27581. get:
  27582. parameters:
  27583. - description: 所属机构ID
  27584. in: query
  27585. name: userid
  27586. required: true
  27587. type: integer
  27588. - description: 套保品种id
  27589. in: query
  27590. name: middlegoodsid
  27591. type: integer
  27592. produces:
  27593. - application/json
  27594. responses:
  27595. "200":
  27596. description: OK
  27597. schema:
  27598. items:
  27599. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  27600. type: array
  27601. "500":
  27602. description: Internal Server Error
  27603. schema:
  27604. $ref: '#/definitions/app.Response'
  27605. security:
  27606. - ApiKeyAuth: []
  27607. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  27608. tags:
  27609. - 企业风险管理(app)
  27610. /Ermcp/QueryPendingAuditInfo:
  27611. get:
  27612. parameters:
  27613. - description: 用户ID
  27614. in: query
  27615. name: UserId
  27616. required: true
  27617. type: integer
  27618. produces:
  27619. - application/json
  27620. responses:
  27621. "200":
  27622. description: OK
  27623. schema:
  27624. items:
  27625. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  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. - 企业风险管理(app)
  27636. /Ermcp/QueryRealtimeExposure:
  27637. get:
  27638. parameters:
  27639. - description: 所属机构ID
  27640. in: query
  27641. name: userid
  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/ermcp.RealtimeExposureRsp'
  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. - 企业风险管理(app)
  27662. /Ermcp/QueryRealtimeExposurePosition:
  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/ermcp.RealtimeExposurePositionRsp'
  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. - 企业风险管理(app)
  27693. /Ermcp/QueryRoleMenu:
  27694. get:
  27695. parameters:
  27696. - description: 登录ID
  27697. in: query
  27698. name: loginid
  27699. required: true
  27700. type: integer
  27701. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  27702. in: query
  27703. name: menutype
  27704. type: integer
  27705. produces:
  27706. - application/json
  27707. responses:
  27708. "200":
  27709. description: OK
  27710. schema:
  27711. items:
  27712. $ref: '#/definitions/models.RoleMenu'
  27713. type: array
  27714. "500":
  27715. description: Internal Server Error
  27716. schema:
  27717. $ref: '#/definitions/app.Response'
  27718. security:
  27719. - ApiKeyAuth: []
  27720. summary: 查询角色菜单和权限
  27721. tags:
  27722. - 企业风险管理(app)
  27723. /Ermcp/QueryTradeConfigTMP:
  27724. get:
  27725. parameters:
  27726. - description: 所属机构id
  27727. in: query
  27728. name: areauserid
  27729. type: integer
  27730. produces:
  27731. - application/json
  27732. responses:
  27733. "200":
  27734. description: OK
  27735. schema:
  27736. items:
  27737. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  27738. type: array
  27739. "500":
  27740. description: Internal Server Error
  27741. schema:
  27742. $ref: '#/definitions/app.Response'
  27743. security:
  27744. - ApiKeyAuth: []
  27745. summary: 查询交易模板配置
  27746. tags:
  27747. - 企业风险管理(app)
  27748. /Ermcp/QueryUserInfo:
  27749. get:
  27750. parameters:
  27751. - description: 所属机构用户ID
  27752. in: query
  27753. name: MemberUserID
  27754. required: true
  27755. type: integer
  27756. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  27757. in: query
  27758. name: queryType
  27759. required: true
  27760. type: integer
  27761. produces:
  27762. - application/json
  27763. responses:
  27764. "200":
  27765. description: OK
  27766. schema:
  27767. items:
  27768. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  27769. type: array
  27770. "500":
  27771. description: Internal Server Error
  27772. schema:
  27773. $ref: '#/definitions/app.Response'
  27774. security:
  27775. - ApiKeyAuth: []
  27776. summary: 查询客户资料
  27777. tags:
  27778. - 企业风险管理(app)
  27779. /Ermcp/QueryWarehouseInfo:
  27780. get:
  27781. parameters:
  27782. - description: 用户ID
  27783. in: query
  27784. name: userid
  27785. required: true
  27786. type: integer
  27787. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27788. in: query
  27789. name: status
  27790. type: string
  27791. produces:
  27792. - application/json
  27793. responses:
  27794. "200":
  27795. description: OK
  27796. schema:
  27797. items:
  27798. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  27799. type: array
  27800. "500":
  27801. description: Internal Server Error
  27802. schema:
  27803. $ref: '#/definitions/app.Response'
  27804. security:
  27805. - ApiKeyAuth: []
  27806. summary: 查询仓库信息
  27807. tags:
  27808. - 企业风险管理(app)
  27809. /Ermcp3/QryAreaExpourseContractDetail:
  27810. get:
  27811. parameters:
  27812. - description: 用户ID
  27813. in: query
  27814. name: userid
  27815. required: true
  27816. type: integer
  27817. - description: 套保商品id
  27818. in: query
  27819. name: middlegoodsid
  27820. required: true
  27821. type: integer
  27822. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27823. in: query
  27824. name: cycletype
  27825. required: true
  27826. type: integer
  27827. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27828. 全(0)【原值】
  27829. in: query
  27830. name: cycletime
  27831. required: true
  27832. type: string
  27833. produces:
  27834. - application/json
  27835. responses:
  27836. "200":
  27837. description: OK
  27838. schema:
  27839. items:
  27840. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  27841. type: array
  27842. "500":
  27843. description: Internal Server Error
  27844. schema:
  27845. $ref: '#/definitions/app.Response'
  27846. security:
  27847. - ApiKeyAuth: []
  27848. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  27849. tags:
  27850. - 企业风险管理v3(app)
  27851. /Ermcp3/QryAreaExpourseFutuDetail:
  27852. get:
  27853. parameters:
  27854. - description: 用户ID
  27855. in: query
  27856. name: userid
  27857. required: true
  27858. type: integer
  27859. - description: 套保商品id
  27860. in: query
  27861. name: middlegoodsid
  27862. required: true
  27863. type: integer
  27864. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27865. in: query
  27866. name: cycletype
  27867. required: true
  27868. type: integer
  27869. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27870. 全(0)【原值】
  27871. in: query
  27872. name: cycletime
  27873. required: true
  27874. type: string
  27875. produces:
  27876. - application/json
  27877. responses:
  27878. "200":
  27879. description: OK
  27880. schema:
  27881. items:
  27882. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  27883. type: array
  27884. "500":
  27885. description: Internal Server Error
  27886. schema:
  27887. $ref: '#/definitions/app.Response'
  27888. security:
  27889. - ApiKeyAuth: []
  27890. summary: 查询敞口期货明细(敞口报表/期货明细)
  27891. tags:
  27892. - 企业风险管理v3(app)
  27893. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  27894. get:
  27895. parameters:
  27896. - description: 用户ID
  27897. in: query
  27898. name: userid
  27899. required: true
  27900. type: integer
  27901. - description: 套保商品id
  27902. in: query
  27903. name: middlegoodsid
  27904. required: true
  27905. type: integer
  27906. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27907. in: query
  27908. name: cycletype
  27909. required: true
  27910. type: integer
  27911. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27912. 全(0)【原值】
  27913. in: query
  27914. name: cycletime
  27915. required: true
  27916. type: string
  27917. produces:
  27918. - application/json
  27919. responses:
  27920. "200":
  27921. description: OK
  27922. schema:
  27923. items:
  27924. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  27925. type: array
  27926. "500":
  27927. description: Internal Server Error
  27928. schema:
  27929. $ref: '#/definitions/app.Response'
  27930. security:
  27931. - ApiKeyAuth: []
  27932. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  27933. tags:
  27934. - 企业风险管理v3(app)
  27935. /Ermcp3/QryAreaExpourseParamChLogDetail:
  27936. get:
  27937. parameters:
  27938. - description: 用户ID
  27939. in: query
  27940. name: userid
  27941. required: true
  27942. type: integer
  27943. - description: 套保商品id
  27944. in: query
  27945. name: middlegoodsid
  27946. required: true
  27947. type: integer
  27948. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27949. in: query
  27950. name: cycletype
  27951. required: true
  27952. type: integer
  27953. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27954. 全(0)【原值】
  27955. in: query
  27956. name: cycletime
  27957. required: true
  27958. type: string
  27959. produces:
  27960. - application/json
  27961. responses:
  27962. "200":
  27963. description: OK
  27964. schema:
  27965. items:
  27966. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  27967. type: array
  27968. "500":
  27969. description: Internal Server Error
  27970. schema:
  27971. $ref: '#/definitions/app.Response'
  27972. security:
  27973. - ApiKeyAuth: []
  27974. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  27975. tags:
  27976. - 企业风险管理v3(app)
  27977. /Ermcp3/QryAreaExpourseReport:
  27978. get:
  27979. parameters:
  27980. - description: 用户ID
  27981. in: query
  27982. name: userid
  27983. required: true
  27984. type: integer
  27985. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  27986. in: query
  27987. name: querytype
  27988. required: true
  27989. type: integer
  27990. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27991. in: query
  27992. name: cycletype
  27993. required: true
  27994. type: integer
  27995. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27996. 全(0)【原值】
  27997. in: query
  27998. name: cycletime
  27999. required: true
  28000. type: string
  28001. produces:
  28002. - application/json
  28003. responses:
  28004. "200":
  28005. description: OK
  28006. schema:
  28007. items:
  28008. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  28009. type: array
  28010. "500":
  28011. description: Internal Server Error
  28012. schema:
  28013. $ref: '#/definitions/app.Response'
  28014. security:
  28015. - ApiKeyAuth: []
  28016. summary: 查询敞口报表
  28017. tags:
  28018. - 企业风险管理v3(app)
  28019. /Ermcp3/QryAreaSpotplReport:
  28020. get:
  28021. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  28022. parameters:
  28023. - description: 用户ID
  28024. in: query
  28025. name: userid
  28026. required: true
  28027. type: integer
  28028. - description: 查询类型 1-报表 2-报表明细
  28029. in: query
  28030. name: querytype
  28031. required: true
  28032. type: integer
  28033. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28034. in: query
  28035. name: cycletype
  28036. required: true
  28037. type: integer
  28038. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28039. 全(0)【原值】
  28040. in: query
  28041. name: cycletime
  28042. required: true
  28043. type: string
  28044. - description: 现货品种id(明细必填)
  28045. in: query
  28046. name: deliverygoodsid
  28047. type: integer
  28048. - description: 币种id(明细必填)
  28049. in: query
  28050. name: currencyid
  28051. type: integer
  28052. - description: 日/周/月报表汇总维度 1:品种+品类
  28053. in: query
  28054. name: sumflag
  28055. type: integer
  28056. produces:
  28057. - application/json
  28058. responses:
  28059. "200":
  28060. description: OK
  28061. schema:
  28062. items:
  28063. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  28064. type: array
  28065. "500":
  28066. description: Internal Server Error
  28067. schema:
  28068. $ref: '#/definitions/app.Response'
  28069. security:
  28070. - ApiKeyAuth: []
  28071. summary: 查询现货报表
  28072. tags:
  28073. - 企业风险管理v3(app)
  28074. /Ermcp3/QryAreaStockReport:
  28075. get:
  28076. parameters:
  28077. - description: 用户ID
  28078. in: query
  28079. name: userid
  28080. required: true
  28081. type: integer
  28082. - description: 查询类型 1-报表 2-报表明细
  28083. in: query
  28084. name: querytype
  28085. required: true
  28086. type: integer
  28087. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28088. in: query
  28089. name: cycletype
  28090. required: true
  28091. type: integer
  28092. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28093. 全(0)【原值】
  28094. in: query
  28095. name: cycletime
  28096. required: true
  28097. type: string
  28098. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  28099. in: query
  28100. name: sumfields
  28101. type: string
  28102. - description: 品种ID
  28103. in: query
  28104. name: deliverygoodsid
  28105. type: integer
  28106. - description: 品类ID
  28107. in: query
  28108. name: wrstandardid
  28109. type: integer
  28110. - description: 品牌ID
  28111. in: query
  28112. name: spotgoodsbrandid
  28113. type: integer
  28114. - description: 仓库ID
  28115. in: query
  28116. name: warehouseinfoid
  28117. type: integer
  28118. produces:
  28119. - application/json
  28120. responses:
  28121. "200":
  28122. description: OK
  28123. schema:
  28124. items:
  28125. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  28126. type: array
  28127. "500":
  28128. description: Internal Server Error
  28129. schema:
  28130. $ref: '#/definitions/app.Response'
  28131. security:
  28132. - ApiKeyAuth: []
  28133. summary: 查询库存报表
  28134. tags:
  28135. - 企业风险管理v3(app)
  28136. /Ermcp3/QryAreaSumPL:
  28137. get:
  28138. parameters:
  28139. - description: 用户ID
  28140. in: query
  28141. name: userid
  28142. required: true
  28143. type: integer
  28144. - description: 查询类型 1-报表 2-报表明细
  28145. in: query
  28146. name: querytype
  28147. required: true
  28148. type: integer
  28149. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28150. in: query
  28151. name: cycletype
  28152. required: true
  28153. type: integer
  28154. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28155. 全(0)【原值】
  28156. in: query
  28157. name: cycletime
  28158. required: true
  28159. type: string
  28160. - description: 币种id(明细必填)
  28161. in: query
  28162. name: currencyid
  28163. type: integer
  28164. - description: 套保品种ID, 查询类型为2时起效
  28165. in: query
  28166. name: middlegoodsid
  28167. type: integer
  28168. produces:
  28169. - application/json
  28170. responses:
  28171. "200":
  28172. description: OK
  28173. schema:
  28174. items:
  28175. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  28176. type: array
  28177. "500":
  28178. description: Internal Server Error
  28179. schema:
  28180. $ref: '#/definitions/app.Response'
  28181. security:
  28182. - ApiKeyAuth: []
  28183. summary: 查询汇总损益表
  28184. tags:
  28185. - 企业风险管理v3(app)
  28186. /Ermcp3/QryFinanceReport:
  28187. get:
  28188. parameters:
  28189. - description: 用户ID
  28190. in: query
  28191. name: userid
  28192. required: true
  28193. type: integer
  28194. - description: 查询类型 1-报表 2-报表明细
  28195. in: query
  28196. name: querytype
  28197. required: true
  28198. type: integer
  28199. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28200. in: query
  28201. name: cycletype
  28202. required: true
  28203. type: integer
  28204. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28205. 全(0)【原值】
  28206. in: query
  28207. name: cycletime
  28208. required: true
  28209. type: string
  28210. - description: 币种id(报表明细必填)
  28211. in: query
  28212. name: currencyid
  28213. type: integer
  28214. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  28215. in: query
  28216. name: sumfields
  28217. type: string
  28218. produces:
  28219. - application/json
  28220. responses:
  28221. "200":
  28222. description: OK
  28223. schema:
  28224. items:
  28225. $ref: '#/definitions/models.Ermcp3FinanceReport'
  28226. type: array
  28227. "500":
  28228. description: Internal Server Error
  28229. schema:
  28230. $ref: '#/definitions/app.Response'
  28231. security:
  28232. - ApiKeyAuth: []
  28233. summary: 查询财务报表
  28234. tags:
  28235. - 企业风险管理v3(app)
  28236. /Ermcp3/QrySCMiddleGoodsReport:
  28237. get:
  28238. parameters:
  28239. - description: 用户ID
  28240. in: query
  28241. name: userid
  28242. required: true
  28243. type: integer
  28244. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28245. in: query
  28246. name: cycletype
  28247. required: true
  28248. type: integer
  28249. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28250. 全(0)【原值】
  28251. in: query
  28252. name: cycletime
  28253. required: true
  28254. type: string
  28255. - description: 合同id
  28256. in: query
  28257. name: spotcontractid
  28258. type: integer
  28259. - description: 套保品种id
  28260. in: query
  28261. name: middlegoodsid
  28262. type: integer
  28263. - description: 现货品种id
  28264. in: query
  28265. name: deliverygoodsid
  28266. type: integer
  28267. - description: 现货商品id
  28268. in: query
  28269. name: wrstandardid
  28270. type: integer
  28271. - description: 合同编号(模糊匹配)
  28272. in: query
  28273. name: contractno
  28274. type: string
  28275. produces:
  28276. - application/json
  28277. responses:
  28278. "200":
  28279. description: OK
  28280. schema:
  28281. items:
  28282. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  28283. type: array
  28284. "500":
  28285. description: Internal Server Error
  28286. schema:
  28287. $ref: '#/definitions/app.Response'
  28288. security:
  28289. - ApiKeyAuth: []
  28290. summary: 查询定价报表
  28291. tags:
  28292. - 企业风险管理v3(app)
  28293. /Ermcp3/QryTaFutureDataReport:
  28294. get:
  28295. parameters:
  28296. - description: 用户ID
  28297. in: query
  28298. name: userid
  28299. required: true
  28300. type: integer
  28301. - description: 查询类型 1-报表 2-报表明细
  28302. in: query
  28303. name: querytype
  28304. required: true
  28305. type: integer
  28306. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28307. in: query
  28308. name: cycletype
  28309. required: true
  28310. type: integer
  28311. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28312. 全(0)【原值】
  28313. in: query
  28314. name: cycletime
  28315. required: true
  28316. type: string
  28317. - description: 币种id(查明细必填)
  28318. in: query
  28319. name: currencyid
  28320. type: integer
  28321. - description: 品种id(查明细必填)
  28322. in: query
  28323. name: goodsgroupid
  28324. type: integer
  28325. - description: 商品id(查明细必填)
  28326. in: query
  28327. name: goodsid
  28328. type: integer
  28329. - description: 买卖方向(查明细必填)
  28330. in: query
  28331. name: buyorsell
  28332. type: integer
  28333. produces:
  28334. - application/json
  28335. responses:
  28336. "200":
  28337. description: OK
  28338. schema:
  28339. items:
  28340. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  28341. type: array
  28342. "500":
  28343. description: Internal Server Error
  28344. schema:
  28345. $ref: '#/definitions/app.Response'
  28346. security:
  28347. - ApiKeyAuth: []
  28348. summary: 查询期货报表
  28349. tags:
  28350. - 企业风险管理v3(app)
  28351. /Ermcp3/QueryAreaStock:
  28352. get:
  28353. parameters:
  28354. - description: 用户ID
  28355. in: query
  28356. name: userid
  28357. required: true
  28358. type: integer
  28359. produces:
  28360. - application/json
  28361. responses:
  28362. "200":
  28363. description: OK
  28364. schema:
  28365. items:
  28366. $ref: '#/definitions/models.Ermcp3AreaStock'
  28367. type: array
  28368. "500":
  28369. description: Internal Server Error
  28370. schema:
  28371. $ref: '#/definitions/app.Response'
  28372. security:
  28373. - ApiKeyAuth: []
  28374. summary: 查询机构库存(库存管理/当前库存)
  28375. tags:
  28376. - 企业风险管理v3(app)
  28377. /Ermcp3/QueryAreaStockApply:
  28378. get:
  28379. parameters:
  28380. - description: 用户ID
  28381. in: query
  28382. name: userid
  28383. required: true
  28384. type: integer
  28385. - description: 用户类型 2-机构 7-企业成员
  28386. in: query
  28387. name: usertype
  28388. type: integer
  28389. - description: 现货商品ID
  28390. in: query
  28391. name: deliverygoodsid
  28392. type: integer
  28393. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  28394. in: query
  28395. name: inouttype
  28396. type: string
  28397. - description: 合同ID
  28398. in: query
  28399. name: spotcontractid
  28400. type: integer
  28401. - description: 品类ID
  28402. in: query
  28403. name: wrstandardid
  28404. type: integer
  28405. - description: 品牌ID
  28406. in: query
  28407. name: spotgoodsbrandid
  28408. type: integer
  28409. - description: 仓库ID
  28410. in: query
  28411. name: warehouseinfoid
  28412. type: integer
  28413. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28414. in: query
  28415. name: applystatus
  28416. type: string
  28417. produces:
  28418. - application/json
  28419. responses:
  28420. "200":
  28421. description: OK
  28422. schema:
  28423. items:
  28424. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  28425. type: array
  28426. "500":
  28427. description: Internal Server Error
  28428. schema:
  28429. $ref: '#/definitions/app.Response'
  28430. security:
  28431. - ApiKeyAuth: []
  28432. summary: 查询库存申请(出入库记录|库存审核)
  28433. tags:
  28434. - 企业风险管理v3(app)
  28435. /Ermcp3/QueryAreaStockApplySum:
  28436. get:
  28437. parameters:
  28438. - description: 合同ID
  28439. in: query
  28440. name: spotcontractid
  28441. required: true
  28442. type: integer
  28443. produces:
  28444. - application/json
  28445. responses:
  28446. "200":
  28447. description: OK
  28448. schema:
  28449. items:
  28450. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  28451. type: array
  28452. "500":
  28453. description: Internal Server Error
  28454. schema:
  28455. $ref: '#/definitions/app.Response'
  28456. security:
  28457. - ApiKeyAuth: []
  28458. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  28459. tags:
  28460. - 企业风险管理v3(app)
  28461. /Ermcp3/QueryDGFactoryItem:
  28462. get:
  28463. parameters:
  28464. - description: 用户id
  28465. in: query
  28466. name: userid
  28467. type: integer
  28468. - description: 用户类型 2-机构 7-企业成员
  28469. in: query
  28470. name: usertype
  28471. type: integer
  28472. - description: 选择项ID(SEQ_DGFACTORYITEM)
  28473. in: query
  28474. name: dgfactoryitemid
  28475. type: integer
  28476. - description: 现货品种ID
  28477. in: query
  28478. name: deliverygoodsid
  28479. type: integer
  28480. - description: 要素项类型
  28481. in: query
  28482. name: dgfactoryitemtypeid
  28483. type: integer
  28484. - description: 顺序
  28485. in: query
  28486. name: orderindex
  28487. type: integer
  28488. produces:
  28489. - application/json
  28490. responses:
  28491. "200":
  28492. description: OK
  28493. schema:
  28494. items:
  28495. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  28496. type: array
  28497. "500":
  28498. description: Internal Server Error
  28499. schema:
  28500. $ref: '#/definitions/app.Response'
  28501. security:
  28502. - ApiKeyAuth: []
  28503. summary: 查询品种要素定义项
  28504. tags:
  28505. - 企业风险管理v3(app)
  28506. /Ermcp3/QueryDeliveryGoods:
  28507. get:
  28508. parameters:
  28509. - description: 用户id
  28510. in: query
  28511. name: userid
  28512. required: true
  28513. type: integer
  28514. - description: 用户类型 2-机构 7-企业成员
  28515. in: query
  28516. name: usertype
  28517. type: integer
  28518. - description: 排除已配置的业务类型商品 1-套保 2-套利
  28519. in: query
  28520. name: excludecfg
  28521. type: integer
  28522. produces:
  28523. - application/json
  28524. responses:
  28525. "200":
  28526. description: OK
  28527. schema:
  28528. items:
  28529. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  28530. type: array
  28531. "500":
  28532. description: Internal Server Error
  28533. schema:
  28534. $ref: '#/definitions/app.Response'
  28535. security:
  28536. - ApiKeyAuth: []
  28537. summary: 查询现货商品
  28538. tags:
  28539. - 企业风险管理v3(app)
  28540. /Ermcp3/QueryDeliveryGoodsDetail:
  28541. get:
  28542. parameters:
  28543. - description: 用户id
  28544. in: query
  28545. name: userid
  28546. required: true
  28547. type: integer
  28548. - description: 用户类型 2-机构 7-企业成员
  28549. in: query
  28550. name: usertype
  28551. type: integer
  28552. - description: 现货商品id
  28553. in: query
  28554. name: deliverygoodsid
  28555. type: integer
  28556. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  28557. in: query
  28558. name: filtersubempty
  28559. type: integer
  28560. produces:
  28561. - application/json
  28562. responses:
  28563. "200":
  28564. description: OK
  28565. schema:
  28566. items:
  28567. $ref: '#/definitions/models.XHDeliveryGoods'
  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. - 企业风险管理v3(app)
  28578. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  28579. get:
  28580. parameters:
  28581. - description: 合同id
  28582. in: query
  28583. name: spotcontractid
  28584. required: true
  28585. type: string
  28586. produces:
  28587. - application/json
  28588. responses:
  28589. "200":
  28590. description: OK
  28591. schema:
  28592. items:
  28593. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  28594. type: array
  28595. "500":
  28596. description: Internal Server Error
  28597. schema:
  28598. $ref: '#/definitions/app.Response'
  28599. security:
  28600. - ApiKeyAuth: []
  28601. summary: 查询现货合同期现配置信息
  28602. tags:
  28603. - 企业风险管理v3(app)
  28604. /Ermcp3/QueryExposureDetail:
  28605. get:
  28606. parameters:
  28607. - description: 用户id
  28608. in: query
  28609. name: userid
  28610. required: true
  28611. type: integer
  28612. - description: 用户类型 2-机构 7-企业成员
  28613. in: query
  28614. name: usertype
  28615. type: integer
  28616. - description: 套保商品
  28617. in: query
  28618. name: middlegoodsid
  28619. required: true
  28620. type: integer
  28621. produces:
  28622. - application/json
  28623. responses:
  28624. "200":
  28625. description: OK
  28626. schema:
  28627. items:
  28628. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  28629. type: array
  28630. "500":
  28631. description: Internal Server Error
  28632. schema:
  28633. $ref: '#/definitions/app.Response'
  28634. security:
  28635. - ApiKeyAuth: []
  28636. summary: 查询敞口现货明细
  28637. tags:
  28638. - 企业风险管理v3(app)
  28639. /Ermcp3/QueryExposureSpot:
  28640. get:
  28641. parameters:
  28642. - description: 用户id
  28643. in: query
  28644. name: userid
  28645. required: true
  28646. type: integer
  28647. - description: 用户类型 2-机构 7-企业成员
  28648. in: query
  28649. name: usertype
  28650. type: integer
  28651. produces:
  28652. - application/json
  28653. responses:
  28654. "200":
  28655. description: OK
  28656. schema:
  28657. items:
  28658. $ref: '#/definitions/models.Ermcp3AreaSpot'
  28659. type: array
  28660. "500":
  28661. description: Internal Server Error
  28662. schema:
  28663. $ref: '#/definitions/app.Response'
  28664. security:
  28665. - ApiKeyAuth: []
  28666. summary: 查询敞口现货头寸(敞口/现货头寸)
  28667. tags:
  28668. - 企业风险管理v3(app)
  28669. /Ermcp3/QueryExposureSpotDetail:
  28670. get:
  28671. parameters:
  28672. - description: 用户id
  28673. in: query
  28674. name: userid
  28675. required: true
  28676. type: integer
  28677. - description: 用户类型 2-机构 7-企业成员
  28678. in: query
  28679. name: usertype
  28680. type: integer
  28681. - description: 现货商品ID
  28682. in: query
  28683. name: wrstandardid
  28684. required: true
  28685. type: integer
  28686. produces:
  28687. - application/json
  28688. responses:
  28689. "200":
  28690. description: OK
  28691. schema:
  28692. items:
  28693. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  28694. type: array
  28695. "500":
  28696. description: Internal Server Error
  28697. schema:
  28698. $ref: '#/definitions/app.Response'
  28699. security:
  28700. - ApiKeyAuth: []
  28701. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  28702. tags:
  28703. - 企业风险管理v3(app)
  28704. /Ermcp3/QueryGoodsGroup:
  28705. get:
  28706. parameters:
  28707. - description: 用户id
  28708. in: query
  28709. name: userid
  28710. required: true
  28711. type: integer
  28712. - description: 用户类型 2-机构 7-企业成员
  28713. in: query
  28714. name: usertype
  28715. type: integer
  28716. - description: 排除套保品中已关联的商品组 1-排除
  28717. in: query
  28718. name: excludecfg
  28719. type: integer
  28720. produces:
  28721. - application/json
  28722. responses:
  28723. "200":
  28724. description: OK
  28725. schema:
  28726. items:
  28727. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  28728. type: array
  28729. "500":
  28730. description: Internal Server Error
  28731. schema:
  28732. $ref: '#/definitions/app.Response'
  28733. security:
  28734. - ApiKeyAuth: []
  28735. summary: 查询期货商品组
  28736. tags:
  28737. - 企业风险管理v3(app)
  28738. /Ermcp3/QueryGoodsWrstandard:
  28739. get:
  28740. parameters:
  28741. - description: 用户id
  28742. in: query
  28743. name: userid
  28744. required: true
  28745. type: integer
  28746. - description: 用户类型 2-机构 7-企业成员
  28747. in: query
  28748. name: usertype
  28749. type: integer
  28750. - description: 现货商品id
  28751. in: query
  28752. name: deliverygoodsid
  28753. type: integer
  28754. produces:
  28755. - application/json
  28756. responses:
  28757. "200":
  28758. description: OK
  28759. schema:
  28760. items:
  28761. $ref: '#/definitions/models.Ermcp3Wrstandard'
  28762. type: array
  28763. "500":
  28764. description: Internal Server Error
  28765. schema:
  28766. $ref: '#/definitions/app.Response'
  28767. security:
  28768. - ApiKeyAuth: []
  28769. summary: 查询商品品类
  28770. tags:
  28771. - 企业风险管理v3(app)
  28772. /Ermcp3/QueryGoodsbrand:
  28773. get:
  28774. parameters:
  28775. - description: 用户id
  28776. in: query
  28777. name: userid
  28778. required: true
  28779. type: integer
  28780. - description: 用户类型 2-机构 7-企业成员
  28781. in: query
  28782. name: usertype
  28783. type: integer
  28784. produces:
  28785. - application/json
  28786. responses:
  28787. "200":
  28788. description: OK
  28789. schema:
  28790. items:
  28791. $ref: '#/definitions/models.Ermcp3Brand'
  28792. type: array
  28793. "500":
  28794. description: Internal Server Error
  28795. schema:
  28796. $ref: '#/definitions/app.Response'
  28797. security:
  28798. - ApiKeyAuth: []
  28799. summary: 查询商品品牌
  28800. tags:
  28801. - 企业风险管理v3(app)
  28802. /Ermcp3/QueryHPMiddleGoods:
  28803. get:
  28804. parameters:
  28805. - description: 用户ID(填登录用户的userid)
  28806. in: query
  28807. name: userid
  28808. required: true
  28809. type: integer
  28810. - description: 买卖方向 0-买 1-卖
  28811. in: query
  28812. name: buyorsell
  28813. required: true
  28814. type: integer
  28815. - description: 商品组id
  28816. in: query
  28817. name: goodsgroupid
  28818. required: true
  28819. type: integer
  28820. - description: 套保计划编号(模糊匹配)
  28821. in: query
  28822. name: hedgeplanno
  28823. type: string
  28824. - description: 现货商品名称(模糊匹配)
  28825. in: query
  28826. name: wrstandardname
  28827. type: string
  28828. produces:
  28829. - application/json
  28830. responses:
  28831. "200":
  28832. description: OK
  28833. schema:
  28834. items:
  28835. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  28836. type: array
  28837. "500":
  28838. description: Internal Server Error
  28839. schema:
  28840. $ref: '#/definitions/app.Response'
  28841. security:
  28842. - ApiKeyAuth: []
  28843. summary: 查询可关联套保计划
  28844. tags:
  28845. - 企业风险管理v3(app)
  28846. /Ermcp3/QueryHedgePlan:
  28847. get:
  28848. parameters:
  28849. - description: 用户ID
  28850. in: query
  28851. name: userid
  28852. required: true
  28853. type: integer
  28854. - description: 用户类型 2-机构 7-企业成员
  28855. in: query
  28856. name: usertype
  28857. type: integer
  28858. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  28859. in: query
  28860. name: hedgeplanstatus
  28861. required: true
  28862. type: string
  28863. produces:
  28864. - application/json
  28865. responses:
  28866. "200":
  28867. description: OK
  28868. schema:
  28869. items:
  28870. $ref: '#/definitions/models.Ermcp3HedgePlan'
  28871. type: array
  28872. "500":
  28873. description: Internal Server Error
  28874. schema:
  28875. $ref: '#/definitions/app.Response'
  28876. security:
  28877. - ApiKeyAuth: []
  28878. summary: 查询套保计划
  28879. tags:
  28880. - 企业风险管理v3(app)
  28881. /Ermcp3/QueryInnerTradeLink:
  28882. get:
  28883. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  28884. parameters:
  28885. - description: 外部成交单号
  28886. in: query
  28887. name: outtradeid
  28888. required: true
  28889. type: integer
  28890. produces:
  28891. - application/json
  28892. responses:
  28893. "200":
  28894. description: OK
  28895. schema:
  28896. items:
  28897. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  28898. type: array
  28899. "500":
  28900. description: Internal Server Error
  28901. schema:
  28902. $ref: '#/definitions/app.Response'
  28903. security:
  28904. - ApiKeyAuth: []
  28905. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  28906. tags:
  28907. - 企业风险管理v3(app)
  28908. /Ermcp3/QueryMiddleGoodsDetail:
  28909. get:
  28910. parameters:
  28911. - description: 用户id
  28912. in: query
  28913. name: userid
  28914. required: true
  28915. type: integer
  28916. - description: 用户类型 2-机构 7-企业成员
  28917. in: query
  28918. name: usertype
  28919. type: integer
  28920. - description: 套保品种id
  28921. in: query
  28922. name: middlegoodsid
  28923. type: integer
  28924. produces:
  28925. - application/json
  28926. responses:
  28927. "200":
  28928. description: OK
  28929. schema:
  28930. items:
  28931. $ref: '#/definitions/models.TBMiddleGoods'
  28932. type: array
  28933. "500":
  28934. description: Internal Server Error
  28935. schema:
  28936. $ref: '#/definitions/app.Response'
  28937. security:
  28938. - ApiKeyAuth: []
  28939. summary: 查询套保品种详情(套保品种/商品详情)
  28940. tags:
  28941. - 企业风险管理v3(app)
  28942. /Ermcp3/QueryOutTradeLink:
  28943. get:
  28944. description: 页面 app 现货->期现关联->外部成交单关联
  28945. parameters:
  28946. - description: 用户ID(填登录用户的userid)
  28947. in: query
  28948. name: userid
  28949. required: true
  28950. type: integer
  28951. - description: 外部订单号(模糊匹配)
  28952. in: query
  28953. name: outtradeid
  28954. type: string
  28955. - description: 合约名称/代码(模糊匹配)
  28956. in: query
  28957. name: goodsname
  28958. type: string
  28959. - description: 关联状态 0-未关联 1-已关联
  28960. in: query
  28961. name: hasinnerorder
  28962. type: integer
  28963. produces:
  28964. - application/json
  28965. responses:
  28966. "200":
  28967. description: OK
  28968. schema:
  28969. items:
  28970. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  28971. type: array
  28972. "500":
  28973. description: Internal Server Error
  28974. schema:
  28975. $ref: '#/definitions/app.Response'
  28976. security:
  28977. - ApiKeyAuth: []
  28978. summary: 查询外部成交单关联
  28979. tags:
  28980. - 企业风险管理v3(app)
  28981. /Ermcp3/QueryPaAreaAuditCfg:
  28982. get:
  28983. parameters:
  28984. - description: 用户id
  28985. in: query
  28986. name: userid
  28987. required: true
  28988. type: integer
  28989. produces:
  28990. - application/json
  28991. responses:
  28992. "200":
  28993. description: OK
  28994. schema:
  28995. items:
  28996. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  28997. type: array
  28998. "500":
  28999. description: Internal Server Error
  29000. schema:
  29001. $ref: '#/definitions/app.Response'
  29002. security:
  29003. - ApiKeyAuth: []
  29004. summary: 查询审核设置
  29005. tags:
  29006. - 企业风险管理v3(app)
  29007. /Ermcp3/QueryPaAreaSubject:
  29008. get:
  29009. parameters:
  29010. - description: 用户id
  29011. in: query
  29012. name: userid
  29013. required: true
  29014. type: integer
  29015. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  29016. in: query
  29017. name: subjectid
  29018. type: integer
  29019. - description: 主体类型 - 1:交易主体 2:业务部门
  29020. in: query
  29021. name: subjecttype
  29022. type: integer
  29023. - description: '主体状态 - 1:正常 2: 停用'
  29024. in: query
  29025. name: subjectstatus
  29026. type: integer
  29027. produces:
  29028. - application/json
  29029. responses:
  29030. "200":
  29031. description: OK
  29032. schema:
  29033. items:
  29034. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  29035. type: array
  29036. "500":
  29037. description: Internal Server Error
  29038. schema:
  29039. $ref: '#/definitions/app.Response'
  29040. security:
  29041. - ApiKeyAuth: []
  29042. summary: 查询交易主体
  29043. tags:
  29044. - 企业风险管理v3(app)
  29045. /Ermcp3/QueryPaTradeLink:
  29046. get:
  29047. description: 页面 app 现货->期现关联->期现单据关联
  29048. parameters:
  29049. - description: 用户ID
  29050. in: query
  29051. name: userid
  29052. required: true
  29053. type: integer
  29054. produces:
  29055. - application/json
  29056. responses:
  29057. "200":
  29058. description: OK
  29059. schema:
  29060. items:
  29061. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  29062. type: array
  29063. "500":
  29064. description: Internal Server Error
  29065. schema:
  29066. $ref: '#/definitions/app.Response'
  29067. security:
  29068. - ApiKeyAuth: []
  29069. summary: 查询期现单据关联
  29070. tags:
  29071. - 企业风险管理v3(app)
  29072. /Ermcp3/QueryPaTradeLinkDetail:
  29073. get:
  29074. description: 页面 app 现货->期现关联->关联记录
  29075. parameters:
  29076. - description: 用户ID(填登录用户的userid)
  29077. in: query
  29078. name: userid
  29079. required: true
  29080. type: integer
  29081. - description: 关联状态 1:成功 2:失败 3:解绑
  29082. in: query
  29083. name: linkstatus
  29084. type: integer
  29085. - description: 期货订单号(模糊匹配)
  29086. in: query
  29087. name: tradeid
  29088. type: string
  29089. - description: 现货编号(模糊匹配)
  29090. in: query
  29091. name: contractno
  29092. type: string
  29093. - description: 期货账户(模糊匹配)
  29094. in: query
  29095. name: taname
  29096. type: string
  29097. produces:
  29098. - application/json
  29099. responses:
  29100. "200":
  29101. description: OK
  29102. schema:
  29103. items:
  29104. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  29105. type: array
  29106. "500":
  29107. description: Internal Server Error
  29108. schema:
  29109. $ref: '#/definitions/app.Response'
  29110. security:
  29111. - ApiKeyAuth: []
  29112. summary: 查询期现关联记录
  29113. tags:
  29114. - 企业风险管理v3(app)
  29115. /Ermcp3/QueryParamChangeApp:
  29116. get:
  29117. description: |-
  29118. 原型页面:
  29119. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  29120. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  29121. parameters:
  29122. - description: 用户ID
  29123. in: query
  29124. name: userid
  29125. required: true
  29126. type: integer
  29127. - description: 现货品种id
  29128. in: query
  29129. name: deliverygoodsid
  29130. type: integer
  29131. - description: 现货商品id
  29132. in: query
  29133. name: wrstandardid
  29134. type: integer
  29135. - description: 套保商品id
  29136. in: query
  29137. name: middlegoodsid
  29138. type: integer
  29139. - description: 操作类型 1:新增 2:修改
  29140. in: query
  29141. name: operatetype
  29142. type: integer
  29143. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  29144. in: query
  29145. name: paramchangetype
  29146. type: integer
  29147. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29148. in: query
  29149. name: ftstatus
  29150. type: string
  29151. produces:
  29152. - application/json
  29153. responses:
  29154. "200":
  29155. description: OK
  29156. schema:
  29157. items:
  29158. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  29159. type: array
  29160. "500":
  29161. description: Internal Server Error
  29162. schema:
  29163. $ref: '#/definitions/app.Response'
  29164. security:
  29165. - ApiKeyAuth: []
  29166. summary: 查询现货商品参数变更申请(流水)
  29167. tags:
  29168. - 企业风险管理v3(app)
  29169. /Ermcp3/QueryRootUserAccount:
  29170. get:
  29171. parameters:
  29172. - description: 用户ID
  29173. in: query
  29174. name: userid
  29175. required: true
  29176. type: integer
  29177. produces:
  29178. - application/json
  29179. responses:
  29180. "200":
  29181. description: OK
  29182. schema:
  29183. items:
  29184. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  29185. type: array
  29186. "500":
  29187. description: Internal Server Error
  29188. schema:
  29189. $ref: '#/definitions/app.Response'
  29190. security:
  29191. - ApiKeyAuth: []
  29192. summary: 查询顶级用户信息
  29193. tags:
  29194. - 企业风险管理v3(app)
  29195. /Ermcp3/QuerySCMiddleGoods:
  29196. get:
  29197. description: |-
  29198. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  29199. 现货编号 即 合同编号
  29200. parameters:
  29201. - description: 用户ID(填登录用户的userid)
  29202. in: query
  29203. name: userid
  29204. required: true
  29205. type: integer
  29206. - description: 买卖方向 0-买 1-卖
  29207. in: query
  29208. name: buyorsell
  29209. required: true
  29210. type: integer
  29211. - description: 商品组id
  29212. in: query
  29213. name: goodsgroupid
  29214. required: true
  29215. type: integer
  29216. - description: 业务类型 1:套保 2:套利
  29217. in: query
  29218. name: biztype
  29219. type: integer
  29220. - description: 现货编号(模糊匹配)
  29221. in: query
  29222. name: contractno
  29223. type: string
  29224. - description: 对手方(模糊匹配)
  29225. in: query
  29226. name: customername
  29227. type: string
  29228. - description: 现货商品名称(模糊匹配)
  29229. in: query
  29230. name: wrstandardname
  29231. type: string
  29232. produces:
  29233. - application/json
  29234. responses:
  29235. "200":
  29236. description: OK
  29237. schema:
  29238. items:
  29239. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  29240. type: array
  29241. "500":
  29242. description: Internal Server Error
  29243. schema:
  29244. $ref: '#/definitions/app.Response'
  29245. security:
  29246. - ApiKeyAuth: []
  29247. summary: 查询现货订单
  29248. tags:
  29249. - 企业风险管理v3(app)
  29250. /Ermcp3/QuerySpotContract:
  29251. get:
  29252. parameters:
  29253. - description: 用户id(当指定contractid, userid可不填)
  29254. in: query
  29255. name: userid
  29256. required: true
  29257. type: integer
  29258. - description: 用户类型 2-机构 7-企业成员
  29259. in: query
  29260. name: usertype
  29261. type: integer
  29262. - description: 合同类型 1-采购, -1-销售
  29263. in: query
  29264. name: contracttype
  29265. type: integer
  29266. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  29267. in: query
  29268. name: querytype
  29269. type: string
  29270. - description: 合同ID(SpotContractId)
  29271. in: query
  29272. name: contractid
  29273. type: string
  29274. - description: 合同编号(模糊匹配)
  29275. in: query
  29276. name: contractno
  29277. type: string
  29278. - description: 商品名称(模糊匹配)
  29279. in: query
  29280. name: wrstandardname
  29281. type: string
  29282. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29283. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29284. in: query
  29285. name: status
  29286. type: string
  29287. - description: 是否只查今日的合同 1-查今日合同
  29288. in: query
  29289. name: istoday
  29290. type: integer
  29291. produces:
  29292. - application/json
  29293. responses:
  29294. "200":
  29295. description: OK
  29296. schema:
  29297. items:
  29298. $ref: '#/definitions/models.Ermcp3Contract'
  29299. type: array
  29300. "500":
  29301. description: Internal Server Error
  29302. schema:
  29303. $ref: '#/definitions/app.Response'
  29304. security:
  29305. - ApiKeyAuth: []
  29306. summary: 查询现货合同
  29307. tags:
  29308. - 企业风险管理v3(app)
  29309. /Ermcp3/QuerySpotContractBS:
  29310. get:
  29311. parameters:
  29312. - description: 用户id
  29313. in: query
  29314. name: userid
  29315. required: true
  29316. type: integer
  29317. - description: 用户类型 2-机构 7-企业成员
  29318. in: query
  29319. name: usertype
  29320. type: integer
  29321. - description: 合同类型 1-采购, -1-销售
  29322. in: query
  29323. name: contracttype
  29324. required: true
  29325. type: integer
  29326. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  29327. in: query
  29328. name: querytype
  29329. type: integer
  29330. - description: 合同ID(SpotContractId)
  29331. in: query
  29332. name: contractid
  29333. type: string
  29334. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29335. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29336. in: query
  29337. name: status
  29338. type: string
  29339. - description: 是否只查今日的合同 1-查今日合同
  29340. in: query
  29341. name: istoday
  29342. type: integer
  29343. produces:
  29344. - application/json
  29345. responses:
  29346. "200":
  29347. description: OK
  29348. schema:
  29349. items:
  29350. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  29351. type: array
  29352. "500":
  29353. description: Internal Server Error
  29354. schema:
  29355. $ref: '#/definitions/app.Response'
  29356. security:
  29357. - ApiKeyAuth: []
  29358. summary: 查询合同(采购/销售)
  29359. tags:
  29360. - 企业风险管理v3(app)
  29361. /Ermcp3/QuerySpotGoodsPrice:
  29362. get:
  29363. parameters:
  29364. - description: 用户ID
  29365. in: query
  29366. name: userid
  29367. required: true
  29368. type: integer
  29369. produces:
  29370. - application/json
  29371. responses:
  29372. "200":
  29373. description: OK
  29374. schema:
  29375. items:
  29376. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  29377. type: array
  29378. "500":
  29379. description: Internal Server Error
  29380. schema:
  29381. $ref: '#/definitions/app.Response'
  29382. security:
  29383. - ApiKeyAuth: []
  29384. summary: 查询现货市价(现货市价)
  29385. tags:
  29386. - 企业风险管理v3(app)
  29387. /Ermcp3/QuerySpotGoodsPriceLog:
  29388. get:
  29389. parameters:
  29390. - description: 用户ID
  29391. in: query
  29392. name: userid
  29393. required: true
  29394. type: integer
  29395. - description: 现货商品ID
  29396. in: query
  29397. name: deliverygoodsid
  29398. required: true
  29399. type: integer
  29400. - description: 品牌ID
  29401. in: query
  29402. name: brandid
  29403. type: integer
  29404. - description: 品类ID
  29405. in: query
  29406. name: wrstandardid
  29407. type: integer
  29408. produces:
  29409. - application/json
  29410. responses:
  29411. "200":
  29412. description: OK
  29413. schema:
  29414. items:
  29415. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  29416. type: array
  29417. "500":
  29418. description: Internal Server Error
  29419. schema:
  29420. $ref: '#/definitions/app.Response'
  29421. security:
  29422. - ApiKeyAuth: []
  29423. summary: 查询现货市价详情(现货市价/详情)
  29424. tags:
  29425. - 企业风险管理v3(app)
  29426. /Ermcp3/QuerySubTaaccount:
  29427. get:
  29428. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  29429. parameters:
  29430. - description: 母账号id
  29431. in: query
  29432. name: parentaccountid
  29433. type: integer
  29434. - description: 母账号代码
  29435. in: query
  29436. name: parentaccountcode
  29437. type: string
  29438. produces:
  29439. - application/json
  29440. responses:
  29441. "200":
  29442. description: OK
  29443. schema:
  29444. items:
  29445. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  29446. type: array
  29447. "500":
  29448. description: Internal Server Error
  29449. schema:
  29450. $ref: '#/definitions/app.Response'
  29451. security:
  29452. - ApiKeyAuth: []
  29453. summary: 查询期货子账户
  29454. tags:
  29455. - 企业风险管理v3(app)
  29456. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  29457. get:
  29458. parameters:
  29459. - description: 套期项目ID
  29460. in: query
  29461. name: hedgeditemid
  29462. required: true
  29463. type: integer
  29464. produces:
  29465. - application/json
  29466. responses:
  29467. "200":
  29468. description: OK
  29469. schema:
  29470. items:
  29471. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  29472. type: array
  29473. "500":
  29474. description: Internal Server Error
  29475. schema:
  29476. $ref: '#/definitions/app.Response'
  29477. security:
  29478. - ApiKeyAuth: []
  29479. summary: 现货成交明细查询
  29480. tags:
  29481. - 企业风险管理v8
  29482. /Ermcp8/QueryERMCP2HedgedItemspot:
  29483. get:
  29484. parameters:
  29485. - description: 套期项目ID
  29486. in: query
  29487. name: hedgeditemid
  29488. required: true
  29489. type: integer
  29490. produces:
  29491. - application/json
  29492. responses:
  29493. "200":
  29494. description: OK
  29495. schema:
  29496. items:
  29497. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  29498. type: array
  29499. "500":
  29500. description: Internal Server Error
  29501. schema:
  29502. $ref: '#/definitions/app.Response'
  29503. security:
  29504. - ApiKeyAuth: []
  29505. summary: 套期计划明细查询
  29506. tags:
  29507. - 企业风险管理v8
  29508. /Ermcp8/QueryERMCPJRLinkPos:
  29509. get:
  29510. parameters:
  29511. - description: 套期项目ID
  29512. in: query
  29513. name: hedgeditemid
  29514. required: true
  29515. type: integer
  29516. produces:
  29517. - application/json
  29518. responses:
  29519. "200":
  29520. description: OK
  29521. schema:
  29522. items:
  29523. $ref: '#/definitions/models.Ermcpjrlinkpos'
  29524. type: array
  29525. "500":
  29526. description: Internal Server Error
  29527. schema:
  29528. $ref: '#/definitions/app.Response'
  29529. security:
  29530. - ApiKeyAuth: []
  29531. summary: 期货持仓明细查询
  29532. tags:
  29533. - 企业风险管理v8
  29534. /Ermcp8/QueryERMCPPatradeLinkDetail:
  29535. get:
  29536. parameters:
  29537. - description: 套期项目ID
  29538. in: query
  29539. name: hedgeditemid
  29540. required: true
  29541. type: integer
  29542. produces:
  29543. - application/json
  29544. responses:
  29545. "200":
  29546. description: OK
  29547. schema:
  29548. items:
  29549. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  29550. type: array
  29551. "500":
  29552. description: Internal Server Error
  29553. schema:
  29554. $ref: '#/definitions/app.Response'
  29555. security:
  29556. - ApiKeyAuth: []
  29557. summary: 期货成交单明细查询
  29558. tags:
  29559. - 企业风险管理v8
  29560. /Ermcp8/QueryErmcp2AreaExposure:
  29561. get:
  29562. parameters:
  29563. - description: 用户ID
  29564. in: query
  29565. name: userid
  29566. required: true
  29567. type: string
  29568. produces:
  29569. - application/json
  29570. responses:
  29571. "200":
  29572. description: OK
  29573. schema:
  29574. items:
  29575. $ref: '#/definitions/models.Ermcp2AreaExposure'
  29576. type: array
  29577. "500":
  29578. description: Internal Server Error
  29579. schema:
  29580. $ref: '#/definitions/app.Response'
  29581. security:
  29582. - ApiKeyAuth: []
  29583. summary: 企业敞口查询
  29584. tags:
  29585. - 企业风险管理v8
  29586. /Ermcp8/QueryErmcp2HedgedItem:
  29587. get:
  29588. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  29589. parameters:
  29590. - description: 用户ID
  29591. in: query
  29592. name: userid
  29593. required: true
  29594. type: string
  29595. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29596. in: query
  29597. name: hedgedtype
  29598. type: integer
  29599. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29600. in: query
  29601. name: hedgeditemstatus
  29602. type: integer
  29603. produces:
  29604. - application/json
  29605. responses:
  29606. "200":
  29607. description: OK
  29608. schema:
  29609. items:
  29610. $ref: '#/definitions/models.Ermcp2hedgeditem'
  29611. type: array
  29612. "500":
  29613. description: Internal Server Error
  29614. schema:
  29615. $ref: '#/definitions/app.Response'
  29616. security:
  29617. - ApiKeyAuth: []
  29618. summary: 查询被套期项目信息
  29619. tags:
  29620. - 企业风险管理v8
  29621. /Ermcp8/QueryErmcp2HedgedItemLink:
  29622. get:
  29623. parameters:
  29624. - description: 现货合同ID
  29625. in: query
  29626. name: spotcontractid
  29627. required: true
  29628. type: integer
  29629. produces:
  29630. - application/json
  29631. responses:
  29632. "200":
  29633. description: OK
  29634. schema:
  29635. items:
  29636. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  29637. type: array
  29638. "500":
  29639. description: Internal Server Error
  29640. schema:
  29641. $ref: '#/definitions/app.Response'
  29642. security:
  29643. - ApiKeyAuth: []
  29644. summary: 现货合同关联被套期项目查询
  29645. tags:
  29646. - 企业风险管理v8
  29647. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  29648. get:
  29649. parameters:
  29650. - description: 用户ID
  29651. in: query
  29652. name: userid
  29653. required: true
  29654. type: integer
  29655. - description: 套保品种ID
  29656. in: query
  29657. name: middlegoodsid
  29658. required: true
  29659. type: integer
  29660. produces:
  29661. - application/json
  29662. responses:
  29663. "200":
  29664. description: OK
  29665. schema:
  29666. items:
  29667. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  29668. type: array
  29669. "500":
  29670. description: Internal Server Error
  29671. schema:
  29672. $ref: '#/definitions/app.Response'
  29673. security:
  29674. - ApiKeyAuth: []
  29675. summary: 敞口明细 - 计划变动明细
  29676. tags:
  29677. - 企业风险管理v8
  29678. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  29679. get:
  29680. parameters:
  29681. - description: 用户ID
  29682. in: query
  29683. name: userid
  29684. required: true
  29685. type: integer
  29686. - description: 套保品种ID
  29687. in: query
  29688. name: middlegoodsid
  29689. required: true
  29690. type: integer
  29691. produces:
  29692. - application/json
  29693. responses:
  29694. "200":
  29695. description: OK
  29696. schema:
  29697. items:
  29698. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  29699. type: array
  29700. "500":
  29701. description: Internal Server Error
  29702. schema:
  29703. $ref: '#/definitions/app.Response'
  29704. security:
  29705. - ApiKeyAuth: []
  29706. summary: 敞口明细 - 现货变动明细查询
  29707. tags:
  29708. - 企业风险管理v8
  29709. /Ermcp8/QueryErmcp8EnableHedgeditem:
  29710. get:
  29711. parameters:
  29712. - description: 用户ID
  29713. in: query
  29714. name: userid
  29715. required: true
  29716. type: integer
  29717. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  29718. in: query
  29719. name: spottype
  29720. required: true
  29721. type: integer
  29722. - description: 现货商品ID
  29723. in: query
  29724. name: wrstandardid
  29725. type: integer
  29726. produces:
  29727. - application/json
  29728. responses:
  29729. "200":
  29730. description: OK
  29731. schema:
  29732. items:
  29733. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  29734. type: array
  29735. "500":
  29736. description: Internal Server Error
  29737. schema:
  29738. $ref: '#/definitions/app.Response'
  29739. security:
  29740. - ApiKeyAuth: []
  29741. summary: 可关联项目查询
  29742. tags:
  29743. - 企业风险管理v8
  29744. /Ermcp8/QueryErmcp8HedgeditemReport:
  29745. get:
  29746. parameters:
  29747. - description: 用户ID
  29748. in: query
  29749. name: userid
  29750. required: true
  29751. type: integer
  29752. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29753. in: query
  29754. name: cycletype
  29755. type: integer
  29756. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  29757. 全(0)【原值】
  29758. in: query
  29759. name: cycletime
  29760. required: true
  29761. type: string
  29762. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29763. in: query
  29764. name: hedgedtype
  29765. type: integer
  29766. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29767. in: query
  29768. name: hedgeditemstatus
  29769. type: integer
  29770. - description: 项目编号,模糊查询
  29771. in: query
  29772. name: hedgeditemnum
  29773. type: string
  29774. - description: 现货商品ID
  29775. in: query
  29776. name: wrstandardid
  29777. type: integer
  29778. produces:
  29779. - application/json
  29780. responses:
  29781. "200":
  29782. description: OK
  29783. schema:
  29784. items:
  29785. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  29786. type: array
  29787. "500":
  29788. description: Internal Server Error
  29789. schema:
  29790. $ref: '#/definitions/app.Response'
  29791. security:
  29792. - ApiKeyAuth: []
  29793. summary: 套期项目报表查询
  29794. tags:
  29795. - 企业风险管理v8
  29796. /Ermcp8/QueryErmcp8RunningHedgeditem:
  29797. get:
  29798. parameters:
  29799. - description: 用户ID
  29800. in: query
  29801. name: userid
  29802. required: true
  29803. type: string
  29804. produces:
  29805. - application/json
  29806. responses:
  29807. "200":
  29808. description: OK
  29809. schema:
  29810. items:
  29811. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  29812. type: array
  29813. "500":
  29814. description: Internal Server Error
  29815. schema:
  29816. $ref: '#/definitions/app.Response'
  29817. security:
  29818. - ApiKeyAuth: []
  29819. summary: 查询执行中项目查询信息
  29820. tags:
  29821. - 企业风险管理v8
  29822. /Ermcp8/QueryInternalEnableTradeDetail:
  29823. get:
  29824. parameters:
  29825. - description: 企业ID
  29826. in: query
  29827. name: areauserid
  29828. required: true
  29829. type: integer
  29830. - description: 期货合约ID
  29831. in: query
  29832. name: goodsid
  29833. required: true
  29834. type: integer
  29835. - description: 交易用户ID
  29836. in: query
  29837. name: tradeuserid
  29838. required: true
  29839. type: integer
  29840. produces:
  29841. - application/json
  29842. responses:
  29843. "200":
  29844. description: OK
  29845. schema:
  29846. items:
  29847. $ref: '#/definitions/models.InternalEnableTradeDetail'
  29848. type: array
  29849. "500":
  29850. description: Internal Server Error
  29851. schema:
  29852. $ref: '#/definitions/app.Response'
  29853. security:
  29854. - ApiKeyAuth: []
  29855. summary: 内部成交单可关联项目查询
  29856. tags:
  29857. - 企业风险管理v8
  29858. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  29859. get:
  29860. parameters:
  29861. - description: 用户编号
  29862. in: query
  29863. name: userid
  29864. required: true
  29865. type: integer
  29866. - description: 起始日期(格式yyyymmdd)
  29867. in: query
  29868. name: begindate
  29869. type: string
  29870. - description: 终止日期(格式yyyymmdd)
  29871. in: query
  29872. name: enddate
  29873. type: string
  29874. - description: 合约代码
  29875. in: query
  29876. name: goodscode
  29877. type: string
  29878. - description: 合约名称
  29879. in: query
  29880. name: goodsname
  29881. type: string
  29882. - description: 成交单号
  29883. in: query
  29884. name: tradeid
  29885. type: integer
  29886. - description: 方向 - 0:买 1:卖
  29887. in: query
  29888. name: buyorsell
  29889. type: integer
  29890. - description: 套期主体
  29891. in: query
  29892. name: accountname
  29893. type: string
  29894. produces:
  29895. - application/json
  29896. responses:
  29897. "200":
  29898. description: OK
  29899. schema:
  29900. items:
  29901. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  29902. type: array
  29903. "500":
  29904. description: Internal Server Error
  29905. schema:
  29906. $ref: '#/definitions/app.Response'
  29907. security:
  29908. - ApiKeyAuth: []
  29909. summary: 内部未关联成交单查询
  29910. tags:
  29911. - 企业风险管理v8
  29912. /Ermcp8/QueryMarketCalendar:
  29913. get:
  29914. parameters:
  29915. - description: 市场ID
  29916. in: query
  29917. name: marketid
  29918. type: integer
  29919. produces:
  29920. - application/json
  29921. responses:
  29922. "200":
  29923. description: OK
  29924. schema:
  29925. items:
  29926. $ref: '#/definitions/models.Marketcalendar'
  29927. type: array
  29928. "500":
  29929. description: Internal Server Error
  29930. schema:
  29931. $ref: '#/definitions/app.Response'
  29932. security:
  29933. - ApiKeyAuth: []
  29934. summary: 市场节假日查询
  29935. tags:
  29936. - 企业风险管理v8
  29937. /Ermcp8/QueryPatradeLinkDetail:
  29938. get:
  29939. parameters:
  29940. - description: 用户ID
  29941. in: query
  29942. name: userid
  29943. required: true
  29944. type: integer
  29945. - description: 套保品种ID
  29946. in: query
  29947. name: middlegoodsid
  29948. required: true
  29949. type: integer
  29950. produces:
  29951. - application/json
  29952. responses:
  29953. "200":
  29954. description: OK
  29955. schema:
  29956. items:
  29957. $ref: '#/definitions/models.Patradelinkdetail'
  29958. type: array
  29959. "500":
  29960. description: Internal Server Error
  29961. schema:
  29962. $ref: '#/definitions/app.Response'
  29963. security:
  29964. - ApiKeyAuth: []
  29965. summary: 敞口明细 - 期货变动明细
  29966. tags:
  29967. - 企业风险管理v8
  29968. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  29969. get:
  29970. parameters:
  29971. - description: 企业ID
  29972. in: query
  29973. name: areauserid
  29974. required: true
  29975. type: integer
  29976. - description: 计划类型 - 1:采购 -1:销售
  29977. in: query
  29978. name: contracttype
  29979. type: integer
  29980. - description: 计划编号,模糊查询
  29981. in: query
  29982. name: hedgeplanno
  29983. type: string
  29984. - description: 现货商品,模糊查询
  29985. in: query
  29986. name: wrstandardname
  29987. type: string
  29988. produces:
  29989. - application/json
  29990. responses:
  29991. "200":
  29992. description: OK
  29993. schema:
  29994. items:
  29995. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  29996. type: array
  29997. "500":
  29998. description: Internal Server Error
  29999. schema:
  30000. $ref: '#/definitions/app.Response'
  30001. security:
  30002. - ApiKeyAuth: []
  30003. summary: 未关联购销计划
  30004. tags:
  30005. - 企业风险管理v8
  30006. /Ermcp8/QueryUnLinkSpotContract:
  30007. get:
  30008. parameters:
  30009. - description: 用户ID
  30010. in: query
  30011. name: userid
  30012. required: true
  30013. type: integer
  30014. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  30015. in: query
  30016. name: pricetype
  30017. type: integer
  30018. - description: 合同编号, 模拟查询
  30019. in: query
  30020. name: contractno
  30021. type: string
  30022. - description: 对手方, 模拟查询
  30023. in: query
  30024. name: customername
  30025. type: string
  30026. - description: 项合同类型 - 1:采购 -1:销售
  30027. in: query
  30028. name: contracttype
  30029. type: integer
  30030. produces:
  30031. - application/json
  30032. responses:
  30033. "200":
  30034. description: OK
  30035. schema:
  30036. items:
  30037. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  30038. type: array
  30039. "500":
  30040. description: Internal Server Error
  30041. schema:
  30042. $ref: '#/definitions/app.Response'
  30043. security:
  30044. - ApiKeyAuth: []
  30045. summary: 未关联合同查询
  30046. tags:
  30047. - 企业风险管理v8
  30048. /Erms2/QueryArbitrageStrategy:
  30049. get:
  30050. parameters:
  30051. - description: 账户ID
  30052. in: query
  30053. name: userid
  30054. required: true
  30055. type: integer
  30056. - description: 商品组ID(品种ID)
  30057. in: query
  30058. name: goodsgroupid
  30059. type: string
  30060. produces:
  30061. - application/json
  30062. responses:
  30063. "200":
  30064. description: OK
  30065. schema:
  30066. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  30067. "500":
  30068. description: Internal Server Error
  30069. schema:
  30070. $ref: '#/definitions/app.Response'
  30071. security:
  30072. - ApiKeyAuth: []
  30073. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  30074. tags:
  30075. - 风险管理
  30076. /Erms2/QueryInnerTradeDetail:
  30077. get:
  30078. parameters:
  30079. - description: 资金账户
  30080. in: query
  30081. name: accountid
  30082. required: true
  30083. type: integer
  30084. produces:
  30085. - application/json
  30086. responses:
  30087. "200":
  30088. description: OK
  30089. schema:
  30090. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  30091. "500":
  30092. description: Internal Server Error
  30093. schema:
  30094. $ref: '#/definitions/app.Response'
  30095. security:
  30096. - ApiKeyAuth: []
  30097. summary: 查询内部成交单信息
  30098. tags:
  30099. - 风险管理
  30100. /Erms2/QuerySpotContract:
  30101. get:
  30102. parameters:
  30103. - description: 策略申请ID
  30104. in: query
  30105. name: asapplyid
  30106. required: true
  30107. type: integer
  30108. - description: 现货合同ID
  30109. in: query
  30110. name: spotcontractid
  30111. type: integer
  30112. produces:
  30113. - application/json
  30114. responses:
  30115. "200":
  30116. description: OK
  30117. schema:
  30118. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  30119. "500":
  30120. description: Internal Server Error
  30121. schema:
  30122. $ref: '#/definitions/app.Response'
  30123. security:
  30124. - ApiKeyAuth: []
  30125. summary: 查询现货合同表信息(指定策略ID、未结束的)
  30126. tags:
  30127. - 风险管理
  30128. /Erms3/AddErms2ASApply:
  30129. post:
  30130. parameters:
  30131. - description: 申请参数
  30132. in: body
  30133. name: jsonBody
  30134. required: true
  30135. schema:
  30136. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  30137. produces:
  30138. - application/json
  30139. responses:
  30140. "200":
  30141. description: OK
  30142. schema:
  30143. $ref: '#/definitions/app.Response'
  30144. "500":
  30145. description: Internal Server Error
  30146. schema:
  30147. $ref: '#/definitions/app.Response'
  30148. security:
  30149. - ApiKeyAuth: []
  30150. summary: 新增期现套利业务申请
  30151. tags:
  30152. - 风险管理v3
  30153. /Erms3/AddErms2SpotTradeApply:
  30154. post:
  30155. parameters:
  30156. - description: 申请参数
  30157. in: body
  30158. name: jsonBody
  30159. required: true
  30160. schema:
  30161. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  30162. produces:
  30163. - application/json
  30164. responses:
  30165. "200":
  30166. description: OK
  30167. schema:
  30168. $ref: '#/definitions/app.Response'
  30169. "500":
  30170. description: Internal Server Error
  30171. schema:
  30172. $ref: '#/definitions/app.Response'
  30173. security:
  30174. - ApiKeyAuth: []
  30175. summary: 新增现货贸易业务申请
  30176. tags:
  30177. - 风险管理v3
  30178. /Erms3/AddSpotContractApply:
  30179. post:
  30180. parameters:
  30181. - description: 申请参数
  30182. in: body
  30183. name: jsonBody
  30184. required: true
  30185. schema:
  30186. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  30187. produces:
  30188. - application/json
  30189. responses:
  30190. "200":
  30191. description: OK
  30192. schema:
  30193. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  30194. "500":
  30195. description: Internal Server Error
  30196. schema:
  30197. $ref: '#/definitions/app.Response'
  30198. security:
  30199. - ApiKeyAuth: []
  30200. summary: 新增现货合同申请
  30201. tags:
  30202. - 风险管理v3
  30203. /Erms3/AddUserInfoApply:
  30204. post:
  30205. parameters:
  30206. - description: 用户信息
  30207. in: body
  30208. name: jsonBody
  30209. required: true
  30210. schema:
  30211. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  30212. produces:
  30213. - application/json
  30214. responses:
  30215. "200":
  30216. description: OK
  30217. schema:
  30218. $ref: '#/definitions/app.Response'
  30219. "500":
  30220. description: Internal Server Error
  30221. schema:
  30222. $ref: '#/definitions/app.Response'
  30223. security:
  30224. - ApiKeyAuth: []
  30225. summary: 新增客户申请
  30226. tags:
  30227. - 风险管理v3
  30228. /Erms3/DeleteUserInfoApply:
  30229. get:
  30230. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  30231. parameters:
  30232. - description: 用户ID
  30233. in: query
  30234. name: userID
  30235. required: true
  30236. type: integer
  30237. produces:
  30238. - application/json
  30239. responses:
  30240. "200":
  30241. description: OK
  30242. schema:
  30243. $ref: '#/definitions/app.Response'
  30244. "500":
  30245. description: Internal Server Error
  30246. schema:
  30247. $ref: '#/definitions/app.Response'
  30248. security:
  30249. - ApiKeyAuth: []
  30250. summary: 删除客户申请
  30251. tags:
  30252. - 风险管理v3
  30253. /Erms3/ModifyUserInfoApply:
  30254. post:
  30255. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  30256. int, "userstate": 2 }'
  30257. parameters:
  30258. - description: 用户信息
  30259. in: body
  30260. name: jsonBody
  30261. required: true
  30262. schema:
  30263. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  30264. produces:
  30265. - application/json
  30266. responses:
  30267. "200":
  30268. description: OK
  30269. schema:
  30270. $ref: '#/definitions/app.Response'
  30271. "500":
  30272. description: Internal Server Error
  30273. schema:
  30274. $ref: '#/definitions/app.Response'
  30275. security:
  30276. - ApiKeyAuth: []
  30277. summary: 修改客户申请
  30278. tags:
  30279. - 风险管理v3
  30280. /Erms3/QueryBusinessInfo:
  30281. get:
  30282. parameters:
  30283. - description: 资金账号ID列表,用逗号分隔
  30284. in: query
  30285. name: accountids
  30286. required: true
  30287. type: string
  30288. - description: 状态,0为未结束 1为已结束
  30289. in: query
  30290. name: status
  30291. required: true
  30292. type: integer
  30293. produces:
  30294. - application/json
  30295. responses:
  30296. "200":
  30297. description: OK
  30298. schema:
  30299. items:
  30300. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  30301. type: array
  30302. "500":
  30303. description: Internal Server Error
  30304. schema:
  30305. $ref: '#/definitions/app.Response'
  30306. security:
  30307. - ApiKeyAuth: []
  30308. summary: 查询业务表单数据
  30309. tags:
  30310. - 风险管理v3
  30311. /Erms3/QueryPendingAuditContract:
  30312. get:
  30313. parameters:
  30314. - description: 资金账号ID列表,逗号隔开
  30315. in: query
  30316. name: accountids
  30317. required: true
  30318. type: string
  30319. - description: 合同类型 1-采购 -1-销售
  30320. in: query
  30321. name: contracttype
  30322. required: true
  30323. type: integer
  30324. - description: 合同模式 1-普通 2-回购
  30325. in: query
  30326. name: contractmode
  30327. required: true
  30328. type: integer
  30329. produces:
  30330. - application/json
  30331. responses:
  30332. "200":
  30333. description: OK
  30334. schema:
  30335. items:
  30336. $ref: '#/definitions/erms3.QryAuditContractRsp'
  30337. type: array
  30338. "500":
  30339. description: Internal Server Error
  30340. schema:
  30341. $ref: '#/definitions/app.Response'
  30342. security:
  30343. - ApiKeyAuth: []
  30344. summary: 查询待审核合同
  30345. tags:
  30346. - 风险管理v3
  30347. /Erms3/QueryPendingBusiness:
  30348. get:
  30349. parameters:
  30350. - description: 资金账号ID列表,逗号隔开
  30351. in: query
  30352. name: accountids
  30353. required: true
  30354. type: string
  30355. produces:
  30356. - application/json
  30357. responses:
  30358. "200":
  30359. description: OK
  30360. schema:
  30361. items:
  30362. $ref: '#/definitions/erms3.QryPendingBizRsp'
  30363. type: array
  30364. "500":
  30365. description: Internal Server Error
  30366. schema:
  30367. $ref: '#/definitions/app.Response'
  30368. security:
  30369. - ApiKeyAuth: []
  30370. summary: 查询待审核基差贸易业务
  30371. tags:
  30372. - 风险管理v3
  30373. /Erms3/QuerySpotContractAppleForm:
  30374. get:
  30375. parameters:
  30376. - description: 登录账号
  30377. in: query
  30378. name: loginID
  30379. required: true
  30380. type: integer
  30381. produces:
  30382. - application/json
  30383. responses:
  30384. "200":
  30385. description: OK
  30386. schema:
  30387. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  30388. "500":
  30389. description: Internal Server Error
  30390. schema:
  30391. $ref: '#/definitions/app.Response'
  30392. security:
  30393. - ApiKeyAuth: []
  30394. summary: 查询合同申请表单数据
  30395. tags:
  30396. - 风险管理v3
  30397. /Erms3/QuerySpotContractDetail:
  30398. get:
  30399. parameters:
  30400. - description: 资金账号ID列表,用逗号分隔
  30401. in: query
  30402. name: accountids
  30403. required: true
  30404. type: string
  30405. - description: 合同类型,1为采购合同 -1为销售合同
  30406. in: query
  30407. name: contracttype
  30408. required: true
  30409. type: integer
  30410. - description: 合同模式,1为普通合同 2为回购销售合同
  30411. in: query
  30412. name: contractmode
  30413. required: true
  30414. type: integer
  30415. - description: 状态,0为履约中 1为已完成
  30416. in: query
  30417. name: status
  30418. required: true
  30419. type: integer
  30420. produces:
  30421. - application/json
  30422. responses:
  30423. "200":
  30424. description: OK
  30425. schema:
  30426. items:
  30427. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  30428. type: array
  30429. "500":
  30430. description: Internal Server Error
  30431. schema:
  30432. $ref: '#/definitions/app.Response'
  30433. security:
  30434. - ApiKeyAuth: []
  30435. summary: 查询合同详细信息
  30436. tags:
  30437. - 风险管理v3
  30438. /Erms3/QueryUserInfoApplies:
  30439. get:
  30440. parameters:
  30441. - description: 页码
  30442. in: query
  30443. name: page
  30444. type: integer
  30445. - description: 每页条数
  30446. in: query
  30447. name: pagesize
  30448. type: integer
  30449. - description: 客户名称,支持模糊查询
  30450. in: query
  30451. name: userName
  30452. type: string
  30453. produces:
  30454. - application/json
  30455. responses:
  30456. "200":
  30457. description: OK
  30458. schema:
  30459. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  30460. "500":
  30461. description: Internal Server Error
  30462. schema:
  30463. $ref: '#/definitions/app.Response'
  30464. security:
  30465. - ApiKeyAuth: []
  30466. summary: 客户申请信息查询
  30467. tags:
  30468. - 风险管理v3
  30469. /Erms3/QueryUserInfos:
  30470. get:
  30471. parameters:
  30472. - description: 页码
  30473. in: query
  30474. name: page
  30475. type: integer
  30476. - description: 每页条数
  30477. in: query
  30478. name: pagesize
  30479. type: integer
  30480. - description: 客户名称,支持模糊查询
  30481. in: query
  30482. name: userName
  30483. type: string
  30484. produces:
  30485. - application/json
  30486. responses:
  30487. "200":
  30488. description: OK
  30489. schema:
  30490. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  30491. "500":
  30492. description: Internal Server Error
  30493. schema:
  30494. $ref: '#/definitions/app.Response'
  30495. security:
  30496. - ApiKeyAuth: []
  30497. summary: 客户信息查询
  30498. tags:
  30499. - 风险管理v3
  30500. /Ferroalloy/GetSpotGoodsPrice:
  30501. get:
  30502. parameters:
  30503. - description: 页码
  30504. in: query
  30505. name: page
  30506. type: integer
  30507. - description: 每页条数
  30508. in: query
  30509. name: pagesize
  30510. type: integer
  30511. produces:
  30512. - application/json
  30513. responses:
  30514. "200":
  30515. description: OK
  30516. schema:
  30517. items:
  30518. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  30519. type: array
  30520. "500":
  30521. description: Internal Server Error
  30522. schema:
  30523. $ref: '#/definitions/app.Response'
  30524. security:
  30525. - ApiKeyAuth: []
  30526. summary: 获取现货行情
  30527. tags:
  30528. - 铁合金
  30529. /Ferroalloy/QueryMyRefer:
  30530. get:
  30531. parameters:
  30532. - description: 用户ID
  30533. in: query
  30534. name: userid
  30535. required: true
  30536. type: integer
  30537. - description: 页码
  30538. in: query
  30539. name: page
  30540. type: integer
  30541. - description: 每页条数
  30542. in: query
  30543. name: pagesize
  30544. type: integer
  30545. produces:
  30546. - application/json
  30547. responses:
  30548. "200":
  30549. description: OK
  30550. schema:
  30551. items:
  30552. $ref: '#/definitions/models.MyRefer'
  30553. type: array
  30554. "500":
  30555. description: Internal Server Error
  30556. schema:
  30557. $ref: '#/definitions/app.Response'
  30558. security:
  30559. - ApiKeyAuth: []
  30560. summary: 查询我的推荐列表
  30561. tags:
  30562. - 铁合金
  30563. /Ferroalloy/QueryMyRegisterMoney:
  30564. get:
  30565. parameters:
  30566. - description: 资金账户
  30567. in: query
  30568. name: accountid
  30569. required: true
  30570. type: integer
  30571. produces:
  30572. - application/json
  30573. responses:
  30574. "200":
  30575. description: OK
  30576. schema:
  30577. items:
  30578. $ref: '#/definitions/models.RegisterMoney'
  30579. type: array
  30580. "500":
  30581. description: Internal Server Error
  30582. schema:
  30583. $ref: '#/definitions/app.Response'
  30584. summary: 查询我的注册红包
  30585. tags:
  30586. - 铁合金
  30587. /Ferroalloy/QueryTHJGoodsDetail:
  30588. get:
  30589. parameters:
  30590. - description: 现货商品ID
  30591. in: query
  30592. name: wrstandardid
  30593. required: true
  30594. type: integer
  30595. produces:
  30596. - application/json
  30597. responses:
  30598. "200":
  30599. description: OK
  30600. schema:
  30601. items:
  30602. $ref: '#/definitions/models.THJGoodsDetailRsp'
  30603. type: array
  30604. "500":
  30605. description: Internal Server Error
  30606. schema:
  30607. $ref: '#/definitions/app.Response'
  30608. security:
  30609. - ApiKeyAuth: []
  30610. summary: 查询商品详情
  30611. tags:
  30612. - 铁合金
  30613. /Ferroalloy/QueryTHJListing:
  30614. get:
  30615. parameters:
  30616. - description: 现货商品名称(模糊查询)
  30617. in: query
  30618. name: wrstandardname
  30619. type: string
  30620. - description: 页码
  30621. in: query
  30622. name: page
  30623. type: integer
  30624. - description: 每页条数
  30625. in: query
  30626. name: pagesize
  30627. type: integer
  30628. produces:
  30629. - application/json
  30630. responses:
  30631. "200":
  30632. description: OK
  30633. schema:
  30634. items:
  30635. $ref: '#/definitions/models.THJWrstandard'
  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. /Ferroalloy/QueryTHJProduct:
  30647. get:
  30648. parameters:
  30649. - description: 用户ID
  30650. in: query
  30651. name: userid
  30652. required: true
  30653. type: integer
  30654. - description: 关注标志 true-已关注 false-未关注
  30655. in: query
  30656. name: favoriteflag
  30657. type: boolean
  30658. - description: 页码
  30659. in: query
  30660. name: page
  30661. type: integer
  30662. - description: 每页条数
  30663. in: query
  30664. name: pagesize
  30665. type: integer
  30666. produces:
  30667. - application/json
  30668. responses:
  30669. "200":
  30670. description: OK
  30671. schema:
  30672. items:
  30673. $ref: '#/definitions/models.THJProduct'
  30674. type: array
  30675. "500":
  30676. description: Internal Server Error
  30677. schema:
  30678. $ref: '#/definitions/app.Response'
  30679. security:
  30680. - ApiKeyAuth: []
  30681. summary: 获取产品介绍列表
  30682. tags:
  30683. - 铁合金
  30684. /Ferroalloy/QueryTHJPromotionIncome:
  30685. get:
  30686. parameters:
  30687. - description: 用户ID
  30688. in: query
  30689. name: userid
  30690. required: true
  30691. type: integer
  30692. - description: 状态 - 0:全部 1:已支付 2:未支付
  30693. in: query
  30694. name: profitstatus
  30695. type: integer
  30696. - description: 页码
  30697. in: query
  30698. name: page
  30699. type: integer
  30700. - description: 每页条数
  30701. in: query
  30702. name: pagesize
  30703. type: integer
  30704. produces:
  30705. - application/json
  30706. responses:
  30707. "200":
  30708. description: OK
  30709. schema:
  30710. items:
  30711. $ref: '#/definitions/models.PromotionIncome'
  30712. type: array
  30713. "500":
  30714. description: Internal Server Error
  30715. schema:
  30716. $ref: '#/definitions/app.Response'
  30717. security:
  30718. - ApiKeyAuth: []
  30719. summary: 查询我的推广-推广收益
  30720. tags:
  30721. - 铁合金
  30722. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  30723. get:
  30724. parameters:
  30725. - description: 用户ID
  30726. in: query
  30727. name: userid
  30728. required: true
  30729. type: integer
  30730. - description: 月份,格式:yyyymm
  30731. in: query
  30732. name: mouth
  30733. required: true
  30734. type: string
  30735. - description: 页码
  30736. in: query
  30737. name: page
  30738. type: integer
  30739. - description: 每页条数
  30740. in: query
  30741. name: pagesize
  30742. type: integer
  30743. produces:
  30744. - application/json
  30745. responses:
  30746. "200":
  30747. description: OK
  30748. schema:
  30749. items:
  30750. $ref: '#/definitions/models.PromotionIncomeDetail'
  30751. type: array
  30752. "500":
  30753. description: Internal Server Error
  30754. schema:
  30755. $ref: '#/definitions/app.Response'
  30756. security:
  30757. - ApiKeyAuth: []
  30758. summary: 查询我的推广-推广收益-明细
  30759. tags:
  30760. - 铁合金
  30761. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  30762. get:
  30763. parameters:
  30764. - description: 用户ID
  30765. in: query
  30766. name: userid
  30767. required: true
  30768. type: integer
  30769. - description: 类型 - 0:未完成 1:已完成
  30770. in: query
  30771. name: type
  30772. type: integer
  30773. - description: 页码
  30774. in: query
  30775. name: page
  30776. type: integer
  30777. - description: 每页条数
  30778. in: query
  30779. name: pagesize
  30780. type: integer
  30781. produces:
  30782. - application/json
  30783. responses:
  30784. "200":
  30785. description: OK
  30786. schema:
  30787. items:
  30788. $ref: '#/definitions/models.Thjpurchasetradedetail'
  30789. type: array
  30790. "500":
  30791. description: Internal Server Error
  30792. schema:
  30793. $ref: '#/definitions/app.Response'
  30794. security:
  30795. - ApiKeyAuth: []
  30796. summary: 查询我的订单-采购订单
  30797. tags:
  30798. - 铁合金
  30799. /Ferroalloy/QueryTHJPurchaseTransfer:
  30800. get:
  30801. parameters:
  30802. - description: 现货商品名称(模糊查询)
  30803. in: query
  30804. name: wrstandardname
  30805. type: string
  30806. - description: 页码
  30807. in: query
  30808. name: page
  30809. type: integer
  30810. - description: 每页条数
  30811. in: query
  30812. name: pagesize
  30813. type: integer
  30814. produces:
  30815. - application/json
  30816. responses:
  30817. "200":
  30818. description: OK
  30819. schema:
  30820. items:
  30821. $ref: '#/definitions/models.PurchaseTransfer'
  30822. type: array
  30823. "500":
  30824. description: Internal Server Error
  30825. schema:
  30826. $ref: '#/definitions/app.Response'
  30827. security:
  30828. - ApiKeyAuth: []
  30829. summary: 查询合同转让列表
  30830. tags:
  30831. - 铁合金
  30832. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  30833. get:
  30834. parameters:
  30835. - description: 现货商品ID
  30836. in: query
  30837. name: wrstandardid
  30838. required: true
  30839. type: integer
  30840. produces:
  30841. - application/json
  30842. responses:
  30843. "200":
  30844. description: OK
  30845. schema:
  30846. items:
  30847. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  30848. type: array
  30849. "500":
  30850. description: Internal Server Error
  30851. schema:
  30852. $ref: '#/definitions/app.Response'
  30853. security:
  30854. - ApiKeyAuth: []
  30855. summary: 查询合同转让详情
  30856. tags:
  30857. - 铁合金
  30858. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  30859. get:
  30860. parameters:
  30861. - description: 用户ID
  30862. in: query
  30863. name: userid
  30864. required: true
  30865. type: integer
  30866. - description: 类型 - 1:转让 2:受让 3:转让委托已完成
  30867. in: query
  30868. name: ordertype
  30869. required: true
  30870. type: integer
  30871. - description: 页码
  30872. in: query
  30873. name: page
  30874. type: integer
  30875. - description: 每页条数
  30876. in: query
  30877. name: pagesize
  30878. type: integer
  30879. produces:
  30880. - application/json
  30881. responses:
  30882. "200":
  30883. description: OK
  30884. schema:
  30885. items:
  30886. $ref: '#/definitions/models.Thjpurchasetransfer'
  30887. type: array
  30888. "500":
  30889. description: Internal Server Error
  30890. schema:
  30891. $ref: '#/definitions/app.Response'
  30892. security:
  30893. - ApiKeyAuth: []
  30894. summary: 查询我的订单-转让/受让订单
  30895. tags:
  30896. - 铁合金
  30897. /Ferroalloy/QueryTHJPurchaseTransferOrderDetail:
  30898. get:
  30899. parameters:
  30900. - description: 采购成交单ID
  30901. in: query
  30902. name: wrtradedetailid
  30903. required: true
  30904. type: string
  30905. produces:
  30906. - application/json
  30907. responses:
  30908. "200":
  30909. description: OK
  30910. schema:
  30911. items:
  30912. $ref: '#/definitions/models.ThjpurchasetransferDetail'
  30913. type: array
  30914. "500":
  30915. description: Internal Server Error
  30916. schema:
  30917. $ref: '#/definitions/app.Response'
  30918. security:
  30919. - ApiKeyAuth: []
  30920. summary: 查询我的订单-转让/受让订单-详情
  30921. tags:
  30922. - 铁合金
  30923. /Ferroalloy/QueryTHJScoreConfig:
  30924. get:
  30925. parameters:
  30926. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  30927. 6:自己供求下单积分 7:抽奖配置'
  30928. in: query
  30929. name: stype
  30930. type: string
  30931. produces:
  30932. - application/json
  30933. responses:
  30934. "200":
  30935. description: OK
  30936. schema:
  30937. items:
  30938. $ref: '#/definitions/models.Thjscoreconfig'
  30939. type: array
  30940. "500":
  30941. description: Internal Server Error
  30942. schema:
  30943. $ref: '#/definitions/app.Response'
  30944. security:
  30945. - ApiKeyAuth: []
  30946. summary: 查询积分配置
  30947. tags:
  30948. - 铁合金
  30949. /Ferroalloy/QueryTHJTradeData:
  30950. get:
  30951. parameters:
  30952. - description: 用户ID
  30953. in: query
  30954. name: userid
  30955. required: true
  30956. type: integer
  30957. - description: 市场ID 采购-64201 供求-65201
  30958. in: query
  30959. name: marketid
  30960. required: true
  30961. type: integer
  30962. - description: 页码
  30963. in: query
  30964. name: page
  30965. type: integer
  30966. - description: 每页条数
  30967. in: query
  30968. name: pagesize
  30969. type: integer
  30970. produces:
  30971. - application/json
  30972. responses:
  30973. "200":
  30974. description: OK
  30975. schema:
  30976. items:
  30977. $ref: '#/definitions/models.THJTradeData'
  30978. type: array
  30979. "500":
  30980. description: Internal Server Error
  30981. schema:
  30982. $ref: '#/definitions/app.Response'
  30983. security:
  30984. - ApiKeyAuth: []
  30985. summary: 获取我的推广-交易数据
  30986. tags:
  30987. - 铁合金
  30988. /Ferroalloy/QueryTHJWrstandard:
  30989. get:
  30990. parameters:
  30991. - description: 现货商品名称(模糊查询)
  30992. in: query
  30993. name: wrstandardname
  30994. type: string
  30995. - description: 页码
  30996. in: query
  30997. name: page
  30998. type: integer
  30999. - description: 每页条数
  31000. in: query
  31001. name: pagesize
  31002. type: integer
  31003. produces:
  31004. - application/json
  31005. responses:
  31006. "200":
  31007. description: OK
  31008. schema:
  31009. items:
  31010. $ref: '#/definitions/models.THJWrstandard'
  31011. type: array
  31012. "500":
  31013. description: Internal Server Error
  31014. schema:
  31015. $ref: '#/definitions/app.Response'
  31016. security:
  31017. - ApiKeyAuth: []
  31018. summary: 查询采购列表
  31019. tags:
  31020. - 铁合金
  31021. /Ferroalloy/QueryTHJWrstandardDetail:
  31022. get:
  31023. parameters:
  31024. - description: 现货商品ID
  31025. in: query
  31026. name: wrstandardid
  31027. required: true
  31028. type: integer
  31029. produces:
  31030. - application/json
  31031. responses:
  31032. "200":
  31033. description: OK
  31034. schema:
  31035. items:
  31036. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  31037. type: array
  31038. "500":
  31039. description: Internal Server Error
  31040. schema:
  31041. $ref: '#/definitions/app.Response'
  31042. security:
  31043. - ApiKeyAuth: []
  31044. summary: 查询采购详情
  31045. tags:
  31046. - 铁合金
  31047. /Ferroalloy/QueryUserLevelInfo:
  31048. get:
  31049. parameters:
  31050. - description: 用户ID
  31051. in: query
  31052. name: userid
  31053. required: true
  31054. type: integer
  31055. produces:
  31056. - application/json
  31057. responses:
  31058. "200":
  31059. description: OK
  31060. schema:
  31061. items:
  31062. $ref: '#/definitions/models.THJUserLevelInfo'
  31063. type: array
  31064. "500":
  31065. description: Internal Server Error
  31066. schema:
  31067. $ref: '#/definitions/app.Response'
  31068. security:
  31069. - ApiKeyAuth: []
  31070. summary: 查询用户等级信息
  31071. tags:
  31072. - 铁合金
  31073. /Ferroalloy/QueryUserScoreLog:
  31074. get:
  31075. parameters:
  31076. - description: 用户ID
  31077. in: query
  31078. name: userid
  31079. required: true
  31080. type: integer
  31081. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31082. 6:自己供求下单积分 7:抽奖配置'
  31083. in: query
  31084. name: stype
  31085. type: string
  31086. - description: 页码
  31087. in: query
  31088. name: page
  31089. type: integer
  31090. - description: 每页条数
  31091. in: query
  31092. name: pagesize
  31093. type: integer
  31094. produces:
  31095. - application/json
  31096. responses:
  31097. "200":
  31098. description: OK
  31099. schema:
  31100. items:
  31101. $ref: '#/definitions/models.GThjuserscorelog'
  31102. type: array
  31103. "500":
  31104. description: Internal Server Error
  31105. schema:
  31106. $ref: '#/definitions/app.Response'
  31107. security:
  31108. - ApiKeyAuth: []
  31109. summary: 查询我的积分流水
  31110. tags:
  31111. - 铁合金
  31112. /Ferroalloy/Signin:
  31113. post:
  31114. parameters:
  31115. - description: 用户签到请求
  31116. in: body
  31117. name: jsonBody
  31118. required: true
  31119. schema:
  31120. $ref: '#/definitions/models.THJSigninReq'
  31121. produces:
  31122. - application/json
  31123. responses:
  31124. "200":
  31125. description: OK
  31126. schema:
  31127. $ref: '#/definitions/models.THJSigninRsp'
  31128. "500":
  31129. description: Internal Server Error
  31130. schema:
  31131. $ref: '#/definitions/app.Response'
  31132. security:
  31133. - ApiKeyAuth: []
  31134. summary: 用户签到
  31135. tags:
  31136. - 铁合金
  31137. /Guangzuan/GZBSFWOrderOperate:
  31138. get:
  31139. parameters:
  31140. - description: 单据ID
  31141. in: query
  31142. name: orderid
  31143. required: true
  31144. type: integer
  31145. produces:
  31146. - application/json
  31147. responses:
  31148. "200":
  31149. description: OK
  31150. schema:
  31151. items:
  31152. $ref: '#/definitions/models.Gzbsfworderoperate'
  31153. type: array
  31154. "500":
  31155. description: Internal Server Error
  31156. schema:
  31157. $ref: '#/definitions/app.Response'
  31158. security:
  31159. - ApiKeyAuth: []
  31160. - LoginID: []
  31161. - Group: []
  31162. summary: 保税服务单据操作信息
  31163. tags:
  31164. - 广钻
  31165. /Guangzuan/GetGoods:
  31166. get:
  31167. parameters:
  31168. - description: 商品编号
  31169. in: query
  31170. name: goodsno
  31171. required: true
  31172. type: string
  31173. produces:
  31174. - application/json
  31175. responses:
  31176. "200":
  31177. description: OK
  31178. schema:
  31179. $ref: '#/definitions/models.GZGoods'
  31180. "500":
  31181. description: Internal Server Error
  31182. schema:
  31183. $ref: '#/definitions/app.Response'
  31184. security:
  31185. - ApiKeyAuth: []
  31186. - LoginID: []
  31187. - Group: []
  31188. summary: 获取钻石详情
  31189. tags:
  31190. - 广钻
  31191. /Guangzuan/GzCertAddressConfig:
  31192. get:
  31193. produces:
  31194. - application/json
  31195. responses:
  31196. "200":
  31197. description: OK
  31198. schema:
  31199. items:
  31200. $ref: '#/definitions/models.Gzcertaddressconfig'
  31201. type: array
  31202. "500":
  31203. description: Internal Server Error
  31204. schema:
  31205. $ref: '#/definitions/app.Response'
  31206. security:
  31207. - ApiKeyAuth: []
  31208. - LoginID: []
  31209. - Group: []
  31210. summary: Rapaport最新报价表(广钻)
  31211. tags:
  31212. - 广钻
  31213. /Guangzuan/GzCertAddressParam:
  31214. get:
  31215. produces:
  31216. - application/json
  31217. responses:
  31218. "200":
  31219. description: OK
  31220. schema:
  31221. items:
  31222. $ref: '#/definitions/models.Gzcertaddressparam'
  31223. type: array
  31224. "500":
  31225. description: Internal Server Error
  31226. schema:
  31227. $ref: '#/definitions/app.Response'
  31228. security:
  31229. - ApiKeyAuth: []
  31230. - LoginID: []
  31231. - Group: []
  31232. summary: 钻石证书地址参数
  31233. tags:
  31234. - 广钻
  31235. /Guangzuan/HomeData:
  31236. get:
  31237. parameters:
  31238. - description: 用户ID
  31239. in: query
  31240. name: userid
  31241. required: true
  31242. type: integer
  31243. produces:
  31244. - application/json
  31245. responses:
  31246. "200":
  31247. description: OK
  31248. schema:
  31249. $ref: '#/definitions/models.GZHomeData'
  31250. "500":
  31251. description: Internal Server Error
  31252. schema:
  31253. $ref: '#/definitions/app.Response'
  31254. security:
  31255. - ApiKeyAuth: []
  31256. - LoginID: []
  31257. - Group: []
  31258. summary: 首页统计数据
  31259. tags:
  31260. - 广钻
  31261. /Guangzuan/PriceCalc:
  31262. get:
  31263. parameters:
  31264. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  31265. in: query
  31266. name: zsshape
  31267. required: true
  31268. type: integer
  31269. - description: 颜色(D-M)
  31270. in: query
  31271. name: zscolor
  31272. required: true
  31273. type: string
  31274. - description: 净度
  31275. in: query
  31276. name: zsclarity
  31277. required: true
  31278. type: string
  31279. - description: 重量
  31280. in: query
  31281. name: weight
  31282. required: true
  31283. type: number
  31284. - description: 汇率
  31285. in: query
  31286. name: rate
  31287. required: true
  31288. type: number
  31289. - description: 折扣(%), 方向(加:10, 减:-10 )
  31290. in: query
  31291. name: discount
  31292. type: number
  31293. produces:
  31294. - application/json
  31295. responses:
  31296. "200":
  31297. description: OK
  31298. schema:
  31299. items:
  31300. $ref: '#/definitions/models.Gzrapaportprice'
  31301. type: array
  31302. "500":
  31303. description: Internal Server Error
  31304. schema:
  31305. $ref: '#/definitions/app.Response'
  31306. security:
  31307. - ApiKeyAuth: []
  31308. - LoginID: []
  31309. - Group: []
  31310. summary: 钻石价格计算器
  31311. tags:
  31312. - 广钻
  31313. /Guangzuan/QueryBuyOrder:
  31314. get:
  31315. parameters:
  31316. - description: 页码
  31317. in: query
  31318. name: page
  31319. type: integer
  31320. - description: 每页条数
  31321. in: query
  31322. name: pagesize
  31323. type: integer
  31324. - description: 商品(查询字段-模糊查询)
  31325. in: query
  31326. name: zsallproperties
  31327. type: string
  31328. - description: 钻石分类, 格式:1,2,3
  31329. in: query
  31330. name: zscategorys
  31331. type: string
  31332. - description: 委托单号
  31333. in: query
  31334. name: wrtradeorderid
  31335. type: integer
  31336. - description: 买方(查询字段-模糊查询)
  31337. in: query
  31338. name: buyusername
  31339. type: string
  31340. produces:
  31341. - application/json
  31342. responses:
  31343. "200":
  31344. description: OK
  31345. schema:
  31346. items:
  31347. $ref: '#/definitions/models.BuyOrder'
  31348. type: array
  31349. "500":
  31350. description: Internal Server Error
  31351. schema:
  31352. $ref: '#/definitions/app.Response'
  31353. security:
  31354. - ApiKeyAuth: []
  31355. - LoginID: []
  31356. - Group: []
  31357. summary: 查询求购大厅委托单
  31358. tags:
  31359. - 广钻
  31360. /Guangzuan/QueryDiamond:
  31361. post:
  31362. parameters:
  31363. - description: 钻石搜索入参
  31364. in: body
  31365. name: data
  31366. required: true
  31367. schema:
  31368. $ref: '#/definitions/models.SellOrderQueryReq'
  31369. produces:
  31370. - application/json
  31371. responses:
  31372. "200":
  31373. description: OK
  31374. schema:
  31375. items:
  31376. $ref: '#/definitions/models.SellOrder'
  31377. type: array
  31378. "500":
  31379. description: Internal Server Error
  31380. schema:
  31381. $ref: '#/definitions/app.Response'
  31382. security:
  31383. - ApiKeyAuth: []
  31384. - LoginID: []
  31385. - Group: []
  31386. summary: 钻石搜索
  31387. tags:
  31388. - 广钻
  31389. /Guangzuan/QueryGZBSFWOrder:
  31390. get:
  31391. parameters:
  31392. - description: 用户ID
  31393. in: query
  31394. name: userid
  31395. required: true
  31396. type: integer
  31397. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31398. in: query
  31399. name: executestatus
  31400. type: integer
  31401. - description: 页码
  31402. in: query
  31403. name: page
  31404. type: integer
  31405. - description: 每页条数
  31406. in: query
  31407. name: pagesize
  31408. type: integer
  31409. produces:
  31410. - application/json
  31411. responses:
  31412. "200":
  31413. description: OK
  31414. schema:
  31415. items:
  31416. $ref: '#/definitions/models.GzbsfworderM'
  31417. type: array
  31418. "500":
  31419. description: Internal Server Error
  31420. schema:
  31421. $ref: '#/definitions/app.Response'
  31422. security:
  31423. - ApiKeyAuth: []
  31424. - LoginID: []
  31425. - Group: []
  31426. summary: 查询保税服务单据
  31427. tags:
  31428. - 广钻
  31429. /Guangzuan/QueryGZBSFWOrderDetail:
  31430. get:
  31431. parameters:
  31432. - description: 用户ID
  31433. in: query
  31434. name: userid
  31435. required: true
  31436. type: integer
  31437. - description: 单据ID
  31438. in: query
  31439. name: orderid
  31440. type: integer
  31441. - description: 页码
  31442. in: query
  31443. name: page
  31444. type: integer
  31445. - description: 每页条数
  31446. in: query
  31447. name: pagesize
  31448. type: integer
  31449. produces:
  31450. - application/json
  31451. responses:
  31452. "200":
  31453. description: OK
  31454. schema:
  31455. items:
  31456. $ref: '#/definitions/models.GzbsfworderdetailM'
  31457. type: array
  31458. "500":
  31459. description: Internal Server Error
  31460. schema:
  31461. $ref: '#/definitions/app.Response'
  31462. security:
  31463. - ApiKeyAuth: []
  31464. - LoginID: []
  31465. - Group: []
  31466. summary: 查询保税服务单据明细
  31467. tags:
  31468. - 广钻
  31469. /Guangzuan/QueryGZCJBSOrderFile:
  31470. get:
  31471. parameters:
  31472. - description: 单据ID
  31473. in: query
  31474. name: orderid
  31475. required: true
  31476. type: integer
  31477. - description: 页码
  31478. in: query
  31479. name: page
  31480. type: integer
  31481. - description: 每页条数
  31482. in: query
  31483. name: pagesize
  31484. type: integer
  31485. produces:
  31486. - application/json
  31487. responses:
  31488. "200":
  31489. description: OK
  31490. schema:
  31491. items:
  31492. $ref: '#/definitions/models.GzcjbsorderfileM'
  31493. type: array
  31494. "500":
  31495. description: Internal Server Error
  31496. schema:
  31497. $ref: '#/definitions/app.Response'
  31498. security:
  31499. - ApiKeyAuth: []
  31500. - LoginID: []
  31501. - Group: []
  31502. summary: 出境保税单据文件
  31503. tags:
  31504. - 广钻
  31505. /Guangzuan/QueryGZCJJCOrder:
  31506. get:
  31507. parameters:
  31508. - description: 用户ID
  31509. in: query
  31510. name: userid
  31511. required: true
  31512. type: integer
  31513. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31514. in: query
  31515. name: executestatus
  31516. type: integer
  31517. - description: 页码
  31518. in: query
  31519. name: page
  31520. type: integer
  31521. - description: 每页条数
  31522. in: query
  31523. name: pagesize
  31524. type: integer
  31525. produces:
  31526. - application/json
  31527. responses:
  31528. "200":
  31529. description: OK
  31530. schema:
  31531. items:
  31532. $ref: '#/definitions/models.GzcjjcorderM'
  31533. type: array
  31534. "500":
  31535. description: Internal Server Error
  31536. schema:
  31537. $ref: '#/definitions/app.Response'
  31538. security:
  31539. - ApiKeyAuth: []
  31540. - LoginID: []
  31541. - Group: []
  31542. summary: 查询出境检测单据
  31543. tags:
  31544. - 广钻
  31545. /Guangzuan/QueryGZCJJCOrderDetail:
  31546. get:
  31547. parameters:
  31548. - description: 用户ID
  31549. in: query
  31550. name: userid
  31551. required: true
  31552. type: integer
  31553. - description: 单据ID
  31554. in: query
  31555. name: orderid
  31556. type: integer
  31557. - description: 页码
  31558. in: query
  31559. name: page
  31560. type: integer
  31561. - description: 每页条数
  31562. in: query
  31563. name: pagesize
  31564. type: integer
  31565. produces:
  31566. - application/json
  31567. responses:
  31568. "200":
  31569. description: OK
  31570. schema:
  31571. items:
  31572. $ref: '#/definitions/models.GzcjjcorderdetailM'
  31573. type: array
  31574. "500":
  31575. description: Internal Server Error
  31576. schema:
  31577. $ref: '#/definitions/app.Response'
  31578. security:
  31579. - ApiKeyAuth: []
  31580. - LoginID: []
  31581. - Group: []
  31582. summary: 查询出境检测单据明细(批次信息)
  31583. tags:
  31584. - 广钻
  31585. /Guangzuan/QueryMemberReport:
  31586. get:
  31587. parameters:
  31588. - description: 用户ID
  31589. in: query
  31590. name: userid
  31591. required: true
  31592. type: integer
  31593. - description: 页码
  31594. in: query
  31595. name: page
  31596. type: integer
  31597. - description: 每页条数
  31598. in: query
  31599. name: pagesize
  31600. type: integer
  31601. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  31602. in: query
  31603. name: cycletype
  31604. type: string
  31605. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31606. in: query
  31607. name: begindate
  31608. required: true
  31609. type: string
  31610. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31611. in: query
  31612. name: enddate
  31613. required: true
  31614. type: string
  31615. produces:
  31616. - application/json
  31617. responses:
  31618. "200":
  31619. description: OK
  31620. schema:
  31621. items:
  31622. $ref: '#/definitions/models.Reckondaytaaccount'
  31623. type: array
  31624. "500":
  31625. description: Internal Server Error
  31626. schema:
  31627. $ref: '#/definitions/app.Response'
  31628. security:
  31629. - ApiKeyAuth: []
  31630. - LoginID: []
  31631. - Group: []
  31632. summary: 查询会员报表
  31633. tags:
  31634. - 广钻
  31635. /Guangzuan/QueryMyBargainApply:
  31636. get:
  31637. parameters:
  31638. - description: 用户ID
  31639. in: query
  31640. name: userid
  31641. required: true
  31642. type: integer
  31643. - description: 页码
  31644. in: query
  31645. name: page
  31646. type: integer
  31647. - description: 每页条数
  31648. in: query
  31649. name: pagesize
  31650. type: integer
  31651. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  31652. in: query
  31653. name: applystatus
  31654. type: integer
  31655. - description: 查询类型 - 0:我的询价 1:我订单的询价
  31656. in: query
  31657. name: type
  31658. type: integer
  31659. - description: 关联委托单ID
  31660. in: query
  31661. name: wrtradeorderid
  31662. type: string
  31663. produces:
  31664. - application/json
  31665. responses:
  31666. "200":
  31667. description: OK
  31668. schema:
  31669. items:
  31670. $ref: '#/definitions/models.MyBargainApply'
  31671. type: array
  31672. "500":
  31673. description: Internal Server Error
  31674. schema:
  31675. $ref: '#/definitions/app.Response'
  31676. security:
  31677. - ApiKeyAuth: []
  31678. - LoginID: []
  31679. - Group: []
  31680. summary: 查询询价-求购
  31681. tags:
  31682. - 广钻
  31683. /Guangzuan/QueryMyBuyOrder:
  31684. get:
  31685. parameters:
  31686. - description: 用户ID
  31687. in: query
  31688. name: userid
  31689. required: true
  31690. type: integer
  31691. - description: 页码
  31692. in: query
  31693. name: page
  31694. type: integer
  31695. - description: 每页条数
  31696. in: query
  31697. name: pagesize
  31698. type: integer
  31699. - description: 商品(查询字段-模糊查询)
  31700. in: query
  31701. name: zsallproperties
  31702. type: string
  31703. - description: 钻石分类, 格式:1,2,3
  31704. in: query
  31705. name: zscategorys
  31706. type: string
  31707. - description: 委托单号
  31708. in: query
  31709. name: wrtradeorderid
  31710. type: integer
  31711. - description: 是否历史查询
  31712. in: query
  31713. name: ishis
  31714. type: boolean
  31715. - description: 开始交易日(yyyymmdd)
  31716. in: query
  31717. name: begindate
  31718. type: string
  31719. - description: 结束交易日(yyyymmdd)
  31720. in: query
  31721. name: enddate
  31722. type: string
  31723. produces:
  31724. - application/json
  31725. responses:
  31726. "200":
  31727. description: OK
  31728. schema:
  31729. items:
  31730. $ref: '#/definitions/models.MyBuyOrder'
  31731. type: array
  31732. "500":
  31733. description: Internal Server Error
  31734. schema:
  31735. $ref: '#/definitions/app.Response'
  31736. security:
  31737. - ApiKeyAuth: []
  31738. - LoginID: []
  31739. - Group: []
  31740. summary: 查询我的求购
  31741. tags:
  31742. - 广钻
  31743. /Guangzuan/QueryMyDeListing:
  31744. get:
  31745. parameters:
  31746. - description: 用户ID
  31747. in: query
  31748. name: userid
  31749. required: true
  31750. type: integer
  31751. - description: 页码
  31752. in: query
  31753. name: page
  31754. type: integer
  31755. - description: 每页条数
  31756. in: query
  31757. name: pagesize
  31758. type: integer
  31759. - description: 商品(查询字段-模糊查询)
  31760. in: query
  31761. name: zsallproperties
  31762. type: string
  31763. - description: 钻石分类, 格式:1,2,3
  31764. in: query
  31765. name: zscategorys
  31766. type: string
  31767. - description: 成交单号
  31768. in: query
  31769. name: wrtradedetailid
  31770. type: integer
  31771. - description: 方向,0-购买 1-出售
  31772. in: query
  31773. name: buyorsell
  31774. type: integer
  31775. - description: 对手方(模糊匹配)
  31776. in: query
  31777. name: matchusername
  31778. type: string
  31779. - description: 开始交易日(yyyymmdd)
  31780. in: query
  31781. name: begindate
  31782. type: string
  31783. - description: 结束交易日(yyyymmdd)
  31784. in: query
  31785. name: enddate
  31786. type: string
  31787. produces:
  31788. - application/json
  31789. responses:
  31790. "200":
  31791. description: OK
  31792. schema:
  31793. items:
  31794. $ref: '#/definitions/models.MyDeListing'
  31795. type: array
  31796. "500":
  31797. description: Internal Server Error
  31798. schema:
  31799. $ref: '#/definitions/app.Response'
  31800. security:
  31801. - ApiKeyAuth: []
  31802. - LoginID: []
  31803. - Group: []
  31804. summary: 查询我的摘牌
  31805. tags:
  31806. - 广钻
  31807. /Guangzuan/QueryMyDelistingApply:
  31808. get:
  31809. parameters:
  31810. - description: 用户ID
  31811. in: query
  31812. name: userid
  31813. required: true
  31814. type: integer
  31815. - description: 页码
  31816. in: query
  31817. name: page
  31818. type: integer
  31819. - description: 每页条数
  31820. in: query
  31821. name: pagesize
  31822. type: integer
  31823. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  31824. in: query
  31825. name: applystatus
  31826. type: integer
  31827. - description: 查询类型 - 0:我的询价 1:我订单的询价
  31828. in: query
  31829. name: type
  31830. type: integer
  31831. - description: 买委托单ID
  31832. in: query
  31833. name: buywrtradeorderid
  31834. type: string
  31835. produces:
  31836. - application/json
  31837. responses:
  31838. "200":
  31839. description: OK
  31840. schema:
  31841. items:
  31842. $ref: '#/definitions/models.MyDelistingApply'
  31843. type: array
  31844. "500":
  31845. description: Internal Server Error
  31846. schema:
  31847. $ref: '#/definitions/app.Response'
  31848. security:
  31849. - ApiKeyAuth: []
  31850. - LoginID: []
  31851. - Group: []
  31852. summary: 查询询价-出售
  31853. tags:
  31854. - 广钻
  31855. /Guangzuan/QueryMyFavorite:
  31856. get:
  31857. parameters:
  31858. - description: 用户ID
  31859. in: query
  31860. name: userid
  31861. required: true
  31862. type: integer
  31863. - description: 页码
  31864. in: query
  31865. name: page
  31866. type: integer
  31867. - description: 每页条数
  31868. in: query
  31869. name: pagesize
  31870. type: integer
  31871. - description: 钻石分类, 格式:1,2,3
  31872. in: query
  31873. name: zscategorys
  31874. type: string
  31875. produces:
  31876. - application/json
  31877. responses:
  31878. "200":
  31879. description: OK
  31880. schema:
  31881. items:
  31882. $ref: '#/definitions/models.MyFavorite'
  31883. type: array
  31884. "500":
  31885. description: Internal Server Error
  31886. schema:
  31887. $ref: '#/definitions/app.Response'
  31888. security:
  31889. - ApiKeyAuth: []
  31890. - LoginID: []
  31891. - Group: []
  31892. summary: 查询我的收藏
  31893. tags:
  31894. - 广钻
  31895. /Guangzuan/QueryMyPerformanc:
  31896. get:
  31897. parameters:
  31898. - description: 用户ID
  31899. in: query
  31900. name: userid
  31901. required: true
  31902. type: integer
  31903. - description: 页码
  31904. in: query
  31905. name: page
  31906. type: integer
  31907. - description: 每页条数
  31908. in: query
  31909. name: pagesize
  31910. type: integer
  31911. - description: 商品(查询字段-模糊查询)
  31912. in: query
  31913. name: zsallproperties
  31914. type: string
  31915. - description: 方向,0-买 1-卖
  31916. in: query
  31917. name: buyorsell
  31918. type: integer
  31919. - description: 是否历史查询
  31920. in: query
  31921. name: ishis
  31922. type: boolean
  31923. - description: 开始交易日(yyyymmdd)
  31924. in: query
  31925. name: begindate
  31926. type: string
  31927. - description: 结束交易日(yyyymmdd)
  31928. in: query
  31929. name: enddate
  31930. type: string
  31931. produces:
  31932. - application/json
  31933. responses:
  31934. "200":
  31935. description: OK
  31936. schema:
  31937. items:
  31938. $ref: '#/definitions/models.MyPerformanc'
  31939. type: array
  31940. "500":
  31941. description: Internal Server Error
  31942. schema:
  31943. $ref: '#/definitions/app.Response'
  31944. security:
  31945. - ApiKeyAuth: []
  31946. - LoginID: []
  31947. - Group: []
  31948. summary: 查询我的履约
  31949. tags:
  31950. - 广钻
  31951. /Guangzuan/QueryMySellOrder:
  31952. get:
  31953. parameters:
  31954. - description: 用户ID
  31955. in: query
  31956. name: userid
  31957. required: true
  31958. type: integer
  31959. - description: 页码
  31960. in: query
  31961. name: page
  31962. type: integer
  31963. - description: 每页条数
  31964. in: query
  31965. name: pagesize
  31966. type: integer
  31967. - description: 商品(查询字段-模糊查询)
  31968. in: query
  31969. name: zsallproperties
  31970. type: string
  31971. - description: 钻石分类, 格式:1,2,3
  31972. in: query
  31973. name: zscategorys
  31974. type: string
  31975. - description: 委托单号
  31976. in: query
  31977. name: wrtradeorderid
  31978. type: integer
  31979. - description: 是否历史查询
  31980. in: query
  31981. name: ishis
  31982. type: boolean
  31983. - description: 开始交易日(yyyymmdd)
  31984. in: query
  31985. name: begindate
  31986. type: string
  31987. - description: 结束交易日(yyyymmdd)
  31988. in: query
  31989. name: enddate
  31990. type: string
  31991. produces:
  31992. - application/json
  31993. responses:
  31994. "200":
  31995. description: OK
  31996. schema:
  31997. items:
  31998. $ref: '#/definitions/models.MySellOrder'
  31999. type: array
  32000. "500":
  32001. description: Internal Server Error
  32002. schema:
  32003. $ref: '#/definitions/app.Response'
  32004. security:
  32005. - ApiKeyAuth: []
  32006. - LoginID: []
  32007. - Group: []
  32008. summary: 查询我的出售
  32009. tags:
  32010. - 广钻
  32011. /Guangzuan/QueryMyWRPosition:
  32012. get:
  32013. parameters:
  32014. - description: 页码
  32015. in: query
  32016. name: page
  32017. type: integer
  32018. - description: 每页条数
  32019. in: query
  32020. name: pagesize
  32021. type: integer
  32022. - description: 登录用户ID
  32023. in: query
  32024. name: wruserid
  32025. required: true
  32026. type: integer
  32027. - description: 商品(查询字段-模糊查询)
  32028. in: query
  32029. name: zsallproperties
  32030. type: string
  32031. - description: 钻石分类, 格式:1,2,3
  32032. in: query
  32033. name: zscategorys
  32034. type: string
  32035. - description: 仓库ID
  32036. in: query
  32037. name: warehouseid
  32038. type: integer
  32039. - description: 是否上架,0-全部 1-是 2-否
  32040. in: query
  32041. name: marketflag
  32042. type: integer
  32043. produces:
  32044. - application/json
  32045. responses:
  32046. "200":
  32047. description: OK
  32048. schema:
  32049. items:
  32050. $ref: '#/definitions/models.MyWRPosition'
  32051. type: array
  32052. "500":
  32053. description: Internal Server Error
  32054. schema:
  32055. $ref: '#/definitions/app.Response'
  32056. security:
  32057. - ApiKeyAuth: []
  32058. - LoginID: []
  32059. - Group: []
  32060. summary: 查询我的库存
  32061. tags:
  32062. - 广钻
  32063. /Guangzuan/QuerySellOrder:
  32064. get:
  32065. parameters:
  32066. - description: 页码
  32067. in: query
  32068. name: page
  32069. type: integer
  32070. - description: 每页条数
  32071. in: query
  32072. name: pagesize
  32073. type: integer
  32074. - description: 商品(查询字段-模糊查询)
  32075. in: query
  32076. name: zsallproperties
  32077. type: string
  32078. - description: 钻石分类, 格式:1,2,3
  32079. in: query
  32080. name: zscategorys
  32081. type: string
  32082. - description: 委托单号
  32083. in: query
  32084. name: wrtradeorderid
  32085. type: integer
  32086. - description: 卖方(查询字段-模糊查询)
  32087. in: query
  32088. name: buyusername
  32089. type: string
  32090. produces:
  32091. - application/json
  32092. responses:
  32093. "200":
  32094. description: OK
  32095. schema:
  32096. items:
  32097. $ref: '#/definitions/models.SellOrder'
  32098. type: array
  32099. "500":
  32100. description: Internal Server Error
  32101. schema:
  32102. $ref: '#/definitions/app.Response'
  32103. security:
  32104. - ApiKeyAuth: []
  32105. - LoginID: []
  32106. - Group: []
  32107. summary: 查询出售大厅委托单
  32108. tags:
  32109. - 广钻
  32110. /Guangzuan/QueryTradeReport:
  32111. get:
  32112. parameters:
  32113. - description: 用户ID
  32114. in: query
  32115. name: userid
  32116. required: true
  32117. type: integer
  32118. - description: 页码
  32119. in: query
  32120. name: page
  32121. type: integer
  32122. - description: 每页条数
  32123. in: query
  32124. name: pagesize
  32125. type: integer
  32126. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32127. in: query
  32128. name: cycletype
  32129. type: string
  32130. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32131. in: query
  32132. name: begindate
  32133. required: true
  32134. type: string
  32135. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32136. in: query
  32137. name: enddate
  32138. required: true
  32139. type: string
  32140. - description: 商品分类
  32141. in: query
  32142. name: zscategory
  32143. type: integer
  32144. - description: 商品币种
  32145. in: query
  32146. name: zscurrencytype
  32147. type: integer
  32148. produces:
  32149. - application/json
  32150. responses:
  32151. "200":
  32152. description: OK
  32153. schema:
  32154. items:
  32155. $ref: '#/definitions/models.Reckongzmemtradesum'
  32156. type: array
  32157. "500":
  32158. description: Internal Server Error
  32159. schema:
  32160. $ref: '#/definitions/app.Response'
  32161. security:
  32162. - ApiKeyAuth: []
  32163. - LoginID: []
  32164. - Group: []
  32165. summary: 查询交易报表
  32166. tags:
  32167. - 广钻
  32168. /Guangzuan/QueryWRPositionReport:
  32169. get:
  32170. parameters:
  32171. - description: 用户ID
  32172. in: query
  32173. name: userid
  32174. required: true
  32175. type: integer
  32176. - description: 页码
  32177. in: query
  32178. name: page
  32179. type: integer
  32180. - description: 每页条数
  32181. in: query
  32182. name: pagesize
  32183. type: integer
  32184. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32185. in: query
  32186. name: cycletype
  32187. type: string
  32188. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32189. in: query
  32190. name: begindate
  32191. required: true
  32192. type: string
  32193. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32194. in: query
  32195. name: enddate
  32196. required: true
  32197. type: string
  32198. - description: 商品分类
  32199. in: query
  32200. name: zscategory
  32201. type: integer
  32202. - description: 商品币种
  32203. in: query
  32204. name: zscurrencytype
  32205. type: integer
  32206. produces:
  32207. - application/json
  32208. responses:
  32209. "200":
  32210. description: OK
  32211. schema:
  32212. items:
  32213. $ref: '#/definitions/models.WRPositionReport'
  32214. type: array
  32215. "500":
  32216. description: Internal Server Error
  32217. schema:
  32218. $ref: '#/definitions/app.Response'
  32219. security:
  32220. - ApiKeyAuth: []
  32221. - LoginID: []
  32222. - Group: []
  32223. summary: 查询仓储报表
  32224. tags:
  32225. - 广钻
  32226. /Guangzuan/QueryWarehouseInfo:
  32227. get:
  32228. parameters:
  32229. - description: 页码
  32230. in: query
  32231. name: page
  32232. type: integer
  32233. - description: 每页条数
  32234. in: query
  32235. name: pagesize
  32236. type: integer
  32237. - description: 用户ID
  32238. in: query
  32239. name: userid
  32240. required: true
  32241. type: integer
  32242. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  32243. in: query
  32244. name: status
  32245. type: string
  32246. - description: 是返回交易所仓库
  32247. in: query
  32248. name: isincludeexchange
  32249. type: boolean
  32250. produces:
  32251. - application/json
  32252. responses:
  32253. "200":
  32254. description: OK
  32255. schema:
  32256. items:
  32257. $ref: '#/definitions/models.GZWarehouseinfo'
  32258. type: array
  32259. "500":
  32260. description: Internal Server Error
  32261. schema:
  32262. $ref: '#/definitions/app.Response'
  32263. security:
  32264. - ApiKeyAuth: []
  32265. - LoginID: []
  32266. - Group: []
  32267. summary: 查询仓库信息
  32268. tags:
  32269. - 广钻
  32270. /HSBY/GetHsbyMyCount:
  32271. get:
  32272. description: 说明: 不包括已完成的数量。
  32273. parameters:
  32274. - description: 资金账户列表,格式:1,2,3
  32275. in: query
  32276. name: accountIDs
  32277. required: true
  32278. type: string
  32279. produces:
  32280. - application/json
  32281. responses:
  32282. "200":
  32283. description: OK
  32284. schema:
  32285. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  32286. "500":
  32287. description: Internal Server Error
  32288. schema:
  32289. $ref: '#/definitions/app.Response'
  32290. security:
  32291. - ApiKeyAuth: []
  32292. summary: 获取我的订单与包裹数量
  32293. tags:
  32294. - 定制【海商报业】
  32295. /HSBY/QueryClientFixedADConfigs:
  32296. get:
  32297. produces:
  32298. - application/json
  32299. responses:
  32300. "200":
  32301. description: OK
  32302. schema:
  32303. $ref: '#/definitions/models.Clientfixedadconfig'
  32304. "500":
  32305. description: Internal Server Error
  32306. schema:
  32307. $ref: '#/definitions/app.Response'
  32308. security:
  32309. - ApiKeyAuth: []
  32310. summary: 获取终端固定广告配置
  32311. tags:
  32312. - 定制【海商报业】
  32313. /HSBY/QueryHsbyBuyMyTradeDetail:
  32314. get:
  32315. parameters:
  32316. - description: 页码
  32317. in: query
  32318. name: page
  32319. type: integer
  32320. - description: 每页条数
  32321. in: query
  32322. name: pagesize
  32323. type: integer
  32324. - description: 资金账户列表,格式:1,2,3
  32325. in: query
  32326. name: accountIDs
  32327. required: true
  32328. type: string
  32329. produces:
  32330. - application/json
  32331. responses:
  32332. "200":
  32333. description: OK
  32334. schema:
  32335. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  32336. "500":
  32337. description: Internal Server Error
  32338. schema:
  32339. $ref: '#/definitions/app.Response'
  32340. security:
  32341. - ApiKeyAuth: []
  32342. summary: 查询"我的订单 - 已完成"单据信息
  32343. tags:
  32344. - 定制【海商报业】
  32345. /HSBY/QueryHsbyGoodsOrderDetails:
  32346. get:
  32347. description: 说明:查询结果已按委托价格和委托时间排序
  32348. parameters:
  32349. - description: 商品ID
  32350. in: query
  32351. name: goodsID
  32352. required: true
  32353. type: integer
  32354. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  32355. in: query
  32356. name: accountIDs
  32357. type: string
  32358. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  32359. in: query
  32360. name: buyOrSell
  32361. type: integer
  32362. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  32363. in: query
  32364. name: price
  32365. type: number
  32366. - description: 档位,不传则默认为3档
  32367. in: query
  32368. name: speed
  32369. type: integer
  32370. produces:
  32371. - application/json
  32372. responses:
  32373. "200":
  32374. description: OK
  32375. schema:
  32376. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  32377. "500":
  32378. description: Internal Server Error
  32379. schema:
  32380. $ref: '#/definitions/app.Response'
  32381. security:
  32382. - ApiKeyAuth: []
  32383. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  32384. tags:
  32385. - 定制【海商报业】
  32386. /HSBY/QueryHsbyListingGoodsDetail:
  32387. get:
  32388. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  32389. parameters:
  32390. - description: 商品ID
  32391. in: query
  32392. name: goodsID
  32393. required: true
  32394. type: integer
  32395. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  32396. in: query
  32397. name: accountID
  32398. type: integer
  32399. produces:
  32400. - application/json
  32401. responses:
  32402. "200":
  32403. description: OK
  32404. schema:
  32405. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  32406. "500":
  32407. description: Internal Server Error
  32408. schema:
  32409. $ref: '#/definitions/app.Response'
  32410. security:
  32411. - ApiKeyAuth: []
  32412. summary: 查询二级市场(挂牌点选)商品信息详情
  32413. tags:
  32414. - 定制【海商报业】
  32415. /HSBY/QueryHsbyMarketGoodsDetail:
  32416. get:
  32417. parameters:
  32418. - description: 委托单号
  32419. in: query
  32420. name: orderID
  32421. required: true
  32422. type: integer
  32423. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  32424. in: query
  32425. name: accountID
  32426. type: integer
  32427. produces:
  32428. - application/json
  32429. responses:
  32430. "200":
  32431. description: OK
  32432. schema:
  32433. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  32434. "500":
  32435. description: Internal Server Error
  32436. schema:
  32437. $ref: '#/definitions/app.Response'
  32438. security:
  32439. - ApiKeyAuth: []
  32440. summary: 查询三级市场(商城)商品信息详情
  32441. tags:
  32442. - 定制【海商报业】
  32443. /HSBY/QueryHsbyMarketGoodses:
  32444. get:
  32445. parameters:
  32446. - description: 页码
  32447. in: query
  32448. name: page
  32449. type: integer
  32450. - description: 每页条数
  32451. in: query
  32452. name: pagesize
  32453. type: integer
  32454. - description: 市场ID列表,格式:1,2,3
  32455. in: query
  32456. name: marketIDs
  32457. required: true
  32458. type: string
  32459. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  32460. in: query
  32461. name: accountID
  32462. required: true
  32463. type: integer
  32464. - description: 类别ID
  32465. in: query
  32466. name: categoryID
  32467. type: integer
  32468. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  32469. in: query
  32470. name: goodsIDs
  32471. type: string
  32472. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  32473. in: query
  32474. name: couponTypeID
  32475. type: integer
  32476. produces:
  32477. - application/json
  32478. responses:
  32479. "200":
  32480. description: OK
  32481. schema:
  32482. $ref: '#/definitions/models.HsbyMarketGoods'
  32483. "500":
  32484. description: Internal Server Error
  32485. schema:
  32486. $ref: '#/definitions/app.Response'
  32487. security:
  32488. - ApiKeyAuth: []
  32489. summary: 查询特卖商品列表(三级商城)
  32490. tags:
  32491. - 定制【海商报业】
  32492. /HSBY/QueryHsbyMarkets:
  32493. get:
  32494. produces:
  32495. - application/json
  32496. responses:
  32497. "200":
  32498. description: OK
  32499. schema:
  32500. $ref: '#/definitions/models.HsbyMarketInfo'
  32501. "500":
  32502. description: Internal Server Error
  32503. schema:
  32504. $ref: '#/definitions/app.Response'
  32505. security:
  32506. - ApiKeyAuth: []
  32507. summary: 查询海商报业相关市场信息
  32508. tags:
  32509. - 定制【海商报业】
  32510. /HSBY/QueryHsbyMyBuyOrderDetails:
  32511. get:
  32512. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  32513. parameters:
  32514. - description: 资金账户列表,格式:1,2,3
  32515. in: query
  32516. name: accountIDs
  32517. required: true
  32518. type: string
  32519. produces:
  32520. - application/json
  32521. responses:
  32522. "200":
  32523. description: OK
  32524. schema:
  32525. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  32526. "500":
  32527. description: Internal Server Error
  32528. schema:
  32529. $ref: '#/definitions/app.Response'
  32530. security:
  32531. - ApiKeyAuth: []
  32532. summary: 查询“我的订单”信息
  32533. tags:
  32534. - 定制【海商报业】
  32535. /HSBY/QueryHsbyMyGoods:
  32536. get:
  32537. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  32538. parameters:
  32539. - description: 资金账户列表,格式:1,2,3
  32540. in: query
  32541. name: accountIDs
  32542. required: true
  32543. type: string
  32544. produces:
  32545. - application/json
  32546. responses:
  32547. "200":
  32548. description: OK
  32549. schema:
  32550. $ref: '#/definitions/models.HsbyMyGoods'
  32551. "500":
  32552. description: Internal Server Error
  32553. schema:
  32554. $ref: '#/definitions/app.Response'
  32555. security:
  32556. - ApiKeyAuth: []
  32557. summary: 查询“我的商品”信息
  32558. tags:
  32559. - 定制【海商报业】
  32560. /HSBY/QueryHsbyMyPackages:
  32561. get:
  32562. parameters:
  32563. - description: 资金账户列表,格式:1,2,3
  32564. in: query
  32565. name: accountIDs
  32566. required: true
  32567. type: string
  32568. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32569. in: query
  32570. name: takeOrderStatus
  32571. type: integer
  32572. produces:
  32573. - application/json
  32574. responses:
  32575. "200":
  32576. description: OK
  32577. schema:
  32578. $ref: '#/definitions/models.HsbyMyPackage'
  32579. "500":
  32580. description: Internal Server Error
  32581. schema:
  32582. $ref: '#/definitions/app.Response'
  32583. security:
  32584. - ApiKeyAuth: []
  32585. summary: 查询我的包裹信息
  32586. tags:
  32587. - 定制【海商报业】
  32588. /HSBY/QueryHsbyPreGoodsDetail:
  32589. get:
  32590. parameters:
  32591. - description: 商品ID
  32592. in: query
  32593. name: goodsID
  32594. required: true
  32595. type: integer
  32596. - description: 资金账户,主要用于获取预售商品购买上限
  32597. in: query
  32598. name: accountID
  32599. type: integer
  32600. produces:
  32601. - application/json
  32602. responses:
  32603. "200":
  32604. description: OK
  32605. schema:
  32606. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  32607. "500":
  32608. description: Internal Server Error
  32609. schema:
  32610. $ref: '#/definitions/app.Response'
  32611. security:
  32612. - ApiKeyAuth: []
  32613. summary: 查询一级市场(预售)商品信息详情
  32614. tags:
  32615. - 定制【海商报业】
  32616. /HSBY/QueryHsbyPreGoodses:
  32617. get:
  32618. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  32619. parameters:
  32620. - description: 页码
  32621. in: query
  32622. name: page
  32623. type: integer
  32624. - description: 每页条数
  32625. in: query
  32626. name: pagesize
  32627. type: integer
  32628. - description: 市场ID列表,格式:1,2,3
  32629. in: query
  32630. name: marketIDs
  32631. required: true
  32632. type: string
  32633. - description: 目的地(省)ID
  32634. in: query
  32635. name: descProvinceID
  32636. type: integer
  32637. - description: 目的地(市)ID
  32638. in: query
  32639. name: descCityID
  32640. type: integer
  32641. produces:
  32642. - application/json
  32643. responses:
  32644. "200":
  32645. description: OK
  32646. schema:
  32647. $ref: '#/definitions/models.HsbyPreGoods'
  32648. "500":
  32649. description: Internal Server Error
  32650. schema:
  32651. $ref: '#/definitions/app.Response'
  32652. security:
  32653. - ApiKeyAuth: []
  32654. summary: 查询新品上市商品列表(一级市场预售)
  32655. tags:
  32656. - 定制【海商报业】
  32657. /HSBY/QueryHsbySellMyDetails:
  32658. get:
  32659. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  32660. parameters:
  32661. - description: 页码
  32662. in: query
  32663. name: page
  32664. type: integer
  32665. - description: 每页条数
  32666. in: query
  32667. name: pagesize
  32668. type: integer
  32669. - description: 资金账户列表,格式:1,2,3
  32670. in: query
  32671. name: accountIDs
  32672. required: true
  32673. type: string
  32674. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  32675. in: query
  32676. name: orderType
  32677. type: integer
  32678. produces:
  32679. - application/json
  32680. responses:
  32681. "200":
  32682. description: OK
  32683. schema:
  32684. $ref: '#/definitions/models.HsbySellMyDetail'
  32685. "500":
  32686. description: Internal Server Error
  32687. schema:
  32688. $ref: '#/definitions/app.Response'
  32689. security:
  32690. - ApiKeyAuth: []
  32691. summary: 查询"我的闲置"单据信息
  32692. tags:
  32693. - 定制【海商报业】
  32694. /HSBY/QueryHsbyTopGoodses:
  32695. get:
  32696. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  32697. parameters:
  32698. - description: 页码
  32699. in: query
  32700. name: page
  32701. type: integer
  32702. - description: 每页条数
  32703. in: query
  32704. name: pagesize
  32705. type: integer
  32706. - description: 市场ID列表,格式:1,2,3
  32707. in: query
  32708. name: marketIDs
  32709. required: true
  32710. type: string
  32711. - description: 目的地(省)ID
  32712. in: query
  32713. name: descProvinceID
  32714. type: integer
  32715. - description: 目的地(市)ID
  32716. in: query
  32717. name: descCityID
  32718. type: integer
  32719. produces:
  32720. - application/json
  32721. responses:
  32722. "200":
  32723. description: OK
  32724. schema:
  32725. $ref: '#/definitions/models.HsbyTopGoods'
  32726. "500":
  32727. description: Internal Server Error
  32728. schema:
  32729. $ref: '#/definitions/app.Response'
  32730. security:
  32731. - ApiKeyAuth: []
  32732. summary: 查询热卖商品列表(二级市场挂牌点选)
  32733. tags:
  32734. - 定制【海商报业】
  32735. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  32736. get:
  32737. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  32738. parameters:
  32739. - description: 商品ID
  32740. in: query
  32741. name: goodsID
  32742. required: true
  32743. type: integer
  32744. produces:
  32745. - application/json
  32746. responses:
  32747. "200":
  32748. description: OK
  32749. schema:
  32750. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  32751. "500":
  32752. description: Internal Server Error
  32753. schema:
  32754. $ref: '#/definitions/app.Response'
  32755. security:
  32756. - ApiKeyAuth: []
  32757. summary: 查询游客三级市场(商城)商品信息详情
  32758. tags:
  32759. - 定制【海商报业】
  32760. /HSBY/QueryHsbyVisitorMarketGoodses:
  32761. get:
  32762. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  32763. parameters:
  32764. - description: 页码
  32765. in: query
  32766. name: page
  32767. type: integer
  32768. - description: 每页条数
  32769. in: query
  32770. name: pagesize
  32771. type: integer
  32772. - description: 市场ID列表,格式:1,2,3
  32773. in: query
  32774. name: marketIDs
  32775. required: true
  32776. type: string
  32777. - description: 类别ID
  32778. in: query
  32779. name: categoryID
  32780. type: integer
  32781. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  32782. in: query
  32783. name: goodsIDs
  32784. type: string
  32785. produces:
  32786. - application/json
  32787. responses:
  32788. "200":
  32789. description: OK
  32790. schema:
  32791. $ref: '#/definitions/models.HsbyMarketGoods'
  32792. "500":
  32793. description: Internal Server Error
  32794. schema:
  32795. $ref: '#/definitions/app.Response'
  32796. security:
  32797. - ApiKeyAuth: []
  32798. summary: 查询游客特卖商品列表(三级商城)
  32799. tags:
  32800. - 定制【海商报业】
  32801. /HSBY/QueryMyCollectionOrders:
  32802. get:
  32803. parameters:
  32804. - description: 页码
  32805. in: query
  32806. name: page
  32807. type: integer
  32808. - description: 每页条数
  32809. in: query
  32810. name: pagesize
  32811. type: integer
  32812. - description: 资金账户,格式:1,2,3
  32813. in: query
  32814. name: accountIDs
  32815. required: true
  32816. type: string
  32817. produces:
  32818. - application/json
  32819. responses:
  32820. "200":
  32821. description: OK
  32822. schema:
  32823. $ref: '#/definitions/models.HsbySellCollectionOrder'
  32824. "500":
  32825. description: Internal Server Error
  32826. schema:
  32827. $ref: '#/definitions/app.Response'
  32828. security:
  32829. - ApiKeyAuth: []
  32830. summary: 我的闲置中收款信息查询
  32831. tags:
  32832. - 定制【海商报业】
  32833. /HSBY/QueryMyCouponHolds:
  32834. get:
  32835. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  32836. parameters:
  32837. - description: 资金账户列表,格式:1,2,3
  32838. in: query
  32839. name: accountIDs
  32840. required: true
  32841. type: string
  32842. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  32843. in: query
  32844. name: holdStatus
  32845. type: string
  32846. produces:
  32847. - application/json
  32848. responses:
  32849. "200":
  32850. description: OK
  32851. schema:
  32852. $ref: '#/definitions/models.MyCouponHold'
  32853. "500":
  32854. description: Internal Server Error
  32855. schema:
  32856. $ref: '#/definitions/app.Response'
  32857. security:
  32858. - ApiKeyAuth: []
  32859. summary: 我的优惠卷持仓查询
  32860. tags:
  32861. - 定制【海商报业】
  32862. /HSBY/QueryMyCoupons:
  32863. get:
  32864. parameters:
  32865. - description: 资金账户列表,格式:1,2,3
  32866. in: query
  32867. name: accountIDs
  32868. required: true
  32869. type: string
  32870. - description: 商品ID, 一般与sellUserID配套传入
  32871. in: query
  32872. name: goodsID
  32873. type: integer
  32874. - description: 卖方UserID
  32875. in: query
  32876. name: sellUserID
  32877. type: integer
  32878. produces:
  32879. - application/json
  32880. responses:
  32881. "200":
  32882. description: OK
  32883. schema:
  32884. $ref: '#/definitions/models.MyCoupon'
  32885. "500":
  32886. description: Internal Server Error
  32887. schema:
  32888. $ref: '#/definitions/app.Response'
  32889. security:
  32890. - ApiKeyAuth: []
  32891. summary: 我的优惠卷查询
  32892. tags:
  32893. - 定制【海商报业】
  32894. /HSBY/QueryMyPayOrders:
  32895. get:
  32896. parameters:
  32897. - description: 页码
  32898. in: query
  32899. name: page
  32900. type: integer
  32901. - description: 每页条数
  32902. in: query
  32903. name: pagesize
  32904. type: integer
  32905. - description: 资金账户列表,格式:1,2,3
  32906. in: query
  32907. name: accountIDs
  32908. required: true
  32909. type: string
  32910. - description: 买方委托单号
  32911. in: query
  32912. name: buyOrderID
  32913. type: integer
  32914. - description: 卖方委托单号
  32915. in: query
  32916. name: sellOrderID
  32917. type: integer
  32918. produces:
  32919. - application/json
  32920. responses:
  32921. "200":
  32922. description: OK
  32923. schema:
  32924. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  32925. "500":
  32926. description: Internal Server Error
  32927. schema:
  32928. $ref: '#/definitions/app.Response'
  32929. security:
  32930. - ApiKeyAuth: []
  32931. summary: 获取我的订单中待付款信息
  32932. tags:
  32933. - 定制【海商报业】
  32934. /HSBY/QueryMyUsedCoupon:
  32935. get:
  32936. parameters:
  32937. - description: 资金账户列表,格式:1,2,3
  32938. in: query
  32939. name: accountIDs
  32940. required: true
  32941. type: string
  32942. produces:
  32943. - application/json
  32944. responses:
  32945. "200":
  32946. description: OK
  32947. schema:
  32948. $ref: '#/definitions/models.MyUsedCoupon'
  32949. "500":
  32950. description: Internal Server Error
  32951. schema:
  32952. $ref: '#/definitions/app.Response'
  32953. security:
  32954. - ApiKeyAuth: []
  32955. summary: 已使用优惠卷查询
  32956. tags:
  32957. - 定制【海商报业】
  32958. /HSBY/QueryProvincesAndCities:
  32959. get:
  32960. description: 查询结果只包括二级市场商品已关连的省市信息。
  32961. parameters:
  32962. - description: 省ID
  32963. in: query
  32964. name: provinceID
  32965. type: integer
  32966. produces:
  32967. - application/json
  32968. responses:
  32969. "200":
  32970. description: OK
  32971. schema:
  32972. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  32973. "500":
  32974. description: Internal Server Error
  32975. schema:
  32976. $ref: '#/definitions/app.Response'
  32977. security:
  32978. - ApiKeyAuth: []
  32979. summary: 查询省市信息(不包括区)
  32980. tags:
  32981. - 定制【海商报业】
  32982. /HSBY/SetHsbyMyPackagesStatus:
  32983. post:
  32984. parameters:
  32985. - description: 提货单号
  32986. in: query
  32987. name: takeOrderID
  32988. required: true
  32989. type: string
  32990. - description: 资金账号
  32991. in: query
  32992. name: accountID
  32993. required: true
  32994. type: integer
  32995. produces:
  32996. - application/json
  32997. responses:
  32998. "200":
  32999. description: OK
  33000. schema:
  33001. $ref: '#/definitions/app.Response'
  33002. "500":
  33003. description: Internal Server Error
  33004. schema:
  33005. $ref: '#/definitions/app.Response'
  33006. security:
  33007. - ApiKeyAuth: []
  33008. summary: 设置我的包裹已收货状态
  33009. tags:
  33010. - 定制【海商报业】
  33011. /Market/GetAllExExchanges:
  33012. get:
  33013. produces:
  33014. - application/json
  33015. responses:
  33016. "200":
  33017. description: OK
  33018. schema:
  33019. $ref: '#/definitions/models.Goods'
  33020. "500":
  33021. description: Internal Server Error
  33022. schema:
  33023. $ref: '#/definitions/app.Response'
  33024. security:
  33025. - ApiKeyAuth: []
  33026. summary: 获取所有外部交易所信息
  33027. tags:
  33028. - 通用市场
  33029. /Market/QueryGoodsesByLoginID:
  33030. get:
  33031. parameters:
  33032. - description: 登录账号
  33033. in: query
  33034. name: loginID
  33035. required: true
  33036. type: integer
  33037. - description: 市场ID列表,格式:1,2,3
  33038. in: query
  33039. name: marketIDs
  33040. type: string
  33041. produces:
  33042. - application/json
  33043. responses:
  33044. "200":
  33045. description: OK
  33046. schema:
  33047. $ref: '#/definitions/models.Goods'
  33048. "500":
  33049. description: Internal Server Error
  33050. schema:
  33051. $ref: '#/definitions/app.Response'
  33052. security:
  33053. - ApiKeyAuth: []
  33054. summary: 获取登录账号有权限的商品信息
  33055. tags:
  33056. - 通用市场
  33057. /Market/QueryMarketRun:
  33058. get:
  33059. parameters:
  33060. - description: 市场ID,不传返回所有
  33061. in: query
  33062. name: marketID
  33063. type: integer
  33064. produces:
  33065. - application/json
  33066. responses:
  33067. "200":
  33068. description: OK
  33069. schema:
  33070. $ref: '#/definitions/models.Marketrun'
  33071. "500":
  33072. description: Internal Server Error
  33073. schema:
  33074. $ref: '#/definitions/app.Response'
  33075. security:
  33076. - ApiKeyAuth: []
  33077. summary: 查询市场运行信息
  33078. tags:
  33079. - 通用市场
  33080. /Market/QueryMarketsByLoginID:
  33081. get:
  33082. parameters:
  33083. - description: 登录账号
  33084. in: query
  33085. name: loginID
  33086. required: true
  33087. type: integer
  33088. produces:
  33089. - application/json
  33090. responses:
  33091. "200":
  33092. description: OK
  33093. schema:
  33094. $ref: '#/definitions/models.Market'
  33095. "500":
  33096. description: Internal Server Error
  33097. schema:
  33098. $ref: '#/definitions/app.Response'
  33099. security:
  33100. - ApiKeyAuth: []
  33101. summary: 获取登录账号有权限的市场信息
  33102. tags:
  33103. - 通用市场
  33104. /Order/QueryHisTradeDetail:
  33105. get:
  33106. parameters:
  33107. - description: 资金账户 - 格式:1,2,3
  33108. in: query
  33109. name: accountID
  33110. required: true
  33111. type: string
  33112. - description: 成交单号
  33113. in: query
  33114. name: tradeID
  33115. type: integer
  33116. - description: 委托单号
  33117. in: query
  33118. name: orderID
  33119. type: integer
  33120. - description: 商品ID
  33121. in: query
  33122. name: goodsID
  33123. type: integer
  33124. - description: 交易模式 - 格式:1,2,3
  33125. in: query
  33126. name: tradeMode
  33127. type: string
  33128. - description: 委托单据类型
  33129. in: query
  33130. name: buildType
  33131. type: integer
  33132. - description: 成交类别 - 格式:1,2,3
  33133. in: query
  33134. name: tradeType
  33135. type: string
  33136. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33137. in: query
  33138. name: startDate
  33139. type: string
  33140. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33141. in: query
  33142. name: endDate
  33143. type: string
  33144. produces:
  33145. - application/json
  33146. responses:
  33147. "200":
  33148. description: OK
  33149. schema:
  33150. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  33151. "500":
  33152. description: Internal Server Error
  33153. schema:
  33154. $ref: '#/definitions/app.Response'
  33155. security:
  33156. - ApiKeyAuth: []
  33157. summary: 历史成交单查询(合约市场)
  33158. tags:
  33159. - 通用单据
  33160. /Order/QueryHisTradeOrderDetail:
  33161. get:
  33162. parameters:
  33163. - description: 资金账户 - 格式:1,2,3
  33164. in: query
  33165. name: accountID
  33166. required: true
  33167. type: string
  33168. - description: 交易模式 - 格式:1,2,3
  33169. in: query
  33170. name: tradeMode
  33171. type: string
  33172. - description: 委托状态 - 格式:1,2,3
  33173. in: query
  33174. name: orderStatus
  33175. type: string
  33176. - description: 委托单号
  33177. in: query
  33178. name: orderID
  33179. type: integer
  33180. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33181. in: query
  33182. name: startDate
  33183. type: string
  33184. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33185. in: query
  33186. name: endDate
  33187. type: string
  33188. produces:
  33189. - application/json
  33190. responses:
  33191. "200":
  33192. description: OK
  33193. schema:
  33194. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  33195. "500":
  33196. description: Internal Server Error
  33197. schema:
  33198. $ref: '#/definitions/app.Response'
  33199. security:
  33200. - ApiKeyAuth: []
  33201. summary: 历史委托单查询请求(合约市场)
  33202. tags:
  33203. - 通用单据
  33204. /Order/QueryTradeDetail:
  33205. get:
  33206. parameters:
  33207. - description: 资金账户 - 格式:1,2,3
  33208. in: query
  33209. name: accountID
  33210. required: true
  33211. type: string
  33212. - description: 成交单号
  33213. in: query
  33214. name: tradeID
  33215. type: integer
  33216. - description: 委托单号
  33217. in: query
  33218. name: orderID
  33219. type: integer
  33220. - description: 交易模式 - 格式:1,2,3
  33221. in: query
  33222. name: tradeMode
  33223. type: string
  33224. - description: 委托单据类型
  33225. in: query
  33226. name: buildType
  33227. type: integer
  33228. - description: 成交类别 - 格式:1,2,3
  33229. in: query
  33230. name: tradeType
  33231. type: string
  33232. - description: 商品ID
  33233. in: query
  33234. name: goodsID
  33235. type: integer
  33236. produces:
  33237. - application/json
  33238. responses:
  33239. "200":
  33240. description: OK
  33241. schema:
  33242. $ref: '#/definitions/order.QueryTradeDetailRsp'
  33243. "500":
  33244. description: Internal Server Error
  33245. schema:
  33246. $ref: '#/definitions/app.Response'
  33247. security:
  33248. - ApiKeyAuth: []
  33249. summary: 成交单查询(合约市场)
  33250. tags:
  33251. - 通用单据
  33252. /Order/QueryTradeHolderDetail:
  33253. get:
  33254. parameters:
  33255. - description: 用户id
  33256. in: query
  33257. name: userid
  33258. type: integer
  33259. - description: 资金账号, 格式 1,2,3
  33260. in: query
  33261. name: accids
  33262. type: string
  33263. - description: 交易模式, 格式 1,2,3
  33264. in: query
  33265. name: trademodes
  33266. type: string
  33267. - description: 市场id, 格式 1,2,3
  33268. in: query
  33269. name: marketids
  33270. type: string
  33271. - description: 商品id
  33272. in: query
  33273. name: goodsid
  33274. type: integer
  33275. - description: 买卖方向 0-买 1-卖
  33276. in: query
  33277. name: buyorsell
  33278. type: integer
  33279. produces:
  33280. - application/json
  33281. responses:
  33282. "200":
  33283. description: OK
  33284. schema:
  33285. items:
  33286. $ref: '#/definitions/models.TradeHolderDetail'
  33287. type: array
  33288. "500":
  33289. description: Internal Server Error
  33290. schema:
  33291. $ref: '#/definitions/app.Response'
  33292. security:
  33293. - ApiKeyAuth: []
  33294. summary: 查询持仓明细
  33295. tags:
  33296. - 通用单据
  33297. /Order/QueryTradeOrderDetail:
  33298. get:
  33299. parameters:
  33300. - description: 资金账户 - 格式:1,2,3
  33301. in: query
  33302. name: accountID
  33303. required: true
  33304. type: string
  33305. - description: 交易模式 - 格式:1,2,3
  33306. in: query
  33307. name: tradeMode
  33308. type: string
  33309. - description: 委托状态 - 格式:1,2,3
  33310. in: query
  33311. name: orderStatus
  33312. type: string
  33313. - description: 委托单号
  33314. in: query
  33315. name: orderID
  33316. type: integer
  33317. produces:
  33318. - application/json
  33319. responses:
  33320. "200":
  33321. description: OK
  33322. schema:
  33323. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  33324. "500":
  33325. description: Internal Server Error
  33326. schema:
  33327. $ref: '#/definitions/app.Response'
  33328. security:
  33329. - ApiKeyAuth: []
  33330. summary: 委托单查询请求(合约市场)
  33331. tags:
  33332. - 通用单据
  33333. /Order/QueryTradePosition:
  33334. get:
  33335. parameters:
  33336. - description: 资金账户 - 格式:1,2,3
  33337. in: query
  33338. name: accountID
  33339. required: true
  33340. type: string
  33341. - description: 交易模式 - 格式:1,2,3
  33342. in: query
  33343. name: tradeMode
  33344. type: string
  33345. produces:
  33346. - application/json
  33347. responses:
  33348. "200":
  33349. description: OK
  33350. schema:
  33351. $ref: '#/definitions/order.QueryTradePositionRsp'
  33352. "500":
  33353. description: Internal Server Error
  33354. schema:
  33355. $ref: '#/definitions/app.Response'
  33356. security:
  33357. - ApiKeyAuth: []
  33358. summary: 持仓汇总查询(合约市场)
  33359. tags:
  33360. - 通用单据
  33361. /Qhj/QueryAccountInOutApply:
  33362. get:
  33363. parameters:
  33364. - description: 用户ID
  33365. in: query
  33366. name: userid
  33367. required: true
  33368. type: integer
  33369. - description: 申请起始日期(格式yyyymmdd)
  33370. in: query
  33371. name: begindate
  33372. type: string
  33373. - description: 申请截止日期(格式yyyymmdd)
  33374. in: query
  33375. name: enddate
  33376. type: string
  33377. - description: 模糊搜索名称
  33378. in: query
  33379. name: likename
  33380. type: string
  33381. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  33382. in: query
  33383. name: applystatus
  33384. type: integer
  33385. - description: 查询类型 1-提现(出金) 2-充值(入金)
  33386. in: query
  33387. name: querytype
  33388. type: integer
  33389. produces:
  33390. - application/json
  33391. responses:
  33392. "200":
  33393. description: OK
  33394. schema:
  33395. items:
  33396. $ref: '#/definitions/models.QhjAccountOutInApply'
  33397. type: array
  33398. "500":
  33399. description: Internal Server Error
  33400. schema:
  33401. $ref: '#/definitions/app.Response'
  33402. security:
  33403. - ApiKeyAuth: []
  33404. summary: 查询充值提现
  33405. tags:
  33406. - 大连千海金
  33407. /Qhj/QueryAreaFinanceConfig:
  33408. get:
  33409. parameters:
  33410. - description: 机构用户ID 其他做市关系,都设置为 1
  33411. in: query
  33412. name: userid
  33413. type: integer
  33414. produces:
  33415. - application/json
  33416. responses:
  33417. "200":
  33418. description: OK
  33419. schema:
  33420. items:
  33421. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  33422. type: array
  33423. "500":
  33424. description: Internal Server Error
  33425. schema:
  33426. $ref: '#/definitions/app.Response'
  33427. security:
  33428. - ApiKeyAuth: []
  33429. summary: 查询企业配置表
  33430. tags:
  33431. - 大连千海金
  33432. /Qhj/QueryBankAccountSign:
  33433. get:
  33434. parameters:
  33435. - description: 用户ID
  33436. in: query
  33437. name: userid
  33438. required: true
  33439. type: integer
  33440. produces:
  33441. - application/json
  33442. responses:
  33443. "200":
  33444. description: OK
  33445. schema:
  33446. items:
  33447. $ref: '#/definitions/models.QhjBankAccountSign'
  33448. type: array
  33449. "500":
  33450. description: Internal Server Error
  33451. schema:
  33452. $ref: '#/definitions/app.Response'
  33453. security:
  33454. - ApiKeyAuth: []
  33455. summary: 查询签约银行信息(提现账户管理)
  33456. tags:
  33457. - 大连千海金
  33458. /Qhj/QueryBankInfo:
  33459. get:
  33460. produces:
  33461. - application/json
  33462. responses:
  33463. "200":
  33464. description: OK
  33465. schema:
  33466. items:
  33467. $ref: '#/definitions/models.QhjBankInfo'
  33468. type: array
  33469. "500":
  33470. description: Internal Server Error
  33471. schema:
  33472. $ref: '#/definitions/app.Response'
  33473. security:
  33474. - ApiKeyAuth: []
  33475. summary: 查询开户行
  33476. tags:
  33477. - 大连千海金
  33478. /Qhj/QueryBrokerApply:
  33479. get:
  33480. parameters:
  33481. - description: 所属机构ID
  33482. in: query
  33483. name: userid
  33484. type: integer
  33485. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  33486. in: query
  33487. name: filterstatus
  33488. type: string
  33489. produces:
  33490. - application/json
  33491. responses:
  33492. "200":
  33493. description: OK
  33494. schema:
  33495. items:
  33496. $ref: '#/definitions/models.QhjBrokerApply'
  33497. type: array
  33498. "500":
  33499. description: Internal Server Error
  33500. schema:
  33501. $ref: '#/definitions/app.Response'
  33502. security:
  33503. - ApiKeyAuth: []
  33504. summary: 查询经纪人申请
  33505. tags:
  33506. - 大连千海金
  33507. /Qhj/QueryBrokerApplyEx:
  33508. get:
  33509. parameters:
  33510. - description: 所属机构ID
  33511. in: query
  33512. name: userid
  33513. type: integer
  33514. produces:
  33515. - application/json
  33516. responses:
  33517. "200":
  33518. description: OK
  33519. schema:
  33520. items:
  33521. $ref: '#/definitions/models.QhjBrokerApplyEx'
  33522. type: array
  33523. "500":
  33524. description: Internal Server Error
  33525. schema:
  33526. $ref: '#/definitions/app.Response'
  33527. security:
  33528. - ApiKeyAuth: []
  33529. summary: 查询经纪人信息和申请记录
  33530. tags:
  33531. - 大连千海金
  33532. /Qhj/QueryBrokerRewardLog:
  33533. get:
  33534. parameters:
  33535. - description: 用户ID
  33536. in: query
  33537. name: userid
  33538. required: true
  33539. type: integer
  33540. - description: 开始交易日(yyyymmdd)
  33541. in: query
  33542. name: begindate
  33543. type: string
  33544. - description: 结束交易日(yyyymmdd)
  33545. in: query
  33546. name: enddate
  33547. type: string
  33548. produces:
  33549. - application/json
  33550. responses:
  33551. "200":
  33552. description: OK
  33553. schema:
  33554. items:
  33555. $ref: '#/definitions/models.QhjBrokerRewardLog'
  33556. type: array
  33557. "500":
  33558. description: Internal Server Error
  33559. schema:
  33560. $ref: '#/definitions/app.Response'
  33561. security:
  33562. - ApiKeyAuth: []
  33563. summary: 查询奖励流水(我的奖励)
  33564. tags:
  33565. - 大连千海金
  33566. /Qhj/QueryContract:
  33567. get:
  33568. parameters:
  33569. - description: 用户ID
  33570. in: query
  33571. name: userid
  33572. type: integer
  33573. - description: scf合同id
  33574. in: query
  33575. name: scfcontractid
  33576. type: integer
  33577. produces:
  33578. - application/json
  33579. responses:
  33580. "200":
  33581. description: OK
  33582. schema:
  33583. items:
  33584. $ref: '#/definitions/models.QhjContract'
  33585. type: array
  33586. "500":
  33587. description: Internal Server Error
  33588. schema:
  33589. $ref: '#/definitions/app.Response'
  33590. security:
  33591. - ApiKeyAuth: []
  33592. summary: 查询融资明细(合同)
  33593. tags:
  33594. - 大连千海金
  33595. /Qhj/QueryContractLog:
  33596. get:
  33597. parameters:
  33598. - description: scf合同id
  33599. in: query
  33600. name: scfcontractid
  33601. required: true
  33602. type: integer
  33603. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  33604. in: query
  33605. name: amounttype
  33606. type: string
  33607. produces:
  33608. - application/json
  33609. responses:
  33610. "200":
  33611. description: OK
  33612. schema:
  33613. items:
  33614. $ref: '#/definitions/models.QhjContractLog'
  33615. type: array
  33616. "500":
  33617. description: Internal Server Error
  33618. schema:
  33619. $ref: '#/definitions/app.Response'
  33620. security:
  33621. - ApiKeyAuth: []
  33622. summary: 查询融资明细流水(融资明细详情页中的流水)
  33623. tags:
  33624. - 大连千海金
  33625. /Qhj/QueryCusBankSignBank:
  33626. get:
  33627. produces:
  33628. - application/json
  33629. responses:
  33630. "200":
  33631. description: OK
  33632. schema:
  33633. items:
  33634. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  33635. type: array
  33636. "500":
  33637. description: Internal Server Error
  33638. schema:
  33639. $ref: '#/definitions/app.Response'
  33640. security:
  33641. - ApiKeyAuth: []
  33642. summary: 查询托管银行
  33643. tags:
  33644. - 大连千海金
  33645. /Qhj/QueryCustomerInfo:
  33646. get:
  33647. parameters:
  33648. - description: 用户ID
  33649. in: query
  33650. name: userid
  33651. required: true
  33652. type: integer
  33653. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  33654. in: query
  33655. name: querytype
  33656. required: true
  33657. type: integer
  33658. - description: 客户类型 1-个人 2-企业
  33659. in: query
  33660. name: userinfotype
  33661. type: integer
  33662. - description: 客户名称(模糊匹配)
  33663. in: query
  33664. name: customername
  33665. type: string
  33666. - description: 昵称(模糊匹配)
  33667. in: query
  33668. name: nickname
  33669. type: string
  33670. - description: 是否包含子级 1-包含
  33671. in: query
  33672. name: includesub
  33673. type: integer
  33674. produces:
  33675. - application/json
  33676. responses:
  33677. "200":
  33678. description: OK
  33679. schema:
  33680. items:
  33681. $ref: '#/definitions/models.QhjCustomer'
  33682. type: array
  33683. "500":
  33684. description: Internal Server Error
  33685. schema:
  33686. $ref: '#/definitions/app.Response'
  33687. security:
  33688. - ApiKeyAuth: []
  33689. summary: 查询客户资料
  33690. tags:
  33691. - 大连千海金
  33692. /Qhj/QueryGoodsEx:
  33693. get:
  33694. parameters:
  33695. - description: 商品id
  33696. in: query
  33697. name: goodsid
  33698. type: integer
  33699. produces:
  33700. - application/json
  33701. responses:
  33702. "200":
  33703. description: OK
  33704. schema:
  33705. items:
  33706. $ref: '#/definitions/models.Qhjgoodsex'
  33707. type: array
  33708. "500":
  33709. description: Internal Server Error
  33710. schema:
  33711. $ref: '#/definitions/app.Response'
  33712. security:
  33713. - ApiKeyAuth: []
  33714. summary: 交易商品扩展表
  33715. tags:
  33716. - 大连千海金
  33717. /Qhj/QueryMyTeam:
  33718. get:
  33719. parameters:
  33720. - description: 用户ID
  33721. in: query
  33722. name: userid
  33723. required: true
  33724. type: integer
  33725. produces:
  33726. - application/json
  33727. responses:
  33728. "200":
  33729. description: OK
  33730. schema:
  33731. items:
  33732. $ref: '#/definitions/models.QhjMyTeamEx'
  33733. type: array
  33734. "500":
  33735. description: Internal Server Error
  33736. schema:
  33737. $ref: '#/definitions/app.Response'
  33738. security:
  33739. - ApiKeyAuth: []
  33740. summary: 查询我的团队
  33741. tags:
  33742. - 大连千海金
  33743. /Qhj/QueryMyTeamOrder:
  33744. get:
  33745. parameters:
  33746. - description: 页码
  33747. in: query
  33748. name: page
  33749. type: integer
  33750. - description: 每页条数
  33751. in: query
  33752. name: pagesize
  33753. type: integer
  33754. - description: 用户ID
  33755. in: query
  33756. name: userid
  33757. required: true
  33758. type: integer
  33759. - description: 交易模式
  33760. in: query
  33761. name: trademode
  33762. type: integer
  33763. - description: 名称(模糊搜索账户)
  33764. in: query
  33765. name: filtername
  33766. type: string
  33767. produces:
  33768. - application/json
  33769. responses:
  33770. "200":
  33771. description: OK
  33772. schema:
  33773. items:
  33774. $ref: '#/definitions/models.QhjTeamOrder'
  33775. type: array
  33776. "500":
  33777. description: Internal Server Error
  33778. schema:
  33779. $ref: '#/definitions/app.Response'
  33780. security:
  33781. - ApiKeyAuth: []
  33782. summary: 查询团队订单(我的团队/团队订单)
  33783. tags:
  33784. - 大连千海金
  33785. /Qhj/QueryParentAreaList:
  33786. get:
  33787. parameters:
  33788. - description: 用户ID
  33789. in: query
  33790. name: userid
  33791. required: true
  33792. type: integer
  33793. produces:
  33794. - application/json
  33795. responses:
  33796. "200":
  33797. description: OK
  33798. schema:
  33799. items:
  33800. $ref: '#/definitions/models.QhjParentAreaList'
  33801. type: array
  33802. "500":
  33803. description: Internal Server Error
  33804. schema:
  33805. $ref: '#/definitions/app.Response'
  33806. security:
  33807. - ApiKeyAuth: []
  33808. summary: 查询所属机构列表
  33809. tags:
  33810. - 大连千海金
  33811. /Qhj/QueryPayOrder:
  33812. get:
  33813. parameters:
  33814. - description: 资金账号id
  33815. in: query
  33816. name: accountid
  33817. required: true
  33818. type: integer
  33819. - description: 成交单号
  33820. in: query
  33821. name: tradeid
  33822. type: integer
  33823. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  33824. in: query
  33825. name: payflag
  33826. type: string
  33827. produces:
  33828. - application/json
  33829. responses:
  33830. "200":
  33831. description: OK
  33832. schema:
  33833. items:
  33834. $ref: '#/definitions/models.QhjPayOrder'
  33835. type: array
  33836. "500":
  33837. description: Internal Server Error
  33838. schema:
  33839. $ref: '#/definitions/app.Response'
  33840. security:
  33841. - ApiKeyAuth: []
  33842. summary: 查询待付款单据
  33843. tags:
  33844. - 大连千海金
  33845. /Qhj/QueryPickArea:
  33846. get:
  33847. parameters:
  33848. - description: 用户ID
  33849. in: query
  33850. name: userid
  33851. type: integer
  33852. produces:
  33853. - application/json
  33854. responses:
  33855. "200":
  33856. description: OK
  33857. schema:
  33858. items:
  33859. $ref: '#/definitions/models.QhjPickArea'
  33860. type: array
  33861. "500":
  33862. description: Internal Server Error
  33863. schema:
  33864. $ref: '#/definitions/app.Response'
  33865. security:
  33866. - ApiKeyAuth: []
  33867. summary: 查询提货门店
  33868. tags:
  33869. - 大连千海金
  33870. /Qhj/QueryPickGoods:
  33871. get:
  33872. parameters:
  33873. - description: 交易商品id
  33874. in: query
  33875. name: goodsid
  33876. required: true
  33877. type: integer
  33878. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  33879. in: query
  33880. name: status
  33881. type: string
  33882. produces:
  33883. - application/json
  33884. responses:
  33885. "200":
  33886. description: OK
  33887. schema:
  33888. items:
  33889. $ref: '#/definitions/models.QhjPickGoods'
  33890. type: array
  33891. "500":
  33892. description: Internal Server Error
  33893. schema:
  33894. $ref: '#/definitions/app.Response'
  33895. security:
  33896. - ApiKeyAuth: []
  33897. summary: 查询提货商品
  33898. tags:
  33899. - 大连千海金
  33900. /Qhj/QueryRSTriggerLog:
  33901. get:
  33902. parameters:
  33903. - description: 用户ID
  33904. in: query
  33905. name: userid
  33906. type: integer
  33907. - description: 定投策略id
  33908. in: query
  33909. name: regularlystrategyid
  33910. type: integer
  33911. - description: 商品id
  33912. in: query
  33913. name: goodsid
  33914. type: integer
  33915. - description: 开始交易日(yyyymmdd)
  33916. in: query
  33917. name: begindate
  33918. type: string
  33919. - description: 结束交易日(yyyymmdd)
  33920. in: query
  33921. name: enddate
  33922. type: string
  33923. - description: 名称(模糊搜索账户)
  33924. in: query
  33925. name: filtername
  33926. type: string
  33927. produces:
  33928. - application/json
  33929. responses:
  33930. "200":
  33931. description: OK
  33932. schema:
  33933. items:
  33934. $ref: '#/definitions/models.QhjRSTriggerLog'
  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. - 大连千海金
  33945. /Qhj/QueryRStrategy:
  33946. get:
  33947. parameters:
  33948. - description: 用户ID
  33949. in: query
  33950. name: userid
  33951. type: integer
  33952. - description: 商品id
  33953. in: query
  33954. name: goodsid
  33955. type: integer
  33956. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  33957. in: query
  33958. name: status
  33959. type: string
  33960. - description: 名称(模糊搜索账户)
  33961. in: query
  33962. name: filtername
  33963. type: string
  33964. produces:
  33965. - application/json
  33966. responses:
  33967. "200":
  33968. description: OK
  33969. schema:
  33970. items:
  33971. $ref: '#/definitions/models.QhjRStrategy'
  33972. type: array
  33973. "500":
  33974. description: Internal Server Error
  33975. schema:
  33976. $ref: '#/definitions/app.Response'
  33977. security:
  33978. - ApiKeyAuth: []
  33979. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  33980. tags:
  33981. - 大连千海金
  33982. /Qhj/QueryReckonPriceLog:
  33983. get:
  33984. parameters:
  33985. - description: 商品ID
  33986. in: query
  33987. name: goodsid
  33988. type: integer
  33989. - description: 交易日 格式(yyyymmdd)
  33990. in: query
  33991. name: tradedate
  33992. type: string
  33993. produces:
  33994. - application/json
  33995. responses:
  33996. "200":
  33997. description: OK
  33998. schema:
  33999. items:
  34000. $ref: '#/definitions/models.QhjReckonPriceLog'
  34001. type: array
  34002. "500":
  34003. description: Internal Server Error
  34004. schema:
  34005. $ref: '#/definitions/app.Response'
  34006. security:
  34007. - ApiKeyAuth: []
  34008. summary: 查询定投价(结算价)
  34009. tags:
  34010. - 大连千海金
  34011. /Qhj/QueryScoreLog:
  34012. get:
  34013. parameters:
  34014. - description: 用户ID
  34015. in: query
  34016. name: userid
  34017. required: true
  34018. type: integer
  34019. - description: 开始交易日(yyyymmdd)
  34020. in: query
  34021. name: begindate
  34022. type: string
  34023. - description: 结束交易日(yyyymmdd)
  34024. in: query
  34025. name: enddate
  34026. type: string
  34027. - description: 最近多少条
  34028. in: query
  34029. name: lastnum
  34030. type: integer
  34031. produces:
  34032. - application/json
  34033. responses:
  34034. "200":
  34035. description: OK
  34036. schema:
  34037. items:
  34038. $ref: '#/definitions/models.QhjScoreLog'
  34039. type: array
  34040. "500":
  34041. description: Internal Server Error
  34042. schema:
  34043. $ref: '#/definitions/app.Response'
  34044. security:
  34045. - ApiKeyAuth: []
  34046. summary: 查询积分流水(我的积分)
  34047. tags:
  34048. - 大连千海金
  34049. /Qhj/QuerySiteColumnDetail:
  34050. get:
  34051. parameters:
  34052. - description: 用户ID
  34053. in: query
  34054. name: userid
  34055. required: true
  34056. type: integer
  34057. produces:
  34058. - application/json
  34059. responses:
  34060. "200":
  34061. description: OK
  34062. schema:
  34063. items:
  34064. $ref: '#/definitions/models.QhjSiteColumnDetail'
  34065. type: array
  34066. "500":
  34067. description: Internal Server Error
  34068. schema:
  34069. $ref: '#/definitions/app.Response'
  34070. security:
  34071. - ApiKeyAuth: []
  34072. summary: 查询资讯
  34073. tags:
  34074. - 大连千海金
  34075. /Qhj/QueryTradeGoodsPickup:
  34076. get:
  34077. parameters:
  34078. - description: 用户ID
  34079. in: query
  34080. name: userid
  34081. required: true
  34082. type: integer
  34083. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  34084. 7:已拒绝 8:已撤销
  34085. in: query
  34086. name: takeorderstatus
  34087. type: integer
  34088. produces:
  34089. - application/json
  34090. responses:
  34091. "200":
  34092. description: OK
  34093. schema:
  34094. items:
  34095. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  34096. type: array
  34097. "500":
  34098. description: Internal Server Error
  34099. schema:
  34100. $ref: '#/definitions/app.Response'
  34101. security:
  34102. - ApiKeyAuth: []
  34103. summary: 查询提货
  34104. tags:
  34105. - 大连千海金
  34106. /Qhj/QueryUserCollectConfig:
  34107. get:
  34108. parameters:
  34109. - description: 用户ID
  34110. in: query
  34111. name: userid
  34112. required: true
  34113. type: integer
  34114. produces:
  34115. - application/json
  34116. responses:
  34117. "200":
  34118. description: OK
  34119. schema:
  34120. items:
  34121. $ref: '#/definitions/models.UserCollectConfig'
  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. - 大连千海金
  34132. /Qhj/QueryUserReceiveInfo:
  34133. get:
  34134. parameters:
  34135. - description: 用户ID
  34136. in: query
  34137. name: userid
  34138. required: true
  34139. type: integer
  34140. produces:
  34141. - application/json
  34142. responses:
  34143. "200":
  34144. description: OK
  34145. schema:
  34146. items:
  34147. $ref: '#/definitions/models.UserReceiveInfo'
  34148. type: array
  34149. "500":
  34150. description: Internal Server Error
  34151. schema:
  34152. $ref: '#/definitions/app.Response'
  34153. security:
  34154. - ApiKeyAuth: []
  34155. summary: 查询收货地址信息
  34156. tags:
  34157. - 大连千海金
  34158. /QhjMgr/QueryAccountInOutApply:
  34159. get:
  34160. parameters:
  34161. - description: 查询类型 1-提现(出金) 2-充值(出金)
  34162. in: query
  34163. name: querytype
  34164. required: true
  34165. type: integer
  34166. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  34167. in: query
  34168. name: applystatus
  34169. type: integer
  34170. - description: 申请起始日期(格式yyyymmdd)
  34171. in: query
  34172. name: begindate
  34173. type: string
  34174. - description: 申请截止日期(格式yyyymmdd)
  34175. in: query
  34176. name: enddate
  34177. type: string
  34178. - description: 模糊搜索名称
  34179. in: query
  34180. name: likename
  34181. type: string
  34182. produces:
  34183. - application/json
  34184. responses:
  34185. "200":
  34186. description: OK
  34187. schema:
  34188. items:
  34189. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  34190. type: array
  34191. "500":
  34192. description: Internal Server Error
  34193. schema:
  34194. $ref: '#/definitions/app.Response'
  34195. security:
  34196. - ApiKeyAuth: []
  34197. summary: 查询充值提现
  34198. tags:
  34199. - 大连千海金(PCWeb)
  34200. /QhjMgr/QueryBrokerApply:
  34201. get:
  34202. parameters:
  34203. - description: 所属机构ID
  34204. in: query
  34205. name: userid
  34206. type: integer
  34207. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  34208. in: query
  34209. name: filterstatus
  34210. type: string
  34211. - description: 名称(模糊匹配)
  34212. in: query
  34213. name: filtername
  34214. type: string
  34215. - description: 是否包含子级 1-包含
  34216. in: query
  34217. name: includesub
  34218. type: integer
  34219. produces:
  34220. - application/json
  34221. responses:
  34222. "200":
  34223. description: OK
  34224. schema:
  34225. items:
  34226. $ref: '#/definitions/models.QhjMgrBrokerApply'
  34227. type: array
  34228. "500":
  34229. description: Internal Server Error
  34230. schema:
  34231. $ref: '#/definitions/app.Response'
  34232. security:
  34233. - ApiKeyAuth: []
  34234. summary: 查询经纪人申请
  34235. tags:
  34236. - 大连千海金(PCWeb)
  34237. /QhjMgr/QueryBrokerRewardReport:
  34238. get:
  34239. parameters:
  34240. - description: 所属机构ID
  34241. in: query
  34242. name: userid
  34243. required: true
  34244. type: integer
  34245. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  34246. in: query
  34247. name: cycletype
  34248. required: true
  34249. type: integer
  34250. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  34251. in: query
  34252. name: cycletime
  34253. required: true
  34254. type: string
  34255. - description: 名称(模糊匹配)
  34256. in: query
  34257. name: filtername
  34258. type: string
  34259. - description: 是否包含子级 1-包含
  34260. in: query
  34261. name: includesub
  34262. type: integer
  34263. produces:
  34264. - application/json
  34265. responses:
  34266. "200":
  34267. description: OK
  34268. schema:
  34269. items:
  34270. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  34271. type: array
  34272. "500":
  34273. description: Internal Server Error
  34274. schema:
  34275. $ref: '#/definitions/app.Response'
  34276. security:
  34277. - ApiKeyAuth: []
  34278. summary: 查询经纪人奖励报表(废弃)
  34279. tags:
  34280. - 大连千海金(PCWeb)
  34281. /QhjMgr/QueryContract:
  34282. get:
  34283. parameters:
  34284. - description: 用户ID
  34285. in: query
  34286. name: userid
  34287. type: integer
  34288. - description: 商品id
  34289. in: query
  34290. name: goodsid
  34291. type: integer
  34292. - description: 名称(模糊搜索账户)
  34293. in: query
  34294. name: filtername
  34295. type: string
  34296. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  34297. in: query
  34298. name: risklevel
  34299. type: string
  34300. - description: 开始交易日(yyyymmdd)
  34301. in: query
  34302. name: begindate
  34303. type: string
  34304. - description: 结束交易日(yyyymmdd)
  34305. in: query
  34306. name: enddate
  34307. type: string
  34308. produces:
  34309. - application/json
  34310. responses:
  34311. "200":
  34312. description: OK
  34313. schema:
  34314. items:
  34315. $ref: '#/definitions/models.QhjMgrContract'
  34316. type: array
  34317. "500":
  34318. description: Internal Server Error
  34319. schema:
  34320. $ref: '#/definitions/app.Response'
  34321. security:
  34322. - ApiKeyAuth: []
  34323. summary: 查询融资信息(合同)
  34324. tags:
  34325. - 大连千海金(PCWeb)
  34326. /QhjMgr/QueryCustomerInfo:
  34327. get:
  34328. parameters:
  34329. - description: 用户ID
  34330. in: query
  34331. name: userid
  34332. required: true
  34333. type: integer
  34334. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  34335. in: query
  34336. name: querytype
  34337. required: true
  34338. type: integer
  34339. - description: 客户类型 1-个人 2-企业
  34340. in: query
  34341. name: userinfotype
  34342. type: integer
  34343. - description: 客户名称(模糊匹配)
  34344. in: query
  34345. name: customername
  34346. type: string
  34347. - description: 昵称(模糊匹配)
  34348. in: query
  34349. name: nickname
  34350. type: string
  34351. - description: 所属客户经理(模糊匹配)
  34352. in: query
  34353. name: brokername
  34354. type: string
  34355. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  34356. 如0503 -5月3日)
  34357. in: query
  34358. name: birthday
  34359. type: string
  34360. - description: 是否包含子级 1-包含
  34361. in: query
  34362. name: includesub
  34363. type: integer
  34364. produces:
  34365. - application/json
  34366. responses:
  34367. "200":
  34368. description: OK
  34369. schema:
  34370. items:
  34371. $ref: '#/definitions/models.QhjMgrCustomer'
  34372. type: array
  34373. "500":
  34374. description: Internal Server Error
  34375. schema:
  34376. $ref: '#/definitions/app.Response'
  34377. security:
  34378. - ApiKeyAuth: []
  34379. summary: 查询客户资料
  34380. tags:
  34381. - 大连千海金(PCWeb)
  34382. /QhjMgr/QueryPickGoods:
  34383. get:
  34384. parameters:
  34385. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34386. in: query
  34387. name: status
  34388. type: string
  34389. produces:
  34390. - application/json
  34391. responses:
  34392. "200":
  34393. description: OK
  34394. schema:
  34395. items:
  34396. $ref: '#/definitions/models.QhjMgrPickGoods'
  34397. type: array
  34398. "500":
  34399. description: Internal Server Error
  34400. schema:
  34401. $ref: '#/definitions/app.Response'
  34402. security:
  34403. - ApiKeyAuth: []
  34404. summary: 查询提货商品
  34405. tags:
  34406. - 大连千海金(PCWeb)
  34407. /QhjMgr/QuerySubArea:
  34408. get:
  34409. parameters:
  34410. - description: 用户ID
  34411. in: query
  34412. name: userid
  34413. required: true
  34414. type: integer
  34415. produces:
  34416. - application/json
  34417. responses:
  34418. "200":
  34419. description: OK
  34420. schema:
  34421. items:
  34422. $ref: '#/definitions/models.QhjMgrSubArea'
  34423. type: array
  34424. "500":
  34425. description: Internal Server Error
  34426. schema:
  34427. $ref: '#/definitions/app.Response'
  34428. security:
  34429. - ApiKeyAuth: []
  34430. summary: 查询子机构列表
  34431. tags:
  34432. - 大连千海金(PCWeb)
  34433. /QhjMgr/QueryTradeDetail:
  34434. get:
  34435. parameters:
  34436. - description: 用户ID
  34437. in: query
  34438. name: userid
  34439. required: true
  34440. type: integer
  34441. - description: 用户类型 1-个人 2-企业
  34442. in: query
  34443. name: userinfotype
  34444. type: integer
  34445. - description: 交易模式
  34446. in: query
  34447. name: trademode
  34448. type: integer
  34449. - description: 商品id
  34450. in: query
  34451. name: goodsid
  34452. type: integer
  34453. - description: 名称(模糊搜索账户)
  34454. in: query
  34455. name: filtername
  34456. type: string
  34457. - description: 开始交易日(yyyymmdd)
  34458. in: query
  34459. name: begindate
  34460. type: string
  34461. - description: 结束交易日(yyyymmdd)
  34462. in: query
  34463. name: enddate
  34464. type: string
  34465. - description: 是否包含子级 1-包含
  34466. in: query
  34467. name: includesub
  34468. type: integer
  34469. produces:
  34470. - application/json
  34471. responses:
  34472. "200":
  34473. description: OK
  34474. schema:
  34475. items:
  34476. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  34477. type: array
  34478. "500":
  34479. description: Internal Server Error
  34480. schema:
  34481. $ref: '#/definitions/app.Response'
  34482. security:
  34483. - ApiKeyAuth: []
  34484. summary: 查询成交明细
  34485. tags:
  34486. - 大连千海金(PCWeb)
  34487. /QhjMgr/QueryTradeOrderDetail:
  34488. get:
  34489. parameters:
  34490. - description: 用户ID
  34491. in: query
  34492. name: userid
  34493. required: true
  34494. type: integer
  34495. - description: 用户类型 1-个人 2-企业
  34496. in: query
  34497. name: userinfotype
  34498. type: integer
  34499. - description: 交易模式
  34500. in: query
  34501. name: trademode
  34502. type: integer
  34503. - description: 商品id
  34504. in: query
  34505. name: goodsid
  34506. type: integer
  34507. - description: 名称(模糊搜索账户)
  34508. in: query
  34509. name: filtername
  34510. type: string
  34511. - description: 开始交易日(yyyymmdd)
  34512. in: query
  34513. name: begindate
  34514. type: string
  34515. - description: 结束交易日(yyyymmdd)
  34516. in: query
  34517. name: enddate
  34518. type: string
  34519. - description: 是否包含子级 1-包含
  34520. in: query
  34521. name: includesub
  34522. type: integer
  34523. produces:
  34524. - application/json
  34525. responses:
  34526. "200":
  34527. description: OK
  34528. schema:
  34529. items:
  34530. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  34531. type: array
  34532. "500":
  34533. description: Internal Server Error
  34534. schema:
  34535. $ref: '#/definitions/app.Response'
  34536. security:
  34537. - ApiKeyAuth: []
  34538. summary: 查询委托明细
  34539. tags:
  34540. - 大连千海金(PCWeb)
  34541. /QhjMgr/QueryTradePayOrder:
  34542. get:
  34543. parameters:
  34544. - description: 用户ID
  34545. in: query
  34546. name: userid
  34547. required: true
  34548. type: integer
  34549. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34550. in: query
  34551. name: payflag
  34552. type: string
  34553. - description: 用户类型 1-个人 2-企业
  34554. in: query
  34555. name: userinfotype
  34556. type: integer
  34557. - description: 交易模式
  34558. in: query
  34559. name: trademode
  34560. type: integer
  34561. - description: 商品id
  34562. in: query
  34563. name: goodsid
  34564. type: integer
  34565. - description: 名称(模糊搜索账户)
  34566. in: query
  34567. name: filtername
  34568. type: string
  34569. - description: 开始交易日(yyyymmdd)
  34570. in: query
  34571. name: begindate
  34572. type: string
  34573. - description: 结束交易日(yyyymmdd)
  34574. in: query
  34575. name: enddate
  34576. type: string
  34577. - description: 是否包含子级 1-包含
  34578. in: query
  34579. name: includesub
  34580. type: integer
  34581. produces:
  34582. - application/json
  34583. responses:
  34584. "200":
  34585. description: OK
  34586. schema:
  34587. items:
  34588. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  34589. type: array
  34590. "500":
  34591. description: Internal Server Error
  34592. schema:
  34593. $ref: '#/definitions/app.Response'
  34594. security:
  34595. - ApiKeyAuth: []
  34596. summary: 查询待付款单
  34597. tags:
  34598. - 大连千海金(PCWeb)
  34599. /QhjMgr/QueryTradePosition:
  34600. get:
  34601. parameters:
  34602. - description: 用户ID
  34603. in: query
  34604. name: userid
  34605. required: true
  34606. type: integer
  34607. - description: 用户类型 1-个人 2-企业
  34608. in: query
  34609. name: userinfotype
  34610. type: integer
  34611. - description: 交易模式
  34612. in: query
  34613. name: trademode
  34614. type: integer
  34615. - description: 商品id
  34616. in: query
  34617. name: goodsid
  34618. type: integer
  34619. - description: 名称(模糊搜索账户)
  34620. in: query
  34621. name: filtername
  34622. type: string
  34623. - description: 是否包含子级 1-包含
  34624. in: query
  34625. name: includesub
  34626. type: integer
  34627. produces:
  34628. - application/json
  34629. responses:
  34630. "200":
  34631. description: OK
  34632. schema:
  34633. items:
  34634. $ref: '#/definitions/models.QhjMgrPositionRsp'
  34635. type: array
  34636. "500":
  34637. description: Internal Server Error
  34638. schema:
  34639. $ref: '#/definitions/app.Response'
  34640. security:
  34641. - ApiKeyAuth: []
  34642. summary: 查询持仓汇总
  34643. tags:
  34644. - 大连千海金(PCWeb)
  34645. /QhjSys/QueryAgreementChangeLog:
  34646. get:
  34647. parameters:
  34648. - description: 协议ID
  34649. in: query
  34650. name: agreementid
  34651. type: integer
  34652. - description: 协议版本号
  34653. in: query
  34654. name: agreementversion
  34655. type: integer
  34656. - description: 协议类型 - 1:注册 2:登录 3:交易
  34657. in: query
  34658. name: agreementtype
  34659. type: integer
  34660. - description: 协议编号(模糊匹配)
  34661. in: query
  34662. name: agreementno
  34663. type: string
  34664. - description: 协议名称(模糊匹配)
  34665. in: query
  34666. name: agreementname
  34667. type: string
  34668. produces:
  34669. - application/json
  34670. responses:
  34671. "200":
  34672. description: OK
  34673. schema:
  34674. items:
  34675. $ref: '#/definitions/models.QhjAgreementChangeLog'
  34676. type: array
  34677. "500":
  34678. description: Internal Server Error
  34679. schema:
  34680. $ref: '#/definitions/app.Response'
  34681. security:
  34682. - ApiKeyAuth: []
  34683. summary: 查询协议配置变更流水
  34684. tags:
  34685. - 大连千海金(协议和签约信息)
  34686. /QhjSys/QueryAgreementConfig:
  34687. get:
  34688. parameters:
  34689. - description: 协议ID
  34690. in: query
  34691. name: agreementid
  34692. type: integer
  34693. - description: 协议版本号
  34694. in: query
  34695. name: agreementversion
  34696. type: integer
  34697. - description: 协议类型 - 1:注册 2:登录 3:交易
  34698. in: query
  34699. name: agreementtype
  34700. type: integer
  34701. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  34702. in: query
  34703. name: isvalid
  34704. type: integer
  34705. - description: 协议编号(模糊匹配)
  34706. in: query
  34707. name: agreementno
  34708. type: string
  34709. - description: 协议名称(模糊匹配)
  34710. in: query
  34711. name: agreementname
  34712. type: string
  34713. produces:
  34714. - application/json
  34715. responses:
  34716. "200":
  34717. description: OK
  34718. schema:
  34719. items:
  34720. $ref: '#/definitions/models.QhjAgreementConfig'
  34721. type: array
  34722. "500":
  34723. description: Internal Server Error
  34724. schema:
  34725. $ref: '#/definitions/app.Response'
  34726. security:
  34727. - ApiKeyAuth: []
  34728. summary: 查询协议配置
  34729. tags:
  34730. - 大连千海金(协议和签约信息)
  34731. /QhjSys/QueryCustomerSignStatus:
  34732. get:
  34733. parameters:
  34734. - description: 客户ID
  34735. in: query
  34736. name: userid
  34737. type: integer
  34738. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  34739. in: query
  34740. name: nodetype
  34741. type: integer
  34742. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  34743. in: query
  34744. name: goodsid
  34745. type: integer
  34746. - description: 创建交易日(yyyyMMdd)
  34747. in: query
  34748. name: tradedate
  34749. type: string
  34750. - description: 用户名称(模糊匹配)
  34751. in: query
  34752. name: username
  34753. type: string
  34754. produces:
  34755. - application/json
  34756. responses:
  34757. "200":
  34758. description: OK
  34759. schema:
  34760. items:
  34761. $ref: '#/definitions/models.QhjCustomerSignStatus'
  34762. type: array
  34763. "500":
  34764. description: Internal Server Error
  34765. schema:
  34766. $ref: '#/definitions/app.Response'
  34767. security:
  34768. - ApiKeyAuth: []
  34769. summary: 查询客户协议签约状态
  34770. tags:
  34771. - 大连千海金(协议和签约信息)
  34772. /QhjSys/QueryNodeAgreementConfig:
  34773. get:
  34774. parameters:
  34775. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  34776. in: query
  34777. name: configid
  34778. type: integer
  34779. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  34780. in: query
  34781. name: nodetype
  34782. type: integer
  34783. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  34784. in: query
  34785. name: goodsid
  34786. type: integer
  34787. - description: 协议ID
  34788. in: query
  34789. name: agreementid
  34790. type: integer
  34791. - description: 协议类型 - 1:注册 2:登录 3:交易
  34792. in: query
  34793. name: agreementtype
  34794. type: integer
  34795. - description: 协议版本号
  34796. in: query
  34797. name: agreementversion
  34798. type: integer
  34799. - description: 协议编号(模糊匹配)
  34800. in: query
  34801. name: agreementno
  34802. type: string
  34803. - description: 协议名称(模糊匹配)
  34804. in: query
  34805. name: agreementname
  34806. type: string
  34807. produces:
  34808. - application/json
  34809. responses:
  34810. "200":
  34811. description: OK
  34812. schema:
  34813. items:
  34814. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  34815. type: array
  34816. "500":
  34817. description: Internal Server Error
  34818. schema:
  34819. $ref: '#/definitions/app.Response'
  34820. security:
  34821. - ApiKeyAuth: []
  34822. summary: 查询协议节点配置
  34823. tags:
  34824. - 大连千海金(协议和签约信息)
  34825. /QhjSys/QueryQhjCustomerSignLog:
  34826. get:
  34827. parameters:
  34828. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  34829. in: query
  34830. name: logid
  34831. type: integer
  34832. - description: 客户ID
  34833. in: query
  34834. name: userid
  34835. type: integer
  34836. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  34837. in: query
  34838. name: nodetype
  34839. type: integer
  34840. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  34841. in: query
  34842. name: goodsid
  34843. type: integer
  34844. - description: 协议ID
  34845. in: query
  34846. name: agreementid
  34847. type: integer
  34848. - description: 用户名称(模糊匹配)
  34849. in: query
  34850. name: username
  34851. type: string
  34852. - description: 协议编号(模糊匹配)
  34853. in: query
  34854. name: agreementno
  34855. type: string
  34856. - description: 协议名称(模糊匹配)
  34857. in: query
  34858. name: agreementname
  34859. type: string
  34860. produces:
  34861. - application/json
  34862. responses:
  34863. "200":
  34864. description: OK
  34865. schema:
  34866. items:
  34867. $ref: '#/definitions/models.QhjCustomerSignLog'
  34868. type: array
  34869. "500":
  34870. description: Internal Server Error
  34871. schema:
  34872. $ref: '#/definitions/app.Response'
  34873. security:
  34874. - ApiKeyAuth: []
  34875. summary: 查询客户协议签约流水
  34876. tags:
  34877. - 大连千海金(协议和签约信息)
  34878. /QhjSys/QueryUserNodeCfgAndStatus:
  34879. get:
  34880. parameters:
  34881. - description: 客户ID
  34882. in: query
  34883. name: userid
  34884. type: integer
  34885. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  34886. in: query
  34887. name: configid
  34888. type: integer
  34889. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  34890. in: query
  34891. name: nodetype
  34892. type: string
  34893. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  34894. in: query
  34895. name: goodsid
  34896. type: integer
  34897. - description: 协议ID
  34898. in: query
  34899. name: agreementid
  34900. type: integer
  34901. - description: 协议类型 - 1:注册 2:登录 3:交易
  34902. in: query
  34903. name: agreementtype
  34904. type: integer
  34905. - description: 协议版本号
  34906. in: query
  34907. name: agreementversion
  34908. type: integer
  34909. - description: 协议编号(模糊匹配)
  34910. in: query
  34911. name: agreementno
  34912. type: string
  34913. - description: 协议名称(模糊匹配)
  34914. in: query
  34915. name: agreementname
  34916. type: string
  34917. produces:
  34918. - application/json
  34919. responses:
  34920. "200":
  34921. description: OK
  34922. schema:
  34923. items:
  34924. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  34925. type: array
  34926. "500":
  34927. description: Internal Server Error
  34928. schema:
  34929. $ref: '#/definitions/app.Response'
  34930. security:
  34931. - ApiKeyAuth: []
  34932. summary: 查询用户协议节点配置和状态
  34933. tags:
  34934. - 大连千海金(协议和签约信息)
  34935. /Quote/QueryHistoryDatas:
  34936. get:
  34937. parameters:
  34938. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  34939. 日线 12:周线 13:月线 14:年线'
  34940. in: query
  34941. name: cycleType
  34942. required: true
  34943. type: integer
  34944. - description: 商品代码
  34945. in: query
  34946. name: goodsCode
  34947. required: true
  34948. type: string
  34949. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  34950. in: query
  34951. name: startTime
  34952. type: string
  34953. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  34954. in: query
  34955. name: endTime
  34956. type: string
  34957. - description: 条数
  34958. in: query
  34959. name: count
  34960. type: integer
  34961. - description: 是否按时间顺序排序(默认为时间倒序排序)
  34962. in: query
  34963. name: isAsc
  34964. type: boolean
  34965. produces:
  34966. - application/json
  34967. responses:
  34968. "200":
  34969. description: OK
  34970. schema:
  34971. $ref: '#/definitions/quote.HistoryData'
  34972. "500":
  34973. description: Internal Server Error
  34974. schema:
  34975. $ref: '#/definitions/app.Response'
  34976. security:
  34977. - ApiKeyAuth: []
  34978. summary: 查询行情历史数据
  34979. tags:
  34980. - 行情服务
  34981. /Quote/QueryHistoryTikDatas:
  34982. get:
  34983. parameters:
  34984. - description: 商品代码
  34985. in: query
  34986. name: goodsCode
  34987. required: true
  34988. type: string
  34989. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  34990. in: query
  34991. name: startTime
  34992. type: string
  34993. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  34994. in: query
  34995. name: endTime
  34996. type: string
  34997. - description: 条数
  34998. in: query
  34999. name: count
  35000. type: integer
  35001. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35002. in: query
  35003. name: isAsc
  35004. type: boolean
  35005. produces:
  35006. - application/json
  35007. responses:
  35008. "200":
  35009. description: OK
  35010. schema:
  35011. $ref: '#/definitions/quote.HistoryTikData'
  35012. "500":
  35013. description: Internal Server Error
  35014. schema:
  35015. $ref: '#/definitions/app.Response'
  35016. security:
  35017. - ApiKeyAuth: []
  35018. summary: 查询行情Tik数据
  35019. tags:
  35020. - 行情服务
  35021. /Quote/QueryQuoteDay:
  35022. get:
  35023. parameters:
  35024. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  35025. in: query
  35026. name: goodsCodes
  35027. type: string
  35028. produces:
  35029. - application/json
  35030. responses:
  35031. "200":
  35032. description: OK
  35033. schema:
  35034. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  35035. "500":
  35036. description: Internal Server Error
  35037. schema:
  35038. $ref: '#/definitions/app.Response'
  35039. security:
  35040. - ApiKeyAuth: []
  35041. summary: 获取商品盘面信息
  35042. tags:
  35043. - 行情服务
  35044. /Quote/QueryTSData:
  35045. get:
  35046. parameters:
  35047. - description: 商品代码
  35048. in: query
  35049. name: goodsCode
  35050. required: true
  35051. type: string
  35052. produces:
  35053. - application/json
  35054. responses:
  35055. "200":
  35056. description: OK
  35057. schema:
  35058. $ref: '#/definitions/quote.QueryTSDataRsp'
  35059. "500":
  35060. description: Internal Server Error
  35061. schema:
  35062. $ref: '#/definitions/app.Response'
  35063. security:
  35064. - ApiKeyAuth: []
  35065. summary: 分时图数据查询
  35066. tags:
  35067. - 行情服务
  35068. /SZDZ/QueryConvertConfig:
  35069. get:
  35070. parameters:
  35071. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  35072. 6:交易转花生米(不设置)
  35073. in: query
  35074. name: convertType
  35075. type: integer
  35076. - description: 外部商品代码[JD\PD]
  35077. in: query
  35078. name: outerGoodsCode
  35079. type: string
  35080. - description: 内部商品ID列表[交易],格式:1,2,3
  35081. in: query
  35082. name: innerGoodsIDs
  35083. type: string
  35084. produces:
  35085. - application/json
  35086. responses:
  35087. "200":
  35088. description: OK
  35089. schema:
  35090. $ref: '#/definitions/models.Szdz3convertconfig'
  35091. "500":
  35092. description: Internal Server Error
  35093. schema:
  35094. $ref: '#/definitions/app.Response'
  35095. security:
  35096. - ApiKeyAuth: []
  35097. summary: 查询交易系统转换设置
  35098. tags:
  35099. - 定制【尚志大宗】
  35100. /SZDZ/QueryConvertLog:
  35101. get:
  35102. parameters:
  35103. - description: 资金账户 - 格式:1,2,3
  35104. in: query
  35105. name: accountID
  35106. required: true
  35107. type: string
  35108. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35109. in: query
  35110. name: startDate
  35111. type: string
  35112. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35113. in: query
  35114. name: endDate
  35115. type: string
  35116. produces:
  35117. - application/json
  35118. responses:
  35119. "200":
  35120. description: OK
  35121. schema:
  35122. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  35123. "500":
  35124. description: Internal Server Error
  35125. schema:
  35126. $ref: '#/definitions/app.Response'
  35127. security:
  35128. - ApiKeyAuth: []
  35129. summary: 交易系统转换流水查询
  35130. tags:
  35131. - 定制【尚志大宗】
  35132. /SZDZ/QueryGoodsPickup:
  35133. get:
  35134. parameters:
  35135. - description: 资金账户 - 格式:1,2,3
  35136. in: query
  35137. name: accountID
  35138. required: true
  35139. type: string
  35140. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  35141. in: query
  35142. name: takeOrderStatus
  35143. type: integer
  35144. produces:
  35145. - application/json
  35146. responses:
  35147. "200":
  35148. description: OK
  35149. schema:
  35150. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  35151. "500":
  35152. description: Internal Server Error
  35153. schema:
  35154. $ref: '#/definitions/app.Response'
  35155. security:
  35156. - ApiKeyAuth: []
  35157. summary: 商品提货单查询
  35158. tags:
  35159. - 定制【尚志大宗】
  35160. /SZDZ/QueryRecieptOrder:
  35161. get:
  35162. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35163. parameters:
  35164. - description: 页码
  35165. in: query
  35166. name: page
  35167. type: integer
  35168. - description: 每页条数
  35169. in: query
  35170. name: pagesize
  35171. type: integer
  35172. - description: 商品ID
  35173. in: query
  35174. name: goodsID
  35175. required: true
  35176. type: integer
  35177. - description: 所属账户名称
  35178. in: query
  35179. name: accountName
  35180. type: string
  35181. - description: 市场ID
  35182. in: query
  35183. name: marketID
  35184. type: integer
  35185. - description: 方向 - 0:买 1:卖
  35186. in: query
  35187. name: buyorsell
  35188. required: true
  35189. type: integer
  35190. produces:
  35191. - application/json
  35192. responses:
  35193. "200":
  35194. description: OK
  35195. schema:
  35196. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  35197. "500":
  35198. description: Internal Server Error
  35199. schema:
  35200. $ref: '#/definitions/app.Response'
  35201. security:
  35202. - ApiKeyAuth: []
  35203. summary: 点选挂牌委托单据查询(摘牌大厅)
  35204. tags:
  35205. - 定制【尚志大宗】
  35206. /SZDZ/QuerySZDZTradePosition:
  35207. get:
  35208. parameters:
  35209. - description: 资金账户
  35210. in: query
  35211. name: accountID
  35212. required: true
  35213. type: integer
  35214. produces:
  35215. - application/json
  35216. responses:
  35217. "200":
  35218. description: OK
  35219. schema:
  35220. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  35221. "500":
  35222. description: Internal Server Error
  35223. schema:
  35224. $ref: '#/definitions/app.Response'
  35225. security:
  35226. - ApiKeyAuth: []
  35227. summary: 持仓汇总查询(尚志大宗)
  35228. tags:
  35229. - 定制【尚志大宗】
  35230. /SZDZ/SearchWhite:
  35231. get:
  35232. parameters:
  35233. - description: 用户ID
  35234. in: query
  35235. name: userID
  35236. required: true
  35237. type: integer
  35238. produces:
  35239. - application/json
  35240. responses:
  35241. "200":
  35242. description: OK
  35243. schema:
  35244. $ref: '#/definitions/models.Szdz3searchwhitelist'
  35245. "500":
  35246. description: Internal Server Error
  35247. schema:
  35248. $ref: '#/definitions/app.Response'
  35249. security:
  35250. - ApiKeyAuth: []
  35251. summary: 搜索白名单
  35252. tags:
  35253. - 定制【尚志大宗】
  35254. /Search/SearchGoodses:
  35255. get:
  35256. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  35257. parameters:
  35258. - description: 检索内容
  35259. in: query
  35260. name: content
  35261. required: true
  35262. type: string
  35263. - description: 交易模式,格式:1,2,3
  35264. in: query
  35265. name: tradeModes
  35266. type: string
  35267. produces:
  35268. - application/json
  35269. responses:
  35270. "200":
  35271. description: OK
  35272. schema:
  35273. $ref: '#/definitions/models.SearchGoods'
  35274. "500":
  35275. description: Internal Server Error
  35276. schema:
  35277. $ref: '#/definitions/app.Response'
  35278. summary: 检索商品信息
  35279. tags:
  35280. - 检索服务
  35281. /TaAccount/GetTaAccounts:
  35282. get:
  35283. parameters:
  35284. - description: 登录账户
  35285. in: query
  35286. name: loginID
  35287. required: true
  35288. type: integer
  35289. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  35290. in: query
  35291. name: taAccountType
  35292. type: integer
  35293. produces:
  35294. - application/json
  35295. responses:
  35296. "200":
  35297. description: OK
  35298. schema:
  35299. $ref: '#/definitions/models.Taaccount'
  35300. "500":
  35301. description: Internal Server Error
  35302. schema:
  35303. $ref: '#/definitions/app.Response'
  35304. security:
  35305. - ApiKeyAuth: []
  35306. summary: 获取资金账户信息
  35307. tags:
  35308. - 资金账户
  35309. /TaAccount/QueryAmountLog:
  35310. get:
  35311. parameters:
  35312. - description: 页码
  35313. in: query
  35314. name: page
  35315. type: integer
  35316. - description: 每页条数
  35317. in: query
  35318. name: pagesize
  35319. type: integer
  35320. - description: 分页标志 0-page从0开始 1-page从1开始
  35321. in: query
  35322. name: pageflag
  35323. type: integer
  35324. - description: 资金账户 - 格式:1,2,3
  35325. in: query
  35326. name: accountID
  35327. required: true
  35328. type: string
  35329. - description: 资金操作类型 - 格式:1,2,3
  35330. in: query
  35331. name: OperateType
  35332. type: string
  35333. produces:
  35334. - application/json
  35335. responses:
  35336. "200":
  35337. description: OK
  35338. schema:
  35339. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  35340. "500":
  35341. description: Internal Server Error
  35342. schema:
  35343. $ref: '#/definitions/app.Response'
  35344. security:
  35345. - ApiKeyAuth: []
  35346. summary: 资金流水查询(当前)
  35347. tags:
  35348. - 资金账户
  35349. /TaAccount/QueryHisAmountLog:
  35350. get:
  35351. parameters:
  35352. - description: 页码
  35353. in: query
  35354. name: page
  35355. type: integer
  35356. - description: 每页条数
  35357. in: query
  35358. name: pagesize
  35359. type: integer
  35360. - description: 分页标志 0-page从0开始 1-page从1开始
  35361. in: query
  35362. name: pageflag
  35363. type: integer
  35364. - description: 资金账户 - 格式:1,2,3
  35365. in: query
  35366. name: accountID
  35367. required: true
  35368. type: string
  35369. - description: 资金操作类型 - 格式:1,2,3
  35370. in: query
  35371. name: OperateType
  35372. type: string
  35373. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  35374. in: query
  35375. name: startDate
  35376. type: string
  35377. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  35378. in: query
  35379. name: endDate
  35380. type: string
  35381. produces:
  35382. - application/json
  35383. responses:
  35384. "200":
  35385. description: OK
  35386. schema:
  35387. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  35388. "500":
  35389. description: Internal Server Error
  35390. schema:
  35391. $ref: '#/definitions/app.Response'
  35392. security:
  35393. - ApiKeyAuth: []
  35394. summary: 资金流水查询(历史)
  35395. tags:
  35396. - 资金账户
  35397. /TaAccount/QueryRelatedTaAccount:
  35398. get:
  35399. parameters:
  35400. - description: 关联UserID
  35401. in: query
  35402. name: relateduserid
  35403. required: true
  35404. type: integer
  35405. produces:
  35406. - application/json
  35407. responses:
  35408. "200":
  35409. description: OK
  35410. schema:
  35411. items:
  35412. $ref: '#/definitions/models.RelatedTaAccount'
  35413. type: array
  35414. "500":
  35415. description: Internal Server Error
  35416. schema:
  35417. $ref: '#/definitions/app.Response'
  35418. security:
  35419. - ApiKeyAuth: []
  35420. summary: 查询关联资金账户信息
  35421. tags:
  35422. - 资金账户
  35423. /Tjmd/QueryQuoteGoodsList:
  35424. get:
  35425. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  35426. parameters:
  35427. - description: 用户类型
  35428. in: query
  35429. name: usertype
  35430. required: true
  35431. type: integer
  35432. - description: 市场id, 格式 1,2,3
  35433. in: query
  35434. name: marketids
  35435. type: string
  35436. - description: 商品组id
  35437. in: query
  35438. name: goodsgroupid
  35439. type: integer
  35440. - description: 商品id
  35441. in: query
  35442. name: goodsid
  35443. type: integer
  35444. produces:
  35445. - application/json
  35446. responses:
  35447. "200":
  35448. description: OK
  35449. schema:
  35450. items:
  35451. $ref: '#/definitions/models.TjmdQuoteGoods'
  35452. type: array
  35453. "500":
  35454. description: Internal Server Error
  35455. schema:
  35456. $ref: '#/definitions/app.Response'
  35457. security:
  35458. - ApiKeyAuth: []
  35459. summary: 查询掉期报价列表
  35460. tags:
  35461. - 天津麦顿
  35462. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  35463. get:
  35464. parameters:
  35465. - description: 成交单号
  35466. in: query
  35467. name: tradeid
  35468. required: true
  35469. type: string
  35470. produces:
  35471. - application/json
  35472. responses:
  35473. "200":
  35474. description: OK
  35475. schema:
  35476. items:
  35477. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  35478. type: array
  35479. "500":
  35480. description: Internal Server Error
  35481. schema:
  35482. $ref: '#/definitions/app.Response'
  35483. security:
  35484. - ApiKeyAuth: []
  35485. summary: 掉期商品订单详情(交易确认书)
  35486. tags:
  35487. - 天津麦顿
  35488. /Tjmd/QueryTjmdMarketSection:
  35489. get:
  35490. produces:
  35491. - application/json
  35492. responses:
  35493. "200":
  35494. description: OK
  35495. schema:
  35496. items:
  35497. $ref: '#/definitions/models.TjmdMarketSection'
  35498. type: array
  35499. "500":
  35500. description: Internal Server Error
  35501. schema:
  35502. $ref: '#/definitions/app.Response'
  35503. security:
  35504. - ApiKeyAuth: []
  35505. summary: 查询市场板块
  35506. tags:
  35507. - 天津麦顿
  35508. /Tjmd/QueryTjmdTodayAccountMargin:
  35509. get:
  35510. parameters:
  35511. - description: 市场id
  35512. in: query
  35513. name: marketid
  35514. type: string
  35515. - description: 商品id
  35516. in: query
  35517. name: goodsid
  35518. type: string
  35519. - description: 资金账号
  35520. in: query
  35521. name: accountid
  35522. type: string
  35523. produces:
  35524. - application/json
  35525. responses:
  35526. "200":
  35527. description: OK
  35528. schema:
  35529. items:
  35530. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  35531. type: array
  35532. "500":
  35533. description: Internal Server Error
  35534. schema:
  35535. $ref: '#/definitions/app.Response'
  35536. security:
  35537. - ApiKeyAuth: []
  35538. summary: 查询今日账户保证金配置
  35539. tags:
  35540. - 天津麦顿
  35541. /Tjmd/QueryTjmdTradeOrderDetail:
  35542. get:
  35543. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  35544. parameters:
  35545. - description: 页码
  35546. in: query
  35547. name: page
  35548. type: integer
  35549. - description: 每页条数
  35550. in: query
  35551. name: pagesize
  35552. type: integer
  35553. - description: 用户id
  35554. in: query
  35555. name: userid
  35556. required: true
  35557. type: integer
  35558. - description: 用户类型
  35559. in: query
  35560. name: usertype
  35561. required: true
  35562. type: integer
  35563. - description: 市场id, 格式 1,2,3
  35564. in: query
  35565. name: marketids
  35566. type: string
  35567. - description: 商品id
  35568. in: query
  35569. name: goodsid
  35570. required: true
  35571. type: integer
  35572. - description: 买卖方向 0-买 1-卖
  35573. in: query
  35574. name: buyorsell
  35575. required: true
  35576. type: integer
  35577. produces:
  35578. - application/json
  35579. responses:
  35580. "200":
  35581. description: OK
  35582. schema:
  35583. items:
  35584. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  35585. type: array
  35586. "500":
  35587. description: Internal Server Error
  35588. schema:
  35589. $ref: '#/definitions/app.Response'
  35590. security:
  35591. - ApiKeyAuth: []
  35592. summary: 查询掉期买卖大厅
  35593. tags:
  35594. - 天津麦顿
  35595. /Tjmd/QueryTjmdTransferApply:
  35596. get:
  35597. parameters:
  35598. - description: 类型 1-我的申请 2-对方申请
  35599. in: query
  35600. name: applytype
  35601. required: true
  35602. type: integer
  35603. - description: 市场id, 格式 1,2,3
  35604. in: query
  35605. name: marketids
  35606. type: string
  35607. - description: 资金账号, 格式 25000000001,25000000003
  35608. in: query
  35609. name: accountids
  35610. type: string
  35611. - description: 开始交易日(yyyymmdd)
  35612. in: query
  35613. name: begindate
  35614. type: string
  35615. - description: 结束交易日(yyyymmdd)
  35616. in: query
  35617. name: enddate
  35618. type: string
  35619. produces:
  35620. - application/json
  35621. responses:
  35622. "200":
  35623. description: OK
  35624. schema:
  35625. items:
  35626. $ref: '#/definitions/models.TjmdTransferApply'
  35627. type: array
  35628. "500":
  35629. description: Internal Server Error
  35630. schema:
  35631. $ref: '#/definitions/app.Response'
  35632. security:
  35633. - ApiKeyAuth: []
  35634. summary: 查询掉期协议单
  35635. tags:
  35636. - 天津麦顿
  35637. /Trade/QueryRecieptOrder:
  35638. get:
  35639. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35640. parameters:
  35641. - description: 页码
  35642. in: query
  35643. name: page
  35644. type: integer
  35645. - description: 每页条数
  35646. in: query
  35647. name: pagesize
  35648. type: integer
  35649. - description: 商品ID
  35650. in: query
  35651. name: goodsID
  35652. required: true
  35653. type: integer
  35654. - description: 所属账户名称
  35655. in: query
  35656. name: accountName
  35657. type: string
  35658. - description: 市场ID
  35659. in: query
  35660. name: marketID
  35661. type: integer
  35662. - description: 方向 - 0:买 1:卖
  35663. in: query
  35664. name: buyorsell
  35665. required: true
  35666. type: integer
  35667. produces:
  35668. - application/json
  35669. responses:
  35670. "200":
  35671. description: OK
  35672. schema:
  35673. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  35674. "500":
  35675. description: Internal Server Error
  35676. schema:
  35677. $ref: '#/definitions/app.Response'
  35678. security:
  35679. - ApiKeyAuth: []
  35680. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  35681. tags:
  35682. - 通用交易
  35683. /User/AddMessageBoard:
  35684. post:
  35685. parameters:
  35686. - description: 用户ID
  35687. in: query
  35688. name: userID
  35689. required: true
  35690. type: integer
  35691. - description: 留言信息
  35692. in: query
  35693. name: message
  35694. required: true
  35695. type: string
  35696. - description: 联系电话
  35697. in: query
  35698. name: contactNum
  35699. required: true
  35700. type: string
  35701. produces:
  35702. - application/json
  35703. responses:
  35704. "200":
  35705. description: OK
  35706. schema:
  35707. $ref: '#/definitions/app.Response'
  35708. "500":
  35709. description: Internal Server Error
  35710. schema:
  35711. $ref: '#/definitions/app.Response'
  35712. security:
  35713. - ApiKeyAuth: []
  35714. summary: 添加用户留言板信息
  35715. tags:
  35716. - 用户信息
  35717. /User/AddUserFavoriteGoods:
  35718. post:
  35719. parameters:
  35720. - description: 用户ID
  35721. in: query
  35722. name: userID
  35723. required: true
  35724. type: integer
  35725. - description: 商品ID
  35726. in: query
  35727. name: goodsID
  35728. required: true
  35729. type: integer
  35730. produces:
  35731. - application/json
  35732. responses:
  35733. "200":
  35734. description: OK
  35735. schema:
  35736. $ref: '#/definitions/app.Response'
  35737. "500":
  35738. description: Internal Server Error
  35739. schema:
  35740. $ref: '#/definitions/app.Response'
  35741. security:
  35742. - ApiKeyAuth: []
  35743. summary: 添加用户商品收藏信息
  35744. tags:
  35745. - 用户信息
  35746. /User/GetLoginID:
  35747. get:
  35748. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  35749. parameters:
  35750. - description: 登录代码
  35751. in: query
  35752. name: username
  35753. required: true
  35754. type: string
  35755. produces:
  35756. - application/json
  35757. responses:
  35758. "200":
  35759. description: OK
  35760. schema:
  35761. $ref: '#/definitions/app.Response'
  35762. "500":
  35763. description: Internal Server Error
  35764. schema:
  35765. $ref: '#/definitions/app.Response'
  35766. summary: 获取登录ID
  35767. tags:
  35768. - 用户信息
  35769. /User/GetUserAccount:
  35770. get:
  35771. parameters:
  35772. - description: 用户ID
  35773. in: query
  35774. name: userID
  35775. required: true
  35776. type: integer
  35777. produces:
  35778. - application/json
  35779. responses:
  35780. "200":
  35781. description: OK
  35782. schema:
  35783. $ref: '#/definitions/models.Useraccount'
  35784. "500":
  35785. description: Internal Server Error
  35786. schema:
  35787. $ref: '#/definitions/app.Response'
  35788. security:
  35789. - ApiKeyAuth: []
  35790. summary: 获取用户账号信息
  35791. tags:
  35792. - 用户信息
  35793. /User/GetUserAuthStatus:
  35794. get:
  35795. parameters:
  35796. - description: 用户ID
  35797. in: query
  35798. name: userID
  35799. required: true
  35800. type: integer
  35801. produces:
  35802. - application/json
  35803. responses:
  35804. "200":
  35805. description: OK
  35806. schema:
  35807. $ref: '#/definitions/app.Response'
  35808. "500":
  35809. description: Internal Server Error
  35810. schema:
  35811. $ref: '#/definitions/app.Response'
  35812. security:
  35813. - ApiKeyAuth: []
  35814. summary: 获取用户实名认证状态
  35815. tags:
  35816. - 用户信息
  35817. /User/LoginQuery:
  35818. get:
  35819. parameters:
  35820. - description: 登录账号
  35821. in: query
  35822. name: loginID
  35823. required: true
  35824. type: integer
  35825. produces:
  35826. - application/json
  35827. responses:
  35828. "200":
  35829. description: OK
  35830. schema:
  35831. $ref: '#/definitions/user.LoginQueryRsp'
  35832. "500":
  35833. description: Internal Server Error
  35834. schema:
  35835. $ref: '#/definitions/app.Response'
  35836. security:
  35837. - ApiKeyAuth: []
  35838. summary: 账户登录后信息查询
  35839. tags:
  35840. - 用户信息
  35841. /User/QueryMessageBoard:
  35842. get:
  35843. parameters:
  35844. - description: 用户ID
  35845. in: query
  35846. name: userID
  35847. required: true
  35848. type: integer
  35849. produces:
  35850. - application/json
  35851. responses:
  35852. "200":
  35853. description: OK
  35854. schema:
  35855. $ref: '#/definitions/models.Messageboard'
  35856. "500":
  35857. description: Internal Server Error
  35858. schema:
  35859. $ref: '#/definitions/app.Response'
  35860. security:
  35861. - ApiKeyAuth: []
  35862. summary: 获取用户留言板信息
  35863. tags:
  35864. - 用户信息
  35865. /User/QueryUserFavoriteGoodses:
  35866. get:
  35867. parameters:
  35868. - description: 用户ID
  35869. in: query
  35870. name: userID
  35871. required: true
  35872. type: integer
  35873. produces:
  35874. - application/json
  35875. responses:
  35876. "200":
  35877. description: OK
  35878. schema:
  35879. $ref: '#/definitions/models.Userfavoritegoods'
  35880. "500":
  35881. description: Internal Server Error
  35882. schema:
  35883. $ref: '#/definitions/app.Response'
  35884. security:
  35885. - ApiKeyAuth: []
  35886. summary: 获取用户商品收藏信息
  35887. tags:
  35888. - 用户信息
  35889. /User/QueryUserInfo:
  35890. get:
  35891. parameters:
  35892. - description: 用户ID
  35893. in: query
  35894. name: userID
  35895. required: true
  35896. type: integer
  35897. - description: 是否解密
  35898. in: query
  35899. name: isDecrypt
  35900. type: boolean
  35901. produces:
  35902. - application/json
  35903. responses:
  35904. "200":
  35905. description: OK
  35906. schema:
  35907. $ref: '#/definitions/models.Userinfo'
  35908. "500":
  35909. description: Internal Server Error
  35910. schema:
  35911. $ref: '#/definitions/app.Response'
  35912. security:
  35913. - ApiKeyAuth: []
  35914. summary: 获取用户信息
  35915. tags:
  35916. - 用户信息
  35917. /User/QueryUserReferNum:
  35918. get:
  35919. parameters:
  35920. - description: 用户ID
  35921. in: query
  35922. name: userID
  35923. required: true
  35924. type: integer
  35925. produces:
  35926. - application/json
  35927. responses:
  35928. "200":
  35929. description: OK
  35930. schema:
  35931. $ref: '#/definitions/app.Response'
  35932. "500":
  35933. description: Internal Server Error
  35934. schema:
  35935. $ref: '#/definitions/app.Response'
  35936. summary: 获取用户邀请码
  35937. tags:
  35938. - 用户信息
  35939. /User/RemoveUserFavoriteGoods:
  35940. post:
  35941. parameters:
  35942. - description: 用户ID
  35943. in: query
  35944. name: userID
  35945. required: true
  35946. type: integer
  35947. - description: 商品ID
  35948. in: query
  35949. name: goodsID
  35950. required: true
  35951. type: integer
  35952. produces:
  35953. - application/json
  35954. responses:
  35955. "200":
  35956. description: OK
  35957. schema:
  35958. $ref: '#/definitions/app.Response'
  35959. "500":
  35960. description: Internal Server Error
  35961. schema:
  35962. $ref: '#/definitions/app.Response'
  35963. security:
  35964. - ApiKeyAuth: []
  35965. summary: 移除用户商品收藏信息
  35966. tags:
  35967. - 用户信息
  35968. /User/UpdateUserAccountStatus:
  35969. post:
  35970. parameters:
  35971. - description: 用户ID
  35972. in: query
  35973. name: userID
  35974. required: true
  35975. type: integer
  35976. - description: 账户状态 - 4:正常 6:注销(停用)
  35977. in: query
  35978. name: accountStatus
  35979. required: true
  35980. type: integer
  35981. produces:
  35982. - application/json
  35983. responses:
  35984. "200":
  35985. description: OK
  35986. schema:
  35987. $ref: '#/definitions/app.Response'
  35988. "500":
  35989. description: Internal Server Error
  35990. schema:
  35991. $ref: '#/definitions/app.Response'
  35992. security:
  35993. - ApiKeyAuth: []
  35994. summary: 更新用户状态
  35995. tags:
  35996. - 用户信息
  35997. /WRTrade/GetAllDeliveryGoods:
  35998. get:
  35999. produces:
  36000. - application/json
  36001. responses:
  36002. "200":
  36003. description: OK
  36004. schema:
  36005. $ref: '#/definitions/app.Response'
  36006. "500":
  36007. description: Internal Server Error
  36008. schema:
  36009. $ref: '#/definitions/app.Response'
  36010. security:
  36011. - ApiKeyAuth: []
  36012. summary: 获取带仓单分类的种类信息
  36013. tags:
  36014. - 仓单贸易
  36015. - 仓单贸易
  36016. /WrTrade2/InsertXhcpSellBackApply:
  36017. post:
  36018. parameters:
  36019. - description: 回收申请
  36020. in: body
  36021. name: jsonBody
  36022. required: true
  36023. schema:
  36024. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  36025. produces:
  36026. - application/json
  36027. responses:
  36028. "200":
  36029. description: OK
  36030. schema:
  36031. $ref: '#/definitions/app.Response'
  36032. "500":
  36033. description: Internal Server Error
  36034. schema:
  36035. $ref: '#/definitions/app.Response'
  36036. security:
  36037. - ApiKeyAuth: []
  36038. summary: 新增回收申请(新会陈皮)
  36039. tags:
  36040. - 仓单贸易v2
  36041. /WrTrade2/QueryDeliveryGoodsSection:
  36042. get:
  36043. produces:
  36044. - application/json
  36045. responses:
  36046. "200":
  36047. description: OK
  36048. schema:
  36049. items:
  36050. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  36051. type: array
  36052. "500":
  36053. description: Internal Server Error
  36054. schema:
  36055. $ref: '#/definitions/app.Response'
  36056. security:
  36057. - ApiKeyAuth: []
  36058. summary: 查询板块(分类)
  36059. tags:
  36060. - 仓单贸易v2
  36061. /WrTrade2/QueryFaProductDetail:
  36062. get:
  36063. description: 页面 买卖大厅 -> 选择融资方案
  36064. parameters:
  36065. - description: 仓单要素id
  36066. in: query
  36067. name: wrfactortypeid
  36068. required: true
  36069. type: integer
  36070. produces:
  36071. - application/json
  36072. responses:
  36073. "200":
  36074. description: OK
  36075. schema:
  36076. items:
  36077. $ref: '#/definitions/models.WrFAProductDetail'
  36078. type: array
  36079. "500":
  36080. description: Internal Server Error
  36081. schema:
  36082. $ref: '#/definitions/app.Response'
  36083. security:
  36084. - ApiKeyAuth: []
  36085. summary: 查询融资产品列表
  36086. tags:
  36087. - 仓单贸易v2
  36088. /WrTrade2/QueryFilterItem:
  36089. get:
  36090. parameters:
  36091. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  36092. in: query
  36093. name: itype
  36094. required: true
  36095. type: string
  36096. produces:
  36097. - application/json
  36098. responses:
  36099. "200":
  36100. description: OK
  36101. schema:
  36102. items:
  36103. $ref: '#/definitions/models.WrFilterItem'
  36104. type: array
  36105. "500":
  36106. description: Internal Server Error
  36107. schema:
  36108. $ref: '#/definitions/app.Response'
  36109. security:
  36110. - ApiKeyAuth: []
  36111. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  36112. tags:
  36113. - 仓单贸易v2
  36114. /WrTrade2/QueryFtDeliveryGoods:
  36115. get:
  36116. produces:
  36117. - application/json
  36118. responses:
  36119. "200":
  36120. description: OK
  36121. schema:
  36122. items:
  36123. $ref: '#/definitions/models.WrFtDeliveryGoods'
  36124. type: array
  36125. "500":
  36126. description: Internal Server Error
  36127. schema:
  36128. $ref: '#/definitions/app.Response'
  36129. security:
  36130. - ApiKeyAuth: []
  36131. summary: 查询品种品类筛选框列表
  36132. tags:
  36133. - 仓单贸易v2
  36134. /WrTrade2/QueryHoldLB:
  36135. get:
  36136. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  36137. parameters:
  36138. - description: 资金账号
  36139. in: query
  36140. name: accountid
  36141. required: true
  36142. type: integer
  36143. - description: 仓库id
  36144. in: query
  36145. name: warehouseid
  36146. type: integer
  36147. - description: 品种id
  36148. in: query
  36149. name: deliverygoodsid
  36150. type: integer
  36151. - description: 品类id
  36152. in: query
  36153. name: wrstandardid
  36154. type: integer
  36155. - description: 仓单要素id
  36156. in: query
  36157. name: wrfactortypeid
  36158. type: integer
  36159. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36160. in: query
  36161. name: dgitemname
  36162. type: string
  36163. produces:
  36164. - application/json
  36165. responses:
  36166. "200":
  36167. description: OK
  36168. schema:
  36169. items:
  36170. $ref: '#/definitions/models.WrHoldLB'
  36171. type: array
  36172. "500":
  36173. description: Internal Server Error
  36174. schema:
  36175. $ref: '#/definitions/app.Response'
  36176. security:
  36177. - ApiKeyAuth: []
  36178. summary: 查询仓单持有记录
  36179. tags:
  36180. - 仓单贸易v2
  36181. /WrTrade2/QueryOrderQuote:
  36182. get:
  36183. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  36184. 唯一确定1条记录
  36185. parameters:
  36186. - description: 页码
  36187. in: query
  36188. name: page
  36189. type: integer
  36190. - description: 每页条数
  36191. in: query
  36192. name: pagesize
  36193. type: integer
  36194. - description: 仓单贸易市场id
  36195. in: query
  36196. name: marketid
  36197. type: integer
  36198. - description: 价格方式 - 1:固定价 2-浮动价
  36199. in: query
  36200. name: wrpricetype
  36201. required: true
  36202. type: integer
  36203. - description: 0:仓单预售 1:仓单贸易
  36204. in: query
  36205. name: haswr
  36206. type: integer
  36207. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36208. in: query
  36209. name: dgitemname
  36210. type: string
  36211. - description: 仓库id(筛选条件)
  36212. in: query
  36213. name: warehouseid
  36214. type: integer
  36215. - description: 品种id
  36216. in: query
  36217. name: deliverygoodsid
  36218. type: integer
  36219. - description: 品类id
  36220. in: query
  36221. name: wrstandardid
  36222. type: integer
  36223. - description: 品牌id(dgfactoryitemid)
  36224. in: query
  36225. name: brandid
  36226. type: integer
  36227. - description: 年份id(dgfactoryitemid)
  36228. in: query
  36229. name: yearsid
  36230. type: integer
  36231. - description: 仓单要素id
  36232. in: query
  36233. name: wrfactortypeid
  36234. type: integer
  36235. - description: 交收月(yyyy-mm) 仓单预售填写
  36236. in: query
  36237. name: deliverymonth
  36238. type: string
  36239. produces:
  36240. - application/json
  36241. responses:
  36242. "200":
  36243. description: OK
  36244. schema:
  36245. items:
  36246. $ref: '#/definitions/models.WrOrderQuote'
  36247. type: array
  36248. "500":
  36249. description: Internal Server Error
  36250. schema:
  36251. $ref: '#/definitions/app.Response'
  36252. security:
  36253. - ApiKeyAuth: []
  36254. summary: 查询大厅行情列表
  36255. tags:
  36256. - 仓单贸易v2
  36257. /WrTrade2/QueryOrderQuoteDetail:
  36258. get:
  36259. parameters:
  36260. - description: 页码
  36261. in: query
  36262. name: page
  36263. type: integer
  36264. - description: 每页条数
  36265. in: query
  36266. name: pagesize
  36267. type: integer
  36268. - description: 仓单贸易市场id
  36269. in: query
  36270. name: marketid
  36271. type: integer
  36272. - description: 价格方式 - 1:固定价 2-浮动价
  36273. in: query
  36274. name: wrpricetype
  36275. required: true
  36276. type: integer
  36277. - description: 0:仓单预售 1:仓单贸易
  36278. in: query
  36279. name: haswr
  36280. type: integer
  36281. - description: 仓单要素id
  36282. in: query
  36283. name: wrfactortypeid
  36284. required: true
  36285. type: integer
  36286. - description: 期货商品id(浮动价方式时填)
  36287. in: query
  36288. name: goodsid
  36289. type: integer
  36290. - description: 买卖方向 0-买 1-卖
  36291. in: query
  36292. name: buyorsell
  36293. required: true
  36294. type: integer
  36295. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  36296. in: query
  36297. name: deliverymonth
  36298. type: string
  36299. produces:
  36300. - application/json
  36301. responses:
  36302. "200":
  36303. description: OK
  36304. schema:
  36305. items:
  36306. $ref: '#/definitions/models.WrOrderQuoteDetail'
  36307. type: array
  36308. "500":
  36309. description: Internal Server Error
  36310. schema:
  36311. $ref: '#/definitions/app.Response'
  36312. security:
  36313. - ApiKeyAuth: []
  36314. summary: 查询买卖大厅
  36315. tags:
  36316. - 仓单贸易v2
  36317. /WrTrade2/QueryOrderQuoteMyq:
  36318. get:
  36319. parameters:
  36320. - description: 页码
  36321. in: query
  36322. name: page
  36323. type: integer
  36324. - description: 每页条数
  36325. in: query
  36326. name: pagesize
  36327. type: integer
  36328. - description: 用户id
  36329. in: query
  36330. name: userid
  36331. required: true
  36332. type: integer
  36333. - description: 仓单贸易市场id
  36334. in: query
  36335. name: marketid
  36336. type: integer
  36337. - description: 0:仓单预售 1:仓单贸易
  36338. in: query
  36339. name: haswr
  36340. type: integer
  36341. - description: 买卖方向 0-买 1-卖
  36342. in: query
  36343. name: buyorsell
  36344. required: true
  36345. type: integer
  36346. - description: 品种id
  36347. in: query
  36348. name: deliverygoodsid
  36349. type: integer
  36350. - description: 品类id
  36351. in: query
  36352. name: wrstandardid
  36353. type: integer
  36354. - description: 交收月(yyyy-mm) 仓单预售填写
  36355. in: query
  36356. name: deliverymonth
  36357. type: string
  36358. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36359. in: query
  36360. name: dgitemname
  36361. type: string
  36362. produces:
  36363. - application/json
  36364. responses:
  36365. "200":
  36366. description: OK
  36367. schema:
  36368. items:
  36369. $ref: '#/definitions/models.WrQuoteOrderMyq'
  36370. type: array
  36371. "500":
  36372. description: Internal Server Error
  36373. schema:
  36374. $ref: '#/definitions/app.Response'
  36375. security:
  36376. - ApiKeyAuth: []
  36377. summary: 查询贸易圈挂牌大厅
  36378. tags:
  36379. - 仓单贸易v2
  36380. /WrTrade2/QueryPerformancePlan:
  36381. get:
  36382. parameters:
  36383. - description: 用户id
  36384. in: query
  36385. name: userid
  36386. required: true
  36387. type: integer
  36388. - description: 买卖方向 0-买 1-卖
  36389. in: query
  36390. name: buyorsell
  36391. required: true
  36392. type: integer
  36393. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  36394. 8:释放冻结失败 9:超时待处理 10:超时关闭
  36395. in: query
  36396. name: status
  36397. type: string
  36398. - description: 开始交易日(yyyymmdd)
  36399. in: query
  36400. name: begindate
  36401. type: string
  36402. - description: 结束交易日(yyyymmdd)
  36403. in: query
  36404. name: enddate
  36405. type: string
  36406. produces:
  36407. - application/json
  36408. responses:
  36409. "200":
  36410. description: OK
  36411. schema:
  36412. items:
  36413. $ref: '#/definitions/models.WrPerformancePlan'
  36414. type: array
  36415. "500":
  36416. description: Internal Server Error
  36417. schema:
  36418. $ref: '#/definitions/app.Response'
  36419. security:
  36420. - ApiKeyAuth: []
  36421. summary: 查询履约信息
  36422. tags:
  36423. - 仓单贸易v2
  36424. /WrTrade2/QueryPermancePlanTmp:
  36425. get:
  36426. description: |-
  36427. 返回指定用户的模板和公共模板(用户id为空)
  36428. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  36429. parameters:
  36430. - description: 用户id
  36431. in: query
  36432. name: userid
  36433. type: integer
  36434. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  36435. (无仓单) 5:挂牌期权 6:竞拍-降价式
  36436. in: query
  36437. name: tmptype
  36438. type: string
  36439. - description: 是否包含公共模板(用户id为空的) 1-包含
  36440. in: query
  36441. name: includepub
  36442. type: integer
  36443. - description: 市场id(天津麦顿指定此参数,其它不用)
  36444. in: query
  36445. name: marketid
  36446. type: integer
  36447. produces:
  36448. - application/json
  36449. responses:
  36450. "200":
  36451. description: OK
  36452. schema:
  36453. items:
  36454. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  36455. type: array
  36456. "500":
  36457. description: Internal Server Error
  36458. schema:
  36459. $ref: '#/definitions/app.Response'
  36460. security:
  36461. - ApiKeyAuth: []
  36462. summary: 查询履约模板
  36463. tags:
  36464. - 仓单贸易v2
  36465. /WrTrade2/QuerySiteColumnConfig:
  36466. get:
  36467. parameters:
  36468. - description: 页码
  36469. in: query
  36470. name: page
  36471. type: integer
  36472. - description: 每页条数
  36473. in: query
  36474. name: pagesize
  36475. type: integer
  36476. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  36477. in: query
  36478. name: columntype
  36479. type: integer
  36480. produces:
  36481. - application/json
  36482. responses:
  36483. "200":
  36484. description: OK
  36485. schema:
  36486. items:
  36487. $ref: '#/definitions/models.Sitecolumnconfig'
  36488. type: array
  36489. "500":
  36490. description: Internal Server Error
  36491. schema:
  36492. $ref: '#/definitions/app.Response'
  36493. security:
  36494. - ApiKeyAuth: []
  36495. summary: 查询资讯栏目配置
  36496. tags:
  36497. - 仓单贸易v2
  36498. /WrTrade2/QuerySiteColumnDetail:
  36499. get:
  36500. parameters:
  36501. - description: 页码
  36502. in: query
  36503. name: page
  36504. type: integer
  36505. - description: 每页条数
  36506. in: query
  36507. name: pagesize
  36508. type: integer
  36509. - description: 所属栏目id
  36510. in: query
  36511. name: columnid
  36512. type: integer
  36513. produces:
  36514. - application/json
  36515. responses:
  36516. "200":
  36517. description: OK
  36518. schema:
  36519. items:
  36520. $ref: '#/definitions/models.WrSiteColumnDetail'
  36521. type: array
  36522. "500":
  36523. description: Internal Server Error
  36524. schema:
  36525. $ref: '#/definitions/app.Response'
  36526. security:
  36527. - ApiKeyAuth: []
  36528. summary: 查询资讯
  36529. tags:
  36530. - 仓单贸易v2
  36531. /WrTrade2/QuerySpotGroupTradeSum:
  36532. get:
  36533. produces:
  36534. - application/json
  36535. responses:
  36536. "200":
  36537. description: OK
  36538. schema:
  36539. items:
  36540. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  36541. type: array
  36542. "500":
  36543. description: Internal Server Error
  36544. schema:
  36545. $ref: '#/definitions/app.Response'
  36546. security:
  36547. - ApiKeyAuth: []
  36548. summary: 查询指数
  36549. tags:
  36550. - 仓单贸易v2
  36551. /WrTrade2/QuerySpotGroupTradeSumDetail:
  36552. get:
  36553. description: 查询的结果将会按日期 从小到大 排序
  36554. parameters:
  36555. - description: 现货商品id
  36556. in: query
  36557. name: deliverygoodsid
  36558. required: true
  36559. type: integer
  36560. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  36561. in: query
  36562. name: lastnum
  36563. type: integer
  36564. produces:
  36565. - application/json
  36566. responses:
  36567. "200":
  36568. description: OK
  36569. schema:
  36570. items:
  36571. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  36572. type: array
  36573. "500":
  36574. description: Internal Server Error
  36575. schema:
  36576. $ref: '#/definitions/app.Response'
  36577. security:
  36578. - ApiKeyAuth: []
  36579. summary: 查询指数详细(价格走势图)
  36580. tags:
  36581. - 仓单贸易v2
  36582. /WrTrade2/QueryWrAverageTradePrice:
  36583. get:
  36584. parameters:
  36585. - description: 页码
  36586. in: query
  36587. name: page
  36588. type: integer
  36589. - description: 每页条数
  36590. in: query
  36591. name: pagesize
  36592. type: integer
  36593. - description: 0:仓单预售 1:仓单贸易
  36594. in: query
  36595. name: haswr
  36596. required: true
  36597. type: integer
  36598. - description: 仓单要素id
  36599. in: query
  36600. name: wrfactortypeid
  36601. required: true
  36602. type: integer
  36603. produces:
  36604. - application/json
  36605. responses:
  36606. "200":
  36607. description: OK
  36608. schema:
  36609. items:
  36610. $ref: '#/definitions/models.WrAverageTradePrice'
  36611. type: array
  36612. "500":
  36613. description: Internal Server Error
  36614. schema:
  36615. $ref: '#/definitions/app.Response'
  36616. security:
  36617. - ApiKeyAuth: []
  36618. summary: 查询成交价(历史走势)
  36619. tags:
  36620. - 仓单贸易v2
  36621. /WrTrade2/QueryWrBrandAndYears:
  36622. get:
  36623. produces:
  36624. - application/json
  36625. responses:
  36626. "200":
  36627. description: OK
  36628. schema:
  36629. items:
  36630. $ref: '#/definitions/models.WrBrandAndYears'
  36631. type: array
  36632. "500":
  36633. description: Internal Server Error
  36634. schema:
  36635. $ref: '#/definitions/app.Response'
  36636. security:
  36637. - ApiKeyAuth: []
  36638. summary: 查询品牌和年份
  36639. tags:
  36640. - 仓单贸易v2
  36641. /WrTrade2/QueryWrBsGoodsInfo:
  36642. get:
  36643. description: 合约交易/买卖大厅/详情
  36644. parameters:
  36645. - description: 商品id
  36646. in: query
  36647. name: goodsid
  36648. required: true
  36649. type: integer
  36650. produces:
  36651. - application/json
  36652. responses:
  36653. "200":
  36654. description: OK
  36655. schema:
  36656. items:
  36657. $ref: '#/definitions/models.WrBsGoodsInfo'
  36658. type: array
  36659. "500":
  36660. description: Internal Server Error
  36661. schema:
  36662. $ref: '#/definitions/app.Response'
  36663. security:
  36664. - ApiKeyAuth: []
  36665. summary: 查询合约交易买卖大厅详情
  36666. tags:
  36667. - 仓单贸易v2
  36668. /WrTrade2/QueryWrBuybackDetail:
  36669. get:
  36670. parameters:
  36671. - description: 融资合同id
  36672. in: query
  36673. name: scfcontractid
  36674. type: integer
  36675. produces:
  36676. - application/json
  36677. responses:
  36678. "200":
  36679. description: OK
  36680. schema:
  36681. items:
  36682. $ref: '#/definitions/models.WrBuybackDetail'
  36683. type: array
  36684. "500":
  36685. description: Internal Server Error
  36686. schema:
  36687. $ref: '#/definitions/app.Response'
  36688. security:
  36689. - ApiKeyAuth: []
  36690. summary: 查询仓单回购明细
  36691. tags:
  36692. - 仓单贸易v2
  36693. /WrTrade2/QueryWrClientAdSpaceConfig:
  36694. get:
  36695. produces:
  36696. - application/json
  36697. responses:
  36698. "200":
  36699. description: OK
  36700. schema:
  36701. items:
  36702. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  36703. type: array
  36704. "500":
  36705. description: Internal Server Error
  36706. schema:
  36707. $ref: '#/definitions/app.Response'
  36708. security:
  36709. - ApiKeyAuth: []
  36710. summary: 查询固定广告配置
  36711. tags:
  36712. - 仓单贸易v2
  36713. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  36714. get:
  36715. parameters:
  36716. - description: 资金账号
  36717. in: query
  36718. name: accountid
  36719. required: true
  36720. type: integer
  36721. - description: 商品id
  36722. in: query
  36723. name: goodsid
  36724. required: true
  36725. type: integer
  36726. produces:
  36727. - application/json
  36728. responses:
  36729. "200":
  36730. description: OK
  36731. schema:
  36732. items:
  36733. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  36734. type: array
  36735. "500":
  36736. description: Internal Server Error
  36737. schema:
  36738. $ref: '#/definitions/app.Response'
  36739. security:
  36740. - ApiKeyAuth: []
  36741. summary: 查询合约交收可点选仓单
  36742. tags:
  36743. - 仓单贸易v2
  36744. /WrTrade2/QueryWrDeliveryDetail:
  36745. get:
  36746. parameters:
  36747. - description: 用户id
  36748. in: query
  36749. name: userid
  36750. required: true
  36751. type: integer
  36752. - description: 资金账号id
  36753. in: query
  36754. name: accountid
  36755. type: integer
  36756. - description: 开始交易日(yyyymmdd)
  36757. in: query
  36758. name: begindate
  36759. type: string
  36760. - description: 结束交易日(yyyymmdd)
  36761. in: query
  36762. name: enddate
  36763. type: string
  36764. produces:
  36765. - application/json
  36766. responses:
  36767. "200":
  36768. description: OK
  36769. schema:
  36770. items:
  36771. $ref: '#/definitions/models.WrDeliveryDetail'
  36772. type: array
  36773. "500":
  36774. description: Internal Server Error
  36775. schema:
  36776. $ref: '#/definitions/app.Response'
  36777. security:
  36778. - ApiKeyAuth: []
  36779. summary: 查询交收
  36780. tags:
  36781. - 仓单贸易v2
  36782. /WrTrade2/QueryWrDraftUserInfo:
  36783. get:
  36784. parameters:
  36785. - description: 用户ID
  36786. in: query
  36787. name: userid
  36788. required: true
  36789. type: integer
  36790. - description: 用户状态 1:正常 2:注销
  36791. in: query
  36792. name: userstatus
  36793. type: integer
  36794. produces:
  36795. - application/json
  36796. responses:
  36797. "200":
  36798. description: OK
  36799. schema:
  36800. items:
  36801. $ref: '#/definitions/models.WrDraftUserInfo'
  36802. type: array
  36803. "500":
  36804. description: Internal Server Error
  36805. schema:
  36806. $ref: '#/definitions/app.Response'
  36807. security:
  36808. - ApiKeyAuth: []
  36809. summary: 查询实名认证信息
  36810. tags:
  36811. - 仓单贸易v2
  36812. /WrTrade2/QueryWrFactorTypeInfo:
  36813. get:
  36814. parameters:
  36815. - description: 仓单要素id
  36816. in: query
  36817. name: wrfactortypeid
  36818. required: true
  36819. type: integer
  36820. produces:
  36821. - application/json
  36822. responses:
  36823. "200":
  36824. description: OK
  36825. schema:
  36826. items:
  36827. $ref: '#/definitions/models.WrFactorTypeInfo'
  36828. type: array
  36829. "500":
  36830. description: Internal Server Error
  36831. schema:
  36832. $ref: '#/definitions/app.Response'
  36833. security:
  36834. - ApiKeyAuth: []
  36835. summary: 查询仓单要素详细信息
  36836. tags:
  36837. - 仓单贸易v2
  36838. /WrTrade2/QueryWrFactorTypeInfoEx:
  36839. get:
  36840. parameters:
  36841. - description: 仓单要素id
  36842. in: query
  36843. name: wrfactortypeid
  36844. required: true
  36845. type: integer
  36846. produces:
  36847. - application/json
  36848. responses:
  36849. "200":
  36850. description: OK
  36851. schema:
  36852. items:
  36853. $ref: '#/definitions/models.WrTypeItem'
  36854. type: array
  36855. "500":
  36856. description: Internal Server Error
  36857. schema:
  36858. $ref: '#/definitions/app.Response'
  36859. security:
  36860. - ApiKeyAuth: []
  36861. summary: 查询仓单要素详细信息列表项
  36862. tags:
  36863. - 仓单贸易v2
  36864. /WrTrade2/QueryWrFinanceBuyApply:
  36865. get:
  36866. description: 页面 融资信息+ / 申请单
  36867. parameters:
  36868. - description: 用户id
  36869. in: query
  36870. name: userid
  36871. required: true
  36872. type: integer
  36873. produces:
  36874. - application/json
  36875. responses:
  36876. "200":
  36877. description: OK
  36878. schema:
  36879. items:
  36880. $ref: '#/definitions/models.WrFinanceBuyApply'
  36881. type: array
  36882. "500":
  36883. description: Internal Server Error
  36884. schema:
  36885. $ref: '#/definitions/app.Response'
  36886. security:
  36887. - ApiKeyAuth: []
  36888. summary: 查询融资购买申请
  36889. tags:
  36890. - 仓单贸易v2
  36891. /WrTrade2/QueryWrFriendApply:
  36892. get:
  36893. parameters:
  36894. - description: 用户id
  36895. in: query
  36896. name: userid
  36897. required: true
  36898. type: integer
  36899. produces:
  36900. - application/json
  36901. responses:
  36902. "200":
  36903. description: OK
  36904. schema:
  36905. items:
  36906. $ref: '#/definitions/models.WrFriendApply'
  36907. type: array
  36908. "500":
  36909. description: Internal Server Error
  36910. schema:
  36911. $ref: '#/definitions/app.Response'
  36912. security:
  36913. - ApiKeyAuth: []
  36914. summary: 查询好友申请记录
  36915. tags:
  36916. - 仓单贸易v2
  36917. /WrTrade2/QueryWrGoodsInfo:
  36918. get:
  36919. parameters:
  36920. - description: 仓单贸易市场id
  36921. in: query
  36922. name: marketid
  36923. type: integer
  36924. - description: 0:仓单预售 1:仓单贸易
  36925. in: query
  36926. name: haswr
  36927. required: true
  36928. type: integer
  36929. - description: 仓单要素id
  36930. in: query
  36931. name: wrfactortypeid
  36932. required: true
  36933. type: integer
  36934. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  36935. in: query
  36936. name: tmplateid
  36937. type: integer
  36938. produces:
  36939. - application/json
  36940. responses:
  36941. "200":
  36942. description: OK
  36943. schema:
  36944. items:
  36945. $ref: '#/definitions/models.WrGoodsInfo'
  36946. type: array
  36947. "500":
  36948. description: Internal Server Error
  36949. schema:
  36950. $ref: '#/definitions/app.Response'
  36951. security:
  36952. - ApiKeyAuth: []
  36953. summary: 查询仓单商品信息
  36954. tags:
  36955. - 仓单贸易v2
  36956. /WrTrade2/QueryWrMarketTradeConfig:
  36957. get:
  36958. parameters:
  36959. - description: 市场id
  36960. in: query
  36961. name: marketid
  36962. type: integer
  36963. produces:
  36964. - application/json
  36965. responses:
  36966. "200":
  36967. description: OK
  36968. schema:
  36969. items:
  36970. $ref: '#/definitions/models.WrMarketTradeConfig'
  36971. type: array
  36972. "500":
  36973. description: Internal Server Error
  36974. schema:
  36975. $ref: '#/definitions/app.Response'
  36976. security:
  36977. - ApiKeyAuth: []
  36978. summary: 查询市场交易参数配置
  36979. tags:
  36980. - 仓单贸易v2
  36981. /WrTrade2/QueryWrOrderDetail:
  36982. get:
  36983. description: 页面 现货仓单 | 预售仓单 -> 委托单
  36984. parameters:
  36985. - description: 页码
  36986. in: query
  36987. name: page
  36988. type: integer
  36989. - description: 每页条数
  36990. in: query
  36991. name: pagesize
  36992. type: integer
  36993. - description: 用户id
  36994. in: query
  36995. name: userid
  36996. required: true
  36997. type: integer
  36998. - description: 仓单贸易市场id
  36999. in: query
  37000. name: marketid
  37001. type: integer
  37002. - description: 0:仓单预售 1:仓单贸易
  37003. in: query
  37004. name: haswr
  37005. required: true
  37006. type: integer
  37007. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  37008. in: query
  37009. name: bcancel
  37010. type: integer
  37011. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  37012. in: query
  37013. name: wrtradetype
  37014. type: integer
  37015. - description: 开始交易日(yyyymmdd)
  37016. in: query
  37017. name: begindate
  37018. type: string
  37019. - description: 结束交易日(yyyymmdd)
  37020. in: query
  37021. name: enddate
  37022. type: string
  37023. produces:
  37024. - application/json
  37025. responses:
  37026. "200":
  37027. description: OK
  37028. schema:
  37029. items:
  37030. $ref: '#/definitions/models.WrOrderDetail'
  37031. type: array
  37032. "500":
  37033. description: Internal Server Error
  37034. schema:
  37035. $ref: '#/definitions/app.Response'
  37036. security:
  37037. - ApiKeyAuth: []
  37038. summary: 查询仓单委托单
  37039. tags:
  37040. - 仓单贸易v2
  37041. /WrTrade2/QueryWrOutInApply:
  37042. get:
  37043. parameters:
  37044. - description: 页码
  37045. in: query
  37046. name: page
  37047. type: integer
  37048. - description: 每页条数
  37049. in: query
  37050. name: pagesize
  37051. type: integer
  37052. - description: 用户id
  37053. in: query
  37054. name: userid
  37055. required: true
  37056. type: integer
  37057. - description: 开始交易日(yyyymmdd)
  37058. in: query
  37059. name: begindate
  37060. type: string
  37061. - description: 结束交易日(yyyymmdd)
  37062. in: query
  37063. name: enddate
  37064. type: string
  37065. produces:
  37066. - application/json
  37067. responses:
  37068. "200":
  37069. description: OK
  37070. schema:
  37071. items:
  37072. $ref: '#/definitions/models.WrOutInApply'
  37073. type: array
  37074. "500":
  37075. description: Internal Server Error
  37076. schema:
  37077. $ref: '#/definitions/app.Response'
  37078. security:
  37079. - ApiKeyAuth: []
  37080. summary: 查询提货申请
  37081. tags:
  37082. - 仓单贸易v2
  37083. /WrTrade2/QueryWrPerformancePlanStep:
  37084. get:
  37085. parameters:
  37086. - description: 履约计划id(performanceplanid)
  37087. in: query
  37088. name: planid
  37089. required: true
  37090. type: integer
  37091. - description: 当前步骤id
  37092. in: query
  37093. name: curstepid
  37094. type: integer
  37095. produces:
  37096. - application/json
  37097. responses:
  37098. "200":
  37099. description: OK
  37100. schema:
  37101. items:
  37102. $ref: '#/definitions/models.WrPerformancePlanStep'
  37103. type: array
  37104. "500":
  37105. description: Internal Server Error
  37106. schema:
  37107. $ref: '#/definitions/app.Response'
  37108. security:
  37109. - ApiKeyAuth: []
  37110. summary: 查询履约信息详情
  37111. tags:
  37112. - 仓单贸易v2
  37113. /WrTrade2/QueryWrPerformanceStepType:
  37114. get:
  37115. produces:
  37116. - application/json
  37117. responses:
  37118. "200":
  37119. description: OK
  37120. schema:
  37121. items:
  37122. $ref: '#/definitions/models.WrPerformanceStepType'
  37123. type: array
  37124. "500":
  37125. description: Internal Server Error
  37126. schema:
  37127. $ref: '#/definitions/app.Response'
  37128. security:
  37129. - ApiKeyAuth: []
  37130. summary: 查询履约步骤枚举
  37131. tags:
  37132. - 仓单贸易v2
  37133. /WrTrade2/QueryWrPosition:
  37134. get:
  37135. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  37136. parameters:
  37137. - description: 用户id
  37138. in: query
  37139. name: userid
  37140. required: true
  37141. type: integer
  37142. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  37143. in: query
  37144. name: querytype
  37145. required: true
  37146. type: integer
  37147. - description: 0:仓单预售 1:仓单贸易
  37148. in: query
  37149. name: haswr
  37150. required: true
  37151. type: integer
  37152. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  37153. in: query
  37154. name: dgitemname
  37155. type: string
  37156. - description: 仓库id(筛选条件)
  37157. in: query
  37158. name: warehouseid
  37159. type: integer
  37160. - description: 品种id
  37161. in: query
  37162. name: deliverygoodsid
  37163. type: integer
  37164. - description: 品类id
  37165. in: query
  37166. name: wrstandardid
  37167. type: integer
  37168. produces:
  37169. - application/json
  37170. responses:
  37171. "200":
  37172. description: OK
  37173. schema:
  37174. items:
  37175. $ref: '#/definitions/models.WrPosition'
  37176. type: array
  37177. "500":
  37178. description: Internal Server Error
  37179. schema:
  37180. $ref: '#/definitions/app.Response'
  37181. security:
  37182. - ApiKeyAuth: []
  37183. summary: 查询现货(预售)仓单持仓
  37184. tags:
  37185. - 仓单贸易v2
  37186. /WrTrade2/QueryWrPreSaleInfo:
  37187. get:
  37188. parameters:
  37189. - description: 市场id
  37190. in: query
  37191. name: marketid
  37192. type: integer
  37193. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  37194. in: query
  37195. name: presalestatus
  37196. type: string
  37197. - description: 摇号标识 - 0:未摇号 1:已摇号
  37198. in: query
  37199. name: lotteryflag
  37200. type: integer
  37201. - description: 最近多少条记录(按创建时间倒序)
  37202. in: query
  37203. name: lastnum
  37204. type: integer
  37205. produces:
  37206. - application/json
  37207. responses:
  37208. "200":
  37209. description: OK
  37210. schema:
  37211. items:
  37212. $ref: '#/definitions/models.WrPreSaleInfo'
  37213. type: array
  37214. "500":
  37215. description: Internal Server Error
  37216. schema:
  37217. $ref: '#/definitions/app.Response'
  37218. security:
  37219. - ApiKeyAuth: []
  37220. summary: 查询新品发布
  37221. tags:
  37222. - 仓单贸易v2
  37223. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  37224. get:
  37225. parameters:
  37226. - description: 市场id
  37227. in: query
  37228. name: marketid
  37229. required: true
  37230. type: integer
  37231. - description: 现货商品id
  37232. in: query
  37233. name: wrstandardid
  37234. required: true
  37235. type: integer
  37236. - description: 开始交易日(yyyymmdd)
  37237. in: query
  37238. name: begindate
  37239. type: string
  37240. - description: 结束交易日(yyyymmdd)
  37241. in: query
  37242. name: enddate
  37243. type: string
  37244. - description: 最近多少条记录(按交易日倒序)
  37245. in: query
  37246. name: lastnum
  37247. type: integer
  37248. - description: 是否今日
  37249. in: query
  37250. name: istoday
  37251. type: boolean
  37252. produces:
  37253. - application/json
  37254. responses:
  37255. "200":
  37256. description: OK
  37257. schema:
  37258. items:
  37259. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  37260. type: array
  37261. "500":
  37262. description: Internal Server Error
  37263. schema:
  37264. $ref: '#/definitions/app.Response'
  37265. security:
  37266. - ApiKeyAuth: []
  37267. summary: 查询价格走势
  37268. tags:
  37269. - 仓单贸易v2
  37270. /WrTrade2/QueryWrScfContract:
  37271. get:
  37272. parameters:
  37273. - description: 用户id
  37274. in: query
  37275. name: userid
  37276. required: true
  37277. type: integer
  37278. - description: 融资合同id
  37279. in: query
  37280. name: scfcontractid
  37281. type: integer
  37282. produces:
  37283. - application/json
  37284. responses:
  37285. "200":
  37286. description: OK
  37287. schema:
  37288. items:
  37289. $ref: '#/definitions/models.WrScfContract'
  37290. type: array
  37291. "500":
  37292. description: Internal Server Error
  37293. schema:
  37294. $ref: '#/definitions/app.Response'
  37295. security:
  37296. - ApiKeyAuth: []
  37297. summary: 查询仓单贸易融资合同
  37298. tags:
  37299. - 仓单贸易v2
  37300. /WrTrade2/QueryWrScfContractInterest:
  37301. get:
  37302. parameters:
  37303. - description: 融资合同id
  37304. in: query
  37305. name: scfcontractid
  37306. type: integer
  37307. produces:
  37308. - application/json
  37309. responses:
  37310. "200":
  37311. description: OK
  37312. schema:
  37313. items:
  37314. $ref: '#/definitions/models.WrScfContractInterest'
  37315. type: array
  37316. "500":
  37317. description: Internal Server Error
  37318. schema:
  37319. $ref: '#/definitions/app.Response'
  37320. security:
  37321. - ApiKeyAuth: []
  37322. summary: 查询融资合同费用明细
  37323. tags:
  37324. - 仓单贸易v2
  37325. /WrTrade2/QueryWrSearchUser:
  37326. get:
  37327. parameters:
  37328. - description: 用户名称(模糊匹配)
  37329. in: query
  37330. name: username
  37331. required: true
  37332. type: string
  37333. produces:
  37334. - application/json
  37335. responses:
  37336. "200":
  37337. description: OK
  37338. schema:
  37339. items:
  37340. $ref: '#/definitions/models.WrSearchUser'
  37341. type: array
  37342. "500":
  37343. description: Internal Server Error
  37344. schema:
  37345. $ref: '#/definitions/app.Response'
  37346. security:
  37347. - ApiKeyAuth: []
  37348. summary: 查询用户
  37349. tags:
  37350. - 仓单贸易v2
  37351. /WrTrade2/QueryWrSpecialMatchOrder:
  37352. get:
  37353. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  37354. parameters:
  37355. - description: 页码
  37356. in: query
  37357. name: page
  37358. type: integer
  37359. - description: 每页条数
  37360. in: query
  37361. name: pagesize
  37362. type: integer
  37363. - description: 用户id
  37364. in: query
  37365. name: userid
  37366. required: true
  37367. type: integer
  37368. - description: 仓单贸易市场id
  37369. in: query
  37370. name: marketid
  37371. type: integer
  37372. - description: 0:仓单预售 1:仓单贸易
  37373. in: query
  37374. name: haswr
  37375. required: true
  37376. type: integer
  37377. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  37378. in: query
  37379. name: isspecified
  37380. type: integer
  37381. produces:
  37382. - application/json
  37383. responses:
  37384. "200":
  37385. description: OK
  37386. schema:
  37387. items:
  37388. $ref: '#/definitions/models.WrSpecialMatchOrder'
  37389. type: array
  37390. "500":
  37391. description: Internal Server Error
  37392. schema:
  37393. $ref: '#/definitions/app.Response'
  37394. security:
  37395. - ApiKeyAuth: []
  37396. summary: 查询指定成交
  37397. tags:
  37398. - 仓单贸易v2
  37399. /WrTrade2/QueryWrStandardFactoryItem:
  37400. get:
  37401. parameters:
  37402. - description: 品类id
  37403. in: query
  37404. name: wrstandardid
  37405. required: true
  37406. type: integer
  37407. produces:
  37408. - application/json
  37409. responses:
  37410. "200":
  37411. description: OK
  37412. schema:
  37413. items:
  37414. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  37415. type: array
  37416. "500":
  37417. description: Internal Server Error
  37418. schema:
  37419. $ref: '#/definitions/app.Response'
  37420. security:
  37421. - ApiKeyAuth: []
  37422. summary: 查询品类要素定义项
  37423. tags:
  37424. - 仓单贸易v2
  37425. /WrTrade2/QueryWrTradeBargainApply:
  37426. get:
  37427. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  37428. 议价->对方议价 填写matchuserid=登录用户id
  37429. parameters:
  37430. - description: 议价人id(摘牌方)
  37431. in: query
  37432. name: userid
  37433. type: integer
  37434. - description: 挂牌方id(查对方议价时,填写此项)
  37435. in: query
  37436. name: matchuserid
  37437. type: integer
  37438. - description: 关联委托单id
  37439. in: query
  37440. name: wrtradeorderid
  37441. type: integer
  37442. - description: 0:仓单预售 1:仓单贸易
  37443. in: query
  37444. name: haswr
  37445. required: true
  37446. type: integer
  37447. - description: 开始交易日(yyyymmdd)
  37448. in: query
  37449. name: begindate
  37450. type: string
  37451. - description: 结束交易日(yyyymmdd)
  37452. in: query
  37453. name: enddate
  37454. type: string
  37455. produces:
  37456. - application/json
  37457. responses:
  37458. "200":
  37459. description: OK
  37460. schema:
  37461. items:
  37462. $ref: '#/definitions/models.WRTradeBargainApply'
  37463. type: array
  37464. "500":
  37465. description: Internal Server Error
  37466. schema:
  37467. $ref: '#/definitions/app.Response'
  37468. security:
  37469. - ApiKeyAuth: []
  37470. summary: 查询议价单
  37471. tags:
  37472. - 仓单贸易v2
  37473. /WrTrade2/QueryWrTradeDetail:
  37474. get:
  37475. parameters:
  37476. - description: 页码
  37477. in: query
  37478. name: page
  37479. type: integer
  37480. - description: 每页条数
  37481. in: query
  37482. name: pagesize
  37483. type: integer
  37484. - description: 用户id
  37485. in: query
  37486. name: userid
  37487. required: true
  37488. type: integer
  37489. - description: 仓单贸易市场id
  37490. in: query
  37491. name: marketid
  37492. type: integer
  37493. - description: 0:仓单预售 1:仓单贸易
  37494. in: query
  37495. name: haswr
  37496. required: true
  37497. type: integer
  37498. - description: 开始交易日(yyyymmdd)
  37499. in: query
  37500. name: begindate
  37501. type: string
  37502. - description: 结束交易日(yyyymmdd)
  37503. in: query
  37504. name: enddate
  37505. type: string
  37506. produces:
  37507. - application/json
  37508. responses:
  37509. "200":
  37510. description: OK
  37511. schema:
  37512. items:
  37513. $ref: '#/definitions/models.WrTradeDetail'
  37514. type: array
  37515. "500":
  37516. description: Internal Server Error
  37517. schema:
  37518. $ref: '#/definitions/app.Response'
  37519. security:
  37520. - ApiKeyAuth: []
  37521. summary: 查询仓单成交明细
  37522. tags:
  37523. - 仓单贸易v2
  37524. /WrTrade2/QueryWrTradeOrderDetail:
  37525. get:
  37526. parameters:
  37527. - description: 页码
  37528. in: query
  37529. name: page
  37530. type: integer
  37531. - description: 每页条数
  37532. in: query
  37533. name: pagesize
  37534. type: integer
  37535. - description: 商品id
  37536. in: query
  37537. name: goodsid
  37538. required: true
  37539. type: integer
  37540. - description: 买卖方向 0-买 1-卖
  37541. in: query
  37542. name: buyorsell
  37543. required: true
  37544. type: integer
  37545. produces:
  37546. - application/json
  37547. responses:
  37548. "200":
  37549. description: OK
  37550. schema:
  37551. items:
  37552. $ref: '#/definitions/models.WrTradeOrderDetail'
  37553. type: array
  37554. "500":
  37555. description: Internal Server Error
  37556. schema:
  37557. $ref: '#/definitions/app.Response'
  37558. security:
  37559. - ApiKeyAuth: []
  37560. summary: 查询合约交易买卖大厅
  37561. tags:
  37562. - 仓单贸易v2
  37563. /WrTrade2/QueryWrTradeQuote:
  37564. get:
  37565. parameters:
  37566. - description: 现货商品id
  37567. in: query
  37568. name: wrstandardid
  37569. required: true
  37570. type: integer
  37571. - description: 开始日期(yyyymmdd)
  37572. in: query
  37573. name: begindate
  37574. required: true
  37575. type: string
  37576. - description: 结束日期(yyyymmdd)
  37577. in: query
  37578. name: enddate
  37579. required: true
  37580. type: string
  37581. - description: 市场id
  37582. in: query
  37583. name: marketid
  37584. type: integer
  37585. produces:
  37586. - application/json
  37587. responses:
  37588. "200":
  37589. description: OK
  37590. schema:
  37591. items:
  37592. $ref: '#/definitions/models.Wrtradetradequote'
  37593. type: array
  37594. "500":
  37595. description: Internal Server Error
  37596. schema:
  37597. $ref: '#/definitions/app.Response'
  37598. security:
  37599. - ApiKeyAuth: []
  37600. summary: 查询仓单贸易成交行情
  37601. tags:
  37602. - 仓单贸易v2
  37603. /WrTrade2/QueryWrUserFriend:
  37604. get:
  37605. parameters:
  37606. - description: 用户id
  37607. in: query
  37608. name: userid
  37609. required: true
  37610. type: integer
  37611. - description: 新朋友userid, 如果填写了此项则查找新朋友
  37612. in: query
  37613. name: newuserid
  37614. type: integer
  37615. produces:
  37616. - application/json
  37617. responses:
  37618. "200":
  37619. description: OK
  37620. schema:
  37621. items:
  37622. $ref: '#/definitions/models.WrUserFriend'
  37623. type: array
  37624. "500":
  37625. description: Internal Server Error
  37626. schema:
  37627. $ref: '#/definitions/app.Response'
  37628. security:
  37629. - ApiKeyAuth: []
  37630. summary: 查询我的朋友
  37631. tags:
  37632. - 仓单贸易v2
  37633. /WrTrade2/QueryWrUserReceiptInfo:
  37634. get:
  37635. parameters:
  37636. - description: 用户id
  37637. in: query
  37638. name: userid
  37639. type: integer
  37640. - description: 发票类型 - 1:个人 2:企业
  37641. in: query
  37642. name: receipttype
  37643. type: integer
  37644. produces:
  37645. - application/json
  37646. responses:
  37647. "200":
  37648. description: OK
  37649. schema:
  37650. items:
  37651. $ref: '#/definitions/models.WrUserReceiptInfo'
  37652. type: array
  37653. "500":
  37654. description: Internal Server Error
  37655. schema:
  37656. $ref: '#/definitions/app.Response'
  37657. security:
  37658. - ApiKeyAuth: []
  37659. summary: 查询发票信息
  37660. tags:
  37661. - 仓单贸易v2
  37662. /WrTrade2/QueryXhcpSellBackApply:
  37663. get:
  37664. parameters:
  37665. - description: 用户ID
  37666. in: query
  37667. name: userid
  37668. required: true
  37669. type: integer
  37670. produces:
  37671. - application/json
  37672. responses:
  37673. "200":
  37674. description: OK
  37675. schema:
  37676. items:
  37677. $ref: '#/definitions/models.Xhcpsellbackapply'
  37678. type: array
  37679. "500":
  37680. description: Internal Server Error
  37681. schema:
  37682. $ref: '#/definitions/app.Response'
  37683. security:
  37684. - ApiKeyAuth: []
  37685. summary: 查询我的回收申请(新会陈皮)
  37686. tags:
  37687. - 仓单贸易v2
  37688. /ZJ/GetBankTip:
  37689. get:
  37690. produces:
  37691. - application/json
  37692. responses:
  37693. "200":
  37694. description: OK
  37695. schema:
  37696. type: string
  37697. "500":
  37698. description: Internal Server Error
  37699. schema:
  37700. $ref: '#/definitions/app.Response'
  37701. summary: 获取中江网银端出入金提示信息
  37702. tags:
  37703. - 中江
  37704. /ZJ/GetCusBankChannels:
  37705. get:
  37706. produces:
  37707. - application/json
  37708. responses:
  37709. "200":
  37710. description: OK
  37711. schema:
  37712. items:
  37713. type: string
  37714. type: array
  37715. "500":
  37716. description: Internal Server Error
  37717. schema:
  37718. $ref: '#/definitions/app.Response'
  37719. summary: 获取中江出入金渠道显示列表
  37720. tags:
  37721. - 中江
  37722. securityDefinitions:
  37723. ApiKeyAuth:
  37724. in: header
  37725. name: Authorization
  37726. type: apiKey
  37727. Group:
  37728. in: header
  37729. name: Group
  37730. type: apiKey
  37731. LoginID:
  37732. in: header
  37733. name: LoginID
  37734. type: apiKey
  37735. swagger: "2.0"