swagger.yaml 1.0 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. hsby.GetHsbyMyCountRsp:
  3746. properties:
  3747. myCouponCount:
  3748. description: 我的优惠卷数量
  3749. type: integer
  3750. myOrderDetailListingCount:
  3751. description: 我的订单求购中数量
  3752. type: integer
  3753. myOrderDetailPreCount:
  3754. description: 我的订单抢购中数量
  3755. type: integer
  3756. myPackageUnReceiveCount:
  3757. description: 我的包裹待收货数量
  3758. type: integer
  3759. myPackageUnSendCount:
  3760. description: 我的包裹待发货数量
  3761. type: integer
  3762. myPayOrderCount:
  3763. description: 我的订单待付款数量
  3764. type: integer
  3765. type: object
  3766. hsby.QueryProvincesAndCitiesRsp:
  3767. properties:
  3768. cities:
  3769. description: 市
  3770. items:
  3771. $ref: '#/definitions/models.Division'
  3772. type: array
  3773. province:
  3774. $ref: '#/definitions/models.Division'
  3775. description: 省
  3776. type: object
  3777. models.Arearole:
  3778. properties:
  3779. createtime:
  3780. description: 创建时间
  3781. type: string
  3782. creatorid:
  3783. description: 创建人ID
  3784. type: integer
  3785. fromuserid:
  3786. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3787. type: integer
  3788. isreturnscore:
  3789. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3790. type: integer
  3791. modifierid:
  3792. description: 修改人ID
  3793. type: integer
  3794. modifytime:
  3795. description: 修改时间
  3796. type: string
  3797. orgtype:
  3798. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3799. type: integer
  3800. outuserid:
  3801. description: 外部账户[场外期权做市商]
  3802. type: string
  3803. parentuserid:
  3804. description: 上级组织机构(组织机构)
  3805. type: integer
  3806. roletype:
  3807. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3808. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3809. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3810. type: integer
  3811. rootuserid:
  3812. description: 顶级组织机构用户ID(组织机构)
  3813. type: integer
  3814. shoppassword:
  3815. description: 商城店铺登陆密码(商城店铺角色使用)
  3816. type: string
  3817. sublevelpath:
  3818. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3819. type: string
  3820. suborgtype:
  3821. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3822. type: integer
  3823. tradeaccountid:
  3824. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3825. type: integer
  3826. transurl:
  3827. description: 物流地址(物流机构)
  3828. type: string
  3829. userid:
  3830. description: 机构用户ID其他做市关系,都设置为 1
  3831. type: integer
  3832. required:
  3833. - roletype
  3834. - userid
  3835. type: object
  3836. models.BuyOrder:
  3837. properties:
  3838. accountid:
  3839. description: 资金账户ID
  3840. type: integer
  3841. buyusername:
  3842. description: 买方
  3843. type: string
  3844. marketid:
  3845. description: 市场ID
  3846. type: integer
  3847. ordertime:
  3848. description: 委托时间
  3849. type: string
  3850. origin:
  3851. description: 原产地
  3852. type: string
  3853. performancetemplateid:
  3854. description: 履约计划模板ID
  3855. type: integer
  3856. remark:
  3857. description: 备注
  3858. type: string
  3859. userid:
  3860. description: 用户ID
  3861. type: integer
  3862. validtime:
  3863. description: 有效期限
  3864. type: string
  3865. warehouseids:
  3866. description: 仓库ID - 多个, 逗号分隔
  3867. type: string
  3868. warehouseinfosdisplay:
  3869. type: string
  3870. wrtradeorderid:
  3871. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3872. type: string
  3873. wrtradeorderstatus:
  3874. 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、
  3875. type: integer
  3876. zscategory:
  3877. description: 钻石分类 - 枚举”ZSCategory“
  3878. type: integer
  3879. zscategorydisplay:
  3880. type: string
  3881. zsclaritytype:
  3882. description: 净度 - 两个, 逗号分隔
  3883. type: string
  3884. zsclaritytypedisplay:
  3885. type: string
  3886. zscolortype:
  3887. description: 颜色 - 两个, 逗号分隔
  3888. type: string
  3889. zscolortypedisplay:
  3890. type: string
  3891. zscrystaltype:
  3892. description: 晶型 - 多个,逗号分隔
  3893. type: string
  3894. zscrystaltypedisplay:
  3895. type: string
  3896. zscurrencytype:
  3897. description: 货币类型 - 多个, 逗号分隔
  3898. type: string
  3899. zscurrencytypedisplay:
  3900. type: string
  3901. zscuttype:
  3902. description: 切工 - 两个, 逗号分隔
  3903. type: string
  3904. zscuttypedisplay:
  3905. type: string
  3906. zsczcolor1type:
  3907. description: 彩钻颜色1, 逗号分隔
  3908. type: string
  3909. zsczcolor1typedisplay:
  3910. type: string
  3911. zsczcolor2type:
  3912. description: 彩钻颜色2, 逗号分隔
  3913. type: string
  3914. zsczcolor2typedisplay:
  3915. type: string
  3916. zsczcolor3type:
  3917. description: 彩钻颜色3, 逗号分隔
  3918. type: string
  3919. zsczcolor3typedisplay:
  3920. type: string
  3921. zsfluorescencetype:
  3922. description: 荧光 - 多个, 逗号分隔
  3923. type: string
  3924. zsfluorescencetypedisplay:
  3925. type: string
  3926. zspolishtype:
  3927. description: 抛光度 - 两个, 逗号分隔
  3928. type: string
  3929. zspolishtypedisplay:
  3930. type: string
  3931. zsshapetype:
  3932. description: 形状 - 多个, 逗号分隔
  3933. type: string
  3934. zsshapetypedisplay:
  3935. type: string
  3936. zssize:
  3937. description: 尺寸 - 两个小数, 逗号分隔
  3938. type: string
  3939. zsstyletype:
  3940. description: 款式 - 多个, 逗号分隔
  3941. type: string
  3942. zsstyletypedisplay:
  3943. type: string
  3944. zssymmetrytype:
  3945. description: 对称度 - 两个, 逗号分隔
  3946. type: string
  3947. zssymmetrytypedisplay:
  3948. type: string
  3949. zstabledisplay:
  3950. description: 求购信息
  3951. type: string
  3952. type: object
  3953. models.Clientfixedadconfig:
  3954. properties:
  3955. adsort:
  3956. description: 排序
  3957. type: integer
  3958. adtype:
  3959. description: 广告位类型 - 1:新品抢购(HSBY)
  3960. type: integer
  3961. areauserid:
  3962. description: 所属机构ID
  3963. type: integer
  3964. createdate:
  3965. description: 创建时间
  3966. type: string
  3967. creatorid:
  3968. description: 创建人
  3969. type: integer
  3970. imagepath:
  3971. description: 图片
  3972. type: string
  3973. isshow:
  3974. description: 是否展示 - 0:不展示 1:展示
  3975. type: integer
  3976. modifierid:
  3977. description: 操作人
  3978. type: integer
  3979. recsize:
  3980. description: 推荐尺寸
  3981. type: string
  3982. title:
  3983. description: 标题
  3984. type: string
  3985. updatedate:
  3986. description: 更新时间
  3987. type: string
  3988. urlcontent:
  3989. description: 链接(地址或商品ID)
  3990. type: string
  3991. urltype:
  3992. description: 链接类型 - 1:直接地址 2:商品ID
  3993. type: integer
  3994. required:
  3995. - adsort
  3996. - adtype
  3997. type: object
  3998. models.DgFactoryItem:
  3999. properties:
  4000. dgfactoryitemid:
  4001. description: 选择项ID(SEQ_DGFACTORYITEM)
  4002. type: integer
  4003. dgfactoryitemtypeid:
  4004. description: 要素项类型
  4005. type: integer
  4006. dgfactoryitemvalue:
  4007. description: 要素项值(类型为仓库时填写仓库名称)
  4008. type: string
  4009. orderindex:
  4010. description: 顺序
  4011. type: integer
  4012. type: object
  4013. models.Division:
  4014. properties:
  4015. autoid:
  4016. description: 自增ID
  4017. type: integer
  4018. divisioncode:
  4019. description: 行政代码
  4020. type: string
  4021. divisionlevel:
  4022. description: 行政级别
  4023. type: string
  4024. divisionname:
  4025. description: 行政名称
  4026. type: string
  4027. modifierid:
  4028. description: 修改人
  4029. type: integer
  4030. modifytime:
  4031. description: 修改时间
  4032. type: string
  4033. parentcode:
  4034. description: 上级行政代码
  4035. type: string
  4036. pathname:
  4037. description: 路径名称
  4038. type: string
  4039. postcode:
  4040. description: 邮政编码
  4041. type: string
  4042. separablename:
  4043. description: 可拆分的全称
  4044. type: string
  4045. shortcode:
  4046. description: 地区简码
  4047. type: string
  4048. required:
  4049. - autoid
  4050. - divisioncode
  4051. type: object
  4052. models.Enumdicitem:
  4053. properties:
  4054. autoid:
  4055. description: 自增ID
  4056. type: integer
  4057. bankmappedvalue:
  4058. description: 银行服务对应值
  4059. type: string
  4060. enumdiccode:
  4061. description: 所属枚举代码
  4062. type: string
  4063. enumdicid:
  4064. description: 所属枚举ID
  4065. type: integer
  4066. enumdicname:
  4067. description: 枚举项名称
  4068. type: string
  4069. enumitemname:
  4070. description: 枚举项值
  4071. type: integer
  4072. enumitemstatus:
  4073. description: 枚举项状态 - 1.启用 2.不启用
  4074. type: integer
  4075. enumitemvalue:
  4076. description: 通用值 - [币种通用简写]
  4077. type: string
  4078. param1:
  4079. description: 参数1[币种:币种小数位]
  4080. type: string
  4081. param2:
  4082. description: 参数1[币种:币种显示单位]
  4083. type: string
  4084. remark:
  4085. description: 备注
  4086. type: string
  4087. required:
  4088. - autoid
  4089. - enumdiccode
  4090. - enumdicid
  4091. - enumitemname
  4092. type: object
  4093. models.Ermcp2AreaExposure:
  4094. properties:
  4095. areauserid:
  4096. description: 所属机构
  4097. type: integer
  4098. enumdicname:
  4099. description: 单位
  4100. type: string
  4101. futureqty:
  4102. description: 期货套期量
  4103. type: number
  4104. futureqtychange:
  4105. description: 期货变动量 = FutureQty - OriFutureQty
  4106. type: number
  4107. goodsunitid:
  4108. description: 单位ID
  4109. type: integer
  4110. hedgedspotexposure:
  4111. description: 被套期现货敞口量
  4112. type: number
  4113. hedgedspratio:
  4114. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4115. type: number
  4116. hedgedtotalexposourechange:
  4117. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4118. type: number
  4119. hedgedtotalexposure:
  4120. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4121. type: number
  4122. hedgeplanqty:
  4123. description: 套期计划量
  4124. type: number
  4125. hedgeplanqtychange:
  4126. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4127. type: number
  4128. hedgespotqty:
  4129. description: 被套期现货量
  4130. type: number
  4131. middlegoodsid:
  4132. description: 套保品种
  4133. type: integer
  4134. middlegoodsname:
  4135. description: 套保品种名称
  4136. type: string
  4137. orifutureqty:
  4138. description: 期初期货套期量
  4139. type: number
  4140. orihedgedspotexposure:
  4141. description: 期初被套期现货敞口量
  4142. type: number
  4143. orihedgedtotalexposure:
  4144. description: 期初套期敞口量
  4145. type: number
  4146. orihedgeplanqty:
  4147. description: 期初套期计划量
  4148. type: number
  4149. orihedgespotqty:
  4150. description: 期初被套期现货量
  4151. type: number
  4152. orispotexposure:
  4153. description: 期初现货敞口量
  4154. type: number
  4155. orispotqty:
  4156. description: 期初现货总量
  4157. type: number
  4158. oritotalexposure:
  4159. description: 期初总敞口量
  4160. type: number
  4161. spotexposure:
  4162. description: 现货敞口量
  4163. type: number
  4164. spotqty:
  4165. description: 现货总量
  4166. type: number
  4167. spotqtychange:
  4168. description: 现货变动量 = SpotQty - OriSpotQty
  4169. type: number
  4170. spratio:
  4171. description: 总期现比例 = 期货套期量/现货敞口量
  4172. type: number
  4173. totalexposure:
  4174. description: 总敞口量 = 现货敞口量 + 期货套期量
  4175. type: number
  4176. totalexposurechange:
  4177. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4178. type: number
  4179. updatetime:
  4180. description: 更新时间 --DATE
  4181. type: string
  4182. type: object
  4183. models.Ermcp2hedgeditem:
  4184. properties:
  4185. accountname:
  4186. description: 套期主体
  4187. type: string
  4188. applyid:
  4189. description: 申请人
  4190. type: integer
  4191. applysrc:
  4192. description: 申请来源 - 1:管理端 2:终端
  4193. type: integer
  4194. areauserid:
  4195. description: 企业ID
  4196. type: integer
  4197. auditid:
  4198. description: 审核人
  4199. type: integer
  4200. auditremark:
  4201. description: 审核备注
  4202. type: string
  4203. auditsrc:
  4204. description: 审核来源 - 1:管理端 2:终端
  4205. type: integer
  4206. audittime:
  4207. description: 审核时间
  4208. type: string
  4209. audittradedate:
  4210. description: 审核交易日(yyyyMMdd)
  4211. type: string
  4212. createtime:
  4213. description: 申请时间
  4214. type: string
  4215. curprice:
  4216. description: 当前市场价
  4217. type: number
  4218. curstock:
  4219. description: 期末库存量 = 采购总量 - 销售总量
  4220. type: number
  4221. deliverygoodsid:
  4222. description: 现货品种ID
  4223. type: integer
  4224. enddate:
  4225. description: 完成日期
  4226. type: string
  4227. endtradedate:
  4228. description: 完成交易日
  4229. type: string
  4230. enumdicname:
  4231. description: 单位
  4232. type: string
  4233. exeamount:
  4234. description: 执行市价总额
  4235. type: number
  4236. exeavgprice:
  4237. description: 执行市场均价= 执行市价总额 / 执行现货量
  4238. type: number
  4239. execontractamount:
  4240. description: 执行定价总额
  4241. type: number
  4242. exeqty:
  4243. description: 执行现货量
  4244. type: number
  4245. exerestamount:
  4246. description: 执行剩余市价总额【现货贸易】
  4247. type: number
  4248. futurefloatpl:
  4249. description: 期货浮动损益
  4250. type: number
  4251. futurehedgepl:
  4252. description: 期货实际损益
  4253. type: number
  4254. futurehedgeplchange:
  4255. description: 期货实际损益变动
  4256. type: number
  4257. futurepl:
  4258. description: 期货套期损益
  4259. type: number
  4260. futureplchange:
  4261. description: 期货套期损益变动
  4262. type: number
  4263. hedgeamount:
  4264. description: 套期市价总额
  4265. type: number
  4266. hedgecontractamount:
  4267. description: 套期定价总额 【定价采购合同】【现货贸易】
  4268. type: number
  4269. hedgeditemid:
  4270. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4271. type: string
  4272. hedgeditemname:
  4273. description: 项目名称
  4274. type: string
  4275. hedgeditemnum:
  4276. description: 项目编号
  4277. type: string
  4278. hedgeditemstatus:
  4279. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4280. type: integer
  4281. hedgedtype:
  4282. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4283. type: integer
  4284. hedgeqty:
  4285. description: 套期现货量
  4286. type: number
  4287. hedgerate:
  4288. description: 套保比率
  4289. type: number
  4290. hedgerestamount:
  4291. description: 套期剩余市价总额【现货贸易】
  4292. type: number
  4293. hedgesumpl:
  4294. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4295. type: number
  4296. middlegoodslist:
  4297. description: 套期商品列表
  4298. items:
  4299. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4300. type: array
  4301. oriavgprice:
  4302. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4303. type: number
  4304. orifuturehedgepl:
  4305. description: 期初期货实际损益
  4306. type: number
  4307. orifuturepl:
  4308. description: 期初期货套期损益
  4309. type: number
  4310. orispothedgepl:
  4311. description: 期初现货实际损益
  4312. type: number
  4313. orispotpl:
  4314. description: 期初现货套期损益
  4315. type: number
  4316. planenddate:
  4317. description: 计划结束日期
  4318. type: string
  4319. planstartdate:
  4320. description: 计划开始日期
  4321. type: string
  4322. remark:
  4323. description: 备注
  4324. type: string
  4325. spotbookamount:
  4326. description: 现货账面总额
  4327. type: number
  4328. spotfloatpl:
  4329. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4330. type: number
  4331. spothedgepl:
  4332. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4333. type: number
  4334. spothedgeplchange:
  4335. description: 现货实际损益变动
  4336. type: number
  4337. spotpl:
  4338. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4339. type: number
  4340. spotplchange:
  4341. description: 现货套期损益变动
  4342. type: number
  4343. spottradepl:
  4344. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4345. type: number
  4346. sumobspl:
  4347. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4348. type: number
  4349. tradeuserid:
  4350. description: 交易用户ID
  4351. type: integer
  4352. unexeqty:
  4353. description: 未执行现货量 = 套期现货量 - 执行现货量
  4354. type: number
  4355. updatetime:
  4356. description: 更新时间
  4357. type: string
  4358. vatpl:
  4359. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4360. type: number
  4361. vatrate:
  4362. description: 增值税
  4363. type: number
  4364. wrstandardid:
  4365. description: 现货商品ID
  4366. type: integer
  4367. wrstandardname:
  4368. description: 商品名称
  4369. type: string
  4370. type: object
  4371. models.Ermcp2hedgeditemlink:
  4372. properties:
  4373. areauserid:
  4374. description: 企业ID
  4375. type: integer
  4376. createtime:
  4377. description: '[关联时间]创建时间'
  4378. type: string
  4379. customeruserid:
  4380. description: 对手方 【3:采购合同 4:销售合同】
  4381. type: integer
  4382. deliverygoodsid:
  4383. description: 现货品种ID
  4384. type: integer
  4385. enumdicname:
  4386. description: 单位
  4387. type: string
  4388. hedgeditemid:
  4389. description: 被套期项目ID
  4390. type: integer
  4391. hedgeditemlinkid:
  4392. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4393. type: integer
  4394. hedgeditemnum:
  4395. description: 项目编号
  4396. type: string
  4397. hedgedtype:
  4398. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4399. type: integer
  4400. relatedamount:
  4401. description: 市价总额 = 关联数量 * 期初市场价
  4402. type: number
  4403. relatedhedgeplanid:
  4404. description: 关联计划ID 【1:采购计划 2:销售计划】
  4405. type: integer
  4406. relatedqty:
  4407. description: 关联数量
  4408. type: number
  4409. relatedspotcontractid:
  4410. description: 关联合同ID 【3:采购合同 4:销售合同】
  4411. type: integer
  4412. relatedtype:
  4413. description: 关联类型 - 1:套期关联 2:执行关联
  4414. type: integer
  4415. spotgoodsbrandid:
  4416. description: 现货品牌ID
  4417. type: integer
  4418. spotpricedamount:
  4419. description: '[关联定价总额]定价总额'
  4420. type: number
  4421. spotpricedavgprice:
  4422. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4423. type: number
  4424. spottype:
  4425. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4426. type: integer
  4427. tradeuserid:
  4428. description: 交易用户ID
  4429. type: integer
  4430. unexeqty:
  4431. description: 未执行现货量【项目关联时值】
  4432. type: number
  4433. wrstandardid:
  4434. description: 现货商品ID
  4435. type: integer
  4436. wrstandardname:
  4437. description: 现货商品
  4438. type: string
  4439. required:
  4440. - relatedspotcontractid
  4441. type: object
  4442. models.Ermcp2hedgeditemsDetail:
  4443. properties:
  4444. accountname:
  4445. description: 套期主体
  4446. type: string
  4447. areauserid:
  4448. description: 企业ID
  4449. type: integer
  4450. createtime:
  4451. description: '[日期时间]创建时间'
  4452. type: string
  4453. customeruserid:
  4454. description: 对手方 【3:采购合同 4:销售合同】
  4455. type: integer
  4456. deliverygoodsid:
  4457. description: 现货品种ID
  4458. type: integer
  4459. enumdicname:
  4460. description: 单位
  4461. type: string
  4462. hedgeditemid:
  4463. description: 被套期项目ID
  4464. type: string
  4465. hedgeditemspotid:
  4466. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4467. type: string
  4468. hedgedtype:
  4469. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4470. type: integer
  4471. hedgeplanno:
  4472. description: 计划编号
  4473. type: string
  4474. middlegoodschange:
  4475. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4476. type: number
  4477. oriavgprice:
  4478. description: 期初市场价[当初市场价]
  4479. type: number
  4480. relatedamount:
  4481. description: 市价总额 = 关联数量 * 期初市场价
  4482. type: number
  4483. relatedhedgeplanid:
  4484. description: 关联计划ID 【1:采购计划 2:销售计划】
  4485. type: integer
  4486. relatedqty:
  4487. description: '[期间变化量]关联数量'
  4488. type: number
  4489. relatedspotcontractid:
  4490. description: 关联合同ID 【3:采购合同 4:销售合同】
  4491. type: integer
  4492. relatedtype:
  4493. description: 关联类型 - 1:套期关联 2:执行关联
  4494. type: integer
  4495. spotgoodsbrandid:
  4496. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4497. type: integer
  4498. spotpricedamount:
  4499. description: 定价总额
  4500. type: number
  4501. spotpricedavgprice:
  4502. description: 现货均价 = 定价总额 / 关联数量
  4503. type: number
  4504. spottype:
  4505. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4506. type: integer
  4507. tradeuserid:
  4508. description: 交易用户ID
  4509. type: integer
  4510. unexeqty:
  4511. description: 未执行现货量 = 套期现货量 - 执行现货量
  4512. type: number
  4513. wrstandardid:
  4514. description: 现货商品ID
  4515. type: integer
  4516. wrstandardname:
  4517. description: 现货商品
  4518. type: string
  4519. type: object
  4520. models.Ermcp2hedgeditemspot:
  4521. properties:
  4522. areauserid:
  4523. description: 企业ID
  4524. type: integer
  4525. createtime:
  4526. description: 创建时间
  4527. type: string
  4528. customeruserid:
  4529. description: 对手方 【3:采购合同 4:销售合同】
  4530. type: integer
  4531. deliverygoodsid:
  4532. description: 现货品种ID
  4533. type: integer
  4534. enumdicname:
  4535. description: 单位
  4536. type: string
  4537. hedgeditemid:
  4538. description: 被套期项目ID
  4539. type: string
  4540. hedgeditemspotid:
  4541. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4542. type: string
  4543. hedgedtype:
  4544. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4545. type: integer
  4546. hedgeplanno:
  4547. description: 计划编号
  4548. type: string
  4549. oriavgprice:
  4550. description: 期初市场价[当初市场价]
  4551. type: number
  4552. relatedamount:
  4553. description: 市价总额 = 关联数量 * 期初市场价
  4554. type: number
  4555. relatedhedgeplanid:
  4556. description: 关联计划ID 【1:采购计划 2:销售计划】
  4557. type: integer
  4558. relatedqty:
  4559. description: 关联数量[数量]
  4560. type: number
  4561. relatedspotcontractid:
  4562. description: 关联合同ID 【3:采购合同 4:销售合同】
  4563. type: integer
  4564. relatedtype:
  4565. description: 关联类型 - 1:套期关联 2:执行关联
  4566. type: integer
  4567. spotgoodsbrandid:
  4568. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4569. type: integer
  4570. spotpricedamount:
  4571. description: 定价总额
  4572. type: number
  4573. spotpricedavgprice:
  4574. description: 现货均价 = 定价总额 / 关联数量
  4575. type: number
  4576. spottype:
  4577. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4578. type: integer
  4579. tradeuserid:
  4580. description: 交易用户ID
  4581. type: integer
  4582. wrstandardid:
  4583. description: 现货商品ID
  4584. type: integer
  4585. wrstandardname:
  4586. description: 现货商品
  4587. type: string
  4588. required:
  4589. - hedgeditemid
  4590. type: object
  4591. models.Ermcp2hedgeditemspotDetail:
  4592. properties:
  4593. accountname:
  4594. description: 对手方
  4595. type: string
  4596. areauserid:
  4597. description: 企业ID
  4598. type: integer
  4599. brandname:
  4600. description: 品牌
  4601. type: string
  4602. contractno:
  4603. description: 合同编号
  4604. type: string
  4605. createtime:
  4606. description: 创建时间
  4607. type: string
  4608. customeruserid:
  4609. description: 对手方 【3:采购合同 4:销售合同】
  4610. type: integer
  4611. deliverygoodsid:
  4612. description: 现货品种ID
  4613. type: integer
  4614. enumdicname:
  4615. description: 单位
  4616. type: string
  4617. hedgeditemid:
  4618. description: 被套期项目ID
  4619. type: string
  4620. hedgeditemspotid:
  4621. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4622. type: string
  4623. hedgedtype:
  4624. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4625. type: integer
  4626. oriavgprice:
  4627. description: 期初市场价[当初市场价]
  4628. type: number
  4629. relatedamount:
  4630. description: 市价总额 = 关联数量 * 期初市场价
  4631. type: number
  4632. relatedhedgeplanid:
  4633. description: 关联计划ID 【1:采购计划 2:销售计划】
  4634. type: integer
  4635. relatedqty:
  4636. description: 关联数量[数量]
  4637. type: number
  4638. relatedspotcontractid:
  4639. description: 关联合同ID 【3:采购合同 4:销售合同】
  4640. type: integer
  4641. relatedtype:
  4642. description: 关联类型 - 1:套期关联 2:执行关联
  4643. type: integer
  4644. spotgoodsbrandid:
  4645. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4646. type: integer
  4647. spotpricedamount:
  4648. description: 定价总额[金额]
  4649. type: number
  4650. spotpricedavgprice:
  4651. description: 现货均价 = 定价总额 / 关联数量
  4652. type: number
  4653. spottype:
  4654. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4655. type: integer
  4656. tradeuserid:
  4657. description: 交易用户ID
  4658. type: integer
  4659. wrstandardid:
  4660. description: 现货商品ID
  4661. type: integer
  4662. wrstandardname:
  4663. description: 现货商品
  4664. type: string
  4665. required:
  4666. - hedgeditemid
  4667. type: object
  4668. models.Ermcp2himiddlegoods:
  4669. properties:
  4670. futurehedgeqty:
  4671. description: 期货持仓套期量
  4672. type: number
  4673. hedgeditemid:
  4674. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4675. type: integer
  4676. hiexpsoure:
  4677. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4678. type: number
  4679. middlegoodscode:
  4680. description: 套保商品代码
  4681. type: string
  4682. middlegoodsid:
  4683. description: 套保品种ID
  4684. type: integer
  4685. middlegoodsname:
  4686. description: 套保商品名称
  4687. type: string
  4688. unexehedgeqty:
  4689. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4690. type: number
  4691. required:
  4692. - hedgeditemid
  4693. - middlegoodsid
  4694. type: object
  4695. models.Ermcp2stockspotchangelog:
  4696. properties:
  4697. accountname:
  4698. description: 套期主体
  4699. type: string
  4700. aftervalue:
  4701. description: 现货量
  4702. type: number
  4703. beforevalue:
  4704. description: 变更前现货量
  4705. type: number
  4706. contractno:
  4707. description: '[编号]现货合同编号'
  4708. type: string
  4709. contracttype:
  4710. description: 现货合同类型 - 1:采购 -1:销售
  4711. type: integer
  4712. createtime:
  4713. description: 创建时间
  4714. type: string
  4715. customerusername:
  4716. description: 对手方
  4717. type: string
  4718. deliverygoodsid:
  4719. description: 现货品种ID
  4720. type: integer
  4721. exetype:
  4722. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4723. type: integer
  4724. logid:
  4725. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4726. type: string
  4727. logvalue:
  4728. description: '[期间变化量]现货量变更值'
  4729. type: number
  4730. middlegoodschange:
  4731. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4732. type: number
  4733. operatelogtype:
  4734. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4735. 27:生产出库
  4736. type: integer
  4737. relatedid:
  4738. description: 现货合同ID
  4739. type: integer
  4740. spotgoodsbrandid:
  4741. description: 现货品牌ID
  4742. type: integer
  4743. tradedate:
  4744. description: 交易日(yyyyMMdd)
  4745. type: string
  4746. userid:
  4747. description: 机构ID
  4748. type: integer
  4749. warehouseinfoid:
  4750. description: 仓库ID
  4751. type: integer
  4752. wrfactortypeid:
  4753. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4754. type: integer
  4755. wrstandardid:
  4756. description: 现货商品ID
  4757. type: integer
  4758. wrstandardname:
  4759. description: 商品名称
  4760. type: string
  4761. type: object
  4762. models.Ermcp3AreaSpot:
  4763. properties:
  4764. areauserid:
  4765. description: 所属机构
  4766. type: integer
  4767. convertratio:
  4768. description: 套保系数
  4769. type: number
  4770. decreaseqty:
  4771. description: 减少数量=-(销售已定价数量+采购计划数量)
  4772. type: number
  4773. enumdicname:
  4774. description: 单位名称
  4775. type: string
  4776. increaseqty:
  4777. description: 增加数量=销售计划数量+采购已定价数量
  4778. type: number
  4779. oritoalspotqty:
  4780. description: 昨日数量
  4781. type: number
  4782. totalspotqty:
  4783. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4784. type: number
  4785. unitid:
  4786. description: 现货商品单位id
  4787. type: integer
  4788. updatetime:
  4789. description: 更新时间
  4790. type: string
  4791. wrstandardcode:
  4792. description: 现货商品代码
  4793. type: string
  4794. wrstandardid:
  4795. description: 现货商品ID(SEQ_WRSTANDARD)
  4796. type: integer
  4797. wrstandardname:
  4798. description: 现货商品名称
  4799. type: string
  4800. type: object
  4801. models.Ermcp3AreaSpotDetail:
  4802. properties:
  4803. contracttype:
  4804. description: 合同类型 1-采购 -1-销售
  4805. type: integer
  4806. createtime:
  4807. description: 创建时间
  4808. type: string
  4809. enumdicname:
  4810. description: 现货商品单位名称
  4811. type: string
  4812. logtype:
  4813. description: 记录类型 1-套保 2-现货合同
  4814. type: integer
  4815. qty:
  4816. description: 数量
  4817. type: number
  4818. recordname:
  4819. description: 类型名称
  4820. type: string
  4821. relatedid:
  4822. description: 套保计划ID/现货合同ID
  4823. type: string
  4824. relatedno:
  4825. description: 编号
  4826. type: string
  4827. strtime:
  4828. description: 时间
  4829. type: string
  4830. wrstandardcode:
  4831. description: 现货商品代码
  4832. type: string
  4833. wrstandardid:
  4834. description: 现货商品ID(SEQ_WRSTANDARD)
  4835. type: integer
  4836. wrstandardname:
  4837. description: 现货商品名称
  4838. type: string
  4839. type: object
  4840. models.Ermcp3AreaSpotPLReport:
  4841. properties:
  4842. accountid:
  4843. description: 期货账户ID (作废, 默认为0)
  4844. type: integer
  4845. accountname:
  4846. description: 机构名称
  4847. type: string
  4848. actualpl:
  4849. description: 现货损益
  4850. type: number
  4851. areauserid:
  4852. description: 所属机构\交易用户ID
  4853. type: integer
  4854. begindate:
  4855. description: 开始交易日
  4856. type: string
  4857. biztype:
  4858. description: 业务类型 - 1:套保 2:套利
  4859. type: integer
  4860. brandname:
  4861. description: 品牌名称
  4862. type: string
  4863. curamount:
  4864. description: 期末额
  4865. type: number
  4866. curaverageprice:
  4867. description: 期初均价
  4868. type: number
  4869. curbuyamount:
  4870. description: 期末采购总额
  4871. type: number
  4872. curbuyqty:
  4873. description: 期末采购总量
  4874. type: number
  4875. curmarketvalue:
  4876. description: 期初均价
  4877. type: number
  4878. curqty:
  4879. description: 期末量
  4880. type: number
  4881. currencyid:
  4882. description: 结算币种ID【原值】
  4883. type: integer
  4884. currencyname:
  4885. description: 币种名称
  4886. type: string
  4887. cursellamount:
  4888. description: 期末销售总额
  4889. type: number
  4890. cursellqty:
  4891. description: 期末销售总量
  4892. type: number
  4893. curspotprice:
  4894. description: 期初均价
  4895. type: number
  4896. cycletime:
  4897. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4898. type: string
  4899. cycletype:
  4900. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4901. type: integer
  4902. deliverygoodscode:
  4903. description: 现货品种代码
  4904. type: string
  4905. deliverygoodsid:
  4906. description: 现货品种ID
  4907. type: integer
  4908. deliverygoodsname:
  4909. description: 现货品种名称
  4910. type: string
  4911. enddate:
  4912. description: 结束交易日
  4913. type: string
  4914. enumdicname:
  4915. description: 现货品种单位名称(作废)
  4916. type: string
  4917. floatpl:
  4918. description: 期初均价
  4919. type: number
  4920. goodsunitid:
  4921. description: 现货品种单位id(作废)
  4922. type: integer
  4923. oriamount:
  4924. description: 期初额
  4925. type: number
  4926. oriaverageprice:
  4927. description: 期初均价
  4928. type: number
  4929. oribuyamount:
  4930. description: 期初采购总额
  4931. type: number
  4932. oribuyqty:
  4933. description: 期初采购总量
  4934. type: number
  4935. oriqty:
  4936. description: 期初量
  4937. type: number
  4938. orisellamount:
  4939. description: 期初销售总额
  4940. type: number
  4941. orisellqty:
  4942. description: 期初销售总量
  4943. type: number
  4944. reckondate:
  4945. description: 日照时期(yyyyMMdd)
  4946. type: string
  4947. spotgoodsbrandid:
  4948. description: 现货品牌ID
  4949. type: integer
  4950. todaybuyamount:
  4951. description: 今日采购额(今采购额)
  4952. type: number
  4953. todaybuyaverageprice:
  4954. description: 期初均价
  4955. type: number
  4956. todaybuyqty:
  4957. description: 今日采购量(今采购量)
  4958. type: number
  4959. todayinqty:
  4960. description: 今日入库量(今入库量)
  4961. type: number
  4962. todayoutqty:
  4963. description: 今日出库量(今出库量)
  4964. type: number
  4965. todaysellamount:
  4966. description: 今日销售额(今销售额)
  4967. type: number
  4968. todaysellaverageprice:
  4969. description: 期初均价
  4970. type: number
  4971. todaysellqty:
  4972. description: 今日销售量(今销售量)
  4973. type: number
  4974. unitid:
  4975. description: 品类单位id
  4976. type: integer
  4977. unitidname:
  4978. description: 品类单位名称
  4979. type: string
  4980. updatetime:
  4981. description: 更新时间
  4982. type: string
  4983. wrfactortypeid:
  4984. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4985. type: integer
  4986. wrstandardcode:
  4987. description: 现货商品(品类)代码
  4988. type: string
  4989. wrstandardid:
  4990. description: 现货品类ID
  4991. type: integer
  4992. wrstandardname:
  4993. description: 现货商品(品类)名称
  4994. type: string
  4995. type: object
  4996. models.Ermcp3AreaStock:
  4997. properties:
  4998. brandname:
  4999. description: 品牌名称
  5000. type: string
  5001. curstock:
  5002. description: 期末库存量(今日量)
  5003. type: number
  5004. deliverygoodscode:
  5005. description: 现货品种代码
  5006. type: string
  5007. deliverygoodsid:
  5008. description: 现货品种id
  5009. type: integer
  5010. deliverygoodsname:
  5011. description: 现货品种名称
  5012. type: string
  5013. enumdicname:
  5014. description: 单位名称
  5015. type: string
  5016. goodsunitid:
  5017. description: 现货商品单位id
  5018. type: integer
  5019. oristock:
  5020. description: 期初库存量(昨日量)
  5021. type: number
  5022. spotgoodsbrandid:
  5023. description: 现货品牌ID
  5024. type: integer
  5025. todaybuyinqty:
  5026. description: 今日采购入库量
  5027. type: number
  5028. todayproduceinqty:
  5029. description: 今日生产入库量
  5030. type: number
  5031. todayproduceoutqty:
  5032. description: 今日生产出库量
  5033. type: number
  5034. todayselloutqty:
  5035. description: 今日销售出库量
  5036. type: number
  5037. unitid:
  5038. description: 单位id
  5039. type: integer
  5040. updatetime:
  5041. description: 更新时间
  5042. type: string
  5043. userid:
  5044. description: 机构ID
  5045. type: integer
  5046. username:
  5047. description: 机构名称
  5048. type: string
  5049. warehousecode:
  5050. description: 仓库代码
  5051. type: string
  5052. warehouseinfoid:
  5053. description: 仓库ID
  5054. type: string
  5055. warehousename:
  5056. description: 仓库名称
  5057. type: string
  5058. warehousetype:
  5059. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5060. type: integer
  5061. wrstandardcode:
  5062. description: 品类代码
  5063. type: string
  5064. wrstandardid:
  5065. description: 品类ID
  5066. type: string
  5067. wrstandardname:
  5068. description: 品类名称
  5069. type: string
  5070. required:
  5071. - userid
  5072. type: object
  5073. models.Ermcp3AreaStockApply:
  5074. properties:
  5075. applyid:
  5076. description: 申请人
  5077. type: integer
  5078. applyname:
  5079. description: 申请人名称
  5080. type: string
  5081. applyremark:
  5082. description: 申请备注
  5083. type: string
  5084. applysrc:
  5085. description: 申请来源 - 1:管理端 2:终端
  5086. type: integer
  5087. applystatus:
  5088. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5089. type: integer
  5090. applytime:
  5091. description: 申请时间
  5092. type: string
  5093. auditid:
  5094. description: 审核人
  5095. type: integer
  5096. auditname:
  5097. description: 审核人名称
  5098. type: string
  5099. auditremark:
  5100. description: 审核备注
  5101. type: string
  5102. auditsrc:
  5103. description: 审核来源 - 1:管理端 2:终端
  5104. type: integer
  5105. audittime:
  5106. description: 审核时间
  5107. type: string
  5108. audittradedate:
  5109. description: 审核交易日(yyyyMMdd)
  5110. type: string
  5111. brandname:
  5112. description: 品牌名称
  5113. type: string
  5114. buynickname:
  5115. description: 采购方昵称
  5116. type: string
  5117. buyuserid:
  5118. description: 采购方userid
  5119. type: integer
  5120. buyusername:
  5121. description: 采购方名称
  5122. type: string
  5123. contractno:
  5124. description: 合同编号
  5125. type: string
  5126. contractqty:
  5127. description: 合同量
  5128. type: number
  5129. contracttype:
  5130. description: 现货合同类型 - 1:采购 -1:销售
  5131. type: integer
  5132. deliverygoodscode:
  5133. description: 现货品种代码
  5134. type: string
  5135. deliverygoodsid:
  5136. description: 现货品种id
  5137. type: integer
  5138. deliverygoodsname:
  5139. description: 现货品种名称
  5140. type: string
  5141. detailjson:
  5142. description: 明细数据
  5143. type: string
  5144. enumdicname:
  5145. description: 现货商品单位名称
  5146. type: string
  5147. inoutapplyid:
  5148. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5149. type: string
  5150. inouttype:
  5151. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5152. type: integer
  5153. pricetype:
  5154. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5155. type: integer
  5156. qty:
  5157. description: 数量
  5158. type: number
  5159. sellnickname:
  5160. description: 销售方昵称
  5161. type: string
  5162. selluserid:
  5163. description: 销售方userid
  5164. type: integer
  5165. sellusername:
  5166. description: 销售方名称
  5167. type: string
  5168. spotcontractid:
  5169. description: 关联现货合同ID
  5170. type: string
  5171. spotgoodsbrandid:
  5172. description: 现货品牌ID
  5173. type: integer
  5174. unitid:
  5175. description: 单位id
  5176. type: integer
  5177. userid:
  5178. description: 机构ID
  5179. type: integer
  5180. warehousecode:
  5181. description: 仓库代码
  5182. type: string
  5183. warehouseinfoid:
  5184. description: 现货仓库ID
  5185. type: string
  5186. warehousename:
  5187. description: 仓库名称
  5188. type: string
  5189. warehousetype:
  5190. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5191. type: integer
  5192. wrstandardcode:
  5193. description: 品类代码
  5194. type: string
  5195. wrstandardid:
  5196. description: 品类ID
  5197. type: integer
  5198. wrstandardname:
  5199. description: 品类名称
  5200. type: string
  5201. type: object
  5202. models.Ermcp3AreaStockApplySum:
  5203. properties:
  5204. brandname:
  5205. description: 品牌名称
  5206. type: string
  5207. inouttype:
  5208. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5209. type: integer
  5210. spotcontractid:
  5211. description: 关联现货合同ID
  5212. type: string
  5213. spotgoodsbrandid:
  5214. description: 品牌id
  5215. type: integer
  5216. totalqty:
  5217. description: 总数量
  5218. type: number
  5219. wrstandardid:
  5220. description: 品类id
  5221. type: integer
  5222. wrstandardname:
  5223. description: 品类名称
  5224. type: string
  5225. type: object
  5226. models.Ermcp3AreaStockReportEx:
  5227. properties:
  5228. begindate:
  5229. description: 开始交易日
  5230. type: string
  5231. brandname:
  5232. description: 品牌名称
  5233. type: string
  5234. curstock:
  5235. description: 期末库存量
  5236. type: number
  5237. cycletime:
  5238. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5239. type: string
  5240. cycletype:
  5241. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5242. type: integer
  5243. deliverygoodscode:
  5244. description: 现货品种代码
  5245. type: string
  5246. deliverygoodsid:
  5247. description: 现货品种id
  5248. type: integer
  5249. deliverygoodsname:
  5250. description: 现货品种名称
  5251. type: string
  5252. diffqty:
  5253. description: 库存变化量 = 期末 - 期初
  5254. type: number
  5255. enddate:
  5256. description: 结束交易日
  5257. type: string
  5258. enumdicname:
  5259. description: 单位名称
  5260. type: string
  5261. goodsunitid:
  5262. description: 现货单位id
  5263. type: integer
  5264. oristock:
  5265. description: 期初库存量
  5266. type: number
  5267. reckondate:
  5268. description: 日照时期(yyyyMMdd)
  5269. type: string
  5270. spotgoodsbrandid:
  5271. description: 现货品牌ID
  5272. type: integer
  5273. todaybuyinqty:
  5274. description: 今采购入库量
  5275. type: number
  5276. todayproduceinqty:
  5277. description: 今内部入库量
  5278. type: number
  5279. todayproduceoutqty:
  5280. description: 今内部出库量
  5281. type: number
  5282. todayselloutqty:
  5283. description: 今销售出库量
  5284. type: number
  5285. unbuyinqty:
  5286. description: 采购未入库量(数据库未找到相关字段?)
  5287. type: number
  5288. unitid:
  5289. description: 品类单位id
  5290. type: integer
  5291. unselloutqty:
  5292. description: 销售未出库量(数据库未找到相关字段?)
  5293. type: number
  5294. updatetime:
  5295. description: 更新时间
  5296. type: string
  5297. userid:
  5298. description: 机构ID
  5299. type: integer
  5300. username:
  5301. description: 机构名称
  5302. type: string
  5303. warehousecode:
  5304. description: 仓库代码
  5305. type: string
  5306. warehouseinfoid:
  5307. description: 仓库ID
  5308. type: string
  5309. warehousename:
  5310. description: 仓库名称
  5311. type: string
  5312. warehousetype:
  5313. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5314. type: integer
  5315. wrstandardcode:
  5316. description: 品类代码
  5317. type: string
  5318. wrstandardid:
  5319. description: 品类ID
  5320. type: integer
  5321. wrstandardname:
  5322. description: 品类名称
  5323. type: string
  5324. type: object
  5325. models.Ermcp3ArealSumPL:
  5326. properties:
  5327. accountname:
  5328. description: 机构名称
  5329. type: string
  5330. areauserid:
  5331. description: 所属机构\交易用户ID
  5332. type: integer
  5333. begindate:
  5334. description: 开始交易日
  5335. type: string
  5336. currencyid:
  5337. description: 结算币种ID
  5338. type: integer
  5339. currencyname:
  5340. description: 币种名称
  5341. type: string
  5342. cycletime:
  5343. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5344. type: string
  5345. cycletype:
  5346. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5347. type: integer
  5348. enddate:
  5349. description: 结束交易日
  5350. type: string
  5351. enumdicname:
  5352. description: 单位名称(套保品种)
  5353. type: string
  5354. futureactualpl:
  5355. description: 期货损益
  5356. type: number
  5357. futurefloatpl:
  5358. description: 期货浮动损益
  5359. type: number
  5360. futurespotratio:
  5361. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5362. type: number
  5363. goodsunitid:
  5364. description: 套保品种单位id
  5365. type: integer
  5366. hedgeexposurepl:
  5367. description: 套保敞口损益
  5368. type: number
  5369. middlegoodscode:
  5370. description: 套保品种代码
  5371. type: string
  5372. middlegoodsid:
  5373. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5374. type: integer
  5375. middlegoodsname:
  5376. description: 套保品种名称
  5377. type: string
  5378. reckondate:
  5379. description: 日照时期(yyyyMMdd)
  5380. type: string
  5381. spotactualpl:
  5382. description: 现货损益
  5383. type: number
  5384. spotfloatpl:
  5385. description: 现货浮动损益
  5386. type: number
  5387. sumactualpl:
  5388. description: 实际损益 = (ActualPL + FutureActualPL)
  5389. type: number
  5390. sumpl:
  5391. description: 总敞口损益 | 汇总损益
  5392. type: number
  5393. totalfutureqty:
  5394. description: 期货头寸总量
  5395. type: number
  5396. totalneedhedgeqty:
  5397. description: 应套保总量
  5398. type: number
  5399. totalspotqty:
  5400. description: 现货头寸总量
  5401. type: number
  5402. updatetime:
  5403. description: 更新时间
  5404. type: string
  5405. type: object
  5406. models.Ermcp3Brand:
  5407. properties:
  5408. areauserid:
  5409. description: 用户id
  5410. type: integer
  5411. brandid:
  5412. description: 品牌id
  5413. type: integer
  5414. brandname:
  5415. description: 品牌名称
  5416. type: string
  5417. deliverygoodsid:
  5418. description: 品种ID
  5419. type: integer
  5420. isvalid:
  5421. description: 是否有效
  5422. type: integer
  5423. type: object
  5424. models.Ermcp3Contract:
  5425. properties:
  5426. accountid:
  5427. description: 期货账户id
  5428. type: string
  5429. amount:
  5430. description: 金额 [1:一口价、3:暂定价]
  5431. type: number
  5432. attachment:
  5433. description: 附件
  5434. type: string
  5435. auditremark:
  5436. description: 审核意见
  5437. type: string
  5438. audittime:
  5439. description: 审核时间
  5440. type: string
  5441. biztype:
  5442. description: 业务类型 1-套保 2-套利
  5443. type: integer
  5444. brandname:
  5445. description: 品牌名称
  5446. type: string
  5447. buynickname:
  5448. description: 销售方昵称
  5449. type: string
  5450. buyuserid:
  5451. description: 采购方ID
  5452. type: integer
  5453. buyusername:
  5454. description: 采购方名称
  5455. type: string
  5456. contracctstatus:
  5457. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5458. type: integer
  5459. contractmargin:
  5460. description: 合同保证金
  5461. type: number
  5462. contractno:
  5463. description: 现货合同编号
  5464. type: string
  5465. contracttype:
  5466. description: 现货合同类型 - 1:采购 -1:销售
  5467. type: integer
  5468. convertfactor:
  5469. description: 标仓系数(品类)
  5470. type: number
  5471. createtime:
  5472. description: 创建时间
  5473. type: string
  5474. currencyid:
  5475. description: 币种id
  5476. type: integer
  5477. currencyname:
  5478. description: 币种名称
  5479. type: string
  5480. deliveryenddate:
  5481. description: 交收期(结束)
  5482. type: string
  5483. deliverygoodscode:
  5484. description: 现货品种代码
  5485. type: string
  5486. deliverygoodsid:
  5487. description: 现货品种ID
  5488. type: integer
  5489. deliverygoodsname:
  5490. description: 现货品种名称
  5491. type: string
  5492. deliverystartdate:
  5493. description: 交收期(开始)
  5494. type: string
  5495. enddate:
  5496. description: 点价结束日期 [2:点价 3:暂定价]
  5497. type: string
  5498. enumdicname:
  5499. description: 单位名称
  5500. type: string
  5501. goodscode:
  5502. description: 点价合约代码
  5503. type: string
  5504. goodsid:
  5505. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5506. type: integer
  5507. goodsname:
  5508. description: 点价商品名称
  5509. type: string
  5510. margin:
  5511. description: 当前保证金
  5512. type: number
  5513. meruserid:
  5514. description: 跟单员id
  5515. type: integer
  5516. meruserlogincode:
  5517. description: 跟单员登录代码
  5518. type: string
  5519. merusername:
  5520. description: 跟单员名称
  5521. type: string
  5522. pointdesc:
  5523. description: 点价备注
  5524. type: string
  5525. price:
  5526. description: 价格\暂定价 [1:一口价、3:暂定价]
  5527. type: number
  5528. pricemove:
  5529. description: 升贴水 [2:点价 3:暂定价]
  5530. type: number
  5531. pricetype:
  5532. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5533. type: integer
  5534. producttype:
  5535. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5536. type: integer
  5537. qty:
  5538. description: 数量
  5539. type: number
  5540. remark:
  5541. description: 备注
  5542. type: string
  5543. saleuserid:
  5544. description: 业务员id
  5545. type: integer
  5546. saleuserlogincode:
  5547. description: 业务员登录代码
  5548. type: string
  5549. saleusername:
  5550. description: 业务员名称
  5551. type: string
  5552. sellnickname:
  5553. description: 采购方昵称
  5554. type: string
  5555. selluserid:
  5556. description: 销售方ID
  5557. type: integer
  5558. sellusername:
  5559. description: 销售方名称
  5560. type: string
  5561. spotcontractid:
  5562. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5563. type: string
  5564. spotgoodsbrandid:
  5565. description: 现货品牌ID(DGFactoryItem表的ID)
  5566. type: integer
  5567. spotgoodsdesc:
  5568. description: 商品型号
  5569. type: string
  5570. startdate:
  5571. description: 点价开始日期 [2:点价 3:暂定价]
  5572. type: string
  5573. subjectid:
  5574. description: 交易主体ID
  5575. type: integer
  5576. subjectname:
  5577. description: 交易主体名称
  5578. type: string
  5579. tradeuserid:
  5580. description: 交易员id
  5581. type: integer
  5582. tradeuserlogincode:
  5583. description: 交易员登录代码
  5584. type: string
  5585. tradeusername:
  5586. description: 交易员名称
  5587. type: string
  5588. unitid:
  5589. description: 单位id(取品类上的单位id)
  5590. type: integer
  5591. updatetime:
  5592. description: 更新时间
  5593. type: string
  5594. userid:
  5595. description: 所属机构ID
  5596. type: integer
  5597. vatrate:
  5598. description: 增值税率
  5599. type: number
  5600. wrstandardcode:
  5601. description: 品类代码
  5602. type: string
  5603. wrstandardid:
  5604. description: 品类ID
  5605. type: integer
  5606. wrstandardname:
  5607. description: 品类名称
  5608. type: string
  5609. type: object
  5610. models.Ermcp3ContractMiddleGoodsCfg:
  5611. properties:
  5612. agreeunit:
  5613. description: 合约乘数
  5614. type: number
  5615. convertratio:
  5616. description: 期货品种系数
  5617. type: number
  5618. covertqty:
  5619. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5620. type: integer
  5621. middlegoodsid:
  5622. description: 套保品种ID
  5623. type: integer
  5624. middlegoodspricedqty3:
  5625. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5626. example: "0"
  5627. type: string
  5628. pendingpricedqty:
  5629. description: 待点价量
  5630. example: "0"
  5631. type: string
  5632. relatedmiddlegoodsqty:
  5633. description: 已关联量(套保品种-期货)
  5634. example: "0"
  5635. type: string
  5636. spotcontractid:
  5637. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5638. type: string
  5639. type: object
  5640. models.Ermcp3ExposureContractDetail:
  5641. properties:
  5642. biztype:
  5643. description: 业务类型 1-套保 2-套利
  5644. type: integer
  5645. brandname:
  5646. description: 品牌名称
  5647. type: string
  5648. buyuserid:
  5649. description: 采购方id
  5650. type: integer
  5651. buyusername:
  5652. description: 采购方名称
  5653. type: string
  5654. contractno:
  5655. description: 合同编号
  5656. type: string
  5657. contracttype:
  5658. description: 现货合同类型 - 1:采购 -1:销售
  5659. type: integer
  5660. convertfactor:
  5661. description: 标仓系数
  5662. type: number
  5663. convertratio:
  5664. description: 折算系数(套保品种)
  5665. type: number
  5666. curqty:
  5667. description: 今定价量
  5668. type: number
  5669. deliverygoodscode:
  5670. description: 现货品种代码
  5671. type: string
  5672. deliverygoodsid:
  5673. description: 现货品种id
  5674. type: integer
  5675. deliverygoodsname:
  5676. description: 现货品种名称
  5677. type: string
  5678. diffhedgeqty:
  5679. description: 套保变动量
  5680. type: number
  5681. diffneedhedgeqty:
  5682. description: 应套保变动量
  5683. type: number
  5684. diffqty:
  5685. description: 套保品种今变动量
  5686. type: number
  5687. enumdicname:
  5688. description: 单位名称
  5689. type: string
  5690. mgunitname:
  5691. description: 套保品种单位名称
  5692. type: string
  5693. middlegoodscode:
  5694. description: 套保品种代码
  5695. type: string
  5696. middlegoodsid:
  5697. description: 套保品种id
  5698. type: integer
  5699. middlegoodsname:
  5700. description: 套保品种名称
  5701. type: string
  5702. needarbitrageratio:
  5703. description: 应套利比例
  5704. type: number
  5705. needhedgeratio:
  5706. description: 应套保比例
  5707. type: number
  5708. pricedqty:
  5709. description: 已定价量
  5710. type: number
  5711. qty:
  5712. description: 合同量
  5713. type: number
  5714. reckondate:
  5715. description: 交易日(reckondate)
  5716. type: string
  5717. selluserid:
  5718. description: 销售方id
  5719. type: integer
  5720. sellusername:
  5721. description: 销售方名称
  5722. type: string
  5723. spotcontractid:
  5724. description: 合同id
  5725. type: string
  5726. todaypricedqty:
  5727. description: 今定价量
  5728. type: number
  5729. tradedate:
  5730. description: 交易日
  5731. type: string
  5732. unitid:
  5733. description: 品类单位id
  5734. type: integer
  5735. userid:
  5736. description: 机构id
  5737. type: integer
  5738. username:
  5739. description: 交易用户
  5740. type: string
  5741. wrstandardcode:
  5742. description: 现货商品代码
  5743. type: string
  5744. wrstandardid:
  5745. description: 现货商品id
  5746. type: integer
  5747. wrstandardname:
  5748. description: 现货商品名称
  5749. type: string
  5750. type: object
  5751. models.Ermcp3ExposureDetail:
  5752. properties:
  5753. areauserid:
  5754. description: 机构ID
  5755. type: integer
  5756. changeQty:
  5757. description: 套保变动量
  5758. type: number
  5759. contracttype:
  5760. description: 现货合同类型 - 1:采购 -1:销售
  5761. type: integer
  5762. convertfactor:
  5763. description: 标仓系数
  5764. type: number
  5765. convertratio:
  5766. description: 折算系数
  5767. type: number
  5768. createtime:
  5769. description: 时间
  5770. type: string
  5771. enumdicname:
  5772. description: 现货商品单位名称
  5773. type: string
  5774. logtype:
  5775. description: 类型 - 1:套保计划 2:现货合同
  5776. type: integer
  5777. mgunitid:
  5778. description: 套保品种单位id
  5779. type: integer
  5780. mgunitidname:
  5781. description: 套保品种单位名称
  5782. type: string
  5783. middlegoodsId:
  5784. description: 套保商品id
  5785. type: integer
  5786. middlegoodscode:
  5787. description: 套保商品代码
  5788. type: string
  5789. middlegoodsname:
  5790. description: 套保商品名称
  5791. type: string
  5792. qty:
  5793. description: 数量
  5794. type: number
  5795. relateNo:
  5796. description: 现货合同/套保计划编号
  5797. type: string
  5798. unitid:
  5799. description: 现货商品单位id
  5800. type: integer
  5801. wrstandardcode:
  5802. description: 现货商品代码
  5803. type: string
  5804. wrstandardid:
  5805. description: 现货商品ID(SEQ_WRSTANDARD)
  5806. type: integer
  5807. wrstandardname:
  5808. description: 现货商品名称
  5809. type: string
  5810. type: object
  5811. models.Ermcp3ExposureFutuDetail:
  5812. properties:
  5813. accountid:
  5814. description: 交易账户id
  5815. type: integer
  5816. accountname:
  5817. description: 交易账户
  5818. type: string
  5819. begindate:
  5820. description: 开始交易日
  5821. type: string
  5822. buyorsell:
  5823. description: 方向 0-买 1-卖
  5824. type: integer
  5825. diffmgqty:
  5826. description: 套保品种今变化量
  5827. type: number
  5828. diffneedqty:
  5829. description: 应套保总量变化量
  5830. type: number
  5831. difftradeqty:
  5832. description: 交易品种今变化量
  5833. type: number
  5834. enddate:
  5835. description: 结束交易日
  5836. type: string
  5837. enumdicname:
  5838. description: 单位名称
  5839. type: string
  5840. goodscode:
  5841. description: 商品代码
  5842. type: string
  5843. goodsid:
  5844. description: 商品id
  5845. type: integer
  5846. goodsname:
  5847. description: 商品名称
  5848. type: string
  5849. holdqty:
  5850. description: 期末持仓量
  5851. type: number
  5852. middlegoodscode:
  5853. description: 套保商品代码
  5854. type: string
  5855. middlegoodsid:
  5856. description: 套保商品id
  5857. type: integer
  5858. middlegoodsname:
  5859. description: 套保商品名称
  5860. type: string
  5861. oriholdqty:
  5862. description: 期初持仓量
  5863. type: number
  5864. reckondate:
  5865. description: 交易日(RECKONDATE)
  5866. type: string
  5867. todaycloseqty:
  5868. description: 今平仓量
  5869. type: number
  5870. todayopenqty:
  5871. description: 今开仓量
  5872. type: number
  5873. tradedate:
  5874. description: 交易日(RECKONDATE)
  5875. type: string
  5876. username:
  5877. description: 用户名称(交易用户)
  5878. type: string
  5879. type: object
  5880. models.Ermcp3ExposureHedgeplanDetail:
  5881. properties:
  5882. biztype:
  5883. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5884. type: integer
  5885. changqty:
  5886. description: 应套保总量变化量
  5887. type: number
  5888. contracttype:
  5889. description: 计划类型 - 1:采购 -1:销售
  5890. type: integer
  5891. convertratio:
  5892. description: 折算系数(套保品种)
  5893. type: number
  5894. deliverygoodscode:
  5895. description: 现货商品代码
  5896. type: string
  5897. deliverygoodsid:
  5898. description: 现货商品id
  5899. type: integer
  5900. deliverygoodsname:
  5901. description: 现货商吕名称
  5902. type: string
  5903. dgunitid:
  5904. description: 现货商品单位id
  5905. type: integer
  5906. dgunitidname:
  5907. description: 单位名称(现货商品)
  5908. type: string
  5909. diffqty:
  5910. description: 套保品种今变动量
  5911. type: number
  5912. enumdicname:
  5913. description: 单位名称(品类)
  5914. type: string
  5915. hedgeplanid:
  5916. description: 套保计划id
  5917. type: string
  5918. hedgeplanno:
  5919. description: 套保计划名称
  5920. type: string
  5921. hedgeplanstatus:
  5922. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5923. type: integer
  5924. mgunitidname:
  5925. description: 单位名称(套保商品)
  5926. type: string
  5927. middlegoodscode:
  5928. description: 套保品种代码
  5929. type: string
  5930. middlegoodsid:
  5931. description: 套保品种id
  5932. type: integer
  5933. middlegoodsname:
  5934. description: 套保品种名称
  5935. type: string
  5936. needarbitrageratio:
  5937. description: 应套利比例
  5938. type: number
  5939. needhedgeratio:
  5940. description: 应套保比例
  5941. type: number
  5942. pricedqty:
  5943. description: 已定价量
  5944. type: number
  5945. qty:
  5946. description: 合同量
  5947. type: number
  5948. reckondate:
  5949. description: 交易日(reckondate)
  5950. type: string
  5951. tradedate:
  5952. description: 交易日(登记日)
  5953. type: string
  5954. unitid:
  5955. description: 品类单位id
  5956. type: integer
  5957. userid:
  5958. description: 机构id
  5959. type: integer
  5960. wrstandardcode:
  5961. description: 品类代码
  5962. type: string
  5963. wrstandardid:
  5964. description: 品类id
  5965. type: integer
  5966. wrstandardname:
  5967. description: 品类名称
  5968. type: string
  5969. type: object
  5970. models.Ermcp3ExposureParamChLog:
  5971. properties:
  5972. accountid:
  5973. description: 期货账户ID (作废, 默认为0)
  5974. type: integer
  5975. aftervalue:
  5976. description: 应套保\套利量变更后(调整后应套保总量)
  5977. type: number
  5978. areauserid:
  5979. description: 所属机构\交易用户ID
  5980. type: integer
  5981. beforevalue:
  5982. description: 应套保\套利量变更前(调整前应套保总量)
  5983. type: number
  5984. begindate:
  5985. description: 开始交易日
  5986. type: string
  5987. changelogtype:
  5988. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5989. type: integer
  5990. curvalue:
  5991. description: 当前套保\套利量(套保总量|套利总量)
  5992. type: number
  5993. diffvalue:
  5994. description: 应套保总量变化量
  5995. type: number
  5996. enddate:
  5997. description: 结束交易日
  5998. type: string
  5999. logdatetime:
  6000. description: 流水日期
  6001. type: string
  6002. logid:
  6003. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  6004. type: string
  6005. middlegoodscode:
  6006. description: 套保品种代码
  6007. type: string
  6008. middlegoodsid:
  6009. description: 套保品种
  6010. type: integer
  6011. middlegoodsname:
  6012. description: 套保品种名称
  6013. type: string
  6014. paramaftervalue:
  6015. description: 参数变更后(调整后参数值)
  6016. type: number
  6017. parambeforevalue:
  6018. description: 参数变更前(调整前参数值)
  6019. type: number
  6020. reckondate:
  6021. description: 交易日(reckondate)
  6022. type: string
  6023. tradedate:
  6024. description: 交易日(yyyyMMdd)
  6025. type: string
  6026. type: object
  6027. models.Ermcp3ExpourseReport:
  6028. properties:
  6029. accountid:
  6030. description: 期货账户ID (作废, 默认为0)
  6031. type: integer
  6032. accountname:
  6033. description: 机构名称
  6034. type: string
  6035. arbitrageqty:
  6036. description: 套利量
  6037. type: number
  6038. areauserid:
  6039. description: 所属机构\交易用户ID
  6040. type: integer
  6041. begindate:
  6042. description: 开始交易日
  6043. type: string
  6044. buyfutureqty:
  6045. description: 买入期货数量
  6046. type: number
  6047. buyplanqty:
  6048. description: 采购计划数量
  6049. type: number
  6050. buypricedqty:
  6051. description: 采购合同已定价数量
  6052. type: number
  6053. cycletime:
  6054. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6055. type: string
  6056. cycletype:
  6057. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6058. type: integer
  6059. diffexposure:
  6060. description: 变动量(套保敞口)
  6061. type: number
  6062. difffutuqty:
  6063. description: 变动量(期货)
  6064. type: number
  6065. diffhedgeqty:
  6066. description: 变动量(现货应套保总量)
  6067. type: number
  6068. diffmgqtya:
  6069. description: 套保变动量
  6070. type: number
  6071. diffmgqtyb:
  6072. description: 套利变动量
  6073. type: number
  6074. diffneedqty:
  6075. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  6076. type: number
  6077. diffqty:
  6078. description: 变动量(总敞口)
  6079. type: number
  6080. diffspotqty:
  6081. description: 变动量(现货) | 除税变动量
  6082. type: number
  6083. enddate:
  6084. description: 结束交易日
  6085. type: string
  6086. enumdicname:
  6087. description: 单位名称
  6088. type: string
  6089. hedgeqty:
  6090. description: 套保量
  6091. type: number
  6092. mgneedhedgeratio:
  6093. description: 套保比例(套保品的)
  6094. type: number
  6095. middlegoodsid:
  6096. description: 套保品种ID
  6097. type: integer
  6098. middlegoodsname:
  6099. description: 套保商品名称
  6100. type: string
  6101. middlgoodscode:
  6102. description: 套保商品代码
  6103. type: string
  6104. needarbitrageqty:
  6105. description: 应套利量
  6106. type: number
  6107. needarbitrageratio:
  6108. description: 套利比例(套保品的)
  6109. type: number
  6110. needhedgeexposoure:
  6111. description: 应套保敞口(套保敞口)
  6112. type: number
  6113. needhedgeqty:
  6114. description: 应套保量
  6115. type: number
  6116. needhedgeratio:
  6117. description: 应套保敞口比例
  6118. type: number
  6119. needqty:
  6120. description: 应套总量 = 应套保量 + 应套利量
  6121. type: number
  6122. oriarbitrageqty:
  6123. description: 期初套利量
  6124. type: number
  6125. oribuyfutureqty:
  6126. description: 期初买入期货数量
  6127. type: number
  6128. oribuyplanqty:
  6129. description: 期初采购计划数量
  6130. type: number
  6131. oribuypricedqty:
  6132. description: 期初采购合同已定价数量
  6133. type: number
  6134. orihedgeqty:
  6135. description: 期初套保量
  6136. type: number
  6137. orineedarbitrageqty:
  6138. description: 期初应套利量
  6139. type: number
  6140. orineedhedgeexposoure:
  6141. description: 期初应套保敞口
  6142. type: number
  6143. orineedhedgeqty:
  6144. description: 期初应套保量
  6145. type: number
  6146. orisellfutureqty:
  6147. description: 期初卖出期货数量
  6148. type: number
  6149. orisellplanqty:
  6150. description: 期初销售计划数量
  6151. type: number
  6152. orisellpricedqty:
  6153. description: 期初销售合同已定价数量
  6154. type: number
  6155. oritotalexposure:
  6156. description: 期初实时总敞口
  6157. type: number
  6158. oritotalfutureqty:
  6159. description: 期初期货头寸总量
  6160. type: number
  6161. oritotalneedhedgeqty:
  6162. description: 期初应套保总量
  6163. type: number
  6164. oritotalspotqty:
  6165. description: 期初现货头寸总量
  6166. type: number
  6167. reckondate:
  6168. description: 日照时期(yyyyMMdd)
  6169. type: string
  6170. sellfutureqty:
  6171. description: 卖出期货数量
  6172. type: number
  6173. sellplanqty:
  6174. description: 销售计划数量
  6175. type: number
  6176. sellpricedqty:
  6177. description: 销售合同已定价数量
  6178. type: number
  6179. totalexposure:
  6180. description: 实时总敞口(总敞口)
  6181. type: number
  6182. totalfutureqty:
  6183. description: 期货头寸总量(期货总量)
  6184. type: number
  6185. totalhedgeratio:
  6186. description: 敞口比例
  6187. type: number
  6188. totalneedhedgeqty:
  6189. description: 应套保总量(现货应套保总量)
  6190. type: number
  6191. totalspotqty:
  6192. description: 现货头寸总量 | 除税总量
  6193. type: number
  6194. unitid:
  6195. description: 单位id
  6196. type: integer
  6197. updatetime:
  6198. description: 更新时间
  6199. type: string
  6200. type: object
  6201. models.Ermcp3FinanceReport:
  6202. properties:
  6203. accountname:
  6204. description: 机构名称
  6205. type: string
  6206. areauserid:
  6207. description: 所属机构\交易用户ID
  6208. type: integer
  6209. begindate:
  6210. description: 开始交易日
  6211. type: string
  6212. biztype:
  6213. description: 业务类型 - 1:套保 2:套利
  6214. type: integer
  6215. brandname:
  6216. description: 品牌名称
  6217. type: string
  6218. buypreinvoicedamount:
  6219. description: 采购预收票额(预收票额)
  6220. type: number
  6221. buyprepaidamount:
  6222. description: 采购预付款额(预付货款额)
  6223. type: number
  6224. buytodayinvoiceamount:
  6225. description: 采购今收票额(今收票额)
  6226. type: number
  6227. buytodayrefundamount:
  6228. description: 采购今收退款额(今收退款额)
  6229. type: number
  6230. buytodaysettleamount:
  6231. description: 采购今付款额(今付货款额)
  6232. type: number
  6233. buyuninvoicedamount:
  6234. description: 采购应收票额(应收票额)
  6235. type: number
  6236. buyunpaidamount:
  6237. description: 采购应付款额(应付货款额)
  6238. type: number
  6239. currencyid:
  6240. description: 结算币种ID
  6241. type: integer
  6242. currencyname:
  6243. description: 币种名称
  6244. type: string
  6245. cycletime:
  6246. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6247. type: string
  6248. cycletype:
  6249. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6250. type: integer
  6251. deliverygoodscode:
  6252. description: 现货品种代码
  6253. type: string
  6254. deliverygoodsid:
  6255. description: 现货品种ID
  6256. type: integer
  6257. deliverygoodsname:
  6258. description: 现货品种名称
  6259. type: string
  6260. enddate:
  6261. description: 结束交易日
  6262. type: string
  6263. reckondate:
  6264. description: 日照时期(yyyyMMdd)
  6265. type: string
  6266. sellpreinvoicedamount:
  6267. description: 销售预开票额(预开票额)
  6268. type: number
  6269. sellprepaidamount:
  6270. description: 销售预收款额(预收货款额)
  6271. type: number
  6272. selltodayinvoiceamount:
  6273. description: 销售今开票额(今开票额)
  6274. type: number
  6275. selltodayrefundamount:
  6276. description: 销售今付退款额(今付退款额)
  6277. type: number
  6278. selltodaysettleamount:
  6279. description: 销售今收款额(今收货款额)
  6280. type: number
  6281. selluninvoicedamount:
  6282. description: 销售应开票额(应开票额)
  6283. type: number
  6284. sellunpaidamount:
  6285. description: 销售应收款额(应收货款额)
  6286. type: number
  6287. spotgoodsbrandid:
  6288. description: 现货品牌ID
  6289. type: integer
  6290. todaypaysum:
  6291. description: 今付款合计
  6292. type: number
  6293. todayreceivesum:
  6294. description: 今收款合计
  6295. type: number
  6296. updatetime:
  6297. description: 更新时间
  6298. type: string
  6299. wrfactortypeid:
  6300. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6301. type: integer
  6302. wrstandardcode:
  6303. description: 品类代码
  6304. type: string
  6305. wrstandardid:
  6306. description: 现货商品ID
  6307. type: integer
  6308. wrstandardname:
  6309. description: 品类名称
  6310. type: string
  6311. type: object
  6312. models.Ermcp3GoodsGroup:
  6313. properties:
  6314. agreeunit:
  6315. description: 合约单位
  6316. type: number
  6317. areauserid:
  6318. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6319. type: integer
  6320. canshort:
  6321. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6322. type: integer
  6323. closepricemode:
  6324. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6325. type: integer
  6326. createtime:
  6327. description: 创建时间
  6328. type: string
  6329. creatorid:
  6330. description: 创建人
  6331. type: integer
  6332. currencyid:
  6333. description: 报价货币ID
  6334. type: integer
  6335. decimalplace:
  6336. description: 报价小数位
  6337. type: integer
  6338. enumdicname:
  6339. description: 单位名称
  6340. type: string
  6341. exchangefullname:
  6342. description: 交易所全称
  6343. type: string
  6344. excludecfg:
  6345. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6346. type: integer
  6347. exexchangecode:
  6348. description: 交易所代码
  6349. type: string
  6350. exexchangeid:
  6351. description: 外部交易所ID[通道交易]
  6352. type: integer
  6353. exexchangename:
  6354. description: 交易所名称
  6355. type: string
  6356. goodsgroupid:
  6357. description: 商品组ID(自增ID)
  6358. type: integer
  6359. goodsgroupname:
  6360. description: 商品组名称
  6361. type: string
  6362. goodsgroupstatus:
  6363. description: 商品组状态 - 1:正常 2:注销
  6364. type: integer
  6365. goodunitid:
  6366. description: 报价单位ID
  6367. type: integer
  6368. groupcategroyid:
  6369. description: 品种分类ID
  6370. type: integer
  6371. innerdealmode:
  6372. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6373. type: integer
  6374. marketid:
  6375. description: 所属市场ID
  6376. type: integer
  6377. modifierid:
  6378. description: 修改人
  6379. type: integer
  6380. modifytime:
  6381. description: 修改时间
  6382. type: string
  6383. outerdealmode:
  6384. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6385. type: integer
  6386. outergroupcode:
  6387. description: 外部商品组代码[通道交易]
  6388. type: string
  6389. quoteminunit:
  6390. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6391. type: integer
  6392. quotesourcegroupid:
  6393. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6394. type: integer
  6395. syncgoodsqty:
  6396. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6397. type: integer
  6398. required:
  6399. - areauserid
  6400. type: object
  6401. models.Ermcp3HPMiddleGoods:
  6402. properties:
  6403. biztype:
  6404. description: 业务类型 1:套保 2:套利
  6405. type: integer
  6406. contracttype:
  6407. description: 合同类型 1:采购 -1:销售
  6408. type: integer
  6409. convertratio:
  6410. description: 折算系数
  6411. type: number
  6412. customername:
  6413. description: 对手手名称
  6414. type: string
  6415. customeruserid:
  6416. description: 对手id
  6417. type: integer
  6418. enumdicname:
  6419. description: 现货单位名称
  6420. type: string
  6421. hedgeplanid:
  6422. description: 计划id
  6423. type: string
  6424. hedgeplanno:
  6425. description: 计划编号
  6426. type: string
  6427. middlegoodsid:
  6428. description: 套保品种ID
  6429. type: integer
  6430. middlegoodsplanqty3:
  6431. description: 应套保计划量
  6432. type: number
  6433. needhedgeratio:
  6434. description: 套保比例
  6435. type: number
  6436. pricedqty:
  6437. description: 已定价量
  6438. type: number
  6439. relatedmiddlegoodsqty:
  6440. description: 已关联量(套保品种)(期货)
  6441. type: number
  6442. unitid:
  6443. description: 现货单位id
  6444. type: integer
  6445. userid:
  6446. description: 用户id
  6447. type: integer
  6448. vatrate:
  6449. description: 增值税率
  6450. type: number
  6451. wrstandardcode:
  6452. description: 现货商品代码
  6453. type: string
  6454. wrstandardid:
  6455. description: 现货商品id
  6456. type: integer
  6457. wrstandardname:
  6458. description: 现货商品名称
  6459. type: string
  6460. type: object
  6461. models.Ermcp3HedgePlan:
  6462. properties:
  6463. accountid:
  6464. description: 资金账号
  6465. type: integer
  6466. areauserid:
  6467. description: 用户ID
  6468. type: integer
  6469. auditid:
  6470. description: 审核id
  6471. type: integer
  6472. auditname:
  6473. description: 审核人名称
  6474. type: string
  6475. auditremark:
  6476. description: 审核备注
  6477. type: string
  6478. auditsrc:
  6479. description: 审核来源 1-管理端 2-终端
  6480. type: integer
  6481. audittime:
  6482. description: 审核时间
  6483. type: string
  6484. contracttype:
  6485. description: 计划类型 - 1:采购 -1:销售
  6486. type: integer
  6487. convertfactor:
  6488. description: 标仓系数
  6489. type: number
  6490. createtime:
  6491. description: 创建时间
  6492. type: string
  6493. currencyid:
  6494. description: 币种id
  6495. type: integer
  6496. currencyname:
  6497. description: 币种名称
  6498. type: string
  6499. deliverygoodscode:
  6500. description: 现货品种代码
  6501. type: string
  6502. deliverygoodsid:
  6503. description: 现货品种ID
  6504. type: integer
  6505. deliverygoodsname:
  6506. description: 现货品种名称
  6507. type: string
  6508. enumdicname:
  6509. description: 单位名称(现货商品)
  6510. type: string
  6511. hedgeplanid:
  6512. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6513. type: string
  6514. hedgeplanno:
  6515. description: 套保计划编号(名称)
  6516. type: string
  6517. hedgeplanstatus:
  6518. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6519. type: integer
  6520. planqty:
  6521. description: 计划数量
  6522. type: number
  6523. plantime:
  6524. description: 计划时间
  6525. type: string
  6526. producttype:
  6527. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6528. type: integer
  6529. remark:
  6530. description: 备注
  6531. type: string
  6532. spotgoodsdesc:
  6533. description: 商品型号
  6534. type: string
  6535. taaccountname:
  6536. description: 资金账号名称
  6537. type: string
  6538. tradeuserid:
  6539. description: 交易用户id
  6540. type: integer
  6541. tradeusername:
  6542. description: 交易用户名称
  6543. type: string
  6544. unitid:
  6545. description: 单位id(现货商品)
  6546. type: integer
  6547. updatetime:
  6548. description: 更新时间
  6549. type: string
  6550. vatrate:
  6551. description: 增值税率
  6552. type: number
  6553. wrstandardcode:
  6554. description: 品类代码
  6555. type: string
  6556. wrstandardid:
  6557. description: 品类id
  6558. type: integer
  6559. wrstandardname:
  6560. description: 品类名称
  6561. type: string
  6562. wrunitid:
  6563. description: 品类单位id
  6564. type: integer
  6565. wrunitidame:
  6566. description: 品类单位名称
  6567. type: string
  6568. type: object
  6569. models.Ermcp3InnerTradeLink:
  6570. properties:
  6571. accountid:
  6572. description: 期货账号代码 | 资金账号ID
  6573. type: integer
  6574. buyorsell:
  6575. description: 方向 - 0:买 1:卖
  6576. type: integer
  6577. channelbuildtype:
  6578. description: 委托单据类型 0:无 1:建仓 2:平仓
  6579. type: integer
  6580. currencyid:
  6581. description: 币种id
  6582. type: integer
  6583. currencyname:
  6584. description: 结算币种 名称
  6585. type: string
  6586. goodscode:
  6587. description: 商品代码
  6588. type: string
  6589. goodsid:
  6590. description: 商品ID
  6591. type: integer
  6592. goodsname:
  6593. description: 商品名称
  6594. type: string
  6595. outtradeid:
  6596. description: 外部成交单号
  6597. type: string
  6598. taname:
  6599. description: 期货账户名称
  6600. type: string
  6601. tradeid:
  6602. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6603. type: string
  6604. tradeprice:
  6605. description: 成交价格
  6606. type: number
  6607. tradeqty:
  6608. description: 期货成交数量
  6609. type: integer
  6610. tradetime:
  6611. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6612. type: string
  6613. username:
  6614. description: 用户名称
  6615. type: string
  6616. type: object
  6617. models.Ermcp3OutTradeLink:
  6618. properties:
  6619. buyorsell:
  6620. description: 买卖方向 - 0:买 1:卖
  6621. type: integer
  6622. channelbuildtype:
  6623. description: 开平标志- 0:无 1:建仓 2:平仓
  6624. type: integer
  6625. currencyname:
  6626. description: 币种名称
  6627. type: string
  6628. exexchangecode:
  6629. description: 交易所代码
  6630. type: string
  6631. exexchangename:
  6632. description: 交易所名称
  6633. type: string
  6634. goodscode:
  6635. description: 合约代码
  6636. type: string
  6637. goodsid:
  6638. description: 合约id
  6639. type: integer
  6640. goodsname:
  6641. description: 合约名称
  6642. type: string
  6643. hasinnerorder:
  6644. description: 是否有内部单关联 - 0:无 1:有
  6645. type: integer
  6646. hedgeaccountcode:
  6647. description: 外部账号 | 对冲账号
  6648. type: string
  6649. outtradeid:
  6650. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6651. type: string
  6652. tradeprice:
  6653. description: 成交价格
  6654. type: number
  6655. tradeqty:
  6656. description: 成交数量
  6657. type: integer
  6658. tradetime:
  6659. description: 成交时间
  6660. type: string
  6661. type: object
  6662. models.Ermcp3PaAreaAuditCfg:
  6663. properties:
  6664. areauserid:
  6665. description: 用户ID
  6666. type: integer
  6667. buyinauditflag:
  6668. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6669. type: integer
  6670. costratioauditflag:
  6671. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6672. type: integer
  6673. customerauditflag:
  6674. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6675. type: integer
  6676. deliveryauditflag:
  6677. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6678. type: integer
  6679. invoiceauditflag:
  6680. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6681. type: integer
  6682. mgneedhedgeratioauditflag:
  6683. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6684. type: integer
  6685. moneyauditflag:
  6686. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6687. type: integer
  6688. operatorid:
  6689. description: 操作人
  6690. type: integer
  6691. operatorsrc:
  6692. description: 操作来源 - 1:管理端 2:终端
  6693. type: integer
  6694. pointpriceauditflag:
  6695. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6696. type: integer
  6697. produceinauditflag:
  6698. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6699. type: integer
  6700. produceoutauditflag:
  6701. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6702. type: integer
  6703. selloutauditflag:
  6704. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6705. type: integer
  6706. sgconvertratioauditflag:
  6707. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6708. type: integer
  6709. sgvtaratioauditflag:
  6710. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6711. type: integer
  6712. spotcontractauditflag:
  6713. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6714. type: integer
  6715. updatetime:
  6716. description: 更新时间
  6717. type: string
  6718. type: object
  6719. models.Ermcp3PaAreaSubject:
  6720. properties:
  6721. areauserid:
  6722. description: 所属机构
  6723. type: integer
  6724. canmodify:
  6725. description: 是否可修改 - 0:否 1:是
  6726. type: integer
  6727. createtime:
  6728. description: 创建时间
  6729. type: string
  6730. creatorid:
  6731. description: 创建人ID
  6732. type: string
  6733. creatorsrc:
  6734. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6735. type: integer
  6736. modifierid:
  6737. description: 修改人
  6738. type: string
  6739. modifiersrc:
  6740. description: 修改人来源 - 1:管理端 2:终端
  6741. type: integer
  6742. modifytime:
  6743. description: 修改时间
  6744. type: string
  6745. parentsubjectid:
  6746. description: 上级主体ID
  6747. type: string
  6748. remark:
  6749. description: 备注
  6750. type: string
  6751. subjectid:
  6752. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6753. type: integer
  6754. subjectname:
  6755. description: 主体名称
  6756. type: string
  6757. subjectstatus:
  6758. description: '主体状态 - 1:正常 2: 停用'
  6759. type: integer
  6760. subjecttype:
  6761. description: 主体类型 - 1:交易主体 2:业务部门
  6762. type: integer
  6763. type: object
  6764. models.Ermcp3PaTradeLink:
  6765. properties:
  6766. accountid:
  6767. description: 期货账户代码 | 账号ID
  6768. type: integer
  6769. agreeunit:
  6770. description: 合约乘数
  6771. type: number
  6772. buyorsell:
  6773. description: 方向 - 0:买 1:卖
  6774. type: integer
  6775. channelbuildtype:
  6776. description: 委托单据类型 0:无 1:建仓 2:平仓
  6777. type: integer
  6778. charge:
  6779. description: 手续费
  6780. type: number
  6781. closepl:
  6782. description: 平仓盈亏
  6783. type: number
  6784. closetype:
  6785. description: 平仓方式 - 0:无 1:平今 2:平昨
  6786. type: integer
  6787. convertratio:
  6788. description: 折算系数
  6789. type: number
  6790. enumdicname:
  6791. description: 单位名称
  6792. type: string
  6793. executeprice:
  6794. description: 执行价 [期权]
  6795. type: integer
  6796. goodscode:
  6797. description: 合约代码
  6798. type: string
  6799. goodsgroupid:
  6800. description: 对冲品种ID[期货合约商品组ID]
  6801. type: integer
  6802. goodsid:
  6803. description: 商品ID
  6804. type: integer
  6805. goodsname:
  6806. description: 合约名称
  6807. type: string
  6808. goodunitid:
  6809. description: 单位id
  6810. type: integer
  6811. hedgeflag:
  6812. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6813. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6814. type: integer
  6815. marketid:
  6816. description: 市场ID
  6817. type: integer
  6818. middlegoodsid:
  6819. description: 套保品种ID
  6820. type: integer
  6821. middlegoodsqty:
  6822. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6823. type: number
  6824. optioncode:
  6825. description: 期权代码 [期权]
  6826. type: string
  6827. ordertype:
  6828. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6829. type: integer
  6830. ordertypename:
  6831. description: 订单类型
  6832. type: string
  6833. parentaccountid:
  6834. description: 所属母账户
  6835. type: integer
  6836. premium:
  6837. description: 权利金 [期权]
  6838. type: number
  6839. relatedlot:
  6840. description: 已关联数量(已关联数量手) | db:关联手数
  6841. type: number
  6842. relatedouttradeid:
  6843. description: 关联外部成交单ID
  6844. type: string
  6845. relatedqty:
  6846. description: 关联数量
  6847. type: number
  6848. spotcontractid:
  6849. description: 现货合同ID [4:套期保值\10\11]
  6850. type: string
  6851. taname:
  6852. description: 期货账户名称
  6853. type: string
  6854. tradeamount:
  6855. description: 成交金额(账户)
  6856. type: number
  6857. tradedate:
  6858. description: 交易日(yyyyMMdd)
  6859. type: string
  6860. tradeid:
  6861. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6862. type: string
  6863. tradelot:
  6864. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6865. type: integer
  6866. tradeprice:
  6867. description: 成交价格
  6868. type: number
  6869. tradetime:
  6870. description: 时间 | db:成交时间
  6871. type: string
  6872. tradetype:
  6873. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6874. type: integer
  6875. userid:
  6876. description: 所属机构 - 所属母账户的UserID
  6877. type: string
  6878. username:
  6879. description: 用户名称
  6880. type: string
  6881. type: object
  6882. models.Ermcp3ParamChangeApp:
  6883. properties:
  6884. aftervalue:
  6885. description: 变更后
  6886. type: number
  6887. applicationid:
  6888. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6889. type: string
  6890. applyid:
  6891. description: 申请人
  6892. type: string
  6893. applyname:
  6894. description: 申请人名称(代码)
  6895. type: string
  6896. applyremark:
  6897. description: 申请备注
  6898. type: string
  6899. applysrc:
  6900. description: 申请来源 - 1:管理端 2:终端
  6901. type: integer
  6902. applystatus:
  6903. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6904. type: integer
  6905. applytime:
  6906. description: 申请时间
  6907. type: string
  6908. areauserid:
  6909. description: 所属机构用户ID
  6910. type: integer
  6911. auditid:
  6912. description: 审核人
  6913. type: string
  6914. auditname:
  6915. description: 审核人名称(代码)
  6916. type: string
  6917. auditremark:
  6918. description: 审核备注
  6919. type: string
  6920. auditsrc:
  6921. description: 审核来源 - 1:管理端 2:终端
  6922. type: integer
  6923. audittime:
  6924. description: 审核时间
  6925. type: string
  6926. audittradedate:
  6927. description: 审核交易日(yyyyMMdd)
  6928. type: string
  6929. beforevalue:
  6930. description: 变更前
  6931. type: number
  6932. deliverygoodscode:
  6933. description: 品种代码
  6934. type: string
  6935. deliverygoodsid:
  6936. description: 品种id
  6937. type: integer
  6938. deliverygoodsname:
  6939. description: 品种名称
  6940. type: string
  6941. middlegoodscode:
  6942. description: 套保品种代码
  6943. type: string
  6944. middlegoodsid:
  6945. description: 套保品种ID [ParamChangeType = 2,3,4]
  6946. type: integer
  6947. middlegoodsname:
  6948. description: 套保品种名称
  6949. type: string
  6950. operatetype:
  6951. description: 操作类型 - 1:新增 2:修改
  6952. type: integer
  6953. paramchangetype:
  6954. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6955. type: integer
  6956. wrstandardcode:
  6957. description: 现货商品代码
  6958. type: string
  6959. wrstandardid:
  6960. description: 现货商品ID [ParamChangeType = 1,2,3]
  6961. type: integer
  6962. wrstandardname:
  6963. description: 现货商品名称
  6964. type: string
  6965. type: object
  6966. models.Ermcp3RootUserAccount:
  6967. properties:
  6968. accountname:
  6969. description: 账户名称(机构名称)
  6970. type: string
  6971. accountstatus:
  6972. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6973. type: integer
  6974. applysrc:
  6975. description: 申请来源 - 1:管理端 2:终端
  6976. type: integer
  6977. auditremark:
  6978. description: 审核备注
  6979. type: string
  6980. auditsrc:
  6981. description: 审核来源 - 1:管理端 2:终端
  6982. type: integer
  6983. audittime:
  6984. description: 审核时间
  6985. type: string
  6986. audituserid:
  6987. description: 审核人
  6988. type: integer
  6989. broker:
  6990. description: 所属经纪人ID
  6991. type: integer
  6992. canceltime:
  6993. description: 销户时间
  6994. type: string
  6995. canceluserid:
  6996. description: 销户人
  6997. type: integer
  6998. canrecommend:
  6999. description: 是否可推荐 - 0:不可 1;可
  7000. type: integer
  7001. createtime:
  7002. description: 创建时间
  7003. type: string
  7004. creatorid:
  7005. description: 创建人
  7006. type: integer
  7007. hasauth:
  7008. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7009. type: integer
  7010. isanonymous:
  7011. description: 是否匿名下单 - 0:否 1:是
  7012. type: integer
  7013. maxinvestornum:
  7014. description: 最大用户数(经纪会员下投资者个数)
  7015. type: integer
  7016. memberuserid:
  7017. description: 所属会员ID
  7018. type: integer
  7019. modifierid:
  7020. description: 修改人
  7021. type: integer
  7022. modifyremark:
  7023. description: 变更备注
  7024. type: string
  7025. modifystatus:
  7026. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7027. type: integer
  7028. modifytime:
  7029. description: 修改时间
  7030. type: string
  7031. nickname:
  7032. description: 昵称
  7033. type: string
  7034. parenttopuser:
  7035. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  7036. type: string
  7037. parentuserid:
  7038. description: 所属机构ID
  7039. type: integer
  7040. reckonaccountid:
  7041. description: 默认结算资金账号ID(机构分润使用) 作废
  7042. type: integer
  7043. refercount:
  7044. description: 推荐总人数
  7045. type: integer
  7046. refereeuserid:
  7047. description: 推荐人ID
  7048. type: integer
  7049. refernum:
  7050. description: 推荐码
  7051. type: string
  7052. rootuserid:
  7053. description: 根用户ID
  7054. type: integer
  7055. subaccountlevel:
  7056. description: 子账户层数
  7057. type: integer
  7058. subarealevelpath:
  7059. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7060. type: string
  7061. userid:
  7062. description: 用户ID
  7063. type: integer
  7064. usertype:
  7065. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7066. type: integer
  7067. type: object
  7068. models.Ermcp3SCMiddleGoods:
  7069. properties:
  7070. biztype:
  7071. description: 业务类型 1:套保 2:套利
  7072. type: integer
  7073. contractno:
  7074. description: 合同编号
  7075. type: string
  7076. contracttype:
  7077. description: 合同类型 1:采购 -1:销售
  7078. type: integer
  7079. convertratio:
  7080. description: 折算系数
  7081. type: number
  7082. customername:
  7083. description: 对手手名称
  7084. type: string
  7085. customeruserid:
  7086. description: 对手id
  7087. type: integer
  7088. deliverygoodscode:
  7089. description: 现货品种代码
  7090. type: string
  7091. deliverygoodsid:
  7092. description: 现货品种ID
  7093. type: integer
  7094. deliverygoodsname:
  7095. description: 现货品种名称
  7096. type: string
  7097. enumdicname:
  7098. description: 现货单位名称
  7099. type: string
  7100. middlegoodsid:
  7101. description: 套保品种ID
  7102. type: integer
  7103. middlegoodspricedqty3:
  7104. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7105. type: number
  7106. needhedgeratio:
  7107. description: 套保比例
  7108. type: number
  7109. pricedqty:
  7110. description: 已定价量
  7111. type: number
  7112. relatedmiddlegoodsqty:
  7113. description: 已关联量(套保品种)(期货)
  7114. type: number
  7115. spotcontractid:
  7116. description: 合同编号
  7117. type: string
  7118. unitid:
  7119. description: 现货单位id
  7120. type: integer
  7121. userid:
  7122. description: 用户id
  7123. type: integer
  7124. vatrate:
  7125. description: 增值税率
  7126. type: number
  7127. wrstandardcode:
  7128. description: 现货商品代码
  7129. type: string
  7130. wrstandardid:
  7131. description: 现货商品id
  7132. type: integer
  7133. wrstandardname:
  7134. description: 现货商品名称
  7135. type: string
  7136. type: object
  7137. models.Ermcp3SCMiddleGoodsReport:
  7138. properties:
  7139. begindate:
  7140. description: 开始交易日
  7141. type: string
  7142. contractno:
  7143. description: 合同编号
  7144. type: string
  7145. contracttype:
  7146. description: 合同类型 1:采购 -1:销售
  7147. type: integer
  7148. convertratio:
  7149. description: 期初均价
  7150. type: number
  7151. cycletime:
  7152. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7153. type: string
  7154. cycletype:
  7155. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7156. type: integer
  7157. deliverygoodscode:
  7158. description: 品种代码
  7159. type: string
  7160. deliverygoodsid:
  7161. description: 现货品种ID
  7162. type: integer
  7163. deliverygoodsname:
  7164. description: 品种名称
  7165. type: string
  7166. diffprice:
  7167. description: 期初均价
  7168. type: number
  7169. diffqty:
  7170. description: 期初均价
  7171. type: number
  7172. enddate:
  7173. description: 结束交易日
  7174. type: string
  7175. hedgeplanqty:
  7176. description: 期初均价
  7177. type: number
  7178. matchname:
  7179. description: 交易对手方(个人:用户名称 企业:简称)
  7180. type: string
  7181. matchnickname:
  7182. description: 交易对手方昵称
  7183. type: string
  7184. middlegoodscode:
  7185. description: 套保品种代码
  7186. type: string
  7187. middlegoodsid:
  7188. description: 套保品种ID
  7189. type: integer
  7190. middlegoodsname:
  7191. description: 套保品种名称
  7192. type: string
  7193. middlegoodspricedqty:
  7194. description: 期初均价
  7195. type: number
  7196. middlegoodspricedqty2:
  7197. description: 期初均价
  7198. type: number
  7199. middlegoodspricedqty3:
  7200. description: 期初均价
  7201. type: number
  7202. needhedgeratio:
  7203. description: 期初均价
  7204. type: number
  7205. pricedamount:
  7206. description: 期初均价
  7207. type: number
  7208. pricedamount2:
  7209. description: 期初均价
  7210. type: number
  7211. pricedqty:
  7212. description: 期初均价
  7213. type: number
  7214. reckondate:
  7215. description: 日照时期(yyyyMMdd)
  7216. type: string
  7217. relatedmiddlegoodsamount:
  7218. description: 期初均价
  7219. type: number
  7220. relatedmiddlegoodsqty:
  7221. description: 期初均价
  7222. type: number
  7223. spotcontractid:
  7224. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7225. type: string
  7226. todayavgfutuprice:
  7227. description: 期初均价
  7228. type: number
  7229. todayavgprice:
  7230. description: 期初均价
  7231. type: number
  7232. todayavgprice2:
  7233. description: 期初均价
  7234. type: number
  7235. todaypricedamount:
  7236. description: 期初均价
  7237. type: number
  7238. todaypricedamount2:
  7239. description: 期初均价
  7240. type: number
  7241. todaypricedqty:
  7242. description: 期初均价
  7243. type: number
  7244. todayrelatedfutureqty:
  7245. description: 期初均价
  7246. type: number
  7247. todayrelatedmiddlegoodsamount:
  7248. description: 期初均价
  7249. type: number
  7250. todayrelatedmiddlegoodsqty:
  7251. description: 期初均价
  7252. type: number
  7253. updatetime:
  7254. description: 更新时间
  7255. type: string
  7256. userid:
  7257. description: 合同所属用户id
  7258. type: integer
  7259. vatrate:
  7260. description: 期初均价
  7261. type: number
  7262. wrstandardcode:
  7263. description: 商品(品类) 代码
  7264. type: string
  7265. wrstandardid:
  7266. description: 现货商品ID
  7267. type: integer
  7268. wrstandardname:
  7269. description: 商品(品类) 名称
  7270. type: string
  7271. type: object
  7272. models.Ermcp3SellBuyContract:
  7273. properties:
  7274. accountid:
  7275. description: 期货账户id
  7276. type: string
  7277. accountname:
  7278. description: 账户名称
  7279. type: string
  7280. attachment:
  7281. description: 附件
  7282. type: string
  7283. audittime:
  7284. description: 审核时间
  7285. type: string
  7286. bizsubjectid:
  7287. description: 归属业务部门ID - SubjectID
  7288. type: integer
  7289. biztype:
  7290. description: 业务类型 1-套保 2-套利
  7291. type: integer
  7292. brandname:
  7293. description: 品牌名称
  7294. type: string
  7295. contracctstatus:
  7296. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7297. type: integer
  7298. contractmargin:
  7299. description: 合同保证金
  7300. type: number
  7301. contractno:
  7302. description: 合同编号
  7303. type: string
  7304. contracttype:
  7305. description: 合同类型 1-采购, -1-销售
  7306. type: integer
  7307. convertfactor:
  7308. description: 标仓系数(品类)
  7309. type: number
  7310. createtime:
  7311. description: 创建时间
  7312. type: string
  7313. currencyid:
  7314. description: 币种id
  7315. type: integer
  7316. currencyname:
  7317. description: 币种名称
  7318. type: string
  7319. daikaiamount:
  7320. description: 应收(开)票额 | 未收票额
  7321. type: number
  7322. deliveryenddate:
  7323. description: 交割结束日
  7324. type: string
  7325. deliverygoodscode:
  7326. description: 现货品种代码
  7327. type: string
  7328. deliverygoodsid:
  7329. description: 现货商品ID
  7330. type: integer
  7331. deliverygoodsname:
  7332. description: 现货品种名称
  7333. type: string
  7334. deliverystartdate:
  7335. description: 交割开始日
  7336. type: string
  7337. enddate:
  7338. description: 点价结束日
  7339. type: string
  7340. enumdicname:
  7341. description: 单位名称
  7342. type: string
  7343. goodscode:
  7344. description: 点价商品代码
  7345. type: string
  7346. goodsgroupid:
  7347. description: 点价商品组id
  7348. type: integer
  7349. goodsid:
  7350. description: 点价商品ID
  7351. type: integer
  7352. goodsname:
  7353. description: 点价商品名称
  7354. type: string
  7355. invoiceamount:
  7356. description: 已开票额
  7357. type: number
  7358. loanamount:
  7359. description: 贷款总额=已定价额+调整金额
  7360. type: number
  7361. margin:
  7362. description: 保证金
  7363. type: number
  7364. meruserid:
  7365. description: 跟单员id
  7366. type: integer
  7367. meruserlogincode:
  7368. description: 跟单员登录代码
  7369. type: string
  7370. merusername:
  7371. description: 跟单员名称
  7372. type: string
  7373. nickname:
  7374. description: 账户昵称
  7375. type: string
  7376. orireckonrealqty:
  7377. description: 应交收量
  7378. type: number
  7379. payamount:
  7380. description: 已收付额(收款或付款)
  7381. type: number
  7382. preinvoiceamount:
  7383. description: 预收(开)票额
  7384. type: number
  7385. prepayamount:
  7386. description: 预收付额
  7387. type: number
  7388. price:
  7389. description: 价格
  7390. type: number
  7391. pricedamount:
  7392. description: 已定价额
  7393. type: number
  7394. pricedavg:
  7395. description: 已点均价
  7396. type: number
  7397. pricedqty:
  7398. description: 已定价量
  7399. type: number
  7400. pricemove:
  7401. description: 升贴水
  7402. type: number
  7403. pricetype:
  7404. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7405. type: integer
  7406. producttype:
  7407. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7408. type: integer
  7409. qty:
  7410. description: 合同量
  7411. type: number
  7412. reckonadjustamount:
  7413. description: 调整金额
  7414. type: number
  7415. reckonedamount:
  7416. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7417. type: number
  7418. reckonotheramount:
  7419. description: 其它费用
  7420. type: number
  7421. reckonrealqty:
  7422. description: 已交收量
  7423. type: number
  7424. remark:
  7425. description: 备注
  7426. type: string
  7427. saleuserid:
  7428. description: 业务员id
  7429. type: integer
  7430. saleuserlogincode:
  7431. description: 业务员登录代码
  7432. type: string
  7433. saleusername:
  7434. description: 业务员名称
  7435. type: string
  7436. spotcontractid:
  7437. description: 合同ID
  7438. type: string
  7439. spotgoodsbrandid:
  7440. description: 现货品牌ID(DGFactoryItem表的ID)
  7441. type: integer
  7442. spotgoodsdesc:
  7443. description: 商品型号(商品规格)
  7444. type: string
  7445. startdate:
  7446. description: 点价开始日
  7447. type: string
  7448. subjectid:
  7449. description: 交易主体ID
  7450. type: integer
  7451. subjectname:
  7452. description: 交易主体名称
  7453. type: string
  7454. totalamount:
  7455. description: 合计总额
  7456. type: number
  7457. tradeuserid:
  7458. description: 交易员id
  7459. type: integer
  7460. tradeuserlogincode:
  7461. description: 交易员登录代码
  7462. type: string
  7463. tradeusername:
  7464. description: 交易员名称
  7465. type: string
  7466. unpayamount:
  7467. description: 应收付款额(应支付或应收款) | 未付款额
  7468. type: number
  7469. unpricedqty:
  7470. description: 未定价量
  7471. type: number
  7472. unsureqty:
  7473. description: 未确定量 | 未交收量
  7474. type: number
  7475. userid:
  7476. description: 机构ID
  7477. type: integer
  7478. vatrate:
  7479. description: 增值税率
  7480. type: number
  7481. wrstandardcode:
  7482. description: 品类代码
  7483. type: string
  7484. wrstandardid:
  7485. description: 品类ID
  7486. type: integer
  7487. wrstandardname:
  7488. description: 品类名称
  7489. type: string
  7490. type: object
  7491. models.Ermcp3SpotGoodsPrice:
  7492. properties:
  7493. areauserid:
  7494. description: 所属机构id
  7495. type: integer
  7496. brandname:
  7497. description: 品牌名称
  7498. type: string
  7499. currencyid:
  7500. description: 报价货币ID
  7501. type: integer
  7502. currencyname:
  7503. description: 币种名称
  7504. type: string
  7505. deliverygoodscode:
  7506. description: 现货商品代码
  7507. type: string
  7508. deliverygoodsid:
  7509. description: 现货商品id
  7510. type: integer
  7511. deliverygoodsname:
  7512. description: 现货商品名称
  7513. type: string
  7514. enumdicname:
  7515. description: 现货商品单位名称
  7516. type: string
  7517. gbenumdicname:
  7518. description: 品类单位名称
  7519. type: string
  7520. gmunitid:
  7521. description: 品类单位id
  7522. type: integer
  7523. isvalid:
  7524. description: 是否有效 - 0:无效 1:有效
  7525. type: integer
  7526. operateid:
  7527. description: 最后操作人
  7528. type: integer
  7529. operatesrc:
  7530. description: 最后操作来源 - 1:管理端 2:终端
  7531. type: integer
  7532. operatetime:
  7533. description: 最后操作时间
  7534. type: string
  7535. operatorname:
  7536. description: 操作人名称
  7537. type: string
  7538. spotgoodsbrandid:
  7539. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7540. type: integer
  7541. spotgoodsprice:
  7542. description: 现货价格
  7543. type: number
  7544. tradedate:
  7545. description: 交易日(yyyyMMdd)
  7546. type: string
  7547. unitid:
  7548. description: 现货商品单位id
  7549. type: integer
  7550. wrstandardcode:
  7551. description: 品类代码
  7552. type: string
  7553. wrstandardid:
  7554. description: 现货品类ID(通用则为0)
  7555. type: integer
  7556. wrstandardname:
  7557. description: 品类名称
  7558. type: string
  7559. type: object
  7560. models.Ermcp3SpotGoodsPriceLog:
  7561. properties:
  7562. areauserid:
  7563. description: 所属机构id
  7564. type: integer
  7565. brandname:
  7566. description: 品牌名称
  7567. type: string
  7568. currencyid:
  7569. description: 报价货币ID
  7570. type: integer
  7571. deliverygoodscode:
  7572. description: 现货商品代码
  7573. type: string
  7574. deliverygoodsid:
  7575. description: 现货商品id
  7576. type: integer
  7577. deliverygoodsname:
  7578. description: 现货商品名称
  7579. type: string
  7580. enumdicname:
  7581. description: 现货商品单位名称
  7582. type: string
  7583. gbenumdicname:
  7584. description: 品类单位名称
  7585. type: string
  7586. gmunitid:
  7587. description: 品类单位id
  7588. type: integer
  7589. logid:
  7590. description: 日志id
  7591. type: integer
  7592. operateid:
  7593. description: 最后操作人
  7594. type: integer
  7595. operatesrc:
  7596. description: 最后操作来源 - 1:管理端 2:终端
  7597. type: integer
  7598. operatetime:
  7599. description: 最后操作时间
  7600. type: string
  7601. operatorname:
  7602. description: 操作人名称
  7603. type: string
  7604. spotgoodsbrandid:
  7605. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7606. type: integer
  7607. spotgoodsprice:
  7608. description: 现货价格
  7609. type: number
  7610. tradedate:
  7611. description: 交易日(yyyyMMdd)
  7612. type: string
  7613. unitid:
  7614. description: 现货商品单位id
  7615. type: integer
  7616. wrstandardcode:
  7617. description: 品类代码
  7618. type: string
  7619. wrstandardid:
  7620. description: 现货品类ID(通用则为0)
  7621. type: integer
  7622. wrstandardname:
  7623. description: 品类名称
  7624. type: string
  7625. type: object
  7626. models.Ermcp3SubTaaccount:
  7627. properties:
  7628. accountid:
  7629. description: 资金账户ID
  7630. type: integer
  7631. parentaccountcode:
  7632. description: 所属根账号代码(母账号代码)
  7633. type: string
  7634. parentaccountid:
  7635. description: 所属根账号(母账号)
  7636. type: integer
  7637. taname:
  7638. description: 资金账号名称
  7639. type: string
  7640. tradestatus:
  7641. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7642. type: integer
  7643. username:
  7644. description: 交易用户
  7645. type: string
  7646. type: object
  7647. models.Ermcp3TaFutuReDataReport:
  7648. properties:
  7649. accountid:
  7650. description: 交易账户
  7651. type: integer
  7652. accountname:
  7653. description: 交易账号名称
  7654. type: string
  7655. agreeunit:
  7656. description: 商品合约单位
  7657. type: number
  7658. begindate:
  7659. description: 开始交易日
  7660. type: string
  7661. buyorsell:
  7662. description: 持仓方向
  7663. type: integer
  7664. charge:
  7665. description: 手续费
  7666. type: number
  7667. closeavgprice:
  7668. description: 期初均价
  7669. type: number
  7670. closepl:
  7671. description: 平仓损益
  7672. type: number
  7673. currencyid:
  7674. description: 结算币种ID
  7675. type: integer
  7676. currencyname:
  7677. description: 币种名称
  7678. type: string
  7679. cycletime:
  7680. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7681. type: string
  7682. cycletype:
  7683. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7684. type: integer
  7685. enddate:
  7686. description: 结束交易日
  7687. type: string
  7688. enumdicname:
  7689. description: 单位名称
  7690. type: string
  7691. floatpl:
  7692. description: 浮动损益
  7693. type: number
  7694. goodscode:
  7695. description: 交易合约代码
  7696. type: string
  7697. goodsgroupid:
  7698. description: 交易品种
  7699. type: integer
  7700. goodsgroupname:
  7701. description: 交易品种名称
  7702. type: string
  7703. goodsgroupspotqty:
  7704. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7705. type: number
  7706. goodsid:
  7707. description: 交易合约
  7708. type: integer
  7709. goodsname:
  7710. description: 交易合约名称
  7711. type: string
  7712. goodunitid:
  7713. description: 交易合约单位id
  7714. type: integer
  7715. holdamount:
  7716. description: 期末持仓额
  7717. type: number
  7718. holdqty:
  7719. description: 期初均价
  7720. type: number
  7721. lastholdamount:
  7722. description: 当前持仓额
  7723. type: number
  7724. lastprice:
  7725. description: 最新价
  7726. type: number
  7727. middlegoodsid:
  7728. description: 套保品种id
  7729. type: integer
  7730. middlegoodsname:
  7731. description: 套保商品名称
  7732. type: string
  7733. middlegoodsqty:
  7734. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7735. type: number
  7736. middlgoodscode:
  7737. description: 套保商品代码
  7738. type: string
  7739. openamount:
  7740. description: 期末开仓额
  7741. type: number
  7742. openavgprice:
  7743. description: 期初均价
  7744. type: number
  7745. oriholdamount:
  7746. description: 期初持仓额
  7747. type: number
  7748. oriholdqty:
  7749. description: 期初均价
  7750. type: number
  7751. oriopenamount:
  7752. description: 期初开仓额
  7753. type: number
  7754. outergroupcode:
  7755. description: 交易品种代码
  7756. type: string
  7757. qtydecimalplace:
  7758. description: 成交量小数位
  7759. type: integer
  7760. reckondate:
  7761. description: 日照时期(yyyyMMdd)
  7762. type: string
  7763. reckonholdamount:
  7764. description: 结算持仓额
  7765. type: number
  7766. reckonpl:
  7767. description: 结算损益
  7768. type: number
  7769. reckonpl2:
  7770. description: 结算逐笔盈亏
  7771. type: number
  7772. reckonprice:
  7773. description: 结算价
  7774. type: number
  7775. relateduserid:
  7776. description: 账户关联用户ID
  7777. type: integer
  7778. todaycloseamount:
  7779. description: 今平仓额
  7780. type: number
  7781. todaycloseqty:
  7782. description: 期初均价
  7783. type: number
  7784. todaygoodsgroupspotqty:
  7785. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7786. type: number
  7787. todaymiddlegoodsqty:
  7788. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7789. type: number
  7790. todayopenamount:
  7791. description: 今开仓额
  7792. type: number
  7793. todayopenqty:
  7794. description: 期初均价
  7795. type: number
  7796. userid:
  7797. description: 账户所属用户ID
  7798. type: integer
  7799. type: object
  7800. models.Ermcp3TradeLinkDetail:
  7801. properties:
  7802. accountid:
  7803. description: 资金账号
  7804. type: integer
  7805. agreeunit:
  7806. description: 合约乘数
  7807. type: number
  7808. areauserid:
  7809. description: 所属机构
  7810. type: string
  7811. bizsubjectid:
  7812. description: 归属业务部门ID - SubjectID
  7813. type: string
  7814. buyorsell:
  7815. description: 方向 - 0:买 1:卖
  7816. type: integer
  7817. channelbuildtype:
  7818. description: 委托单据类型 0:无 1:建仓 2:平仓
  7819. type: integer
  7820. contractno:
  7821. description: 现货编号 (合同编号)
  7822. type: string
  7823. convertratio:
  7824. description: 折算系数
  7825. type: number
  7826. createtime:
  7827. description: 关联时间 | 创建时间
  7828. type: string
  7829. creatorid:
  7830. description: 创建人ID
  7831. type: string
  7832. creatorsrc:
  7833. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7834. type: integer
  7835. enumdicname:
  7836. description: 单位名称
  7837. type: string
  7838. goodscode:
  7839. description: 合约代码
  7840. type: string
  7841. goodsgroupid:
  7842. description: 对冲品种ID[期货合约商品组ID]
  7843. type: integer
  7844. goodsid:
  7845. description: 商品ID
  7846. type: integer
  7847. goodsname:
  7848. description: 合约名称
  7849. type: string
  7850. hedgeflag:
  7851. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7852. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7853. type: integer
  7854. linkdetailid:
  7855. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7856. type: string
  7857. linkstatus:
  7858. description: 关联状态 - 1:成功 2:失败 3:解绑
  7859. type: integer
  7860. middlegoodscode:
  7861. description: 套保品种代码
  7862. type: string
  7863. middlegoodsid:
  7864. description: 套保品种ID
  7865. type: integer
  7866. middlegoodsname:
  7867. description: 套保品种名称
  7868. type: string
  7869. relatedlot:
  7870. description: 关联手数
  7871. type: number
  7872. relatedmode:
  7873. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7874. type: integer
  7875. relatedqty:
  7876. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7877. type: number
  7878. retcode:
  7879. description: 返回码
  7880. type: integer
  7881. saleuserid:
  7882. description: 业务员ID
  7883. type: string
  7884. spotcontractid:
  7885. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7886. type: string
  7887. taname:
  7888. description: 期货账户
  7889. type: string
  7890. tradedate:
  7891. description: 关联交易日(yyyyMMdd)
  7892. type: string
  7893. tradeid:
  7894. description: 期货订单号 | 内部成交单ID
  7895. type: string
  7896. tradelot:
  7897. description: 成交数量 | 成交手数
  7898. type: integer
  7899. tradeprice:
  7900. description: 成交价格
  7901. type: number
  7902. tradetime:
  7903. description: 期货成交时间
  7904. type: string
  7905. tradetradedate:
  7906. description: 成交交易日(yyyyMMdd)
  7907. type: string
  7908. username:
  7909. description: 用户名称
  7910. type: string
  7911. type: object
  7912. models.Ermcp3Wrstandard:
  7913. properties:
  7914. areauserid:
  7915. description: 所属机构
  7916. type: integer
  7917. cantrade:
  7918. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7919. type: integer
  7920. convertfactor:
  7921. description: 标仓系数
  7922. type: number
  7923. createtime:
  7924. description: 创建时间
  7925. type: string
  7926. creatorid:
  7927. description: 创建人
  7928. type: integer
  7929. deliverygoodsid:
  7930. description: 现货品种ID
  7931. type: integer
  7932. enumdicname:
  7933. description: 品类单位名称
  7934. type: string
  7935. isvalid:
  7936. description: 是否有效 0-无效(停用) 1-有效(正常)
  7937. type: integer
  7938. minivalue:
  7939. description: 最小变动值
  7940. type: integer
  7941. minivaluedp:
  7942. description: 最小变动值小数位
  7943. type: integer
  7944. realminivalue:
  7945. description: 实际最小变动值
  7946. type: integer
  7947. realminivaluedp:
  7948. description: 实际最小变动值小数位
  7949. type: integer
  7950. remark:
  7951. description: 备注
  7952. type: string
  7953. unitid:
  7954. description: 品类单位ID
  7955. type: integer
  7956. updatetime:
  7957. description: 更新时间
  7958. type: string
  7959. wrstandardcode:
  7960. description: 品类代码
  7961. type: string
  7962. wrstandardid:
  7963. description: 品类ID(SEQ_WRSTANDARD)
  7964. type: integer
  7965. wrstandardname:
  7966. description: 品类名称
  7967. type: string
  7968. type: object
  7969. models.Ermcp8EnableHedgeditem:
  7970. properties:
  7971. accountname:
  7972. description: 套期主体
  7973. type: string
  7974. hedgeditemid:
  7975. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7976. type: string
  7977. hedgeditemname:
  7978. description: 项目名称
  7979. type: string
  7980. hedgeditemnum:
  7981. description: 项目编号
  7982. type: string
  7983. hedgedtype:
  7984. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7985. type: integer
  7986. planenddate:
  7987. description: 计划结束日期
  7988. type: string
  7989. planstartdate:
  7990. description: 计划开始日期
  7991. type: string
  7992. wrstandardid:
  7993. description: 现货商品ID
  7994. type: integer
  7995. wrstandardname:
  7996. description: 现货商品
  7997. type: string
  7998. type: object
  7999. models.Ermcp8HedgeditemReport:
  8000. properties:
  8001. accountname:
  8002. description: 套期主体
  8003. type: string
  8004. areauserid:
  8005. description: 企业ID
  8006. type: integer
  8007. curprice:
  8008. description: '[当日现货市场价]当前市场价'
  8009. type: number
  8010. enumdicname:
  8011. description: 单位
  8012. type: string
  8013. exeamount:
  8014. description: '[执行现货金额]执行市价总额'
  8015. type: number
  8016. exeavgprice:
  8017. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  8018. type: number
  8019. exeqty:
  8020. description: '[执行数量]执行现货量'
  8021. type: number
  8022. futurehedgepl:
  8023. description: 期货实际损益
  8024. type: number
  8025. futurehedgeplchange:
  8026. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  8027. type: number
  8028. futurepl:
  8029. description: 期货套期损益
  8030. type: number
  8031. futureplchange:
  8032. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  8033. type: number
  8034. hedgeamount:
  8035. description: '[套期现货金额]套期市价总额'
  8036. type: number
  8037. hedgeditemnum:
  8038. description: 项目编号,模糊查询
  8039. type: string
  8040. hedgeditemstatus:
  8041. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8042. type: integer
  8043. hedgedtype:
  8044. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8045. type: integer
  8046. hedgeqty:
  8047. description: '[套期数量]套期现货量'
  8048. type: number
  8049. oriavgprice:
  8050. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  8051. type: number
  8052. orifuturehedgepl:
  8053. description: 期初期货实际损益
  8054. type: number
  8055. orifuturepl:
  8056. description: 期初期货套期损益
  8057. type: number
  8058. orispothedgepl:
  8059. description: 期初现货实际损益
  8060. type: number
  8061. orispotpl:
  8062. description: 期初现货套期损益
  8063. type: number
  8064. planenddate:
  8065. description: 计划结束日期
  8066. type: string
  8067. planstartdate:
  8068. description: 计划开始日期
  8069. type: string
  8070. spothedgepl:
  8071. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8072. type: number
  8073. spothedgeplchange:
  8074. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  8075. type: number
  8076. spotpl:
  8077. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8078. type: number
  8079. spotplchange:
  8080. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8081. type: number
  8082. tradeuserid:
  8083. description: 交易用户ID
  8084. type: integer
  8085. unexeqty:
  8086. description: 未执行现货量 = 套期现货量 - 执行现货量
  8087. type: number
  8088. wrstandardcode:
  8089. description: 现货品类代码
  8090. type: string
  8091. wrstandardid:
  8092. description: 现货商品ID
  8093. type: integer
  8094. wrstandardname:
  8095. description: '[现货商品]现货品类名称'
  8096. type: string
  8097. type: object
  8098. models.Ermcp8RunningHedgeditem:
  8099. properties:
  8100. accountname:
  8101. description: 套期主体
  8102. type: string
  8103. applyid:
  8104. description: 申请人
  8105. type: integer
  8106. applysrc:
  8107. description: 申请来源 - 1:管理端 2:终端
  8108. type: integer
  8109. areauserid:
  8110. description: 企业ID
  8111. type: integer
  8112. auditid:
  8113. description: 审核人
  8114. type: integer
  8115. auditremark:
  8116. description: 审核备注
  8117. type: string
  8118. auditsrc:
  8119. description: 审核来源 - 1:管理端 2:终端
  8120. type: integer
  8121. audittime:
  8122. description: 审核时间
  8123. type: string
  8124. audittradedate:
  8125. description: 审核交易日(yyyyMMdd)
  8126. type: string
  8127. createtime:
  8128. description: 申请时间
  8129. type: string
  8130. curprice:
  8131. description: 当前市场价
  8132. type: number
  8133. curstock:
  8134. description: 期末库存量 = 采购总量 - 销售总量
  8135. type: number
  8136. deliverygoodsid:
  8137. description: 现货品种ID
  8138. type: integer
  8139. enddate:
  8140. description: 完成日期
  8141. type: string
  8142. endtradedate:
  8143. description: 完成交易日
  8144. type: string
  8145. enumdicname:
  8146. description: 单位
  8147. type: string
  8148. exeamount:
  8149. description: 执行市价总额
  8150. type: number
  8151. exeavgprice:
  8152. description: 执行市场均价= 执行市价总额 / 执行现货量
  8153. type: number
  8154. execontractamount:
  8155. description: 执行定价总额
  8156. type: number
  8157. exeqty:
  8158. description: 执行现货量
  8159. type: number
  8160. exerestamount:
  8161. description: 执行剩余市价总额【现货贸易】
  8162. type: number
  8163. futurefloatpl:
  8164. description: 期货浮动损益
  8165. type: number
  8166. futurehedgepl:
  8167. description: 期货实际损益
  8168. type: number
  8169. futurehedgeplchange:
  8170. description: 期货实际损益变动
  8171. type: number
  8172. futurepl:
  8173. description: 期货套期损益
  8174. type: number
  8175. futureplchange:
  8176. description: 期货套期损益变动
  8177. type: number
  8178. hedgeamount:
  8179. description: 套期市价总额
  8180. type: number
  8181. hedgecontractamount:
  8182. description: 套期定价总额 【定价采购合同】【现货贸易】
  8183. type: number
  8184. hedgeditemid:
  8185. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8186. type: string
  8187. hedgeditemname:
  8188. description: 项目名称
  8189. type: string
  8190. hedgeditemnum:
  8191. description: 项目编号
  8192. type: string
  8193. hedgeditemstatus:
  8194. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8195. type: integer
  8196. hedgedtype:
  8197. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8198. type: integer
  8199. hedgeqty:
  8200. description: 套期现货量
  8201. type: number
  8202. hedgerate:
  8203. description: 套保比率
  8204. type: number
  8205. hedgerestamount:
  8206. description: 套期剩余市价总额【现货贸易】
  8207. type: number
  8208. hedgesumpl:
  8209. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8210. type: number
  8211. middlegoodslist:
  8212. description: 套期商品列表
  8213. items:
  8214. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8215. type: array
  8216. oriavgprice:
  8217. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8218. type: number
  8219. orifuturehedgepl:
  8220. description: 期初期货实际损益
  8221. type: number
  8222. orifuturepl:
  8223. description: 期初期货套期损益
  8224. type: number
  8225. orispothedgepl:
  8226. description: 期初现货实际损益
  8227. type: number
  8228. orispotpl:
  8229. description: 期初现货套期损益
  8230. type: number
  8231. planenddate:
  8232. description: 计划结束日期
  8233. type: string
  8234. planstartdate:
  8235. description: 计划开始日期
  8236. type: string
  8237. remark:
  8238. description: 备注
  8239. type: string
  8240. spotbookamount:
  8241. description: 现货账面总额
  8242. type: number
  8243. spotfloatpl:
  8244. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8245. type: number
  8246. spothedgepl:
  8247. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8248. type: number
  8249. spothedgeplchange:
  8250. description: 现货实际损益变动
  8251. type: number
  8252. spotpl:
  8253. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8254. type: number
  8255. spotplchange:
  8256. description: 现货套期损益变动
  8257. type: number
  8258. spottradepl:
  8259. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8260. type: number
  8261. sumobspl:
  8262. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8263. type: number
  8264. tradeuserid:
  8265. description: 交易用户ID
  8266. type: integer
  8267. unexeqty:
  8268. description: 未执行现货量 = 套期现货量 - 执行现货量
  8269. type: number
  8270. updatetime:
  8271. description: 更新时间
  8272. type: string
  8273. vatpl:
  8274. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8275. type: number
  8276. vatrate:
  8277. description: 增值税
  8278. type: number
  8279. wrstandardid:
  8280. description: 现货商品ID
  8281. type: integer
  8282. wrstandardname:
  8283. description: 商品名称
  8284. type: string
  8285. type: object
  8286. models.ErmcpBizGroupEx:
  8287. properties:
  8288. acclist:
  8289. description: 账号列表
  8290. items:
  8291. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8292. type: array
  8293. bizgroupid:
  8294. description: 业务分组id
  8295. type: integer
  8296. biztype:
  8297. description: 业务类型 1-套保 2-套利
  8298. type: integer
  8299. wrlist:
  8300. description: 现货商品表
  8301. items:
  8302. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8303. type: array
  8304. type: object
  8305. models.ErmcpBizGroupSpotGoods:
  8306. properties:
  8307. areauserid:
  8308. description: 所属机构id
  8309. type: integer
  8310. bizgroupid:
  8311. description: 分组id
  8312. type: integer
  8313. biztype:
  8314. description: 业务类型 1-套保 2-套利
  8315. type: integer
  8316. deliverygoodscode:
  8317. description: 现货商品代码
  8318. type: string
  8319. deliverygoodsid:
  8320. description: 现货商品id
  8321. type: integer
  8322. deliverygoodsname:
  8323. description: 现货商品名称
  8324. type: string
  8325. unitid:
  8326. description: 现货商品单位id
  8327. type: integer
  8328. type: object
  8329. models.ErmcpBizGroupTaAccount:
  8330. properties:
  8331. accountid:
  8332. description: 账号id
  8333. type: integer
  8334. accountname:
  8335. description: 账号名称
  8336. type: string
  8337. areauserid:
  8338. description: 所属机构id
  8339. type: integer
  8340. bizgroupid:
  8341. description: 业务分组id
  8342. type: integer
  8343. ismain:
  8344. description: 是否主账号 1-是 0-否
  8345. type: integer
  8346. type: object
  8347. models.ErmcpDGFactoryItem:
  8348. properties:
  8349. areauserid:
  8350. description: 用户id
  8351. type: integer
  8352. deliverygoodsid:
  8353. description: 现货品种ID
  8354. type: integer
  8355. dgfactoryitemid:
  8356. description: 选择项ID(SEQ_DGFACTORYITEM)
  8357. type: integer
  8358. dgfactoryitemtypeid:
  8359. description: 要素项类型
  8360. type: integer
  8361. dgfactoryitemvalue:
  8362. description: 要素项值(类型为仓库时填写仓库名称)
  8363. type: string
  8364. isvalid:
  8365. description: 是否有效 - 0:无效 1:有效
  8366. type: integer
  8367. orderindex:
  8368. description: 顺序
  8369. type: integer
  8370. warehouseid:
  8371. description: 仓库ID(类型为仓库时填写)
  8372. type: integer
  8373. type: object
  8374. models.ErmcpDeliveryGoods:
  8375. properties:
  8376. agreeunit:
  8377. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8378. type: integer
  8379. areauserid:
  8380. description: 所属机构
  8381. type: integer
  8382. auditflag:
  8383. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8384. type: integer
  8385. categoryid:
  8386. description: 类别ID(SEQ_WRCATEGORY)
  8387. type: integer
  8388. deliverygoodscode:
  8389. description: 现货品种代码
  8390. type: string
  8391. deliverygoodsid:
  8392. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8393. type: integer
  8394. deliverygoodsname:
  8395. description: 现货品种名称
  8396. type: string
  8397. deliverygoodstype:
  8398. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8399. type: integer
  8400. dgstatus:
  8401. description: 品种状态 - 作废 - 0:未激活 1:正常
  8402. type: integer
  8403. enumdicname:
  8404. description: 现货品种单位名称
  8405. type: string
  8406. goodsunitid:
  8407. description: 现货品种单位ID
  8408. type: integer
  8409. isvalid:
  8410. description: 是否有效 - 0:无效 1:有效
  8411. type: integer
  8412. qtydecimalplace:
  8413. description: 成交量小数位
  8414. type: integer
  8415. remark:
  8416. description: 备注
  8417. type: string
  8418. standardqty:
  8419. description: 标准数量(库位数量) [标准品特有]
  8420. type: integer
  8421. standardqtyrange:
  8422. description: 标准数量偏差范围 [标准品特有]
  8423. type: integer
  8424. type: object
  8425. models.ErmcpFuturesCompany:
  8426. properties:
  8427. brokerid:
  8428. description: 经纪公司代码
  8429. type: string
  8430. channeladdress:
  8431. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8432. type: string
  8433. channelid:
  8434. description: 对冲渠道ID
  8435. type: string
  8436. createtime:
  8437. description: 创建时间
  8438. type: string
  8439. creatorid:
  8440. description: 创建人
  8441. type: string
  8442. fcid:
  8443. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8444. type: integer
  8445. fcname:
  8446. description: 期货公司名称
  8447. type: string
  8448. isvalid:
  8449. description: 是否有效 - 0:无效 1:有效
  8450. type: integer
  8451. mhpaddress:
  8452. description: MHP服务地址(IP:Port)
  8453. type: string
  8454. riskrulegroupid:
  8455. description: 风控规则组ID
  8456. type: string
  8457. tradefeetmpid:
  8458. description: 手续费模板ID[TradeConfigTmpType为2]
  8459. type: string
  8460. trademargintmpid:
  8461. description: 保证金模板ID [TradeConfigTmpType为1]
  8462. type: string
  8463. traderatetmpid:
  8464. description: 汇率模板ID[TradeConfigTmpType为3]
  8465. type: string
  8466. updatetime:
  8467. description: 更新时间
  8468. type: string
  8469. updatorid:
  8470. description: 更新人
  8471. type: string
  8472. type: object
  8473. models.ErmcpGGConvertCfg:
  8474. properties:
  8475. convertratio:
  8476. description: 折算系数
  8477. type: number
  8478. destgoodsgroupid:
  8479. description: 目标品种ID
  8480. type: integer
  8481. dstcode:
  8482. description: 目录品种代码
  8483. type: string
  8484. dstexchangecode:
  8485. description: 目标期货交易所
  8486. type: string
  8487. dstname:
  8488. description: 目标品种名称
  8489. type: string
  8490. dstunitid:
  8491. description: 目标品种单位ID
  8492. type: integer
  8493. dstunitidname:
  8494. description: 目标品种单位名称
  8495. type: string
  8496. modifytime:
  8497. description: 修改时间
  8498. type: string
  8499. srccode:
  8500. description: 源品种代码
  8501. type: string
  8502. srcexchangecode:
  8503. description: 源期货交易所
  8504. type: string
  8505. srcgoodsgroupid:
  8506. description: 源品种ID
  8507. type: integer
  8508. srcname:
  8509. description: 源品种名称
  8510. type: string
  8511. srcunitid:
  8512. description: 源品种单位ID
  8513. type: integer
  8514. srcunitidname:
  8515. description: 源品种单位名称
  8516. type: string
  8517. type: object
  8518. models.ErmcpGoods:
  8519. properties:
  8520. agreeunit:
  8521. description: 合约单位
  8522. type: number
  8523. areauserid:
  8524. description: 所属机构
  8525. type: integer
  8526. auditaccountid:
  8527. description: 审核操作员账号
  8528. type: integer
  8529. audittime:
  8530. description: 审核时间
  8531. type: string
  8532. cancelaccountid:
  8533. description: 注销操作员账号
  8534. type: integer
  8535. canceltime:
  8536. description: 注销时间
  8537. type: string
  8538. closepricemode:
  8539. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8540. type: integer
  8541. closepriceparam:
  8542. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8543. type: number
  8544. createtime:
  8545. description: 创建时间
  8546. type: string
  8547. creatorid:
  8548. description: 创建人
  8549. type: integer
  8550. currencyid:
  8551. description: 报价货币ID
  8552. type: integer
  8553. cutmode:
  8554. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8555. type: integer
  8556. decimalplace:
  8557. description: 报价小数位
  8558. type: integer
  8559. delistingdate:
  8560. description: 商品退市时间(状态:退市) -- 已作废
  8561. type: string
  8562. delistingmode:
  8563. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8564. type: integer
  8565. deliveryflag:
  8566. description: 交割标志 - 0:不可交割 1:可交割
  8567. type: integer
  8568. enumdicname:
  8569. description: 单位名称
  8570. type: string
  8571. forceclosemode:
  8572. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8573. type: integer
  8574. forceclosevalue:
  8575. description: 定期强平参数 [收益权]
  8576. type: integer
  8577. goodscode:
  8578. description: 商品代码(内部)
  8579. type: string
  8580. goodscurrencyid:
  8581. description: 合约货币ID
  8582. type: integer
  8583. goodsgroupid:
  8584. description: 所属商品组ID
  8585. type: integer
  8586. goodsid:
  8587. description: 商品ID(自增ID SEQ_GOODS)
  8588. type: integer
  8589. goodsname:
  8590. description: 商品名称
  8591. type: string
  8592. goodsquotetype:
  8593. description: '合约报价类型: 1-直接报价 2-间接报价'
  8594. type: integer
  8595. goodsstatus:
  8596. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8597. type: integer
  8598. goodstradetype:
  8599. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8600. type: integer
  8601. goodunitid:
  8602. description: 报价单位ID
  8603. type: integer
  8604. hasquoter:
  8605. description: 是否有报价商 - 0:无报价商 1:有报价商
  8606. type: integer
  8607. hqprotecttime:
  8608. description: 行情保护时间(秒)
  8609. type: integer
  8610. innerdealmode:
  8611. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8612. type: integer
  8613. isbuylimited:
  8614. description: 是否限制建仓量 - 0:不限制 1:限制
  8615. type: integer
  8616. isvisible:
  8617. description: 游客是否可见 - 0:不可见 1:可见
  8618. type: integer
  8619. lasttradedate:
  8620. description: 最后交易日期(状态:待退市)
  8621. type: string
  8622. listingdate:
  8623. description: 交易开始日期
  8624. type: string
  8625. marketid:
  8626. description: 所属市场ID
  8627. type: integer
  8628. modifierid:
  8629. description: 修改人
  8630. type: integer
  8631. modifystatus:
  8632. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8633. type: integer
  8634. modifytime:
  8635. description: 修改时间
  8636. type: string
  8637. outerdealmode:
  8638. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8639. type: integer
  8640. outgoodscode:
  8641. description: 商品代码(外部)
  8642. type: string
  8643. pictureurl:
  8644. description: 商品图片
  8645. type: string
  8646. qtydecimalplace:
  8647. description: 成交量小数位
  8648. type: integer
  8649. quotegear:
  8650. description: 行情档位(1-10)
  8651. type: integer
  8652. quoteminunit:
  8653. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8654. type: integer
  8655. quoteshowtype:
  8656. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8657. type: integer
  8658. quoteshowtypeinterval:
  8659. description: 行情报价间隔时间(秒)(成交价时为0)
  8660. type: integer
  8661. relatedgoodsid:
  8662. description: 关联参考商品ID
  8663. type: integer
  8664. remark:
  8665. description: 备注
  8666. type: string
  8667. trademode:
  8668. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8669. 21:竞拍-大宗式 22:受托竞价
  8670. type: integer
  8671. required:
  8672. - goodscode
  8673. - goodsid
  8674. - goodsname
  8675. - marketid
  8676. type: object
  8677. models.ErmcpGoodsBrand:
  8678. properties:
  8679. areauserid:
  8680. description: 所属机构
  8681. type: integer
  8682. brandid:
  8683. description: BrandID(SEQ_SPOTGOODSBRAND)
  8684. type: integer
  8685. brandname:
  8686. description: 品牌名称
  8687. type: string
  8688. createtime:
  8689. description: 创建时间
  8690. type: string
  8691. creatorid:
  8692. description: 创建人
  8693. type: integer
  8694. creatorsrc:
  8695. description: 创建人来源 - 1:管理端 2:终端
  8696. type: integer
  8697. deliverygoodsid:
  8698. description: 现货品种ID
  8699. type: integer
  8700. isvalid:
  8701. description: 是否有效 - 0:无效 1:有效
  8702. type: integer
  8703. updatetime:
  8704. description: 更新时间
  8705. type: string
  8706. updatorid:
  8707. description: 更新人
  8708. type: integer
  8709. updatorsrc:
  8710. description: 更新人来源 - 1:管理端 2:终端
  8711. type: integer
  8712. wrstandardid:
  8713. description: 现货商品ID
  8714. type: integer
  8715. type: object
  8716. models.ErmcpGoodsModel:
  8717. properties:
  8718. areauserid:
  8719. description: 所属机构
  8720. type: integer
  8721. convertfactor:
  8722. description: 标仓系数
  8723. type: number
  8724. createtime:
  8725. description: 创建时间
  8726. type: string
  8727. creatorid:
  8728. description: 创建人
  8729. type: integer
  8730. creatorsrc:
  8731. description: 创建人来源 - 1:管理端 2:终端
  8732. type: integer
  8733. deliverygoodsid:
  8734. description: 现货品种ID
  8735. type: integer
  8736. isvalid:
  8737. description: 是否有效 - 0:无效 1:有效
  8738. type: integer
  8739. modelid:
  8740. description: ModelID(SEQ_SPOTGOODSMODEL)
  8741. type: integer
  8742. modelname:
  8743. description: 型号名称
  8744. type: string
  8745. updatetime:
  8746. description: 更新时间
  8747. type: string
  8748. updatorid:
  8749. description: 更新人
  8750. type: integer
  8751. updatorsrc:
  8752. description: 更新人来源 - 1:管理端 2:终端
  8753. type: integer
  8754. wrstandardid:
  8755. description: 现货商品ID
  8756. type: integer
  8757. type: object
  8758. models.ErmcpHisExposure:
  8759. properties:
  8760. needhedgeexposoure:
  8761. description: 应套保敞口
  8762. type: number
  8763. reckondate:
  8764. description: 日照时期(yyyyMMdd)
  8765. type: string
  8766. totalexposure:
  8767. description: 总敞口
  8768. type: number
  8769. type: object
  8770. models.ErmcpLoginTaAccount:
  8771. properties:
  8772. accountid:
  8773. description: 账号id
  8774. type: integer
  8775. accountname:
  8776. description: 账号名称
  8777. type: string
  8778. type: object
  8779. models.ErmcpLoginUser:
  8780. properties:
  8781. acclist:
  8782. description: 关联资金账号
  8783. items:
  8784. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8785. type: array
  8786. accountname:
  8787. description: 用户名称
  8788. type: string
  8789. clientroleid:
  8790. description: 角色id(usertype=2)
  8791. type: integer
  8792. createtime:
  8793. description: 创建时间
  8794. type: string
  8795. logincode:
  8796. description: 登录代码
  8797. type: string
  8798. loginid:
  8799. description: 登录id(LOGINID)
  8800. type: integer
  8801. loginname:
  8802. description: 登录名称(loginaccount表中的accountname字段)
  8803. type: string
  8804. loginstatus:
  8805. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8806. type: integer
  8807. memberuserid:
  8808. description: 所属会员id
  8809. type: integer
  8810. mobile:
  8811. description: 手机号
  8812. type: string
  8813. modifytime:
  8814. description: 修改时间
  8815. type: string
  8816. password:
  8817. description: 密码(不可解密)
  8818. type: string
  8819. rolename:
  8820. description: 角色名称
  8821. type: string
  8822. rolestatus:
  8823. description: 角色状态 1-启用 2-停用
  8824. type: integer
  8825. roletype:
  8826. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8827. type: string
  8828. userid:
  8829. description: 用户id
  8830. type: integer
  8831. usertype:
  8832. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8833. type: integer
  8834. type: object
  8835. models.ErmcpLoginUserEx:
  8836. properties:
  8837. accountstatus:
  8838. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8839. type: integer
  8840. mobile:
  8841. description: 手机号
  8842. type: string
  8843. querytype:
  8844. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8845. type: integer
  8846. roleid:
  8847. description: 角色id(交易账户->用户id)
  8848. type: integer
  8849. rolename:
  8850. description: 角色名称(交易账户->用户名称)
  8851. type: string
  8852. userlist:
  8853. description: 用户列表
  8854. items:
  8855. $ref: '#/definitions/models.ErmcpLoginUser'
  8856. type: array
  8857. usertype:
  8858. description: 用户类型 2-机构 7-企业成员(云平台)
  8859. type: integer
  8860. type: object
  8861. models.ErmcpMiddleGoodsModel:
  8862. properties:
  8863. areauserid:
  8864. description: 机构用户ID
  8865. type: integer
  8866. createtime:
  8867. description: 修改时间
  8868. type: string
  8869. enumdicname:
  8870. description: 单位名称
  8871. type: string
  8872. evaluateratio:
  8873. description: 估价系数
  8874. type: number
  8875. goodsgroupid:
  8876. description: 关联期货品种ID
  8877. type: integer
  8878. goodsunitid:
  8879. description: 单位ID
  8880. type: integer
  8881. isvalid:
  8882. description: 状态 0-无效(停用) 1-有效(正常)
  8883. type: integer
  8884. middlegoodscode:
  8885. description: 套保品种代码
  8886. type: string
  8887. middlegoodsid:
  8888. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8889. type: integer
  8890. middlegoodsname:
  8891. description: 套保品种名称
  8892. type: string
  8893. modifytime:
  8894. description: 修改时间
  8895. type: string
  8896. needarbitrageratio:
  8897. description: 套利比例
  8898. type: number
  8899. needhedgeratio:
  8900. description: 套保比率
  8901. type: number
  8902. qtydecimalplace:
  8903. description: 数量小数位
  8904. type: integer
  8905. relatedgoodsid:
  8906. description: 关联交易商品ID
  8907. type: integer
  8908. relatedgoodstype:
  8909. description: 关联商品类型 - 1:期货合约 2:现货品种
  8910. type: integer
  8911. remark:
  8912. description: 备注
  8913. type: string
  8914. type: object
  8915. models.ErmcpMiddlegoodsRelateGoods:
  8916. properties:
  8917. agreeunit:
  8918. description: 合约乘数
  8919. type: number
  8920. convertratio:
  8921. description: 折算系数
  8922. type: number
  8923. enumdicname:
  8924. description: 单位名称(交易商品)
  8925. type: string
  8926. goodscode:
  8927. description: 交易商品代码
  8928. type: string
  8929. goodsgroupid:
  8930. description: 交易品种id
  8931. type: integer
  8932. goodsid:
  8933. description: 商品Id
  8934. type: integer
  8935. goodsname:
  8936. description: 交易商品名称
  8937. type: string
  8938. goodunitid:
  8939. description: 交易商品单位id
  8940. type: integer
  8941. middlegoodsid:
  8942. description: 套保商品id
  8943. type: integer
  8944. middlegoodsname:
  8945. description: 套保商品名称
  8946. type: string
  8947. middlegoodsswcode:
  8948. description: 套保商品代码
  8949. type: string
  8950. needarbitrageratio:
  8951. description: 应套利比例
  8952. type: number
  8953. needhedgeratio:
  8954. description: 应套保比例
  8955. type: number
  8956. type: object
  8957. models.ErmcpRole:
  8958. properties:
  8959. areauserid:
  8960. description: 所属机构
  8961. type: integer
  8962. autoid:
  8963. description: 角色ID(自增ID)
  8964. type: integer
  8965. modifierid:
  8966. description: 修改人(创建人)
  8967. type: integer
  8968. modifiername:
  8969. description: 修改人名称
  8970. type: string
  8971. modifytime:
  8972. description: 修改时间(创建时间)
  8973. type: string
  8974. rolename:
  8975. description: 角色名称
  8976. type: string
  8977. rolestatus:
  8978. description: 角色状态 - 1:启用 2:停用
  8979. type: integer
  8980. roletype:
  8981. description: 角色类型 - 1- 管理端 2- 交易端
  8982. type: integer
  8983. type: object
  8984. models.ErmcpRoleMenu:
  8985. properties:
  8986. iconame:
  8987. description: 菜单图标
  8988. type: string
  8989. ishadrole:
  8990. description: 是否有权限
  8991. type: boolean
  8992. menutype:
  8993. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8994. type: integer
  8995. parentcode:
  8996. description: 上级资源代码
  8997. type: string
  8998. remark:
  8999. description: 菜单备注
  9000. type: string
  9001. resourcecode:
  9002. description: 菜单代码
  9003. type: string
  9004. resourcelevel:
  9005. description: 级别
  9006. type: integer
  9007. resourcename:
  9008. description: 菜单名称
  9009. type: string
  9010. roleid:
  9011. description: 角色id
  9012. type: integer
  9013. sort:
  9014. description: 排序
  9015. type: integer
  9016. url:
  9017. description: URL
  9018. type: string
  9019. userid:
  9020. description: 用户id
  9021. type: integer
  9022. type: object
  9023. models.ErmcpRoleMenuEx:
  9024. properties:
  9025. menu:
  9026. $ref: '#/definitions/models.ErmcpRoleMenu'
  9027. description: 父级菜单
  9028. subMenu:
  9029. description: 子级菜单
  9030. items:
  9031. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  9032. type: array
  9033. type: object
  9034. models.ErmcpSpotContractModelEx:
  9035. properties:
  9036. accountname:
  9037. description: 套期主体
  9038. type: string
  9039. amount:
  9040. description: 金额 [1:一口价、3:暂定价]
  9041. type: number
  9042. attachment:
  9043. description: 附件
  9044. type: string
  9045. auditremark:
  9046. description: 审核意见
  9047. type: string
  9048. audittime:
  9049. description: 审核时间
  9050. type: string
  9051. avgprice:
  9052. description: 定价均价 = 已定价金额 / 已定价量
  9053. type: number
  9054. brandname:
  9055. description: 品牌名称
  9056. type: string
  9057. buyuserid:
  9058. description: 采购方ID
  9059. type: integer
  9060. buyusername:
  9061. description: 采购方名称
  9062. type: string
  9063. contracctstatus:
  9064. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9065. type: integer
  9066. contractmargin:
  9067. description: 合同保证金
  9068. type: number
  9069. contractno:
  9070. description: '[合同编号]现货合同编号'
  9071. type: string
  9072. contracttype:
  9073. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  9074. type: integer
  9075. convertfactor:
  9076. description: 标仓系数
  9077. type: number
  9078. createtime:
  9079. description: 创建时间
  9080. type: string
  9081. customername:
  9082. description: 对手方
  9083. type: string
  9084. customeruserid:
  9085. description: 客户ID
  9086. type: integer
  9087. deliveryenddate:
  9088. description: 交收期(结束)
  9089. type: string
  9090. deliverygoodscode:
  9091. description: 现货品种代码
  9092. type: string
  9093. deliverygoodsid:
  9094. description: 现货品种ID
  9095. type: integer
  9096. deliverygoodsname:
  9097. description: 现货品种名称
  9098. type: string
  9099. deliverystartdate:
  9100. description: 交收期(开始)
  9101. type: string
  9102. enddate:
  9103. description: 点价结束日期 [2:点价 3:暂定价]
  9104. type: string
  9105. enumdicname:
  9106. description: 单位名称
  9107. type: string
  9108. goodscode:
  9109. description: 点价合约代码
  9110. type: string
  9111. goodsid:
  9112. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9113. type: integer
  9114. goodsname:
  9115. description: 点价商品名称
  9116. type: string
  9117. isrelated:
  9118. description: 是否已关联计划项目 - 0:否 1:是
  9119. type: integer
  9120. isrelated2:
  9121. description: 是否已关联现货项目 - 0:否 1:是
  9122. type: integer
  9123. margin:
  9124. description: 当前保证金
  9125. type: number
  9126. modelname:
  9127. description: 型号名称
  9128. type: string
  9129. price:
  9130. description: 价格\暂定价 [1:一口价、3:暂定价]
  9131. type: number
  9132. pricedamount:
  9133. description: 已定价金额 = (点价价格+升贴水) * 数量
  9134. type: number
  9135. pricedqty:
  9136. description: 已定价量
  9137. type: number
  9138. pricemove:
  9139. description: 升贴水 [2:点价 3:暂定价]
  9140. type: number
  9141. pricetype:
  9142. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9143. type: integer
  9144. producttype:
  9145. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9146. type: integer
  9147. qty:
  9148. description: '[合同数量]数量'
  9149. type: number
  9150. remark:
  9151. description: 备注
  9152. type: string
  9153. selluserid:
  9154. description: 销售方ID
  9155. type: integer
  9156. sellusername:
  9157. description: 销售方名称
  9158. type: string
  9159. spotamount:
  9160. description: 合同现货金额 [不含升贴水]
  9161. type: number
  9162. spotavgprice:
  9163. description: 现货均价 = 合同现货金额 / 已定价量
  9164. type: number
  9165. spotcontractid:
  9166. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9167. type: string
  9168. spotgoodsbrandid:
  9169. description: 现货品牌ID
  9170. type: integer
  9171. spotgoodsdesc:
  9172. description: 商品型号
  9173. type: string
  9174. spotgoodsmodelid:
  9175. description: 现货型号ID
  9176. type: integer
  9177. startdate:
  9178. description: 点价开始日期 [2:点价 3:暂定价]
  9179. type: string
  9180. tradeuserid:
  9181. description: 交易用户ID
  9182. type: integer
  9183. unpricedqty:
  9184. description: 未定价量 = 合同数量 - 已定价量
  9185. type: number
  9186. updatetime:
  9187. description: 更新时间
  9188. type: string
  9189. userid:
  9190. description: 机构ID
  9191. type: integer
  9192. wrstandardcode:
  9193. description: 现货商品代码
  9194. type: string
  9195. wrstandardid:
  9196. description: 现货商品ID
  9197. type: integer
  9198. wrstandardname:
  9199. description: '[现货商品]现货商品名称'
  9200. type: string
  9201. type: object
  9202. models.ErmcpTaAccount:
  9203. properties:
  9204. accountid:
  9205. description: 账户id
  9206. type: integer
  9207. accountname:
  9208. description: 账户名称
  9209. type: string
  9210. currencyid:
  9211. description: 币种id
  9212. type: integer
  9213. hedgeaccountcode:
  9214. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9215. type: string
  9216. ismain:
  9217. description: 是否主账户 0-否 1-是
  9218. type: integer
  9219. parentaccountid:
  9220. description: 父账户id
  9221. type: integer
  9222. relateduserid:
  9223. description: 关联userid
  9224. type: integer
  9225. tradefeetmpid:
  9226. description: 手续费模板id
  9227. type: integer
  9228. tradefeetmpname:
  9229. description: 手续费模板名称
  9230. type: string
  9231. trademargintmpid:
  9232. description: 保证金模板id
  9233. type: integer
  9234. trademargintmpname:
  9235. description: 保证金模板名称
  9236. type: string
  9237. traderatetmpid:
  9238. description: 汇率模板id
  9239. type: integer
  9240. traderatetmpname:
  9241. description: 汇率模板名称
  9242. type: string
  9243. tradestatus:
  9244. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9245. type: integer
  9246. userid:
  9247. description: 用户id
  9248. type: integer
  9249. type: object
  9250. models.ErmcpTaAccountEx:
  9251. properties:
  9252. mainAcc:
  9253. $ref: '#/definitions/models.ErmcpTaAccountM'
  9254. description: 主账号
  9255. subacclist:
  9256. description: 子账号列表
  9257. items:
  9258. $ref: '#/definitions/models.ErmcpTaAccount'
  9259. type: array
  9260. type: object
  9261. models.ErmcpTaAccountInfo:
  9262. properties:
  9263. accountid:
  9264. description: 资金账户ID
  9265. type: integer
  9266. accountname:
  9267. description: 账户名称
  9268. type: string
  9269. balance:
  9270. description: 期初余额
  9271. type: number
  9272. capitalbalance:
  9273. description: 本金余额[外部子账户实际出入金余额]
  9274. type: number
  9275. closepl:
  9276. description: 今日平仓盈亏
  9277. type: number
  9278. creditdecrease:
  9279. description: 今日授信减少
  9280. type: number
  9281. creditincrease:
  9282. description: 今日授信增加
  9283. type: number
  9284. curdebt:
  9285. description: 期末欠款
  9286. type: number
  9287. currencyid:
  9288. description: 货币ID
  9289. type: integer
  9290. currentbalance:
  9291. description: 期末余额
  9292. type: number
  9293. freezecharge:
  9294. description: 手续费冻结
  9295. type: number
  9296. freezemargin:
  9297. description: 冻结保证金
  9298. type: number
  9299. fromaccountid:
  9300. description: 所属上级账户
  9301. type: integer
  9302. inamount:
  9303. description: 今日入金金额(包括三方入金)
  9304. type: number
  9305. ismain:
  9306. description: 是否母账号 0:不是母账户 1:是母账户
  9307. type: integer
  9308. mortgagecredit:
  9309. description: 授信金额
  9310. type: number
  9311. oridebt:
  9312. description: 期初欠款
  9313. type: number
  9314. orifreezecharge:
  9315. description: 期初手续费冻结
  9316. type: number
  9317. orifreezemargin:
  9318. description: 期初冻结保证金
  9319. type: number
  9320. orimortgagecredit:
  9321. description: 期初授信金额
  9322. type: number
  9323. oriothercredit:
  9324. description: 期初其它授信金额
  9325. type: number
  9326. oriotherfreezemargin:
  9327. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9328. type: number
  9329. orioutamountfreeze:
  9330. description: 期初出金冻结
  9331. type: number
  9332. oriusedmargin:
  9333. description: 期初占用保证金
  9334. type: number
  9335. othercredit:
  9336. description: 其它授信金额
  9337. type: number
  9338. othercreditdecrease:
  9339. description: 今日其它授信减少
  9340. type: number
  9341. othercreditincrease:
  9342. description: 今日其它授信增加
  9343. type: number
  9344. otherfreezemargin:
  9345. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9346. type: number
  9347. outamount:
  9348. description: 今日出金金额(包括三方出金)
  9349. type: number
  9350. outamountfreeze:
  9351. description: 出金冻结
  9352. type: number
  9353. outthreshold:
  9354. description: 出金阈值
  9355. type: number
  9356. parentaccountid:
  9357. description: 所属根账号
  9358. type: integer
  9359. paycharge:
  9360. description: 今日手续费支出
  9361. type: number
  9362. relateduserid:
  9363. description: 关联用户
  9364. type: integer
  9365. signstatus:
  9366. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9367. type: integer
  9368. sublevelpath:
  9369. description: 账号层级路径(逗号分隔,首尾加逗号)
  9370. type: string
  9371. taaccounttype:
  9372. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9373. type: integer
  9374. thirdinamount:
  9375. description: 今日三方入金
  9376. type: number
  9377. thirdoutamount:
  9378. description: 今日三方出金
  9379. type: number
  9380. tradestatus:
  9381. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9382. type: integer
  9383. transferamount:
  9384. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9385. type: number
  9386. usedmargin:
  9387. description: 占用保证金
  9388. type: number
  9389. userid:
  9390. description: 用户ID
  9391. type: integer
  9392. type: object
  9393. models.ErmcpTaAccountM:
  9394. properties:
  9395. accountid:
  9396. description: 账户id
  9397. type: integer
  9398. accountname:
  9399. description: 账户名称
  9400. type: string
  9401. currencyid:
  9402. description: 币种id
  9403. type: integer
  9404. fcid:
  9405. description: 期货公司id
  9406. type: integer
  9407. fcname:
  9408. description: 期货公司代码
  9409. type: string
  9410. hedgeaccountcode:
  9411. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9412. type: string
  9413. ismain:
  9414. description: 是否主账户 0-否 1-是
  9415. type: integer
  9416. parentaccountid:
  9417. description: 父账户id
  9418. type: integer
  9419. relateduserid:
  9420. description: 关联userid
  9421. type: integer
  9422. tradefeetmpid:
  9423. description: 手续费模板id
  9424. type: integer
  9425. tradefeetmpname:
  9426. description: 手续费模板名称
  9427. type: string
  9428. trademargintmpid:
  9429. description: 保证金模板id
  9430. type: integer
  9431. trademargintmpname:
  9432. description: 保证金模板名称
  9433. type: string
  9434. traderatetmpid:
  9435. description: 汇率模板id
  9436. type: integer
  9437. traderatetmpname:
  9438. description: 汇率模板名称
  9439. type: string
  9440. tradestatus:
  9441. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9442. type: integer
  9443. userid:
  9444. description: 用户id
  9445. type: integer
  9446. type: object
  9447. models.ErmcpTradeConfigTMP:
  9448. properties:
  9449. areauserid:
  9450. description: 所属机构
  9451. type: integer
  9452. basiccurrencyid:
  9453. description: 基本币种ID[汇率] - 目标币种
  9454. type: integer
  9455. mainaccountid:
  9456. description: 主账户ID
  9457. type: integer
  9458. modifierid:
  9459. description: 修改人
  9460. type: integer
  9461. remark:
  9462. description: 备注
  9463. type: string
  9464. tradeconfigtmpid:
  9465. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9466. type: integer
  9467. tradeconfigtmpname:
  9468. description: 交易配置模板名称
  9469. type: string
  9470. tradeconfigtmptype:
  9471. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9472. type: integer
  9473. updatetime:
  9474. description: 更新时间
  9475. type: string
  9476. type: object
  9477. models.Ermcpjrlinkpos:
  9478. properties:
  9479. areauserid:
  9480. description: 所属企业
  9481. type: integer
  9482. averageprice:
  9483. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9484. type: number
  9485. closepl:
  9486. description: 总平仓盈亏 [期货损益]
  9487. type: number
  9488. executeprice:
  9489. description: 执行价 - 1:期货单 为 0
  9490. type: integer
  9491. futurehedgeqty:
  9492. description: 期货套期量
  9493. type: number
  9494. goodsid:
  9495. description: 期货合约
  9496. type: integer
  9497. middlegoodscode:
  9498. description: 套保商品代码
  9499. type: string
  9500. middlegoodsname:
  9501. description: 套保商品名称
  9502. type: string
  9503. netqty:
  9504. description: 净头寸
  9505. type: number
  9506. optioncode:
  9507. description: 期权代码
  9508. type: string
  9509. ordertype:
  9510. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9511. type: integer
  9512. reckonpl:
  9513. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9514. type: number
  9515. spotcontractid:
  9516. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9517. type: string
  9518. todayfutureclosepl:
  9519. description: 今日平仓盈亏
  9520. type: number
  9521. totalbuyamount:
  9522. description: 买金额 [期货]
  9523. type: number
  9524. totalbuyholdamount:
  9525. description: 买持仓总金额[期货]
  9526. type: number
  9527. totalbuyqty:
  9528. description: 买数量
  9529. type: number
  9530. totalcharge:
  9531. description: 手续费
  9532. type: number
  9533. totalpremium:
  9534. description: 权利金 [期权]
  9535. type: number
  9536. totalsellamount:
  9537. description: 卖金额 [期货]
  9538. type: number
  9539. totalsellholdamount:
  9540. description: 卖持仓总金额[期货]
  9541. type: number
  9542. totalsellqty:
  9543. description: 卖数量
  9544. type: number
  9545. updatetime:
  9546. description: 更新时间
  9547. type: string
  9548. required:
  9549. - spotcontractid
  9550. type: object
  9551. models.Ermcppatradelinkdetail:
  9552. properties:
  9553. agreeunit:
  9554. description: 合约乘数
  9555. type: number
  9556. amount:
  9557. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9558. type: number
  9559. areauserid:
  9560. description: 所属机构
  9561. type: integer
  9562. bizsubjectid:
  9563. description: 归属业务部门ID - SubjectID
  9564. type: integer
  9565. buyorsell:
  9566. description: 方向 - 0:买 1:卖
  9567. type: integer
  9568. convertratio:
  9569. description: 品种系数
  9570. type: number
  9571. createtime:
  9572. description: 创建时间
  9573. type: string
  9574. creatorid:
  9575. description: 创建人ID
  9576. type: integer
  9577. creatorsrc:
  9578. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9579. type: integer
  9580. goodsgroupid:
  9581. description: 对冲品种ID[期货合约商品组ID]
  9582. type: integer
  9583. goodsid:
  9584. description: 商品ID
  9585. type: integer
  9586. hedgeditemid:
  9587. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9588. type: integer
  9589. hedgeflag:
  9590. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9591. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9592. type: integer
  9593. linkdetailid:
  9594. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9595. type: string
  9596. linkstatus:
  9597. description: 关联状态 - 1:成功 2:失败 3:解绑
  9598. type: integer
  9599. middlegoodsid:
  9600. description: 套保品种ID
  9601. type: integer
  9602. name:
  9603. description: 账户名/子账户
  9604. type: string
  9605. optioncode:
  9606. description: '[期货合约]期权代码 [期权]'
  9607. type: string
  9608. ordertype:
  9609. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9610. type: integer
  9611. relatedlot:
  9612. description: '[数量]关联手数'
  9613. type: number
  9614. relatedmode:
  9615. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9616. type: integer
  9617. relatedqty:
  9618. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9619. type: number
  9620. retcode:
  9621. description: 返回码
  9622. type: integer
  9623. saleuserid:
  9624. description: 业务员ID
  9625. type: integer
  9626. tradedate:
  9627. description: 关联交易日(yyyyMMdd)
  9628. type: string
  9629. tradeid:
  9630. description: '[成交单号]内部成交单ID'
  9631. type: string
  9632. tradelot:
  9633. description: 成交手数
  9634. type: integer
  9635. tradeprice:
  9636. description: '[价格]成交价格'
  9637. type: number
  9638. tradetime:
  9639. description: 日期时间
  9640. type: string
  9641. tradetradedate:
  9642. description: 成交交易日(yyyyMMdd)
  9643. type: string
  9644. required:
  9645. - hedgeditemid
  9646. type: object
  9647. models.Exchangerateconfig:
  9648. properties:
  9649. descurrencyid:
  9650. description: 目标币种ID
  9651. type: integer
  9652. exchangerate:
  9653. description: 汇率
  9654. type: number
  9655. oricurrencyid:
  9656. description: 源币种ID
  9657. type: integer
  9658. remark:
  9659. description: 备注
  9660. type: string
  9661. type: object
  9662. models.Externalexchange:
  9663. properties:
  9664. autoid:
  9665. description: AutoID - SEQ_EXTERNALEXCHANGE
  9666. type: integer
  9667. exchangefullname:
  9668. description: 外部交易所全称
  9669. type: string
  9670. exexchangecode:
  9671. description: 外部交易所代码
  9672. type: string
  9673. exexchangename:
  9674. description: 外部交易所名称(简称)
  9675. type: string
  9676. ismarketprice:
  9677. description: 是否支持市价 - 0:不支持 1:支持
  9678. type: integer
  9679. quotegear:
  9680. description: 行情档位(1-10)
  9681. type: integer
  9682. showbrokerflag:
  9683. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9684. type: integer
  9685. updatetime:
  9686. description: 更新时间
  9687. type: string
  9688. required:
  9689. - autoid
  9690. type: object
  9691. models.Funcmenulist:
  9692. properties:
  9693. iconame:
  9694. description: 菜单图标
  9695. type: string
  9696. menutype:
  9697. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9698. type: integer
  9699. parentcode:
  9700. description: 上级资源代码
  9701. type: string
  9702. remark:
  9703. description: 备注
  9704. type: string
  9705. resourcecode:
  9706. description: 资源代码
  9707. type: string
  9708. resourcelevel:
  9709. description: 级别 1-一级 2-二级 3-三级 4-四级
  9710. type: integer
  9711. resourcename:
  9712. description: 资源名
  9713. type: string
  9714. sort:
  9715. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9716. type: integer
  9717. url:
  9718. description: URL
  9719. type: string
  9720. required:
  9721. - resourcecode
  9722. type: object
  9723. models.Fworderoperate:
  9724. properties:
  9725. advanceamount:
  9726. description: 总预付款
  9727. type: number
  9728. advanceproofaddr:
  9729. description: 预付款收款凭证(确认结算费用时)
  9730. type: string
  9731. bankfee:
  9732. description: 汇款银行手续费
  9733. type: number
  9734. bankproofaddr:
  9735. description: 广钻汇款银行手续费凭证(确认结算费用时)
  9736. type: string
  9737. customsproofaddr:
  9738. description: 海关税费保证金收据(确认结算费用时)
  9739. type: string
  9740. logisticsfee:
  9741. description: 代缴物流保险费
  9742. type: number
  9743. logisticsproofaddr:
  9744. description: 代缴物流保险费凭证(确认结算费用时)
  9745. type: string
  9746. operatetime:
  9747. description: 操作时间
  9748. type: string
  9749. operatoraccount:
  9750. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  9751. type: string
  9752. operatorid:
  9753. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  9754. type: integer
  9755. operatorname:
  9756. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  9757. type: string
  9758. operatorsrc:
  9759. description: 操作人来源 - 1:管理端 2:终端
  9760. type: integer
  9761. orderid:
  9762. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  9763. type: string
  9764. otherfee:
  9765. description: 其它费用
  9766. type: number
  9767. remark:
  9768. description: 操作备注
  9769. type: string
  9770. servicefee:
  9771. description: 综合服务费
  9772. type: number
  9773. settleamount:
  9774. description: 总结算费用 - 实际扣除资金,不含税费保证金
  9775. type: number
  9776. status:
  9777. description: 操作后单据状态 - 枚举"GZBSStatus"
  9778. type: integer
  9779. taxmargin:
  9780. description: 税费保证金
  9781. type: number
  9782. totalfee:
  9783. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  9784. type: number
  9785. required:
  9786. - orderid
  9787. - status
  9788. type: object
  9789. models.GErmcpspotgoodsprice:
  9790. properties:
  9791. chg:
  9792. description: 涨跌幅
  9793. type: number
  9794. currencyid:
  9795. description: 报价货币ID
  9796. type: integer
  9797. deliverygoodsid:
  9798. description: 现货品种ID
  9799. type: integer
  9800. prespotgoodsprice:
  9801. description: 上日价格
  9802. type: number
  9803. spotgoodsbrandid:
  9804. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  9805. type: integer
  9806. spotgoodsprice:
  9807. description: 【最新价】当前价格
  9808. type: number
  9809. srcmarketname:
  9810. description: 来源市场名称
  9811. type: string
  9812. todaypricedtotalamount:
  9813. description: 今日定价金额
  9814. type: number
  9815. todaypricedtotalqty:
  9816. description: 今日定价总量
  9817. type: number
  9818. todayspotgoodsprice:
  9819. description: 今日指定价
  9820. type: number
  9821. tradedate:
  9822. description: 【日期】交易日
  9823. type: string
  9824. wrstandardcode:
  9825. description: 现货商品代码
  9826. type: string
  9827. wrstandardid:
  9828. description: 现货商品ID(通用则为0)
  9829. type: integer
  9830. wrstandardname:
  9831. description: 【名称】现货商品名称
  9832. type: string
  9833. ystspotgoodsprice:
  9834. description: 昨价
  9835. type: number
  9836. type: object
  9837. models.GThjuserscorelog:
  9838. properties:
  9839. createtime:
  9840. description: 记账时间
  9841. type: string
  9842. redpacketvalue:
  9843. description: 红包值【抽奖】
  9844. type: number
  9845. score:
  9846. description: 变动积分
  9847. type: number
  9848. scoreconfigtype:
  9849. description: 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分
  9850. 7:抽奖配置
  9851. type: integer
  9852. stype:
  9853. description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  9854. 6:自己供求下单积分 7:抽奖配置'
  9855. type: string
  9856. type: object
  9857. models.GZGoods:
  9858. properties:
  9859. address:
  9860. description: 详细地址
  9861. type: string
  9862. cerno:
  9863. description: 证书编号 - 类型:2,4,5
  9864. type: string
  9865. cityname:
  9866. description: 城市名称
  9867. type: string
  9868. countryname:
  9869. description: 国家名称
  9870. type: string
  9871. cpcertno:
  9872. description: 金伯利证书编号 - 类型:3
  9873. type: string
  9874. districtname:
  9875. description: 地区名称
  9876. type: string
  9877. goodsno:
  9878. description: 商品编号
  9879. type: string
  9880. imagepath:
  9881. description: 商品照片(相对地址)
  9882. type: string
  9883. isvalid:
  9884. description: 是否有效 - 0:无效 1:有效
  9885. type: integer
  9886. kppath:
  9887. description: 金伯利证书图片(相对地址) - 类型:3
  9888. type: string
  9889. kpweight:
  9890. description: 金伯利证书重量 - 类型:3
  9891. type: string
  9892. marketprice:
  9893. description: 市场价
  9894. type: string
  9895. mobile:
  9896. description: 手机号码
  9897. type: string
  9898. origin:
  9899. description: 原产地 - 类型:3
  9900. type: string
  9901. performancetemplateid:
  9902. description: 履约计划模板ID
  9903. type: integer
  9904. price:
  9905. description: 总价(价格) - 类型:1,2,3,4,5
  9906. type: number
  9907. priceper:
  9908. description: 克拉单价 - 类型:1,2,3,5
  9909. type: string
  9910. provincename:
  9911. description: 省名称
  9912. type: string
  9913. remainqty:
  9914. description: 剩余重量
  9915. type: number
  9916. remark:
  9917. description: 备注
  9918. type: string
  9919. sellusername:
  9920. description: 账户名称(机构名称)
  9921. type: string
  9922. settingmaterial:
  9923. description: 镶嵌材料 - 类型:4
  9924. type: string
  9925. size1:
  9926. description: 尺寸1 - 类型:2,4,5
  9927. type: string
  9928. size2:
  9929. description: 尺寸2 - 类型:2,4,5
  9930. type: string
  9931. size3:
  9932. description: 尺寸3 - 类型:2,4,5
  9933. type: string
  9934. sizedisplay:
  9935. description: 尺寸
  9936. type: string
  9937. stonedesc:
  9938. description: 配石描述 - 类型:4
  9939. type: string
  9940. userid:
  9941. description: 用户ID
  9942. type: integer
  9943. warehouseid:
  9944. description: 仓库ID
  9945. type: integer
  9946. warehousenamedisplay:
  9947. type: string
  9948. weight:
  9949. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9950. type: number
  9951. weightavg:
  9952. description: 平均单颗重量 - 类型:1,3
  9953. type: number
  9954. wrpath:
  9955. description: 仓单扫描件(相对地址)
  9956. type: string
  9957. wrstandardid:
  9958. description: 现货商品ID
  9959. type: integer
  9960. wrtradeorderid:
  9961. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9962. type: string
  9963. zscategory:
  9964. description: 钻石分类 - 枚举”ZSCategory“
  9965. type: integer
  9966. zscategorydisplay:
  9967. type: string
  9968. zscerttype:
  9969. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9970. type: integer
  9971. zscerttypedisplay:
  9972. type: string
  9973. zsclaritytype1:
  9974. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9975. type: integer
  9976. zsclaritytype1display:
  9977. type: string
  9978. zsclaritytype2:
  9979. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9980. type: integer
  9981. zsclaritytype2display:
  9982. type: string
  9983. zscolortype1:
  9984. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9985. type: integer
  9986. zscolortype1display:
  9987. type: string
  9988. zscolortype2:
  9989. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9990. type: integer
  9991. zscolortype2display:
  9992. type: string
  9993. zscrystaltype:
  9994. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9995. type: string
  9996. zscrystaltypedisplay:
  9997. type: string
  9998. zscurrencytype:
  9999. description: 货币类型 - 枚举“ZSCurrencyType”
  10000. type: integer
  10001. zscurrencytypedisplay:
  10002. type: string
  10003. zscurrencytypedisplayunit:
  10004. type: string
  10005. zscuttype1:
  10006. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  10007. type: integer
  10008. zscuttype1display:
  10009. type: string
  10010. zscuttype2:
  10011. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  10012. type: integer
  10013. zscuttype2display:
  10014. type: string
  10015. zsczcolor1type:
  10016. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  10017. type: integer
  10018. zsczcolor1typedisplay:
  10019. type: string
  10020. zsczcolor2type:
  10021. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  10022. type: integer
  10023. zsczcolor2typedisplay:
  10024. type: string
  10025. zsczcolor3type:
  10026. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  10027. type: integer
  10028. zsczcolor3typedisplay:
  10029. type: string
  10030. zsfluorescencetype1:
  10031. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  10032. type: integer
  10033. zsfluorescencetype1display:
  10034. type: string
  10035. zsfluorescencetype2:
  10036. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  10037. type: integer
  10038. zsfluorescencetype2display:
  10039. type: string
  10040. zspolishtype1:
  10041. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  10042. type: integer
  10043. zspolishtype1display:
  10044. type: string
  10045. zspolishtype2:
  10046. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  10047. type: integer
  10048. zspolishtype2display:
  10049. type: string
  10050. zsshapetype:
  10051. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  10052. type: string
  10053. zsshapetypedisplay:
  10054. type: string
  10055. zsstyletype:
  10056. description: 款式 - 类型:4
  10057. type: integer
  10058. zsstyletypedisplay:
  10059. type: string
  10060. zssymmetrytype1:
  10061. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  10062. type: integer
  10063. zssymmetrytype1display:
  10064. type: string
  10065. zssymmetrytype2:
  10066. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  10067. type: integer
  10068. zssymmetrytype2display:
  10069. type: string
  10070. required:
  10071. - goodsno
  10072. type: object
  10073. models.GZHomeData:
  10074. properties:
  10075. purchasedtransactions:
  10076. description: 已购买的交易
  10077. type: integer
  10078. transactioninpurchase:
  10079. description: 求购中的交易
  10080. type: integer
  10081. transactionsonsale:
  10082. description: 出售中的交易
  10083. type: integer
  10084. transactionssold:
  10085. description: 已卖出的交易
  10086. type: integer
  10087. unhandledmessage:
  10088. description: 未处理消息
  10089. type: integer
  10090. type: object
  10091. models.GZWarehouseinfo:
  10092. properties:
  10093. address:
  10094. description: 详细地址
  10095. type: string
  10096. areauserid:
  10097. description: 所属机构
  10098. type: integer
  10099. autoid:
  10100. description: 自增ID
  10101. type: integer
  10102. cityid:
  10103. description: 市
  10104. type: integer
  10105. cityname:
  10106. description: 城市名称
  10107. type: string
  10108. contactname:
  10109. description: 联系人
  10110. type: string
  10111. contactnum:
  10112. description: 联系电话
  10113. type: string
  10114. countryid:
  10115. description: 国家
  10116. type: integer
  10117. countryname:
  10118. description: 国家名称
  10119. type: string
  10120. createtime:
  10121. description: 创建时间
  10122. type: string
  10123. districtid:
  10124. description: 区
  10125. type: integer
  10126. districtname:
  10127. description: 地区名称
  10128. type: string
  10129. hasvideo:
  10130. description: 是否有视频 - 0:无 1:有
  10131. type: integer
  10132. provinceid:
  10133. description: 省
  10134. type: integer
  10135. provincename:
  10136. description: 省名称
  10137. type: string
  10138. remark:
  10139. description: 审核备注
  10140. type: string
  10141. videourl:
  10142. description: 视频地址
  10143. type: string
  10144. warehousecode:
  10145. description: 仓库代码
  10146. type: string
  10147. warehousename:
  10148. description: 仓库名称
  10149. type: string
  10150. warehousestatus:
  10151. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10152. type: integer
  10153. warehousetype:
  10154. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10155. type: integer
  10156. type: object
  10157. models.Goods:
  10158. properties:
  10159. agreeunit:
  10160. description: 合约单位
  10161. type: number
  10162. areauserid:
  10163. description: 所属机构
  10164. type: integer
  10165. auditaccountid:
  10166. description: 审核操作员账号
  10167. type: integer
  10168. audittime:
  10169. description: 审核时间
  10170. type: string
  10171. cancelaccountid:
  10172. description: 注销操作员账号
  10173. type: integer
  10174. canceltime:
  10175. description: 注销时间
  10176. type: string
  10177. closepricemode:
  10178. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10179. type: integer
  10180. closepriceparam:
  10181. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  10182. type: number
  10183. createtime:
  10184. description: 创建时间
  10185. type: string
  10186. creatorid:
  10187. description: 创建人
  10188. type: integer
  10189. currencyid:
  10190. description: 报价货币ID
  10191. type: integer
  10192. cutmode:
  10193. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  10194. type: integer
  10195. decimalplace:
  10196. description: 报价小数位
  10197. type: integer
  10198. delistingdate:
  10199. description: 商品退市时间(状态:退市) -- 已作废
  10200. type: string
  10201. delistingmode:
  10202. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  10203. type: integer
  10204. deliveryflag:
  10205. description: 交割标志 - 0:不可交割 1:可交割
  10206. type: integer
  10207. forceclosemode:
  10208. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  10209. type: integer
  10210. forceclosevalue:
  10211. description: 定期强平参数 [收益权]
  10212. type: integer
  10213. goodscode:
  10214. description: 商品代码(内部)
  10215. type: string
  10216. goodscurrencyid:
  10217. description: 合约货币ID
  10218. type: integer
  10219. goodsgroupid:
  10220. description: 所属商品组ID
  10221. type: integer
  10222. goodsid:
  10223. description: 商品ID(自增ID SEQ_GOODS)
  10224. type: integer
  10225. goodsname:
  10226. description: 商品名称
  10227. type: string
  10228. goodsquotetype:
  10229. description: '合约报价类型: 1-直接报价 2-间接报价'
  10230. type: integer
  10231. goodsstatus:
  10232. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10233. type: integer
  10234. goodstradetype:
  10235. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10236. type: integer
  10237. goodunitid:
  10238. description: 报价单位ID
  10239. type: integer
  10240. hasquoter:
  10241. description: 是否有报价商 - 0:无报价商 1:有报价商
  10242. type: integer
  10243. hqprotecttime:
  10244. description: 行情保护时间(秒)
  10245. type: integer
  10246. innerdealmode:
  10247. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10248. type: integer
  10249. isbuylimited:
  10250. description: 是否限制建仓量 - 0:不限制 1:限制
  10251. type: integer
  10252. isvisible:
  10253. description: 游客是否可见 - 0:不可见 1:可见
  10254. type: integer
  10255. lasttradedate:
  10256. description: 最后交易日期(状态:待退市)
  10257. type: string
  10258. listingdate:
  10259. description: 交易开始日期
  10260. type: string
  10261. marketid:
  10262. description: 所属市场ID
  10263. type: integer
  10264. modifierid:
  10265. description: 修改人
  10266. type: integer
  10267. modifystatus:
  10268. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10269. type: integer
  10270. modifytime:
  10271. description: 修改时间
  10272. type: string
  10273. outerdealmode:
  10274. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10275. type: integer
  10276. outgoodscode:
  10277. description: 商品代码(外部)
  10278. type: string
  10279. pictureurl:
  10280. description: 商品图片
  10281. type: string
  10282. qtydecimalplace:
  10283. description: 成交量小数位
  10284. type: integer
  10285. quotegear:
  10286. description: 行情档位(1-10)
  10287. type: integer
  10288. quoteminunit:
  10289. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10290. type: integer
  10291. quoteshowtype:
  10292. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10293. type: integer
  10294. quoteshowtypeinterval:
  10295. description: 行情报价间隔时间(秒)(成交价时为0)
  10296. type: integer
  10297. remark:
  10298. description: 备注
  10299. type: string
  10300. required:
  10301. - goodscode
  10302. - goodsid
  10303. - goodsname
  10304. - marketid
  10305. type: object
  10306. models.GoodsIDAndName:
  10307. properties:
  10308. goodscode:
  10309. description: 商品代码(内部)
  10310. type: string
  10311. goodsid:
  10312. description: 商品ID(自增ID SEQ_GOODS)
  10313. type: integer
  10314. goodsname:
  10315. description: 商品名称
  10316. type: string
  10317. marketid:
  10318. description: 所属市场ID
  10319. type: integer
  10320. required:
  10321. - goodscode
  10322. - goodsid
  10323. - goodsname
  10324. - marketid
  10325. type: object
  10326. models.Goodsgroup:
  10327. properties:
  10328. agreeunit:
  10329. description: 合约单位
  10330. type: number
  10331. canshort:
  10332. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10333. type: integer
  10334. closepricemode:
  10335. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10336. type: integer
  10337. closepriceparam:
  10338. description: 强平最新价浮动比例 - 方式为2时使用
  10339. type: number
  10340. createtime:
  10341. description: 创建时间
  10342. type: string
  10343. creatorid:
  10344. description: 创建人
  10345. type: integer
  10346. currencyid:
  10347. description: 报价货币ID
  10348. type: integer
  10349. decimalplace:
  10350. description: 报价小数位
  10351. type: integer
  10352. exercisetype:
  10353. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10354. type: integer
  10355. exexchangeid:
  10356. description: 外部交易所ID[通道交易]
  10357. type: integer
  10358. goodsgroupid:
  10359. description: 商品组ID(自增ID)
  10360. type: integer
  10361. goodsgroupname:
  10362. description: 商品组名称
  10363. type: string
  10364. goodsgroupstatus:
  10365. description: 商品组状态 - 1:正常 2:注销
  10366. type: integer
  10367. goodunitid:
  10368. description: 报价单位ID
  10369. type: integer
  10370. innerdealmode:
  10371. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10372. type: integer
  10373. isbuylimited:
  10374. description: 是否限制建仓量 - 0:不限制 1:限制
  10375. type: integer
  10376. marketid:
  10377. description: 所属市场ID
  10378. type: integer
  10379. modifierid:
  10380. description: 修改人
  10381. type: integer
  10382. modifytime:
  10383. description: 修改时间
  10384. type: string
  10385. outerdealmode:
  10386. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10387. type: integer
  10388. outergroupcode:
  10389. description: 外部商品组代码[通道交易]
  10390. type: string
  10391. premiumdecimalplace:
  10392. description: 权利金小数位[场外期权]
  10393. type: integer
  10394. premiumspreadalgorithm:
  10395. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10396. type: integer
  10397. premiumspreadvalue:
  10398. description: 权利金点差值[场外期权]
  10399. type: number
  10400. qtydecimalplace:
  10401. description: 成交量小数位
  10402. type: integer
  10403. quotegear:
  10404. description: 行情档位(1-10)
  10405. type: integer
  10406. quoteminunit:
  10407. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10408. type: integer
  10409. quoterid:
  10410. description: 报价商ID[场外期权]
  10411. type: integer
  10412. quotesourcegroupid:
  10413. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10414. type: integer
  10415. syncgoodsqty:
  10416. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10417. type: integer
  10418. required:
  10419. - goodsgroupid
  10420. - goodsgroupname
  10421. - goodsgroupstatus
  10422. - marketid
  10423. type: object
  10424. models.Goodssortbypreposition:
  10425. properties:
  10426. goodscode:
  10427. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10428. type: string
  10429. goodsgroupcode:
  10430. description: 品种代码
  10431. type: string
  10432. prepositionqty:
  10433. description: 昨持仓量
  10434. type: integer
  10435. sortindex:
  10436. description: 排序
  10437. type: integer
  10438. tradedate:
  10439. description: 交易日
  10440. type: string
  10441. updatetime:
  10442. description: 更新时间
  10443. type: string
  10444. required:
  10445. - goodscode
  10446. - tradedate
  10447. type: object
  10448. models.GzbsfworderM:
  10449. properties:
  10450. accountid:
  10451. description: 资金账户ID
  10452. type: integer
  10453. addresscn:
  10454. description: 地址(中文)
  10455. type: string
  10456. addressen:
  10457. description: 地址(英文)
  10458. type: string
  10459. advanceamount:
  10460. description: 总预付款
  10461. type: number
  10462. colorrange:
  10463. description: 颜色范围
  10464. type: string
  10465. companynamecn:
  10466. description: 收货人(中文)
  10467. type: string
  10468. companynameen:
  10469. description: 收货人(英文)
  10470. type: string
  10471. contactfax:
  10472. description: 收货人传真
  10473. type: string
  10474. contactname:
  10475. description: 收货人姓名
  10476. type: string
  10477. contactphoneno:
  10478. description: 收货人电话
  10479. type: string
  10480. contentrange:
  10481. description: 【内容】内容范围
  10482. type: string
  10483. createtime:
  10484. description: 创建时间
  10485. type: string
  10486. executestatus:
  10487. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10488. type: integer
  10489. gzbsdeliverytype:
  10490. description: 收货方式 - 枚举"GZBSDeliveryType"
  10491. type: integer
  10492. gzbsstatus:
  10493. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10494. type: integer
  10495. gzbsstatusdisplay:
  10496. description: 单据状态
  10497. type: string
  10498. handlestatus:
  10499. description: 处理状态
  10500. type: integer
  10501. orderdate:
  10502. description: 单据日期
  10503. type: string
  10504. orderid:
  10505. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10506. type: string
  10507. orderno:
  10508. description: 单据编号 - GZDEBSFW+单据流水号
  10509. type: string
  10510. ordersn:
  10511. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10512. type: string
  10513. origincountry:
  10514. description: 原产国
  10515. type: string
  10516. otherlogistics:
  10517. description: 指定其它物流
  10518. type: string
  10519. priceper:
  10520. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10521. type: number
  10522. settleamount:
  10523. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10524. type: number
  10525. shaperange:
  10526. description: 形状范围
  10527. type: string
  10528. taxmargin:
  10529. description: 税费保证金 - 确认结算费用时退回
  10530. type: number
  10531. totalamount:
  10532. description: 总值(美元)
  10533. type: number
  10534. totalgrossweightgm:
  10535. description: 总毛重(克)
  10536. type: number
  10537. totalnetweightgm:
  10538. description: 总净重(克)
  10539. type: number
  10540. totalnetweigthct:
  10541. description: 总净重(克拉)
  10542. type: number
  10543. totalnumber:
  10544. description: 总粒数
  10545. type: integer
  10546. userid:
  10547. description: 用户ID
  10548. type: integer
  10549. weightrange:
  10550. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10551. type: string
  10552. required:
  10553. - userid
  10554. type: object
  10555. models.GzbsfworderdetailM:
  10556. properties:
  10557. colorinfo:
  10558. description: 彩钻信息
  10559. type: string
  10560. createtime:
  10561. description: 创建时间
  10562. type: string
  10563. grossweightgm:
  10564. description: 毛重(克)
  10565. type: number
  10566. gzcjshape:
  10567. description: 形状(字符)
  10568. type: string
  10569. netweigthct:
  10570. description: 净重(克拉)
  10571. type: number
  10572. netweigthgm:
  10573. description: 净重(克)
  10574. type: number
  10575. ordercontent:
  10576. description: 内容
  10577. type: string
  10578. orderdetailid:
  10579. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10580. type: string
  10581. orderid:
  10582. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10583. type: string
  10584. orderindex:
  10585. description: 顺序
  10586. type: integer
  10587. perprice:
  10588. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10589. type: number
  10590. remark:
  10591. description: 备注(其它)
  10592. type: string
  10593. totalamount:
  10594. description: 总值(美元)
  10595. type: number
  10596. type: object
  10597. models.Gzbsfworderoperate:
  10598. properties:
  10599. advanceproofaddr:
  10600. description: 预付款收款凭证(确认结算费用时)
  10601. type: string
  10602. bankfee:
  10603. description: 汇款银行手续费
  10604. type: number
  10605. bankproofaddr:
  10606. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10607. type: string
  10608. customsproofaddr:
  10609. description: 海关税费保证金收据(确认结算费用时)
  10610. type: string
  10611. gzbsstatus:
  10612. description: 操作后单据状态 - 枚举"GZBSStatus"
  10613. type: integer
  10614. logisticsfee:
  10615. description: 代缴物流保险费
  10616. type: number
  10617. logisticsproofaddr:
  10618. description: 代缴物流保险费凭证(确认结算费用时)
  10619. type: string
  10620. operatetime:
  10621. description: 操作时间
  10622. type: string
  10623. operatoraccount:
  10624. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10625. type: string
  10626. operatorid:
  10627. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10628. type: integer
  10629. operatorname:
  10630. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10631. type: string
  10632. operatorsrc:
  10633. description: 操作人来源 - 1:管理端 2:终端
  10634. type: integer
  10635. orderid:
  10636. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10637. type: integer
  10638. otherfee:
  10639. description: 其它费用
  10640. type: number
  10641. remark:
  10642. description: 操作备注
  10643. type: string
  10644. servicefee:
  10645. description: 综合服务费
  10646. type: number
  10647. taxmargin:
  10648. description: 税费保证金
  10649. type: number
  10650. totalfee:
  10651. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10652. type: number
  10653. required:
  10654. - orderid
  10655. type: object
  10656. models.Gzcertaddressconfig:
  10657. properties:
  10658. certregion:
  10659. description: 证书地域 - 1:国内 2:国际
  10660. type: integer
  10661. certtype:
  10662. description: 证书类型
  10663. type: string
  10664. orderindex:
  10665. description: 显示顺序
  10666. type: integer
  10667. orgcnname:
  10668. description: 机构名称(中文)
  10669. type: string
  10670. orgenname:
  10671. description: 机构名称(英文)
  10672. type: string
  10673. queryaddress:
  10674. description: 查询地址
  10675. type: string
  10676. remark:
  10677. description: 备注
  10678. type: string
  10679. updatetime:
  10680. description: 更新时间
  10681. type: string
  10682. type: object
  10683. models.Gzcertaddressparam:
  10684. properties:
  10685. certtype:
  10686. description: 证书类型
  10687. type: string
  10688. orderindex:
  10689. description: 参数顺序
  10690. type: integer
  10691. paramkey:
  10692. description: 参数Key
  10693. type: string
  10694. paramname:
  10695. description: 参数名称
  10696. type: string
  10697. updatetime:
  10698. description: 更新时间
  10699. type: string
  10700. type: object
  10701. models.GzcjbsorderfileM:
  10702. properties:
  10703. canmembervisit:
  10704. description: 会员是否可访问 - 1:可 2:不可
  10705. type: integer
  10706. fileaddress:
  10707. description: 文件地址
  10708. type: string
  10709. filegentype:
  10710. description: 文件生成类型 - 1:系统生成 2:手动上传
  10711. type: integer
  10712. filename:
  10713. description: 文件名称
  10714. type: string
  10715. operatetime:
  10716. description: 操作时间
  10717. type: string
  10718. operatoraccount:
  10719. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10720. type: string
  10721. operatorid:
  10722. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10723. type: integer
  10724. operatorsrc:
  10725. description: 操作人来源 - 1:管理端 2:终端
  10726. type: integer
  10727. orderfileid:
  10728. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10729. type: integer
  10730. orderid:
  10731. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10732. type: integer
  10733. required:
  10734. - orderid
  10735. type: object
  10736. models.GzcjjcorderM:
  10737. properties:
  10738. accountid:
  10739. description: 资金账户ID
  10740. type: integer
  10741. addresscn:
  10742. description: 地址(中文)
  10743. type: string
  10744. addressen:
  10745. description: 地址(英文)
  10746. type: string
  10747. advanceamount:
  10748. description: 总预付款
  10749. type: number
  10750. colorrange:
  10751. description: 颜色范围
  10752. type: string
  10753. companynamecn:
  10754. description: 公司名称(中文)
  10755. type: string
  10756. companynameen:
  10757. description: 公司名称(英文)
  10758. type: string
  10759. contactname:
  10760. description: 联系人姓名
  10761. type: string
  10762. contactphoneno:
  10763. description: 联系人电话
  10764. type: string
  10765. contactposition:
  10766. description: 联系人职位
  10767. type: string
  10768. createtime:
  10769. description: 创建时间
  10770. type: string
  10771. email:
  10772. description: 邮箱
  10773. type: string
  10774. executestatus:
  10775. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10776. type: integer
  10777. gzcjaccount:
  10778. description: 送检账户
  10779. type: string
  10780. gzcjaccounttype:
  10781. description: 检测账户类型 - 枚举"GZCJAccountType"
  10782. type: integer
  10783. gzcjcategorytype:
  10784. description: 货物品类 - 枚举"GZCJCategoryType"
  10785. type: integer
  10786. gzcjcategorytypedisplay:
  10787. description: 货物品类
  10788. type: string
  10789. gzcjdeliverytype:
  10790. description: 收货方式 - 枚举"GZCJDeliveryType"
  10791. type: integer
  10792. gzcjdeliverytypedisplay:
  10793. description: 收货方式
  10794. type: string
  10795. gzcjstatus:
  10796. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10797. type: integer
  10798. gzcjstatusdisplay:
  10799. description: 单据状态(出境检测)
  10800. type: string
  10801. handlestatus:
  10802. description: 处理状态
  10803. type: integer
  10804. invoiceremark:
  10805. description: 复核备注 - 发票装箱单使用
  10806. type: string
  10807. orderid:
  10808. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10809. type: integer
  10810. orderidstr:
  10811. description: 单据ID 字符(801+Unix秒时间戳(10位)+xxxxxx)
  10812. type: string
  10813. orderno:
  10814. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10815. type: string
  10816. ordersn:
  10817. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10818. type: string
  10819. origincountry:
  10820. description: 原产国
  10821. type: string
  10822. processingcountry:
  10823. description: 成品钻石加工国
  10824. type: string
  10825. realservicefee:
  10826. description: 应收综合服务费
  10827. type: number
  10828. servicefeesum:
  10829. description: 汇总综合服务费 - 明细上值汇总
  10830. type: number
  10831. settleamount:
  10832. description: 总结算费用
  10833. type: number
  10834. shaperange:
  10835. description: 形状范围
  10836. type: string
  10837. totalamount:
  10838. description: 总金额(美元)
  10839. type: number
  10840. totalgrossweight:
  10841. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10842. * 200
  10843. type: number
  10844. totalnumber:
  10845. description: 总粒数
  10846. type: integer
  10847. totalweight:
  10848. description: 总克拉数(保留3位小数)
  10849. type: number
  10850. totalweightgm:
  10851. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10852. type: number
  10853. userid:
  10854. description: 用户ID
  10855. type: integer
  10856. weightrange:
  10857. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10858. type: string
  10859. zsorigin:
  10860. description: 天然钻石毛坯原产地
  10861. type: string
  10862. required:
  10863. - userid
  10864. type: object
  10865. models.GzcjjcorderdetailM:
  10866. properties:
  10867. amount:
  10868. description: 参考货值(USD)
  10869. type: number
  10870. colorinfo:
  10871. description: 彩钻信息
  10872. type: string
  10873. createtime:
  10874. description: 创建时间
  10875. type: string
  10876. gzcjmarktype:
  10877. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10878. type: integer
  10879. gzcjpublishtype:
  10880. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10881. type: integer
  10882. gzcjpublishtypestring:
  10883. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10884. type: string
  10885. gzcjservicetype:
  10886. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10887. type: integer
  10888. gzcjservicetypestring:
  10889. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10890. type: string
  10891. gzcjshapetype:
  10892. description: 形状 - 枚举"GZCJShapeType"
  10893. type: integer
  10894. gzcjshapetypestring:
  10895. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10896. type: string
  10897. gzno:
  10898. description: 货物编号
  10899. type: string
  10900. orderdetailid:
  10901. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10902. type: string
  10903. orderid:
  10904. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10905. type: string
  10906. orderindex:
  10907. description: 顺序
  10908. type: integer
  10909. origincertno:
  10910. description: 原证书号【送检账户为“广钻账户”】
  10911. type: string
  10912. remark:
  10913. description: 备注(其它)
  10914. type: string
  10915. servicefee:
  10916. description: 综合服务费 - 根据市场配置计算
  10917. type: number
  10918. weight:
  10919. description: 重量(CT)
  10920. type: number
  10921. type: object
  10922. models.Gzcjjcorderoperate:
  10923. properties:
  10924. advanceamount:
  10925. description: 总预付款
  10926. type: number
  10927. advanceproofaddr:
  10928. description: 预付检测费和海关税费银行凭证(确认结算费用时)
  10929. type: string
  10930. bankfee:
  10931. description: 汇款银行手续费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10932. type: number
  10933. bankproofaddr:
  10934. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10935. type: string
  10936. customsfee:
  10937. description: 海关税费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10938. type: number
  10939. customsproofaddr:
  10940. description: 海关税费凭证(确认结算费用时)
  10941. type: string
  10942. exchangerate:
  10943. description: 汇率 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10944. type: number
  10945. giaproofaddr:
  10946. description: GIA检测费凭证(确认结算费用时)
  10947. type: string
  10948. giarmbfee:
  10949. description: GIA检测费(¥) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10950. type: number
  10951. giausdfee:
  10952. description: GIA检测费(USD$) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10953. type: number
  10954. logisticsfee:
  10955. description: 代缴物流保险费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10956. type: number
  10957. logisticsproofaddr:
  10958. description: 代缴物流保险费凭证(确认结算费用时)
  10959. type: string
  10960. operatetime:
  10961. description: 操作时间
  10962. type: string
  10963. operatoraccount:
  10964. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10965. type: string
  10966. operatorid:
  10967. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10968. type: integer
  10969. operatorname:
  10970. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10971. type: string
  10972. operatorsrc:
  10973. description: 操作人来源 - 1:管理端 2:终端
  10974. type: integer
  10975. orderid:
  10976. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10977. type: string
  10978. otherfee:
  10979. description: 其它费用
  10980. type: number
  10981. remark:
  10982. description: 操作备注
  10983. type: string
  10984. servicefee:
  10985. description: 综合服务费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10986. type: number
  10987. settleamount:
  10988. description: 总结算费用
  10989. type: number
  10990. status:
  10991. description: 操作后单据状态 - 枚举"GZCJStatus"
  10992. type: integer
  10993. totalfee:
  10994. description: 总费用 = GIA检测费(¥) + 海关税费 + 汇款银行手续费 + 代缴物流保险费 + 综合服务费 + 其它费用 [GZCJStatus
  10995. = 10.预付款确认中\13.付款确认中] 时
  10996. type: number
  10997. required:
  10998. - orderid
  10999. - status
  11000. type: object
  11001. models.Gzrapaportprice:
  11002. properties:
  11003. dollar:
  11004. description: 美元
  11005. type: string
  11006. rmb:
  11007. description: 人民币
  11008. type: string
  11009. type: object
  11010. models.Hedgeinnerholderdetail:
  11011. properties:
  11012. accountid:
  11013. description: 账号ID
  11014. type: integer
  11015. buyorsell:
  11016. description: 方向 - 0:买 1:卖
  11017. type: integer
  11018. freezeqty:
  11019. description: 冻结数量 - 按单平使用
  11020. type: integer
  11021. goodsid:
  11022. description: 商品ID
  11023. type: integer
  11024. holderamount:
  11025. description: 持仓金额 [商品币种]
  11026. type: number
  11027. holderdays:
  11028. description: 剩余冻结天数
  11029. type: integer
  11030. holderprice:
  11031. description: 持仓价格
  11032. type: number
  11033. holderqty:
  11034. description: 持仓数量
  11035. type: integer
  11036. marketid:
  11037. description: 市场ID
  11038. type: integer
  11039. openprice:
  11040. description: 建仓价格
  11041. type: number
  11042. openqty:
  11043. description: 建仓数量
  11044. type: integer
  11045. parentaccountid:
  11046. description: 所属母账户
  11047. type: integer
  11048. releaseamount:
  11049. description: 释放持仓金额[商品币种]
  11050. type: number
  11051. tradeamount:
  11052. description: 成交金额[账户]
  11053. type: number
  11054. tradedate:
  11055. description: 交易日(yyyyMMdd)
  11056. type: string
  11057. tradeid:
  11058. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11059. type: string
  11060. tradetime:
  11061. description: 交易时间
  11062. type: string
  11063. required:
  11064. - buyorsell
  11065. - tradeid
  11066. type: object
  11067. models.Hedgemarketopenlog:
  11068. properties:
  11069. accountid:
  11070. description: 资金账号[外部母账户]
  11071. type: integer
  11072. fcname:
  11073. description: 期货公司名称
  11074. type: string
  11075. handlestatus:
  11076. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  11077. type: integer
  11078. marketid:
  11079. description: 市场ID
  11080. type: integer
  11081. status:
  11082. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  11083. type: integer
  11084. tradedate:
  11085. description: 交易日(yyyyMMdd)
  11086. type: string
  11087. updatetime:
  11088. description: 更新时间
  11089. type: string
  11090. required:
  11091. - accountid
  11092. type: object
  11093. models.HsbyBuyMyPayOrder:
  11094. properties:
  11095. agreeunit:
  11096. description: 合约单位
  11097. type: number
  11098. buyaccountid:
  11099. description: 买方账号ID[报价币种]
  11100. type: integer
  11101. buyorderid:
  11102. description: 买方委托单号
  11103. type: string
  11104. createtime:
  11105. description: 创建时间
  11106. type: string
  11107. currencysign:
  11108. description: 货币符号
  11109. type: string
  11110. decimalplace:
  11111. description: 报价小数位
  11112. type: integer
  11113. goodscode:
  11114. description: 商品代码(内部)
  11115. type: string
  11116. goodsid:
  11117. description: 商品ID
  11118. type: integer
  11119. goodsname:
  11120. description: 商品名称
  11121. type: string
  11122. marketid:
  11123. description: 市场ID
  11124. type: integer
  11125. offamount:
  11126. description: 优惠金额
  11127. type: number
  11128. originalamount:
  11129. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  11130. type: number
  11131. payamount:
  11132. description: 支付金额 = TradeAmount + TradeCharge
  11133. type: number
  11134. payflag:
  11135. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11136. type: integer
  11137. paylimitedtime:
  11138. description: 支付期限
  11139. type: string
  11140. paytime:
  11141. description: 付款时间
  11142. type: string
  11143. picurls1:
  11144. description: 预售商品介绍图片[多张用逗号分隔]
  11145. type: string
  11146. picurls2:
  11147. description: 挂牌商品介绍图片[多张用逗号分隔]
  11148. type: string
  11149. sellaccountid:
  11150. description: 卖方账号ID[报价币种]
  11151. type: integer
  11152. sellorderid:
  11153. description: 卖方委托单号
  11154. type: string
  11155. tradeamount:
  11156. description: 成交金额
  11157. type: number
  11158. tradecharge:
  11159. description: 成交手续费(买方)
  11160. type: number
  11161. tradedate:
  11162. description: 交易日(yyyyMMdd)
  11163. type: string
  11164. tradeid:
  11165. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11166. type: string
  11167. trademode:
  11168. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11169. 21:竞拍-大宗式 22:受托竞价
  11170. type: integer
  11171. tradeprice:
  11172. description: 成交价格
  11173. type: number
  11174. tradeqty:
  11175. description: 成交数量
  11176. type: integer
  11177. vendorname1:
  11178. description: 预售商品供应商名称
  11179. type: string
  11180. vendorname2:
  11181. description: 挂牌商品供应商名称
  11182. type: string
  11183. required:
  11184. - goodscode
  11185. - goodsname
  11186. - tradeid
  11187. - trademode
  11188. type: object
  11189. models.HsbyBuyMyTradeDetail:
  11190. properties:
  11191. accountid:
  11192. description: 账户ID[报价币种]
  11193. type: integer
  11194. agreeunit:
  11195. description: 合约单位
  11196. type: number
  11197. amount:
  11198. description: 金额 = 价格 * 数量 * 合约单位
  11199. type: number
  11200. buyorsell:
  11201. description: 买卖 - 0:买 1:卖
  11202. type: integer
  11203. currencysign:
  11204. description: 货币符号
  11205. type: string
  11206. decimalplace:
  11207. description: 报价小数位
  11208. type: integer
  11209. goodscode:
  11210. description: 商品代码(内部)
  11211. type: string
  11212. goodsid:
  11213. description: 商品ID
  11214. type: integer
  11215. goodsname:
  11216. description: 商品名称
  11217. type: string
  11218. marketid:
  11219. description: 市场ID
  11220. type: integer
  11221. orderamount:
  11222. description: 委托金额
  11223. type: number
  11224. orderid:
  11225. description: 单号(成交单号)
  11226. type: string
  11227. picurls1:
  11228. description: 预售商品介绍图片[多张用逗号分隔]
  11229. type: string
  11230. picurls2:
  11231. description: 挂牌商品介绍图片[多张用逗号分隔]
  11232. type: string
  11233. price:
  11234. description: 价格
  11235. type: number
  11236. qty:
  11237. description: 数量
  11238. type: integer
  11239. time:
  11240. description: 时间
  11241. type: string
  11242. trademode:
  11243. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11244. 21:竞拍-大宗式 22:受托竞价
  11245. type: integer
  11246. vendorname1:
  11247. description: 预售商品供应商名称
  11248. type: string
  11249. vendorname2:
  11250. description: 挂牌商品供应商名称
  11251. type: string
  11252. required:
  11253. - accountid
  11254. - buyorsell
  11255. - goodscode
  11256. - goodsid
  11257. - goodsname
  11258. - marketid
  11259. - orderid
  11260. - qty
  11261. - time
  11262. - trademode
  11263. type: object
  11264. models.HsbyGoodsOrderDetail:
  11265. properties:
  11266. buyorsell:
  11267. description: 买卖 - 0:买 1:卖
  11268. type: integer
  11269. currencysign:
  11270. description: 货币符号
  11271. type: string
  11272. customername:
  11273. description: 客户名称(企业名称),已脱敏
  11274. type: string
  11275. enableqty:
  11276. description: 可用数量
  11277. type: integer
  11278. goodunit:
  11279. description: 报价单位
  11280. type: string
  11281. orderid:
  11282. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11283. type: string
  11284. orderprice:
  11285. description: 委托价格
  11286. type: number
  11287. ordertime:
  11288. description: 委托时间
  11289. type: string
  11290. required:
  11291. - buyorsell
  11292. - orderid
  11293. - ordertime
  11294. type: object
  11295. models.HsbyListingGoodsDetail:
  11296. properties:
  11297. agreeunit:
  11298. description: 合约单位
  11299. type: number
  11300. buymaxqty:
  11301. description: 购买上限 [71] - 0为不限
  11302. type: integer
  11303. currency:
  11304. description: 货币
  11305. type: string
  11306. currencysign:
  11307. description: 货币符号
  11308. type: string
  11309. decimalplace:
  11310. description: 报价小数位
  11311. type: integer
  11312. desccityid:
  11313. description: 目的地(市)ID
  11314. type: integer
  11315. descprovinceid:
  11316. description: 目的地(省)ID
  11317. type: integer
  11318. goodscode:
  11319. description: 商品代码(内部)
  11320. type: string
  11321. goodsdesc:
  11322. description: 商品详情
  11323. type: string
  11324. goodsid:
  11325. description: 商品ID(自增ID SEQ_GOODS)
  11326. type: integer
  11327. goodsname:
  11328. description: 商品名称
  11329. type: string
  11330. goodsprice:
  11331. description: 商品价格
  11332. type: number
  11333. hotindex:
  11334. description: 景点热度
  11335. type: integer
  11336. last:
  11337. description: 现价
  11338. type: number
  11339. limitdown:
  11340. description: 跌停价
  11341. type: number
  11342. limitup:
  11343. description: 涨停价
  11344. type: number
  11345. lotsize:
  11346. description: 手数最小变动单位
  11347. type: integer
  11348. marketid:
  11349. description: 所属市场ID
  11350. type: integer
  11351. picurls:
  11352. description: 介绍图片[多张用逗号分隔]
  11353. type: string
  11354. quoteminunit:
  11355. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11356. type: integer
  11357. stepvalue:
  11358. description: 价格最小变动单位
  11359. type: number
  11360. trademode:
  11361. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11362. 21:竞拍-大宗式 22:受托竞价
  11363. type: integer
  11364. vendorattr:
  11365. description: 供应商附件(多张,逗号分隔)
  11366. type: string
  11367. vendorname:
  11368. description: 供应商名称
  11369. type: string
  11370. vendorphone:
  11371. description: 供应商客服电话
  11372. type: string
  11373. videourls:
  11374. description: 介绍视频[多张用逗号分隔]
  11375. type: string
  11376. required:
  11377. - goodscode
  11378. - goodsid
  11379. - goodsname
  11380. - marketid
  11381. - trademode
  11382. type: object
  11383. models.HsbyMarketGoods:
  11384. properties:
  11385. accountid:
  11386. description: 账户ID[报价币种]
  11387. type: integer
  11388. agreeunit:
  11389. description: 合约单位
  11390. type: number
  11391. buyorsell:
  11392. description: 买卖 - 0:买 1:卖
  11393. type: integer
  11394. categoryid:
  11395. description: 类别ID(WRCATEGORY)
  11396. type: integer
  11397. currency:
  11398. description: 货币
  11399. type: string
  11400. currencysign:
  11401. description: 货币符号
  11402. type: string
  11403. customername:
  11404. description: 卖家名称
  11405. type: string
  11406. decimalplace:
  11407. description: 报价小数位
  11408. type: integer
  11409. goodscode:
  11410. description: 商品代码(内部)
  11411. type: string
  11412. goodsid:
  11413. description: 商品ID
  11414. type: integer
  11415. goodsname:
  11416. description: 商品名称
  11417. type: string
  11418. goodsprice:
  11419. description: 商品价格
  11420. type: number
  11421. hascoupon:
  11422. description: 是否可用优惠卷
  11423. type: boolean
  11424. hotindex:
  11425. description: 景点热度
  11426. type: integer
  11427. marketid:
  11428. description: 市场ID
  11429. type: integer
  11430. orderid:
  11431. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11432. type: string
  11433. orderprice:
  11434. description: 委托价格
  11435. type: number
  11436. orderstatus:
  11437. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11438. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11439. 16:成交失败违约(荷兰式竞拍专用)
  11440. type: integer
  11441. picurls:
  11442. description: 介绍图片[多张用逗号分隔]
  11443. type: string
  11444. quoteminunit:
  11445. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11446. type: integer
  11447. sellUserID:
  11448. description: 卖方UserID
  11449. type: integer
  11450. trademode:
  11451. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11452. 21:竞拍-大宗式 22:受托竞价
  11453. type: integer
  11454. videourls:
  11455. description: 介绍视频[多张用逗号分隔]
  11456. type: string
  11457. required:
  11458. - accountid
  11459. - buyorsell
  11460. - goodscode
  11461. - goodsid
  11462. - goodsname
  11463. - marketid
  11464. - orderid
  11465. - trademode
  11466. type: object
  11467. models.HsbyMarketGoodsDetail:
  11468. properties:
  11469. accountid:
  11470. description: 账户ID[报价币种]
  11471. type: integer
  11472. agreeunit:
  11473. description: 合约单位
  11474. type: number
  11475. buymaxqty:
  11476. description: 购买上限 [71] - 0为不限
  11477. type: integer
  11478. buyorsell:
  11479. description: 买卖 - 0:买 1:卖
  11480. type: integer
  11481. cancelqty:
  11482. description: 撤单数量
  11483. type: integer
  11484. categoryid:
  11485. description: 类别ID(WRCATEGORY)
  11486. type: integer
  11487. currency:
  11488. description: 货币
  11489. type: string
  11490. currencysign:
  11491. description: 货币符号
  11492. type: string
  11493. customername:
  11494. description: 卖家名称
  11495. type: string
  11496. decimalplace:
  11497. description: 报价小数位
  11498. type: integer
  11499. goodscode:
  11500. description: 商品代码(内部)
  11501. type: string
  11502. goodsdesc:
  11503. description: 商品详情
  11504. type: string
  11505. goodsid:
  11506. description: 商品ID
  11507. type: integer
  11508. goodsname:
  11509. description: 商品名称
  11510. type: string
  11511. goodsprice:
  11512. description: 商品价格
  11513. type: number
  11514. hotindex:
  11515. description: 景点热度
  11516. type: integer
  11517. lotsize:
  11518. description: 手数最小变动单位
  11519. type: integer
  11520. marketid:
  11521. description: 市场ID
  11522. type: integer
  11523. orderid:
  11524. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11525. type: string
  11526. orderprice:
  11527. description: 委托价格
  11528. type: number
  11529. orderqty:
  11530. description: 委托数量
  11531. type: integer
  11532. orderstatus:
  11533. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11534. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11535. 16:成交失败违约(荷兰式竞拍专用)
  11536. type: integer
  11537. picurls:
  11538. description: 介绍图片[多张用逗号分隔]
  11539. type: string
  11540. quoteminunit:
  11541. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11542. type: integer
  11543. sellUserID:
  11544. description: 卖方UserID
  11545. type: integer
  11546. trademode:
  11547. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11548. 21:竞拍-大宗式 22:受托竞价
  11549. type: integer
  11550. tradeqty:
  11551. description: 成交数量
  11552. type: integer
  11553. vendorattr:
  11554. description: 供应商附件(多张,逗号分隔)
  11555. type: string
  11556. vendorname:
  11557. description: 供应商名称
  11558. type: string
  11559. vendorphone:
  11560. description: 供应商客服电话
  11561. type: string
  11562. videourls:
  11563. description: 介绍视频[多张用逗号分隔]
  11564. type: string
  11565. required:
  11566. - accountid
  11567. - buyorsell
  11568. - goodscode
  11569. - goodsid
  11570. - goodsname
  11571. - marketid
  11572. - orderid
  11573. - orderqty
  11574. - trademode
  11575. type: object
  11576. models.HsbyMarketInfo:
  11577. properties:
  11578. marketid:
  11579. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11580. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11581. type: integer
  11582. marketname:
  11583. description: 市场名称
  11584. type: string
  11585. marketstatus:
  11586. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11587. type: integer
  11588. trademode:
  11589. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11590. 21:竞拍-大宗式 22:受托竞价
  11591. type: integer
  11592. required:
  11593. - marketid
  11594. - marketstatus
  11595. - trademode
  11596. type: object
  11597. models.HsbyMyGoods:
  11598. properties:
  11599. accountid:
  11600. description: 账号Id
  11601. type: integer
  11602. agreeunit:
  11603. description: 合约单位
  11604. type: number
  11605. buyaverageprice:
  11606. description: 持仓均价
  11607. type: number
  11608. buycurholderamount:
  11609. description: 买当前持仓总金额[商品币种]
  11610. type: number
  11611. buycurpositionqty:
  11612. description: 买当前持仓总数量
  11613. type: integer
  11614. buymaxqty:
  11615. description: 购买上限 [71] - 0为不限
  11616. type: integer
  11617. currencysign:
  11618. description: 货币符号
  11619. type: string
  11620. decimalplace:
  11621. description: 报价小数位
  11622. type: integer
  11623. enableqty:
  11624. description: 可用数量
  11625. type: integer
  11626. goodscode:
  11627. description: 商品代码(内部)
  11628. type: string
  11629. goodsid:
  11630. description: 商品Id
  11631. type: integer
  11632. goodsname:
  11633. description: 商品名称
  11634. type: string
  11635. goodsprice:
  11636. description: 商品价格
  11637. type: number
  11638. goodsstatus:
  11639. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  11640. type: integer
  11641. last:
  11642. description: 现价(仅使用于挂牌点选)
  11643. type: number
  11644. limitdown:
  11645. description: 跌停价(仅使用于挂牌点选)
  11646. type: number
  11647. limitup:
  11648. description: 涨停价(仅使用于挂牌点选)
  11649. type: number
  11650. lotsize:
  11651. description: 手数最小变动单位
  11652. type: integer
  11653. marketid:
  11654. description: 所属市场ID
  11655. type: integer
  11656. picurls:
  11657. description: 介绍图片[多张用逗号分隔]
  11658. type: string
  11659. quoteminunit:
  11660. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11661. type: integer
  11662. stepvalue:
  11663. description: 价格最小变动单位
  11664. type: number
  11665. trademode:
  11666. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11667. 21:竞拍-大宗式 22:受托竞价
  11668. type: integer
  11669. required:
  11670. - accountid
  11671. - goodscode
  11672. - goodsid
  11673. - goodsname
  11674. - marketid
  11675. - trademode
  11676. type: object
  11677. models.HsbyMyPackage:
  11678. properties:
  11679. accountid:
  11680. description: 账户ID
  11681. type: integer
  11682. address:
  11683. description: 提货人详细地址
  11684. type: string
  11685. agreeunit:
  11686. description: 合约单位
  11687. type: number
  11688. amount:
  11689. description: 提货金额
  11690. type: number
  11691. auditer:
  11692. description: 审核人
  11693. type: integer
  11694. audittime:
  11695. description: 审核时间
  11696. type: string
  11697. averageprice:
  11698. description: 均价
  11699. type: number
  11700. cardnum:
  11701. description: 提货人证件号码
  11702. type: string
  11703. cardtypeid:
  11704. description: 提货人证件类型
  11705. type: integer
  11706. checkremark:
  11707. description: 审核备注
  11708. type: string
  11709. currencysign:
  11710. description: 货币符号
  11711. type: string
  11712. decimalplace:
  11713. description: 报价小数位
  11714. type: integer
  11715. goodscode:
  11716. description: 商品代码(内部)
  11717. type: string
  11718. goodsid:
  11719. description: 商品ID
  11720. type: integer
  11721. goodsname:
  11722. description: 商品名称
  11723. type: string
  11724. handlestatus:
  11725. description: 处理状态
  11726. type: integer
  11727. marketid:
  11728. description: 市场ID
  11729. type: integer
  11730. phonenum:
  11731. description: 提货人联系方式
  11732. type: string
  11733. picurls:
  11734. description: 介绍图片[多张用逗号分隔]
  11735. type: string
  11736. qty:
  11737. description: 提货数量
  11738. type: number
  11739. recivername:
  11740. description: 提货人姓名
  11741. type: string
  11742. reqtime:
  11743. description: 更新时间
  11744. type: string
  11745. takemode:
  11746. description: 提货方式 - 2:自提 3:配送
  11747. type: integer
  11748. takeorderid:
  11749. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11750. type: string
  11751. takeorderstatus:
  11752. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11753. type: integer
  11754. takeremark:
  11755. description: 提货备注
  11756. type: string
  11757. tradedate:
  11758. description: 交易日(yyyyMMdd)
  11759. type: string
  11760. trademode:
  11761. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11762. 21:竞拍-大宗式 22:受托竞价
  11763. type: integer
  11764. userid:
  11765. description: 用户ID
  11766. type: integer
  11767. vendorname:
  11768. description: 供应商名称
  11769. type: string
  11770. required:
  11771. - goodscode
  11772. - goodsname
  11773. - takeorderid
  11774. - trademode
  11775. type: object
  11776. models.HsbyPreGoods:
  11777. properties:
  11778. agreeunit:
  11779. description: 合约单位
  11780. type: number
  11781. currency:
  11782. description: 货币
  11783. type: string
  11784. currencysign:
  11785. description: 货币符号
  11786. type: string
  11787. decimalplace:
  11788. description: 报价小数位
  11789. type: integer
  11790. desccityid:
  11791. description: 目的地(市)
  11792. type: integer
  11793. descprovinceid:
  11794. description: 目的地(省)
  11795. type: integer
  11796. enableqty:
  11797. description: 剩余数量
  11798. type: integer
  11799. goodscode:
  11800. description: 商品代码(内部)
  11801. type: string
  11802. goodsid:
  11803. description: 商品ID(自增ID SEQ_GOODS)
  11804. type: integer
  11805. goodsname:
  11806. description: 商品名称
  11807. type: string
  11808. goodsstatus:
  11809. description: 商品状态- 2:未上市 3:上市
  11810. type: integer
  11811. lasttradedate:
  11812. description: 最后交易日期(状态:待退市)
  11813. type: string
  11814. listingdate:
  11815. description: 交易开始日期
  11816. type: string
  11817. marketid:
  11818. description: 所属市场ID
  11819. type: integer
  11820. picurls:
  11821. description: 介绍图片[多张用逗号分隔]
  11822. type: string
  11823. presaledqty:
  11824. description: 已预售量(预售结束时更新)
  11825. type: integer
  11826. presaleqty:
  11827. description: 预售数量
  11828. type: integer
  11829. quoteminunit:
  11830. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11831. type: integer
  11832. refprice:
  11833. description: 参考价格[一口价]
  11834. type: number
  11835. relatedgoodsid:
  11836. description: 关联交易合约ID
  11837. type: integer
  11838. trademode:
  11839. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11840. 21:竞拍-大宗式 22:受托竞价
  11841. type: integer
  11842. videourls:
  11843. description: 介绍视频[多张用逗号分隔]
  11844. type: string
  11845. required:
  11846. - goodscode
  11847. - goodsid
  11848. - goodsname
  11849. - marketid
  11850. - trademode
  11851. type: object
  11852. models.HsbyPreGoodsDetail:
  11853. properties:
  11854. agreeunit:
  11855. description: 合约单位
  11856. type: number
  11857. buymaxqty:
  11858. description: 购买上限 [71] - 0为不限
  11859. type: integer
  11860. currency:
  11861. description: 货币
  11862. type: string
  11863. currencysign:
  11864. description: 货币符号
  11865. type: string
  11866. customername:
  11867. description: 发行单位
  11868. type: string
  11869. decimalplace:
  11870. description: 报价小数位
  11871. type: integer
  11872. desccityid:
  11873. description: 目的地(市)ID
  11874. type: integer
  11875. descprovinceid:
  11876. description: 目的地(省)ID
  11877. type: integer
  11878. enableqty:
  11879. description: 剩余数量
  11880. type: integer
  11881. goodscode:
  11882. description: 商品代码(内部)
  11883. type: string
  11884. goodsdesc:
  11885. description: 商品详情
  11886. type: string
  11887. goodsid:
  11888. description: 商品ID(自增ID SEQ_GOODS)
  11889. type: integer
  11890. goodsname:
  11891. description: 商品名称
  11892. type: string
  11893. goodsstatus:
  11894. description: 商品状态- 2:未上市 3:上市
  11895. type: integer
  11896. goodunit:
  11897. description: 报价单位
  11898. type: string
  11899. lasttradedate:
  11900. description: 最后交易日期(状态:待退市)
  11901. type: string
  11902. listingdate:
  11903. description: 交易开始日期
  11904. type: string
  11905. lotsize:
  11906. description: 手数最小变动单位
  11907. type: integer
  11908. marketid:
  11909. description: 所属市场ID
  11910. type: integer
  11911. picurls:
  11912. description: 介绍图片[多张用逗号分隔]
  11913. type: string
  11914. presaledqty:
  11915. description: 已预售量(预售结束时更新)
  11916. type: integer
  11917. presaleqty:
  11918. description: 预售数量
  11919. type: integer
  11920. quoteminunit:
  11921. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11922. type: integer
  11923. refprice:
  11924. description: 参考价格[一口价]
  11925. type: number
  11926. relatedgoodsid:
  11927. description: 关联交易合约ID
  11928. type: integer
  11929. stepvalue:
  11930. description: 价格最小变动单位
  11931. type: number
  11932. trademode:
  11933. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11934. 21:竞拍-大宗式 22:受托竞价
  11935. type: integer
  11936. vendorattr:
  11937. description: 供应商附件(多张,逗号分隔)
  11938. type: string
  11939. vendorname:
  11940. description: 供应商名称
  11941. type: string
  11942. vendorphone:
  11943. description: 供应商客服电话
  11944. type: string
  11945. videourls:
  11946. description: 介绍视频[多张用逗号分隔]
  11947. type: string
  11948. required:
  11949. - goodscode
  11950. - goodsid
  11951. - goodsname
  11952. - marketid
  11953. - trademode
  11954. type: object
  11955. models.HsbySellCollectionOrder:
  11956. properties:
  11957. agreeunit:
  11958. description: 合约单位
  11959. type: number
  11960. buyaccountid:
  11961. description: 买方账号ID[报价币种]
  11962. type: integer
  11963. buyorderid:
  11964. description: 买方委托单号
  11965. type: string
  11966. createtime:
  11967. description: 创建时间
  11968. type: string
  11969. currencysign:
  11970. description: 货币符号
  11971. type: string
  11972. decimalplace:
  11973. description: 报价小数位
  11974. type: integer
  11975. goodscode:
  11976. description: 商品代码(内部)
  11977. type: string
  11978. goodsid:
  11979. description: 商品ID
  11980. type: integer
  11981. goodsname:
  11982. description: 商品名称
  11983. type: string
  11984. marketid:
  11985. description: 市场ID
  11986. type: integer
  11987. offamount:
  11988. description: 优惠金额
  11989. type: number
  11990. payamount:
  11991. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  11992. type: number
  11993. payflag:
  11994. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11995. type: integer
  11996. paylimitedtime:
  11997. description: 支付期限
  11998. type: string
  11999. paytime:
  12000. description: 付款时间
  12001. type: string
  12002. picurls:
  12003. description: 商品介绍图片[多张用逗号分隔]
  12004. type: string
  12005. sellaccountid:
  12006. description: 卖方账号ID[报价币种]
  12007. type: integer
  12008. sellorderid:
  12009. description: 卖方委托单号
  12010. type: string
  12011. tradeamount:
  12012. description: 成交金额
  12013. type: number
  12014. tradecharge:
  12015. description: 成交手续费(买方)
  12016. type: number
  12017. tradedate:
  12018. description: 交易日(yyyyMMdd)
  12019. type: string
  12020. tradeid:
  12021. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12022. type: string
  12023. trademode:
  12024. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12025. 21:竞拍-大宗式 22:受托竞价
  12026. type: integer
  12027. tradeprice:
  12028. description: 成交价格
  12029. type: number
  12030. tradeqty:
  12031. description: 成交数量
  12032. type: integer
  12033. required:
  12034. - goodscode
  12035. - goodsname
  12036. - tradeid
  12037. - trademode
  12038. type: object
  12039. models.HsbySellMyDetail:
  12040. properties:
  12041. accountid:
  12042. description: 账户ID[报价币种]
  12043. type: integer
  12044. agreeunit:
  12045. description: 合约单位
  12046. type: number
  12047. buyorsell:
  12048. description: 买卖 - 0:买 1:卖
  12049. type: integer
  12050. currencysign:
  12051. description: 货币符号
  12052. type: string
  12053. decimalplace:
  12054. description: 报价小数位
  12055. type: integer
  12056. goodscode:
  12057. description: 商品代码(内部)
  12058. type: string
  12059. goodsid:
  12060. description: 商品ID
  12061. type: integer
  12062. goodsname:
  12063. description: 商品名称
  12064. type: string
  12065. marketid:
  12066. description: 市场ID
  12067. type: integer
  12068. orderid:
  12069. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  12070. type: string
  12071. ordertype:
  12072. description: 单据类型:0 - 发布中, 1 - 已完成
  12073. type: integer
  12074. picurls:
  12075. description: 介绍图片[多张用逗号分隔]
  12076. type: string
  12077. price:
  12078. description: 价格
  12079. type: number
  12080. qty:
  12081. description: 数量
  12082. type: integer
  12083. time:
  12084. description: 时间
  12085. type: string
  12086. trademode:
  12087. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12088. 21:竞拍-大宗式 22:受托竞价
  12089. type: integer
  12090. vendorname:
  12091. description: 供应商名称
  12092. type: string
  12093. required:
  12094. - accountid
  12095. - buyorsell
  12096. - goodscode
  12097. - goodsid
  12098. - goodsname
  12099. - marketid
  12100. - orderid
  12101. - time
  12102. - trademode
  12103. type: object
  12104. models.HsbyTopGoods:
  12105. properties:
  12106. agreeunit:
  12107. description: 合约单位
  12108. type: number
  12109. currency:
  12110. description: 货币
  12111. type: string
  12112. currencysign:
  12113. description: 货币符号
  12114. type: string
  12115. decimalplace:
  12116. description: 报价小数位
  12117. type: integer
  12118. desccityid:
  12119. description: 目的地(市)
  12120. type: integer
  12121. descprovinceid:
  12122. description: 目的地(省)
  12123. type: integer
  12124. goodscode:
  12125. description: 商品代码(内部)
  12126. type: string
  12127. goodsid:
  12128. description: 商品ID(自增ID SEQ_GOODS)
  12129. type: integer
  12130. goodsname:
  12131. description: 商品名称
  12132. type: string
  12133. hotindex:
  12134. description: 景点热度
  12135. type: integer
  12136. last:
  12137. description: 现价
  12138. type: number
  12139. marketid:
  12140. description: 所属市场ID
  12141. type: integer
  12142. picurls:
  12143. description: 介绍图片[多张用逗号分隔]
  12144. type: string
  12145. quoteminunit:
  12146. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12147. type: integer
  12148. trademode:
  12149. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12150. 21:竞拍-大宗式 22:受托竞价
  12151. type: integer
  12152. videourls:
  12153. description: 介绍视频[多张用逗号分隔]
  12154. type: string
  12155. required:
  12156. - goodscode
  12157. - goodsid
  12158. - goodsname
  12159. - marketid
  12160. - trademode
  12161. type: object
  12162. models.HybsMyBuyOrderDetail:
  12163. properties:
  12164. accountid:
  12165. description: 账户ID[报价币种]
  12166. type: integer
  12167. agreeunit:
  12168. description: 合约单位
  12169. type: number
  12170. buyorsell:
  12171. description: 买卖 - 0:买 1:卖
  12172. type: integer
  12173. cancelqty:
  12174. description: 撤单数量
  12175. type: integer
  12176. currencysign:
  12177. description: 货币符号
  12178. type: string
  12179. decimalplace:
  12180. description: 报价小数位
  12181. type: integer
  12182. goodscode:
  12183. description: 商品代码(内部)
  12184. type: string
  12185. goodsid:
  12186. description: 商品ID
  12187. type: integer
  12188. goodsname:
  12189. description: 商品名称
  12190. type: string
  12191. listingselecttype:
  12192. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12193. type: integer
  12194. marketid:
  12195. description: 市场ID
  12196. type: integer
  12197. mybuystatus:
  12198. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  12199. type: integer
  12200. orderamount:
  12201. description: 委托金额
  12202. type: number
  12203. orderid:
  12204. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12205. type: string
  12206. orderprice:
  12207. description: 委托价格
  12208. type: number
  12209. orderqty:
  12210. description: 委托数量
  12211. type: integer
  12212. orderstatus:
  12213. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12214. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12215. 16:成交失败违约(荷兰式竞拍专用)
  12216. type: integer
  12217. ordertime:
  12218. description: 委托时间
  12219. type: string
  12220. picurls1:
  12221. description: 预售商品介绍图片[多张用逗号分隔]
  12222. type: string
  12223. picurls2:
  12224. description: 挂牌商品介绍图片[多张用逗号分隔]
  12225. type: string
  12226. trademode:
  12227. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12228. 21:竞拍-大宗式 22:受托竞价
  12229. type: integer
  12230. tradeqty:
  12231. description: 成交数量
  12232. type: integer
  12233. vendorname1:
  12234. description: 预售商品供应商名称
  12235. type: string
  12236. vendorname2:
  12237. description: 挂牌商品供应商名称
  12238. type: string
  12239. required:
  12240. - accountid
  12241. - buyorsell
  12242. - goodscode
  12243. - goodsid
  12244. - goodsname
  12245. - marketid
  12246. - orderid
  12247. - orderqty
  12248. - ordertime
  12249. - trademode
  12250. type: object
  12251. models.InternalEnableTradeDetail:
  12252. properties:
  12253. agreeunit:
  12254. description: 合约乘数
  12255. type: number
  12256. areauserid:
  12257. description: 企业ID
  12258. type: integer
  12259. convertratio:
  12260. description: 品种系数
  12261. type: number
  12262. deliverygoodscode:
  12263. description: 现货品种代码
  12264. type: string
  12265. deliverygoodsid:
  12266. description: 现货品种ID(SEQ_DELIVERYGOODS)
  12267. type: integer
  12268. deliverygoodsname:
  12269. description: 现货品种名称
  12270. type: string
  12271. futurehedgeqty:
  12272. description: '[已关联数量]期货持仓套期量'
  12273. type: number
  12274. goodsid:
  12275. description: 期货合约ID
  12276. type: integer
  12277. hedgeditemid:
  12278. description: 被套期项目ID
  12279. type: string
  12280. hedgeditemnum:
  12281. description: 项目编号
  12282. type: string
  12283. tradeuserid:
  12284. description: 交易用户ID
  12285. type: integer
  12286. unexehedgeqty:
  12287. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  12288. type: number
  12289. unexespotqty:
  12290. description: 未执行现货量
  12291. type: number
  12292. wrstandardcode:
  12293. description: 现货品类代码
  12294. type: string
  12295. wrstandardid:
  12296. description: 现货品类ID(SEQ_WRSTANDARD)
  12297. type: integer
  12298. wrstandardname:
  12299. description: 现货品类名称
  12300. type: string
  12301. required:
  12302. - areauserid
  12303. - goodsid
  12304. - tradeuserid
  12305. type: object
  12306. models.InternalUncorrelatedTradeDetail:
  12307. properties:
  12308. accountid:
  12309. description: 账号ID
  12310. type: integer
  12311. accountname:
  12312. description: 套期主体
  12313. type: string
  12314. agreeunit:
  12315. description: 合约乘数
  12316. type: number
  12317. areauserid:
  12318. description: 所属机构
  12319. type: integer
  12320. bizsubjectid:
  12321. description: 归属业务部门ID - SubjectID
  12322. type: integer
  12323. buyorsell:
  12324. description: 方向 - 0:买 1:卖
  12325. type: integer
  12326. channelbuildtype:
  12327. description: 委托单据类型 0:无 1:建仓 2:平仓
  12328. type: integer
  12329. convertratio:
  12330. description: 品种系数
  12331. type: number
  12332. createtime:
  12333. description: 创建时间
  12334. type: string
  12335. creatorid:
  12336. description: 创建人ID
  12337. type: integer
  12338. creatorsrc:
  12339. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12340. type: integer
  12341. enableqty:
  12342. description: 项目可关联数量 = 套保品种数量 - 关联数量
  12343. type: number
  12344. enumdicname:
  12345. description: 单位
  12346. type: string
  12347. goodscode:
  12348. description: 合约代码
  12349. type: string
  12350. goodsgroupid:
  12351. description: 对冲品种ID[期货合约商品组ID]
  12352. type: integer
  12353. goodsid:
  12354. description: 商品ID
  12355. type: integer
  12356. goodsname:
  12357. description: 合约名称
  12358. type: string
  12359. hedgeditemid:
  12360. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12361. type: integer
  12362. hedgeflag:
  12363. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12364. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12365. type: integer
  12366. linkdetailid:
  12367. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12368. type: string
  12369. linkstatus:
  12370. description: 关联状态 - 1:成功 2:失败 3:解绑
  12371. type: integer
  12372. middlegoodsid:
  12373. description: 套保品种ID
  12374. type: integer
  12375. middlegoodsqty:
  12376. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  12377. type: number
  12378. relatedlot:
  12379. description: '[数量]关联手数'
  12380. type: number
  12381. relatedmode:
  12382. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12383. type: integer
  12384. relatedqty:
  12385. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12386. type: number
  12387. retcode:
  12388. description: 返回码
  12389. type: integer
  12390. saleuserid:
  12391. description: 业务员ID
  12392. type: integer
  12393. tradedate:
  12394. description: 关联交易日(yyyyMMdd)
  12395. type: string
  12396. tradeid:
  12397. description: 成交单号
  12398. type: string
  12399. tradelot:
  12400. description: 成交手数
  12401. type: integer
  12402. tradeprice:
  12403. description: 成交价
  12404. type: number
  12405. tradetime:
  12406. description: 成交时间
  12407. type: string
  12408. tradetradedate:
  12409. description: 成交交易日(yyyyMMdd)
  12410. type: string
  12411. tradeuserid:
  12412. description: 交易用户ID
  12413. type: integer
  12414. type: object
  12415. models.Loginaccount:
  12416. properties:
  12417. accountname:
  12418. description: 账户名称
  12419. type: string
  12420. canoutin:
  12421. description: 是否可出入金 - 0:不可 1:可
  12422. type: integer
  12423. clientroleid:
  12424. description: 终端角色ID
  12425. type: integer
  12426. haslogined:
  12427. description: 是否已登录 - 0:未登录 1:已登录
  12428. type: integer
  12429. hasupdatedpwd:
  12430. description: 是否已更改密码 - 0:未修改 1:已修改
  12431. type: integer
  12432. lastloginip:
  12433. description: 最新登录地址
  12434. type: string
  12435. lastloginmode:
  12436. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  12437. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12438. type: integer
  12439. lastloginremark:
  12440. description: 最新登录描述
  12441. type: string
  12442. lastlogintime:
  12443. description: 最新登录时间
  12444. type: string
  12445. logincode:
  12446. description: 登录代码
  12447. type: string
  12448. loginfailnum:
  12449. description: 连续登录失败次数(登录成功时清零)
  12450. type: integer
  12451. loginid:
  12452. description: 登陆账号
  12453. type: integer
  12454. loginport:
  12455. description: 最新登录端口
  12456. type: integer
  12457. loginstatus:
  12458. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  12459. type: integer
  12460. loginusertype:
  12461. description: 登录账号类型 - 1:投资者 2:机构交易员
  12462. type: integer
  12463. mobile:
  12464. description: 手机号码(加密存储)
  12465. type: string
  12466. modifierid:
  12467. description: 修改人
  12468. type: integer
  12469. modifysrc:
  12470. description: 审核来源 - 1:管理端 2:终端
  12471. type: integer
  12472. modifytime:
  12473. description: 修改时间
  12474. type: string
  12475. pwdwrongcount:
  12476. description: 密码错误次数
  12477. type: integer
  12478. relateduserid:
  12479. description: 关联用户ID(机构)
  12480. type: integer
  12481. taaccountrighttype:
  12482. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  12483. type: integer
  12484. unfreezetime:
  12485. description: 账户解冻时间
  12486. type: string
  12487. userid:
  12488. description: 用户ID
  12489. type: integer
  12490. required:
  12491. - loginid
  12492. type: object
  12493. models.MainAccountInfo:
  12494. properties:
  12495. accountid:
  12496. description: 账号id
  12497. type: integer
  12498. accountname:
  12499. description: 账号名称(taaccount表中的名称)
  12500. type: string
  12501. appid:
  12502. description: AppID
  12503. type: string
  12504. authcode:
  12505. description: 授权码
  12506. type: string
  12507. brokerid:
  12508. description: 经纪商id
  12509. type: string
  12510. fcid:
  12511. description: 期货公司id
  12512. type: integer
  12513. fcname:
  12514. description: 期货公司代码
  12515. type: string
  12516. hedgeaccountcode:
  12517. description: 外部账号代码(主账号登录代码)
  12518. type: string
  12519. hedgeaccountpwd:
  12520. description: 密码
  12521. type: string
  12522. ismain:
  12523. description: 是否主账号
  12524. type: integer
  12525. relateduserid:
  12526. description: 关联用户id
  12527. type: integer
  12528. userid:
  12529. description: 关联用户id
  12530. type: integer
  12531. type: object
  12532. models.Market:
  12533. properties:
  12534. auctionwrtype:
  12535. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  12536. type: integer
  12537. canacceptquote:
  12538. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  12539. type: integer
  12540. cangoodsexercise:
  12541. description: '[期权]是否可现货行权- 0:否 1:是'
  12542. type: integer
  12543. cangoodsexercisetype:
  12544. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  12545. type: integer
  12546. canmanualquotestrike:
  12547. description: 是否可手动报行权价- 0:否 1:是 [期权]
  12548. type: integer
  12549. canmutistage:
  12550. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  12551. type: integer
  12552. canpreexercise:
  12553. description: '[期权]是否可预申报- 0:否 1:是'
  12554. type: integer
  12555. clearinterval:
  12556. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  12557. type: integer
  12558. contracttmp:
  12559. description: 合同模板[荷兰式][竞价式][仓单贸易]
  12560. type: string
  12561. exchareaid:
  12562. description: 所属交易所,可以没有
  12563. type: integer
  12564. goodstype:
  12565. description: 商品类型 - 1:交易商品 2:仓单商品
  12566. type: integer
  12567. hasrebate:
  12568. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  12569. type: integer
  12570. hastradecredit:
  12571. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  12572. type: integer
  12573. haswr:
  12574. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  12575. type: integer
  12576. isdeductmargin:
  12577. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  12578. type: integer
  12579. isrecordsource:
  12580. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  12581. type: integer
  12582. isreleasemargin:
  12583. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  12584. type: integer
  12585. marginformula:
  12586. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12587. type: integer
  12588. marginformula2:
  12589. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12590. type: integer
  12591. marketid:
  12592. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12593. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12594. type: integer
  12595. marketname:
  12596. description: 市场名称
  12597. type: string
  12598. marketserviceid:
  12599. description: 市场服务ID
  12600. type: integer
  12601. marketstatus:
  12602. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12603. type: integer
  12604. markettype:
  12605. description: 市场类型- 1:非交易服务 2:交易服务
  12606. type: integer
  12607. matchermode:
  12608. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  12609. type: integer
  12610. openmethod:
  12611. description: 开盘模式 - 0 自动 1手动
  12612. type: integer
  12613. otcuserid:
  12614. description: 场外期权做市商[场外期权]
  12615. type: integer
  12616. outersynctime:
  12617. description: 外部同步时间点(h24:mi:ss)[场外期权]
  12618. type: string
  12619. pendingflag:
  12620. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  12621. type: integer
  12622. pendingtime:
  12623. description: 待开市时间[通道交易-对冲](HH:mm)
  12624. type: string
  12625. performancetempid:
  12626. description: 履约计划模板ID - 作废
  12627. type: integer
  12628. premiumquotemode:
  12629. description: 权利金报价方式 - 1:自动 2:手动
  12630. type: integer
  12631. rebateratio:
  12632. description: 返利比率[竞价式]
  12633. type: number
  12634. reckonorder:
  12635. description: 结算顺序
  12636. type: integer
  12637. reckonpricealgorithm:
  12638. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  12639. 6.卖一价 7.买一卖一均价 8.外部结算价'
  12640. type: integer
  12641. reckonpriceparam:
  12642. description: 结算价参数
  12643. type: integer
  12644. reckontime:
  12645. description: 结算时间[通道交易-对冲](HH:mm)
  12646. type: string
  12647. roleprioritytype:
  12648. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  12649. type: integer
  12650. selllistingauditflag:
  12651. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  12652. type: integer
  12653. trademarkettype:
  12654. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  12655. type: integer
  12656. trademode:
  12657. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12658. 21:竞拍-大宗式 22:受托竞价
  12659. type: integer
  12660. tradeproperty:
  12661. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  12662. 8:场外期权
  12663. type: integer
  12664. tradetype:
  12665. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  12666. type: integer
  12667. required:
  12668. - marketid
  12669. - marketstatus
  12670. - openmethod
  12671. - reckonpricealgorithm
  12672. - trademode
  12673. - tradeproperty
  12674. type: object
  12675. models.Marketcalendar:
  12676. properties:
  12677. holidaydate:
  12678. description: 节假日期(yyyy-MM-dd)
  12679. type: string
  12680. marketid:
  12681. description: 市场ID
  12682. type: integer
  12683. type: object
  12684. models.Marketrun:
  12685. properties:
  12686. afternexttradedate:
  12687. description: 下下交易日
  12688. type: string
  12689. clearquoteflag:
  12690. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  12691. type: integer
  12692. lastreckondate:
  12693. description: 最新交易日(结算成功)
  12694. type: string
  12695. machinedate:
  12696. description: 机器时间
  12697. type: string
  12698. manualflag:
  12699. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  12700. type: integer
  12701. marketid:
  12702. description: 市场ID
  12703. type: integer
  12704. nexttradedate:
  12705. description: 下一交易日
  12706. type: string
  12707. pretradedate:
  12708. description: 上一交易日
  12709. type: string
  12710. reckonflag:
  12711. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  12712. type: integer
  12713. runstatus:
  12714. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  12715. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  12716. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  12717. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  12718. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  12719. 62.今日免清算
  12720. type: integer
  12721. sectionid:
  12722. description: 时间段号[多时段时用]
  12723. type: integer
  12724. tradedate:
  12725. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  12726. type: string
  12727. tradedate2:
  12728. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  12729. type: string
  12730. updatetime:
  12731. description: 更新时间
  12732. type: string
  12733. required:
  12734. - marketid
  12735. - nexttradedate
  12736. - reckonflag
  12737. - runstatus
  12738. - tradedate
  12739. - tradedate2
  12740. type: object
  12741. models.Messageboard:
  12742. properties:
  12743. contactnum:
  12744. description: 联系电话
  12745. type: string
  12746. createtime:
  12747. description: 创建时间
  12748. type: string
  12749. message:
  12750. description: 留言信息
  12751. type: string
  12752. messageboardid:
  12753. description: 留言簿ID(SEQ_MessageBoard)
  12754. type: integer
  12755. userid:
  12756. description: 用户ID
  12757. type: integer
  12758. required:
  12759. - messageboardid
  12760. type: object
  12761. models.MyBargainApply:
  12762. properties:
  12763. accountid:
  12764. description: 摘牌资金账号
  12765. type: integer
  12766. applyprice:
  12767. description: 申请价格
  12768. type: string
  12769. applyremark:
  12770. description: 申请备注
  12771. type: string
  12772. applystatus:
  12773. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  12774. type: integer
  12775. applytime:
  12776. description: 申请时间
  12777. type: string
  12778. buyorsell:
  12779. description: 买卖 - 0:买 1:卖
  12780. type: integer
  12781. buyusername:
  12782. description: 买方
  12783. type: string
  12784. confirmprice:
  12785. description: 可接受价格(拒绝时填写)-作废
  12786. type: number
  12787. confirmqty:
  12788. description: 可接受数量(拒绝时填写)-作废
  12789. type: integer
  12790. confirmremark:
  12791. description: 确认备注
  12792. type: string
  12793. confirmtime:
  12794. description: 确认时间
  12795. type: string
  12796. confirmuserid:
  12797. description: 确认人
  12798. type: integer
  12799. goodsno:
  12800. description: 商品编号
  12801. type: string
  12802. handlestatus:
  12803. description: 处理状态
  12804. type: integer
  12805. ladingbillid:
  12806. description: 摘牌方提单ID [卖]
  12807. type: integer
  12808. marketid:
  12809. description: 市场ID
  12810. type: integer
  12811. matchaccountid:
  12812. description: 挂牌方资金账号
  12813. type: integer
  12814. matchuserid:
  12815. description: 挂牌方用户ID
  12816. type: integer
  12817. performancetemplateid:
  12818. description: 履约计划模板ID
  12819. type: integer
  12820. price:
  12821. description: 价格
  12822. type: number
  12823. priceper:
  12824. description: 克拉单价 - 类型:1,2,3,5
  12825. type: string
  12826. qty:
  12827. description: 申请数量
  12828. type: number
  12829. refprice:
  12830. description: 参考价格
  12831. type: string
  12832. retcode:
  12833. description: 委托返回代码
  12834. type: integer
  12835. sellusername:
  12836. description: 卖方
  12837. type: string
  12838. sizedisplay:
  12839. description: 尺寸
  12840. type: string
  12841. subnum:
  12842. description: 摘牌方提单子单号 [卖]
  12843. type: integer
  12844. tradedate:
  12845. description: 交易日(yyyyMMdd)
  12846. type: string
  12847. userid:
  12848. description: 摘牌人用户ID
  12849. type: integer
  12850. warehousenamedisplay:
  12851. type: string
  12852. wrbargainid:
  12853. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  12854. type: string
  12855. wrtradeorderid:
  12856. description: 关联委托单ID
  12857. type: string
  12858. zscerttypedisplay:
  12859. type: string
  12860. zsclaritytype1display:
  12861. type: string
  12862. zsclaritytype2display:
  12863. type: string
  12864. zscolortype1display:
  12865. type: string
  12866. zscolortype2display:
  12867. type: string
  12868. zscrystaltypedisplay:
  12869. type: string
  12870. zscurrencytypedisplay:
  12871. type: string
  12872. zscurrencytypedisplayunit:
  12873. type: string
  12874. zscuttype1display:
  12875. type: string
  12876. zscuttype2display:
  12877. type: string
  12878. zsczcolor1typedisplay:
  12879. type: string
  12880. zsczcolor2typedisplay:
  12881. type: string
  12882. zsczcolor3typedisplay:
  12883. type: string
  12884. zsfluorescencetype1display:
  12885. type: string
  12886. zsfluorescencetype2display:
  12887. type: string
  12888. zspolishtype1display:
  12889. type: string
  12890. zspolishtype2display:
  12891. type: string
  12892. zsshapetypedisplay:
  12893. type: string
  12894. zsstyletypedisplay:
  12895. type: string
  12896. zssymmetrytype1display:
  12897. type: string
  12898. zssymmetrytype2display:
  12899. type: string
  12900. required:
  12901. - userid
  12902. type: object
  12903. models.MyBuyOrder:
  12904. properties:
  12905. accountid:
  12906. description: 资金账户ID
  12907. type: integer
  12908. marketid:
  12909. description: 市场ID
  12910. type: integer
  12911. ordertime:
  12912. description: 委托时间
  12913. type: string
  12914. origin:
  12915. description: 原产地
  12916. type: string
  12917. performancetemplateid:
  12918. description: 履约计划模板ID
  12919. type: integer
  12920. remark:
  12921. description: 备注
  12922. type: string
  12923. userid:
  12924. description: 用户ID
  12925. type: integer
  12926. validtime:
  12927. description: 有效期限
  12928. type: string
  12929. warehouseids:
  12930. description: 仓库ID - 多个, 逗号分隔
  12931. type: string
  12932. warehouseinfosdisplay:
  12933. type: string
  12934. wrtradeorderid:
  12935. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  12936. type: string
  12937. wrtradeorderstatus:
  12938. 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、
  12939. type: integer
  12940. zscategory:
  12941. description: 钻石分类 - 枚举”ZSCategory“
  12942. type: integer
  12943. zscategorydisplay:
  12944. type: string
  12945. zsclaritytype:
  12946. description: 净度 - 两个, 逗号分隔
  12947. type: string
  12948. zsclaritytypedisplay:
  12949. type: string
  12950. zscolortype:
  12951. description: 颜色 - 两个, 逗号分隔
  12952. type: string
  12953. zscolortypedisplay:
  12954. type: string
  12955. zscrystaltype:
  12956. description: 晶型 - 多个,逗号分隔
  12957. type: string
  12958. zscrystaltypedisplay:
  12959. type: string
  12960. zscurrencytype:
  12961. description: 货币类型 - 多个, 逗号分隔
  12962. type: string
  12963. zscurrencytypedisplay:
  12964. type: string
  12965. zscuttype:
  12966. description: 切工 - 两个, 逗号分隔
  12967. type: string
  12968. zscuttypedisplay:
  12969. type: string
  12970. zsczcolor1type:
  12971. description: 彩钻颜色1, 逗号分隔
  12972. type: string
  12973. zsczcolor1typedisplay:
  12974. type: string
  12975. zsczcolor2type:
  12976. description: 彩钻颜色2, 逗号分隔
  12977. type: string
  12978. zsczcolor2typedisplay:
  12979. type: string
  12980. zsczcolor3type:
  12981. description: 彩钻颜色3, 逗号分隔
  12982. type: string
  12983. zsczcolor3typedisplay:
  12984. type: string
  12985. zsfluorescencetype:
  12986. description: 荧光 - 多个, 逗号分隔
  12987. type: string
  12988. zsfluorescencetypedisplay:
  12989. type: string
  12990. zspolishtype:
  12991. description: 抛光度 - 两个, 逗号分隔
  12992. type: string
  12993. zspolishtypedisplay:
  12994. type: string
  12995. zsshapetype:
  12996. description: 形状 - 多个, 逗号分隔
  12997. type: string
  12998. zsshapetypedisplay:
  12999. type: string
  13000. zssize:
  13001. description: 尺寸 - 两个小数, 逗号分隔
  13002. type: string
  13003. zsstyletype:
  13004. description: 款式 - 多个, 逗号分隔
  13005. type: string
  13006. zsstyletypedisplay:
  13007. type: string
  13008. zssymmetrytype:
  13009. description: 对称度 - 两个, 逗号分隔
  13010. type: string
  13011. zssymmetrytypedisplay:
  13012. type: string
  13013. zstabledisplay:
  13014. description: 求购信息
  13015. type: string
  13016. required:
  13017. - userid
  13018. type: object
  13019. models.MyCoupon:
  13020. properties:
  13021. accountid:
  13022. description: 资金账户ID
  13023. type: integer
  13024. areauserid:
  13025. description: 所属机构
  13026. type: integer
  13027. conditionvalue:
  13028. description: 条件阈值(可为0)
  13029. type: number
  13030. couponcategroy:
  13031. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  13032. type: integer
  13033. couponname:
  13034. description: 优惠券名称
  13035. type: string
  13036. coupontypeid:
  13037. description: 优惠券类型ID
  13038. type: string
  13039. couponvalue:
  13040. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  13041. type: number
  13042. curfreezeqty:
  13043. description: 期末冻结数量
  13044. type: integer
  13045. curqty:
  13046. description: 期末数量
  13047. type: integer
  13048. isgeneral:
  13049. description: 是否通用券 - 0:否 1:是
  13050. type: integer
  13051. isunusable:
  13052. description: 是否不可用
  13053. type: boolean
  13054. limitedflag:
  13055. description: 是否指定商品 - 0:不限 1:限制
  13056. type: integer
  13057. limitedgoodsids:
  13058. description: 指定商品IDs[逗号分隔,前后加逗号]
  13059. type: string
  13060. orifreezeqty:
  13061. description: 期初冻结数量
  13062. type: integer
  13063. oriqty:
  13064. description: 期初数量
  13065. type: integer
  13066. reasontype:
  13067. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  13068. type: integer
  13069. todaydecrease:
  13070. description: 今日减少
  13071. type: integer
  13072. todayincrease:
  13073. description: 今日增加
  13074. type: integer
  13075. userid:
  13076. description: 用户ID
  13077. type: integer
  13078. userscope:
  13079. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  13080. type: string
  13081. required:
  13082. - accountid
  13083. - coupontypeid
  13084. type: object
  13085. models.MyCouponHold:
  13086. properties:
  13087. accountid:
  13088. description: 资金账户ID
  13089. type: integer
  13090. conditionvalue:
  13091. description: 条件阈值(可为0)
  13092. type: number
  13093. couponcategroy:
  13094. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  13095. type: integer
  13096. couponholdid:
  13097. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  13098. type: string
  13099. couponname:
  13100. description: 优惠券名称
  13101. type: string
  13102. coupontypeid:
  13103. description: 优惠券类型ID - SEQ_COUPONTYPE
  13104. type: string
  13105. couponvalue:
  13106. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  13107. type: number
  13108. createtime:
  13109. description: 创建时间
  13110. type: string
  13111. enddate:
  13112. description: 结束日期
  13113. type: string
  13114. giveapplyid:
  13115. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  13116. type: integer
  13117. holdstatus:
  13118. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  13119. type: integer
  13120. isgeneral:
  13121. description: 是否通用券 - 0:否 1:是
  13122. type: integer
  13123. limitedflag:
  13124. description: 是否指定商品 - 0:不限 1:限制
  13125. type: integer
  13126. limitedgoodsids:
  13127. description: 指定商品IDs[逗号分隔]
  13128. type: string
  13129. qty:
  13130. description: 数量(按1平铺)
  13131. type: integer
  13132. startdate:
  13133. description: 开始日期
  13134. type: string
  13135. userid:
  13136. description: 用户ID
  13137. type: integer
  13138. userscope:
  13139. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  13140. type: string
  13141. required:
  13142. - couponholdid
  13143. type: object
  13144. models.MyDeListing:
  13145. properties:
  13146. buyaccountid:
  13147. description: 买方账号ID
  13148. type: integer
  13149. buychargevalue:
  13150. description: 买方手续费
  13151. type: number
  13152. buyuserid:
  13153. description: 买方用户ID
  13154. type: integer
  13155. deliverygoodsid:
  13156. description: 现货品种ID
  13157. type: integer
  13158. exchangerate:
  13159. description: 汇率
  13160. type: number
  13161. goodsno:
  13162. description: 商品编号
  13163. type: string
  13164. marketid:
  13165. description: 市场ID
  13166. type: integer
  13167. matchusername:
  13168. description: 对手方
  13169. type: string
  13170. oritradeamount:
  13171. description: 成交金额[商品币种]
  13172. type: number
  13173. performanceplanid:
  13174. description: 履约计划ID/合同ID
  13175. type: string
  13176. price:
  13177. description: 价格
  13178. type: number
  13179. qty:
  13180. description: 成交重量
  13181. type: number
  13182. sellaccountid:
  13183. description: 卖方账号ID
  13184. type: integer
  13185. sellchargevalue:
  13186. description: 卖方手续费
  13187. type: number
  13188. selluserid:
  13189. description: 卖方用户ID
  13190. type: integer
  13191. sizedisplay:
  13192. description: 尺寸
  13193. type: string
  13194. tradeamount:
  13195. description: 成交金额
  13196. type: number
  13197. tradedate:
  13198. description: 交易日(yyyyMMdd)
  13199. type: string
  13200. tradeprice:
  13201. description: 成交价格
  13202. type: number
  13203. tradetime:
  13204. description: 成交时间
  13205. type: string
  13206. userid:
  13207. description: 用户ID
  13208. type: integer
  13209. warehousenamedisplay:
  13210. type: string
  13211. wrfactortypeid:
  13212. description: 仓单要素类型ID
  13213. type: integer
  13214. wrstandardid:
  13215. description: 现货商品ID
  13216. type: integer
  13217. wrtradedetailid:
  13218. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  13219. type: string
  13220. zscategory:
  13221. description: 钻石分类 - 枚举”ZSCategory“
  13222. type: integer
  13223. zscategorydisplay:
  13224. type: string
  13225. zscerttypedisplay:
  13226. type: string
  13227. zsclaritytype1display:
  13228. type: string
  13229. zsclaritytype2display:
  13230. type: string
  13231. zscolortype1display:
  13232. type: string
  13233. zscolortype2display:
  13234. type: string
  13235. zscrystaltypedisplay:
  13236. type: string
  13237. zscurrencytype:
  13238. description: 货币类型 - 枚举“ZSCurrencyType”
  13239. type: integer
  13240. zscurrencytypedisplay:
  13241. type: string
  13242. zscurrencytypedisplayunit:
  13243. type: string
  13244. zscuttype1display:
  13245. type: string
  13246. zscuttype2display:
  13247. type: string
  13248. zsczcolor1typedisplay:
  13249. type: string
  13250. zsczcolor2typedisplay:
  13251. type: string
  13252. zsczcolor3typedisplay:
  13253. type: string
  13254. zsfluorescencetype1display:
  13255. type: string
  13256. zsfluorescencetype2display:
  13257. type: string
  13258. zspolishtype1display:
  13259. type: string
  13260. zspolishtype2display:
  13261. type: string
  13262. zsshapetypedisplay:
  13263. type: string
  13264. zsstyletypedisplay:
  13265. type: string
  13266. zssymmetrytype1display:
  13267. type: string
  13268. zssymmetrytype2display:
  13269. type: string
  13270. required:
  13271. - userid
  13272. type: object
  13273. models.MyDelistingApply:
  13274. properties:
  13275. applyprice:
  13276. description: 申请价格
  13277. type: number
  13278. applyqty:
  13279. description: 申请数量
  13280. type: number
  13281. applyremark:
  13282. description: 申请备注
  13283. type: string
  13284. applystatus:
  13285. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13286. type: integer
  13287. applytime:
  13288. description: 申请时间
  13289. type: string
  13290. auditremark:
  13291. description: 确认备注
  13292. type: string
  13293. audittime:
  13294. description: 确认时间
  13295. type: string
  13296. buyuserid:
  13297. description: 买方用户ID
  13298. type: integer
  13299. buyusername:
  13300. description: 买方
  13301. type: string
  13302. buywrtradeorderid:
  13303. description: 买委托单ID
  13304. type: string
  13305. cerno:
  13306. description: 证书编号 - 类型:2,4,5
  13307. type: string
  13308. goodsno:
  13309. description: 商品编号
  13310. type: string
  13311. ladingbillid:
  13312. description: 卖方提单ID
  13313. type: string
  13314. marketid:
  13315. description: 市场ID
  13316. type: integer
  13317. performancetemplateid:
  13318. description: 履约计划模板ID
  13319. type: integer
  13320. price:
  13321. description: 价格
  13322. type: number
  13323. priceper:
  13324. description: 克拉单价
  13325. type: string
  13326. sellaccountid:
  13327. description: 卖方账户ID
  13328. type: integer
  13329. selldelistingapplyid:
  13330. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  13331. type: string
  13332. selltradeorderid:
  13333. description: 卖方委托ID(买方确认成交后更新)
  13334. type: string
  13335. selluserid:
  13336. description: 卖方用户ID
  13337. type: integer
  13338. sellusername:
  13339. description: 卖方
  13340. type: string
  13341. sizedisplay:
  13342. description: 尺寸
  13343. type: string
  13344. subnum:
  13345. description: 卖方提单子单号
  13346. type: integer
  13347. warehouseinfosdisplay:
  13348. type: string
  13349. weight:
  13350. description: 克拉重量
  13351. type: number
  13352. wrfactortypeid:
  13353. description: 仓单要素类型ID
  13354. type: string
  13355. wrstandardid:
  13356. description: 现货商品ID
  13357. type: integer
  13358. zsallproperties:
  13359. type: string
  13360. zscategorydisplay:
  13361. type: string
  13362. zscerttype:
  13363. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  13364. type: integer
  13365. zscerttypedisplay:
  13366. description: 证书类型
  13367. type: string
  13368. zsclaritytypedisplay:
  13369. type: string
  13370. zscolortypedisplay:
  13371. type: string
  13372. zscrystaltypedisplay:
  13373. type: string
  13374. zscurrencytypedisplay:
  13375. type: string
  13376. zscurrencytypedisplayunit:
  13377. description: 价格单位
  13378. type: string
  13379. zscuttypedisplay:
  13380. type: string
  13381. zsczcolor1typedisplay:
  13382. type: string
  13383. zsczcolor2typedisplay:
  13384. type: string
  13385. zsczcolor3typedisplay:
  13386. type: string
  13387. zsfluorescencetypedisplay:
  13388. type: string
  13389. zspolishtypedisplay:
  13390. type: string
  13391. zsshapetypedisplay:
  13392. type: string
  13393. zssizedisplay:
  13394. type: string
  13395. zsstyletypedisplay:
  13396. type: string
  13397. zssymmetrytypedisplay:
  13398. type: string
  13399. zstabledisplay:
  13400. type: string
  13401. required:
  13402. - selluserid
  13403. type: object
  13404. models.MyFavorite:
  13405. properties:
  13406. accountname:
  13407. description: 账户名称(机构名称)
  13408. type: string
  13409. buyorsell:
  13410. description: 买卖 - 0:买 1:卖
  13411. type: integer
  13412. favoritestatus:
  13413. description: 收藏状态 - 1:正常 2:失效
  13414. type: integer
  13415. goodsno:
  13416. description: 商品编号
  13417. type: string
  13418. marketid:
  13419. description: 市场ID
  13420. type: integer
  13421. marketprice:
  13422. description: 市场价
  13423. type: string
  13424. price:
  13425. description: 价格
  13426. type: number
  13427. priceper:
  13428. description: 克拉单价
  13429. type: string
  13430. sellusername:
  13431. description: 卖家
  13432. type: string
  13433. sizedisplay:
  13434. description: 尺寸
  13435. type: string
  13436. userid:
  13437. description: 用户ID
  13438. type: integer
  13439. warehousenamedisplay:
  13440. description: 仓库名称
  13441. type: string
  13442. weight:
  13443. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  13444. type: number
  13445. weightavg:
  13446. description: 平均单颗重量 - 类型:1,3
  13447. type: number
  13448. wrfactortypeid:
  13449. description: 仓单要素类型ID/商品ID(77)
  13450. type: string
  13451. wrstandardid:
  13452. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  13453. type: integer
  13454. wrtradeorderid:
  13455. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13456. type: string
  13457. zscategory:
  13458. description: 钻石分类 - 枚举”ZSCategory“
  13459. type: integer
  13460. zscategorydisplay:
  13461. type: string
  13462. zscerttypedisplay:
  13463. type: string
  13464. zsclaritytype1display:
  13465. type: string
  13466. zsclaritytype2display:
  13467. type: string
  13468. zscolortype1display:
  13469. type: string
  13470. zscolortype2display:
  13471. type: string
  13472. zscrystaltypedisplay:
  13473. type: string
  13474. zscurrencytypedisplay:
  13475. type: string
  13476. zscurrencytypedisplayunit:
  13477. type: string
  13478. zscuttype1display:
  13479. type: string
  13480. zscuttype2display:
  13481. type: string
  13482. zsczcolor1typedisplay:
  13483. type: string
  13484. zsczcolor2typedisplay:
  13485. type: string
  13486. zsczcolor3typedisplay:
  13487. type: string
  13488. zsfluorescencetype1display:
  13489. type: string
  13490. zsfluorescencetype2display:
  13491. type: string
  13492. zspolishtype1display:
  13493. type: string
  13494. zspolishtype2display:
  13495. type: string
  13496. zsshapetypedisplay:
  13497. type: string
  13498. zsstyletypedisplay:
  13499. type: string
  13500. zssymmetrytype1display:
  13501. type: string
  13502. zssymmetrytype2display:
  13503. type: string
  13504. required:
  13505. - userid
  13506. type: object
  13507. models.MyPerformanc:
  13508. properties:
  13509. accountname:
  13510. description: '[对手方]账户名称(机构名称)'
  13511. type: string
  13512. amount:
  13513. description: 履约金额
  13514. type: number
  13515. buyaccountid:
  13516. description: 买方账号
  13517. type: integer
  13518. buyerfreezeamount:
  13519. description: 买方履约前冻结资金
  13520. type: number
  13521. buyerfreezeamountremain:
  13522. description: 买方履约前冻结资金剩余
  13523. type: number
  13524. buyerinfo:
  13525. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13526. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  13527. type: string
  13528. buyorsell:
  13529. description: 方向 - 0:买 1:卖
  13530. type: integer
  13531. buypaidamount:
  13532. description: 买方已冻/已扣金额
  13533. type: number
  13534. buytodayamount:
  13535. description: 买方今日扣/冻金额 (待开市时清零)
  13536. type: number
  13537. curstepid:
  13538. description: 当前步骤ID
  13539. type: string
  13540. goodsno:
  13541. description: 商品编号
  13542. type: string
  13543. overshortamount:
  13544. description: 溢短金额
  13545. type: number
  13546. paymenttype:
  13547. description: 买方支付方式 - 1:冻结 2:扣款
  13548. type: integer
  13549. performanceplanid:
  13550. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  13551. type: string
  13552. performancestatus:
  13553. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  13554. 9:超时待处理 10:超时关闭
  13555. type: integer
  13556. price:
  13557. description: 价格
  13558. type: number
  13559. priceper:
  13560. description: 克拉单价
  13561. type: string
  13562. relatedorderid:
  13563. description: 关联单号(履约类型的关联单号)
  13564. type: string
  13565. remaindays:
  13566. description: 剩余天数
  13567. type: integer
  13568. sellerfreezeamount:
  13569. description: 卖方履约前冻结资金
  13570. type: number
  13571. sellerfreezeamountremain:
  13572. description: 卖方履约前冻结资金剩余
  13573. type: number
  13574. sellerinfo:
  13575. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13576. "xxxxxxxx"}'
  13577. type: string
  13578. sellreceivedamount:
  13579. description: 卖方已收金额
  13580. type: number
  13581. selltodayamount:
  13582. description: 卖方今日收取金额(待开市时清零)
  13583. type: number
  13584. sizedisplay:
  13585. description: 尺寸
  13586. type: string
  13587. steptypeid:
  13588. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13589. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13590. type: integer
  13591. warehousenamedisplay:
  13592. type: string
  13593. zscategorydisplay:
  13594. type: string
  13595. zscerttypedisplay:
  13596. type: string
  13597. zsclaritytype1display:
  13598. type: string
  13599. zsclaritytype2display:
  13600. type: string
  13601. zscolortype1display:
  13602. type: string
  13603. zscolortype2display:
  13604. type: string
  13605. zscrystaltypedisplay:
  13606. type: string
  13607. zscurrencytypedisplay:
  13608. type: string
  13609. zscurrencytypedisplayunit:
  13610. type: string
  13611. zscuttype1display:
  13612. type: string
  13613. zscuttype2display:
  13614. type: string
  13615. zsczcolor1typedisplay:
  13616. type: string
  13617. zsczcolor2typedisplay:
  13618. type: string
  13619. zsczcolor3typedisplay:
  13620. type: string
  13621. zsfluorescencetype1display:
  13622. type: string
  13623. zsfluorescencetype2display:
  13624. type: string
  13625. zspolishtype1display:
  13626. type: string
  13627. zspolishtype2display:
  13628. type: string
  13629. zsshapetypedisplay:
  13630. type: string
  13631. zsstyletypedisplay:
  13632. type: string
  13633. zssymmetrytype1display:
  13634. type: string
  13635. zssymmetrytype2display:
  13636. type: string
  13637. type: object
  13638. models.MyRefer:
  13639. properties:
  13640. accountname:
  13641. description: 用户名(脱敏)
  13642. type: string
  13643. createtime:
  13644. description: 时间(yyyy-mm-dd)
  13645. type: string
  13646. score:
  13647. description: 积分
  13648. type: number
  13649. type: object
  13650. models.MySellOrder:
  13651. properties:
  13652. accountid:
  13653. description: 资金账号
  13654. type: integer
  13655. applyid:
  13656. description: 申请单ID
  13657. type: integer
  13658. attachment1:
  13659. description: 附件1
  13660. type: string
  13661. attachment2:
  13662. description: 附件2
  13663. type: string
  13664. buyorsell:
  13665. description: 买卖 - 0:买 1:卖
  13666. type: integer
  13667. canbargain:
  13668. description: 是否可议价 - 0:不可 1:可
  13669. type: integer
  13670. cancelqty:
  13671. description: 撤销数量
  13672. type: integer
  13673. canceltime:
  13674. description: 撤销时间
  13675. type: string
  13676. cerno:
  13677. type: string
  13678. chargealgorithm:
  13679. description: 手续费收取方式 1:比率 2:固定
  13680. type: integer
  13681. chargealgorithmvalue:
  13682. description: 手续费设置值(交易所部分)
  13683. type: number
  13684. chargealgorithmvalue2:
  13685. description: 手续费设置值(会员部分)
  13686. type: number
  13687. clientordertime:
  13688. description: 客户端委托时间
  13689. type: string
  13690. cpcertno:
  13691. type: string
  13692. exchangerate:
  13693. description: 汇率[67]
  13694. type: number
  13695. firstratio:
  13696. description: 首付比率 - [挂牌时指定,摘牌时使用]
  13697. type: number
  13698. fixedprice:
  13699. description: '[克拉单价]固定价格 - [挂牌]'
  13700. type: number
  13701. freezecharge:
  13702. description: 冻结手续费
  13703. type: number
  13704. freezefirstamount:
  13705. description: 冻结首付金额 - [摘牌]
  13706. type: number
  13707. freezemargin:
  13708. description: 冻结保证金
  13709. type: number
  13710. goodsno:
  13711. description: 商品编号
  13712. type: string
  13713. imagepath:
  13714. type: string
  13715. isspecified:
  13716. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  13717. type: integer
  13718. kppath:
  13719. type: string
  13720. kpweight:
  13721. type: string
  13722. marginalgorithm:
  13723. description: 保证金方式 - 1:比率 2:固定
  13724. type: integer
  13725. marginvalue:
  13726. description: 保证金设置值
  13727. type: number
  13728. marketid:
  13729. description: 市场ID
  13730. type: integer
  13731. marketprice:
  13732. type: string
  13733. orderamount:
  13734. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  13735. type: number
  13736. ordertime:
  13737. description: 委托时间
  13738. type: string
  13739. performancetemplateid:
  13740. description: 履约计划模板ID
  13741. type: integer
  13742. price:
  13743. description: 价格
  13744. type: number
  13745. pricefactor:
  13746. description: 价格系数(浮动价时填写) - [挂牌]
  13747. type: number
  13748. pricemove:
  13749. description: 升贴水(浮动价时填写) - [挂牌]
  13750. type: number
  13751. priceper:
  13752. type: string
  13753. relatedwrtradeorderid:
  13754. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  13755. type: integer
  13756. remark:
  13757. type: string
  13758. retcode:
  13759. description: 错误代码
  13760. type: integer
  13761. selledqty:
  13762. description: 成交重量
  13763. type: number
  13764. settingmaterial:
  13765. type: string
  13766. size1:
  13767. type: string
  13768. size2:
  13769. type: string
  13770. size3:
  13771. type: string
  13772. sizedisplay:
  13773. description: 尺寸
  13774. type: string
  13775. stonedesc:
  13776. type: string
  13777. totalqty:
  13778. description: 总重量
  13779. type: number
  13780. tradedate:
  13781. description: 交易日(yyyyMMdd)
  13782. type: string
  13783. tradeprice:
  13784. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13785. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13786. type: number
  13787. unfreezecharge:
  13788. description: 解冻手续费
  13789. type: number
  13790. unfreezefirstamount:
  13791. description: 解冻首付金额 - [摘牌]
  13792. type: number
  13793. unfreezemargin:
  13794. description: 解冻保证金
  13795. type: number
  13796. userid:
  13797. description: 用户ID
  13798. type: integer
  13799. uuid:
  13800. description: 发起端唯一id
  13801. type: string
  13802. validtime:
  13803. description: 有效期限
  13804. type: string
  13805. validtype:
  13806. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  13807. type: integer
  13808. warehousenamedisplay:
  13809. type: string
  13810. wrbargainid:
  13811. description: 议价申请单ID
  13812. type: integer
  13813. wrfactortypeid:
  13814. description: 仓单要素类型ID/商品ID(77)
  13815. type: integer
  13816. wrpath:
  13817. type: string
  13818. wrpricetype:
  13819. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13820. type: integer
  13821. wrstandardid:
  13822. description: 现货商品ID
  13823. type: integer
  13824. wrtradeorderid:
  13825. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13826. type: string
  13827. wrtradeorderstatus:
  13828. 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:撤单解冻贷款失败
  13829. type: integer
  13830. wrtradetype:
  13831. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13832. type: integer
  13833. wrtransferuserid:
  13834. description: 仓单受让用户 - [摘牌]
  13835. type: integer
  13836. zscategory:
  13837. description: 钻石分类 - 枚举”ZSCategory“
  13838. type: integer
  13839. zscategorydisplay:
  13840. description: 钻石分类 - 描述
  13841. type: string
  13842. zscerttypedisplay:
  13843. type: string
  13844. zsclaritytype1display:
  13845. type: string
  13846. zsclaritytype2display:
  13847. type: string
  13848. zscolortype1display:
  13849. type: string
  13850. zscolortype2display:
  13851. type: string
  13852. zscrystaltype:
  13853. type: string
  13854. zscrystaltypedisplay:
  13855. type: string
  13856. zscurrencytype:
  13857. description: 货币类型 - 枚举“ZSCurrencyType”
  13858. type: integer
  13859. zscurrencytypedisplay:
  13860. type: string
  13861. zscurrencytypedisplayunit:
  13862. type: string
  13863. zscuttype1display:
  13864. type: string
  13865. zscuttype2display:
  13866. type: string
  13867. zsczcolor1typedisplay:
  13868. type: string
  13869. zsczcolor2typedisplay:
  13870. type: string
  13871. zsczcolor3typedisplay:
  13872. type: string
  13873. zsfluorescencetype1display:
  13874. type: string
  13875. zsfluorescencetype2display:
  13876. type: string
  13877. zspolishtype1display:
  13878. type: string
  13879. zspolishtype2display:
  13880. type: string
  13881. zsshapetypedisplay:
  13882. type: string
  13883. zsstyletypedisplay:
  13884. type: string
  13885. zssymmetrytype1display:
  13886. type: string
  13887. zssymmetrytype2display:
  13888. type: string
  13889. required:
  13890. - userid
  13891. type: object
  13892. models.MyUsedCoupon:
  13893. properties:
  13894. accountid:
  13895. description: 资金账户ID(买方)
  13896. type: integer
  13897. conditionvalue:
  13898. description: 条件阈值(可为0)
  13899. type: number
  13900. couponcategroy:
  13901. description: 种类 - 1:现金券 2:折扣券
  13902. type: integer
  13903. couponname:
  13904. description: 优惠券名称
  13905. type: string
  13906. coupontypeid:
  13907. description: 优惠券类型ID(买方)
  13908. type: string
  13909. couponvalue:
  13910. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  13911. type: number
  13912. createtime:
  13913. description: 创建时间
  13914. type: string
  13915. goodsid:
  13916. description: 商品ID
  13917. type: integer
  13918. handlestatus:
  13919. description: 处理状态
  13920. type: integer
  13921. marketid:
  13922. description: 市场ID
  13923. type: integer
  13924. offamount:
  13925. description: 优惠金额
  13926. type: number
  13927. orderid:
  13928. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13929. type: string
  13930. sellaccountid:
  13931. description: 资金账户ID(卖方)
  13932. type: integer
  13933. tradeamount:
  13934. description: 成交金额
  13935. type: number
  13936. tradeid:
  13937. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13938. type: string
  13939. usedqty:
  13940. description: 使用数量
  13941. type: integer
  13942. required:
  13943. - coupontypeid
  13944. - orderid
  13945. type: object
  13946. models.MyWRPosition:
  13947. properties:
  13948. cerno:
  13949. description: 证书编号 - 类型:2,4,5
  13950. type: string
  13951. cpcertno:
  13952. description: 金伯利证书编号 - 类型:3
  13953. type: string
  13954. ffreezeqty:
  13955. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  13956. type: number
  13957. ftotalqty:
  13958. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  13959. type: number
  13960. goodsno:
  13961. description: 商品编号
  13962. type: string
  13963. imagepath:
  13964. description: 商品照片(相对地址)
  13965. type: string
  13966. isvalid:
  13967. description: 是否有效 - 0:无效 1:有效
  13968. type: integer
  13969. kppath:
  13970. description: 金伯利证书图片(相对地址) - 类型:3
  13971. type: string
  13972. kpweight:
  13973. description: 金伯利证书重量 - 类型:3
  13974. type: string
  13975. ladingbillid:
  13976. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13977. type: string
  13978. marketflag:
  13979. description: 是否上架,0-全部 1-是 2-否
  13980. type: integer
  13981. marketprice:
  13982. description: 市场价
  13983. type: string
  13984. origin:
  13985. description: 原产地 - 类型:3
  13986. type: string
  13987. price:
  13988. description: 总价(价格) - 类型:1,2,3,4,5
  13989. type: number
  13990. priceper:
  13991. description: 克拉单价 - 类型:1,2,3,5
  13992. type: string
  13993. remark:
  13994. description: 备注
  13995. type: string
  13996. sellmobile:
  13997. description: 手机号码(加密存储)
  13998. type: string
  13999. sellusername:
  14000. description: 账户名称(机构名称)
  14001. type: string
  14002. settingmaterial:
  14003. description: 镶嵌材料 - 类型:4
  14004. type: string
  14005. size1:
  14006. description: 尺寸1 - 类型:2,4,5
  14007. type: string
  14008. size2:
  14009. description: 尺寸2 - 类型:2,4,5
  14010. type: string
  14011. size3:
  14012. description: 尺寸3 - 类型:2,4,5
  14013. type: string
  14014. sizedisplay:
  14015. description: 尺寸
  14016. type: string
  14017. stonedesc:
  14018. description: 配石描述 - 类型:4
  14019. type: string
  14020. subnum:
  14021. description: 提单子单号
  14022. type: integer
  14023. userid:
  14024. description: 用户ID
  14025. type: integer
  14026. warehouseid:
  14027. description: 仓库ID
  14028. type: integer
  14029. warehousenamedisplay:
  14030. type: string
  14031. weight:
  14032. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  14033. type: number
  14034. weightavg:
  14035. description: 平均单颗重量 - 类型:1,3
  14036. type: number
  14037. wrpath:
  14038. description: 仓单扫描件(相对地址)
  14039. type: string
  14040. wrstandardid:
  14041. description: 现货商品ID
  14042. type: integer
  14043. wrtradeorderid:
  14044. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14045. type: string
  14046. wruserid:
  14047. description: 登录用户ID
  14048. type: integer
  14049. zscategory:
  14050. description: 钻石分类 - 枚举”ZSCategory“
  14051. type: integer
  14052. zscategorydisplay:
  14053. type: string
  14054. zscerttype:
  14055. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  14056. type: integer
  14057. zscerttypedisplay:
  14058. type: string
  14059. zsclaritytype1:
  14060. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  14061. type: integer
  14062. zsclaritytype1display:
  14063. type: string
  14064. zsclaritytype2:
  14065. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  14066. type: integer
  14067. zsclaritytype2display:
  14068. type: string
  14069. zscolortype1:
  14070. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  14071. type: integer
  14072. zscolortype1display:
  14073. type: string
  14074. zscolortype2:
  14075. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  14076. type: integer
  14077. zscolortype2display:
  14078. type: string
  14079. zscrystaltype:
  14080. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  14081. type: string
  14082. zscrystaltypedisplay:
  14083. type: string
  14084. zscurrencytype:
  14085. description: 货币类型 - 枚举“ZSCurrencyType”
  14086. type: integer
  14087. zscurrencytypedisplay:
  14088. type: string
  14089. zscurrencytypedisplayunit:
  14090. type: string
  14091. zscuttype1:
  14092. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  14093. type: integer
  14094. zscuttype1display:
  14095. type: string
  14096. zscuttype2:
  14097. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  14098. type: integer
  14099. zscuttype2display:
  14100. type: string
  14101. zsczcolor1type:
  14102. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  14103. type: integer
  14104. zsczcolor1typedisplay:
  14105. type: string
  14106. zsczcolor2type:
  14107. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  14108. type: integer
  14109. zsczcolor2typedisplay:
  14110. type: string
  14111. zsczcolor3type:
  14112. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  14113. type: integer
  14114. zsczcolor3typedisplay:
  14115. type: string
  14116. zsfluorescencetype1:
  14117. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  14118. type: integer
  14119. zsfluorescencetype1display:
  14120. type: string
  14121. zsfluorescencetype2:
  14122. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  14123. type: integer
  14124. zsfluorescencetype2display:
  14125. type: string
  14126. zspolishtype1:
  14127. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  14128. type: integer
  14129. zspolishtype1display:
  14130. type: string
  14131. zspolishtype2:
  14132. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  14133. type: integer
  14134. zspolishtype2display:
  14135. type: string
  14136. zsshapetype:
  14137. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  14138. type: string
  14139. zsshapetypedisplay:
  14140. type: string
  14141. zsstyletype:
  14142. description: 款式 - 类型:4
  14143. type: integer
  14144. zsstyletypedisplay:
  14145. type: string
  14146. zssymmetrytype1:
  14147. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  14148. type: integer
  14149. zssymmetrytype1display:
  14150. type: string
  14151. zssymmetrytype2:
  14152. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  14153. type: integer
  14154. zssymmetrytype2display:
  14155. type: string
  14156. required:
  14157. - wruserid
  14158. type: object
  14159. models.NewFuncmenulist:
  14160. properties:
  14161. authtype:
  14162. description: 权限类型 - 1:菜单 2:组件 3:按钮
  14163. type: integer
  14164. buttonname:
  14165. description: 按钮名称
  14166. type: string
  14167. buttontype:
  14168. description: 按钮类型 - 存按钮样式
  14169. type: string
  14170. component:
  14171. description: 组件名或组件地址
  14172. type: string
  14173. hidden:
  14174. description: 是否隐藏 - 0:显示 1:隐藏
  14175. type: integer
  14176. iconame:
  14177. description: 菜单图标
  14178. type: string
  14179. menutype:
  14180. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  14181. type: integer
  14182. parentcode:
  14183. description: 上级资源代码
  14184. type: string
  14185. remark:
  14186. description: Remark
  14187. type: string
  14188. resourcecode:
  14189. description: 资源代码
  14190. type: string
  14191. resourcelevel:
  14192. description: 级别1-一级 2-二级 3-三级4-四级
  14193. type: integer
  14194. resourcename:
  14195. description: 资源名(Title)
  14196. type: string
  14197. sort:
  14198. description: 排序
  14199. type: integer
  14200. url:
  14201. description: Url
  14202. type: string
  14203. urltype:
  14204. description: 地址类型 - 1:路由 2:外链 3:内联框架
  14205. type: integer
  14206. required:
  14207. - resourcecode
  14208. type: object
  14209. models.OperationPrimaryMenu:
  14210. properties:
  14211. Children:
  14212. description: 二级功能菜单
  14213. items:
  14214. $ref: '#/definitions/models.OperationSecondaryMenu'
  14215. type: array
  14216. Key:
  14217. description: 菜单KEY
  14218. type: string
  14219. Label:
  14220. description: 菜单标题
  14221. type: string
  14222. type: object
  14223. models.OperationSecondaryMenu:
  14224. properties:
  14225. Key:
  14226. description: 菜单KEY
  14227. type: string
  14228. Label:
  14229. description: 菜单标题
  14230. type: string
  14231. TabList:
  14232. description: 三级功能菜单
  14233. items:
  14234. $ref: '#/definitions/models.OperationTabMenu'
  14235. type: array
  14236. type: object
  14237. models.OperationTabMenu:
  14238. properties:
  14239. Key:
  14240. description: 菜单KEY
  14241. type: string
  14242. Label:
  14243. description: 菜单标题
  14244. type: string
  14245. type: object
  14246. models.Patradelinkdetail:
  14247. properties:
  14248. accountname:
  14249. description: 套期主体
  14250. type: string
  14251. agreeunit:
  14252. description: 合约乘数
  14253. type: number
  14254. amount:
  14255. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  14256. type: number
  14257. areauserid:
  14258. description: 所属机构
  14259. type: integer
  14260. bizsubjectid:
  14261. description: 归属业务部门ID - SubjectID
  14262. type: integer
  14263. buyorsell:
  14264. description: 方向 - 0:买 1:卖
  14265. type: integer
  14266. convertratio:
  14267. description: 品种系数
  14268. type: number
  14269. convertratiochange:
  14270. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  14271. type: number
  14272. createtime:
  14273. description: '[日期时间]创建时间'
  14274. type: string
  14275. creatorid:
  14276. description: 创建人ID
  14277. type: integer
  14278. creatorsrc:
  14279. description: 创建人来源 - 1:管理端 2:终端 3:交易
  14280. type: integer
  14281. goodscode:
  14282. description: 商品代码(内部)
  14283. type: string
  14284. goodsgroupid:
  14285. description: 对冲品种ID[期货合约商品组ID]
  14286. type: integer
  14287. goodsid:
  14288. description: 商品ID
  14289. type: integer
  14290. hedgeditemid:
  14291. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  14292. type: integer
  14293. hedgeflag:
  14294. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  14295. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  14296. type: integer
  14297. linkdetailid:
  14298. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  14299. type: string
  14300. linkstatus:
  14301. description: 关联状态 - 1:成功 2:失败 3:解绑
  14302. type: integer
  14303. middlegoodsid:
  14304. description: 套保品种ID
  14305. type: integer
  14306. name:
  14307. description: 账户名/子账户
  14308. type: string
  14309. optioncode:
  14310. description: '[期货合约]期权代码 [期权]'
  14311. type: string
  14312. ordertype:
  14313. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  14314. type: integer
  14315. relatedlot:
  14316. description: '[数量]关联手数'
  14317. type: number
  14318. relatedmode:
  14319. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  14320. type: integer
  14321. relatedqty:
  14322. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  14323. type: number
  14324. retcode:
  14325. description: 返回码
  14326. type: integer
  14327. saleuserid:
  14328. description: 业务员ID
  14329. type: integer
  14330. tradedate:
  14331. description: 关联交易日(yyyyMMdd)
  14332. type: string
  14333. tradeid:
  14334. description: '[成交单号]内部成交单ID'
  14335. type: string
  14336. tradelot:
  14337. description: 成交手数
  14338. type: integer
  14339. tradeprice:
  14340. description: '[价格]成交价格'
  14341. type: number
  14342. tradetradedate:
  14343. description: 成交交易日(yyyyMMdd)
  14344. type: string
  14345. type: object
  14346. models.PromotionIncome:
  14347. properties:
  14348. profitmonth:
  14349. description: 时间
  14350. type: string
  14351. profitstatus:
  14352. description: 状态 - 1:已支付 2:未支付 3:支取中
  14353. type: integer
  14354. sumamount:
  14355. description: 金额
  14356. type: number
  14357. type: object
  14358. models.PromotionIncomeDetail:
  14359. properties:
  14360. buyorsell:
  14361. description: 方向
  14362. type: string
  14363. market:
  14364. description: 市场
  14365. type: string
  14366. profitamount:
  14367. description: 金额
  14368. type: number
  14369. profitroletype:
  14370. description: 级别
  14371. type: string
  14372. tradetime:
  14373. description: 时间
  14374. type: string
  14375. wrstandardcode:
  14376. description: 现货商品代码
  14377. type: string
  14378. wrstandardid:
  14379. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14380. type: integer
  14381. wrstandardname:
  14382. description: 现货商品名称
  14383. type: string
  14384. type: object
  14385. models.PurchaseTransfer:
  14386. properties:
  14387. pictureurls:
  14388. description: 详情图片(逗号分隔)
  14389. type: string
  14390. refgoodsid:
  14391. description: 参考商品ID
  14392. type: integer
  14393. thumurls:
  14394. description: 缩略图片(1:1)(逗号分隔)
  14395. type: string
  14396. unitid:
  14397. description: 现货商品单位ID
  14398. type: integer
  14399. wrstandardcode:
  14400. description: 现货商品代码
  14401. type: string
  14402. wrstandardid:
  14403. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14404. type: integer
  14405. wrstandardname:
  14406. description: 现货商品名称(模糊查询)
  14407. type: string
  14408. type: object
  14409. models.QhjAccountOutInApply:
  14410. properties:
  14411. accountcode:
  14412. description: 资金账号
  14413. type: string
  14414. accountname:
  14415. description: 用户名称(名称)
  14416. type: string
  14417. accountpwd:
  14418. description: 资金密码
  14419. type: string
  14420. accountticket:
  14421. description: 最新账户服务流水号
  14422. type: string
  14423. amount:
  14424. description: 金额
  14425. type: number
  14426. applyremark:
  14427. description: 申请备注
  14428. type: string
  14429. applystatus:
  14430. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  14431. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  14432. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  14433. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  14434. type: integer
  14435. auditid:
  14436. description: 审核人
  14437. type: integer
  14438. audittime:
  14439. description: 审核时间
  14440. type: string
  14441. bank_apply_ticket:
  14442. description: 银行申请流水
  14443. type: string
  14444. bankaccountname:
  14445. description: 银行账户名
  14446. type: string
  14447. bankaccountno:
  14448. description: 银行卡号
  14449. type: string
  14450. bankid:
  14451. description: 银行编号
  14452. type: string
  14453. bankticket:
  14454. description: 银行流水
  14455. type: string
  14456. branchbankid:
  14457. description: 银行支行号
  14458. type: string
  14459. branchbankname:
  14460. description: 银行支行名称
  14461. type: string
  14462. capamountout:
  14463. description: 出金(劣后本金) - 外部子账户
  14464. type: number
  14465. certificatephotourl:
  14466. description: 凭证地址
  14467. type: string
  14468. charge:
  14469. description: 手续费
  14470. type: number
  14471. checkerrorflag:
  14472. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  14473. type: integer
  14474. currency:
  14475. description: 币种
  14476. type: string
  14477. cusbankid:
  14478. description: 托管银行编号
  14479. type: string
  14480. cusbankname:
  14481. description: 托管银行名称
  14482. type: string
  14483. cusbankshortname:
  14484. description: 托管银行简称
  14485. type: string
  14486. exchticket:
  14487. description: 银行服务流水号
  14488. type: string
  14489. executetype:
  14490. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  14491. 7:外部子账户:入金 8:外部子账户:出金'
  14492. type: integer
  14493. extendinfo:
  14494. description: 扩展信息
  14495. type: string
  14496. extoperateid:
  14497. description: 交易服务流水号
  14498. type: integer
  14499. infamount:
  14500. description: 劣后金额(自有)
  14501. type: number
  14502. logincode:
  14503. description: 登录账号(账号)
  14504. type: string
  14505. netaddr:
  14506. description: 调转网址
  14507. type: string
  14508. priamount:
  14509. description: 优先金额(授信)
  14510. type: number
  14511. reauditid:
  14512. description: 复审人
  14513. type: integer
  14514. reauditremark:
  14515. description: 复审备注
  14516. type: string
  14517. reaudittime:
  14518. description: 复审时间
  14519. type: string
  14520. relatedorderid:
  14521. description: 三方关联ID
  14522. type: string
  14523. remark:
  14524. description: 备注
  14525. type: string
  14526. remark2:
  14527. description: 备注(失败原因)
  14528. type: string
  14529. soucreamount:
  14530. description: 原始出入金金额
  14531. type: number
  14532. soucrecurrencyid:
  14533. description: 原始出入金币种
  14534. type: integer
  14535. tradedate:
  14536. description: 交易日(yyyyMMdd)
  14537. type: string
  14538. updatetime:
  14539. description: 更新时间(申请时间)
  14540. type: string
  14541. userid:
  14542. description: 用户id
  14543. type: integer
  14544. userinfotype:
  14545. description: 账户类型 1-个人 2-企业
  14546. type: integer
  14547. type: object
  14548. models.QhjAgreementChangeLog:
  14549. properties:
  14550. agreementcontent:
  14551. description: 协议内容
  14552. type: string
  14553. agreementfrequency:
  14554. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14555. type: integer
  14556. agreementid:
  14557. description: 协议ID
  14558. type: integer
  14559. agreementname:
  14560. description: 协议名称
  14561. type: string
  14562. agreementno:
  14563. description: 协议编号
  14564. type: string
  14565. agreementtype:
  14566. description: 协议类型 - 1:注册 2:登录 3:交易
  14567. type: integer
  14568. agreementversion:
  14569. description: 协议版本号
  14570. type: integer
  14571. logid:
  14572. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  14573. type: integer
  14574. reviserid:
  14575. description: 修改人
  14576. type: integer
  14577. revisersrc:
  14578. description: 修改来源 - 1:管理端 2:终端
  14579. type: integer
  14580. updatetime:
  14581. description: 更新时间
  14582. type: string
  14583. type: object
  14584. models.QhjAgreementConfig:
  14585. properties:
  14586. agreementcontent:
  14587. description: 协议内容
  14588. type: string
  14589. agreementfrequency:
  14590. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14591. type: integer
  14592. agreementid:
  14593. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  14594. type: integer
  14595. agreementname:
  14596. description: 协议名称
  14597. type: string
  14598. agreementno:
  14599. description: 协议编号
  14600. type: string
  14601. agreementtype:
  14602. description: 协议类型 - 1:注册 2:登录 3:交易
  14603. type: integer
  14604. agreementversion:
  14605. description: 协议版本号(从1开始每次修改加1)
  14606. type: integer
  14607. createtime:
  14608. description: 创建时间
  14609. type: string
  14610. creatorid:
  14611. description: 创建人
  14612. type: integer
  14613. creatorsrc:
  14614. description: 创建来源 - 1:管理端 2:终端
  14615. type: integer
  14616. isvalid:
  14617. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  14618. type: integer
  14619. reviserid:
  14620. description: 修改人
  14621. type: integer
  14622. revisersrc:
  14623. description: 修改来源 - 1:管理端 2:终端
  14624. type: integer
  14625. updatetime:
  14626. description: 更新时间
  14627. type: string
  14628. type: object
  14629. models.QhjAreaFinanceConfig:
  14630. properties:
  14631. additionalratio:
  14632. description: 追加款比例
  14633. type: number
  14634. advanceratio:
  14635. description: 预付款比例
  14636. type: number
  14637. alarmratio:
  14638. description: 告警比例
  14639. type: number
  14640. consumptiondirectreward:
  14641. description: 消费直推奖励值
  14642. type: number
  14643. consumptionenabled:
  14644. description: 是否启用消费奖励 - 0:不启用 1:启用
  14645. type: integer
  14646. consumptionindirectreward:
  14647. description: 消费间推奖励值
  14648. type: number
  14649. consumptionmodel:
  14650. description: 消费奖励方式 - 1:比率 2:固定
  14651. type: integer
  14652. customerservicenum:
  14653. description: 客服电话
  14654. type: string
  14655. dayinterestrate:
  14656. description: 日利率
  14657. type: number
  14658. disableconsumptiontips:
  14659. description: 关闭消费奖励提示
  14660. type: string
  14661. modifierid:
  14662. description: 修改人ID
  14663. type: integer
  14664. modifysrc:
  14665. description: 审核来源 - 1:管理端 2:终端
  14666. type: integer
  14667. modifytime:
  14668. description: 修改时间
  14669. type: string
  14670. promotionvalue:
  14671. description: 推广奖励值(固定)
  14672. type: number
  14673. scoreconfigvalue1:
  14674. description: 提货积分配置1
  14675. type: integer
  14676. scoreconfigvalue2:
  14677. description: 提货积分配置2
  14678. type: integer
  14679. userid:
  14680. description: 机构用户ID其他做市关系,都设置为 1
  14681. type: integer
  14682. username:
  14683. description: 用户名称
  14684. type: string
  14685. type: object
  14686. models.QhjBankAccountSign:
  14687. properties:
  14688. accountcode:
  14689. description: 资金账号
  14690. type: string
  14691. accountname:
  14692. description: 资金账号对应的账号名(UserName)
  14693. type: string
  14694. accountname2:
  14695. description: 资金账号对应的账号名(UserName) - 密文
  14696. type: string
  14697. accounttype:
  14698. description: 账户类型(UserType)
  14699. type: integer
  14700. applicationtime:
  14701. description: 最后一次更新的时间
  14702. type: string
  14703. applyexchticket:
  14704. description: 申请流水
  14705. type: string
  14706. auditid:
  14707. description: 审核人
  14708. type: integer
  14709. audittime:
  14710. description: 审核时间
  14711. type: string
  14712. bankaccountname:
  14713. description: 签约银行卡账号名
  14714. type: string
  14715. bankaccountname2:
  14716. description: 签约银行卡账号名 - 密文
  14717. type: string
  14718. bankaccountno:
  14719. description: 银行卡号
  14720. type: string
  14721. bankaccountno2:
  14722. description: 银行卡号 - 密文
  14723. type: string
  14724. bankaccounttype:
  14725. description: 银行账户类型 - 1-对私; 2-对公
  14726. type: integer
  14727. bankcardtype:
  14728. description: 银行卡类型
  14729. type: integer
  14730. bankchildaccount:
  14731. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  14732. type: string
  14733. bankcity:
  14734. description: 开户行城市
  14735. type: string
  14736. bankid:
  14737. description: 签约银行ID
  14738. type: string
  14739. bankname:
  14740. description: 签约银行名称
  14741. type: string
  14742. bankprovince:
  14743. description: 开户行省份
  14744. type: string
  14745. branchbankid:
  14746. description: 签约银行支行号
  14747. type: string
  14748. branchbankname:
  14749. description: 签约银行支行名称
  14750. type: string
  14751. cardno:
  14752. description: 证件号码
  14753. type: string
  14754. cardno2:
  14755. description: 证件号码 - 密文
  14756. type: string
  14757. cardtype:
  14758. description: 证件类型
  14759. type: string
  14760. currency:
  14761. description: 币种
  14762. type: string
  14763. cusbankid:
  14764. description: 托管银行编号
  14765. type: string
  14766. cusbankname:
  14767. description: 托管银行名称
  14768. type: string
  14769. direct:
  14770. description: 方向(可以判断那方先发起的签约)
  14771. type: integer
  14772. exchticket:
  14773. description: 最后一次签约成功的流水号
  14774. type: string
  14775. extendinfo:
  14776. description: 扩展信息(JSON字符串)
  14777. type: string
  14778. mobilephone:
  14779. description: 手机号
  14780. type: string
  14781. mobilephone2:
  14782. description: 手机号 - 密文
  14783. type: string
  14784. netaddr:
  14785. description: 调转网址
  14786. type: string
  14787. relateduserid:
  14788. description: 关联使用者userid
  14789. type: integer
  14790. signstatus:
  14791. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14792. 10:审核拒绝 11:换签待审核
  14793. type: integer
  14794. updatetime:
  14795. description: 更新时间(签解约更新时间)
  14796. type: string
  14797. type: object
  14798. models.QhjBankInfo:
  14799. properties:
  14800. bankid:
  14801. description: 银行ID
  14802. type: string
  14803. bankname:
  14804. description: 银行名称
  14805. type: string
  14806. clearbankno:
  14807. description: 清算系统银行编号
  14808. type: string
  14809. orderindex:
  14810. description: 排序顺序
  14811. type: integer
  14812. status:
  14813. description: 状态 - 0:正常 1:注销
  14814. type: integer
  14815. type: object
  14816. models.QhjBrokerApply:
  14817. properties:
  14818. applicantid:
  14819. description: 申请人
  14820. type: integer
  14821. applysrc:
  14822. description: 申请来源 - 1:管理端 2:终端
  14823. type: integer
  14824. applystatus:
  14825. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14826. type: integer
  14827. applytime:
  14828. description: 申请时间
  14829. type: string
  14830. auditorid:
  14831. description: 审核人
  14832. type: integer
  14833. auditremark:
  14834. description: 审核备注
  14835. type: string
  14836. auditsrc:
  14837. description: 审核来源 - 1:管理端 2:终端
  14838. type: integer
  14839. audittime:
  14840. description: 审核时间
  14841. type: string
  14842. audittradedate:
  14843. description: 审核交易日(yyyyMMdd)
  14844. type: string
  14845. brokerapplyid:
  14846. description: 申请ID(SEQ_BROKERAPPLY)
  14847. type: integer
  14848. cardbackphotourl:
  14849. description: 证件背面图片地址
  14850. type: string
  14851. cardfrontphotourl:
  14852. description: 证件正面图片地址
  14853. type: string
  14854. cardnum:
  14855. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  14856. type: string
  14857. customername:
  14858. description: 姓名
  14859. type: string
  14860. logincode:
  14861. description: 登录代码
  14862. type: string
  14863. mobile:
  14864. description: 手机号码
  14865. type: string
  14866. parentuserid:
  14867. description: 所属机构id
  14868. type: integer
  14869. parentusername:
  14870. description: 所属机构名称
  14871. type: string
  14872. refereeuserid:
  14873. description: 推荐人id(经纪人)
  14874. type: integer
  14875. refernum:
  14876. description: 推荐码
  14877. type: string
  14878. remark:
  14879. description: 备注
  14880. type: string
  14881. subarealevelpath:
  14882. description: 层级路径
  14883. type: string
  14884. tradedate:
  14885. description: 交易日(yyyyMMdd)
  14886. type: string
  14887. userid:
  14888. description: 申请人用户ID
  14889. type: integer
  14890. userinfotype:
  14891. description: 用户类型 1-个人 2-企业
  14892. type: integer
  14893. username:
  14894. description: 用户名称
  14895. type: string
  14896. type: object
  14897. models.QhjBrokerApplyEx:
  14898. properties:
  14899. applylist:
  14900. description: 经纪人申请记录(只返回最新一条)
  14901. items:
  14902. $ref: '#/definitions/models.QhjBrokerApply'
  14903. type: array
  14904. canrecommend:
  14905. description: 是否经纪人 0-不是 1-是
  14906. type: integer
  14907. refernum:
  14908. description: 推荐码
  14909. type: string
  14910. userid:
  14911. description: 用户id
  14912. type: integer
  14913. userinfotype:
  14914. description: 用户类型 1-个人 2-企业
  14915. type: integer
  14916. type: object
  14917. models.QhjBrokerRewardLog:
  14918. properties:
  14919. accountid:
  14920. description: 资金账号ID
  14921. type: integer
  14922. createtime:
  14923. description: 创建时间(时间)
  14924. type: string
  14925. handlestatus:
  14926. description: 处理状态
  14927. type: integer
  14928. logid:
  14929. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14930. type: string
  14931. marketid:
  14932. description: 市场ID
  14933. type: integer
  14934. mmaccountid:
  14935. description: 做市商资金账号ID
  14936. type: string
  14937. mmuserid:
  14938. description: 做市商用户ID
  14939. type: string
  14940. rewardamount:
  14941. description: 奖励金额
  14942. type: number
  14943. rewardmodel:
  14944. description: 消费奖励方式 - 1:比率 2:固定
  14945. type: integer
  14946. rewardtype:
  14947. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  14948. type: integer
  14949. rewardvalue:
  14950. description: 配置奖励值
  14951. type: number
  14952. srcamount:
  14953. description: 成交金额 [消费奖励] (金额)
  14954. type: number
  14955. srcgoodsid:
  14956. description: 来源商品ID [消费奖励]
  14957. type: string
  14958. srctime:
  14959. description: 来源时间 (成交时间) [消费奖励]
  14960. type: string
  14961. srctradeid:
  14962. description: 来源成交单ID [消费奖励] - 排除提货成交
  14963. type: string
  14964. srcuserid:
  14965. description: 来源用户ID(推广账户)
  14966. type: string
  14967. srcusername:
  14968. description: 推广账户名称
  14969. type: string
  14970. tradedate:
  14971. description: 交易日(yyyyMMdd)
  14972. type: string
  14973. userid:
  14974. description: 经纪人用户ID
  14975. type: integer
  14976. type: object
  14977. models.QhjContract:
  14978. properties:
  14979. contractconfirmtime:
  14980. description: 合同确认时间(时间)
  14981. type: string
  14982. currisklevel:
  14983. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14984. type: integer
  14985. decimalplace:
  14986. description: 商品报价小数位
  14987. type: integer
  14988. enumdicname:
  14989. description: 单位名称
  14990. type: string
  14991. goodscode:
  14992. description: 商品代码
  14993. type: string
  14994. goodsid:
  14995. description: 商品ID [5:融资单]
  14996. type: integer
  14997. goodsname:
  14998. description: 商品名称
  14999. type: string
  15000. goodunitid:
  15001. description: 商品单位id
  15002. type: integer
  15003. initmargin:
  15004. description: 初始保证金(首付款)
  15005. type: number
  15006. lenderamount:
  15007. description: 贷款金额(总额|订单总额)
  15008. type: number
  15009. marginratio:
  15010. description: 保证金比率(首付比例)
  15011. type: number
  15012. payamount:
  15013. description: 已付(已付货款)
  15014. type: number
  15015. reckonrecovermargin:
  15016. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15017. type: number
  15018. recoveredmargin:
  15019. description: 已追缴保证金
  15020. type: number
  15021. remainamount:
  15022. description: 合同剩余金额(融资额)
  15023. type: number
  15024. scfcontractid:
  15025. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15026. type: string
  15027. scfcontractstatus:
  15028. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15029. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15030. type: integer
  15031. scfcontracttype:
  15032. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15033. type: integer
  15034. totalinterest:
  15035. description: 已计总利息(利息)
  15036. type: number
  15037. tradeprice:
  15038. description: 成交价格(成本价格)
  15039. type: number
  15040. userid:
  15041. description: 用户ID
  15042. type: integer
  15043. username:
  15044. description: 用户名称
  15045. type: string
  15046. wrqty:
  15047. description: 仓单数量(数量)
  15048. type: number
  15049. type: object
  15050. models.QhjContractLog:
  15051. properties:
  15052. amount:
  15053. description: 支付金额
  15054. type: number
  15055. amounttype:
  15056. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  15057. type: integer
  15058. logid:
  15059. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15060. type: string
  15061. remainamount:
  15062. description: 剩余货款
  15063. type: number
  15064. scfcontractid:
  15065. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15066. type: integer
  15067. updatetime:
  15068. description: 更新时间
  15069. type: string
  15070. type: object
  15071. models.QhjCusBankSignBankEx:
  15072. properties:
  15073. banklst:
  15074. description: 银行列表
  15075. items:
  15076. $ref: '#/definitions/models.QhjBankInfo'
  15077. type: array
  15078. canallot:
  15079. description: 是否支持跨行调拨 - 0:不支持 1:支持
  15080. type: integer
  15081. canallotquery:
  15082. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  15083. type: integer
  15084. canbindcard:
  15085. description: 是否可绑卡与解卡 - 0:不可 1:可以
  15086. type: integer
  15087. caninamount:
  15088. description: 是否可入金 - 0:不可 1:可以
  15089. type: integer
  15090. caninamount2:
  15091. description: 是否可入金(网银端) - 0:不可 1:可以
  15092. type: integer
  15093. canmodifybankcard:
  15094. description: 是否可修改银行卡号 - 0:不可 1:可以
  15095. type: integer
  15096. canmodifyphone:
  15097. description: 是否可修改手机号 - 0:不可 1:可以
  15098. type: integer
  15099. canmodifysigninfo:
  15100. description: 是否可修改签约信息 - 0:不可 1:可以
  15101. type: integer
  15102. canoutamount:
  15103. description: 是否可出金 - 0:不可 1:可以
  15104. type: integer
  15105. canoutamount2:
  15106. description: 是否可出金(网银端) - 0:不可 1:可以
  15107. type: integer
  15108. canrelease:
  15109. description: 是否可解约 - 0:不可 1:可以
  15110. type: integer
  15111. canrelease2:
  15112. description: 是否可解约(网银端) - 0:不可 1:可以
  15113. type: integer
  15114. cansign:
  15115. description: 是否可签约 - 0:不可 1:可以
  15116. type: integer
  15117. cansign2:
  15118. description: 是否可签约(网银端) - 0:不可 1:可以
  15119. type: integer
  15120. currency:
  15121. description: 币种
  15122. type: string
  15123. cusbankid:
  15124. description: 托管银行编号(对应清算中心TRAN_NO)
  15125. type: string
  15126. cusbankname:
  15127. description: 银行业务名称
  15128. type: string
  15129. cusbankshortname:
  15130. description: 银行业务简称
  15131. type: string
  15132. exchbankid:
  15133. description: 交易所开户银行ID
  15134. type: string
  15135. exchpaybankaccname:
  15136. description: 交易所支出结算账户户名
  15137. type: string
  15138. exchpaybankaccno:
  15139. description: 交易所支出结算账户
  15140. type: string
  15141. isneedcheck:
  15142. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  15143. type: integer
  15144. isneedclear:
  15145. description: 是否需要清算 - 0:不需要 1:需要
  15146. type: integer
  15147. lastcheckstatus:
  15148. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  15149. type: integer
  15150. lastchecktime:
  15151. description: 最后对账时间
  15152. type: string
  15153. lastclearstatus:
  15154. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  15155. type: integer
  15156. lastcleartime:
  15157. description: 最后清算时间
  15158. type: string
  15159. lastsignintime:
  15160. description: 最后签到时间
  15161. type: string
  15162. lastsignouttime:
  15163. description: 最后签退时间
  15164. type: string
  15165. riskinfo:
  15166. description: 签约风险提示书
  15167. type: string
  15168. signstatus:
  15169. description: 当前签到/签退状态 - 1:签到 2:签退
  15170. type: integer
  15171. tradedate:
  15172. description: 交易日(yyyyMMdd)
  15173. type: string
  15174. updatetime:
  15175. description: 当前签到/签退更新时间
  15176. type: string
  15177. type: object
  15178. models.QhjCustomer:
  15179. properties:
  15180. address:
  15181. description: 通讯地址
  15182. type: string
  15183. attachment1:
  15184. description: 附件1
  15185. type: string
  15186. attachment2:
  15187. description: 附件2
  15188. type: string
  15189. audittime:
  15190. description: 审核时间
  15191. type: string
  15192. cardbackphotourl:
  15193. description: 证件反面图片地址
  15194. type: string
  15195. cardfrontphotourl:
  15196. description: 证件正面图片地址
  15197. type: string
  15198. cardnum:
  15199. description: 证件号码
  15200. type: string
  15201. cardtype:
  15202. description: 证件类型
  15203. type: integer
  15204. cardtypename:
  15205. description: 证件类型名称
  15206. type: string
  15207. cityid:
  15208. description: 市
  15209. type: integer
  15210. cityname:
  15211. description: 城市名称
  15212. type: string
  15213. contactname:
  15214. description: 联系人
  15215. type: string
  15216. countryid:
  15217. description: 国家
  15218. type: integer
  15219. countryname:
  15220. description: 国家名称
  15221. type: string
  15222. createtime:
  15223. description: 创建时间
  15224. type: string
  15225. customername:
  15226. description: 客户名称
  15227. type: string
  15228. districtid:
  15229. description: 区域
  15230. type: integer
  15231. districtname:
  15232. description: 地区名称
  15233. type: string
  15234. email:
  15235. description: 邮件
  15236. type: string
  15237. legalpersonname:
  15238. description: 法人姓名(企业)
  15239. type: string
  15240. logincode:
  15241. description: 登录账号(代码)
  15242. type: string
  15243. memberuserid:
  15244. description: 所属机构ID(所属会员)
  15245. type: integer
  15246. memberusername:
  15247. description: 所属会员名称
  15248. type: string
  15249. mobile:
  15250. description: 手机号码
  15251. type: string
  15252. modifytime:
  15253. description: 修改时间
  15254. type: string
  15255. nickname:
  15256. description: 昵称
  15257. type: string
  15258. parentuserid:
  15259. description: 上级机构(所属机构)
  15260. type: integer
  15261. parentusername:
  15262. description: 所属机构名称
  15263. type: string
  15264. provinceid:
  15265. description: 省
  15266. type: integer
  15267. provincename:
  15268. description: 省名称
  15269. type: string
  15270. proxystatementurl:
  15271. description: 授权委托书
  15272. type: string
  15273. remark:
  15274. description: 备注
  15275. type: string
  15276. status:
  15277. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  15278. type: integer
  15279. statusdesc:
  15280. description: 账户状态中文描述
  15281. type: string
  15282. taxpayernum:
  15283. description: 纳税人识别号
  15284. type: string
  15285. telphone:
  15286. description: 联系电话
  15287. type: string
  15288. userid:
  15289. description: 用户ID
  15290. type: integer
  15291. userinfotype:
  15292. description: 客户类型 1-个人 2-企业
  15293. type: integer
  15294. username:
  15295. description: 用户名称
  15296. type: string
  15297. type: object
  15298. models.QhjCustomerSignLog:
  15299. properties:
  15300. agreementcontent:
  15301. description: 协议内容
  15302. type: string
  15303. agreementid:
  15304. description: 协议ID
  15305. type: integer
  15306. agreementname:
  15307. description: 协议名称
  15308. type: string
  15309. agreementno:
  15310. description: 协议编号
  15311. type: string
  15312. agreementtype:
  15313. description: 协议类型 - 1:注册 2:登录 3:交易
  15314. type: integer
  15315. agreementversion:
  15316. description: 协议版本号
  15317. type: integer
  15318. createtime:
  15319. description: 创建时间
  15320. type: string
  15321. goodscode:
  15322. description: 商品代码
  15323. type: string
  15324. goodsid:
  15325. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15326. type: integer
  15327. goodsname:
  15328. description: 商品名称
  15329. type: string
  15330. logid:
  15331. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  15332. type: integer
  15333. nodetype:
  15334. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15335. type: integer
  15336. signadressurl:
  15337. description: 签约文件地址
  15338. type: string
  15339. signtimestamp:
  15340. description: 签约状态时间戳
  15341. type: string
  15342. userid:
  15343. description: 客户ID
  15344. type: integer
  15345. username:
  15346. description: 客户名称
  15347. type: string
  15348. type: object
  15349. models.QhjCustomerSignStatus:
  15350. properties:
  15351. createtime:
  15352. description: 创建时间
  15353. type: string
  15354. goodscode:
  15355. description: 商品代码
  15356. type: string
  15357. goodsid:
  15358. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15359. type: integer
  15360. goodsname:
  15361. description: 商品名称
  15362. type: string
  15363. nodetype:
  15364. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  15365. type: integer
  15366. signtimestamp:
  15367. description: 签约状态时间戳
  15368. type: string
  15369. tradedate:
  15370. description: 创建交易日(yyyyMMdd)
  15371. type: string
  15372. updatetime:
  15373. description: 更新时间
  15374. type: string
  15375. userid:
  15376. description: 客户ID
  15377. type: integer
  15378. username:
  15379. description: 客户名称
  15380. type: string
  15381. type: object
  15382. models.QhjMgrAccountOutInApply:
  15383. properties:
  15384. accountcode:
  15385. description: 资金账号
  15386. type: string
  15387. accountname:
  15388. description: 用户名称(名称)
  15389. type: string
  15390. accountpwd:
  15391. description: 资金密码
  15392. type: string
  15393. accountticket:
  15394. description: 最新账户服务流水号
  15395. type: string
  15396. amount:
  15397. description: 金额
  15398. type: number
  15399. applyremark:
  15400. description: 申请备注
  15401. type: string
  15402. applystatus:
  15403. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  15404. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  15405. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  15406. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  15407. type: integer
  15408. auditid:
  15409. description: 审核人
  15410. type: integer
  15411. audittime:
  15412. description: 审核时间
  15413. type: string
  15414. bank_apply_ticket:
  15415. description: 银行申请流水
  15416. type: string
  15417. bankaccountname:
  15418. description: 银行账户名
  15419. type: string
  15420. bankaccountno:
  15421. description: 银行卡号
  15422. type: string
  15423. bankid:
  15424. description: 银行编号
  15425. type: string
  15426. bankname:
  15427. description: 银行名称
  15428. type: string
  15429. bankticket:
  15430. description: 银行流水
  15431. type: string
  15432. branchbankid:
  15433. description: 银行支行号
  15434. type: string
  15435. branchbankname:
  15436. description: 银行支行名称
  15437. type: string
  15438. capamountout:
  15439. description: 出金(劣后本金) - 外部子账户
  15440. type: number
  15441. certificatephotourl:
  15442. description: 凭证地址
  15443. type: string
  15444. charge:
  15445. description: 手续费
  15446. type: number
  15447. checkerrorflag:
  15448. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  15449. type: integer
  15450. currency:
  15451. description: 币种
  15452. type: string
  15453. cusbankid:
  15454. description: 托管银行编号
  15455. type: string
  15456. exchticket:
  15457. description: 银行服务流水号
  15458. type: string
  15459. executetype:
  15460. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  15461. 7:外部子账户:入金 8:外部子账户:出金'
  15462. type: integer
  15463. extendinfo:
  15464. description: 扩展信息
  15465. type: string
  15466. extoperateid:
  15467. description: 交易服务流水号
  15468. type: integer
  15469. infamount:
  15470. description: 劣后金额(自有)
  15471. type: number
  15472. logincode:
  15473. description: 登录账号(账号)
  15474. type: string
  15475. netaddr:
  15476. description: 调转网址
  15477. type: string
  15478. priamount:
  15479. description: 优先金额(授信)
  15480. type: number
  15481. reauditid:
  15482. description: 复审人
  15483. type: integer
  15484. reauditremark:
  15485. description: 复审备注
  15486. type: string
  15487. reaudittime:
  15488. description: 复审时间
  15489. type: string
  15490. relatedorderid:
  15491. description: 三方关联ID
  15492. type: string
  15493. remark:
  15494. description: 备注
  15495. type: string
  15496. remark2:
  15497. description: 备注(失败原因)
  15498. type: string
  15499. soucreamount:
  15500. description: 原始出入金金额
  15501. type: number
  15502. soucrecurrencyid:
  15503. description: 原始出入金币种
  15504. type: integer
  15505. tradedate:
  15506. description: 交易日(yyyyMMdd)
  15507. type: string
  15508. updatetime:
  15509. description: 更新时间(申请时间)
  15510. type: string
  15511. userid:
  15512. description: 用户id
  15513. type: integer
  15514. userinfotype:
  15515. description: 账户类型 1-个人 2-企业
  15516. type: integer
  15517. type: object
  15518. models.QhjMgrBrokerApply:
  15519. properties:
  15520. applicantid:
  15521. description: 申请人
  15522. type: integer
  15523. applysrc:
  15524. description: 申请来源 - 1:管理端 2:终端
  15525. type: integer
  15526. applystatus:
  15527. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15528. type: integer
  15529. applytime:
  15530. description: 申请时间
  15531. type: string
  15532. auditorid:
  15533. description: 审核人
  15534. type: integer
  15535. auditremark:
  15536. description: 审核备注
  15537. type: string
  15538. auditsrc:
  15539. description: 审核来源 - 1:管理端 2:终端
  15540. type: integer
  15541. audittime:
  15542. description: 审核时间
  15543. type: string
  15544. audittradedate:
  15545. description: 审核交易日(yyyyMMdd)
  15546. type: string
  15547. brokerapplyid:
  15548. description: 申请ID(SEQ_BROKERAPPLY)
  15549. type: integer
  15550. cardbackphotourl:
  15551. description: 证件背面图片地址
  15552. type: string
  15553. cardfrontphotourl:
  15554. description: 证件正面图片地址
  15555. type: string
  15556. cardnum:
  15557. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  15558. type: string
  15559. customername:
  15560. description: 姓名
  15561. type: string
  15562. filterstatus:
  15563. description: 筛选条件
  15564. type: string
  15565. logincode:
  15566. description: 登录代码
  15567. type: string
  15568. mobile:
  15569. description: 手机号码
  15570. type: string
  15571. parentuserid:
  15572. description: 所属机构id
  15573. type: integer
  15574. parentusername:
  15575. description: 所属机构名称
  15576. type: string
  15577. refereeuserid:
  15578. description: 推荐人id(经纪人)
  15579. type: integer
  15580. refernum:
  15581. description: 推荐码
  15582. type: string
  15583. remark:
  15584. description: 备注
  15585. type: string
  15586. subarealevelpath:
  15587. description: 层级路径
  15588. type: string
  15589. tradedate:
  15590. description: 交易日(yyyyMMdd)
  15591. type: string
  15592. userid:
  15593. description: 申请人用户ID
  15594. type: integer
  15595. userinfotype:
  15596. description: 用户类型 1-个人 2-企业
  15597. type: integer
  15598. username:
  15599. description: 用户名称
  15600. type: string
  15601. type: object
  15602. models.QhjMgrBrokerRewardReport:
  15603. properties:
  15604. createtime:
  15605. description: 创建时间(注册时间)
  15606. type: string
  15607. cycletime:
  15608. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  15609. type: string
  15610. cycletype:
  15611. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15612. type: integer
  15613. directtotalnum:
  15614. description: 直推总人数【期末】
  15615. type: integer
  15616. indirecttotalnum:
  15617. description: 间推总人数【期末】
  15618. type: integer
  15619. mobile:
  15620. description: 电话号码
  15621. type: string
  15622. refereeuserid:
  15623. description: 推荐人id(经纪人id)
  15624. type: integer
  15625. refereeusername:
  15626. description: 推荐人名称(经纪人) 上级经纪人名称
  15627. type: string
  15628. refernum:
  15629. description: 推荐码
  15630. type: string
  15631. subarealevelpath:
  15632. description: 用户层级路径
  15633. type: string
  15634. todayrewardamount:
  15635. description: 奖励总金额【汇总】
  15636. type: number
  15637. updatetime:
  15638. description: 更新时间
  15639. type: string
  15640. userid:
  15641. description: 经纪人用户ID
  15642. type: integer
  15643. userinfotype:
  15644. description: 用户类型 1-个人 2-企业
  15645. type: integer
  15646. username:
  15647. description: 用户名称
  15648. type: string
  15649. type: object
  15650. models.QhjMgrContract:
  15651. properties:
  15652. contractconfirmtime:
  15653. description: 合同确认时间(时间)
  15654. type: string
  15655. currisklevel:
  15656. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15657. type: integer
  15658. decimalplace:
  15659. description: 商品报价小数位
  15660. type: integer
  15661. enumdicname:
  15662. description: 单位名称
  15663. type: string
  15664. goodscode:
  15665. description: 商品代码
  15666. type: string
  15667. goodsid:
  15668. description: 商品ID [5:融资单]
  15669. type: integer
  15670. goodsname:
  15671. description: 商品名称
  15672. type: string
  15673. goodunitid:
  15674. description: 商品单位id
  15675. type: integer
  15676. initmargin:
  15677. description: 初始保证金(首付款)
  15678. type: number
  15679. lenderamount:
  15680. description: 贷款金额(总额|订单总额)
  15681. type: number
  15682. logincode:
  15683. description: 账号(登录代码)
  15684. type: string
  15685. marginratio:
  15686. description: 保证金比率(首付比例)
  15687. type: number
  15688. mobile:
  15689. description: 电话号码(用户资料里的电话)
  15690. type: string
  15691. payamount:
  15692. description: 已付(已付货款)
  15693. type: number
  15694. reckonrecovermargin:
  15695. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15696. type: number
  15697. recoveredmargin:
  15698. description: 已追缴保证金
  15699. type: number
  15700. remainamount:
  15701. description: 合同剩余金额(融资额)
  15702. type: number
  15703. scfcontractid:
  15704. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15705. type: string
  15706. scfcontractstatus:
  15707. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15708. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15709. type: integer
  15710. scfcontracttype:
  15711. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15712. type: integer
  15713. totalinterest:
  15714. description: 已计总利息(利息)
  15715. type: number
  15716. tradedate:
  15717. description: 交易日
  15718. type: string
  15719. tradeprice:
  15720. description: 成交价格(成本价格)
  15721. type: number
  15722. userid:
  15723. description: 用户ID
  15724. type: integer
  15725. userinfotype:
  15726. description: 用户类型 1-个人 2-企业
  15727. type: integer
  15728. username:
  15729. description: 用户名称
  15730. type: string
  15731. wrqty:
  15732. description: 仓单数量(数量)
  15733. type: number
  15734. type: object
  15735. models.QhjMgrCustomer:
  15736. properties:
  15737. address:
  15738. description: 通讯地址
  15739. type: string
  15740. attachment1:
  15741. description: 附件1
  15742. type: string
  15743. audittime:
  15744. description: 审核时间
  15745. type: string
  15746. birthday:
  15747. description: 生日
  15748. type: string
  15749. brokerid:
  15750. description: 所属客户经理id
  15751. type: integer
  15752. brokername:
  15753. description: 所属客户经理名称
  15754. type: string
  15755. cardbackphotourl:
  15756. description: 证件反面图片地址
  15757. type: string
  15758. cardfrontphotourl:
  15759. description: 证件正面图片地址
  15760. type: string
  15761. cardnum:
  15762. description: 证件号码
  15763. type: string
  15764. cardtype:
  15765. description: 证件类型
  15766. type: integer
  15767. cardtypename:
  15768. description: 证件类型名称
  15769. type: string
  15770. cityid:
  15771. description: 市
  15772. type: integer
  15773. cityname:
  15774. description: 城市名称
  15775. type: string
  15776. contactname:
  15777. description: 联系人
  15778. type: string
  15779. countryid:
  15780. description: 国家
  15781. type: integer
  15782. countryname:
  15783. description: 国家名称
  15784. type: string
  15785. createtime:
  15786. description: 创建时间
  15787. type: string
  15788. customername:
  15789. description: 客户名称
  15790. type: string
  15791. districtid:
  15792. description: 区域
  15793. type: integer
  15794. districtname:
  15795. description: 地区名称
  15796. type: string
  15797. email:
  15798. description: 邮件
  15799. type: string
  15800. legalpersonname:
  15801. description: 法人姓名(企业)
  15802. type: string
  15803. logincode:
  15804. description: 登录账号(代码)
  15805. type: string
  15806. memberuserid:
  15807. description: 所属机构ID(所属会员)
  15808. type: integer
  15809. memberusername:
  15810. description: 所属会员名称
  15811. type: string
  15812. mobile:
  15813. description: 手机号码
  15814. type: string
  15815. modifytime:
  15816. description: 修改时间
  15817. type: string
  15818. nickname:
  15819. description: 昵称
  15820. type: string
  15821. parentuserid:
  15822. description: 上级机构(所属机构)
  15823. type: integer
  15824. parentusername:
  15825. description: 所属机构名称
  15826. type: string
  15827. provinceid:
  15828. description: 省
  15829. type: integer
  15830. provincename:
  15831. description: 省名称
  15832. type: string
  15833. proxystatementurl:
  15834. description: 授权委托书
  15835. type: string
  15836. querytype:
  15837. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  15838. type: integer
  15839. remark:
  15840. description: 备注
  15841. type: string
  15842. sex:
  15843. description: 性别 0-女 1-男
  15844. type: integer
  15845. status:
  15846. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  15847. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  15848. type: integer
  15849. statusdesc:
  15850. description: 账户状态中文描述
  15851. type: string
  15852. taxpayernum:
  15853. description: 纳税人识别号
  15854. type: string
  15855. telphone:
  15856. description: 联系电话
  15857. type: string
  15858. userid:
  15859. description: 用户ID
  15860. type: integer
  15861. userinfotype:
  15862. description: 客户类型 1-个人 2-企业
  15863. type: integer
  15864. username:
  15865. description: 用户名称
  15866. type: string
  15867. type: object
  15868. models.QhjMgrPickGoods:
  15869. properties:
  15870. enumdicname:
  15871. description: 单位名称(提货商品)
  15872. type: string
  15873. goodsid:
  15874. description: 商品id
  15875. type: integer
  15876. imageaddress:
  15877. description: 图片
  15878. type: string
  15879. modifierid:
  15880. description: 修改人
  15881. type: integer
  15882. modifiername:
  15883. description: 修改人名称
  15884. type: string
  15885. modifysrc:
  15886. description: 修改来源 - 1:管理端 2:终端
  15887. type: integer
  15888. pickupgoodsagreeunit:
  15889. description: 合约乘数
  15890. type: number
  15891. pickupgoodsdesc:
  15892. description: 描述
  15893. type: string
  15894. pickupgoodsid:
  15895. description: 提货商品ID
  15896. type: string
  15897. pickupgoodsname:
  15898. description: 提货商品名称
  15899. type: string
  15900. pickupgoodsstatus:
  15901. description: 状态 - 1:正常 2:停用 3:注销
  15902. type: integer
  15903. pickupgoodsunitid:
  15904. description: 单位ID
  15905. type: integer
  15906. pickupratio:
  15907. description: 提货系数
  15908. type: number
  15909. preparedays:
  15910. description: 备货期(天)
  15911. type: integer
  15912. remark:
  15913. description: 备注
  15914. type: string
  15915. updatetime:
  15916. description: 更新时间
  15917. type: string
  15918. type: object
  15919. models.QhjMgrPositionRsp:
  15920. properties:
  15921. accountid:
  15922. description: 账号Id
  15923. type: integer
  15924. accountname:
  15925. description: 用户名称
  15926. type: string
  15927. agreeunit:
  15928. description: 合约乘数
  15929. type: number
  15930. averageprice:
  15931. description: 均价
  15932. type: number
  15933. avialqty:
  15934. description: 可用数量
  15935. type: number
  15936. decimalplace:
  15937. description: 报价小数位
  15938. type: integer
  15939. enumdicname:
  15940. description: 单位名称(商品)
  15941. type: string
  15942. frozenqty:
  15943. description: 冻结数量
  15944. type: number
  15945. goodscode:
  15946. description: 商品代码(内部)
  15947. type: string
  15948. goodsid:
  15949. description: 商品Id
  15950. type: integer
  15951. goodsname:
  15952. description: 商品名称
  15953. type: string
  15954. goodunitid:
  15955. description: 报价单位ID
  15956. type: integer
  15957. holderamount:
  15958. description: 金额
  15959. type: number
  15960. holderqty:
  15961. description: 持有数量
  15962. type: number
  15963. holdertype:
  15964. description: 持仓类别 - 1:单边持仓 2:双边持仓
  15965. type: integer
  15966. logincode:
  15967. description: 登录代码(账户)
  15968. type: string
  15969. marketid:
  15970. description: 市场id
  15971. type: integer
  15972. qtydecimalplace:
  15973. description: 成交量小数位
  15974. type: integer
  15975. trademode:
  15976. description: 交易模式
  15977. type: integer
  15978. userid:
  15979. description: 用户id
  15980. type: integer
  15981. userinfotype:
  15982. description: 账户类型 1-个人 2-企业
  15983. type: integer
  15984. type: object
  15985. models.QhjMgrSubArea:
  15986. properties:
  15987. accountname:
  15988. description: 账户名称(机构名称)
  15989. type: string
  15990. memberuserid:
  15991. description: 所属会员ID
  15992. type: integer
  15993. parenttopuser:
  15994. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  15995. type: string
  15996. parentuserid:
  15997. description: 所属机构ID
  15998. type: integer
  15999. rootuserid:
  16000. description: 根用户ID
  16001. type: string
  16002. subaccountlevel:
  16003. description: 子账户层数
  16004. type: integer
  16005. subarealevelpath:
  16006. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16007. type: string
  16008. userid:
  16009. description: 用户ID
  16010. type: integer
  16011. usertype:
  16012. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16013. type: integer
  16014. type: object
  16015. models.QhjMgrTradeDetailRsp:
  16016. properties:
  16017. accountid:
  16018. description: 资金账号
  16019. type: integer
  16020. accountname:
  16021. description: 用户名称
  16022. type: string
  16023. agreeunit:
  16024. description: 合约乘数
  16025. type: number
  16026. buyorsell:
  16027. description: 成交类型(方向) 0:买 1:卖
  16028. type: integer
  16029. decimalplace:
  16030. description: 报价小数位
  16031. type: integer
  16032. enumdicname:
  16033. description: 单位名称(商品)
  16034. type: string
  16035. goodscode:
  16036. description: 商品代码(内部)
  16037. type: string
  16038. goodsid:
  16039. description: 商品id
  16040. type: integer
  16041. goodsname:
  16042. description: 商品名称
  16043. type: string
  16044. goodunitid:
  16045. description: 报价单位ID
  16046. type: integer
  16047. logincode:
  16048. description: 登录代码(账户)
  16049. type: string
  16050. marketid:
  16051. description: 市场id
  16052. type: integer
  16053. orderid:
  16054. description: 关联委托单号
  16055. type: string
  16056. qtydecimalplace:
  16057. description: 成交量小数位
  16058. type: integer
  16059. tradeamount:
  16060. description: 金额
  16061. type: number
  16062. tradedate:
  16063. description: 交易日
  16064. type: string
  16065. tradeid:
  16066. description: 成交单号
  16067. type: string
  16068. trademode:
  16069. description: 交易模式
  16070. type: integer
  16071. tradeprice:
  16072. description: 价格
  16073. type: number
  16074. tradeqty:
  16075. description: 数量
  16076. type: number
  16077. tradetime:
  16078. description: 成交时间
  16079. type: string
  16080. userid:
  16081. description: 用户id
  16082. type: integer
  16083. userinfotype:
  16084. description: 账户类型 1-个人 2-企业
  16085. type: integer
  16086. type: object
  16087. models.QhjMgrTradeOrderDetailRsp:
  16088. properties:
  16089. accountid:
  16090. description: 资金账号
  16091. type: integer
  16092. accountname:
  16093. description: 用户名称
  16094. type: string
  16095. agreeunit:
  16096. description: 合约乘数
  16097. type: number
  16098. amount:
  16099. description: 金额
  16100. type: number
  16101. decimalplace:
  16102. description: 报价小数位
  16103. type: integer
  16104. enumdicname:
  16105. description: 单位名称(商品)
  16106. type: string
  16107. goodscode:
  16108. description: 商品代码(内部)
  16109. type: string
  16110. goodsid:
  16111. description: 商品id
  16112. type: integer
  16113. goodsname:
  16114. description: 商品名称
  16115. type: string
  16116. goodunitid:
  16117. description: 报价单位ID
  16118. type: integer
  16119. logincode:
  16120. description: 登录代码(账户)
  16121. type: string
  16122. marketid:
  16123. description: 市场id
  16124. type: integer
  16125. orderid:
  16126. description: 关联委托单号
  16127. type: string
  16128. orderprice:
  16129. description: 价格
  16130. type: number
  16131. orderqty:
  16132. description: 数量
  16133. type: number
  16134. orderstatus:
  16135. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16136. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16137. 16:成交失败违约(荷兰式竞拍专用)
  16138. type: integer
  16139. ordertime:
  16140. description: 委托时间
  16141. type: string
  16142. qtydecimalplace:
  16143. description: 成交量小数位
  16144. type: integer
  16145. tradedate:
  16146. description: 交易日
  16147. type: string
  16148. trademode:
  16149. description: 交易模式
  16150. type: integer
  16151. userid:
  16152. description: 用户id
  16153. type: integer
  16154. userinfotype:
  16155. description: 账户类型 1-个人 2-企业
  16156. type: integer
  16157. type: object
  16158. models.QhjMgrTradePayOrder:
  16159. properties:
  16160. accountname:
  16161. description: 用户名称
  16162. type: string
  16163. advanceratio:
  16164. description: 首付比率
  16165. type: number
  16166. agreeunit:
  16167. description: 合约乘数
  16168. type: number
  16169. buyaccountid:
  16170. description: 买方账号ID[报价币种]
  16171. type: integer
  16172. buyorderid:
  16173. description: 买方委托单号(关联单号)
  16174. type: string
  16175. createtime:
  16176. description: 创建时间
  16177. type: string
  16178. decimalplace:
  16179. description: 报价小数位
  16180. type: integer
  16181. enumdicname:
  16182. description: 单位名称(商品)
  16183. type: string
  16184. goodscode:
  16185. description: 商品代码(内部)
  16186. type: string
  16187. goodsid:
  16188. description: 商品ID
  16189. type: integer
  16190. goodsname:
  16191. description: 商品名称
  16192. type: string
  16193. goodunitid:
  16194. description: 报价单位ID
  16195. type: integer
  16196. logincode:
  16197. description: 登录代码(账户)
  16198. type: string
  16199. marketid:
  16200. description: 市场id
  16201. type: integer
  16202. offamount:
  16203. description: 优惠金额
  16204. type: number
  16205. operatetype:
  16206. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16207. type: integer
  16208. payamount:
  16209. description: 支付金额(金额)
  16210. type: number
  16211. payflag:
  16212. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16213. type: integer
  16214. paylimitedtime:
  16215. description: 支付期限
  16216. type: string
  16217. paytime:
  16218. description: 付款时间
  16219. type: string
  16220. qtydecimalplace:
  16221. description: 成交量小数位
  16222. type: integer
  16223. sellaccountid:
  16224. description: 卖方账号ID[报价币种]
  16225. type: integer
  16226. sellorderid:
  16227. description: 卖方委托单号
  16228. type: string
  16229. tradeamount:
  16230. description: 成交金额(优惠后金额)
  16231. type: number
  16232. tradecharge:
  16233. description: 成交手续费(买方)
  16234. type: number
  16235. tradedate:
  16236. description: 交易日(yyyyMMdd)
  16237. type: string
  16238. tradeid:
  16239. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16240. type: string
  16241. trademode:
  16242. description: 交易模式
  16243. type: integer
  16244. tradeprice:
  16245. description: 成交价格(价格)
  16246. type: number
  16247. tradeqty:
  16248. description: 成交数量(数量)
  16249. type: number
  16250. tradetime:
  16251. description: 成交时间
  16252. type: string
  16253. userid:
  16254. description: 用户id
  16255. type: integer
  16256. userinfotype:
  16257. description: 账户类型 1-个人 2-企业
  16258. type: integer
  16259. type: object
  16260. models.QhjMyTeamEx:
  16261. properties:
  16262. accountname:
  16263. description: 用户名称
  16264. type: string
  16265. accountstatus:
  16266. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16267. type: integer
  16268. createtime:
  16269. description: 创建时间
  16270. type: string
  16271. mobile:
  16272. description: 手机号码
  16273. type: string
  16274. refereeuserid:
  16275. description: 推荐人id
  16276. type: integer
  16277. refernum:
  16278. description: 推荐码
  16279. type: string
  16280. subList:
  16281. items:
  16282. $ref: '#/definitions/models.QhjMyTeamEx'
  16283. type: array
  16284. userid:
  16285. description: 用户id
  16286. type: integer
  16287. userinfotype:
  16288. description: 用户类型 1-个人 2-企业
  16289. type: integer
  16290. type: object
  16291. models.QhjNodeAgreementConfig:
  16292. properties:
  16293. agreementcontent:
  16294. description: 协议内容
  16295. type: string
  16296. agreementid:
  16297. description: 协议ID
  16298. type: integer
  16299. agreementname:
  16300. description: 协议名称
  16301. type: string
  16302. agreementno:
  16303. description: 协议编号
  16304. type: string
  16305. agreementtype:
  16306. description: 协议类型 - 1:注册 2:登录 3:交易
  16307. type: integer
  16308. agreementversion:
  16309. description: 协议版本号
  16310. type: integer
  16311. configid:
  16312. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  16313. type: integer
  16314. createtime:
  16315. description: 创建时间
  16316. type: string
  16317. goodsid:
  16318. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  16319. type: integer
  16320. nodetype:
  16321. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  16322. type: integer
  16323. type: object
  16324. models.QhjParentAreaList:
  16325. properties:
  16326. accountname:
  16327. description: 账户名称(机构名称)
  16328. type: string
  16329. userid:
  16330. description: 用户ID
  16331. type: integer
  16332. usertype:
  16333. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16334. type: integer
  16335. type: object
  16336. models.QhjPayOrder:
  16337. properties:
  16338. advanceratio:
  16339. description: 首付比率
  16340. type: number
  16341. buyaccountid:
  16342. description: 买方账号ID[报价币种]
  16343. type: integer
  16344. buyorderid:
  16345. description: 买方委托单号
  16346. type: string
  16347. createtime:
  16348. description: 创建时间
  16349. type: string
  16350. decimalplace:
  16351. description: 商品报价小数位
  16352. type: integer
  16353. enumdicname:
  16354. description: 单位名称
  16355. type: string
  16356. goodscode:
  16357. description: 商品代码
  16358. type: string
  16359. goodsid:
  16360. description: 商品ID
  16361. type: integer
  16362. goodsname:
  16363. description: 商品名称
  16364. type: string
  16365. goodunitid:
  16366. description: 商品单位id
  16367. type: integer
  16368. marketid:
  16369. description: 市场ID
  16370. type: integer
  16371. offamount:
  16372. description: 优惠金额
  16373. type: number
  16374. operatetype:
  16375. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16376. type: integer
  16377. payamount:
  16378. description: 支付金额
  16379. type: number
  16380. payflag:
  16381. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16382. type: integer
  16383. paylimitedtime:
  16384. description: 支付期限
  16385. type: string
  16386. paytime:
  16387. description: 付款时间
  16388. type: string
  16389. qtydecimalplace:
  16390. description: 成交量小数位
  16391. type: integer
  16392. sellaccountid:
  16393. description: 卖方账号ID[报价币种]
  16394. type: integer
  16395. sellorderid:
  16396. description: 卖方委托单号
  16397. type: string
  16398. tradeamount:
  16399. description: 成交金额(优惠后金额)
  16400. type: number
  16401. tradecharge:
  16402. description: 成交手续费(买方)
  16403. type: number
  16404. tradedate:
  16405. description: 交易日(yyyyMMdd)
  16406. type: string
  16407. tradeid:
  16408. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16409. type: string
  16410. tradeprice:
  16411. description: 成交价格
  16412. type: number
  16413. tradeqty:
  16414. description: 成交数量
  16415. type: number
  16416. type: object
  16417. models.QhjPickArea:
  16418. properties:
  16419. address:
  16420. description: 详细地址
  16421. type: string
  16422. cityid:
  16423. description: 市
  16424. type: integer
  16425. cityname:
  16426. description: 城市名称
  16427. type: string
  16428. countryid:
  16429. description: 国家
  16430. type: integer
  16431. countryname:
  16432. description: 国家名称
  16433. type: string
  16434. districtid:
  16435. description: 地区
  16436. type: integer
  16437. districtname:
  16438. description: 地区名称
  16439. type: string
  16440. fromuserid:
  16441. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  16442. type: integer
  16443. fromusername:
  16444. description: 所属机构名称
  16445. type: string
  16446. provinceid:
  16447. description: 省
  16448. type: integer
  16449. provincename:
  16450. description: 省名称
  16451. type: string
  16452. suborgtype:
  16453. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  16454. type: integer
  16455. userid:
  16456. description: 机构用户ID 其他做市关系,都设置为 1
  16457. type: integer
  16458. username:
  16459. description: 机构用户名称(门店门称)
  16460. type: string
  16461. type: object
  16462. models.QhjPickGoods:
  16463. properties:
  16464. enumdicname:
  16465. description: 单位名称(提货商品)
  16466. type: string
  16467. goodsid:
  16468. description: 商品id
  16469. type: integer
  16470. imageaddress:
  16471. description: 图片
  16472. type: string
  16473. modifierid:
  16474. description: 修改人
  16475. type: integer
  16476. modifiername:
  16477. description: 修改人名称
  16478. type: string
  16479. modifysrc:
  16480. description: 修改来源 - 1:管理端 2:终端
  16481. type: integer
  16482. pickupgoodsagreeunit:
  16483. description: 合约乘数
  16484. type: number
  16485. pickupgoodsdesc:
  16486. description: 描述
  16487. type: string
  16488. pickupgoodsid:
  16489. description: 提货商品ID
  16490. type: string
  16491. pickupgoodsname:
  16492. description: 提货商品名称
  16493. type: string
  16494. pickupgoodsstatus:
  16495. description: 状态 - 1:正常 2:停用 3:注销
  16496. type: integer
  16497. pickupgoodsunitid:
  16498. description: 单位ID
  16499. type: integer
  16500. pickupratio:
  16501. description: 提货系数
  16502. type: number
  16503. preparedays:
  16504. description: 备货期(天)
  16505. type: integer
  16506. remark:
  16507. description: 备注
  16508. type: string
  16509. updatetime:
  16510. description: 更新时间
  16511. type: string
  16512. type: object
  16513. models.QhjRSTriggerLog:
  16514. properties:
  16515. accountid:
  16516. description: 用户资金账户
  16517. type: integer
  16518. accountname:
  16519. description: 账号名称(ACCOUNTID对应的名称)
  16520. type: string
  16521. currencyid:
  16522. description: 币种id
  16523. type: integer
  16524. currencyname:
  16525. description: 币种名称
  16526. type: string
  16527. decimalplace:
  16528. description: 商品报价小数位
  16529. type: integer
  16530. enumdicname:
  16531. description: 单位名称
  16532. type: string
  16533. goodscode:
  16534. description: 定投商品代码
  16535. type: string
  16536. goodsid:
  16537. description: 定投商品ID
  16538. type: integer
  16539. goodsname:
  16540. description: 定投商品名称
  16541. type: string
  16542. goodunitid:
  16543. description: 定投商品单位id
  16544. type: integer
  16545. logid:
  16546. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  16547. type: string
  16548. logincode:
  16549. description: 账号(登录代码)
  16550. type: string
  16551. qtydecimalplace:
  16552. description: 成交量小数位
  16553. type: integer
  16554. regularlycycle:
  16555. description: 定投频率 - 1:每周 2:每月
  16556. type: integer
  16557. regularlycyclevalue:
  16558. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16559. type: string
  16560. regularlymode:
  16561. description: 定投方式 - 1:按数量 2:按金额
  16562. type: integer
  16563. regularlymodevalue:
  16564. description: 定投方式值 - 数量或金额
  16565. type: number
  16566. regularlystrategyid:
  16567. description: 定投策略ID
  16568. type: integer
  16569. retcode:
  16570. description: 错误码
  16571. type: string
  16572. tradeid:
  16573. description: 成交单ID
  16574. type: string
  16575. triggeramount:
  16576. description: 触发金额
  16577. type: number
  16578. triggerqty:
  16579. description: 触发数量
  16580. type: number
  16581. triggerstatus:
  16582. description: 触发状态 - 1:成功 2:失败
  16583. type: integer
  16584. triggertime:
  16585. description: 触发时间
  16586. type: string
  16587. triggertradedate:
  16588. description: 触发交易日
  16589. type: string
  16590. userid:
  16591. description: 所属用户ID
  16592. type: integer
  16593. userinfotype:
  16594. description: 用户类型 1-个人 2-企业
  16595. type: integer
  16596. username:
  16597. description: 用户名称(userid对应的名称)
  16598. type: string
  16599. type: object
  16600. models.QhjRStrategy:
  16601. properties:
  16602. accountid:
  16603. description: 用户资金账户
  16604. type: integer
  16605. accountname:
  16606. description: 账号名称(ACCOUNTID对应的名称)
  16607. type: string
  16608. currencyid:
  16609. description: 币种id
  16610. type: integer
  16611. currencyname:
  16612. description: 币种名称
  16613. type: string
  16614. decimalplace:
  16615. description: 商品报价小数位
  16616. type: integer
  16617. enumdicname:
  16618. description: 单位名称
  16619. type: string
  16620. goodscode:
  16621. description: 定投商品代码
  16622. type: string
  16623. goodsid:
  16624. description: 定投商品ID
  16625. type: integer
  16626. goodsname:
  16627. description: 定投商品名称
  16628. type: string
  16629. goodunitid:
  16630. description: 定投商品单位id
  16631. type: integer
  16632. lasteffecttradedate:
  16633. description: 最新生效交易日
  16634. type: string
  16635. laststoptradedate:
  16636. description: 最新暂停交易日
  16637. type: string
  16638. lasttriggertradedate:
  16639. description: 最新触发交易日
  16640. type: string
  16641. logincode:
  16642. description: 账号(登录代码)
  16643. type: string
  16644. nexttriggeramount:
  16645. description: 下次触发金额
  16646. type: number
  16647. nexttriggerdate:
  16648. description: 下次触发日期
  16649. type: string
  16650. nexttriggerqty:
  16651. description: 下次触发数量 [按小数位放大值]
  16652. type: number
  16653. qtydecimalplace:
  16654. description: 成交量小数位
  16655. type: integer
  16656. regularlycycle:
  16657. description: 定投频率 - 1:每周 2:每月
  16658. type: integer
  16659. regularlycyclevalue:
  16660. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16661. type: string
  16662. regularlymode:
  16663. description: 定投方式 - 1:按数量 2:按金额
  16664. type: integer
  16665. regularlymodevalue:
  16666. description: 定投方式值 - 数量或金额
  16667. type: number
  16668. regularlystrategyid:
  16669. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  16670. type: integer
  16671. regularlystrategystatus:
  16672. description: 策略状态 - 1:正常 2:暂停 3:终止
  16673. type: integer
  16674. remark:
  16675. description: 备注
  16676. type: string
  16677. triggersuccesstimes:
  16678. description: 累计定投成功次数
  16679. type: string
  16680. triggertotalamount:
  16681. description: 累计定投金额(成功)
  16682. type: number
  16683. triggertotalqty:
  16684. description: 累计定投数量(成功) [按小数位放大值]
  16685. type: number
  16686. triggertotaltimes:
  16687. description: 累计定投总次数
  16688. type: string
  16689. updatesrc:
  16690. description: 更新来源 - 1:管理端 2:终端
  16691. type: integer
  16692. updatetime:
  16693. description: 更新时间
  16694. type: string
  16695. updatorid:
  16696. description: 更新人
  16697. type: string
  16698. userid:
  16699. description: 所属用户ID
  16700. type: integer
  16701. userinfotype:
  16702. description: 用户类型 1-个人 2-企业
  16703. type: integer
  16704. username:
  16705. description: 用户名称(userid对应的名称)
  16706. type: string
  16707. type: object
  16708. models.QhjReckonPriceLog:
  16709. properties:
  16710. decimalplace:
  16711. description: 商品报价小数位
  16712. type: integer
  16713. goodscode:
  16714. description: 商品代码
  16715. type: string
  16716. goodsid:
  16717. description: 商品ID
  16718. type: integer
  16719. goodsname:
  16720. description: 商品名称
  16721. type: string
  16722. lastreckonprice:
  16723. description: 上日结算价
  16724. type: number
  16725. nextdnlimitprice:
  16726. description: 下个交易日跌停价
  16727. type: number
  16728. nexttrade:
  16729. description: 下个交易日
  16730. type: string
  16731. nextuplimitprice:
  16732. description: 下个交易日涨停价
  16733. type: number
  16734. reckonprice:
  16735. description: 今日结算价(定投价)
  16736. type: number
  16737. reckontime:
  16738. description: 结算时间
  16739. type: string
  16740. totalholderqty:
  16741. description: 总持仓数
  16742. type: integer
  16743. totalstock:
  16744. description: 总库存
  16745. type: integer
  16746. tradedate:
  16747. description: 交易日
  16748. type: string
  16749. updowncount:
  16750. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  16751. type: integer
  16752. updownflag:
  16753. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  16754. type: integer
  16755. updownrate:
  16756. description: 今日涨跌幅
  16757. type: number
  16758. updownrate_2d:
  16759. description: 连续两日涨跌幅
  16760. type: number
  16761. updownrate_3d:
  16762. description: 连续三日涨跌幅
  16763. type: number
  16764. type: object
  16765. models.QhjScoreLog:
  16766. properties:
  16767. accountid:
  16768. description: 账户ID
  16769. type: integer
  16770. createtime:
  16771. description: 创建时间(时间)
  16772. type: string
  16773. goodsid:
  16774. description: 商品ID
  16775. type: integer
  16776. hasuploaded:
  16777. description: 是否已同步(千海金) 0:未同步 1;已同步
  16778. type: integer
  16779. logid:
  16780. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16781. type: string
  16782. marketid:
  16783. description: 市场ID
  16784. type: integer
  16785. relatedamount:
  16786. description: 关联金额
  16787. type: number
  16788. relatedorderid:
  16789. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  16790. type: string
  16791. scoreconfigvalue1:
  16792. description: 积分配置1
  16793. type: integer
  16794. scoreconfigvalue2:
  16795. description: 积分配置1
  16796. type: integer
  16797. scoretype:
  16798. description: 积分类型 - 1:提货积分
  16799. type: integer
  16800. scorevalue:
  16801. description: 积分
  16802. type: number
  16803. tradedate:
  16804. description: 交易日(yyyyMMdd)
  16805. type: string
  16806. uploadedtime:
  16807. description: 同步时间
  16808. type: string
  16809. userid:
  16810. description: 用户ID
  16811. type: integer
  16812. type: object
  16813. models.QhjSiteColumnDetail:
  16814. properties:
  16815. author:
  16816. description: 作者
  16817. type: string
  16818. brief:
  16819. description: 简介
  16820. type: string
  16821. columnid:
  16822. description: 所属栏目
  16823. type: integer
  16824. context:
  16825. description: 内容
  16826. type: string
  16827. coverimage:
  16828. description: 封面图片
  16829. type: string
  16830. creaedate:
  16831. description: 创建时间
  16832. type: string
  16833. creatorid:
  16834. description: 创建人
  16835. type: integer
  16836. hits:
  16837. description: 点击数
  16838. type: integer
  16839. id:
  16840. description: ID(SEQ_SITE_COLUMNDETAIL)
  16841. type: integer
  16842. isshow:
  16843. description: 是否展示 - 0:不展示 1:展示
  16844. type: integer
  16845. istop:
  16846. description: 是否置顶 - 0:不置 1:置顶
  16847. type: integer
  16848. modifierid:
  16849. description: 操作人
  16850. type: integer
  16851. publishdate:
  16852. description: 发布日期
  16853. type: string
  16854. status:
  16855. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  16856. type: integer
  16857. title:
  16858. description: 标题
  16859. type: string
  16860. updatedate:
  16861. description: 修改时间
  16862. type: string
  16863. userid:
  16864. description: 用户ID(默认为0, 核心为为机构用户ID)
  16865. type: integer
  16866. username:
  16867. description: 用户名称
  16868. type: string
  16869. type: object
  16870. models.QhjTeamOrder:
  16871. properties:
  16872. accountid:
  16873. description: 账户ID[报价币种]
  16874. type: integer
  16875. accountname:
  16876. description: 账户名称
  16877. type: string
  16878. agreeunit:
  16879. description: 合约乘数
  16880. type: number
  16881. buyorsell:
  16882. description: 方向 - 0:买 1:卖
  16883. type: integer
  16884. decimalplace:
  16885. description: 报价小数位
  16886. type: integer
  16887. enumdicname:
  16888. description: 单位名称
  16889. type: string
  16890. goodscode:
  16891. description: 商品代码(内部)
  16892. type: string
  16893. goodsid:
  16894. description: 商品ID
  16895. type: integer
  16896. goodsname:
  16897. description: 商品名称
  16898. type: string
  16899. goodunitid:
  16900. description: 报价单位ID
  16901. type: integer
  16902. marketid:
  16903. description: 市场ID
  16904. type: integer
  16905. marketname:
  16906. description: 市场名称
  16907. type: string
  16908. qtydecimalplace:
  16909. description: 成交量小数位
  16910. type: integer
  16911. refereeuserid:
  16912. description: 推荐人ID
  16913. type: integer
  16914. tradeamount:
  16915. description: 成交金额[账户币种,用于所有权]
  16916. type: number
  16917. tradedate:
  16918. description: 交易日(yyyyMMdd)
  16919. type: string
  16920. trademode:
  16921. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16922. 21:竞拍-大宗式 22:受托竞价
  16923. type: integer
  16924. tradeprice:
  16925. description: 成交价格
  16926. type: number
  16927. tradeqty:
  16928. description: 成交数量
  16929. type: number
  16930. tradetime:
  16931. description: 成交时间
  16932. type: string
  16933. userid:
  16934. description: 用户ID
  16935. type: integer
  16936. type: object
  16937. models.QhjTradeGoodsPickup:
  16938. properties:
  16939. accountid:
  16940. description: 账户ID
  16941. type: integer
  16942. address:
  16943. description: 提货人详细地址
  16944. type: string
  16945. amount:
  16946. description: 提货金额
  16947. type: number
  16948. artradedate:
  16949. description: 自动收货交易日(yyyyMMdd)
  16950. type: string
  16951. auditer:
  16952. description: 审核人
  16953. type: integer
  16954. auditsrc:
  16955. description: 更新来源 - 1:管理端 2:终端
  16956. type: integer
  16957. audittime:
  16958. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  16959. type: string
  16960. audittradedate:
  16961. description: 审核交易日(yyyyMMdd)
  16962. type: string
  16963. cardnum:
  16964. description: 提货人证件号码
  16965. type: string
  16966. cardtypeid:
  16967. description: 提货人证件类型
  16968. type: integer
  16969. checkremark:
  16970. description: 审核备注
  16971. type: string
  16972. cityid:
  16973. description: 市
  16974. type: integer
  16975. cityname:
  16976. description: 城市名称
  16977. type: string
  16978. confirmtime:
  16979. description: 取货时间 或 收货时间
  16980. type: string
  16981. countryid:
  16982. description: 国家
  16983. type: integer
  16984. countryname:
  16985. description: 国家名称
  16986. type: string
  16987. decimalplace:
  16988. description: 商品报价小数位
  16989. type: integer
  16990. districtid:
  16991. description: 地区
  16992. type: integer
  16993. districtname:
  16994. description: 地区名称
  16995. type: string
  16996. enumdicname:
  16997. description: 单位名称(提货商品)
  16998. type: string
  16999. expresscompany:
  17000. description: 物流公司
  17001. type: string
  17002. expressnum:
  17003. description: 物流单号
  17004. type: string
  17005. goodsagreeunit:
  17006. description: 交易商品乘数
  17007. type: number
  17008. goodscode:
  17009. description: 商品代码
  17010. type: string
  17011. goodsid:
  17012. description: 商品ID
  17013. type: integer
  17014. goodsname:
  17015. description: 商品名称
  17016. type: string
  17017. goodsqty:
  17018. description: 交易商品手数(69模式按成交量小数位放大取整)
  17019. type: number
  17020. handlestatus:
  17021. description: 处理状态
  17022. type: integer
  17023. logincode:
  17024. description: 账号(登录代码, 有可能为空)
  17025. type: string
  17026. marketid:
  17027. description: 市场ID
  17028. type: integer
  17029. phonenum:
  17030. description: 提货人联系方式
  17031. type: string
  17032. pickupgoodsagreeunit:
  17033. description: 提货商品合约乘数
  17034. type: number
  17035. pickupgoodsid:
  17036. description: 提货商品ID
  17037. type: string
  17038. pickupgoodsname:
  17039. description: 提货商品名称
  17040. type: string
  17041. pickupgoodsqty:
  17042. description: 提货商品手数(数量)
  17043. type: number
  17044. pickupgoodsunitid:
  17045. description: 单位ID(提货商品)
  17046. type: integer
  17047. pickupratio:
  17048. description: 提货系数
  17049. type: number
  17050. preparedays:
  17051. description: 备货期(天)-提货单明细表
  17052. type: integer
  17053. provinceid:
  17054. description: 省
  17055. type: integer
  17056. provincename:
  17057. description: 省名称
  17058. type: string
  17059. qty:
  17060. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  17061. type: number
  17062. qtydecimalplace:
  17063. description: 商品数量小数位
  17064. type: integer
  17065. recivername:
  17066. description: 提货人姓名
  17067. type: string
  17068. reqtime:
  17069. description: 提货申请时间
  17070. type: string
  17071. storeuserid:
  17072. description: 门店用户ID (千海金)
  17073. type: integer
  17074. storeusername:
  17075. description: 门店用户名称
  17076. type: string
  17077. takemode:
  17078. description: 提货方式 - 2:自提 3:配送(邮寄)
  17079. type: integer
  17080. takeorderid:
  17081. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17082. type: string
  17083. takeorderstatus:
  17084. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  17085. 7:已拒绝 8:已撤销
  17086. type: integer
  17087. takeremark:
  17088. description: 提货备注
  17089. type: string
  17090. tradedate:
  17091. description: 交易日(yyyyMMdd)
  17092. type: string
  17093. updatetime:
  17094. description: 更新时间
  17095. type: string
  17096. userid:
  17097. description: 用户ID
  17098. type: integer
  17099. userinfotype:
  17100. description: 客户类型 1-个人 2-企业
  17101. type: integer
  17102. username:
  17103. description: 用户名称
  17104. type: string
  17105. type: object
  17106. models.QhjUserNodeCfgAndStatus:
  17107. properties:
  17108. agreementcontent:
  17109. description: 协议内容
  17110. type: string
  17111. agreementid:
  17112. description: 协议ID
  17113. type: integer
  17114. agreementname:
  17115. description: 协议名称
  17116. type: string
  17117. agreementno:
  17118. description: 协议编号
  17119. type: string
  17120. agreementtype:
  17121. description: 协议类型 - 1:注册 2:登录 3:交易
  17122. type: integer
  17123. agreementversion:
  17124. description: 协议版本号
  17125. type: integer
  17126. configid:
  17127. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  17128. type: integer
  17129. createtime:
  17130. description: 创建时间
  17131. type: string
  17132. goodsid:
  17133. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  17134. type: integer
  17135. nodetype:
  17136. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  17137. type: integer
  17138. signtimestamp:
  17139. description: 签约状态时间戳(最近一次)
  17140. type: string
  17141. tradedate:
  17142. description: 签约交易日(yyyyMMdd)
  17143. type: string
  17144. userid:
  17145. description: 客户ID
  17146. type: integer
  17147. type: object
  17148. models.Qhjgoodsex:
  17149. properties:
  17150. canfinance:
  17151. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  17152. type: integer
  17153. canregularlybuy:
  17154. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  17155. type: integer
  17156. defaulttradeuserid:
  17157. description: 默认交易用户ID
  17158. type: integer
  17159. deliverygoodsid:
  17160. description: 现货品种ID
  17161. type: integer
  17162. goodsid:
  17163. description: 商品ID(自增ID SEQ_GOODS)
  17164. type: integer
  17165. minamount:
  17166. description: 最小购买金额
  17167. type: number
  17168. regularlybuyminamount:
  17169. description: 定投最小金额
  17170. type: number
  17171. regularlybuyminqty:
  17172. description: 定投最小数量
  17173. type: number
  17174. spotgoodsbrandid:
  17175. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  17176. type: integer
  17177. visibilityforenterprise:
  17178. description: 企业客户是否可见 - 0:不可见 1:可见
  17179. type: integer
  17180. visibilityforpersonal:
  17181. description: 个人客户是否可见 - 0:不可见 1:可见
  17182. type: integer
  17183. wrstandardid:
  17184. description: 现货商品ID
  17185. type: integer
  17186. type: object
  17187. models.QueryErrorInfosRsp:
  17188. properties:
  17189. description:
  17190. description: 异常描述
  17191. type: string
  17192. errorcode:
  17193. description: 异常代码
  17194. type: string
  17195. errorid:
  17196. description: 异常ID
  17197. type: integer
  17198. modulecode:
  17199. description: 所属模块
  17200. type: string
  17201. operatecode:
  17202. description: 所属操作
  17203. type: string
  17204. rownumber:
  17205. description: 行号
  17206. type: string
  17207. required:
  17208. - errorid
  17209. type: object
  17210. models.QueryHedgeOrderDetailRsp:
  17211. properties:
  17212. accountid:
  17213. description: 账户ID
  17214. type: integer
  17215. buyorsell:
  17216. description: 买卖 - 0:买 1:卖
  17217. type: integer
  17218. cancellogincode:
  17219. description: 撤单人
  17220. type: string
  17221. channelbuildtype:
  17222. description: 开平标志 - 0:无 1:建仓 2:平仓
  17223. type: integer
  17224. channelinnerorderstatus:
  17225. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  17226. 9:全部成交
  17227. type: integer
  17228. channeloperatetype:
  17229. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  17230. type: integer
  17231. closetype:
  17232. description: 平仓方式 - 0:无 1:平今 2:平昨
  17233. type: integer
  17234. curexchangerate:
  17235. description: 当前汇率
  17236. type: number
  17237. decimalplace:
  17238. description: 商品报价小数位
  17239. type: integer
  17240. exchangefullname:
  17241. description: 外部交易所全称
  17242. type: string
  17243. goodscode:
  17244. description: 商品代码(内部)
  17245. type: string
  17246. goodsid:
  17247. description: 商品ID
  17248. type: integer
  17249. goodsname:
  17250. description: 商品名称
  17251. type: string
  17252. marketid:
  17253. description: 市场ID
  17254. type: integer
  17255. openfreezemargin:
  17256. description: 冻结保证金(冻结交易金额)
  17257. type: number
  17258. orderid:
  17259. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17260. type: string
  17261. orderlogincode:
  17262. description: 委托人
  17263. type: string
  17264. orderprice:
  17265. description: 委托价格(账户)
  17266. type: number
  17267. orderqty:
  17268. description: 委托数量
  17269. type: integer
  17270. ordertime:
  17271. description: 委托时间
  17272. type: string
  17273. pricemode:
  17274. description: '取价方式 - 1:市价 2: 限价'
  17275. type: integer
  17276. tradedate:
  17277. description: 交易日(yyyyMMdd)
  17278. type: string
  17279. tradeqty:
  17280. description: 成交数量
  17281. type: integer
  17282. type: object
  17283. models.QueryHedgeTradeDetailRsp:
  17284. properties:
  17285. accountid:
  17286. description: 账号ID
  17287. type: integer
  17288. buyorsell:
  17289. description: 方向 - 0:买 1:卖
  17290. type: integer
  17291. channelbuildtype:
  17292. description: 委托单据类型 0:无 1:建仓 2:平仓
  17293. type: integer
  17294. closecharge:
  17295. description: 平仓手续费(账户)
  17296. type: number
  17297. closecharge2:
  17298. description: 平仓手续费(商品)
  17299. type: number
  17300. closepl:
  17301. description: 平仓盈亏(账户)
  17302. type: number
  17303. closepl2:
  17304. description: 平仓盈亏(商品)
  17305. type: number
  17306. closepl3:
  17307. description: 平仓盈亏(账户)(逐笔)
  17308. type: number
  17309. closepl4:
  17310. description: 平仓盈亏(商品)(逐笔)
  17311. type: number
  17312. closetype:
  17313. description: 平仓方式 - 0:无 1:平今 2:平昨
  17314. type: integer
  17315. curexchangerate:
  17316. description: 当前汇率
  17317. type: number
  17318. decimalplace:
  17319. description: 商品报价小数位
  17320. type: integer
  17321. exchangefullname:
  17322. description: 外部交易所全称
  17323. type: string
  17324. goodscode:
  17325. description: 商品代码(内部)
  17326. type: string
  17327. goodsid:
  17328. description: 商品ID
  17329. type: integer
  17330. goodsname:
  17331. description: 商品名称
  17332. type: string
  17333. marketid:
  17334. description: 市场ID
  17335. type: integer
  17336. opencharge:
  17337. description: 建仓手续费(账户)
  17338. type: number
  17339. opencharge2:
  17340. description: 建仓手续费(商品)
  17341. type: number
  17342. orderid:
  17343. description: 委托单号
  17344. type: string
  17345. orderlogincode:
  17346. description: 委托人
  17347. type: string
  17348. tradeamount:
  17349. description: 成交金额(账户)
  17350. type: number
  17351. tradedate:
  17352. description: 交易日(yyyyMMdd)
  17353. type: string
  17354. tradeid:
  17355. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17356. type: string
  17357. tradeprice:
  17358. description: 成交价格
  17359. type: number
  17360. tradeqty:
  17361. description: 成交数量
  17362. type: integer
  17363. tradetime:
  17364. description: 成交时间
  17365. type: string
  17366. tradetype:
  17367. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  17368. type: integer
  17369. type: object
  17370. models.QuotePrimaryMenu:
  17371. properties:
  17372. Index:
  17373. description: 序号
  17374. type: integer
  17375. Key:
  17376. description: 键名
  17377. type: string
  17378. Name:
  17379. description: 菜单名称
  17380. type: string
  17381. SubMenus:
  17382. description: 子菜单
  17383. items:
  17384. $ref: '#/definitions/models.QuoteSecondaryMenu'
  17385. type: array
  17386. SubTitleType:
  17387. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  17388. type: integer
  17389. TradeModes:
  17390. description: 包含市场交易类型
  17391. type: string
  17392. type: object
  17393. models.QuoteSecondaryMenu:
  17394. properties:
  17395. ExExchangeCode:
  17396. description: 外部交易所代码
  17397. type: string
  17398. ExExchangeID:
  17399. description: 外部交易所ID
  17400. type: integer
  17401. GoodsGroupIDs:
  17402. description: 商品组ID列表
  17403. items:
  17404. type: integer
  17405. type: array
  17406. Index:
  17407. description: 序号
  17408. type: integer
  17409. MarketID:
  17410. description: 市场ID
  17411. type: integer
  17412. MenuTitle:
  17413. description: 菜单标题(市场名称或外部交易所名称)
  17414. type: string
  17415. TradeMode:
  17416. description: 交易模式
  17417. type: integer
  17418. type: object
  17419. models.Reckondaytaaccount:
  17420. properties:
  17421. accountid:
  17422. description: 资金账户ID
  17423. type: integer
  17424. accountname:
  17425. description: 账户名称
  17426. type: string
  17427. accountpl:
  17428. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  17429. type: number
  17430. avaiablemoney:
  17431. description: 可用资金
  17432. type: number
  17433. avaiableoutmoney:
  17434. description: 可出资金
  17435. type: number
  17436. balance:
  17437. description: 期初余额
  17438. type: number
  17439. capitalbalance:
  17440. description: 本金余额[外部子账户实际出入金余额]
  17441. type: number
  17442. changeflag:
  17443. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  17444. type: integer
  17445. clearbalance:
  17446. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  17447. type: number
  17448. clearpl:
  17449. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  17450. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  17451. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  17452. type: number
  17453. closepl:
  17454. description: 今日平仓盈亏
  17455. type: number
  17456. closepl2:
  17457. description: 平仓盈亏(逐笔)
  17458. type: number
  17459. creditdecrease:
  17460. description: 今日授信减少
  17461. type: number
  17462. creditincrease:
  17463. description: 今日授信增加
  17464. type: number
  17465. curdebt:
  17466. description: 期末欠款
  17467. type: number
  17468. currencyid:
  17469. description: 货币ID
  17470. type: integer
  17471. currentbalance:
  17472. description: 期末余额
  17473. type: number
  17474. cycletype:
  17475. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  17476. type: integer
  17477. defercharge:
  17478. description: 今日递延费2支出[111, 112]
  17479. type: number
  17480. deliveryamountin:
  17481. description: 今日交收货款收入
  17482. type: number
  17483. deliveryamountout:
  17484. description: 今日交收货款支出
  17485. type: number
  17486. deliverycharge:
  17487. description: 今日交收手续费支出 [105,106]
  17488. type: number
  17489. deliverycompensationfeein:
  17490. description: 今日交收补偿费收入
  17491. type: number
  17492. deliverycompensationfeeout:
  17493. description: 今日交收补偿费支出
  17494. type: number
  17495. dividedcharge:
  17496. description: 今日已收手续费分成
  17497. type: number
  17498. floatnetvalue:
  17499. description: 浮动净值 = 净值 + 浮动盈亏
  17500. type: number
  17501. floatpl:
  17502. description: 浮动盈亏 - 每日有负债类商品
  17503. type: number
  17504. freezecharge:
  17505. description: 手续费冻结
  17506. type: number
  17507. freezemargin:
  17508. description: 冻结保证金
  17509. type: number
  17510. fromaccountid:
  17511. description: 所属上级账户
  17512. type: integer
  17513. holdcharge:
  17514. description: 今日持仓过夜费支出[108,109,110]
  17515. type: number
  17516. inamount:
  17517. description: 今日入金金额
  17518. type: number
  17519. interestcharge:
  17520. description: 今日递延费支出[103, 104]
  17521. type: number
  17522. ismain:
  17523. description: 是否账号 0:不是母账户 1:是母账户
  17524. type: integer
  17525. ismarketaccount:
  17526. description: 是否机构接单账号 0:不是 1:是
  17527. type: integer
  17528. isreckonaccount:
  17529. description: 是否机构分润账号 0:不是 1:是
  17530. type: integer
  17531. mortgagecredit:
  17532. description: 授信金额
  17533. type: number
  17534. netvalue:
  17535. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  17536. type: number
  17537. oridebt:
  17538. description: 期初欠款
  17539. type: number
  17540. orifreezecharge:
  17541. description: 期初手续费冻结
  17542. type: number
  17543. orifreezemargin:
  17544. description: 期初冻结保证金
  17545. type: number
  17546. orimortgagecredit:
  17547. description: 期初授信金额
  17548. type: number
  17549. oriothercredit:
  17550. description: 期初其它授信金额
  17551. type: number
  17552. oriotherfreezemargin:
  17553. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17554. type: number
  17555. orioutamountfreeze:
  17556. description: 期初出金冻结
  17557. type: number
  17558. oriusedmargin:
  17559. description: 期初占用保证金
  17560. type: number
  17561. othercredit:
  17562. description: 其它授信金额
  17563. type: number
  17564. othercreditdecrease:
  17565. description: 今日其它授信减少
  17566. type: number
  17567. othercreditincrease:
  17568. description: 今日其它授信增加
  17569. type: number
  17570. otherfreezemargin:
  17571. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17572. type: number
  17573. otherincome:
  17574. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  17575. type: number
  17576. otherpay:
  17577. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  17578. type: number
  17579. outamount:
  17580. description: 今日出金金额
  17581. type: number
  17582. outamountfreeze:
  17583. description: 出金冻结
  17584. type: number
  17585. outthreshold:
  17586. description: 出金阈值
  17587. type: number
  17588. ownershipvalue:
  17589. description: 所有权市值
  17590. type: number
  17591. parentaccountid:
  17592. description: 所属根账户
  17593. type: integer
  17594. password:
  17595. description: 资金密码
  17596. type: string
  17597. paycharge:
  17598. description: 今日手续费支出
  17599. type: number
  17600. paycharge2:
  17601. description: 今日手续费支出(外部配置)
  17602. type: number
  17603. payexchcharge:
  17604. description: 今日应付交易所手续费
  17605. type: number
  17606. reckondate:
  17607. description: 日照日期(yyyyMMdd)
  17608. type: string
  17609. reckonpl:
  17610. description: 今日结算盈亏
  17611. type: number
  17612. reckonpl2:
  17613. description: 结算盈亏(逐笔) - 汇总取期末
  17614. type: number
  17615. relatedaccountstatus:
  17616. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  17617. type: integer
  17618. relateuserid:
  17619. description: 关联用户
  17620. type: integer
  17621. riskrate:
  17622. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  17623. type: number
  17624. signstatus:
  17625. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  17626. type: integer
  17627. spotvalue:
  17628. description: 现货市值-统计服务更新
  17629. type: number
  17630. sublevelpath:
  17631. description: 账号层级路径(逗号分隔,首尾加逗号)
  17632. type: string
  17633. taaccounttype:
  17634. description: 外部/内部账号 - 1:外部账号 2:内部账号
  17635. type: integer
  17636. thirdinamount:
  17637. description: 今日三方入金
  17638. type: number
  17639. thirdoutamount:
  17640. description: 今日三方出金
  17641. type: number
  17642. tradeamount:
  17643. description: 今日成交金额
  17644. type: number
  17645. tradecharge:
  17646. description: 今日交易手续费支出 [101,102]
  17647. type: number
  17648. tradeqty:
  17649. description: 今日成交量
  17650. type: integer
  17651. tradestatus:
  17652. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  17653. type: integer
  17654. transferamount:
  17655. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  17656. type: number
  17657. usedmargin:
  17658. description: 占用保证金
  17659. type: number
  17660. userid:
  17661. description: 用户ID
  17662. type: integer
  17663. required:
  17664. - userid
  17665. type: object
  17666. models.Reckongzmemtradesum:
  17667. properties:
  17668. buylistingamount:
  17669. description: 买挂牌金额 - 无数据,预留
  17670. type: number
  17671. buylistinglot:
  17672. description: 买挂牌宗数
  17673. type: integer
  17674. buylistingqty:
  17675. description: 买挂牌数量 - 无数据,预留
  17676. type: number
  17677. buytradeamount:
  17678. description: 购买金额
  17679. type: number
  17680. buytradelot:
  17681. description: 购买宗数
  17682. type: integer
  17683. buytradeqty:
  17684. description: 购买数量
  17685. type: number
  17686. marketid:
  17687. description: 市场ID
  17688. type: integer
  17689. reckondate:
  17690. description: 日照日期(yyyyMMdd)
  17691. type: string
  17692. selllistingamount:
  17693. description: 卖挂牌金额
  17694. type: number
  17695. selllistinglot:
  17696. description: 卖挂牌宗数
  17697. type: integer
  17698. selllistingqty:
  17699. description: 卖挂牌数量
  17700. type: number
  17701. selltradeamount:
  17702. description: 销售金额
  17703. type: number
  17704. selltradelot:
  17705. description: 销售宗数
  17706. type: integer
  17707. selltradeqty:
  17708. description: 销售数量
  17709. type: number
  17710. updatetime:
  17711. description: 更新时间
  17712. type: string
  17713. userid:
  17714. description: 用户ID
  17715. type: integer
  17716. zscategory:
  17717. description: 钻石分类 - 枚举”ZSCategory“
  17718. type: integer
  17719. zscategorydisplay:
  17720. type: string
  17721. zscurrencytype:
  17722. description: 货币类型 - 枚举“ZSCurrencyType”
  17723. type: integer
  17724. zscurrencytypedisplay:
  17725. type: string
  17726. zscurrencytypedisplayunit:
  17727. type: string
  17728. required:
  17729. - userid
  17730. type: object
  17731. models.RegisterMoney:
  17732. properties:
  17733. amount:
  17734. description: 红包
  17735. type: number
  17736. type: object
  17737. models.RelatedTaAccount:
  17738. properties:
  17739. accountid:
  17740. description: 资金账户ID
  17741. type: integer
  17742. type: object
  17743. models.RoleMenu:
  17744. properties:
  17745. hasright:
  17746. description: 是否有权限 0-没有权限 1-有权限
  17747. type: integer
  17748. iconame:
  17749. description: 菜单图标
  17750. type: string
  17751. menutype:
  17752. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  17753. type: integer
  17754. parentcode:
  17755. description: 上级资源代码
  17756. type: string
  17757. remark:
  17758. description: 菜单备注
  17759. type: string
  17760. resourcecode:
  17761. description: 菜单代码
  17762. type: string
  17763. resourcelevel:
  17764. description: 级别
  17765. type: integer
  17766. resourcename:
  17767. description: 菜单名称
  17768. type: string
  17769. roleid:
  17770. description: 角色id
  17771. type: integer
  17772. sort:
  17773. description: 排序
  17774. type: integer
  17775. subMenu:
  17776. description: 子级菜单(结构同上层一样, swag解析不出来)
  17777. items:
  17778. $ref: '#/definitions/models.RoleMenu'
  17779. type: array
  17780. url:
  17781. description: URL
  17782. type: string
  17783. userid:
  17784. description: 用户id
  17785. type: integer
  17786. type: object
  17787. models.SearchGoods:
  17788. properties:
  17789. goodscode:
  17790. description: 商品代码(内部)
  17791. type: string
  17792. goodsid:
  17793. description: 商品ID(自增ID SEQ_GOODS)
  17794. type: integer
  17795. goodsname:
  17796. description: 商品名称
  17797. type: string
  17798. marketid:
  17799. description: 所属市场ID
  17800. type: integer
  17801. marketname:
  17802. description: 市场名称
  17803. type: string
  17804. trademode:
  17805. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17806. 21:竞拍-大宗式 22:受托竞价
  17807. type: integer
  17808. required:
  17809. - goodscode
  17810. - goodsid
  17811. - goodsname
  17812. - marketid
  17813. - trademode
  17814. type: object
  17815. models.SellOrder:
  17816. properties:
  17817. accountid:
  17818. description: 资金账号
  17819. type: integer
  17820. applyid:
  17821. description: 申请单ID
  17822. type: integer
  17823. attachment1:
  17824. description: 附件1
  17825. type: string
  17826. attachment2:
  17827. description: 附件2
  17828. type: string
  17829. buyorsell:
  17830. description: 买卖 - 0:买 1:卖
  17831. type: integer
  17832. canbargain:
  17833. description: 是否可议价 - 0:不可 1:可
  17834. type: integer
  17835. cancelqty:
  17836. description: 撤销数量
  17837. type: integer
  17838. canceltime:
  17839. description: 撤销时间
  17840. type: string
  17841. cerno:
  17842. type: string
  17843. chargealgorithm:
  17844. description: 手续费收取方式 1:比率 2:固定
  17845. type: integer
  17846. chargealgorithmvalue:
  17847. description: 手续费设置值(交易所部分)
  17848. type: number
  17849. chargealgorithmvalue2:
  17850. description: 手续费设置值(会员部分)
  17851. type: number
  17852. clientordertime:
  17853. description: 客户端委托时间
  17854. type: string
  17855. cpcertno:
  17856. type: string
  17857. exchangerate:
  17858. description: 汇率[67]
  17859. type: number
  17860. firstratio:
  17861. description: 首付比率 - [挂牌时指定,摘牌时使用]
  17862. type: number
  17863. fixedprice:
  17864. description: '[克拉单价]固定价格 - [挂牌]'
  17865. type: number
  17866. freezecharge:
  17867. description: 冻结手续费
  17868. type: number
  17869. freezefirstamount:
  17870. description: 冻结首付金额 - [摘牌]
  17871. type: number
  17872. freezemargin:
  17873. description: 冻结保证金
  17874. type: number
  17875. goodsno:
  17876. description: 商品编号
  17877. type: string
  17878. imagepath:
  17879. type: string
  17880. isQueryDiamond:
  17881. description: 是否钻石查询
  17882. type: boolean
  17883. isspecified:
  17884. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17885. type: integer
  17886. kppath:
  17887. type: string
  17888. kpweight:
  17889. type: string
  17890. marginalgorithm:
  17891. description: 保证金方式 - 1:比率 2:固定
  17892. type: integer
  17893. marginvalue:
  17894. description: 保证金设置值
  17895. type: number
  17896. marketid:
  17897. description: 市场ID
  17898. type: integer
  17899. marketprice:
  17900. type: string
  17901. orderamount:
  17902. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  17903. type: number
  17904. ordertime:
  17905. description: 委托时间
  17906. type: string
  17907. performancetemplateid:
  17908. description: 履约计划模板ID
  17909. type: integer
  17910. price:
  17911. description: 价格
  17912. type: number
  17913. pricefactor:
  17914. description: 价格系数(浮动价时填写) - [挂牌]
  17915. type: number
  17916. pricemove:
  17917. description: 升贴水(浮动价时填写) - [挂牌]
  17918. type: number
  17919. priceper:
  17920. type: string
  17921. relatedwrtradeorderid:
  17922. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  17923. type: integer
  17924. remainqty:
  17925. description: 剩余重量
  17926. type: number
  17927. remark:
  17928. type: string
  17929. retcode:
  17930. description: 错误代码
  17931. type: integer
  17932. sellusername:
  17933. description: 卖方(查询字段-模糊查询)
  17934. type: string
  17935. settingmaterial:
  17936. description: 镶嵌材料
  17937. type: string
  17938. size1:
  17939. type: string
  17940. size2:
  17941. type: string
  17942. size3:
  17943. type: string
  17944. sizedisplay:
  17945. description: 尺寸
  17946. type: string
  17947. stonedesc:
  17948. description: 配石描述
  17949. type: string
  17950. totalqty:
  17951. description: 总重量
  17952. type: number
  17953. tradedate:
  17954. description: 交易日(yyyyMMdd)
  17955. type: string
  17956. tradeprice:
  17957. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17958. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17959. type: number
  17960. unfreezecharge:
  17961. description: 解冻手续费
  17962. type: number
  17963. unfreezefirstamount:
  17964. description: 解冻首付金额 - [摘牌]
  17965. type: number
  17966. unfreezemargin:
  17967. description: 解冻保证金
  17968. type: number
  17969. userid:
  17970. description: 用户ID
  17971. type: integer
  17972. uuid:
  17973. description: 发起端唯一id
  17974. type: string
  17975. validtime:
  17976. description: 有效期限
  17977. type: string
  17978. validtype:
  17979. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17980. type: integer
  17981. warehousenamedisplay:
  17982. type: string
  17983. wrbargainid:
  17984. description: 议价申请单ID
  17985. type: integer
  17986. wrfactortypeid:
  17987. description: 仓单要素类型ID/商品ID(77)
  17988. type: integer
  17989. wrpath:
  17990. type: string
  17991. wrpricetype:
  17992. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17993. type: integer
  17994. wrstandardid:
  17995. description: 现货商品ID
  17996. type: integer
  17997. wrtradeorderid:
  17998. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17999. type: string
  18000. wrtradeorderstatus:
  18001. 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:撤单解冻贷款失败
  18002. type: integer
  18003. wrtradetype:
  18004. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18005. type: integer
  18006. wrtransferuserid:
  18007. description: 仓单受让用户 - [摘牌]
  18008. type: integer
  18009. zscategory:
  18010. description: 钻石分类 - 枚举”ZSCategory“
  18011. type: integer
  18012. zscategorydisplay:
  18013. description: 钻石分类 - 描述
  18014. type: string
  18015. zscerttypedisplay:
  18016. type: string
  18017. zsclaritytype1display:
  18018. type: string
  18019. zsclaritytype2display:
  18020. type: string
  18021. zscolortype1display:
  18022. type: string
  18023. zscolortype2display:
  18024. type: string
  18025. zscrystaltype:
  18026. type: string
  18027. zscrystaltypedisplay:
  18028. type: string
  18029. zscurrencytype:
  18030. description: 货币类型 - 枚举“ZSCurrencyType”
  18031. type: integer
  18032. zscurrencytypedisplay:
  18033. type: string
  18034. zscurrencytypedisplayunit:
  18035. type: string
  18036. zscuttype1display:
  18037. type: string
  18038. zscuttype2display:
  18039. type: string
  18040. zsczcolor1typedisplay:
  18041. type: string
  18042. zsczcolor2typedisplay:
  18043. type: string
  18044. zsczcolor3typedisplay:
  18045. type: string
  18046. zsfluorescencetype1display:
  18047. type: string
  18048. zsfluorescencetype2display:
  18049. type: string
  18050. zspolishtype1display:
  18051. type: string
  18052. zspolishtype2display:
  18053. type: string
  18054. zsshapetypedisplay:
  18055. type: string
  18056. zsstyletypedisplay:
  18057. type: string
  18058. zssymmetrytype1display:
  18059. type: string
  18060. zssymmetrytype2display:
  18061. type: string
  18062. type: object
  18063. models.SellOrderQueryReq:
  18064. properties:
  18065. origin:
  18066. description: 原产地
  18067. type: string
  18068. page:
  18069. description: 页码
  18070. type: integer
  18071. pagesize:
  18072. description: 每页大小
  18073. type: integer
  18074. total:
  18075. description: 总条数
  18076. type: integer
  18077. warehouseid:
  18078. description: 仓库ID
  18079. type: integer
  18080. weight1:
  18081. description: 总重量(克拉重量)-从
  18082. type: number
  18083. weight2:
  18084. description: 总重量(克拉重量)-至
  18085. type: number
  18086. weightavg1:
  18087. description: 平均单颗重量-从
  18088. type: number
  18089. weightavg2:
  18090. description: 平均单颗重量-至
  18091. type: number
  18092. zscategory:
  18093. description: 钻石分类 - 枚举”ZSCategory“
  18094. type: integer
  18095. zscerttype:
  18096. description: 证书类型
  18097. items:
  18098. type: string
  18099. type: array
  18100. zsclaritytype:
  18101. description: 净度
  18102. items:
  18103. type: integer
  18104. type: array
  18105. zscolortype:
  18106. description: 颜色
  18107. items:
  18108. type: integer
  18109. type: array
  18110. zscurrencytype:
  18111. description: 货币类型 - 枚举“ZSCurrencyType”
  18112. items:
  18113. type: string
  18114. type: array
  18115. zscuttype:
  18116. description: 切工
  18117. items:
  18118. type: integer
  18119. type: array
  18120. zsczcolor1type:
  18121. description: 彩钻颜色1
  18122. items:
  18123. type: string
  18124. type: array
  18125. zsfluorescencetype:
  18126. description: 荧光
  18127. items:
  18128. type: integer
  18129. type: array
  18130. zspolishtype:
  18131. description: 抛光度
  18132. items:
  18133. type: integer
  18134. type: array
  18135. zsshapetype:
  18136. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  18137. items:
  18138. type: string
  18139. type: array
  18140. zsstyletype:
  18141. description: 款式
  18142. items:
  18143. type: string
  18144. type: array
  18145. zssymmetrytype:
  18146. description: 对称度
  18147. items:
  18148. type: integer
  18149. type: array
  18150. required:
  18151. - zscategory
  18152. type: object
  18153. models.Sitecolumnconfig:
  18154. properties:
  18155. columnname:
  18156. description: 栏目名称
  18157. type: string
  18158. columntype:
  18159. description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  18160. type: integer
  18161. creaedate:
  18162. description: 创建时间
  18163. type: string
  18164. creatorid:
  18165. description: 创建人
  18166. type: integer
  18167. id:
  18168. description: ID(SEQ_SITE_COLUMNCONFIG)
  18169. type: integer
  18170. isshow:
  18171. description: 是否展示 - 0:不展示 1:展示
  18172. type: integer
  18173. modifierid:
  18174. description: 操作人
  18175. type: integer
  18176. sort:
  18177. description: 排序
  18178. type: integer
  18179. updatedate:
  18180. description: 修改时间
  18181. type: string
  18182. type: object
  18183. models.Spotgoodsprice:
  18184. properties:
  18185. prespotgoodsprice:
  18186. description: 上日价格
  18187. type: number
  18188. spotgoodsprice:
  18189. description: 当前价格
  18190. type: number
  18191. spotgoodsqty:
  18192. description: 招标量
  18193. type: number
  18194. tradedate:
  18195. description: 交易日(yyyyMMdd)
  18196. type: string
  18197. wrstandardcode:
  18198. description: 现货商品代码
  18199. type: string
  18200. wrstandardid:
  18201. description: 现货商品ID(通用则为0)
  18202. type: integer
  18203. wrstandardname:
  18204. description: 现货商品名称
  18205. type: string
  18206. type: object
  18207. models.Systemparam:
  18208. properties:
  18209. loginid:
  18210. description: 更新用户账号,登录账号
  18211. type: string
  18212. modifyflag:
  18213. description: 修改标志0 不允许修改 1 允许修改
  18214. type: integer
  18215. paramcode:
  18216. description: 参数代码
  18217. type: string
  18218. paramname:
  18219. description: 参数名
  18220. type: string
  18221. paramtype:
  18222. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  18223. type: integer
  18224. paramvalue:
  18225. description: 参数值
  18226. type: string
  18227. paramvalue2:
  18228. description: 参数值(CLOB)
  18229. type: string
  18230. regexpress:
  18231. description: 正则表达式
  18232. type: string
  18233. remark:
  18234. description: 备注
  18235. type: string
  18236. serverip:
  18237. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  18238. type: string
  18239. showflag:
  18240. description: 是否显示0 不显示 1 显示
  18241. type: integer
  18242. updatetime:
  18243. description: 更新时间
  18244. type: string
  18245. userid:
  18246. description: 更新用户ID
  18247. type: integer
  18248. required:
  18249. - paramcode
  18250. type: object
  18251. models.Szdz3convertconfig:
  18252. properties:
  18253. canin:
  18254. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  18255. type: integer
  18256. canout:
  18257. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  18258. type: integer
  18259. converttype:
  18260. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18261. 6:交易转花生米(不设置)
  18262. type: integer
  18263. createtime:
  18264. description: 创建时间
  18265. type: string
  18266. creatorid:
  18267. description: 创建人
  18268. type: integer
  18269. daymaxvalue:
  18270. description: 当日最大转入限制
  18271. type: number
  18272. freezedays:
  18273. description: 冻结天数 [5:花生米转交易]
  18274. type: integer
  18275. innergoodsid:
  18276. description: 内部商品ID[交易]
  18277. type: integer
  18278. inratio:
  18279. description: 目标值
  18280. type: integer
  18281. modifierid:
  18282. description: 修改人
  18283. type: integer
  18284. modifytime:
  18285. description: 修改时间
  18286. type: string
  18287. outergoodscode:
  18288. description: 外部商品代码[JD\PD]
  18289. type: string
  18290. outratio:
  18291. description: 源值
  18292. type: integer
  18293. pddecimalplace:
  18294. description: PD小数位
  18295. type: integer
  18296. timemaxvalue:
  18297. description: 单次最大转入限制
  18298. type: number
  18299. timeminvalue:
  18300. description: 单次最小转入限制
  18301. type: number
  18302. required:
  18303. - converttype
  18304. - innergoodsid
  18305. - outergoodscode
  18306. type: object
  18307. models.Szdz3searchwhitelist:
  18308. properties:
  18309. createtime:
  18310. description: 创建时间
  18311. type: string
  18312. creatorid:
  18313. description: 创建人
  18314. type: integer
  18315. modifierid:
  18316. description: 修改人
  18317. type: integer
  18318. modifytime:
  18319. description: 修改时间
  18320. type: string
  18321. userid:
  18322. description: 用户ID
  18323. type: integer
  18324. required:
  18325. - userid
  18326. type: object
  18327. models.TBGoods:
  18328. properties:
  18329. agreeunit:
  18330. description: 合约乘数
  18331. type: number
  18332. enumdicname:
  18333. description: 单位名称
  18334. type: string
  18335. goodscode:
  18336. description: 商品代码(内部)
  18337. type: string
  18338. goodsid:
  18339. description: 商品ID(自增ID SEQ_GOODS)
  18340. type: integer
  18341. goodsname:
  18342. description: 商品名称
  18343. type: string
  18344. type: object
  18345. models.TBGoodsGroup:
  18346. properties:
  18347. GDLST:
  18348. description: 商品列表
  18349. items:
  18350. $ref: '#/definitions/models.TBGoods'
  18351. type: array
  18352. convertratio:
  18353. description: 折算系数
  18354. type: number
  18355. enumdicname:
  18356. description: 单位名称
  18357. type: string
  18358. exexchangecode:
  18359. description: 交易所代码
  18360. type: string
  18361. exexchangename:
  18362. description: 交易所名称
  18363. type: string
  18364. goodsgroupid:
  18365. description: 商品组ID(自增ID)
  18366. type: integer
  18367. goodsgroupname:
  18368. description: 商品组名称
  18369. type: string
  18370. goodunitid:
  18371. description: 报价单位ID
  18372. type: integer
  18373. type: object
  18374. models.TBMiddleGoods:
  18375. properties:
  18376. GPLST:
  18377. description: 期货品种列表
  18378. items:
  18379. $ref: '#/definitions/models.TBGoodsGroup'
  18380. type: array
  18381. WDLST:
  18382. description: 商品信息列表(现货品类)
  18383. items:
  18384. $ref: '#/definitions/models.TBWrstandard'
  18385. type: array
  18386. areauserid:
  18387. description: 机构用户ID
  18388. type: integer
  18389. enumdicname:
  18390. description: 单位名称
  18391. type: string
  18392. goodsunitid:
  18393. description: 套保品种单位id
  18394. type: integer
  18395. middlegoodscode:
  18396. description: 套保品种代码
  18397. type: string
  18398. middlegoodsid:
  18399. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  18400. type: integer
  18401. middlegoodsname:
  18402. description: 套保品种名称
  18403. type: string
  18404. needarbitrageratio:
  18405. description: 套利比率
  18406. type: number
  18407. needhedgeratio:
  18408. description: 套保比率
  18409. type: number
  18410. type: object
  18411. models.TBWrstandard:
  18412. properties:
  18413. convertratio:
  18414. description: 折算系数
  18415. type: number
  18416. deliverygoodsname:
  18417. description: 品种名称
  18418. type: string
  18419. enumdicname:
  18420. description: 单位名称
  18421. type: string
  18422. vatrate:
  18423. description: 增值税率
  18424. type: number
  18425. wrstandardcode:
  18426. description: 现货商品代码
  18427. type: string
  18428. wrstandardid:
  18429. description: 现货商品ID(SEQ_WRSTANDARD)
  18430. type: integer
  18431. wrstandardname:
  18432. description: 现货商品名称
  18433. type: string
  18434. type: object
  18435. models.THJDeliveryMode:
  18436. properties:
  18437. enumdicname:
  18438. description: 枚举项名称
  18439. type: string
  18440. enumitemname:
  18441. description: 枚举项值
  18442. type: integer
  18443. type: object
  18444. models.THJDeliveryMonth:
  18445. properties:
  18446. enddate:
  18447. description: 预售结束日期(yyyy-mm-dd)
  18448. type: string
  18449. endmonth:
  18450. description: 预售结束月份(yyyy-mm)
  18451. type: string
  18452. orderqty:
  18453. description: 委托数量
  18454. type: integer
  18455. presaleapplyid:
  18456. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18457. type: string
  18458. remainqty:
  18459. description: 可用数量
  18460. type: integer
  18461. tradeqty:
  18462. description: 成交数量
  18463. type: integer
  18464. unitprice:
  18465. description: '[参考价]商品单价'
  18466. type: number
  18467. type: object
  18468. models.THJFriend:
  18469. properties:
  18470. accoutstatus:
  18471. description: 状态
  18472. type: string
  18473. createtime:
  18474. description: 创建时间
  18475. type: string
  18476. customername:
  18477. description: 客户名称(企业名称),模糊查询
  18478. type: string
  18479. groupname:
  18480. description: 分级名称
  18481. type: string
  18482. hasauth:
  18483. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  18484. type: integer
  18485. mobile:
  18486. description: 手机号码(加密存储),加密串精确查询
  18487. type: string
  18488. type: object
  18489. models.THJGoodsDetailRsp:
  18490. properties:
  18491. goodsinfo:
  18492. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18493. description: 商品信息
  18494. spotgoodspricelogs:
  18495. description: 历史价格走势
  18496. items:
  18497. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18498. type: array
  18499. type: object
  18500. models.THJPresaleApplyDeposit:
  18501. properties:
  18502. depositid:
  18503. description: 自增ID autoid
  18504. type: string
  18505. depositrate:
  18506. description: 定金比例
  18507. type: number
  18508. discountamount:
  18509. description: 优惠金额(每吨)
  18510. type: number
  18511. presaleapplyid:
  18512. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18513. type: string
  18514. type: object
  18515. models.THJProduct:
  18516. properties:
  18517. bannerpicurl:
  18518. description: Banner图(逗号分隔)
  18519. type: string
  18520. pictureurls:
  18521. description: 详情图片(逗号分隔)
  18522. type: string
  18523. thumurls:
  18524. description: 缩略图片(1:1)(逗号分隔)
  18525. type: string
  18526. wrstandardcode:
  18527. description: 现货商品代码
  18528. type: string
  18529. wrstandardid:
  18530. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18531. type: string
  18532. wrstandardname:
  18533. description: 现货商品名称
  18534. type: string
  18535. type: object
  18536. models.THJProfit:
  18537. properties:
  18538. brokerprofitrate:
  18539. description: 会员释出比例
  18540. type: string
  18541. brokerrate:
  18542. description: 会员比例
  18543. type: string
  18544. buyorselldisplay:
  18545. description: 方向
  18546. type: string
  18547. chargeamount:
  18548. description: 手续费总额
  18549. type: number
  18550. firend:
  18551. description: 下单好友
  18552. type: string
  18553. levelonevalue:
  18554. description: 一级比例
  18555. type: string
  18556. leveltwovalue:
  18557. description: 二级比例
  18558. type: string
  18559. marketname:
  18560. description: 市场
  18561. type: string
  18562. profitamount:
  18563. description: 分润金额
  18564. type: number
  18565. profitroletypedisplay:
  18566. description: 分润角色
  18567. type: string
  18568. tradeid:
  18569. description: 成交单号
  18570. type: string
  18571. tradeqty:
  18572. description: 成交数量
  18573. type: integer
  18574. tradetimedisplay:
  18575. description: 成交时间
  18576. type: string
  18577. wrstandardname:
  18578. description: 商品
  18579. type: string
  18580. type: object
  18581. models.THJPurchaseTradeDetail_Date:
  18582. properties:
  18583. depositrate:
  18584. description: 定金比例
  18585. type: number
  18586. enddate:
  18587. description: 预售结束日期
  18588. type: string
  18589. endmonth:
  18590. description: 交收月份(yyyy-mm)
  18591. type: string
  18592. takestartdate:
  18593. description: 提货开始日期
  18594. type: string
  18595. tradeprice:
  18596. description: 摘牌价格
  18597. type: number
  18598. tradeqty:
  18599. description: 摘牌数量
  18600. type: integer
  18601. transferamount:
  18602. description: 转让金额
  18603. type: number
  18604. transferid:
  18605. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  18606. type: string
  18607. transferprice:
  18608. description: 转让价格
  18609. type: number
  18610. type: object
  18611. models.THJPurchaseTradeDetail_Goodsinfo:
  18612. properties:
  18613. minivalue:
  18614. description: 最小变动值
  18615. type: integer
  18616. minivaluedp:
  18617. description: 最小变动值小数位
  18618. type: integer
  18619. pictureurls:
  18620. description: 详情图片(逗号分隔)
  18621. type: string
  18622. refgoodscode:
  18623. description: 参考商品代码
  18624. type: string
  18625. refgoodsid:
  18626. description: 参考商品ID
  18627. type: integer
  18628. unitid:
  18629. description: 现货商品单位ID
  18630. type: integer
  18631. wrstandardcode:
  18632. description: 现货商品代码
  18633. type: string
  18634. wrstandardid:
  18635. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18636. type: integer
  18637. wrstandardname:
  18638. description: 现货商品名称(模糊查询)
  18639. type: string
  18640. type: object
  18641. models.THJPurchaseTradeDetailRsp:
  18642. properties:
  18643. deliverydate:
  18644. description: 交割日期
  18645. items:
  18646. $ref: '#/definitions/models.THJPurchaseTradeDetail_Date'
  18647. type: array
  18648. goodsinfo:
  18649. $ref: '#/definitions/models.THJPurchaseTradeDetail_Goodsinfo'
  18650. description: 商品信息
  18651. spotgoodspricelogs:
  18652. description: 历史价格走势
  18653. items:
  18654. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18655. type: array
  18656. type: object
  18657. models.THJSigninReq:
  18658. properties:
  18659. userid:
  18660. description: 用户ID
  18661. type: integer
  18662. required:
  18663. - userid
  18664. type: object
  18665. models.THJSigninRsp:
  18666. properties:
  18667. signinstatus:
  18668. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  18669. type: integer
  18670. type: object
  18671. models.THJSpotGoodsPriceLog:
  18672. properties:
  18673. spotgoodsprice:
  18674. description: 现货价格
  18675. type: number
  18676. tradedate:
  18677. description: 交易日(yyyyMMdd)
  18678. type: string
  18679. type: object
  18680. models.THJTradeData:
  18681. properties:
  18682. accountname:
  18683. description: 被推荐人
  18684. type: string
  18685. buytradelot:
  18686. description: 购买笔数
  18687. type: integer
  18688. buytradeqty:
  18689. description: 购买数量
  18690. type: number
  18691. marketid:
  18692. description: 市场ID 采购-64201 供求-65201
  18693. type: integer
  18694. reckondate:
  18695. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  18696. type: string
  18697. selltradelot:
  18698. description: 销售笔数
  18699. type: integer
  18700. selltradeqty:
  18701. description: 销售数量
  18702. type: number
  18703. userid:
  18704. description: 用户ID
  18705. type: integer
  18706. wrstandardname:
  18707. description: 现货商品名称
  18708. type: string
  18709. required:
  18710. - marketid
  18711. - userid
  18712. type: object
  18713. models.THJUserLevelInfo:
  18714. properties:
  18715. appup:
  18716. description: 晋升已累计的数量
  18717. type: integer
  18718. checkday:
  18719. description: 最近一次考核日
  18720. type: string
  18721. levelgroup:
  18722. description: 当前等级
  18723. type: string
  18724. nextlevelgroup:
  18725. description: 下一等级
  18726. type: string
  18727. notyet:
  18728. description: 晋升还差多少数量
  18729. type: integer
  18730. progress:
  18731. description: 进度
  18732. type: number
  18733. type: object
  18734. models.THJWrstandard:
  18735. properties:
  18736. areauserid:
  18737. description: 所属机构
  18738. type: integer
  18739. bannerpicurl:
  18740. description: Banner图(逗号分隔)
  18741. type: string
  18742. convertfactor:
  18743. description: 标仓系数
  18744. type: number
  18745. deliverygoodsid:
  18746. description: 现货品种ID
  18747. type: integer
  18748. isvalid:
  18749. description: 是否有效 - 0:无效 1:有效
  18750. type: integer
  18751. minivalue:
  18752. description: 最小变动值
  18753. type: integer
  18754. minivaluedp:
  18755. description: 最小变动值小数位
  18756. type: integer
  18757. pictureurls:
  18758. description: 详情图片(逗号分隔)
  18759. type: string
  18760. realminivalue:
  18761. description: 实际最小变动值
  18762. type: integer
  18763. realminivaluedp:
  18764. description: 实际最小变动值小数位
  18765. type: integer
  18766. storagefee:
  18767. description: '仓储费(固定: 111)'
  18768. type: number
  18769. thumurls:
  18770. description: 缩略图片(1:1)(逗号分隔)
  18771. type: string
  18772. unitid:
  18773. description: 现货商品单位ID
  18774. type: integer
  18775. vatrate:
  18776. description: 现货增值税率
  18777. type: number
  18778. wrsstatus:
  18779. description: 状态 - 作废 - 0:未激活 1:正常
  18780. type: integer
  18781. wrstandardcode:
  18782. description: 现货商品代码
  18783. type: string
  18784. wrstandardid:
  18785. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18786. type: integer
  18787. wrstandardname:
  18788. description: 现货商品名称(模糊查询)
  18789. type: string
  18790. type: object
  18791. models.THJWrstandardDetail_GoodsInfo:
  18792. properties:
  18793. bannerpicurl:
  18794. description: Banner图(逗号分隔)
  18795. type: string
  18796. pictureurls:
  18797. description: 详情图片(逗号分隔)
  18798. type: string
  18799. spotgoodsprice:
  18800. description: 现货价格
  18801. type: number
  18802. unitid:
  18803. description: 现货商品单位ID
  18804. type: integer
  18805. wrstandardcode:
  18806. description: 现货商品代码
  18807. type: string
  18808. wrstandardid:
  18809. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18810. type: integer
  18811. wrstandardname:
  18812. description: 现货商品名称
  18813. type: string
  18814. type: object
  18815. models.THJWrstandardDetailRsp:
  18816. properties:
  18817. deliverymodes:
  18818. description: 交割方式
  18819. items:
  18820. $ref: '#/definitions/models.THJDeliveryMode'
  18821. type: array
  18822. deliverymonth:
  18823. description: 交割月份
  18824. items:
  18825. $ref: '#/definitions/models.THJDeliveryMonth'
  18826. type: array
  18827. goodsinfo:
  18828. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18829. description: 商品信息
  18830. presaleapplydeposits:
  18831. description: 支付方式
  18832. items:
  18833. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  18834. type: array
  18835. spotgoodspricelogs:
  18836. description: 历史价格走势
  18837. items:
  18838. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18839. type: array
  18840. type: object
  18841. models.Taaccount:
  18842. properties:
  18843. accountflag:
  18844. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  18845. type: integer
  18846. accountid:
  18847. description: 资金账户ID
  18848. type: integer
  18849. accountname:
  18850. description: 账户名称
  18851. type: string
  18852. balance:
  18853. description: 期初余额
  18854. type: number
  18855. capitalbalance:
  18856. description: 本金余额[外部子账户实际出入金余额]
  18857. type: number
  18858. changeflag:
  18859. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  18860. type: integer
  18861. changetime:
  18862. description: 账户状态变更时间
  18863. type: string
  18864. closepl:
  18865. description: 今日平仓盈亏
  18866. type: number
  18867. creditdecrease:
  18868. description: 今日授信减少
  18869. type: number
  18870. creditincrease:
  18871. description: 今日授信增加
  18872. type: number
  18873. curamount:
  18874. description: 总市值(从持仓中统计)
  18875. type: number
  18876. currencyid:
  18877. description: 货币ID
  18878. type: integer
  18879. currentbalance:
  18880. description: 期末余额
  18881. type: number
  18882. freezecharge:
  18883. description: 手续费冻结
  18884. type: number
  18885. freezemargin:
  18886. description: 冻结保证金
  18887. type: number
  18888. fromaccountid:
  18889. description: 所属上级账户
  18890. type: integer
  18891. inamount:
  18892. description: 今日入金金额(包括三方入金)
  18893. type: number
  18894. ismain:
  18895. description: 是否母账号 0:不是母账户 1:是母账户
  18896. type: integer
  18897. ismarketaccount:
  18898. description: 是否机构接单账号 0:不是 1:是
  18899. type: integer
  18900. isreckonaccount:
  18901. description: 是否机构分润账号 0:不是 1:是
  18902. type: integer
  18903. mortgagecredit:
  18904. description: 授信金额
  18905. type: number
  18906. orifreezecharge:
  18907. description: 期初手续费冻结
  18908. type: number
  18909. orifreezemargin:
  18910. description: 期初冻结保证金
  18911. type: number
  18912. orimortgagecredit:
  18913. description: 期初授信金额
  18914. type: number
  18915. oriothercredit:
  18916. description: 期初其它授信金额
  18917. type: number
  18918. oriotherfreezemargin:
  18919. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  18920. type: number
  18921. orioutamountfreeze:
  18922. description: 期初出金冻结
  18923. type: number
  18924. oriusedmargin:
  18925. description: 期初占用保证金
  18926. type: number
  18927. othercredit:
  18928. description: 其它授信金额
  18929. type: number
  18930. othercreditdecrease:
  18931. description: 今日其它授信减少
  18932. type: number
  18933. othercreditincrease:
  18934. description: 今日其它授信增加
  18935. type: number
  18936. otherfreezemargin:
  18937. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  18938. type: number
  18939. otherincome:
  18940. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  18941. type: number
  18942. otherpay:
  18943. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  18944. type: number
  18945. outamount:
  18946. description: 今日出金金额(包括三方出金)
  18947. type: number
  18948. outamountfreeze:
  18949. description: 出金冻结
  18950. type: number
  18951. outthreshold:
  18952. description: 出金阈值
  18953. type: number
  18954. parentaccountid:
  18955. description: 所属根账号
  18956. type: integer
  18957. paycharge:
  18958. description: 今日手续费支出
  18959. type: number
  18960. relatedaccountstatus:
  18961. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  18962. type: integer
  18963. relateduserid:
  18964. description: 关联用户
  18965. type: integer
  18966. remainamount:
  18967. description: 融资额(从融资合同中统计)
  18968. type: number
  18969. serivcegroup:
  18970. description: 服务分组
  18971. type: integer
  18972. signstatus:
  18973. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  18974. type: integer
  18975. sublevelpath:
  18976. description: 账号层级路径(逗号分隔,首尾加逗号)
  18977. type: string
  18978. taaccounttype:
  18979. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18980. type: integer
  18981. thirdinamount:
  18982. description: 今日三方入金
  18983. type: number
  18984. thirdoutamount:
  18985. description: 今日三方出金
  18986. type: number
  18987. tradestatus:
  18988. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  18989. type: integer
  18990. tradestatuschangetime:
  18991. description: 激活时间
  18992. type: string
  18993. transferamount:
  18994. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  18995. type: number
  18996. usedmargin:
  18997. description: 占用保证金
  18998. type: number
  18999. userid:
  19000. description: 用户ID
  19001. type: integer
  19002. required:
  19003. - accountid
  19004. - userid
  19005. type: object
  19006. models.Tablecolumnconfig:
  19007. properties:
  19008. aligntype:
  19009. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  19010. type: integer
  19011. autoid:
  19012. description: AutoID
  19013. type: integer
  19014. columnfield:
  19015. description: 列字段
  19016. type: string
  19017. columntitle:
  19018. description: 列Title
  19019. type: string
  19020. columnwidth:
  19021. description: 列宽
  19022. type: string
  19023. fixed:
  19024. description: 固定类型 - 空 | left | right
  19025. type: string
  19026. formatterstring:
  19027. description: 格式化字符
  19028. type: string
  19029. formattertype:
  19030. description: 格式化类型
  19031. type: string
  19032. groupname:
  19033. description: 表头分组名称
  19034. type: string
  19035. ismerge:
  19036. description: 是否合并显示 - 0:不合并 1:合并
  19037. type: integer
  19038. isshow:
  19039. description: 是否显示 - 0:不显示 1:显示
  19040. type: integer
  19041. needsummary:
  19042. description: 是否需要汇总 - 0:不需要 1:需要
  19043. type: integer
  19044. orderindex:
  19045. description: 顺序
  19046. type: integer
  19047. remark:
  19048. description: 备注
  19049. type: string
  19050. summarytype:
  19051. description: 汇总类型 - 1:加总 2:最后一个
  19052. type: integer
  19053. tablekey:
  19054. description: 列表Key
  19055. type: string
  19056. required:
  19057. - autoid
  19058. type: object
  19059. models.Thjpurchasetradedetail:
  19060. properties:
  19061. buyaccountid:
  19062. description: 买方账号ID
  19063. type: integer
  19064. buychargevalue:
  19065. description: 买方到期手续费
  19066. type: number
  19067. buyconfirmremark:
  19068. description: 买方确认备注
  19069. type: string
  19070. buyconfirmtime:
  19071. description: 买方确认时间
  19072. type: string
  19073. buyfreezecharge:
  19074. description: 买方摘牌冻结手续费
  19075. type: number
  19076. buyuserid:
  19077. description: 买方用户ID
  19078. type: integer
  19079. contactinfo:
  19080. description: 联系方式
  19081. type: string
  19082. contactname:
  19083. description: 联系人姓名
  19084. type: string
  19085. contractaddrbuy:
  19086. description: 贸易合同地址(买家)
  19087. type: string
  19088. contractaddrsell:
  19089. description: 贸易合同地址(卖家)
  19090. type: string
  19091. createtime:
  19092. description: 预售挂牌时间
  19093. type: string
  19094. deliverygoodsid:
  19095. description: 现货品种ID
  19096. type: integer
  19097. depositrate:
  19098. description: 定金比例
  19099. type: number
  19100. desaddress:
  19101. description: 目的地地址
  19102. type: string
  19103. discountamount:
  19104. description: 优惠总金额(优惠金额*TradeQty)
  19105. type: number
  19106. enddate:
  19107. description: 到期日期
  19108. type: string
  19109. enddatemonth:
  19110. description: 交收月份(提货日期)
  19111. type: string
  19112. handlestatus:
  19113. description: 处理状态
  19114. type: integer
  19115. lastamount:
  19116. description: 到期总货款 = 到期价格 * 摘牌数量
  19117. type: number
  19118. lastprice:
  19119. description: '[实际价]到期价格'
  19120. type: number
  19121. lastpricedate:
  19122. description: 到期价格日期 - 暂不使用
  19123. type: string
  19124. marketid:
  19125. description: 市场ID
  19126. type: integer
  19127. orderstatus:
  19128. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  19129. (枚举:THJOrderStatus)
  19130. type: integer
  19131. payeddeposit:
  19132. description: '[定金]买方已付定金(预付款)'
  19133. type: number
  19134. payedtradedate:
  19135. description: 支付尾款成功交易日
  19136. type: string
  19137. presaleapplyid:
  19138. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19139. type: string
  19140. presalestatus:
  19141. description: 预留状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19142. type: integer
  19143. receiptinfo:
  19144. description: 发票信息
  19145. type: string
  19146. remainamount:
  19147. description: '[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额'
  19148. type: number
  19149. sellaccountid:
  19150. description: 卖方账号ID
  19151. type: integer
  19152. sellchargevalue:
  19153. description: 卖方到期手续费
  19154. type: number
  19155. sellconfirmattach:
  19156. description: 卖方确认附件
  19157. type: string
  19158. sellconfirmremark:
  19159. description: 卖方确认备注
  19160. type: string
  19161. sellconfirmtime:
  19162. description: 卖方确认时间
  19163. type: string
  19164. sellconfirmtradedate:
  19165. description: 卖方确认交易日
  19166. type: string
  19167. selluserid:
  19168. description: 卖方用户ID
  19169. type: integer
  19170. thjdeliverymode:
  19171. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19172. type: integer
  19173. thjdeliverymodedisplay:
  19174. description: 提货方式
  19175. type: string
  19176. thjorderstatusdisplay:
  19177. description: 状态
  19178. type: string
  19179. tradeamount:
  19180. description: 摘牌总货款
  19181. type: number
  19182. tradedate:
  19183. description: 交易日(yyyyMMdd)
  19184. type: string
  19185. tradeprice:
  19186. description: 摘牌价格 - 参考价
  19187. type: number
  19188. tradeqty:
  19189. description: '[预售价]摘牌数量'
  19190. type: integer
  19191. tradetime:
  19192. description: 摘牌时间(委托时间)
  19193. type: string
  19194. transferprice:
  19195. description: 转让价格 - 购买价
  19196. type: number
  19197. unitid:
  19198. description: 商品单位
  19199. type: integer
  19200. warehouseid:
  19201. description: 仓库ID
  19202. type: integer
  19203. warehousename:
  19204. description: 仓库名称
  19205. type: string
  19206. wrfactortypeid:
  19207. description: 仓单要素类型ID
  19208. type: string
  19209. wrstandardid:
  19210. description: 现货商品ID
  19211. type: integer
  19212. wrstandardname:
  19213. description: 现货商品名称
  19214. type: string
  19215. wrtradedetailid:
  19216. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19217. type: string
  19218. required:
  19219. - buyuserid
  19220. type: object
  19221. models.Thjpurchasetransfer:
  19222. properties:
  19223. buyaccountid:
  19224. description: 买方账号ID
  19225. type: integer
  19226. buyuserid:
  19227. description: 买方用户ID
  19228. type: integer
  19229. contractaddr:
  19230. description: 协议转让合同地址
  19231. type: string
  19232. createtime:
  19233. description: 转让挂牌时间
  19234. type: string
  19235. deliverygoodsid:
  19236. description: 现货品种ID
  19237. type: integer
  19238. enddate:
  19239. description: 到期日期
  19240. type: string
  19241. enddatemonth:
  19242. description: 交收月份(提货日期)
  19243. type: string
  19244. handlestatus:
  19245. description: 处理状态
  19246. type: integer
  19247. marketid:
  19248. description: 市场ID(固定为(64202)
  19249. type: integer
  19250. ordertype:
  19251. description: 类型 - 1:转让委托 - 挂牌中(卖方) 2:转让成交(卖方) 3:转让委托 - 已完成(卖方)
  19252. type: integer
  19253. payeddeposit:
  19254. description: 买方已付定金(预付款)
  19255. type: number
  19256. presaleapplyid:
  19257. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19258. type: string
  19259. presalestatus:
  19260. description: 预售状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19261. type: integer
  19262. remark:
  19263. description: 备注
  19264. type: string
  19265. sellaccountid:
  19266. description: 卖方账号ID
  19267. type: integer
  19268. sellcharge:
  19269. description: 卖方手续费值
  19270. type: number
  19271. sellchargealgorithm:
  19272. description: 卖方手续费收取方式 1:比率 2:固定
  19273. type: integer
  19274. sellchargealgorithmvalue:
  19275. description: 手续费设置值(交易所部分)
  19276. type: number
  19277. selluserid:
  19278. description: 卖方用户ID
  19279. type: integer
  19280. tradedate:
  19281. description: 交易日(yyyyMMdd)
  19282. type: string
  19283. tradeprice:
  19284. description: 参考价
  19285. type: number
  19286. transferamount:
  19287. description: 转让金额
  19288. type: number
  19289. transferid:
  19290. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  19291. type: string
  19292. transferprice:
  19293. description: 转让价格
  19294. type: number
  19295. transferqty:
  19296. description: 数量
  19297. type: integer
  19298. transferstatus:
  19299. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19300. type: integer
  19301. transfertradedate:
  19302. description: 转让交易日
  19303. type: string
  19304. transfertradetime:
  19305. description: 转让成交时间
  19306. type: string
  19307. unitid:
  19308. description: 现货商品单位ID
  19309. type: integer
  19310. warehouseid:
  19311. description: 仓库ID
  19312. type: integer
  19313. wrfactortypeid:
  19314. description: 仓单要素类型ID
  19315. type: string
  19316. wrstandardid:
  19317. description: 现货商品ID
  19318. type: integer
  19319. wrstandardname:
  19320. description: 现货商品名称
  19321. type: string
  19322. wrtradedetailid:
  19323. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19324. type: string
  19325. required:
  19326. - ordertype
  19327. type: object
  19328. models.ThjpurchasetransferDetail:
  19329. properties:
  19330. buyusername:
  19331. description: 受让人
  19332. type: string
  19333. contactinfo:
  19334. description: 联系方式
  19335. type: string
  19336. contactname:
  19337. description: 联系人姓名
  19338. type: string
  19339. contractaddr:
  19340. description: 协议转让合同地址
  19341. type: string
  19342. contractaddrbuy:
  19343. description: 贸易合同地址(买家)
  19344. type: string
  19345. contractaddrsell:
  19346. description: 贸易合同地址(卖家)
  19347. type: string
  19348. createtime:
  19349. description: 转让委托时间
  19350. type: string
  19351. depositrate:
  19352. description: 定金比例
  19353. type: number
  19354. desaddress:
  19355. description: 目的地地址
  19356. type: string
  19357. enddate:
  19358. description: 到期日期
  19359. type: string
  19360. enddatemonth:
  19361. description: 交收月份(提货日期)
  19362. type: string
  19363. lastprice:
  19364. description: '[实际价]到期价格'
  19365. type: number
  19366. payeddeposit:
  19367. description: 买方已付定金(预付款(含定金))
  19368. type: number
  19369. receiptinfo:
  19370. description: 发票信息
  19371. type: string
  19372. sellusername:
  19373. description: 转让人
  19374. type: string
  19375. thjdeliverymode:
  19376. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19377. type: integer
  19378. tradeprice:
  19379. description: 预售价格
  19380. type: number
  19381. transferamount:
  19382. description: 转让金额
  19383. type: number
  19384. transferid:
  19385. description: 转让单号
  19386. type: string
  19387. transferprice:
  19388. description: 转让价格
  19389. type: number
  19390. transferqty:
  19391. description: 转让数量
  19392. type: integer
  19393. transferstatus:
  19394. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19395. type: integer
  19396. transfertradetime:
  19397. description: 转让成交时间
  19398. type: string
  19399. warehousename:
  19400. description: 仓库名称
  19401. type: string
  19402. wrstandardcode:
  19403. description: 现货商品代码
  19404. type: string
  19405. wrstandardid:
  19406. description: 现货商品ID
  19407. type: integer
  19408. wrstandardname:
  19409. description: 现货商品名称
  19410. type: string
  19411. wrtradedetailid:
  19412. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19413. type: string
  19414. type: object
  19415. models.Thjscoreconfig:
  19416. properties:
  19417. parma1:
  19418. description: 参数1
  19419. type: integer
  19420. parma2:
  19421. description: 参数2
  19422. type: integer
  19423. parma3:
  19424. description: 参数3
  19425. type: integer
  19426. parma4:
  19427. description: 参数4
  19428. type: integer
  19429. parma5:
  19430. description: 参数5
  19431. type: integer
  19432. parma6:
  19433. description: 参数6
  19434. type: integer
  19435. parma7:
  19436. description: 参数6
  19437. type: integer
  19438. scoreconfigtype:
  19439. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  19440. 7:抽奖得红包
  19441. type: integer
  19442. type: object
  19443. models.Thjspotquoteconfig:
  19444. properties:
  19445. autoid:
  19446. description: 自增ID(SEQ_THJ_SPOTQUOTECONFIG)
  19447. type: integer
  19448. relatedid:
  19449. description: 关联新闻ID(Site_ColumnDetail)
  19450. type: integer
  19451. spotmonth:
  19452. description: 现货月份(yyyy-MM)
  19453. type: string
  19454. spotname:
  19455. description: 现货名称
  19456. type: string
  19457. spotprice:
  19458. description: 现货招标价
  19459. type: string
  19460. spotqty:
  19461. description: 现货采购量
  19462. type: string
  19463. spotsrc:
  19464. description: 现货来源
  19465. type: string
  19466. updatetime:
  19467. description: 更新时间
  19468. type: string
  19469. type: object
  19470. models.TjmdHolderDetailTradeInfo:
  19471. properties:
  19472. agreeunit:
  19473. description: 合约乘数
  19474. type: number
  19475. buyaccountid:
  19476. description: 买方账户
  19477. type: string
  19478. buyusername:
  19479. description: 买方
  19480. type: string
  19481. delistingdate:
  19482. description: 最后结算日
  19483. type: string
  19484. expiredate:
  19485. description: 到期结算价定价日
  19486. type: string
  19487. exprieprice:
  19488. description: 到期清算价格
  19489. type: string
  19490. goodscode:
  19491. description: 商品代码
  19492. type: string
  19493. goodsid:
  19494. description: 商品ID
  19495. type: integer
  19496. goodsname:
  19497. description: 商品名称(交易标的)
  19498. type: string
  19499. lasttradedate:
  19500. description: 最后交易日
  19501. type: string
  19502. listingdate:
  19503. description: 开始交易日
  19504. type: string
  19505. openprice:
  19506. description: 成交价
  19507. type: number
  19508. openqty:
  19509. description: 交易数量
  19510. type: integer
  19511. sellaccountid:
  19512. description: 卖方账户
  19513. type: string
  19514. sellusername:
  19515. description: 卖方
  19516. type: string
  19517. tradeamount:
  19518. description: 初始名义价值
  19519. type: number
  19520. tradedate:
  19521. description: 成交日期
  19522. type: string
  19523. tradeid:
  19524. description: 成交编号
  19525. type: string
  19526. type: object
  19527. models.TjmdMarketSection:
  19528. properties:
  19529. marketsectionid:
  19530. description: 市场版块ID(SEQ_MARKETSECTION)
  19531. type: integer
  19532. marketsectionname:
  19533. description: 市场版块名称
  19534. type: string
  19535. mlist:
  19536. description: 市场列表(板块下面有多少个市场)
  19537. items:
  19538. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  19539. type: array
  19540. orderindex:
  19541. description: 排序
  19542. type: integer
  19543. pictureurl:
  19544. description: 图片url, 规格(90*90)
  19545. type: string
  19546. remark:
  19547. description: 备注
  19548. type: string
  19549. type: object
  19550. models.TjmdMarketSectionConfig:
  19551. properties:
  19552. auctionwrtype:
  19553. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  19554. type: integer
  19555. canacceptquote:
  19556. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  19557. type: integer
  19558. cangoodsexercise:
  19559. description: '[期权]是否可现货行权- 0:否 1:是'
  19560. type: integer
  19561. cangoodsexercisetype:
  19562. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  19563. type: integer
  19564. canmanualquotestrike:
  19565. description: 是否可手动报行权价- 0:否 1:是 [期权]
  19566. type: integer
  19567. canmutistage:
  19568. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  19569. type: integer
  19570. canpreexercise:
  19571. description: '[期权]是否可预申报- 0:否 1:是'
  19572. type: integer
  19573. clearinterval:
  19574. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  19575. type: integer
  19576. contracttmp:
  19577. description: 合同模板[荷兰式][竞价式][仓单贸易]
  19578. type: string
  19579. exchareaid:
  19580. description: 所属交易所,可以没有
  19581. type: integer
  19582. financemarketid:
  19583. description: 融资回购市场ID [仓单贸易]
  19584. type: integer
  19585. goodstype:
  19586. description: 商品类型 - 1:交易商品 2:仓单商品
  19587. type: integer
  19588. hasrebate:
  19589. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  19590. type: integer
  19591. hastradecredit:
  19592. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  19593. type: integer
  19594. haswr:
  19595. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  19596. type: integer
  19597. isdeductmargin:
  19598. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  19599. type: integer
  19600. isrecordsource:
  19601. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  19602. type: integer
  19603. isreleasemargin:
  19604. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  19605. type: integer
  19606. isupdatereckonprice:
  19607. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  19608. type: integer
  19609. listingmode:
  19610. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19611. type: integer
  19612. marginformula:
  19613. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19614. type: integer
  19615. marginformula2:
  19616. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19617. type: integer
  19618. marketid:
  19619. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  19620. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  19621. type: integer
  19622. marketname:
  19623. description: 市场名称
  19624. type: string
  19625. marketsectionid:
  19626. description: 市场版块ID(SEQ_MARKETSECTION)
  19627. type: integer
  19628. marketserviceid:
  19629. description: 市场服务ID
  19630. type: integer
  19631. marketstatus:
  19632. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  19633. type: integer
  19634. markettype:
  19635. description: 市场类型- 1:非交易服务 2:交易服务
  19636. type: integer
  19637. matchermode:
  19638. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  19639. type: integer
  19640. nowrquotaflag:
  19641. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  19642. type: integer
  19643. openmethod:
  19644. description: 开盘模式 - 0 自动 1手动
  19645. type: integer
  19646. orderindex:
  19647. description: 排序
  19648. type: integer
  19649. otcuserid:
  19650. description: 场外期权做市商[场外期权]
  19651. type: integer
  19652. outersynctime:
  19653. description: 外部同步时间点(h24:mi:ss)[场外期权]
  19654. type: string
  19655. paylaterflag:
  19656. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  19657. type: integer
  19658. pendingflag:
  19659. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  19660. type: integer
  19661. pendingtime:
  19662. description: 待开市时间[通道交易-对冲](HH:mm)
  19663. type: string
  19664. performancetempid:
  19665. description: 履约计划模板ID - 作废
  19666. type: integer
  19667. premiumquotemode:
  19668. description: 权利金报价方式 - 1:自动 2:手动
  19669. type: integer
  19670. rebateratio:
  19671. description: 返利比率[竞价式]
  19672. type: number
  19673. reckonorder:
  19674. description: 结算顺序
  19675. type: integer
  19676. reckonpricealgorithm:
  19677. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  19678. 6.卖一价 7.买一卖一均价 8.外部结算价'
  19679. type: integer
  19680. reckonpriceparam:
  19681. description: 结算价参数
  19682. type: integer
  19683. reckontime:
  19684. description: 结算时间[通道交易-对冲](HH:mm)
  19685. type: string
  19686. roleprioritytype:
  19687. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  19688. type: integer
  19689. selllistingauditflag:
  19690. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  19691. type: integer
  19692. trademarkettype:
  19693. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  19694. type: integer
  19695. trademode:
  19696. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19697. 21:竞拍-大宗式 22:受托竞价
  19698. type: integer
  19699. tradeproperty:
  19700. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  19701. 8:场外期权
  19702. type: integer
  19703. tradetype:
  19704. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  19705. type: integer
  19706. updatereckonpriceinterval:
  19707. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  19708. type: integer
  19709. type: object
  19710. models.TjmdQuoteGoods:
  19711. properties:
  19712. buyqty:
  19713. description: 买量(暂不做, 无值, 保留字段)
  19714. type: number
  19715. decimalplace:
  19716. description: 报价小数位
  19717. type: integer
  19718. goodscode:
  19719. description: 合约代码
  19720. type: string
  19721. goodsgroupid:
  19722. description: 商品组ID(自增ID)
  19723. type: integer
  19724. goodsgroupname:
  19725. description: 商品组名称
  19726. type: string
  19727. goodsid:
  19728. description: 合约id
  19729. type: integer
  19730. goodsname:
  19731. description: 合约名称
  19732. type: string
  19733. refgoodscode:
  19734. description: 标的合约代码
  19735. type: string
  19736. refgoodsid:
  19737. description: 标的合约id
  19738. type: integer
  19739. refgoodsname:
  19740. description: 标的合约名称
  19741. type: string
  19742. sellqty:
  19743. description: 卖量(暂不做, 无值, 保留字段)
  19744. type: number
  19745. type: object
  19746. models.TjmdTodayAccountMargin:
  19747. properties:
  19748. accountid:
  19749. description: 账号ID
  19750. type: integer
  19751. goodsid:
  19752. description: 商品ID
  19753. type: integer
  19754. infoc:
  19755. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  19756. description: 配置参数
  19757. marketid:
  19758. description: 市场ID
  19759. type: integer
  19760. type: object
  19761. models.TjmdTradeOrderDetail:
  19762. properties:
  19763. buyorsell:
  19764. description: 买卖方向 0-买 1-卖
  19765. type: integer
  19766. goodsid:
  19767. description: 商品id
  19768. type: integer
  19769. marketmaxsub:
  19770. description: 市价最大偏移范围 [浮动价 - 点差]
  19771. type: number
  19772. orderid:
  19773. description: 委托单号
  19774. type: string
  19775. orderprice:
  19776. description: 期初均价
  19777. type: number
  19778. orderqty:
  19779. description: 委托数量
  19780. type: integer
  19781. pricemode:
  19782. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  19783. type: integer
  19784. userid:
  19785. description: 用户id
  19786. type: integer
  19787. username:
  19788. description: 用户名称(已脱敏)
  19789. type: string
  19790. type: object
  19791. models.TjmdTransferApply:
  19792. properties:
  19793. applyid:
  19794. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  19795. type: integer
  19796. applystatus:
  19797. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  19798. type: integer
  19799. applytime:
  19800. description: 申请时间(时间)
  19801. type: string
  19802. auditremark:
  19803. description: 审核备注(拒绝原因?)
  19804. type: string
  19805. begindate:
  19806. description: 开始交易日(yyyymmdd)
  19807. type: string
  19808. buyorsell:
  19809. description: 买卖 - 0:买 1:卖
  19810. type: integer
  19811. enddate:
  19812. description: 结束交易日(yyyymmdd)
  19813. type: string
  19814. goodscode:
  19815. description: 商品代码
  19816. type: string
  19817. goodsid:
  19818. description: 商品ID
  19819. type: integer
  19820. goodsname:
  19821. description: 商品名称
  19822. type: string
  19823. marketid:
  19824. description: 市场ID
  19825. type: integer
  19826. qty:
  19827. description: 期初均价
  19828. type: number
  19829. tradeid:
  19830. description: 成交单号(关联持仓)
  19831. type: string
  19832. transferamount:
  19833. description: 转让总金额(金额)
  19834. type: number
  19835. transferprice:
  19836. description: 转让价格(协议价格)
  19837. type: number
  19838. type: object
  19839. models.TradeHolderDetail:
  19840. properties:
  19841. accountid:
  19842. description: 账号ID
  19843. type: integer
  19844. agreeunit:
  19845. description: 合约乘数
  19846. type: number
  19847. buyorsell:
  19848. description: 方向 - 0:买 1:卖
  19849. type: integer
  19850. currencyid:
  19851. description: 商品币种id
  19852. type: integer
  19853. currencyname:
  19854. description: 币种名称
  19855. type: string
  19856. decimalplace:
  19857. description: 商品价格小数位
  19858. type: integer
  19859. enumdicname:
  19860. description: 商品单位名称
  19861. type: string
  19862. expirecycle:
  19863. description: 行权周期(天) - 1:滚动行权时填写
  19864. type: integer
  19865. expiredate:
  19866. description: 行权日(yyyyMMdd) - 到期日
  19867. type: string
  19868. expiretype:
  19869. description: 行权日类型 - 1:滚动行权 2:固定日行权
  19870. type: integer
  19871. freezeqty:
  19872. description: 期初均价
  19873. type: number
  19874. goodscode:
  19875. description: 商品代码
  19876. type: string
  19877. goodsid:
  19878. description: 商品ID
  19879. type: integer
  19880. goodsname:
  19881. description: 商品名称
  19882. type: string
  19883. goodunitid:
  19884. description: 商品单位id
  19885. type: integer
  19886. holderamount:
  19887. description: 持仓金额
  19888. type: number
  19889. holdercredit:
  19890. description: 持仓授信金额
  19891. type: number
  19892. holderdays:
  19893. description: 剩余冻结天数
  19894. type: integer
  19895. holderprice:
  19896. description: 持仓价格
  19897. type: number
  19898. holderqty:
  19899. description: 期初均价
  19900. type: number
  19901. isconfirmexercise:
  19902. description: 是否确认行权- 0:否 1:是
  19903. type: integer
  19904. ispreexercise:
  19905. description: 是否预申报- 0:否 1:是 2:不可行权
  19906. type: integer
  19907. marketid:
  19908. description: 市场id
  19909. type: integer
  19910. marketname:
  19911. description: 市场名称
  19912. type: string
  19913. openprice:
  19914. description: 建仓价格
  19915. type: number
  19916. openqty:
  19917. description: 期初均价
  19918. type: number
  19919. optiontype:
  19920. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19921. type: integer
  19922. preexerciseprice:
  19923. description: 预申报价格
  19924. type: number
  19925. premium:
  19926. description: 权利金
  19927. type: number
  19928. qtydecimalplace:
  19929. description: 商品成交量小数位
  19930. type: integer
  19931. refgoodscode:
  19932. description: 标的合约代码
  19933. type: string
  19934. refgoodsid:
  19935. description: 标的合约id
  19936. type: integer
  19937. releaseamount:
  19938. description: 释放持仓金额
  19939. type: number
  19940. releaseholdercredit:
  19941. description: 释放持仓授信金额
  19942. type: number
  19943. taname:
  19944. description: 资金账号名称
  19945. type: string
  19946. tradeamount:
  19947. description: 成交金额
  19948. type: number
  19949. tradedate:
  19950. description: 交易日(yyyyMMdd)
  19951. type: string
  19952. tradeid:
  19953. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19954. type: string
  19955. trademode:
  19956. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19957. 21:竞拍-大宗式 22:受托竞价 46:掉期
  19958. type: integer
  19959. tradeproperty:
  19960. description: 交易属性
  19961. type: integer
  19962. tradetime:
  19963. description: 交易时间
  19964. type: string
  19965. userid:
  19966. description: 用户id
  19967. type: integer
  19968. username:
  19969. description: 用户名称
  19970. type: string
  19971. type: object
  19972. models.Unlinkermcphedgeplan:
  19973. properties:
  19974. accountid:
  19975. description: 期货账户ID - 作废
  19976. type: integer
  19977. accountname:
  19978. description: 交易用户
  19979. type: string
  19980. applyid:
  19981. description: 申请人
  19982. type: integer
  19983. applysrc:
  19984. description: 申请来源 - 1:管理端 2:终端
  19985. type: integer
  19986. applytime:
  19987. description: 申请时间
  19988. type: string
  19989. areauserid:
  19990. description: '[企业ID]机构ID'
  19991. type: integer
  19992. auditid:
  19993. description: 审核人
  19994. type: integer
  19995. auditremark:
  19996. description: 审核备注
  19997. type: string
  19998. auditsrc:
  19999. description: 审核来源 - 1:管理端 2:终端
  20000. type: integer
  20001. audittime:
  20002. description: 审核时间
  20003. type: string
  20004. audittradedate:
  20005. description: 审核交易日(yyyyMMdd)
  20006. type: string
  20007. biztype:
  20008. description: 业务类型 - 1:套保
  20009. type: integer
  20010. contracttype:
  20011. description: 计划类型 - 1:采购 -1:销售
  20012. type: integer
  20013. convertfactor:
  20014. description: 标仓系数 - 作废
  20015. type: number
  20016. createtime:
  20017. description: 创建时间
  20018. type: string
  20019. currencyid:
  20020. description: 结算币种ID - 作废
  20021. type: integer
  20022. deliverygoodsid:
  20023. description: 现货品种ID
  20024. type: integer
  20025. enumdicname:
  20026. description: 结算币种
  20027. type: string
  20028. hedgeplanid:
  20029. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  20030. type: string
  20031. hedgeplanno:
  20032. description: '[计划编号]套保计划编号,模糊查询'
  20033. type: string
  20034. hedgeplanstatus:
  20035. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  20036. type: integer
  20037. isrelated:
  20038. description: 是否已关联计划项目 - 0:否 1:是
  20039. type: integer
  20040. planqty:
  20041. description: '[计划量]计划数量'
  20042. type: number
  20043. plantime:
  20044. description: 计划时间
  20045. type: string
  20046. producttype:
  20047. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  20048. type: integer
  20049. remark:
  20050. description: 备注
  20051. type: string
  20052. spotgoodsdesc:
  20053. description: 商品型号
  20054. type: string
  20055. tradedate:
  20056. description: 交易日(yyyyMMdd)
  20057. type: string
  20058. tradeuserid:
  20059. description: 交易用户ID
  20060. type: integer
  20061. updatetime:
  20062. description: 更新时间
  20063. type: string
  20064. wrstandardid:
  20065. description: 现货商品ID
  20066. type: integer
  20067. wrstandardname:
  20068. description: 现货商品,模糊查询
  20069. type: string
  20070. required:
  20071. - areauserid
  20072. type: object
  20073. models.UserCollectConfig:
  20074. properties:
  20075. accountstatus:
  20076. description: 账户状态 - 1:正常 2:停用 3:注销
  20077. type: integer
  20078. collectaccountname:
  20079. description: 收款人账户名称
  20080. type: string
  20081. collectaccountno:
  20082. description: 收款人账户
  20083. type: string
  20084. collectbankname:
  20085. description: 收款人开户行
  20086. type: string
  20087. collectbranchbankname:
  20088. description: 收款人开户支行
  20089. type: string
  20090. collectconfigid:
  20091. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  20092. type: string
  20093. remark:
  20094. description: 备注
  20095. type: string
  20096. userid:
  20097. description: 收款人用户ID
  20098. type: integer
  20099. type: object
  20100. models.UserReceiveInfo:
  20101. properties:
  20102. address:
  20103. description: 提货人详细地址
  20104. type: string
  20105. autoid:
  20106. description: AutoID
  20107. type: integer
  20108. cardnum:
  20109. description: 证件号码(加密存储)
  20110. type: string
  20111. cardtypeid:
  20112. description: 证件类型
  20113. type: integer
  20114. cityid:
  20115. description: 市
  20116. type: integer
  20117. cityname:
  20118. description: 城市名称
  20119. type: string
  20120. countryid:
  20121. description: 国家
  20122. type: integer
  20123. countryname:
  20124. description: 国家名称
  20125. type: string
  20126. districtid:
  20127. description: 地区
  20128. type: integer
  20129. districtname:
  20130. description: 地区名称
  20131. type: string
  20132. hasencrypt:
  20133. description: 数据是否已加密 - 0:未加密 1:已加密
  20134. type: integer
  20135. isdefault:
  20136. description: 是否默认地址 - 0:否 1:是
  20137. type: integer
  20138. phonenum:
  20139. description: 提货人联系方式(加密存储)
  20140. type: string
  20141. provinceid:
  20142. description: 省
  20143. type: integer
  20144. provincename:
  20145. description: 省名称
  20146. type: string
  20147. receivername:
  20148. description: 提货人姓名
  20149. type: string
  20150. takeremark:
  20151. description: 提货备注
  20152. type: string
  20153. userid:
  20154. description: 用户ID
  20155. type: integer
  20156. type: object
  20157. models.Useraccount:
  20158. properties:
  20159. accountname:
  20160. description: 账户名称(机构名称)
  20161. type: string
  20162. accountstatus:
  20163. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  20164. type: integer
  20165. applysrc:
  20166. description: 申请来源 - 1:管理端 2:终端
  20167. type: integer
  20168. auditremark:
  20169. description: 审核备注
  20170. type: string
  20171. auditsrc:
  20172. description: 审核来源 - 1:管理端 2:终端
  20173. type: integer
  20174. audittime:
  20175. description: 审核时间
  20176. type: string
  20177. audituserid:
  20178. description: 审核人
  20179. type: integer
  20180. broker:
  20181. description: 所属经纪人ID
  20182. type: integer
  20183. canceltime:
  20184. description: 销户时间
  20185. type: string
  20186. canceluserid:
  20187. description: 销户人
  20188. type: integer
  20189. canrecommend:
  20190. description: 是否可推荐 - 0:不可 1;可
  20191. type: integer
  20192. createtime:
  20193. description: 创建时间
  20194. type: string
  20195. creatorid:
  20196. description: 创建人
  20197. type: integer
  20198. curscore:
  20199. description: 积分
  20200. type: integer
  20201. hasauth:
  20202. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  20203. type: integer
  20204. isanonymous:
  20205. description: 是否匿名下单 - 0:否 1:是
  20206. type: integer
  20207. issigned:
  20208. description: 今日是否已签到
  20209. type: boolean
  20210. maxinvestornum:
  20211. description: 最大用户数(经纪会员下投资者个数)
  20212. type: integer
  20213. memberuserid:
  20214. description: 所属会员ID
  20215. type: integer
  20216. modifierid:
  20217. description: 修改人
  20218. type: integer
  20219. modifyremark:
  20220. description: 变更备注
  20221. type: string
  20222. modifystatus:
  20223. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  20224. type: integer
  20225. modifytime:
  20226. description: 修改时间
  20227. type: string
  20228. parenttopuser:
  20229. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  20230. type: string
  20231. parentuserid:
  20232. description: 所属机构ID
  20233. type: integer
  20234. reckonaccountid:
  20235. description: 默认结算资金账号ID(机构分润使用) 作废
  20236. type: integer
  20237. refercount:
  20238. description: 推荐总人数
  20239. type: integer
  20240. refereeuserid:
  20241. description: 推荐人ID
  20242. type: integer
  20243. refernum:
  20244. description: 推荐码
  20245. type: string
  20246. rootuserid:
  20247. description: 根用户ID
  20248. type: integer
  20249. subaccountlevel:
  20250. description: 子账户层数
  20251. type: integer
  20252. subarealevelpath:
  20253. description: 子机构层级路径(逗号分隔,首尾加逗号)
  20254. type: string
  20255. todayrefercount:
  20256. description: 今日推荐人数
  20257. type: integer
  20258. userid:
  20259. description: 用户ID
  20260. type: integer
  20261. usertype:
  20262. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20263. type: integer
  20264. required:
  20265. - userid
  20266. type: object
  20267. models.Userfavoritegoods:
  20268. properties:
  20269. goodsid:
  20270. description: 商品ID
  20271. type: integer
  20272. required:
  20273. - goodsid
  20274. type: object
  20275. models.Userinfo:
  20276. properties:
  20277. address:
  20278. description: 地址
  20279. type: string
  20280. attachment1:
  20281. description: 附件1
  20282. type: string
  20283. attachment2:
  20284. description: 附件2
  20285. type: string
  20286. bankaccount:
  20287. description: 银行帐号 (加密存储)
  20288. type: string
  20289. bankaccountname:
  20290. description: 收款人名称
  20291. type: string
  20292. bankcardfrontphotourl:
  20293. description: 银行卡正面照地址
  20294. type: string
  20295. bankid:
  20296. description: 银行编码
  20297. type: string
  20298. bankname:
  20299. description: 银行名称
  20300. type: string
  20301. biznature:
  20302. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  20303. type: integer
  20304. bizscope:
  20305. description: 企业经营范围(企业)
  20306. type: string
  20307. cardbackphotourl:
  20308. description: 证件背面图片地址
  20309. type: string
  20310. cardfrontphotourl:
  20311. description: 证件正面图片地址
  20312. type: string
  20313. cardnum:
  20314. description: 证件号码(加密存储)
  20315. type: string
  20316. cardtypeid:
  20317. description: 证件类型ID
  20318. type: integer
  20319. cityid:
  20320. description: 市
  20321. type: integer
  20322. company:
  20323. description: 公司(个人)
  20324. type: string
  20325. contactname:
  20326. description: 联系人
  20327. type: string
  20328. countryid:
  20329. description: 国家
  20330. type: integer
  20331. createtime:
  20332. description: 创建时间
  20333. type: string
  20334. creatorid:
  20335. description: 创建人
  20336. type: integer
  20337. customername:
  20338. description: 客户名称(企业名称)
  20339. type: string
  20340. districtid:
  20341. description: 地区
  20342. type: integer
  20343. email:
  20344. description: 邮件(加密存储)
  20345. type: string
  20346. fax:
  20347. description: 传真(加密存储)
  20348. type: string
  20349. halfbodyphotourl:
  20350. description: 半身照地址
  20351. type: string
  20352. hasencrypt:
  20353. description: 数据是否已加密 - 0:未加密 1:已加密
  20354. type: integer
  20355. headurl:
  20356. description: 头像地址
  20357. type: string
  20358. legalcardbackphotourl:
  20359. description: 法人身份证背面照地址
  20360. type: string
  20361. legalcardfrontphotourl:
  20362. description: 法人身份证正面照地址
  20363. type: string
  20364. legalpersonname:
  20365. description: 法人姓名(企业)
  20366. type: string
  20367. mobile:
  20368. description: 手机号码(加密存储)
  20369. type: string
  20370. mobile2:
  20371. description: 手机号码[明文-尚志]
  20372. type: string
  20373. modifierid:
  20374. description: 修改人
  20375. type: integer
  20376. modifiertime:
  20377. description: 修改时间
  20378. type: string
  20379. needinvoice:
  20380. description: 是否需要发票 - 0:不需要 1:需要
  20381. type: integer
  20382. nickname:
  20383. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  20384. type: string
  20385. openmode:
  20386. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  20387. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  20388. type: integer
  20389. otherurl:
  20390. description: 其它图片地址[使用分号分隔]
  20391. type: string
  20392. postalcode:
  20393. description: 邮政编码
  20394. type: string
  20395. provinceid:
  20396. description: 省
  20397. type: integer
  20398. qq:
  20399. description: QQ(加密存储
  20400. type: string
  20401. remark:
  20402. description: 备注
  20403. type: string
  20404. sex:
  20405. description: '用户性别 0: 女 1: 男'
  20406. type: integer
  20407. signpdfurl:
  20408. description: 签约pdf文件
  20409. type: string
  20410. telphone:
  20411. description: 联系电话(加密存储)
  20412. type: string
  20413. userid:
  20414. description: 用户ID
  20415. type: integer
  20416. userinfotype:
  20417. description: 用户信息类型 - 1:个人 2:企业
  20418. type: integer
  20419. userstatus:
  20420. description: 用户状态 - 1:正常 2:注销
  20421. type: integer
  20422. usertype:
  20423. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  20424. type: integer
  20425. wechat:
  20426. description: 微信(加密存储)
  20427. type: string
  20428. wskhinfo:
  20429. description: 开户申请信息(JSON)
  20430. type: string
  20431. required:
  20432. - userid
  20433. type: object
  20434. models.WRPositionReport:
  20435. properties:
  20436. accountid:
  20437. description: 帐户ID
  20438. type: integer
  20439. brandid:
  20440. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  20441. type: integer
  20442. buylistinglot:
  20443. description: 买挂牌宗数
  20444. type: integer
  20445. buytradeamount:
  20446. description: 购买金额
  20447. type: number
  20448. buytradelot:
  20449. description: 购买宗数
  20450. type: integer
  20451. buytradeqty:
  20452. description: 购买数量
  20453. type: number
  20454. creditcurqty:
  20455. description: 授信当前数量
  20456. type: integer
  20457. creditfreezeqty:
  20458. description: 授信冻结数量
  20459. type: integer
  20460. credittotalqty:
  20461. description: 授信总数量
  20462. type: integer
  20463. credittradeqty:
  20464. description: 授信成交数量
  20465. type: integer
  20466. decreaseqty:
  20467. description: 今日减少数量
  20468. type: integer
  20469. deliverygoodsid:
  20470. description: 交割商品ID
  20471. type: integer
  20472. deliverymonthid:
  20473. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  20474. type: integer
  20475. freezeqty:
  20476. description: 总冻结数量
  20477. type: integer
  20478. increaseqty:
  20479. description: 今日增加数量
  20480. type: integer
  20481. marketvalue:
  20482. description: 市值
  20483. type: number
  20484. pickupqty:
  20485. description: 今日提货数量
  20486. type: integer
  20487. qualityid:
  20488. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  20489. type: integer
  20490. reckondate:
  20491. description: 日照时期(yyyyMMdd)
  20492. type: string
  20493. relatedqty:
  20494. description: 关联数量
  20495. type: integer
  20496. selllistingamount:
  20497. description: 卖挂牌金额
  20498. type: number
  20499. selllistinglot:
  20500. description: 卖挂牌宗数
  20501. type: integer
  20502. selllistingqty:
  20503. description: 卖挂牌数量
  20504. type: number
  20505. selltradeamount:
  20506. description: 销售金额
  20507. type: number
  20508. selltradelot:
  20509. description: 销售宗数
  20510. type: integer
  20511. selltradeqty:
  20512. description: 销售数量
  20513. type: number
  20514. specid:
  20515. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  20516. type: integer
  20517. totalprice:
  20518. description: 销售金额(¥)
  20519. type: number
  20520. totalqty:
  20521. description: 总数量
  20522. type: integer
  20523. totalweight:
  20524. description: 销售重量(ct)
  20525. type: number
  20526. tradewrqty:
  20527. description: 订单仓单头寸总数量
  20528. type: integer
  20529. transfertradewrqty:
  20530. description: 今日转订单数量
  20531. type: integer
  20532. warehouseid:
  20533. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  20534. type: integer
  20535. wrfactortypeid:
  20536. description: 仓单要素类型ID
  20537. type: integer
  20538. wrpositionid:
  20539. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20540. type: integer
  20541. wrstandardcode:
  20542. description: 现货商品代码
  20543. type: string
  20544. wrstandardid:
  20545. description: 现货商品ID
  20546. type: integer
  20547. wruserid:
  20548. description: 持有人ID
  20549. type: integer
  20550. zscategory:
  20551. description: 商品分类
  20552. type: integer
  20553. zscategorydisplay:
  20554. type: string
  20555. zscurrencytype:
  20556. description: 商品币种
  20557. type: integer
  20558. zscurrencytypedisplay:
  20559. type: string
  20560. zscurrencytypedisplayunit:
  20561. type: string
  20562. type: object
  20563. models.WRSConverTDetail:
  20564. properties:
  20565. convertratio:
  20566. description: 套保系数
  20567. type: number
  20568. deliverygoodscode:
  20569. description: 现货商品代码
  20570. type: string
  20571. deliverygoodsid:
  20572. description: 现货品种ID
  20573. type: integer
  20574. deliverygoodsname:
  20575. description: 现货商品名称
  20576. type: string
  20577. enumdicname:
  20578. description: 单位名称
  20579. type: string
  20580. goodsunitid:
  20581. description: 套保品种单位id
  20582. type: integer
  20583. middlegoodscode:
  20584. description: 套保品种代码
  20585. type: string
  20586. middlegoodsid:
  20587. description: 套保品种ID
  20588. type: integer
  20589. middlegoodsname:
  20590. description: 套保品种名称
  20591. type: string
  20592. modifytime:
  20593. description: 修改时间
  20594. type: string
  20595. wrstandardid:
  20596. description: 品类ID
  20597. type: integer
  20598. type: object
  20599. models.WRStandardInfo:
  20600. properties:
  20601. areauserid:
  20602. description: 所属机构
  20603. type: integer
  20604. convertfactor:
  20605. description: 标仓系数
  20606. type: number
  20607. createtime:
  20608. description: 创建时间
  20609. type: string
  20610. creatorid:
  20611. description: 创建人
  20612. type: integer
  20613. deliverygoodsid:
  20614. description: 品种ID
  20615. type: integer
  20616. deliverygoodsname:
  20617. description: 交割商品名称
  20618. type: string
  20619. factoryitemjson:
  20620. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  20621. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  20622. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  20623. 逗号分隔'
  20624. type: string
  20625. isvalid:
  20626. description: 是否有效 - 0:无效 1:有效
  20627. type: integer
  20628. minivalue:
  20629. description: 最小变动值
  20630. type: integer
  20631. minivaluedp:
  20632. description: 最小变动值小数位
  20633. type: integer
  20634. realminivalue:
  20635. description: 实际最小变动值
  20636. type: integer
  20637. realminivaluedp:
  20638. description: 实际最小变动值小数位
  20639. type: integer
  20640. remark:
  20641. description: 备注
  20642. type: string
  20643. unitid:
  20644. description: 单位ID
  20645. type: integer
  20646. unitname:
  20647. description: 单位
  20648. type: string
  20649. updatetime:
  20650. description: 更新时间
  20651. type: string
  20652. updatorid:
  20653. description: 更新人
  20654. type: integer
  20655. wrsstatus:
  20656. description: 状态 - 作废 - 0:未激活 1:正常
  20657. type: integer
  20658. wrstandardcode:
  20659. description: 现货品类代码
  20660. type: string
  20661. wrstandardid:
  20662. description: 现货品类ID(SEQ_WRSTANDARD)
  20663. type: integer
  20664. wrstandardname:
  20665. description: 现货品类名称
  20666. type: string
  20667. required:
  20668. - wrstandardid
  20669. type: object
  20670. models.WRTradeBargainApply:
  20671. properties:
  20672. accountid:
  20673. description: 摘牌资金账号
  20674. type: integer
  20675. applyprice:
  20676. description: 申请价格(议价价格)
  20677. type: string
  20678. applyqty:
  20679. description: 摘牌数量(议价数量)
  20680. type: number
  20681. applyremark:
  20682. description: 申请备注
  20683. type: string
  20684. applystatus:
  20685. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  20686. type: integer
  20687. applytime:
  20688. description: 申请时间(议价时间)
  20689. type: string
  20690. begindate:
  20691. description: 开始交易日(yyyymmdd)
  20692. type: string
  20693. buyorsell:
  20694. description: 买卖(挂牌类型) - 0:买 1:卖
  20695. type: integer
  20696. confirmremark:
  20697. description: 确认备注
  20698. type: string
  20699. confirmtime:
  20700. description: 确认时间
  20701. type: string
  20702. confirmuserid:
  20703. description: 确认人
  20704. type: integer
  20705. deliverygoodscode:
  20706. description: 品种代码
  20707. type: string
  20708. deliverygoodsid:
  20709. description: 品种ID
  20710. type: integer
  20711. deliverygoodsname:
  20712. description: 品种名称
  20713. type: string
  20714. deliverymonth:
  20715. description: 交收月
  20716. type: string
  20717. enddate:
  20718. description: 结束交易日(yyyymmdd)
  20719. type: string
  20720. enumdicname:
  20721. description: 单位名称
  20722. type: string
  20723. fixedprice:
  20724. description: 期初均价
  20725. type: number
  20726. handlestatus:
  20727. description: 处理状态
  20728. type: integer
  20729. marginvalue:
  20730. description: 期初均价
  20731. type: number
  20732. marketid:
  20733. description: 市场ID
  20734. type: integer
  20735. matchaccountid:
  20736. description: 挂牌方资金账号
  20737. type: integer
  20738. matchuserid:
  20739. description: 挂牌方用户id
  20740. type: integer
  20741. matchusername:
  20742. description: 挂牌方用户名称(已脱敏)
  20743. type: string
  20744. minivalue:
  20745. description: 现货商品最小变动值
  20746. type: integer
  20747. optioncompare:
  20748. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20749. type: string
  20750. orderqty:
  20751. description: 挂牌数量
  20752. type: integer
  20753. refprice:
  20754. description: 参考价格
  20755. type: string
  20756. retcode:
  20757. description: 委托返回代码
  20758. type: integer
  20759. templatename:
  20760. description: 履约方式(履约模板名称)
  20761. type: string
  20762. tradedate:
  20763. description: 交易日(yyyyMMdd)
  20764. type: string
  20765. userid:
  20766. description: 摘牌人用户ID(议价人ID)
  20767. type: integer
  20768. username:
  20769. description: 议价人名字(已脱敏)
  20770. type: string
  20771. validtime:
  20772. description: 有效期限
  20773. type: string
  20774. warehouseid:
  20775. description: 仓库ID
  20776. type: integer
  20777. warehousename:
  20778. description: 仓库名称
  20779. type: string
  20780. wrbargainid:
  20781. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  20782. type: string
  20783. wrfactortypeid:
  20784. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20785. type: string
  20786. wrfactortypename:
  20787. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20788. type: string
  20789. wrstandardcode:
  20790. description: 现货商品代码
  20791. type: string
  20792. wrstandardid:
  20793. description: 现货商品ID
  20794. type: integer
  20795. wrstandardname:
  20796. description: 商品名称
  20797. type: string
  20798. wrtradeorderid:
  20799. description: 关联委托单ID
  20800. type: string
  20801. wrtypename:
  20802. description: 商品
  20803. type: string
  20804. type: object
  20805. models.Warehouseinfo:
  20806. properties:
  20807. address:
  20808. description: 详细地址
  20809. type: string
  20810. areauserid:
  20811. description: 所属机构
  20812. type: integer
  20813. autoid:
  20814. description: 自增ID
  20815. type: integer
  20816. cityid:
  20817. description: 市
  20818. type: integer
  20819. contactname:
  20820. description: 联系人
  20821. type: string
  20822. contactnum:
  20823. description: 联系电话
  20824. type: string
  20825. countryid:
  20826. description: 国家
  20827. type: integer
  20828. createtime:
  20829. description: 创建时间
  20830. type: string
  20831. districtid:
  20832. description: 区
  20833. type: integer
  20834. hasvideo:
  20835. description: 是否有视频 - 0:无 1:有
  20836. type: integer
  20837. provinceid:
  20838. description: 省
  20839. type: integer
  20840. remark:
  20841. description: 审核备注
  20842. type: string
  20843. videourl:
  20844. description: 视频地址
  20845. type: string
  20846. warehousecode:
  20847. description: 仓库代码
  20848. type: string
  20849. warehousename:
  20850. description: 仓库名称
  20851. type: string
  20852. warehousestatus:
  20853. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  20854. type: integer
  20855. warehousetype:
  20856. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  20857. type: integer
  20858. required:
  20859. - autoid
  20860. - warehousecode
  20861. type: object
  20862. models.WrAverageTradePrice:
  20863. properties:
  20864. averageprice:
  20865. description: 期初均价
  20866. type: number
  20867. tradedate:
  20868. description: 交易日yyyymm
  20869. type: string
  20870. type: object
  20871. models.WrBrandAndYears:
  20872. properties:
  20873. brandlst:
  20874. description: 品牌列表
  20875. items:
  20876. $ref: '#/definitions/models.DgFactoryItem'
  20877. type: array
  20878. yearslst:
  20879. description: 年份列表
  20880. items:
  20881. $ref: '#/definitions/models.DgFactoryItem'
  20882. type: array
  20883. type: object
  20884. models.WrBsGoodsInfo:
  20885. properties:
  20886. buyorsell:
  20887. description: 买卖方向 0-买 1-卖
  20888. type: integer
  20889. goodsid:
  20890. description: 交易合约ID
  20891. type: integer
  20892. lstitem:
  20893. description: 商品信息项
  20894. items:
  20895. $ref: '#/definitions/models.WrTypeItem'
  20896. type: array
  20897. lststep:
  20898. description: 履约规则
  20899. items:
  20900. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20901. type: array
  20902. type: object
  20903. models.WrBuybackDetail:
  20904. properties:
  20905. buybackamount:
  20906. description: 回购金额
  20907. type: number
  20908. buybackqty:
  20909. description: 回购数量
  20910. type: number
  20911. buybackreleasemargin:
  20912. description: 回购释放保证金
  20913. type: number
  20914. buybacktime:
  20915. description: 回购时间
  20916. type: string
  20917. errordesc:
  20918. description: 错误描述
  20919. type: string
  20920. handlestatus:
  20921. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  20922. type: integer
  20923. relatedwrid:
  20924. description: 关联仓单ID
  20925. type: integer
  20926. scfcontractid:
  20927. description: SCF合同ID
  20928. type: string
  20929. scfwrbuybackid:
  20930. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  20931. type: integer
  20932. tradedate:
  20933. description: 交易日(yyyyMMdd)
  20934. type: string
  20935. type: object
  20936. models.WrClientAdSpaceConfig:
  20937. properties:
  20938. adspaceid:
  20939. description: 广告位ID
  20940. type: integer
  20941. adspacename:
  20942. description: 广告位名称
  20943. type: string
  20944. adspacetype:
  20945. description: 广告位类型 - 1:固定广告位
  20946. type: integer
  20947. areauserid:
  20948. description: 所属机构ID
  20949. type: integer
  20950. createdate:
  20951. description: 创建时间
  20952. type: string
  20953. imagepath:
  20954. description: 图片
  20955. type: string
  20956. modifierid:
  20957. description: 操作人
  20958. type: integer
  20959. recsize:
  20960. description: 推荐尺寸
  20961. type: string
  20962. title:
  20963. description: 标题
  20964. type: string
  20965. updatedate:
  20966. description: 更新时间
  20967. type: string
  20968. urlcontent:
  20969. description: 链接(地址\商品ID\功能菜单Key\appid)
  20970. type: string
  20971. urltype:
  20972. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  20973. type: integer
  20974. type: object
  20975. models.WrDeliveryAvalidHoldLB:
  20976. properties:
  20977. accountid:
  20978. description: 资金账号
  20979. type: integer
  20980. avalidqty:
  20981. description: 数量(可点选数量)
  20982. type: number
  20983. deliverygoodsid:
  20984. description: 品种id
  20985. type: integer
  20986. enumdicname:
  20987. description: 单位名称
  20988. type: string
  20989. goodsid:
  20990. description: x合约商品id
  20991. type: integer
  20992. ladingbillid:
  20993. description: 提单id
  20994. type: string
  20995. pgoodscode:
  20996. description: p商品代码(点价合约)
  20997. type: string
  20998. pgoodsid:
  20999. description: p商品id(点价合约)
  21000. type: integer
  21001. pgoodsname:
  21002. description: p商品名称(点价合约)
  21003. type: string
  21004. pricemove:
  21005. description: 升贴水
  21006. type: number
  21007. subnum:
  21008. description: 提单子id
  21009. type: integer
  21010. userid:
  21011. description: 用户id
  21012. type: integer
  21013. username:
  21014. description: 仓单持有人
  21015. type: string
  21016. warehousecode:
  21017. description: 仓库代码
  21018. type: string
  21019. warehouseid:
  21020. description: 仓库id
  21021. type: integer
  21022. warehousename:
  21023. description: 仓库名称
  21024. type: string
  21025. wrfactortypeid:
  21026. description: 仓单要素id
  21027. type: string
  21028. wrstandardcode:
  21029. description: 品代码
  21030. type: string
  21031. wrstandardid:
  21032. description: 品类d
  21033. type: integer
  21034. wrstandardname:
  21035. description: 品类名称
  21036. type: string
  21037. wrtypename:
  21038. description: 商品
  21039. type: string
  21040. xgoodscode:
  21041. description: x合约代码
  21042. type: string
  21043. xgoodsname:
  21044. description: x合约名称
  21045. type: string
  21046. type: object
  21047. models.WrDeliveryDetail:
  21048. properties:
  21049. accountid:
  21050. description: 账号ID
  21051. type: integer
  21052. averageprice:
  21053. description: 期初均价
  21054. type: number
  21055. begindate:
  21056. description: 开始交易日(yyyymmdd)
  21057. type: string
  21058. buyorsell:
  21059. description: 方向 - 0:买 1:卖
  21060. type: integer
  21061. deliveryamount:
  21062. description: 货款金额(X总货款+P总货款)
  21063. type: number
  21064. deliveryid:
  21065. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  21066. type: string
  21067. deliveryorderid:
  21068. description: 申报单号
  21069. type: string
  21070. deliverypricemove:
  21071. description: 升贴水(升贴水总额)
  21072. type: number
  21073. deliveryqty:
  21074. description: 交收数量(点选数量)
  21075. type: number
  21076. deliverystatus:
  21077. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  21078. type: integer
  21079. deliverytime:
  21080. description: 交割时间
  21081. type: string
  21082. deliverytotalamount:
  21083. description: 交收金额
  21084. type: number
  21085. enddate:
  21086. description: 结束交易日(yyyymmdd)
  21087. type: string
  21088. enumdicname:
  21089. description: 单位名称
  21090. type: string
  21091. matchaccountid:
  21092. description: 对手账号ID
  21093. type: integer
  21094. matchusername:
  21095. description: 对手方名称(仓单持有人)
  21096. type: string
  21097. p1goodsremainamount:
  21098. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  21099. type: number
  21100. pdeliverycloseqty:
  21101. description: p合约平仓数量
  21102. type: number
  21103. pdeliveryprice:
  21104. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  21105. type: number
  21106. pgoodscode:
  21107. description: 商品代码
  21108. type: string
  21109. pgoodsid:
  21110. description: p点选合约id
  21111. type: integer
  21112. pgoodsname:
  21113. description: 商品名称
  21114. type: string
  21115. ppricemode:
  21116. description: 点价价格方式 - 1:商品价 2:固定值
  21117. type: integer
  21118. tradedate:
  21119. description: 交易日(yyyymmdd)
  21120. type: string
  21121. userid:
  21122. description: 用户id
  21123. type: integer
  21124. username:
  21125. description: 用户名称
  21126. type: string
  21127. warehousename:
  21128. description: 仓库名称
  21129. type: string
  21130. wrfactortypeid:
  21131. description: 仓单要素类型ID
  21132. type: string
  21133. wrtypename:
  21134. description: 商品
  21135. type: string
  21136. xdeliverycloseqty:
  21137. description: 合约数量
  21138. type: number
  21139. xgoodsamount:
  21140. description: 期初均价
  21141. type: number
  21142. xgoodscode:
  21143. description: 商品代码
  21144. type: string
  21145. xgoodsid:
  21146. description: x交易合约ID
  21147. type: integer
  21148. xgoodsname:
  21149. description: 商品名称
  21150. type: string
  21151. type: object
  21152. models.WrDeliveryGoodsSection:
  21153. properties:
  21154. dglst:
  21155. description: 板块商品列表
  21156. items:
  21157. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  21158. type: array
  21159. imagepath:
  21160. description: 图片地址
  21161. type: string
  21162. orderindex:
  21163. description: 排序
  21164. type: integer
  21165. sectionid:
  21166. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  21167. = 1的版块1 - 云融指数
  21168. type: integer
  21169. sectionname:
  21170. description: 版块名称
  21171. type: string
  21172. sectiontype:
  21173. description: 版块类型 - 1:指数版块 2:普通版块
  21174. type: integer
  21175. type: object
  21176. models.WrDeliveryGoodsSectionConfig:
  21177. properties:
  21178. deliverygoodscode:
  21179. description: 现货商品代码
  21180. type: string
  21181. deliverygoodsid:
  21182. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21183. type: integer
  21184. deliverygoodsname:
  21185. description: 现货商品名称
  21186. type: string
  21187. orderindex:
  21188. description: 排序
  21189. type: integer
  21190. type: object
  21191. models.WrDraftUserInfo:
  21192. properties:
  21193. address:
  21194. description: 地址
  21195. type: string
  21196. attachment1:
  21197. description: 附件1
  21198. type: string
  21199. attachment2:
  21200. description: 附件2
  21201. type: string
  21202. attachment3:
  21203. description: 附件3
  21204. type: string
  21205. attachment4:
  21206. description: 附件4
  21207. type: string
  21208. attachment5:
  21209. description: 附件5
  21210. type: string
  21211. bankaccount:
  21212. description: 银行帐号 (加密存储)
  21213. type: string
  21214. bankaccountname:
  21215. description: 收款人名称
  21216. type: string
  21217. bankcardfrontphotourl:
  21218. description: 银行卡正面照地址
  21219. type: string
  21220. bankid:
  21221. description: 银行编码
  21222. type: string
  21223. bankname:
  21224. description: 银行名称
  21225. type: string
  21226. birthday:
  21227. description: 生日(个人:年月日)
  21228. type: string
  21229. biznature:
  21230. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  21231. type: integer
  21232. bizscope:
  21233. description: 企业经营范围(企业)
  21234. type: string
  21235. biztype:
  21236. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  21237. type: integer
  21238. cardbackphotourl:
  21239. description: 证件背面图片地址
  21240. type: string
  21241. cardfrontphotourl:
  21242. description: 证件正面图片地址
  21243. type: string
  21244. cardnum:
  21245. description: 证件号码(加密存储)
  21246. type: string
  21247. cardtypeid:
  21248. description: 证件类型ID
  21249. type: integer
  21250. cityid:
  21251. description: 市
  21252. type: integer
  21253. company:
  21254. description: 公司(个人)
  21255. type: string
  21256. contactcardbackphotourl:
  21257. description: 联系人证件背面图片地址
  21258. type: string
  21259. contactcardfrontphotourl:
  21260. description: 联系人证件正面图片地址
  21261. type: string
  21262. contactname:
  21263. description: 联系人
  21264. type: string
  21265. countryid:
  21266. description: 国家
  21267. type: integer
  21268. createtime:
  21269. description: 创建时间
  21270. type: string
  21271. creatorid:
  21272. description: 创建人
  21273. type: integer
  21274. creditquota:
  21275. description: 授信额度(金瑞)
  21276. type: number
  21277. customername:
  21278. description: 客户名称(企业名称)
  21279. type: string
  21280. districtid:
  21281. description: 地区
  21282. type: integer
  21283. email:
  21284. description: 邮件(加密存储)
  21285. type: string
  21286. fax:
  21287. description: 传真(加密存储)
  21288. type: string
  21289. halfbodyphotourl:
  21290. description: 半身照地址
  21291. type: string
  21292. hasencrypt:
  21293. description: 数据是否已加密 - 0:未加密 1:已加密
  21294. type: integer
  21295. headurl:
  21296. description: 头像地址
  21297. type: string
  21298. legalcardbackphotourl:
  21299. description: 法人身份证背面照地址
  21300. type: string
  21301. legalcardfrontphotourl:
  21302. description: 法人身份证正面照地址
  21303. type: string
  21304. legalpersonname:
  21305. description: 法人姓名(企业)
  21306. type: string
  21307. mobile:
  21308. description: 手机号码(加密存储)
  21309. type: string
  21310. mobile2:
  21311. description: 手机号码[明文-尚志]
  21312. type: string
  21313. modifierid:
  21314. description: 修改人
  21315. type: integer
  21316. modifiertime:
  21317. description: 修改时间
  21318. type: string
  21319. needinvoice:
  21320. description: 是否需要发票 - 0:不需要 1:需要
  21321. type: integer
  21322. nickname:
  21323. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  21324. type: string
  21325. openmode:
  21326. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  21327. 6:苹果手机端注册 7:PC交易端注册"
  21328. type: integer
  21329. otherurl:
  21330. description: 其它图片地址[使用分号分隔]
  21331. type: string
  21332. postalcode:
  21333. description: 邮政编码
  21334. type: string
  21335. provinceid:
  21336. description: 省
  21337. type: integer
  21338. proxystatementurl:
  21339. description: 授权委托书
  21340. type: string
  21341. qq:
  21342. description: QQ(加密存储
  21343. type: string
  21344. remark:
  21345. description: 备注
  21346. type: string
  21347. sex:
  21348. description: '用户性别 0: 女 1: 男'
  21349. type: integer
  21350. signpdfurl:
  21351. description: 签约pdf文件
  21352. type: string
  21353. taxpayernum:
  21354. description: 纳税人识别号
  21355. type: string
  21356. telphone:
  21357. description: 联系电话(加密存储)
  21358. type: string
  21359. userid:
  21360. description: 用户ID
  21361. type: integer
  21362. userinfotype:
  21363. description: 用户信息类型 - 1:个人 2:企业
  21364. type: integer
  21365. userstatus:
  21366. description: 用户状态 - 1:正常 2:注销
  21367. type: integer
  21368. usertype:
  21369. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  21370. type: integer
  21371. wechat:
  21372. description: 微信(加密存储)
  21373. type: string
  21374. wskhinfo:
  21375. description: 开户申请信息(JSON)
  21376. type: string
  21377. type: object
  21378. models.WrFAProductDetail:
  21379. properties:
  21380. accountid:
  21381. description: 资金账号
  21382. type: integer
  21383. areauserid:
  21384. description: 金融机构ID
  21385. type: integer
  21386. financingdays:
  21387. description: 天数(天)
  21388. type: integer
  21389. interestminlen:
  21390. description: 最小起息天数
  21391. type: integer
  21392. interestrate:
  21393. description: 利率
  21394. type: number
  21395. interestratemode:
  21396. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21397. type: integer
  21398. interestsettlemode:
  21399. description: 结息方式 - 1:按日结息 3:按月结息
  21400. type: integer
  21401. interestsettlevalue:
  21402. description: 结息方式值
  21403. type: integer
  21404. isautoloan:
  21405. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  21406. type: integer
  21407. loantag:
  21408. description: '放款标识: "放款快" 或者为空'
  21409. type: string
  21410. marginratio:
  21411. description: 保证金比率质押率 - [仓单质押]
  21412. type: number
  21413. productdetailid:
  21414. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  21415. type: integer
  21416. productid:
  21417. description: 金融产品ID
  21418. type: integer
  21419. productname:
  21420. description: 产品名称
  21421. type: string
  21422. updatetime:
  21423. description: 更新时间
  21424. type: string
  21425. username:
  21426. description: 融出方
  21427. type: string
  21428. type: object
  21429. models.WrFactorTypeInfo:
  21430. properties:
  21431. deliverygoodscode:
  21432. description: 品种代码
  21433. type: string
  21434. deliverygoodsname:
  21435. description: 品种名称
  21436. type: string
  21437. dgfactoryitemid:
  21438. description: 选择项id
  21439. type: integer
  21440. dgfactoryitemtypeid:
  21441. description: 要素选择项ID (1-仓库 2-品牌)
  21442. type: integer
  21443. dgfactoryitemvalue:
  21444. description: 要素项值
  21445. type: string
  21446. itemtypename:
  21447. description: 要素项名称
  21448. type: string
  21449. optioncompare:
  21450. description: 选择比较串
  21451. type: string
  21452. warehouseid:
  21453. description: 仓库id
  21454. type: integer
  21455. wrfactortypeid:
  21456. description: 仓单要素ID
  21457. type: string
  21458. wrfactortypename:
  21459. description: 要素名称
  21460. type: string
  21461. wrfactortypename2:
  21462. description: 要素名称(不含仓库)
  21463. type: string
  21464. wrstandardcode:
  21465. description: 品类代码
  21466. type: string
  21467. wrstandardid:
  21468. description: 品类id
  21469. type: integer
  21470. wrstandardname:
  21471. description: 品类名称
  21472. type: string
  21473. type: object
  21474. models.WrFilterItem:
  21475. properties:
  21476. itemcode:
  21477. description: 代码
  21478. type: string
  21479. itemid:
  21480. description: 项id
  21481. type: integer
  21482. itemname:
  21483. description: 名称
  21484. type: string
  21485. itemtype:
  21486. description: 类型 1-品种 2-品类(商品) 3-仓库
  21487. type: integer
  21488. type: object
  21489. models.WrFinanceBuyApply:
  21490. properties:
  21491. applydate:
  21492. description: 申请时间
  21493. type: string
  21494. applystatus:
  21495. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  21496. type: integer
  21497. applyuserid:
  21498. description: 申请人
  21499. type: integer
  21500. auditdate:
  21501. description: 审核时间
  21502. type: string
  21503. auditremark:
  21504. description: 审核备注
  21505. type: string
  21506. audituserid:
  21507. description: 审核人
  21508. type: integer
  21509. buyaccountid:
  21510. description: 买方资金账号
  21511. type: integer
  21512. buyorsell:
  21513. description: 买卖 - 0:买 1:卖
  21514. type: integer
  21515. buyuserid:
  21516. description: 买方用户ID
  21517. type: integer
  21518. buyusername:
  21519. description: 买方名称
  21520. type: string
  21521. buywrtradeorderid:
  21522. description: 融资方买委托单ID
  21523. type: string
  21524. deliverygoodscode:
  21525. description: 品种代码
  21526. type: string
  21527. deliverygoodsid:
  21528. description: 品种ID
  21529. type: integer
  21530. deliverygoodsname:
  21531. description: 品种名称
  21532. type: string
  21533. deliverymonth:
  21534. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  21535. type: string
  21536. enumdicname:
  21537. description: 单位名称
  21538. type: string
  21539. financeaccountid:
  21540. description: 融资方资金帐户ID
  21541. type: integer
  21542. financeapplyid:
  21543. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21544. type: string
  21545. financeareauserid:
  21546. description: 融资方用户ID
  21547. type: string
  21548. financename:
  21549. description: 融出方名称
  21550. type: string
  21551. financetype:
  21552. description: 融资类型 1-融资回购
  21553. type: integer
  21554. financingdays:
  21555. description: 天数(天)
  21556. type: integer
  21557. freezebuymargin:
  21558. description: 冻结融资保证金(买方)
  21559. type: number
  21560. handleremark:
  21561. description: 处理备注
  21562. type: string
  21563. handlestatus:
  21564. description: 处理状态
  21565. type: integer
  21566. interestminlen:
  21567. description: 最小起息天数
  21568. type: integer
  21569. interestrate:
  21570. description: 利率
  21571. type: number
  21572. interestratemode:
  21573. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21574. type: integer
  21575. interestsettlemode:
  21576. description: 结息方式 - 1:按日结息 3:按月结息
  21577. type: integer
  21578. interestsettlevalue:
  21579. description: 结息方式值
  21580. type: integer
  21581. isautoloan:
  21582. description: 是否自动放款 - 0:手动 1:自动
  21583. type: integer
  21584. marginratio:
  21585. description: 保证金比率质押率 - [仓单质押]
  21586. type: number
  21587. marketid:
  21588. description: 市场ID
  21589. type: integer
  21590. minivalue:
  21591. description: 现货商品最小变动值
  21592. type: integer
  21593. optioncompare:
  21594. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21595. type: string
  21596. orderqty:
  21597. description: 委托数量(商品数量)
  21598. type: number
  21599. productdetailid:
  21600. description: 产品组合ID
  21601. type: integer
  21602. productid:
  21603. description: 金融产品ID
  21604. type: integer
  21605. productname:
  21606. description: 产品名称
  21607. type: string
  21608. remark:
  21609. description: 备注
  21610. type: string
  21611. scfcontractid:
  21612. description: 仓单回购合同ID
  21613. type: string
  21614. sellaccountid:
  21615. description: 卖方资金账号
  21616. type: integer
  21617. selluserid:
  21618. description: 卖方用户ID
  21619. type: integer
  21620. sellwrtradeorderid:
  21621. description: 卖方委托单ID
  21622. type: string
  21623. tradeamount:
  21624. description: 成交金额(借款金额)
  21625. type: number
  21626. tradedate:
  21627. description: 交易日(yyyyMMdd)
  21628. type: string
  21629. tradeprice:
  21630. description: 成交价格
  21631. type: number
  21632. warehouseid:
  21633. description: 仓库ID
  21634. type: integer
  21635. warehousename:
  21636. description: 仓库名称
  21637. type: string
  21638. wrfactortypeid:
  21639. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21640. type: string
  21641. wrfactortypename:
  21642. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21643. type: string
  21644. wrpricetype:
  21645. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  21646. type: integer
  21647. wrstandardcode:
  21648. description: 现货商品代码
  21649. type: string
  21650. wrstandardid:
  21651. description: 现货商品ID
  21652. type: integer
  21653. wrstandardname:
  21654. description: 商品名称
  21655. type: string
  21656. wrtypename:
  21657. description: 商品
  21658. type: string
  21659. type: object
  21660. models.WrFriendApply:
  21661. properties:
  21662. applicantid:
  21663. description: 申请人
  21664. type: integer
  21665. applyname:
  21666. description: 申请人名称
  21667. type: string
  21668. applysrc:
  21669. description: 申请来源 - 1:管理端 2:终端
  21670. type: integer
  21671. applystatus:
  21672. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21673. type: integer
  21674. applytime:
  21675. description: 申请时间
  21676. type: string
  21677. auditname:
  21678. description: 审核人名称
  21679. type: string
  21680. auditorid:
  21681. description: 审核人
  21682. type: integer
  21683. auditremark:
  21684. description: 审核备注
  21685. type: string
  21686. auditsrc:
  21687. description: 审核来源 - 1:管理端 2:终端
  21688. type: integer
  21689. audittime:
  21690. description: 审核时间
  21691. type: string
  21692. friendapplyid:
  21693. description: 申请ID(SEQ_FRIENDAPPLY)
  21694. type: string
  21695. friendname:
  21696. description: 好友名字(已脱敏)
  21697. type: string
  21698. frienduserid:
  21699. description: 好友用户ID
  21700. type: string
  21701. remark:
  21702. description: 备注
  21703. type: string
  21704. userid:
  21705. description: 申请人用户ID
  21706. type: integer
  21707. type: object
  21708. models.WrFtDeliveryGoods:
  21709. properties:
  21710. deliverygoodscode:
  21711. description: 品种代码
  21712. type: string
  21713. deliverygoodsid:
  21714. description: 品种ID
  21715. type: integer
  21716. deliverygoodsname:
  21717. description: 品种名称
  21718. type: string
  21719. wdlst:
  21720. description: 商品列表
  21721. items:
  21722. $ref: '#/definitions/models.WrFtWrstandard'
  21723. type: array
  21724. type: object
  21725. models.WrFtWrstandard:
  21726. properties:
  21727. enumdicname:
  21728. description: 单位名称
  21729. type: string
  21730. minivalue:
  21731. description: 最小变动值
  21732. type: integer
  21733. wrstandardcode:
  21734. description: 现货商品代码
  21735. type: string
  21736. wrstandardid:
  21737. description: 现货商品ID
  21738. type: integer
  21739. wrstandardname:
  21740. description: 商品名称
  21741. type: string
  21742. type: object
  21743. models.WrGoodsInfo:
  21744. properties:
  21745. haswr:
  21746. description: 0:仓单预售 1:仓单贸易
  21747. type: integer
  21748. lstitem:
  21749. description: 商品信息项
  21750. items:
  21751. $ref: '#/definitions/models.WrTypeItem'
  21752. type: array
  21753. lststep:
  21754. description: 履约规则
  21755. items:
  21756. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  21757. type: array
  21758. marketid:
  21759. description: 市场id
  21760. type: integer
  21761. type: object
  21762. models.WrGoodsPerformanceStep:
  21763. properties:
  21764. autoid:
  21765. description: AutoID
  21766. type: integer
  21767. isauto:
  21768. description: 是否自动 - 0:不自动 1:自动
  21769. type: integer
  21770. remark:
  21771. description: 备注
  21772. type: string
  21773. stepdate:
  21774. description: 天数信息(T+N)
  21775. type: string
  21776. stepdays:
  21777. description: 距离上一步天数
  21778. type: integer
  21779. stepindex:
  21780. description: 步骤序号
  21781. type: integer
  21782. stepinfo:
  21783. description: 步骤信息(步骤名称+步骤值)
  21784. type: string
  21785. steptypeid:
  21786. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  21787. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  21788. type: integer
  21789. steptypename:
  21790. description: 步骤名称
  21791. type: string
  21792. stepvalue:
  21793. description: 期初均价
  21794. type: number
  21795. templateid:
  21796. description: 履约计划模板ID
  21797. type: integer
  21798. type: object
  21799. models.WrHoldLB:
  21800. properties:
  21801. accountid:
  21802. description: 持有人帐户ID
  21803. type: integer
  21804. bannerpicurl:
  21805. description: Banner图
  21806. type: string
  21807. createtime:
  21808. description: 创建时间(过户时间)
  21809. type: string
  21810. deliverygoodscode:
  21811. description: 品种代码
  21812. type: string
  21813. deliverygoodsid:
  21814. description: 品种ID
  21815. type: integer
  21816. deliverygoodsname:
  21817. description: 品种名称
  21818. type: string
  21819. enableqty:
  21820. description: 可用数量
  21821. type: number
  21822. enumdicname:
  21823. description: 单位名称
  21824. type: string
  21825. freezerqty:
  21826. description: 冻结数量
  21827. type: number
  21828. ladingbillid:
  21829. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  21830. type: string
  21831. minivalue:
  21832. description: 现货商品最小变动值
  21833. type: integer
  21834. optioncompare:
  21835. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21836. type: string
  21837. parentsubnum:
  21838. description: 拆分父子单号
  21839. type: integer
  21840. pledgeqty:
  21841. description: 质押数量
  21842. type: number
  21843. qty:
  21844. description: 数量
  21845. type: number
  21846. spotgoodsprice:
  21847. description: 参考价(THJ)
  21848. type: number
  21849. subnum:
  21850. description: 提单子单号
  21851. type: integer
  21852. thumurls:
  21853. description: 缩略图
  21854. type: string
  21855. tradedate:
  21856. description: 交易日(yyyyMMdd)
  21857. type: string
  21858. userid:
  21859. description: 持有人ID
  21860. type: integer
  21861. warehouseid:
  21862. description: 仓库ID
  21863. type: integer
  21864. warehousename:
  21865. description: 仓库名称
  21866. type: string
  21867. wrfactortypeid:
  21868. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21869. type: string
  21870. wrfactortypename:
  21871. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21872. type: string
  21873. wrholdeno:
  21874. description: 仓单编号
  21875. type: string
  21876. wrid:
  21877. description: 仓单变更ID
  21878. type: string
  21879. wrstandardcode:
  21880. description: 现货商品代码
  21881. type: string
  21882. wrstandardid:
  21883. description: 现货商品ID
  21884. type: integer
  21885. wrstandardname:
  21886. description: 商品名称
  21887. type: string
  21888. wrtypename:
  21889. description: 商品
  21890. type: string
  21891. type: object
  21892. models.WrMarketTradeConfig:
  21893. properties:
  21894. basisdownratio:
  21895. description: 浮动价基差下限比例(仓单贸易)
  21896. type: number
  21897. basisupratio:
  21898. description: 浮动价基差上限比例(仓单贸易)
  21899. type: number
  21900. buychargealgorithm:
  21901. description: 买方手续费收取方式 1:比率 2:固定
  21902. type: integer
  21903. buychargealgorithm2:
  21904. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  21905. type: integer
  21906. buychargealgorithmvalue:
  21907. description: 买方手续费设置值(交易所部分)
  21908. type: number
  21909. buychargealgorithmvalue2:
  21910. description: 买方手续费设置值(会员部分)
  21911. type: number
  21912. buychargealgorithmvalue3:
  21913. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  21914. type: number
  21915. buychargealgorithmvalue4:
  21916. description: 回购买方手续费设置值(会员部分) --77:现货商城
  21917. type: number
  21918. buyfirstmarginalgorithm:
  21919. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  21920. type: integer
  21921. buyfirstmarginvalue:
  21922. description: 买方出价保证金设置值 - [竞拍]
  21923. type: number
  21924. buymarginalgorithm:
  21925. description: 买方保证金方式 - 1:比率 2:固定
  21926. type: integer
  21927. buymarginvalue:
  21928. description: 买方保证金设置值
  21929. type: number
  21930. buyreleaseratio:
  21931. description: 买方释放比率[2:分步履约]
  21932. type: number
  21933. executemode:
  21934. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  21935. type: integer
  21936. executeside:
  21937. description: 执行方[2:分步履约] - 1:买方 2:卖方
  21938. type: integer
  21939. failedchargealgorithm:
  21940. description: 流拍手续费收取方式 1:比率 2:固定
  21941. type: integer
  21942. failedchargevalue:
  21943. description: 流拍手续费设置值
  21944. type: number
  21945. failedchargevalue2:
  21946. description: 流拍卖方手续费设置值
  21947. type: number
  21948. holddays:
  21949. description: 合同期限[2:分步履约]
  21950. type: integer
  21951. listingmode:
  21952. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  21953. type: integer
  21954. marketid:
  21955. description: 市场ID-仓单贸易、竞拍、预售
  21956. type: integer
  21957. minqty:
  21958. description: 最小执行量[2:分步履约]
  21959. type: number
  21960. modifierid:
  21961. description: 修改人
  21962. type: integer
  21963. nowrquotaflag:
  21964. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  21965. type: integer
  21966. performancetempid:
  21967. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21968. 立即执行(-1)
  21969. type: integer
  21970. performancetempid2:
  21971. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21972. 立即执行
  21973. type: integer
  21974. performancetempid2s:
  21975. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21976. - 履约方式: 立即执行
  21977. type: string
  21978. performancetempids:
  21979. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21980. - 履约方式: 立即执行(-1)
  21981. type: string
  21982. performanceway:
  21983. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  21984. type: integer
  21985. sellchargealgorithm:
  21986. description: 卖方手续费收取方式 1:比率 2:固定
  21987. type: integer
  21988. sellchargealgorithm2:
  21989. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  21990. type: integer
  21991. sellchargealgorithmvalue:
  21992. description: 卖方手续费设置值(交易所部分)
  21993. type: number
  21994. sellchargealgorithmvalue2:
  21995. description: 卖方手续费设置值(会员部分)
  21996. type: number
  21997. sellchargealgorithmvalue3:
  21998. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  21999. type: number
  22000. sellchargealgorithmvalue4:
  22001. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  22002. type: number
  22003. sellmarginalgorithm:
  22004. description: 卖方保证金方式 - 1:比率 2:固定
  22005. type: integer
  22006. sellmarginvalue:
  22007. description: 卖方保证金设置值
  22008. type: number
  22009. sellmarginvalue2:
  22010. description: 卖方保证金设置值(无仓单)
  22011. type: number
  22012. sellreleaseratio:
  22013. description: 卖方释放比率[2:分步履约]
  22014. type: number
  22015. updatetime:
  22016. description: 更新时间
  22017. type: string
  22018. type: object
  22019. models.WrOrderDetail:
  22020. properties:
  22021. accountid:
  22022. description: 交易账号(资金账号)
  22023. type: integer
  22024. allfriendsflag:
  22025. description: 是否全好友可见 - 0:否 1:是
  22026. type: integer
  22027. amount:
  22028. description: 期初均价
  22029. type: number
  22030. bannerpicurl:
  22031. description: Banner图
  22032. type: string
  22033. begindate:
  22034. description: 开始交易日(yyyymmdd)
  22035. type: string
  22036. buyorsell:
  22037. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  22038. type: integer
  22039. canbargain:
  22040. description: 是否可议价 - 0:不可 1:可
  22041. type: integer
  22042. cancelqty:
  22043. description: 撤销数量
  22044. type: number
  22045. canpart:
  22046. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  22047. type: integer
  22048. delistminqty:
  22049. description: 起摘数量
  22050. type: integer
  22051. deliverygoodscode:
  22052. description: 品种代码
  22053. type: string
  22054. deliverygoodsid:
  22055. description: 品种ID
  22056. type: integer
  22057. deliverygoodsname:
  22058. description: 品种名称
  22059. type: string
  22060. deliverymonth:
  22061. description: 交收月
  22062. type: string
  22063. enddate:
  22064. description: 结束交易日(yyyymmdd)
  22065. type: string
  22066. enumdicname:
  22067. description: 单位名称
  22068. type: string
  22069. fixedprice:
  22070. description: 固定价格 - [挂牌]
  22071. type: number
  22072. freezecharge:
  22073. description: 期初均价
  22074. type: number
  22075. freezemargin:
  22076. description: 期初均价
  22077. type: number
  22078. futupricemove:
  22079. description: 期货升贴水
  22080. type: number
  22081. futushow:
  22082. description: 期货合约/升贴水
  22083. type: string
  22084. goodscode:
  22085. description: 期货合约
  22086. type: string
  22087. goodsid:
  22088. description: 期货商品id
  22089. type: integer
  22090. goodsname:
  22091. description: 商品名称
  22092. type: string
  22093. haswr:
  22094. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22095. type: integer
  22096. isspecified:
  22097. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  22098. type: integer
  22099. ladingbillid:
  22100. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  22101. type: string
  22102. marginvalue:
  22103. description: 期初均价
  22104. type: number
  22105. marketid:
  22106. description: 市场ID
  22107. type: integer
  22108. matchusername:
  22109. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  22110. type: string
  22111. minivalue:
  22112. description: 现货商品最小变动值
  22113. type: integer
  22114. optioncompare:
  22115. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22116. type: string
  22117. orderqty:
  22118. description: 委托数量
  22119. type: number
  22120. ordertime:
  22121. description: 委托时间(挂牌时间)
  22122. type: string
  22123. performancetemplateid:
  22124. description: 履约模板id
  22125. type: integer
  22126. pricemove:
  22127. description: 升贴水(浮动价时填写) - [挂牌]
  22128. type: number
  22129. taname:
  22130. description: 交易用户名称(资金账号名称)
  22131. type: string
  22132. thumurls:
  22133. description: 缩略图
  22134. type: string
  22135. tradedate:
  22136. description: 交易日(yyyyMMdd)
  22137. type: string
  22138. tradeprice:
  22139. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  22140. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  22141. type: number
  22142. tradeqty:
  22143. description: 成交数量
  22144. type: number
  22145. unitid:
  22146. description: 现货商品单位ID
  22147. type: integer
  22148. userid:
  22149. description: 用户ID
  22150. type: integer
  22151. validtime:
  22152. description: 挂牌有效期
  22153. type: string
  22154. validtype:
  22155. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22156. type: integer
  22157. warehouseid:
  22158. description: 仓库ID
  22159. type: integer
  22160. warehousename:
  22161. description: 仓库名称
  22162. type: string
  22163. wrfactortypeid:
  22164. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22165. type: string
  22166. wrfactortypename:
  22167. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22168. type: string
  22169. wrpricetype:
  22170. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  22171. type: integer
  22172. wrstandardcode:
  22173. description: 现货商品代码
  22174. type: string
  22175. wrstandardid:
  22176. description: 现货商品ID
  22177. type: integer
  22178. wrstandardname:
  22179. description: 商品名称
  22180. type: string
  22181. wrtradeorderid:
  22182. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22183. type: string
  22184. wrtradeorderstatus:
  22185. 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:撤单解冻贷款失败
  22186. type: integer
  22187. wrtradetype:
  22188. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  22189. type: integer
  22190. wrtypename:
  22191. description: 商品
  22192. type: string
  22193. type: object
  22194. models.WrOrderQuote:
  22195. properties:
  22196. bannerpicurl:
  22197. description: Banner图
  22198. type: string
  22199. buyprice:
  22200. description: 买价
  22201. type: number
  22202. buypricemove:
  22203. description: 买升贴水(基差)
  22204. type: number
  22205. buyqty:
  22206. description: 买量
  22207. type: number
  22208. deliverygoodscode:
  22209. description: 品种代码
  22210. type: string
  22211. deliverygoodsid:
  22212. description: 品种id
  22213. type: integer
  22214. deliverygoodsname:
  22215. description: 品种名称
  22216. type: string
  22217. deliverymonth:
  22218. description: 交收月
  22219. type: string
  22220. enumdicname:
  22221. description: 单位名称
  22222. type: string
  22223. goodscode:
  22224. description: 商品合约(浮动价列表才有)
  22225. type: string
  22226. goodsid:
  22227. description: 商品id(浮动价列表才有)
  22228. type: integer
  22229. minivalue:
  22230. description: 现货商品最小变动值
  22231. type: integer
  22232. pictureurls:
  22233. description: 详情图片(逗号分隔)
  22234. type: string
  22235. sellprice:
  22236. description: 卖价
  22237. type: number
  22238. sellpricemove:
  22239. description: 卖升贴水(基差)
  22240. type: number
  22241. sellqty:
  22242. description: 卖量
  22243. type: number
  22244. spotgoodsprice:
  22245. description: 参考价(THJ)
  22246. type: number
  22247. thumurls:
  22248. description: 缩略图片(1:1)(逗号分隔)
  22249. type: string
  22250. warehousecode:
  22251. description: 仓库代码
  22252. type: string
  22253. warehouseid:
  22254. description: 仓库id
  22255. type: integer
  22256. warehousename:
  22257. description: 仓库名称
  22258. type: string
  22259. wrfactortypeid:
  22260. description: 仓单要素id
  22261. type: string
  22262. wrfactortypename:
  22263. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22264. type: string
  22265. wrgoodsname:
  22266. description: 商品(商品名称+仓库要素名称 拼接)
  22267. type: string
  22268. wrstandardcode:
  22269. description: 商品代码
  22270. type: string
  22271. wrstandardid:
  22272. description: 商品id
  22273. type: integer
  22274. wrstandardname:
  22275. description: 商品名称
  22276. type: string
  22277. type: object
  22278. models.WrOrderQuoteDetail:
  22279. properties:
  22280. buyorsell:
  22281. description: 买卖 - 0:买 1:卖
  22282. type: integer
  22283. delistminqty:
  22284. description: 期初均价
  22285. type: number
  22286. deliverymonth:
  22287. description: 交收月
  22288. type: string
  22289. enumdicname:
  22290. description: 单位名称
  22291. type: string
  22292. fixedprice:
  22293. description: 买(卖)价
  22294. type: number
  22295. marketid:
  22296. description: 市场id
  22297. type: integer
  22298. minivalue:
  22299. description: 现货商品最小变动值
  22300. type: integer
  22301. orderqty:
  22302. description: 买(卖)量(=委托量-成交量)
  22303. type: number
  22304. ordertime:
  22305. description: 委托时间
  22306. type: string
  22307. pricemove:
  22308. description: 买(卖)升贴水- 基差
  22309. type: number
  22310. userid:
  22311. description: 购买方(销售方)用户ID
  22312. type: integer
  22313. username:
  22314. description: 购买方(销售方)
  22315. type: string
  22316. wrtradeorderid:
  22317. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22318. type: string
  22319. type: object
  22320. models.WrOutInApply:
  22321. properties:
  22322. address:
  22323. description: 详细地址
  22324. type: string
  22325. applyid:
  22326. description: 申请单id
  22327. type: string
  22328. applystatus:
  22329. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  22330. 8:已撤销
  22331. type: integer
  22332. applytime:
  22333. description: 申请时间
  22334. type: string
  22335. applytype:
  22336. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  22337. type: integer
  22338. appointmentmodel:
  22339. description: 预约方式 - 1:物流 2:自送 3:自提
  22340. type: integer
  22341. appointmentmodeldisplay:
  22342. description: 预约方式(显示枚举)
  22343. type: string
  22344. appointmentremark:
  22345. description: 申请备注
  22346. type: string
  22347. bannerpicurl:
  22348. description: Banner图
  22349. type: string
  22350. begindate:
  22351. description: 开始交易日(yyyymmdd)
  22352. type: string
  22353. contactname:
  22354. description: 联系人
  22355. type: string
  22356. contactnum:
  22357. description: 联系方式
  22358. type: string
  22359. deliverygoodscode:
  22360. description: 品种代码
  22361. type: string
  22362. deliverygoodsid:
  22363. description: 品种ID
  22364. type: integer
  22365. deliverygoodsname:
  22366. description: 品种名称
  22367. type: string
  22368. enddate:
  22369. description: 结束交易日(yyyymmdd)
  22370. type: string
  22371. enumdicname:
  22372. description: 单位名称
  22373. type: string
  22374. expresscompany:
  22375. description: 物流公司
  22376. type: string
  22377. expressnum:
  22378. description: 物流单号
  22379. type: string
  22380. minivalue:
  22381. description: 现货商品最小变动值
  22382. type: integer
  22383. optioncompare:
  22384. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22385. type: string
  22386. qty:
  22387. description: 数量
  22388. type: integer
  22389. userid:
  22390. description: 用户id
  22391. type: integer
  22392. warehouseid:
  22393. description: 仓库ID
  22394. type: integer
  22395. warehousename:
  22396. description: 仓库名称
  22397. type: string
  22398. wrfactortypeid:
  22399. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22400. type: string
  22401. wrfactortypename:
  22402. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22403. type: string
  22404. wrstandardcode:
  22405. description: 现货商品代码
  22406. type: string
  22407. wrstandardid:
  22408. description: 现货商品ID
  22409. type: integer
  22410. wrstandardname:
  22411. description: 商品名称
  22412. type: string
  22413. wrtypename:
  22414. description: 商品
  22415. type: string
  22416. type: object
  22417. models.WrPerformancePlan:
  22418. properties:
  22419. activatemonth:
  22420. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  22421. type: string
  22422. amount:
  22423. description: 履约金额(总金额)
  22424. type: number
  22425. begindate:
  22426. description: 开始交易日(yyyymmdd)
  22427. type: string
  22428. buyaccountid:
  22429. description: 买方账号
  22430. type: integer
  22431. buyerfreezeamount:
  22432. description: 履约冻结(买履约)
  22433. type: number
  22434. buyerfreezeamountremain:
  22435. description: 履约冻结剩余(买履约)
  22436. type: number
  22437. buyorsell:
  22438. description: 买卖方向 0-买 1-卖
  22439. type: integer
  22440. buypaidamount:
  22441. description: 买方已冻/已扣金额 (已付金额)
  22442. type: number
  22443. buyusername:
  22444. description: 买方名字
  22445. type: string
  22446. contractid:
  22447. description: 合同ID
  22448. type: integer
  22449. createtime:
  22450. description: 创建时间
  22451. type: string
  22452. creatorid:
  22453. description: 创建人
  22454. type: integer
  22455. curstepdeadline:
  22456. description: 当前步骤到期时间
  22457. type: string
  22458. curstepid:
  22459. description: 当前步骤ID
  22460. type: string
  22461. curstepname:
  22462. description: 当前步骤名称
  22463. type: string
  22464. deliverygoodscode:
  22465. description: 品种代码
  22466. type: string
  22467. deliverygoodsid:
  22468. description: 品种ID
  22469. type: integer
  22470. deliverygoodsname:
  22471. description: 品种名称
  22472. type: string
  22473. enddate:
  22474. description: 结束交易日(yyyymmdd)
  22475. type: string
  22476. enumdicname:
  22477. description: 单位名称
  22478. type: string
  22479. expressfee:
  22480. description: 运费
  22481. type: number
  22482. expressfeeconfirmed:
  22483. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  22484. type: integer
  22485. hasovershort:
  22486. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  22487. type: integer
  22488. haswr:
  22489. description: 类型 0-仓单预售 1-仓单贸易
  22490. type: integer
  22491. marketid:
  22492. description: 市场ID
  22493. type: integer
  22494. middleaccountid:
  22495. description: 中间商资金账号ID
  22496. type: integer
  22497. middleuserid:
  22498. description: 中间商用户ID
  22499. type: integer
  22500. minivalue:
  22501. description: 现货商品最小变动值
  22502. type: integer
  22503. optioncompare:
  22504. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22505. type: string
  22506. overshortamount:
  22507. description: 溢短金额
  22508. type: number
  22509. overshortqty:
  22510. description: 溢短数量
  22511. type: number
  22512. paymenttype:
  22513. description: 付款方式 - 1:冻结 2:扣款
  22514. type: integer
  22515. performanceplanid:
  22516. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  22517. type: string
  22518. performancestatus:
  22519. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  22520. 9:超时待处理 10:超时关闭
  22521. type: integer
  22522. performancetype:
  22523. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  22524. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  22525. type: integer
  22526. qty:
  22527. description: 履约数量
  22528. type: number
  22529. relatedorderid:
  22530. description: 关联单号(履约类型的关联单号)
  22531. type: string
  22532. remark:
  22533. description: 备注
  22534. type: string
  22535. sellaccountid:
  22536. description: 卖方账号
  22537. type: integer
  22538. sellerfreezeamount:
  22539. description: 履约冻结(卖履约)
  22540. type: number
  22541. sellerfreezeamountremain:
  22542. description: 履约冻结剩余(卖履约)
  22543. type: number
  22544. sellreceivedamount:
  22545. description: 卖方已收金额
  22546. type: number
  22547. sellusername:
  22548. description: 卖方名字
  22549. type: string
  22550. shipremark:
  22551. description: 发货备注[物流单号]
  22552. type: string
  22553. starttime:
  22554. description: 开始时间
  22555. type: string
  22556. steptypeid:
  22557. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22558. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22559. type: integer
  22560. typename:
  22561. description: 履约类型 名称
  22562. type: string
  22563. unpaidamount:
  22564. description: 期初均价
  22565. type: number
  22566. userid:
  22567. description: 用户id
  22568. type: integer
  22569. warehouseid:
  22570. description: 仓库ID
  22571. type: integer
  22572. warehousename:
  22573. description: 仓库名称
  22574. type: string
  22575. wrfactortypeid:
  22576. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22577. type: string
  22578. wrfactortypename:
  22579. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22580. type: string
  22581. wrstandardcode:
  22582. description: 现货商品代码
  22583. type: string
  22584. wrstandardid:
  22585. description: 现货商品ID
  22586. type: integer
  22587. wrstandardname:
  22588. description: 商品名称
  22589. type: string
  22590. wrtransferuserid:
  22591. description: 仓单受让用户
  22592. type: integer
  22593. wrtypename:
  22594. description: 商品
  22595. type: string
  22596. required:
  22597. - userid
  22598. type: object
  22599. models.WrPerformancePlanStep:
  22600. properties:
  22601. delaydays:
  22602. description: 延期申请天数
  22603. type: integer
  22604. deliverygoodscode:
  22605. description: 品种代码
  22606. type: string
  22607. deliverygoodsid:
  22608. description: 品种ID
  22609. type: integer
  22610. deliverygoodsname:
  22611. description: 品种名称
  22612. type: string
  22613. endtime:
  22614. description: 结束日期
  22615. type: string
  22616. enumdicname:
  22617. description: 单位名称
  22618. type: string
  22619. executeside:
  22620. description: 步骤执行方 - 1:买方 2:卖方
  22621. type: integer
  22622. handlestatus:
  22623. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  22624. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  22625. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  22626. type: integer
  22627. isauto:
  22628. description: 是否自动 - 0:不自动 1:自动
  22629. type: integer
  22630. islastreceivestep:
  22631. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  22632. type: integer
  22633. minivalue:
  22634. description: 现货商品最小变动值
  22635. type: integer
  22636. optioncompare:
  22637. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22638. type: string
  22639. overdays:
  22640. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  22641. type: integer
  22642. performancestepid:
  22643. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  22644. type: string
  22645. planid:
  22646. description: 所属履约计划ID
  22647. type: string
  22648. realamount:
  22649. description: 实际完成金额
  22650. type: number
  22651. relatedorderid:
  22652. description: 关联单号
  22653. type: string
  22654. remaindays:
  22655. description: 剩余天数
  22656. type: integer
  22657. remark:
  22658. description: 错误备注
  22659. type: string
  22660. starttime:
  22661. description: 开始日期
  22662. type: string
  22663. stepamount:
  22664. description: 步骤金额
  22665. type: number
  22666. stepdays:
  22667. description: 距离上一步天数(分钟)
  22668. type: integer
  22669. stepindex:
  22670. description: 步骤序号
  22671. type: integer
  22672. steplanchtype:
  22673. description: 步骤启动类型 - 1:系统自动 2:手动
  22674. type: integer
  22675. stepremark:
  22676. description: 步骤备注
  22677. type: string
  22678. stepstatus:
  22679. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  22680. type: integer
  22681. steptypeid:
  22682. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22683. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22684. type: integer
  22685. steptypename:
  22686. description: 步骤名称
  22687. type: string
  22688. stepvalue:
  22689. description: 步骤值
  22690. type: number
  22691. warehouseid:
  22692. description: 仓库ID
  22693. type: integer
  22694. warehousename:
  22695. description: 仓库名称
  22696. type: string
  22697. wrfactortypeid:
  22698. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22699. type: string
  22700. wrfactortypename:
  22701. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22702. type: string
  22703. wrstandardcode:
  22704. description: 现货商品代码
  22705. type: string
  22706. wrstandardid:
  22707. description: 现货商品ID
  22708. type: integer
  22709. wrstandardname:
  22710. description: 商品名称
  22711. type: string
  22712. wrtypename:
  22713. description: 商品
  22714. type: string
  22715. type: object
  22716. models.WrPerformanceStepType:
  22717. properties:
  22718. canauto:
  22719. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  22720. type: integer
  22721. steptypeid:
  22722. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  22723. type: integer
  22724. steptypename:
  22725. description: 步骤类型名称
  22726. type: string
  22727. type: object
  22728. models.WrPerformanceTemplateEx:
  22729. properties:
  22730. autoid:
  22731. description: AutoID 模板id
  22732. type: integer
  22733. createtime:
  22734. description: 创建时间
  22735. type: string
  22736. creatorid:
  22737. description: 创建人
  22738. type: integer
  22739. lstStep:
  22740. description: 步骤信息列表
  22741. items:
  22742. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  22743. type: array
  22744. paymenttype:
  22745. description: 支付方式 - 1:冻结 2:扣款
  22746. type: integer
  22747. takemode:
  22748. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  22749. type: integer
  22750. templatename:
  22751. description: 模板名称
  22752. type: string
  22753. templatetype:
  22754. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  22755. (无仓单) 5:挂牌期权 6:竞拍-降价式
  22756. type: integer
  22757. userid:
  22758. description: 所属用户
  22759. type: integer
  22760. type: object
  22761. models.WrPosition:
  22762. properties:
  22763. accountid:
  22764. description: 帐户ID
  22765. type: integer
  22766. buyexcuteqty:
  22767. description: 采购履约中数量
  22768. type: number
  22769. creditcurqty:
  22770. description: 授信当前数量(预售仓单:预售当前量)
  22771. type: number
  22772. creditenableqty:
  22773. description: '授信可用数量(预售仓单: 可用数量)'
  22774. type: number
  22775. creditfreezeqty:
  22776. description: '授信冻结数量(预售仓单: 当前数量)'
  22777. type: number
  22778. credittotalqty:
  22779. description: 授信总数量(预售仓单:预售总量)
  22780. type: number
  22781. credittradeqty:
  22782. description: 授信成交数量(预售仓单:成交总量)
  22783. type: number
  22784. deliverygoodscode:
  22785. description: 品种代码
  22786. type: string
  22787. deliverygoodsid:
  22788. description: 品种ID
  22789. type: integer
  22790. deliverygoodsname:
  22791. description: 品种名称
  22792. type: string
  22793. enalbeqty:
  22794. description: 可用数量
  22795. type: number
  22796. enumdicname:
  22797. description: 单位名称
  22798. type: string
  22799. freezeqty:
  22800. description: 总冻结数量
  22801. type: number
  22802. haswr:
  22803. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22804. type: integer
  22805. minivalue:
  22806. description: 现货商品最小变动值
  22807. type: integer
  22808. modifytime:
  22809. description: 修改时间(过户时间)
  22810. type: string
  22811. optioncompare:
  22812. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22813. type: string
  22814. pledgeqty:
  22815. description: 质押数量
  22816. type: number
  22817. querytype:
  22818. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  22819. type: integer
  22820. sellexcuteqty:
  22821. description: 销售履约中数量
  22822. type: number
  22823. totalqty:
  22824. description: 总数量(库存数量)
  22825. type: number
  22826. warehouseid:
  22827. description: 仓库ID
  22828. type: integer
  22829. warehousename:
  22830. description: 仓库名称
  22831. type: string
  22832. wrfactortypeid:
  22833. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22834. type: string
  22835. wrfactortypename:
  22836. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22837. type: string
  22838. wrpositionid:
  22839. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  22840. type: string
  22841. wrpositionno:
  22842. description: 仓单编号
  22843. type: string
  22844. wrstandardcode:
  22845. description: 现货商品代码
  22846. type: string
  22847. wrstandardid:
  22848. description: 现货商品ID
  22849. type: integer
  22850. wrstandardname:
  22851. description: 商品名称
  22852. type: string
  22853. wrtypename:
  22854. description: 商品
  22855. type: string
  22856. wruserid:
  22857. description: 持有人ID
  22858. type: integer
  22859. type: object
  22860. models.WrPreSaleInfo:
  22861. properties:
  22862. bannerpicurl:
  22863. description: Banner图
  22864. type: string
  22865. baseqty:
  22866. description: 中签基数
  22867. type: number
  22868. createtime:
  22869. description: 创建时间
  22870. type: string
  22871. deliverygoodsid:
  22872. description: 现货品种ID
  22873. type: integer
  22874. enddate:
  22875. description: 预售结束日期
  22876. type: string
  22877. enumdicname:
  22878. description: 单位名称
  22879. type: string
  22880. lotteryflag:
  22881. description: 摇号标识 - 0:未摇号 1:已摇号
  22882. type: integer
  22883. lotteryqty:
  22884. description: 摇号总量
  22885. type: number
  22886. luckyqty:
  22887. description: 已中签量
  22888. type: number
  22889. marketid:
  22890. description: 市场ID
  22891. type: integer
  22892. maxbuyqty:
  22893. description: 单人最大申购量
  22894. type: number
  22895. maxluckyqty:
  22896. description: 单人最大中签量
  22897. type: number
  22898. pictureurls:
  22899. description: 详情图片(逗号分隔)
  22900. type: string
  22901. placeqty:
  22902. description: 已配售量
  22903. type: number
  22904. presaleapplyid:
  22905. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  22906. example: "0"
  22907. type: string
  22908. presaleqty:
  22909. description: 预售总量
  22910. type: number
  22911. presalestatus:
  22912. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  22913. type: integer
  22914. sellaccountid:
  22915. description: 发行方资金账户ID
  22916. type: integer
  22917. selluserid:
  22918. description: 发行方用户ID
  22919. type: integer
  22920. sellwrtradeorderid:
  22921. description: 发行方卖委托单ID
  22922. type: string
  22923. startdate:
  22924. description: 预售开始日期
  22925. type: string
  22926. takestartdate:
  22927. description: 提货开始日期
  22928. type: string
  22929. thumurls:
  22930. description: 缩略图片(1:1)(逗号分隔)
  22931. type: string
  22932. tradedate:
  22933. description: 交易日
  22934. type: string
  22935. unitid:
  22936. description: 单位ID
  22937. type: integer
  22938. unitprice:
  22939. description: 商品单价
  22940. type: number
  22941. username:
  22942. description: 发行方用户名称
  22943. type: string
  22944. warehousecode:
  22945. description: 仓库代码(仓库简称)
  22946. type: string
  22947. warehouseid:
  22948. description: 仓库ID
  22949. type: integer
  22950. warehousename:
  22951. description: 仓库名称
  22952. type: string
  22953. wrfactortypeid:
  22954. description: 仓单要素类型ID - 根据现货商品\仓库生成
  22955. example: "0"
  22956. type: string
  22957. wrstandardid:
  22958. description: 现货商品ID
  22959. type: integer
  22960. wrstandardname:
  22961. description: 现货商品名称
  22962. type: string
  22963. type: object
  22964. models.WrQuoteOrderMyq:
  22965. properties:
  22966. buyorsell:
  22967. description: 买卖 - 0:买 1:卖
  22968. type: integer
  22969. canbargain:
  22970. description: 是否可议价 - 0:不可 1:可
  22971. type: integer
  22972. canpart:
  22973. description: 是否允许部份摘牌 - 0:不允许 1:允许
  22974. type: integer
  22975. delistminqty:
  22976. description: 期初均价
  22977. type: number
  22978. deliverygoodscode:
  22979. description: 品种代码
  22980. type: string
  22981. deliverygoodsid:
  22982. description: 品种ID
  22983. type: integer
  22984. deliverygoodsname:
  22985. description: 品种名称
  22986. type: string
  22987. deliverymonth:
  22988. description: 交收月
  22989. type: string
  22990. enumdicname:
  22991. description: 单位名称
  22992. type: string
  22993. fixedprice:
  22994. description: 买(卖)价
  22995. type: number
  22996. goodscode:
  22997. description: 商品合约代码
  22998. type: string
  22999. marginflag:
  23000. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  23001. type: integer
  23002. marginvalue:
  23003. description: 保证金设置值
  23004. type: number
  23005. minivalue:
  23006. description: 现货商品最小变动值
  23007. type: integer
  23008. orderqty:
  23009. description: 买(卖)量(=委托量-成交量)
  23010. type: number
  23011. ordertime:
  23012. description: 委托时间
  23013. type: string
  23014. performancetemplateid:
  23015. description: 履约模板id
  23016. type: integer
  23017. pricemove:
  23018. description: 买(卖)升贴水- 基差
  23019. type: number
  23020. templatename:
  23021. description: 履约模板名称
  23022. type: string
  23023. userid:
  23024. description: 购买方(销售方)用户ID
  23025. type: integer
  23026. username:
  23027. description: 购买方(销售方)
  23028. type: string
  23029. validtime:
  23030. description: 有效期限
  23031. type: string
  23032. validtype:
  23033. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  23034. type: integer
  23035. warehousename:
  23036. description: 仓库名称
  23037. type: string
  23038. wrfactortypeid:
  23039. description: 仓单要素id
  23040. type: string
  23041. wrstandardcode:
  23042. description: 现货商品代码
  23043. type: string
  23044. wrstandardid:
  23045. description: 现货商品ID
  23046. type: integer
  23047. wrstandardname:
  23048. description: 商品名称
  23049. type: string
  23050. wrtradeorderid:
  23051. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23052. type: string
  23053. wrtypename:
  23054. description: 商品
  23055. type: string
  23056. type: object
  23057. models.WrReckonSpotGoodsTradeSum:
  23058. properties:
  23059. begindate:
  23060. description: 开始日期(结果含开始日期) yyyymmdd
  23061. type: string
  23062. enddate:
  23063. description: 结束日期(结果含结束日期) yyyymmdd
  23064. type: string
  23065. istoday:
  23066. description: 是否当日
  23067. type: boolean
  23068. marketid:
  23069. description: 市场ID
  23070. type: integer
  23071. price:
  23072. description: 价格 = 日成交金额 / 日成交数量
  23073. type: string
  23074. reckondate:
  23075. description: 日期 格式 yyyymmdd
  23076. type: string
  23077. tradeamount:
  23078. description: 期初均价
  23079. type: number
  23080. tradeqty:
  23081. description: 期初均价
  23082. type: number
  23083. wrstandardid:
  23084. description: 现货商品ID
  23085. type: integer
  23086. type: object
  23087. models.WrScfContract:
  23088. properties:
  23089. borroweruserid:
  23090. description: 借款用户ID
  23091. type: integer
  23092. buybackwrpositionqty:
  23093. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  23094. type: number
  23095. closeinterest:
  23096. description: 已结利息 -> 已结费用
  23097. type: number
  23098. currisklevel:
  23099. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  23100. type: integer
  23101. deadline:
  23102. description: 截止日期(yyyyMMdd) -> 借款到期时间
  23103. type: string
  23104. deliverygoodscode:
  23105. description: 品种代码
  23106. type: string
  23107. deliverygoodsid:
  23108. description: 品种ID
  23109. type: integer
  23110. deliverygoodsname:
  23111. description: 品种名称
  23112. type: string
  23113. enumdicname:
  23114. description: 单位名称
  23115. type: string
  23116. financingdays:
  23117. description: 天数(天)
  23118. type: integer
  23119. initmargin:
  23120. description: 保证金 - [仓单回购]
  23121. type: number
  23122. interestamount:
  23123. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  23124. type: number
  23125. interestdebt:
  23126. description: 利息欠款(记录负数) -> 费用欠款
  23127. type: number
  23128. interestminlen:
  23129. description: 最小起息天数
  23130. type: integer
  23131. interestrate:
  23132. description: 利率
  23133. type: number
  23134. interestratemode:
  23135. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  23136. type: integer
  23137. interestsettlemode:
  23138. description: 结息方式 - 1:按日结息 3:按月结息
  23139. type: integer
  23140. interestsettlevalue:
  23141. description: 结息方式值
  23142. type: integer
  23143. isautoloan:
  23144. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  23145. type: integer
  23146. lastcloseinterestday:
  23147. description: 最近结息日(yyyyMMdd)
  23148. type: string
  23149. lenderamount:
  23150. description: 贷款金额 -> 借款金额
  23151. type: number
  23152. lenderuserid:
  23153. description: 贷款方用户ID -> 融出方用户ID
  23154. type: integer
  23155. lenderusername:
  23156. description: 融出方
  23157. type: string
  23158. marginratio:
  23159. description: 保证金比率质押率 - [仓单质押]
  23160. type: number
  23161. marketid:
  23162. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  23163. type: integer
  23164. minivalue:
  23165. description: 现货商品最小变动值
  23166. type: integer
  23167. optioncompare:
  23168. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23169. type: string
  23170. pricemove:
  23171. description: 估值升贴水值
  23172. type: number
  23173. productdetailid:
  23174. description: 产品组合ID
  23175. type: integer
  23176. productid:
  23177. description: 金融产品ID
  23178. type: integer
  23179. productname:
  23180. description: 产品名称
  23181. type: string
  23182. remainamount:
  23183. description: 合同剩余金额 -> 剩余金额
  23184. type: number
  23185. remainwrpositionqty:
  23186. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  23187. type: number
  23188. remark:
  23189. description: 备注
  23190. type: string
  23191. scfcontractid:
  23192. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  23193. type: string
  23194. scfcontractstatus:
  23195. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  23196. 9:违约结束 10:已注销 11:已关闭 99:未提交
  23197. type: integer
  23198. scfcontracttype:
  23199. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  23200. type: integer
  23201. startinterestday:
  23202. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  23203. type: string
  23204. totalinterest:
  23205. description: 已计利息 -> 已计费用
  23206. type: number
  23207. unpaidinterest:
  23208. description: 期初均价
  23209. type: number
  23210. updatetime:
  23211. description: 更新时间
  23212. type: string
  23213. warehouseid:
  23214. description: 仓库ID
  23215. type: integer
  23216. warehousename:
  23217. description: 仓库名称
  23218. type: string
  23219. wrfactortypeid:
  23220. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23221. type: string
  23222. wrfactortypename:
  23223. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23224. type: string
  23225. wrqty:
  23226. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  23227. type: number
  23228. wrstandardcode:
  23229. description: 现货商品代码
  23230. type: string
  23231. wrstandardid:
  23232. description: 现货商品ID
  23233. type: integer
  23234. wrstandardname:
  23235. description: 商品名称
  23236. type: string
  23237. wrtypename:
  23238. description: 商品
  23239. type: string
  23240. type: object
  23241. models.WrScfContractInterest:
  23242. properties:
  23243. closeinterest:
  23244. description: 已结利息
  23245. type: number
  23246. closeintereststatus:
  23247. description: 结息状态 - 1:未结 2:已结
  23248. type: integer
  23249. closetime:
  23250. description: 结息时间
  23251. type: string
  23252. closetradedate:
  23253. description: 结息交易日
  23254. type: string
  23255. creatorid:
  23256. description: 操作人ID
  23257. type: integer
  23258. dayrate:
  23259. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  23260. type: number
  23261. interest:
  23262. description: 利息
  23263. type: number
  23264. interestamount:
  23265. description: 计息金额
  23266. type: number
  23267. interestday:
  23268. description: 计息日(yyyyMMdd)
  23269. type: string
  23270. scfcontractid:
  23271. description: SCF合同ID
  23272. type: string
  23273. scfcontractinterestid:
  23274. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  23275. type: integer
  23276. updatetime:
  23277. description: 更新时间
  23278. type: string
  23279. type: object
  23280. models.WrSearchUser:
  23281. properties:
  23282. userid:
  23283. description: 用户ID
  23284. type: integer
  23285. username:
  23286. description: 用户名称(已脱敏)
  23287. type: string
  23288. username2:
  23289. description: 用户名称(未脱敏)
  23290. type: string
  23291. usertype:
  23292. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  23293. type: integer
  23294. required:
  23295. - username
  23296. type: object
  23297. models.WrSiteColumnDetail:
  23298. properties:
  23299. author:
  23300. description: 作者
  23301. type: string
  23302. brief:
  23303. description: 简介
  23304. type: string
  23305. context:
  23306. description: 内容
  23307. type: string
  23308. coverimage:
  23309. description: 封面图片
  23310. type: string
  23311. creaedate:
  23312. description: 创建时间
  23313. type: string
  23314. id:
  23315. description: ID(SEQ_SITE_COLUMNDETAIL)
  23316. type: integer
  23317. istop:
  23318. description: 是否置顶 - 0:不置 1:置顶
  23319. type: integer
  23320. publishdate:
  23321. description: 发布日期
  23322. type: string
  23323. title:
  23324. description: 标题
  23325. type: string
  23326. updatedate:
  23327. description: 修改时间
  23328. type: string
  23329. type: object
  23330. models.WrSpecialMatchOrder:
  23331. properties:
  23332. amount:
  23333. description: 金额 = 数量 * 价格
  23334. type: number
  23335. buyorsell:
  23336. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23337. type: integer
  23338. cancelqty:
  23339. description: 撤销数量
  23340. type: number
  23341. deliverygoodscode:
  23342. description: 品种代码
  23343. type: string
  23344. deliverygoodsid:
  23345. description: 品种ID
  23346. type: integer
  23347. deliverygoodsname:
  23348. description: 品种名称
  23349. type: string
  23350. enumdicname:
  23351. description: 单位名称
  23352. type: string
  23353. fixedprice:
  23354. description: 固定价格(价格)
  23355. type: number
  23356. haswr:
  23357. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23358. type: integer
  23359. isspecified:
  23360. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  23361. type: integer
  23362. marketid:
  23363. description: 市场ID
  23364. type: integer
  23365. matchuserid:
  23366. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  23367. type: integer
  23368. matchusername:
  23369. description: 指定方
  23370. type: string
  23371. minivalue:
  23372. description: 现货商品最小变动值
  23373. type: integer
  23374. optioncompare:
  23375. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23376. type: string
  23377. orderqty:
  23378. description: 委托数量
  23379. type: number
  23380. ordertime:
  23381. description: 委托时间
  23382. type: string
  23383. pricemove:
  23384. description: 升贴水(浮动价时填写) - [挂牌]
  23385. type: number
  23386. tradedate:
  23387. description: 交易日(yyyyMMdd)
  23388. type: string
  23389. tradeprice:
  23390. description: 成交价格
  23391. type: number
  23392. tradeqty:
  23393. description: 成交数量
  23394. type: number
  23395. userid:
  23396. description: 用户ID
  23397. type: integer
  23398. username:
  23399. description: 发起方
  23400. type: string
  23401. warehouseid:
  23402. description: 仓库ID
  23403. type: integer
  23404. warehousename:
  23405. description: 仓库名称
  23406. type: string
  23407. wrfactortypeid:
  23408. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23409. type: string
  23410. wrfactortypename:
  23411. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23412. type: string
  23413. wrpricetype:
  23414. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  23415. type: integer
  23416. wrstandardcode:
  23417. description: 现货商品代码
  23418. type: string
  23419. wrstandardid:
  23420. description: 现货商品ID
  23421. type: integer
  23422. wrstandardname:
  23423. description: 商品名称
  23424. type: string
  23425. wrtradeorderid:
  23426. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23427. type: string
  23428. wrtradeorderstatus:
  23429. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  23430. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  23431. type: integer
  23432. wrtradetype:
  23433. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23434. type: integer
  23435. wrtypename:
  23436. description: 商品
  23437. type: string
  23438. type: object
  23439. models.WrSpotGroupTradeSum:
  23440. properties:
  23441. deliverygoodscode:
  23442. description: 现货品种代码
  23443. type: string
  23444. deliverygoodsid:
  23445. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23446. type: integer
  23447. deliverygoodsname:
  23448. description: 现货品种名称
  23449. type: string
  23450. lastavgprice:
  23451. description: 上上个交易日价格(前2天价格)
  23452. type: string
  23453. lastreckondate:
  23454. description: 上上个交易日(前2天交易日)
  23455. type: string
  23456. reckondate:
  23457. description: 上个交易日(前1天交易日)
  23458. type: string
  23459. todayavgprice:
  23460. description: 上个交易日价格(前1天价格)
  23461. type: string
  23462. updown:
  23463. description: 涨跌
  23464. type: string
  23465. updownratio:
  23466. description: 涨幅(已格式化, 直接显示即可)
  23467. type: string
  23468. type: object
  23469. models.WrSpotGroupTradeSumDetail:
  23470. properties:
  23471. deliverygoodsid:
  23472. description: 现货商品id
  23473. type: integer
  23474. price:
  23475. description: 价格
  23476. type: number
  23477. reckondate:
  23478. description: 日期(yyymmdd, 如:20211031)
  23479. type: string
  23480. type: object
  23481. models.WrSpotGroupTradeSumEx:
  23482. properties:
  23483. lst:
  23484. description: 指数列表
  23485. items:
  23486. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  23487. type: array
  23488. prereckondate:
  23489. description: 上上个交易日(yyymmdd)
  23490. type: string
  23491. reckondate:
  23492. description: 上个交易日(yyyymmdd)
  23493. type: string
  23494. type: object
  23495. models.WrStandardFactoryItem:
  23496. properties:
  23497. dgfactoryitemid:
  23498. description: 选择项id
  23499. type: integer
  23500. dgfactoryitemvalue:
  23501. description: 要素项值
  23502. type: string
  23503. warehouseid:
  23504. description: 仓库id
  23505. type: integer
  23506. type: object
  23507. models.WrStandardFactoryItemEx:
  23508. properties:
  23509. dgfactoryitemtypeid:
  23510. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  23511. type: integer
  23512. itemlst:
  23513. description: 要素项列表
  23514. items:
  23515. $ref: '#/definitions/models.WrStandardFactoryItem'
  23516. type: array
  23517. itemtypename:
  23518. description: 要素项类型名称
  23519. type: string
  23520. wrstandardid:
  23521. description: 品类
  23522. type: integer
  23523. type: object
  23524. models.WrTradeDetail:
  23525. properties:
  23526. accountid:
  23527. description: 资金账号
  23528. type: integer
  23529. bannerpicurl:
  23530. description: Banner图
  23531. type: string
  23532. begindate:
  23533. description: 开始交易日(yyyymmdd)
  23534. type: string
  23535. buyorsell:
  23536. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23537. type: integer
  23538. chargevalue:
  23539. description: 手续费
  23540. type: number
  23541. contractaddr:
  23542. description: 合同地址
  23543. type: string
  23544. deliverygoodscode:
  23545. description: 品种代码
  23546. type: string
  23547. deliverygoodsid:
  23548. description: 品种ID
  23549. type: integer
  23550. deliverygoodsname:
  23551. description: 品种名称
  23552. type: string
  23553. deliverymonth:
  23554. description: 交收月
  23555. type: string
  23556. enddate:
  23557. description: 结束交易日(yyyymmdd)
  23558. type: string
  23559. enumdicname:
  23560. description: 单位名称
  23561. type: string
  23562. haswr:
  23563. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23564. type: integer
  23565. marketid:
  23566. description: 市场ID
  23567. type: integer
  23568. matchaccountid:
  23569. description: 对手账号
  23570. type: integer
  23571. matchusername:
  23572. description: 对手方
  23573. type: string
  23574. minivalue:
  23575. description: 现货商品最小变动值
  23576. type: integer
  23577. optioncompare:
  23578. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23579. type: string
  23580. thumurls:
  23581. description: 缩略图
  23582. type: string
  23583. tradedate:
  23584. description: 交易日(yyyyMMdd)
  23585. type: string
  23586. tradeprice:
  23587. description: 成交价格
  23588. type: number
  23589. tradeqty:
  23590. description: 成交数量
  23591. type: number
  23592. tradetime:
  23593. description: 成交时间
  23594. type: string
  23595. unitid:
  23596. description: 现货商品单位ID
  23597. type: integer
  23598. userid:
  23599. description: 用户ID
  23600. type: integer
  23601. warehouseid:
  23602. description: 仓库ID
  23603. type: integer
  23604. warehousename:
  23605. description: 仓库名称
  23606. type: string
  23607. wrfactortypeid:
  23608. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23609. type: string
  23610. wrfactortypename:
  23611. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23612. type: string
  23613. wrstandardcode:
  23614. description: 现货商品代码
  23615. type: string
  23616. wrstandardid:
  23617. description: 现货商品ID
  23618. type: integer
  23619. wrstandardname:
  23620. description: 商品名称
  23621. type: string
  23622. wrtradedetailid:
  23623. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23624. type: string
  23625. wrtradetype:
  23626. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23627. type: integer
  23628. wrtypename:
  23629. description: 商品
  23630. type: string
  23631. type: object
  23632. models.WrTradeOrderDetail:
  23633. properties:
  23634. buyorsell:
  23635. description: 买卖方向 0-买 1-卖
  23636. type: integer
  23637. goodsid:
  23638. description: 商品id
  23639. type: integer
  23640. orderid:
  23641. description: 委托单号
  23642. type: string
  23643. orderprice:
  23644. description: 期初均价
  23645. type: number
  23646. orderqty:
  23647. description: 委托数量
  23648. type: integer
  23649. userid:
  23650. description: 用户id
  23651. type: integer
  23652. username:
  23653. description: 用户名称(已脱敏)
  23654. type: string
  23655. type: object
  23656. models.WrTypeItem:
  23657. properties:
  23658. name:
  23659. description: 名称
  23660. type: string
  23661. value:
  23662. description: 值
  23663. type: string
  23664. type: object
  23665. models.WrUserFriend:
  23666. properties:
  23667. friendname:
  23668. description: 朋友名称(已脱敏)
  23669. type: string
  23670. frienduserid:
  23671. description: 朋友id
  23672. type: integer
  23673. isfriend:
  23674. description: 是否好友 0-不是 1-是
  23675. type: integer
  23676. userid:
  23677. description: 用户id
  23678. type: integer
  23679. type: object
  23680. models.WrUserReceiptInfo:
  23681. properties:
  23682. address:
  23683. description: 地址[发票类型:企业]
  23684. type: string
  23685. autoid:
  23686. description: AutoID
  23687. type: integer
  23688. contactinfo:
  23689. description: 联系方式
  23690. type: string
  23691. email:
  23692. description: 收件邮箱
  23693. type: string
  23694. idnum:
  23695. description: 身份证号码[发票类型:个人]
  23696. type: string
  23697. isdefault:
  23698. description: 是否默认地址 - 0:否 1:是
  23699. type: integer
  23700. receiptaccount:
  23701. description: 发票帐号[发票类型:企业]
  23702. type: string
  23703. receiptbank:
  23704. description: 发票开户行[发票类型:企业]
  23705. type: string
  23706. receipttype:
  23707. description: 发票类型 - 1:个人 2:企业
  23708. type: integer
  23709. taxpayerid:
  23710. description: 纳税人识别号
  23711. type: string
  23712. userid:
  23713. description: 用户ID
  23714. type: integer
  23715. username:
  23716. description: 户名(个人姓名或企业名称)
  23717. type: string
  23718. type: object
  23719. models.Wrtradetradequote:
  23720. properties:
  23721. buyaccountid:
  23722. description: 买方账号ID
  23723. type: integer
  23724. buychargevalue:
  23725. description: 买方手续费
  23726. type: number
  23727. buyuserid:
  23728. description: 买方用户ID
  23729. type: integer
  23730. deliverygoodsid:
  23731. description: 现货品种ID
  23732. type: integer
  23733. exchangerate:
  23734. description: 汇率
  23735. type: number
  23736. marketid:
  23737. description: 市场ID
  23738. type: integer
  23739. oritradeamount:
  23740. description: 成交金额[商品币种]
  23741. type: number
  23742. performanceplanid:
  23743. description: 履约计划ID/合同ID
  23744. type: integer
  23745. sellaccountid:
  23746. description: 卖方账号ID
  23747. type: integer
  23748. sellchargevalue:
  23749. description: 卖方手续费
  23750. type: number
  23751. selluserid:
  23752. description: 卖方用户ID
  23753. type: integer
  23754. tradeamount:
  23755. description: 成交金额
  23756. type: number
  23757. tradedate:
  23758. description: 交易日(yyyyMMdd)
  23759. type: string
  23760. tradeprice:
  23761. description: 成交价格
  23762. type: number
  23763. tradeqty:
  23764. description: 成交数量
  23765. type: integer
  23766. tradetime:
  23767. description: 成交时间
  23768. type: string
  23769. wrfactortypeid:
  23770. description: 仓单要素类型ID
  23771. type: integer
  23772. wrstandardid:
  23773. description: 现货商品ID
  23774. type: integer
  23775. wrtradedetailid:
  23776. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23777. type: integer
  23778. type: object
  23779. models.XHBRAND:
  23780. properties:
  23781. brandid:
  23782. description: 品牌id
  23783. type: integer
  23784. brandname:
  23785. description: 品牌名称
  23786. type: string
  23787. isvalid:
  23788. description: 是否有效 0-无效 1-有效
  23789. type: integer
  23790. type: object
  23791. models.XHDeliveryGoods:
  23792. properties:
  23793. areauserid:
  23794. description: 所属机构
  23795. type: integer
  23796. bdlst:
  23797. description: 品牌列表
  23798. items:
  23799. $ref: '#/definitions/models.XHBRAND'
  23800. type: array
  23801. deliverygoodscode:
  23802. description: 现货品种代码
  23803. type: string
  23804. deliverygoodsid:
  23805. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23806. type: integer
  23807. deliverygoodsname:
  23808. description: 现货品种名称
  23809. type: string
  23810. dgstatus:
  23811. description: 品种状态 - 作废 - 0:未激活 1:正常
  23812. type: integer
  23813. filterSubEmpty:
  23814. description: 过滤下级为空的
  23815. type: integer
  23816. isvalid:
  23817. description: 是否有效 - 0:无效 1:有效
  23818. type: integer
  23819. remark:
  23820. description: 备注
  23821. type: string
  23822. unitid:
  23823. description: 单位id(目前看,数据库中是空值)
  23824. type: integer
  23825. wdlst:
  23826. description: 品类(现货商品)列表
  23827. items:
  23828. $ref: '#/definitions/models.XHWrstandard'
  23829. type: array
  23830. type: object
  23831. models.XHMiddleGoods:
  23832. properties:
  23833. GPLST:
  23834. description: 期货品种列表
  23835. items:
  23836. $ref: '#/definitions/models.TBGoodsGroup'
  23837. type: array
  23838. convertratio:
  23839. description: 拆算系数
  23840. type: number
  23841. costratio:
  23842. description: 成本权重
  23843. type: number
  23844. deliverygoodsid:
  23845. description: 现货商品id
  23846. type: integer
  23847. enumdicname:
  23848. description: 单位名称
  23849. type: string
  23850. middlegoodscode:
  23851. description: 套保品种代码
  23852. type: string
  23853. middlegoodsid:
  23854. description: 套保品种id
  23855. type: integer
  23856. middlegoodsname:
  23857. description: 套保品种名称
  23858. type: string
  23859. unitid:
  23860. description: 单位id
  23861. type: integer
  23862. type: object
  23863. models.XHWrstandard:
  23864. properties:
  23865. bannerpicurl:
  23866. description: banner图
  23867. type: string
  23868. deliverygoodsid:
  23869. description: 品种ID
  23870. type: integer
  23871. enumdicname:
  23872. description: 单位名称
  23873. type: string
  23874. mglst:
  23875. description: 套保品列表
  23876. items:
  23877. $ref: '#/definitions/models.XHMiddleGoods'
  23878. type: array
  23879. pictureurls:
  23880. description: 详情图片(逗号分隔)
  23881. type: string
  23882. thumurls:
  23883. description: 缩略图片(1:1)(逗号分隔)
  23884. type: string
  23885. unitid:
  23886. description: 单位id
  23887. type: integer
  23888. vatrate:
  23889. description: 增值税率
  23890. type: number
  23891. wrstandardcode:
  23892. description: 现货商品代码
  23893. type: string
  23894. wrstandardid:
  23895. description: 现货商品ID(SEQ_WRSTANDARD)
  23896. type: integer
  23897. wrstandardname:
  23898. description: 现货商品名称
  23899. type: string
  23900. type: object
  23901. models.XhcpSellBackApplyEx:
  23902. properties:
  23903. applyremark:
  23904. description: 申请备注
  23905. type: string
  23906. expirytype:
  23907. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23908. type: integer
  23909. goodsspec:
  23910. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23911. type: integer
  23912. holeflag:
  23913. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23914. type: integer
  23915. isunopened:
  23916. description: 是否原封 - 1:否 2:是
  23917. type: integer
  23918. mpflag:
  23919. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23920. type: integer
  23921. openflag:
  23922. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23923. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23924. type: integer
  23925. phonenum:
  23926. description: 联系电话
  23927. type: string
  23928. userid:
  23929. description: 所属用户ID
  23930. type: integer
  23931. zpflag:
  23932. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23933. type: integer
  23934. required:
  23935. - userid
  23936. type: object
  23937. models.Xhcpsellbackapply:
  23938. properties:
  23939. applyid:
  23940. description: 申请人
  23941. type: integer
  23942. applyremark:
  23943. description: 申请备注
  23944. type: string
  23945. applysrc:
  23946. description: 申请来源 - 1:管理端 2:终端
  23947. type: integer
  23948. applystatus:
  23949. description: 申请状态 - 1:待确认 2:已处理
  23950. type: integer
  23951. applytime:
  23952. description: 申请时间
  23953. type: string
  23954. auditremark:
  23955. description: 审核备注
  23956. type: string
  23957. auditsrc:
  23958. description: 审核来源 - 1:管理端 2:终端
  23959. type: integer
  23960. expirytype:
  23961. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23962. type: integer
  23963. goodsspec:
  23964. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23965. type: integer
  23966. holeflag:
  23967. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23968. type: integer
  23969. isunopened:
  23970. description: 是否原封 - 1:否 2:是
  23971. type: integer
  23972. mpflag:
  23973. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23974. type: integer
  23975. openflag:
  23976. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23977. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23978. type: integer
  23979. phonenum:
  23980. description: 联系电话
  23981. type: string
  23982. sellbackapplyid:
  23983. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  23984. type: string
  23985. userid:
  23986. description: 所属用户ID
  23987. type: integer
  23988. zpflag:
  23989. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23990. type: integer
  23991. required:
  23992. - userid
  23993. type: object
  23994. order.QueryHisTradeDetailRsp:
  23995. properties:
  23996. accountid:
  23997. description: 账户ID[报价币种]
  23998. type: integer
  23999. advanceratio:
  24000. description: 首付比率
  24001. type: number
  24002. buildtype:
  24003. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  24004. type: integer
  24005. buyorsell:
  24006. description: 方向 - 0:买 1:卖
  24007. type: integer
  24008. charge:
  24009. description: 手续费
  24010. type: number
  24011. closecharge:
  24012. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24013. type: number
  24014. closeexchagechargevalue:
  24015. description: 平仓交易所手续费设置值
  24016. type: number
  24017. closefeealgorithm:
  24018. description: 平仓手续费收取方式 1:比率 2:固定
  24019. type: integer
  24020. closememberchargevalue:
  24021. description: 平仓会员手续费设置值
  24022. type: number
  24023. closepl:
  24024. description: 平仓盈亏
  24025. type: number
  24026. closepl2:
  24027. description: 平仓盈亏[逐笔]
  24028. type: number
  24029. closeqty:
  24030. description: 平仓数量(先建后平操作 需要记录)
  24031. type: number
  24032. creditamount:
  24033. description: 授信金额
  24034. type: number
  24035. decimalplace:
  24036. description: 商品报价小数位
  24037. type: integer
  24038. enumdicname:
  24039. description: 单位名称
  24040. type: string
  24041. gcaccountid:
  24042. description: 账户ID[合约币种]
  24043. type: integer
  24044. goodscode:
  24045. description: 商品代码
  24046. type: string
  24047. goodsid:
  24048. description: 商品ID
  24049. type: integer
  24050. goodsname:
  24051. description: 商品名称
  24052. type: string
  24053. goodunitid:
  24054. description: 商品单位id
  24055. type: integer
  24056. histradedate:
  24057. description: 历史交易日
  24058. type: string
  24059. intclosepl:
  24060. description: 整型盈亏(用于交易结算试算平衡-收益权)
  24061. type: integer
  24062. isconfirmexercise:
  24063. description: 是否确认行权- 0:否 1:是
  24064. type: integer
  24065. ismain:
  24066. description: 是否主单 - 0:不是 1:是
  24067. type: integer
  24068. ispreexercise:
  24069. description: 是否预申报- 0:否 1:是
  24070. type: integer
  24071. isreckoned:
  24072. description: 是否结算 - 0:未结算 1:已结算
  24073. type: integer
  24074. isvaliddata:
  24075. description: 是否有效 - 0:无效 1:有效
  24076. type: integer
  24077. listingselecttype:
  24078. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24079. type: integer
  24080. marketid:
  24081. description: 市场ID
  24082. type: integer
  24083. marketname:
  24084. description: 市场名称
  24085. type: string
  24086. matchaccountid:
  24087. description: 对手账号id
  24088. type: integer
  24089. memberuserid:
  24090. description: 会员id 个人投资者 需要填写
  24091. type: integer
  24092. opencharge:
  24093. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24094. type: number
  24095. openexchagechargevalue:
  24096. description: 建仓交易所手续费设置值
  24097. type: number
  24098. openfeealgorithm:
  24099. description: 建仓手续费收取方式 1:比率 2:固定
  24100. type: integer
  24101. openmemberchargevalue:
  24102. description: 建仓会员手续费设置值
  24103. type: number
  24104. openqty:
  24105. description: 开仓数量(先建后平操作 需要记录)
  24106. type: number
  24107. optiontype:
  24108. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24109. type: integer
  24110. orderid:
  24111. description: 委托单号
  24112. type: string
  24113. payamount:
  24114. description: 支付金额(付款金额)
  24115. type: number
  24116. performanceplanid:
  24117. description: 履约计划ID[期权]
  24118. type: integer
  24119. performancestatus:
  24120. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24121. type: integer
  24122. preexerciseprice:
  24123. description: 预申报价格
  24124. type: number
  24125. premium:
  24126. description: 权利金 - [持仓单的权利金]
  24127. type: number
  24128. qtydecimalplace:
  24129. description: 商品报价小数位
  24130. type: integer
  24131. recvamount:
  24132. description: 到账金额 = 成交金额 - 手续费
  24133. type: number
  24134. relatedouttradeid:
  24135. description: 关联外部成交单ID
  24136. type: integer
  24137. status:
  24138. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24139. type: integer
  24140. totalamount:
  24141. description: 订单总额 = 成交金额 + 手续费
  24142. type: number
  24143. tradeamount:
  24144. description: 成交金额[账户币种,用于所有权]
  24145. type: number
  24146. tradedate:
  24147. description: 交易日(yyyyMMdd)
  24148. type: string
  24149. tradeid:
  24150. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24151. type: string
  24152. trademode:
  24153. description: 交易模式
  24154. type: integer
  24155. tradeprice:
  24156. description: 成交价格
  24157. type: number
  24158. tradeproperty:
  24159. description: 交易属性
  24160. type: integer
  24161. tradeqty:
  24162. description: 成交数量
  24163. type: number
  24164. tradetime:
  24165. description: 成交时间
  24166. type: string
  24167. tradetype:
  24168. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24169. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24170. type: integer
  24171. required:
  24172. - accountid
  24173. - buyorsell
  24174. - goodsid
  24175. - histradedate
  24176. - marketid
  24177. - memberuserid
  24178. - orderid
  24179. - tradeamount
  24180. - tradedate
  24181. - tradeid
  24182. - tradeprice
  24183. - tradeqty
  24184. - tradetime
  24185. type: object
  24186. order.QueryHisTradeOrderDetailRsp:
  24187. properties:
  24188. accountid:
  24189. description: 账户ID[报价币种]
  24190. type: integer
  24191. buildtype:
  24192. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24193. type: integer
  24194. buyorsell:
  24195. description: 买卖 - 0:买 1:卖
  24196. type: integer
  24197. cancelorderid:
  24198. description: 撤单单号(撤单时填写)
  24199. type: string
  24200. cancelqty:
  24201. description: 撤单数量
  24202. type: number
  24203. clientordertime:
  24204. description: 客户端委托时间
  24205. type: string
  24206. clientticket:
  24207. description: 客户端流水号
  24208. type: string
  24209. clienttype:
  24210. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24211. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24212. type: integer
  24213. closeexchagechargevalue:
  24214. description: 平仓交易所手续费设置值
  24215. type: number
  24216. closefeealgorithm:
  24217. description: 平仓手续费收取方式 1:比率 2:固定
  24218. type: integer
  24219. closefreezecharge:
  24220. description: 平仓冻结手续费(先建后平操作,需要记录)
  24221. type: number
  24222. closememberchargevalue:
  24223. description: 平仓会员手续费设置值
  24224. type: number
  24225. closeqty:
  24226. description: 平仓数量(先建后平操作 需要记录)
  24227. type: number
  24228. closetradeqty:
  24229. description: 平仓成交数量(先建后平操作,需要记录)
  24230. type: number
  24231. closeunfreezecharge:
  24232. description: 平仓解冻手续费(先建后平操作,需要记录)
  24233. type: number
  24234. decimalplace:
  24235. description: 商品报价小数位
  24236. type: integer
  24237. delistingtype:
  24238. description: 摘牌类型 - 1:价格最优 2:点选成交
  24239. type: integer
  24240. enumdicname:
  24241. description: 单位名称
  24242. type: string
  24243. freezecharge:
  24244. description: 冻结手续费
  24245. type: number
  24246. freezemargin:
  24247. description: 冻结保证金(冻结交易金额)
  24248. type: number
  24249. gcaccountid:
  24250. description: 账户ID[合约币种]
  24251. type: integer
  24252. goodscode:
  24253. description: 商品代码
  24254. type: string
  24255. goodsid:
  24256. description: 商品ID
  24257. type: integer
  24258. goodsname:
  24259. description: 商品名称
  24260. type: string
  24261. goodunitid:
  24262. description: 商品单位id
  24263. type: integer
  24264. histradedate:
  24265. description: 历史交易日
  24266. type: string
  24267. isconfirmexercise:
  24268. description: 是否确认行权- 0:否 1:是
  24269. type: integer
  24270. ispreexercise:
  24271. description: 是否预申报- 0:否 1:是
  24272. type: integer
  24273. isvaliddata:
  24274. description: 是否有效 - 0:无效 1:有效
  24275. type: integer
  24276. listingselecttype:
  24277. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24278. type: integer
  24279. marginalgorithm:
  24280. description: 保证金收取方式 1:比率 2:固定
  24281. type: integer
  24282. marginvalue:
  24283. description: 即市保证金设置值
  24284. type: number
  24285. marketid:
  24286. description: 市场ID
  24287. type: integer
  24288. marketmaxsub:
  24289. description: 市价最大偏移范围
  24290. type: number
  24291. marketname:
  24292. description: 市场名称
  24293. type: string
  24294. memberuserid:
  24295. description: 所属会员UserID
  24296. type: integer
  24297. openexchagechargevalue:
  24298. description: 建仓交易所手续费设置值
  24299. type: number
  24300. openfeealgorithm:
  24301. description: 建仓手续费收取方式 1:比率 2:固定
  24302. type: integer
  24303. openfreezecharge:
  24304. description: 开仓冻结手续费(先建后平操作,需要记录)
  24305. type: number
  24306. openmemberchargevalue:
  24307. description: 建仓会员手续费设置值
  24308. type: number
  24309. openqty:
  24310. description: 开仓数量(先建后平操作,需要记录)
  24311. type: number
  24312. opentradeqty:
  24313. description: 开仓成交数量(先建后平操作,需要记录)
  24314. type: number
  24315. openunfreezecharge:
  24316. description: 开仓解冻手续费(先建后平操作,需要记录)
  24317. type: number
  24318. operatetype:
  24319. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24320. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24321. 15:管理端协议转让
  24322. type: integer
  24323. operatorid:
  24324. description: 登录账号(LoginID)
  24325. type: integer
  24326. optiontype:
  24327. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24328. type: integer
  24329. orderid:
  24330. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24331. type: string
  24332. orderprice:
  24333. description: 委托价格
  24334. type: number
  24335. orderqty:
  24336. description: 委托数量
  24337. type: number
  24338. ordersrc:
  24339. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24340. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24341. type: integer
  24342. orderstatus:
  24343. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24344. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24345. 16:成交失败违约(荷兰式竞拍专用)
  24346. type: integer
  24347. ordertime:
  24348. description: 委托时间
  24349. type: string
  24350. preexerciseprice:
  24351. description: 预申报价格
  24352. type: number
  24353. premium:
  24354. description: 权利金
  24355. type: number
  24356. preorderid:
  24357. description: 关联预埋单号(止盈止损单时填写)
  24358. type: string
  24359. pricemode:
  24360. description: '取价方式 - 1:市价 2: 限价'
  24361. type: integer
  24362. qtydecimalplace:
  24363. description: 成交量小数位
  24364. type: integer
  24365. quoteid:
  24366. description: 报价单ID
  24367. type: integer
  24368. relatedid:
  24369. description: 关联单号(交割单)
  24370. type: string
  24371. retcode:
  24372. description: 错误代码
  24373. type: integer
  24374. sessionid:
  24375. description: 会话ID
  24376. type: integer
  24377. tradedate:
  24378. description: 交易日(yyyyMMdd)
  24379. type: string
  24380. trademode:
  24381. description: 交易模式
  24382. type: integer
  24383. tradeproperty:
  24384. description: 交易属性
  24385. type: integer
  24386. tradeqty:
  24387. description: 成交数量
  24388. type: number
  24389. unfreezecharge:
  24390. description: 解冻手续费
  24391. type: number
  24392. unfreezemargin:
  24393. description: 解冻保证金
  24394. type: number
  24395. updatetime:
  24396. description: 更新时间
  24397. type: string
  24398. uuid:
  24399. description: 发起端唯一id
  24400. type: string
  24401. validtime:
  24402. description: 有效期限
  24403. type: string
  24404. validtype:
  24405. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24406. type: integer
  24407. volumetype:
  24408. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24409. type: integer
  24410. required:
  24411. - accountid
  24412. - buildtype
  24413. - buyorsell
  24414. - goodsid
  24415. - histradedate
  24416. - marketid
  24417. - memberuserid
  24418. - operatetype
  24419. - orderid
  24420. - orderqty
  24421. - ordertime
  24422. - pricemode
  24423. - tradedate
  24424. - validtype
  24425. type: object
  24426. order.QueryTradeDetailRsp:
  24427. properties:
  24428. accountid:
  24429. description: 账户ID[报价币种]
  24430. type: integer
  24431. advanceratio:
  24432. description: 首付比率
  24433. type: number
  24434. buildtype:
  24435. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  24436. type: integer
  24437. buyorsell:
  24438. description: 方向 - 0:买 1:卖
  24439. type: integer
  24440. charge:
  24441. description: 手续费
  24442. type: number
  24443. closecharge:
  24444. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24445. type: number
  24446. closeexchagechargevalue:
  24447. description: 平仓交易所手续费设置值
  24448. type: number
  24449. closefeealgorithm:
  24450. description: 平仓手续费收取方式 1:比率 2:固定
  24451. type: integer
  24452. closememberchargevalue:
  24453. description: 平仓会员手续费设置值
  24454. type: number
  24455. closepl:
  24456. description: 平仓盈亏
  24457. type: number
  24458. closepl2:
  24459. description: 平仓盈亏[逐笔]
  24460. type: number
  24461. closeqty:
  24462. description: 平仓数量(先建后平操作 需要记录)
  24463. type: number
  24464. creditamount:
  24465. description: 授信金额
  24466. type: number
  24467. decimalplace:
  24468. description: 商品报价小数位
  24469. type: integer
  24470. enumdicname:
  24471. description: 单位名称
  24472. type: string
  24473. gcaccountid:
  24474. description: 账户ID[合约币种]
  24475. type: integer
  24476. goodscode:
  24477. description: 商品代码
  24478. type: string
  24479. goodsid:
  24480. description: 商品ID
  24481. type: integer
  24482. goodsname:
  24483. description: 商品名称
  24484. type: string
  24485. goodunitid:
  24486. description: 商品单位id
  24487. type: integer
  24488. intclosepl:
  24489. description: 整型盈亏(用于交易结算试算平衡-收益权)
  24490. type: integer
  24491. isconfirmexercise:
  24492. description: 是否确认行权- 0:否 1:是
  24493. type: integer
  24494. ismain:
  24495. description: 是否主单 - 0:不是 1:是
  24496. type: integer
  24497. ispreexercise:
  24498. description: 是否预申报- 0:否 1:是
  24499. type: integer
  24500. isreckoned:
  24501. description: 是否结算 - 0:未结算 1:已结算
  24502. type: integer
  24503. listingselecttype:
  24504. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24505. type: integer
  24506. marketid:
  24507. description: 市场ID
  24508. type: integer
  24509. marketname:
  24510. description: 市场名称
  24511. type: string
  24512. matchaccountid:
  24513. description: 对手账号id
  24514. type: integer
  24515. memberuserid:
  24516. description: 会员id 个人投资者 需要填写
  24517. type: integer
  24518. opencharge:
  24519. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24520. type: number
  24521. openexchagechargevalue:
  24522. description: 建仓交易所手续费设置值
  24523. type: number
  24524. openfeealgorithm:
  24525. description: 建仓手续费收取方式 1:比率 2:固定
  24526. type: integer
  24527. openmemberchargevalue:
  24528. description: 建仓会员手续费设置值
  24529. type: number
  24530. openqty:
  24531. description: 开仓数量(先建后平操作 需要记录)
  24532. type: number
  24533. optiontype:
  24534. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24535. type: integer
  24536. orderid:
  24537. description: 委托单号
  24538. type: string
  24539. payamount:
  24540. description: 支付金额(付款金额)
  24541. type: number
  24542. performanceplanid:
  24543. description: 履约计划ID[期权]
  24544. type: integer
  24545. performancestatus:
  24546. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24547. type: integer
  24548. preexerciseprice:
  24549. description: 预申报价格
  24550. type: number
  24551. premium:
  24552. description: 权利金 - [持仓单的权利金]
  24553. type: number
  24554. qtydecimalplace:
  24555. description: 商品报价小数位
  24556. type: integer
  24557. recvamount:
  24558. description: 到账金额 = 成交金额 - 手续费
  24559. type: number
  24560. relatedouttradeid:
  24561. description: 关联外部成交单ID
  24562. type: integer
  24563. status:
  24564. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24565. type: integer
  24566. totalamount:
  24567. description: 订单总额 = 成交金额 + 手续费
  24568. type: number
  24569. tradeamount:
  24570. description: 成交金额[账户币种,用于所有权]
  24571. type: number
  24572. tradedate:
  24573. description: 交易日(yyyyMMdd)
  24574. type: string
  24575. tradeid:
  24576. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24577. type: string
  24578. trademode:
  24579. description: 交易模式
  24580. type: integer
  24581. tradeprice:
  24582. description: 成交价格
  24583. type: number
  24584. tradeproperty:
  24585. description: 交易属性
  24586. type: integer
  24587. tradeqty:
  24588. description: 成交数量
  24589. type: number
  24590. tradetime:
  24591. description: 成交时间
  24592. type: string
  24593. tradetype:
  24594. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24595. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24596. type: integer
  24597. required:
  24598. - accountid
  24599. - buyorsell
  24600. - goodsid
  24601. - marketid
  24602. - memberuserid
  24603. - orderid
  24604. - tradeamount
  24605. - tradedate
  24606. - tradeid
  24607. - tradeprice
  24608. - tradeqty
  24609. - tradetime
  24610. type: object
  24611. order.QueryTradeOrderDetailRsp:
  24612. properties:
  24613. accountid:
  24614. description: 账户ID[报价币种]
  24615. type: integer
  24616. buildtype:
  24617. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24618. type: integer
  24619. buyorsell:
  24620. description: 买卖 - 0:买 1:卖
  24621. type: integer
  24622. cancelorderid:
  24623. description: 撤单单号(撤单时填写)
  24624. type: string
  24625. cancelqty:
  24626. description: 撤单数量
  24627. type: number
  24628. clienttype:
  24629. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24630. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24631. type: integer
  24632. closefreezecharge:
  24633. description: 平仓冻结手续费(先建后平操作,需要记录)
  24634. type: number
  24635. closeqty:
  24636. description: 平仓数量(先建后平操作 需要记录)
  24637. type: number
  24638. closetradeqty:
  24639. description: 平仓成交数量(先建后平操作,需要记录)
  24640. type: number
  24641. closeunfreezecharge:
  24642. description: 平仓解冻手续费(先建后平操作,需要记录)
  24643. type: number
  24644. decimalplace:
  24645. description: 商品报价小数位
  24646. type: integer
  24647. delistingtype:
  24648. description: 摘牌类型 - 1:价格最优 2:点选成交
  24649. type: integer
  24650. enableqty:
  24651. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  24652. type: number
  24653. enumdicname:
  24654. description: 单位名称
  24655. type: string
  24656. freezecharge:
  24657. description: 冻结手续费
  24658. type: number
  24659. freezemargin:
  24660. description: 冻结保证金(冻结交易金额)
  24661. type: number
  24662. goodscode:
  24663. description: 商品代码
  24664. type: string
  24665. goodsid:
  24666. description: 商品ID
  24667. type: integer
  24668. goodsname:
  24669. description: 商品名称
  24670. type: string
  24671. goodunitid:
  24672. description: 商品单位id
  24673. type: integer
  24674. listingselecttype:
  24675. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24676. type: integer
  24677. marketid:
  24678. description: 市场ID
  24679. type: integer
  24680. marketname:
  24681. description: 市场名称
  24682. type: string
  24683. openfreezecharge:
  24684. description: 开仓冻结手续费(先建后平操作,需要记录)
  24685. type: number
  24686. openqty:
  24687. description: 开仓数量(先建后平操作,需要记录)
  24688. type: number
  24689. opentradeqty:
  24690. description: 开仓成交数量(先建后平操作,需要记录)
  24691. type: number
  24692. openunfreezecharge:
  24693. description: 开仓解冻手续费(先建后平操作,需要记录)
  24694. type: number
  24695. operatetype:
  24696. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24697. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24698. 15:管理端协议转让
  24699. type: integer
  24700. operatorid:
  24701. description: 登录账号(LoginID)
  24702. type: integer
  24703. orderid:
  24704. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24705. type: string
  24706. orderprice:
  24707. description: 委托价格
  24708. type: number
  24709. orderqty:
  24710. description: 委托数量
  24711. type: number
  24712. ordersrc:
  24713. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24714. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24715. type: integer
  24716. orderstatus:
  24717. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24718. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24719. 16:成交失败违约(荷兰式竞拍专用)
  24720. type: integer
  24721. ordertime:
  24722. description: 委托时间
  24723. type: string
  24724. preorderid:
  24725. description: 关联预埋单号(止盈止损单时填写)
  24726. type: string
  24727. pricemode:
  24728. description: '取价方式 - 1:市价 2: 限价'
  24729. type: integer
  24730. qtydecimalplace:
  24731. description: 商品报价小数位
  24732. type: integer
  24733. relatedid:
  24734. description: 关联单号(交割单)
  24735. type: string
  24736. tradedate:
  24737. description: 交易日(yyyyMMdd)
  24738. type: string
  24739. trademode:
  24740. description: 交易模式
  24741. type: integer
  24742. tradeqty:
  24743. description: 成交数量
  24744. type: number
  24745. unfreezecharge:
  24746. description: 解冻手续费
  24747. type: number
  24748. unfreezemargin:
  24749. description: 解冻保证金
  24750. type: number
  24751. validtime:
  24752. description: 有效期限
  24753. type: string
  24754. validtype:
  24755. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24756. type: integer
  24757. volumetype:
  24758. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24759. type: integer
  24760. required:
  24761. - accountid
  24762. - buildtype
  24763. - buyorsell
  24764. - goodsid
  24765. - marketid
  24766. - operatetype
  24767. - orderqty
  24768. - ordertime
  24769. - pricemode
  24770. - tradedate
  24771. - validtype
  24772. type: object
  24773. order.QueryTradePositionRsp:
  24774. properties:
  24775. accountid:
  24776. description: 资金账户
  24777. type: integer
  24778. agreeunit:
  24779. description: 合约单位
  24780. type: number
  24781. averageprice:
  24782. description: 持仓均价
  24783. type: number
  24784. buyorsell:
  24785. description: 方向 - 0:买 1:卖
  24786. type: integer
  24787. closetotalqty:
  24788. description: 平仓总数量
  24789. type: number
  24790. curholderamount:
  24791. description: 当前持仓总金额[商品币种]
  24792. type: number
  24793. curpositionqty:
  24794. description: 当前持仓总数量
  24795. type: number
  24796. currencyid:
  24797. description: 报价货币ID
  24798. type: integer
  24799. curtdposition:
  24800. description: 期末今日头寸
  24801. type: number
  24802. decimalplace:
  24803. description: 报价小数位
  24804. type: integer
  24805. enableqty:
  24806. description: 可用量
  24807. type: number
  24808. fretdposition:
  24809. description: 冻结今日头寸
  24810. type: number
  24811. frozenqty:
  24812. description: 持仓冻结数量
  24813. type: number
  24814. goodscode:
  24815. description: 商品代码
  24816. type: string
  24817. goodsid:
  24818. description: 商品Id
  24819. type: integer
  24820. goodsname:
  24821. description: 商品名称
  24822. type: string
  24823. goodunit:
  24824. description: 报价单位
  24825. type: string
  24826. goodunitid:
  24827. description: 报价单位ID
  24828. type: integer
  24829. holderamount:
  24830. description: 期初持仓总金额[商品币种]
  24831. type: number
  24832. lastprice:
  24833. description: 最新价
  24834. type: number
  24835. marketamount:
  24836. description: 市值
  24837. type: number
  24838. marketid:
  24839. description: 所属市场ID
  24840. type: integer
  24841. openreqqty:
  24842. description: 开仓申请数量(用于比较最大持仓数量)
  24843. type: number
  24844. opentotalqty:
  24845. description: 开仓总数量
  24846. type: number
  24847. otherfrozenqty:
  24848. description: 持仓其他冻结数量(交割冻结)
  24849. type: number
  24850. positionpl:
  24851. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  24852. * 合约单位
  24853. type: number
  24854. positionplrate:
  24855. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  24856. type: number
  24857. positionqty:
  24858. description: 期初持仓数量
  24859. type: number
  24860. qtydecimalplace:
  24861. description: 成交量小数位
  24862. type: integer
  24863. refgoodscode:
  24864. description: 参考商品代码
  24865. type: string
  24866. refgoodsid:
  24867. description: 参考商品ID
  24868. type: integer
  24869. tnqty:
  24870. description: T+N冻结总量
  24871. type: number
  24872. tnusedqty:
  24873. description: T+N使用量(可以使用T+N的冻结数量)
  24874. type: number
  24875. trademode:
  24876. description: 交易模式
  24877. type: integer
  24878. tradeproperty:
  24879. description: 交易属性
  24880. type: integer
  24881. usedmargin:
  24882. description: 占用保证金[商品币种]
  24883. type: number
  24884. required:
  24885. - goodsid
  24886. type: object
  24887. pb.GoodsMarginCfgStruct:
  24888. properties:
  24889. CustomerTypeID:
  24890. description: 投资者客户类型
  24891. type: integer
  24892. GoodsID:
  24893. description: 商品ID
  24894. type: integer
  24895. IsDefault:
  24896. description: 是否默认标志位
  24897. type: integer
  24898. LockMarginValue:
  24899. description: 锁仓保证金
  24900. type: number
  24901. MarginAlgorithm:
  24902. description: 保证金计算方式
  24903. type: integer
  24904. MarketMarginValue:
  24905. description: 即市保证金值
  24906. type: number
  24907. RealMarginAlgorithm:
  24908. description: 实付保证金计算方式
  24909. type: integer
  24910. RealMarginValue:
  24911. description: 实付比例
  24912. type: number
  24913. ReckonMarginValue:
  24914. description: 结算保证金值
  24915. type: number
  24916. type: object
  24917. quote.HistoryData:
  24918. properties:
  24919. c:
  24920. description: 收盘价
  24921. type: number
  24922. f:
  24923. description: 是否补充数据
  24924. type: boolean
  24925. h:
  24926. description: 最高价
  24927. type: number
  24928. hv:
  24929. description: 持仓量
  24930. type: integer
  24931. l:
  24932. description: 最低价
  24933. type: number
  24934. o:
  24935. description: 开盘价
  24936. type: number
  24937. s:
  24938. description: 结算价,日线周期(包括)以上才有
  24939. type: number
  24940. ts:
  24941. description: 时间
  24942. type: string
  24943. tt:
  24944. description: 总金额
  24945. type: number
  24946. tv:
  24947. description: 总量(成交量)
  24948. type: integer
  24949. type: object
  24950. quote.HistoryTikData:
  24951. properties:
  24952. AV:
  24953. description: 卖量
  24954. type: integer
  24955. Ask:
  24956. description: 卖价
  24957. type: number
  24958. BV:
  24959. description: 买量
  24960. type: integer
  24961. Bid:
  24962. description: 买价
  24963. type: number
  24964. HI:
  24965. description: 单笔持仓
  24966. type: integer
  24967. HV:
  24968. description: 持仓量
  24969. type: integer
  24970. PE:
  24971. description: 现价
  24972. type: number
  24973. TDR:
  24974. description: 交易方向,0:买 1:卖
  24975. type: integer
  24976. TK:
  24977. description: 交易类型
  24978. type: integer
  24979. TS:
  24980. description: 行情时间文本
  24981. type: string
  24982. TT:
  24983. description: 现金额
  24984. type: number
  24985. Vol:
  24986. description: 现量
  24987. type: integer
  24988. type: object
  24989. quote.QueryQuoteDayRsp:
  24990. properties:
  24991. ask:
  24992. description: 卖1
  24993. type: number
  24994. ask2:
  24995. description: 卖2
  24996. type: number
  24997. ask3:
  24998. description: 卖3
  24999. type: number
  25000. ask4:
  25001. description: 卖4
  25002. type: number
  25003. ask5:
  25004. description: 卖5
  25005. type: number
  25006. ask6:
  25007. description: 卖6
  25008. type: number
  25009. ask7:
  25010. description: 卖7
  25011. type: number
  25012. ask8:
  25013. description: 卖8
  25014. type: number
  25015. ask9:
  25016. description: 卖9
  25017. type: number
  25018. ask10:
  25019. description: 卖10
  25020. type: number
  25021. askorderid:
  25022. description: 卖单号1
  25023. type: integer
  25024. askorderid2:
  25025. description: 卖单号2
  25026. type: integer
  25027. askorderid3:
  25028. description: 卖单号3
  25029. type: integer
  25030. askorderid4:
  25031. description: 卖单号4
  25032. type: integer
  25033. askorderid5:
  25034. description: 卖单号5
  25035. type: integer
  25036. askordervolume:
  25037. description: 卖单量1
  25038. type: integer
  25039. askordervolume2:
  25040. description: 卖单量2
  25041. type: integer
  25042. askordervolume3:
  25043. description: 卖单量3
  25044. type: integer
  25045. askordervolume4:
  25046. description: 卖单量4
  25047. type: integer
  25048. askordervolume5:
  25049. description: 卖单量5
  25050. type: integer
  25051. askordervolume6:
  25052. description: 卖单量6
  25053. type: integer
  25054. askordervolume7:
  25055. description: 卖单量7
  25056. type: integer
  25057. askordervolume8:
  25058. description: 卖单量8
  25059. type: integer
  25060. askordervolume9:
  25061. description: 卖单量9
  25062. type: integer
  25063. askordervolume10:
  25064. description: 卖单量10
  25065. type: integer
  25066. askqueueinfo:
  25067. description: 大利市卖港股用
  25068. type: string
  25069. askvolume:
  25070. description: 卖量1
  25071. type: integer
  25072. askvolume2:
  25073. description: 卖量2
  25074. type: integer
  25075. askvolume3:
  25076. description: 卖量3
  25077. type: integer
  25078. askvolume4:
  25079. description: 卖量4
  25080. type: integer
  25081. askvolume5:
  25082. description: 卖量5
  25083. type: integer
  25084. askvolume6:
  25085. description: 卖量6
  25086. type: integer
  25087. askvolume7:
  25088. description: 卖量7
  25089. type: integer
  25090. askvolume8:
  25091. description: 卖量8
  25092. type: integer
  25093. askvolume9:
  25094. description: 卖量9
  25095. type: integer
  25096. askvolume10:
  25097. description: 卖量10
  25098. type: integer
  25099. averageprice:
  25100. description: 均价
  25101. type: number
  25102. bid:
  25103. description: 买1
  25104. type: number
  25105. bid2:
  25106. description: 买2
  25107. type: number
  25108. bid3:
  25109. description: 买3
  25110. type: number
  25111. bid4:
  25112. description: 买4
  25113. type: number
  25114. bid5:
  25115. description: 买5
  25116. type: number
  25117. bid6:
  25118. description: 买6
  25119. type: number
  25120. bid7:
  25121. description: 买7
  25122. type: number
  25123. bid8:
  25124. description: 买8
  25125. type: number
  25126. bid9:
  25127. description: 买9
  25128. type: number
  25129. bid10:
  25130. description: 买10
  25131. type: number
  25132. bidorderid:
  25133. description: 买单号1
  25134. type: integer
  25135. bidorderid2:
  25136. description: 买单号2
  25137. type: integer
  25138. bidorderid3:
  25139. description: 买单号3
  25140. type: integer
  25141. bidorderid4:
  25142. description: 买单号4
  25143. type: integer
  25144. bidorderid5:
  25145. description: 买单号5
  25146. type: integer
  25147. bidordervolume:
  25148. description: 买单量1
  25149. type: integer
  25150. bidordervolume2:
  25151. description: 买单量2
  25152. type: integer
  25153. bidordervolume3:
  25154. description: 买单量3
  25155. type: integer
  25156. bidordervolume4:
  25157. description: 买单量4
  25158. type: integer
  25159. bidordervolume5:
  25160. description: 买单量5
  25161. type: integer
  25162. bidordervolume6:
  25163. description: 买单量6
  25164. type: integer
  25165. bidordervolume7:
  25166. description: 买单量7
  25167. type: integer
  25168. bidordervolume8:
  25169. description: 买单量8
  25170. type: integer
  25171. bidordervolume9:
  25172. description: 买单量9
  25173. type: integer
  25174. bidordervolume10:
  25175. description: 买单量10
  25176. type: integer
  25177. bidqueueinfo:
  25178. description: 大利市买港股用
  25179. type: string
  25180. bidvolume:
  25181. description: 买量1
  25182. type: integer
  25183. bidvolume2:
  25184. description: 买量2
  25185. type: integer
  25186. bidvolume3:
  25187. description: 买量3
  25188. type: integer
  25189. bidvolume4:
  25190. description: 买量4
  25191. type: integer
  25192. bidvolume5:
  25193. description: 买量5
  25194. type: integer
  25195. bidvolume6:
  25196. description: 买量6
  25197. type: integer
  25198. bidvolume7:
  25199. description: 买量7
  25200. type: integer
  25201. bidvolume8:
  25202. description: 买量8
  25203. type: integer
  25204. bidvolume9:
  25205. description: 买量9
  25206. type: integer
  25207. bidvolume10:
  25208. description: 买量10
  25209. type: integer
  25210. calloptionpremiums:
  25211. description: 认购期权1
  25212. type: integer
  25213. calloptionpremiums2:
  25214. description: 认购期权2
  25215. type: integer
  25216. calloptionpremiums3:
  25217. description: 认购期权3
  25218. type: integer
  25219. calloptionpremiums4:
  25220. description: 认购期权4
  25221. type: integer
  25222. calloptionpremiums5:
  25223. description: 认购期权5
  25224. type: integer
  25225. cleartime:
  25226. description: 清盘时间
  25227. type: integer
  25228. exchangecode:
  25229. description: 交易所代码
  25230. type: integer
  25231. exchangedate:
  25232. description: 交易日
  25233. type: integer
  25234. goodscode:
  25235. description: 商品代码
  25236. type: string
  25237. grepmarketprice:
  25238. description: 暗盘价 港股专用
  25239. type: number
  25240. highest:
  25241. description: 最高价
  25242. type: number
  25243. holdincrement:
  25244. description: 单笔持仓
  25245. type: integer
  25246. holdvolume:
  25247. description: 持仓
  25248. type: integer
  25249. iep:
  25250. description: 平衡价 港股专用
  25251. type: number
  25252. iev:
  25253. description: 平衡量 港股专用
  25254. type: number
  25255. inventory:
  25256. description: 库存
  25257. type: integer
  25258. iscleared:
  25259. description: 是否清盘标志
  25260. type: integer
  25261. issettled:
  25262. description: 是否结算标志
  25263. type: integer
  25264. last:
  25265. description: 最新价
  25266. type: number
  25267. lastlot:
  25268. description: 最新成交手数
  25269. type: integer
  25270. lasttime:
  25271. description: 行情时间(只有现价变化行情时间才变化)
  25272. type: string
  25273. lastturnover:
  25274. description: 最新成交金额
  25275. type: number
  25276. lastvolume:
  25277. description: 最新成交量
  25278. type: integer
  25279. limitdown:
  25280. description: 跌停价
  25281. type: number
  25282. limitup:
  25283. description: 涨停价
  25284. type: number
  25285. lowest:
  25286. description: 最低价
  25287. type: number
  25288. nontotalholdervolume:
  25289. description: 非交易持仓量
  25290. type: integer
  25291. nontotallot:
  25292. description: 非交易总手数
  25293. type: integer
  25294. nontotalturnover:
  25295. description: 非交易总金额
  25296. type: integer
  25297. nontotalvolume:
  25298. description: 非交易总量
  25299. type: integer
  25300. opened:
  25301. description: 开盘价
  25302. type: number
  25303. opentime:
  25304. description: 开盘时间
  25305. type: string
  25306. orderid:
  25307. description: 序号
  25308. type: integer
  25309. preclose:
  25310. description: 昨收
  25311. type: number
  25312. preholdvolume:
  25313. description: 昨持仓
  25314. type: integer
  25315. presettle:
  25316. description: 昨结价
  25317. type: number
  25318. publictradetype:
  25319. description: 公共交易标志类型 港股专用
  25320. type: string
  25321. putoptionpremiums:
  25322. description: 认沽期权1
  25323. type: integer
  25324. putoptionpremiums2:
  25325. description: 认沽期权2
  25326. type: integer
  25327. putoptionpremiums3:
  25328. description: 认沽期权3
  25329. type: integer
  25330. putoptionpremiums4:
  25331. description: 认沽期权4
  25332. type: integer
  25333. putoptionpremiums5:
  25334. description: 认沽期权5
  25335. type: integer
  25336. settle:
  25337. description: 结算价
  25338. type: number
  25339. strikeprice:
  25340. description: 发行价
  25341. type: number
  25342. totalaskvolume:
  25343. description: 内盘
  25344. type: integer
  25345. totalbidvolume:
  25346. description: 外盘
  25347. type: integer
  25348. totallot:
  25349. description: 总手数
  25350. type: integer
  25351. totalturnover:
  25352. description: 总金额
  25353. type: number
  25354. totalvolume:
  25355. description: 总量
  25356. type: integer
  25357. utclasttime:
  25358. description: utc的行情时间
  25359. type: string
  25360. type: object
  25361. quote.QueryTSDataRsp:
  25362. properties:
  25363. Count:
  25364. description: 交易日应有数据个数
  25365. type: integer
  25366. decimalPlace:
  25367. description: 小数位
  25368. type: integer
  25369. endTime:
  25370. description: 结束时间
  25371. type: string
  25372. goodsCode:
  25373. description: 商品代码
  25374. type: string
  25375. historyDatas:
  25376. description: 历史数据
  25377. items:
  25378. $ref: '#/definitions/quote.HistoryData'
  25379. type: array
  25380. outGoodsCode:
  25381. description: 外部商品代码
  25382. type: string
  25383. preSettle:
  25384. description: 昨结价
  25385. type: number
  25386. runSteps:
  25387. description: 交易日开休市计划
  25388. items:
  25389. $ref: '#/definitions/quote.TSDataRunStep'
  25390. type: array
  25391. startTime:
  25392. description: 开始时间
  25393. type: string
  25394. tradeDate:
  25395. description: 交易日
  25396. type: string
  25397. type: object
  25398. quote.TSDataRunStep:
  25399. properties:
  25400. end:
  25401. description: 真实结束时间
  25402. type: string
  25403. endflag:
  25404. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  25405. type: integer
  25406. endtime:
  25407. description: 结束时间(HH:mm)
  25408. type: string
  25409. endweekday:
  25410. description: 结束周几
  25411. type: integer
  25412. groupid:
  25413. description: 分组ID
  25414. type: integer
  25415. runstep:
  25416. description: 运行阶段 - 2:连续交易
  25417. type: integer
  25418. sectionid:
  25419. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  25420. 结束时间=结算时间 结束周几=结算周几
  25421. type: integer
  25422. start:
  25423. description: 真实开始时间
  25424. type: string
  25425. startflag:
  25426. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  25427. type: integer
  25428. starttime:
  25429. description: 起始时间(HH:mm)
  25430. type: string
  25431. startweekday:
  25432. description: 起始周几
  25433. type: integer
  25434. tradeweekday:
  25435. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  25436. type: integer
  25437. type: object
  25438. szdz.QueryConvertLogRsp:
  25439. properties:
  25440. accountid:
  25441. description: 资金账户ID
  25442. type: integer
  25443. clientticket:
  25444. description: 客户端流水号
  25445. type: string
  25446. converttype:
  25447. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  25448. type: integer
  25449. createtime:
  25450. description: 记账时间
  25451. type: string
  25452. daymaxvalue:
  25453. description: 配置当日最大转入限制
  25454. type: number
  25455. daymaxvalue2:
  25456. description: 配置当日最大转入限制(转入)
  25457. type: number
  25458. goodscode:
  25459. description: 商品代码
  25460. type: string
  25461. goodsname:
  25462. description: 商品名称
  25463. type: string
  25464. handlestatus:
  25465. description: 处理状态
  25466. type: integer
  25467. innergoodsid:
  25468. description: 内部商品ID
  25469. type: integer
  25470. inratio:
  25471. description: 配置转入比值
  25472. type: integer
  25473. invalue:
  25474. description: 目标值
  25475. type: number
  25476. logid:
  25477. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  25478. type: integer
  25479. mobile:
  25480. description: 手机号码(加密存储)
  25481. type: string
  25482. outergoodscode:
  25483. description: 外部商品代码[JD\PD]
  25484. type: string
  25485. outratio:
  25486. description: 配置转出比值
  25487. type: integer
  25488. outvalue:
  25489. description: 源值
  25490. type: number
  25491. pddecimalplace:
  25492. description: PD小数位
  25493. type: integer
  25494. qty:
  25495. description: 数量
  25496. type: string
  25497. remark:
  25498. description: 备注
  25499. type: string
  25500. sessionid:
  25501. description: 会话ID
  25502. type: integer
  25503. timemaxvalue:
  25504. description: 配置单次最大转入限制
  25505. type: number
  25506. timemaxvalue2:
  25507. description: 配置单次最大转入限制(转入)
  25508. type: number
  25509. timeminvalue:
  25510. description: 配置单次最小数量限制
  25511. type: number
  25512. timeminvalue2:
  25513. description: 配置单次最小数量限制(转入)
  25514. type: number
  25515. tradedate:
  25516. description: 交易日(yyyyMMdd)
  25517. type: string
  25518. userid:
  25519. description: 用户ID
  25520. type: integer
  25521. required:
  25522. - logid
  25523. type: object
  25524. szdz.QueryGoodsPickupRsp:
  25525. properties:
  25526. accountid:
  25527. description: 账户ID
  25528. type: integer
  25529. address:
  25530. description: 提货人详细地址
  25531. type: string
  25532. auditer:
  25533. description: 审核人
  25534. type: integer
  25535. audittime:
  25536. description: 审核时间
  25537. type: string
  25538. cardnum:
  25539. description: 提货人证件号码
  25540. type: string
  25541. cardtypeid:
  25542. description: 提货人证件类型
  25543. type: integer
  25544. checkremark:
  25545. description: 审核备注
  25546. type: string
  25547. goodscode:
  25548. description: 商品代码
  25549. type: string
  25550. goodsid:
  25551. description: 商品ID
  25552. type: integer
  25553. goodsname:
  25554. description: 商品名称
  25555. type: string
  25556. handlestatus:
  25557. description: 处理状态
  25558. type: integer
  25559. marketid:
  25560. description: 市场ID
  25561. type: integer
  25562. phonenum:
  25563. description: 提货人联系方式
  25564. type: string
  25565. qty:
  25566. description: 提货数量
  25567. type: number
  25568. recivername:
  25569. description: 提货人姓名
  25570. type: string
  25571. reqtime:
  25572. description: 更新时间
  25573. type: string
  25574. takemode:
  25575. description: 提货方式 - 2:自提 3:配送
  25576. type: integer
  25577. takeorderid:
  25578. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  25579. type: string
  25580. takeorderstatus:
  25581. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25582. type: integer
  25583. takeremark:
  25584. description: 提货备注
  25585. type: string
  25586. tradedate:
  25587. description: 交易日(yyyyMMdd)
  25588. type: string
  25589. userid:
  25590. description: 用户ID
  25591. type: integer
  25592. required:
  25593. - takeorderid
  25594. type: object
  25595. szdz.QueryRecieptOrderRsp:
  25596. properties:
  25597. accountName:
  25598. description: 所属账号名称(已脱敏)
  25599. type: string
  25600. accountid:
  25601. description: 资金账号
  25602. type: integer
  25603. buyorsell:
  25604. description: 方向 - 0:买 1:卖
  25605. type: integer
  25606. enableqty:
  25607. description: 可摘数量
  25608. type: integer
  25609. goodscode:
  25610. description: 商品代码
  25611. type: string
  25612. goodsid:
  25613. description: 商品ID
  25614. type: integer
  25615. goodsname:
  25616. description: 商品名称
  25617. type: string
  25618. orderid:
  25619. description: 委托单号
  25620. type: string
  25621. orderprice:
  25622. description: 委托价格
  25623. type: number
  25624. ordertime:
  25625. description: 委托时间
  25626. type: string
  25627. tradedate:
  25628. description: 交易日(yyyyMMdd)
  25629. type: string
  25630. required:
  25631. - ordertime
  25632. type: object
  25633. szdz.QuerySZDZTradePositionRsp:
  25634. properties:
  25635. accountid:
  25636. description: 账号Id
  25637. type: integer
  25638. agreeunit:
  25639. description: 合约单位
  25640. type: number
  25641. averageprice:
  25642. description: 持仓均价
  25643. type: number
  25644. buyorsell:
  25645. description: 方向 - 0:买 1:卖
  25646. type: integer
  25647. closetotalqty:
  25648. description: 平仓总数量
  25649. type: integer
  25650. curholderamount:
  25651. description: 当前持仓总金额
  25652. type: number
  25653. curpositionqty:
  25654. description: 当前持仓总数量
  25655. type: integer
  25656. currencyid:
  25657. description: 报价货币ID
  25658. type: integer
  25659. curtdposition:
  25660. description: 期末今日头寸
  25661. type: integer
  25662. decimalplace:
  25663. description: 报价小数位
  25664. type: integer
  25665. enableqty:
  25666. description: 可用量
  25667. type: integer
  25668. fretdposition:
  25669. description: 冻结今日头寸
  25670. type: integer
  25671. frozenqty:
  25672. description: 持仓冻结数量
  25673. type: integer
  25674. goodscode:
  25675. description: 商品代码(内部)
  25676. type: string
  25677. goodsid:
  25678. description: 商品Id
  25679. type: integer
  25680. goodsname:
  25681. description: 商品名称
  25682. type: string
  25683. goodunit:
  25684. description: 报价单位
  25685. type: string
  25686. goodunitid:
  25687. description: 报价单位ID
  25688. type: integer
  25689. holderamount:
  25690. description: 期初持仓总金额
  25691. type: number
  25692. marketid:
  25693. description: 市场ID
  25694. type: integer
  25695. openreqqty:
  25696. description: 开仓申请数量
  25697. type: integer
  25698. opentotalqty:
  25699. description: 开仓总数量
  25700. type: integer
  25701. otherfrozenqty:
  25702. description: 持仓其他冻结数量(交割冻结)
  25703. type: integer
  25704. positionqty:
  25705. description: 期初持仓数量
  25706. type: integer
  25707. szdz3freezqty:
  25708. description: 尚志大宗转换冻结总数量
  25709. type: integer
  25710. tnqty:
  25711. description: T+N冻结总量
  25712. type: integer
  25713. tnusedqty:
  25714. description: T+N使用量
  25715. type: integer
  25716. trademode:
  25717. description: 交易模式
  25718. type: integer
  25719. usedmargin:
  25720. description: 占用保证金
  25721. type: number
  25722. type: object
  25723. taaccount.QueryAmountLogRsp:
  25724. properties:
  25725. accountid:
  25726. description: 资金账户ID
  25727. type: integer
  25728. agoodscode:
  25729. description: 竞拍商品代码
  25730. type: string
  25731. agoodsname:
  25732. description: 竞拍商品名称
  25733. type: string
  25734. amount:
  25735. description: 资金金额
  25736. type: number
  25737. amountadjusttype:
  25738. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25739. type: integer
  25740. autoid:
  25741. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25742. type: integer
  25743. balance:
  25744. description: 期初余额
  25745. type: number
  25746. businesscode:
  25747. description: 业务编号
  25748. type: integer
  25749. createtime:
  25750. description: 发生时间
  25751. type: string
  25752. currencyid:
  25753. description: 币种ID
  25754. type: integer
  25755. currentbalance:
  25756. description: 期末余额(变动后金额)
  25757. type: number
  25758. dgoodscode:
  25759. description: 交割商品代码
  25760. type: string
  25761. dgoodsname:
  25762. description: 交割商品名称
  25763. type: string
  25764. goodscode:
  25765. description: 商品代码
  25766. type: string
  25767. goodsid:
  25768. description: 商品ID
  25769. type: integer
  25770. goodsname:
  25771. description: 商品名称
  25772. type: string
  25773. marketid:
  25774. description: 市场ID
  25775. type: integer
  25776. marketname:
  25777. description: 市场名称
  25778. type: string
  25779. moneyticket:
  25780. description: 资金流水号:银行端流水号
  25781. type: integer
  25782. operatetype:
  25783. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25784. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25785. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25786. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25787. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25788. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25789. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25790. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25791. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25792. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25793. type: integer
  25794. relationorderid:
  25795. description: 关联单号
  25796. type: string
  25797. remark:
  25798. description: 备注
  25799. type: string
  25800. trademode:
  25801. description: 交易模式
  25802. type: integer
  25803. required:
  25804. - accountid
  25805. - amount
  25806. - amountadjusttype
  25807. - autoid
  25808. - balance
  25809. - createtime
  25810. - currentbalance
  25811. - operatetype
  25812. type: object
  25813. taaccount.QueryHisAmountLogRsp:
  25814. properties:
  25815. accountid:
  25816. description: 资金账户ID
  25817. type: integer
  25818. agoodscode:
  25819. description: 竞拍商品代码
  25820. type: string
  25821. agoodsname:
  25822. description: 竞拍商品名称
  25823. type: string
  25824. amount:
  25825. description: 资金金额
  25826. type: number
  25827. amountadjusttype:
  25828. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25829. type: integer
  25830. autoid:
  25831. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25832. type: integer
  25833. balance:
  25834. description: 期初余额
  25835. type: number
  25836. businesscode:
  25837. description: 业务编号
  25838. type: integer
  25839. createtime:
  25840. description: 发生时间
  25841. type: string
  25842. currencyid:
  25843. description: 币种ID
  25844. type: integer
  25845. currentbalance:
  25846. description: 期末余额(变动后金额)
  25847. type: number
  25848. dgoodscode:
  25849. description: 交割商品代码
  25850. type: string
  25851. dgoodsname:
  25852. description: 交割商品名称
  25853. type: string
  25854. goodscode:
  25855. description: 商品代码
  25856. type: string
  25857. goodsid:
  25858. description: 商品ID
  25859. type: integer
  25860. goodsname:
  25861. description: 商品名称
  25862. type: string
  25863. histradedate:
  25864. description: 历史交易日
  25865. type: string
  25866. isvaliddata:
  25867. description: 是否有效 - 0:无效 1:有效
  25868. type: integer
  25869. marketid:
  25870. description: 市场ID
  25871. type: integer
  25872. marketname:
  25873. description: 市场名称
  25874. type: string
  25875. moneyticket:
  25876. description: 资金流水号:银行端流水号
  25877. type: integer
  25878. operatetype:
  25879. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25880. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25881. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25882. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25883. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25884. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25885. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25886. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25887. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25888. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25889. type: integer
  25890. relationorderid:
  25891. description: 关联单号
  25892. type: string
  25893. remark:
  25894. description: 备注
  25895. type: string
  25896. trademode:
  25897. description: 交易模式
  25898. type: integer
  25899. required:
  25900. - accountid
  25901. - amount
  25902. - amountadjusttype
  25903. - autoid
  25904. - balance
  25905. - createtime
  25906. - currentbalance
  25907. - histradedate
  25908. - operatetype
  25909. type: object
  25910. trade.QueryRecieptOrderRsp:
  25911. properties:
  25912. accountName:
  25913. description: 所属账号名称(已脱敏)
  25914. type: string
  25915. accountid:
  25916. description: 资金账号
  25917. type: integer
  25918. buyorsell:
  25919. description: 方向 - 0:买 1:卖
  25920. type: integer
  25921. enableqty:
  25922. description: 可摘数量
  25923. type: integer
  25924. goodscode:
  25925. description: 商品代码
  25926. type: string
  25927. goodsid:
  25928. description: 商品ID
  25929. type: integer
  25930. goodsname:
  25931. description: 商品名称
  25932. type: string
  25933. orderid:
  25934. description: 委托单号
  25935. type: string
  25936. orderprice:
  25937. description: 委托价格
  25938. type: number
  25939. ordertime:
  25940. description: 委托时间
  25941. type: string
  25942. tradedate:
  25943. description: 交易日(yyyyMMdd)
  25944. type: string
  25945. required:
  25946. - ordertime
  25947. type: object
  25948. user.LoginQueryRsp:
  25949. properties:
  25950. areaRoles:
  25951. description: 所属角色信息
  25952. items:
  25953. $ref: '#/definitions/models.Arearole'
  25954. type: array
  25955. exchangeRateConfigs:
  25956. description: 汇率信息
  25957. items:
  25958. $ref: '#/definitions/models.Exchangerateconfig'
  25959. type: array
  25960. externalExchanges:
  25961. description: 外部交易所
  25962. items:
  25963. $ref: '#/definitions/models.Externalexchange'
  25964. type: array
  25965. goodsgroups:
  25966. description: 商品组
  25967. items:
  25968. $ref: '#/definitions/models.Goodsgroup'
  25969. type: array
  25970. loginAccount:
  25971. $ref: '#/definitions/models.Loginaccount'
  25972. description: 登录账号
  25973. markets:
  25974. description: 市场
  25975. items:
  25976. $ref: '#/definitions/models.Market'
  25977. type: array
  25978. systemParams:
  25979. description: 系统参数
  25980. items:
  25981. $ref: '#/definitions/models.Systemparam'
  25982. type: array
  25983. userAccount:
  25984. $ref: '#/definitions/models.Useraccount'
  25985. description: 用户账号
  25986. userInfo:
  25987. $ref: '#/definitions/models.Userinfo'
  25988. description: 用户信息
  25989. username:
  25990. description: 用户姓名
  25991. type: string
  25992. type: object
  25993. user.UpdateUserHeadUrlReq:
  25994. properties:
  25995. headurl:
  25996. type: string
  25997. userID:
  25998. type: integer
  25999. required:
  26000. - headurl
  26001. - userID
  26002. type: object
  26003. info:
  26004. contact: {}
  26005. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  26006. termsOfService: http://www.muchinfo.cn
  26007. title: MTP2.0 查询服务 API
  26008. version: "1.0"
  26009. paths:
  26010. /CPTrade/QueryCPTradeMyBidInfos:
  26011. get:
  26012. parameters:
  26013. - description: 资金账户
  26014. in: query
  26015. name: accountid
  26016. required: true
  26017. type: integer
  26018. - description: 预售市场ID
  26019. in: query
  26020. name: marketid
  26021. type: integer
  26022. - description: 预售商品ID
  26023. in: query
  26024. name: goodsid
  26025. type: integer
  26026. produces:
  26027. - application/json
  26028. responses:
  26029. "200":
  26030. description: OK
  26031. schema:
  26032. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  26033. "500":
  26034. description: Internal Server Error
  26035. schema:
  26036. $ref: '#/definitions/app.Response'
  26037. security:
  26038. - ApiKeyAuth: []
  26039. summary: 查询产能预售我的出价信息
  26040. tags:
  26041. - 产能预售
  26042. /CPTrade/QueryCPTradeOrderDetail:
  26043. get:
  26044. parameters:
  26045. - description: 预售商品ID
  26046. in: query
  26047. name: goodsid
  26048. type: integer
  26049. - description: 预售市场ID
  26050. in: query
  26051. name: marketid
  26052. type: integer
  26053. - description: 预售商品ID列表 - 格式:1,2,3
  26054. in: query
  26055. name: goodsids
  26056. type: string
  26057. produces:
  26058. - application/json
  26059. responses:
  26060. "200":
  26061. description: OK
  26062. schema:
  26063. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  26064. "500":
  26065. description: Internal Server Error
  26066. schema:
  26067. $ref: '#/definitions/app.Response'
  26068. security:
  26069. - ApiKeyAuth: []
  26070. summary: 查询产能预售委托单信息
  26071. tags:
  26072. - 产能预售
  26073. /CPTrade/QueryMyCPTradeGoods:
  26074. get:
  26075. parameters:
  26076. - description: 资金账户
  26077. in: query
  26078. name: accountid
  26079. required: true
  26080. type: integer
  26081. produces:
  26082. - application/json
  26083. responses:
  26084. "200":
  26085. description: OK
  26086. schema:
  26087. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  26088. "500":
  26089. description: Internal Server Error
  26090. schema:
  26091. $ref: '#/definitions/app.Response'
  26092. security:
  26093. - ApiKeyAuth: []
  26094. summary: 查询我的预售信息
  26095. tags:
  26096. - 产能预售
  26097. /CPTrade/QueryPositionCancel:
  26098. get:
  26099. parameters:
  26100. - description: 账户ID
  26101. in: query
  26102. name: userid
  26103. required: true
  26104. type: integer
  26105. - description: 注销ID
  26106. in: query
  26107. name: cancelid
  26108. type: integer
  26109. - description: 资金账户ID
  26110. in: query
  26111. name: accountid
  26112. type: integer
  26113. produces:
  26114. - application/json
  26115. responses:
  26116. "200":
  26117. description: OK
  26118. schema:
  26119. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  26120. "500":
  26121. description: Internal Server Error
  26122. schema:
  26123. $ref: '#/definitions/app.Response'
  26124. security:
  26125. - ApiKeyAuth: []
  26126. summary: 查询远期订单注销申请信息
  26127. tags:
  26128. - 产能预售
  26129. /CPTrade/QueryPreasleApply:
  26130. get:
  26131. parameters:
  26132. - description: 账户ID
  26133. in: query
  26134. name: userid
  26135. required: true
  26136. type: integer
  26137. - description: 申请ID
  26138. in: query
  26139. name: applyid
  26140. type: integer
  26141. - description: 资金账户ID
  26142. in: query
  26143. name: accountid
  26144. type: integer
  26145. produces:
  26146. - application/json
  26147. responses:
  26148. "200":
  26149. description: OK
  26150. schema:
  26151. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  26152. "500":
  26153. description: Internal Server Error
  26154. schema:
  26155. $ref: '#/definitions/app.Response'
  26156. security:
  26157. - ApiKeyAuth: []
  26158. summary: 查询产能预售申请信息
  26159. tags:
  26160. - 产能预售
  26161. /CPTrade/QueryPresaleGoodsEx:
  26162. get:
  26163. parameters:
  26164. - description: 预售商品ID
  26165. in: query
  26166. name: goodsid
  26167. type: integer
  26168. - description: 预售市场ID
  26169. in: query
  26170. name: marketid
  26171. type: integer
  26172. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  26173. in: query
  26174. name: presalemode
  26175. type: integer
  26176. - description: 预售商品ID列表 - 格式:1,2,3
  26177. in: query
  26178. name: goodsids
  26179. type: string
  26180. - description: 预售商品代码
  26181. in: query
  26182. name: goodscode
  26183. type: string
  26184. produces:
  26185. - application/json
  26186. responses:
  26187. "200":
  26188. description: OK
  26189. schema:
  26190. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  26191. "500":
  26192. description: Internal Server Error
  26193. schema:
  26194. $ref: '#/definitions/app.Response'
  26195. security:
  26196. - ApiKeyAuth: []
  26197. summary: 查询产能预售商品扩展信息
  26198. tags:
  26199. - 产能预售
  26200. /CPTrade/QueryUserGoodsData:
  26201. get:
  26202. parameters:
  26203. - description: 资金账户ID
  26204. in: query
  26205. name: accountid
  26206. required: true
  26207. type: integer
  26208. produces:
  26209. - application/json
  26210. responses:
  26211. "200":
  26212. description: OK
  26213. schema:
  26214. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  26215. "500":
  26216. description: Internal Server Error
  26217. schema:
  26218. $ref: '#/definitions/app.Response'
  26219. security:
  26220. - ApiKeyAuth: []
  26221. summary: 查询远期订单信息
  26222. tags:
  26223. - 产能预售
  26224. /Common/DeleteNewFuncmenu:
  26225. delete:
  26226. consumes:
  26227. - application/json
  26228. parameters:
  26229. - description: 菜单表数据,只需要resourcecode字段即可
  26230. in: body
  26231. name: data
  26232. required: true
  26233. schema:
  26234. $ref: '#/definitions/models.NewFuncmenulist'
  26235. produces:
  26236. - application/json
  26237. responses:
  26238. "200":
  26239. description: OK
  26240. schema:
  26241. $ref: '#/definitions/app.Response'
  26242. "500":
  26243. description: Internal Server Error
  26244. schema:
  26245. $ref: '#/definitions/app.Response'
  26246. security:
  26247. - ApiKeyAuth: []
  26248. summary: 删除菜单表数据
  26249. tags:
  26250. - 通用服务
  26251. /Common/FindNewFuncmenu:
  26252. get:
  26253. parameters:
  26254. - description: 资源代码
  26255. in: query
  26256. name: resourcecode
  26257. type: string
  26258. - description: 上级资源代码
  26259. in: query
  26260. name: parentcode
  26261. type: string
  26262. - description: 资源名(Title), 模糊查询
  26263. in: query
  26264. name: resourcename
  26265. type: string
  26266. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26267. in: query
  26268. name: menutype
  26269. type: string
  26270. produces:
  26271. - application/json
  26272. responses:
  26273. "200":
  26274. description: OK
  26275. schema:
  26276. items:
  26277. $ref: '#/definitions/models.NewFuncmenulist'
  26278. type: array
  26279. "500":
  26280. description: Internal Server Error
  26281. schema:
  26282. $ref: '#/definitions/app.Response'
  26283. security:
  26284. - ApiKeyAuth: []
  26285. summary: 获取菜单表数据
  26286. tags:
  26287. - 通用服务
  26288. /Common/GetAllEnums:
  26289. get:
  26290. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  26291. parameters:
  26292. - description: 起始自增ID
  26293. in: query
  26294. name: autoid
  26295. type: integer
  26296. produces:
  26297. - application/json
  26298. responses:
  26299. "200":
  26300. description: OK
  26301. schema:
  26302. $ref: '#/definitions/models.Enumdicitem'
  26303. "500":
  26304. description: Internal Server Error
  26305. schema:
  26306. $ref: '#/definitions/app.Response'
  26307. summary: 获取所有枚举信息
  26308. tags:
  26309. - 通用服务
  26310. /Common/GetClientMenus:
  26311. get:
  26312. parameters:
  26313. - description: 登录账号
  26314. in: query
  26315. name: loginID
  26316. required: true
  26317. type: integer
  26318. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  26319. in: query
  26320. name: clientType
  26321. type: integer
  26322. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  26323. in: query
  26324. name: name
  26325. type: string
  26326. produces:
  26327. - application/json
  26328. responses:
  26329. "200":
  26330. description: OK
  26331. schema:
  26332. items:
  26333. $ref: '#/definitions/common.ClientMenu'
  26334. type: array
  26335. "500":
  26336. description: Internal Server Error
  26337. schema:
  26338. $ref: '#/definitions/app.Response'
  26339. security:
  26340. - ApiKeyAuth: []
  26341. summary: 获取交易端菜单
  26342. tags:
  26343. - 通用服务
  26344. /Common/GetClientNewFuncmenu:
  26345. get:
  26346. parameters:
  26347. - description: 登录账号
  26348. in: query
  26349. name: loginid
  26350. required: true
  26351. type: integer
  26352. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26353. in: query
  26354. name: menutype
  26355. required: true
  26356. type: integer
  26357. produces:
  26358. - application/json
  26359. responses:
  26360. "200":
  26361. description: OK
  26362. schema:
  26363. items:
  26364. $ref: '#/definitions/models.NewFuncmenulist'
  26365. type: array
  26366. "500":
  26367. description: Internal Server Error
  26368. schema:
  26369. $ref: '#/definitions/app.Response'
  26370. security:
  26371. - ApiKeyAuth: []
  26372. summary: 获取终端菜单
  26373. tags:
  26374. - 通用服务
  26375. /Common/GetDivisions:
  26376. get:
  26377. produces:
  26378. - application/json
  26379. responses:
  26380. "200":
  26381. description: OK
  26382. schema:
  26383. $ref: '#/definitions/models.Division'
  26384. "500":
  26385. description: Internal Server Error
  26386. schema:
  26387. $ref: '#/definitions/app.Response'
  26388. summary: 查询区域信息
  26389. tags:
  26390. - 通用服务
  26391. /Common/GetPCWebMenus:
  26392. get:
  26393. parameters:
  26394. - description: 登录账号
  26395. in: query
  26396. name: loginID
  26397. required: true
  26398. type: integer
  26399. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  26400. in: query
  26401. name: name
  26402. type: string
  26403. produces:
  26404. - application/json
  26405. responses:
  26406. "200":
  26407. description: OK
  26408. schema:
  26409. items:
  26410. $ref: '#/definitions/common.PCWebMenu'
  26411. type: array
  26412. "500":
  26413. description: Internal Server Error
  26414. schema:
  26415. $ref: '#/definitions/app.Response'
  26416. security:
  26417. - ApiKeyAuth: []
  26418. summary: 获取PCWeb交易端菜单
  26419. tags:
  26420. - 通用服务
  26421. /Common/GetServerTime:
  26422. get:
  26423. produces:
  26424. - application/json
  26425. responses:
  26426. "200":
  26427. description: OK
  26428. schema:
  26429. $ref: '#/definitions/app.Response'
  26430. "500":
  26431. description: Internal Server Error
  26432. schema:
  26433. $ref: '#/definitions/app.Response'
  26434. summary: 获取服务器时间
  26435. tags:
  26436. - 通用服务
  26437. /Common/InsertNewFuncmenu:
  26438. post:
  26439. consumes:
  26440. - application/json
  26441. parameters:
  26442. - description: 菜单表数据
  26443. in: body
  26444. name: data
  26445. required: true
  26446. schema:
  26447. $ref: '#/definitions/models.NewFuncmenulist'
  26448. produces:
  26449. - application/json
  26450. responses:
  26451. "200":
  26452. description: OK
  26453. schema:
  26454. $ref: '#/definitions/app.Response'
  26455. "500":
  26456. description: Internal Server Error
  26457. schema:
  26458. $ref: '#/definitions/app.Response'
  26459. security:
  26460. - ApiKeyAuth: []
  26461. summary: 插入菜单表数据
  26462. tags:
  26463. - 通用服务
  26464. /Common/NoticeReaded:
  26465. post:
  26466. parameters:
  26467. - description: 登录账号
  26468. in: query
  26469. name: loginID
  26470. required: true
  26471. type: integer
  26472. - description: 通知公告ID
  26473. in: query
  26474. name: noticeID
  26475. required: true
  26476. type: integer
  26477. produces:
  26478. - application/json
  26479. responses:
  26480. "200":
  26481. description: OK
  26482. schema:
  26483. $ref: '#/definitions/app.Response'
  26484. "500":
  26485. description: Internal Server Error
  26486. schema:
  26487. $ref: '#/definitions/app.Response'
  26488. security:
  26489. - ApiKeyAuth: []
  26490. summary: 通知公告设置已读请求
  26491. tags:
  26492. - 通用服务
  26493. /Common/QueryErrorInfos:
  26494. get:
  26495. description: 如果传入rowNumber,则返回此rowNumber后的数据
  26496. parameters:
  26497. - description: 起始行号前索引
  26498. in: query
  26499. name: rowNumber
  26500. type: string
  26501. produces:
  26502. - application/json
  26503. responses:
  26504. "200":
  26505. description: OK
  26506. schema:
  26507. $ref: '#/definitions/models.QueryErrorInfosRsp'
  26508. "500":
  26509. description: Internal Server Error
  26510. schema:
  26511. $ref: '#/definitions/app.Response'
  26512. summary: 获取数据库错误信息
  26513. tags:
  26514. - 通用服务
  26515. /Common/QueryImageConfigs:
  26516. get:
  26517. parameters:
  26518. - description: 用户id
  26519. in: query
  26520. name: userId
  26521. type: integer
  26522. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  26523. in: query
  26524. name: imageType
  26525. type: integer
  26526. produces:
  26527. - application/json
  26528. responses:
  26529. "200":
  26530. description: OK
  26531. schema:
  26532. $ref: '#/definitions/common.QueryImageConfigsRsp'
  26533. "500":
  26534. description: Internal Server Error
  26535. schema:
  26536. $ref: '#/definitions/app.Response'
  26537. summary: 查询轮播图配置信息
  26538. tags:
  26539. - 通用服务
  26540. /Common/QueryNotice:
  26541. get:
  26542. parameters:
  26543. - description: 页码
  26544. in: query
  26545. name: page
  26546. type: integer
  26547. - description: 每页条数
  26548. in: query
  26549. name: pagesize
  26550. type: integer
  26551. - description: 分页标志 0-page从0开始 1-page从1开始
  26552. in: query
  26553. name: pageflag
  26554. type: integer
  26555. - description: 登录账号
  26556. in: query
  26557. name: loginID
  26558. required: true
  26559. type: integer
  26560. - description: 消息类型 - 1:公告通知 2:系统消息
  26561. in: query
  26562. name: msgType
  26563. type: integer
  26564. - description: 是否只获取未读信息
  26565. in: query
  26566. name: onlyUnRead
  26567. type: boolean
  26568. - description: 自增ID,传入后会返回这个ID后面的记录
  26569. in: query
  26570. name: lastID
  26571. type: integer
  26572. produces:
  26573. - application/json
  26574. responses:
  26575. "200":
  26576. description: OK
  26577. schema:
  26578. $ref: '#/definitions/common.QueryNoticeRsp'
  26579. "500":
  26580. description: Internal Server Error
  26581. schema:
  26582. $ref: '#/definitions/app.Response'
  26583. security:
  26584. - ApiKeyAuth: []
  26585. summary: 通知公告系统消息查询
  26586. tags:
  26587. - 通用服务
  26588. /Common/QueryProvincesAndCities:
  26589. get:
  26590. parameters:
  26591. - description: 省ID
  26592. in: query
  26593. name: provinceID
  26594. type: integer
  26595. produces:
  26596. - application/json
  26597. responses:
  26598. "200":
  26599. description: OK
  26600. schema:
  26601. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  26602. "500":
  26603. description: Internal Server Error
  26604. schema:
  26605. $ref: '#/definitions/app.Response'
  26606. summary: 查询省市信息(不包括区)
  26607. tags:
  26608. - 通用服务
  26609. /Common/QueryRates:
  26610. get:
  26611. parameters:
  26612. - description: 页码
  26613. in: query
  26614. name: page
  26615. type: integer
  26616. - description: 每页条数
  26617. in: query
  26618. name: pagesize
  26619. type: integer
  26620. - description: 源币种ID
  26621. in: query
  26622. name: oricurrencyid
  26623. type: integer
  26624. - description: 目标币种ID
  26625. in: query
  26626. name: descurrencyid
  26627. type: integer
  26628. produces:
  26629. - application/json
  26630. responses:
  26631. "200":
  26632. description: OK
  26633. schema:
  26634. items:
  26635. $ref: '#/definitions/models.Exchangerateconfig'
  26636. type: array
  26637. "500":
  26638. description: Internal Server Error
  26639. schema:
  26640. $ref: '#/definitions/app.Response'
  26641. security:
  26642. - ApiKeyAuth: []
  26643. - LoginID: []
  26644. - Group: []
  26645. summary: 查询汇率信息
  26646. tags:
  26647. - 通用服务
  26648. /Common/QueryTableDefine:
  26649. get:
  26650. parameters:
  26651. - description: 表key
  26652. in: query
  26653. name: tableKey
  26654. type: string
  26655. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  26656. in: query
  26657. name: tableType
  26658. type: integer
  26659. produces:
  26660. - application/json
  26661. responses:
  26662. "200":
  26663. description: OK
  26664. schema:
  26665. $ref: '#/definitions/common.QueryTableDefineRsp'
  26666. "500":
  26667. description: Internal Server Error
  26668. schema:
  26669. $ref: '#/definitions/app.Response'
  26670. summary: 查询交易端列表头信息
  26671. tags:
  26672. - 通用服务
  26673. /Common/QueryTraderMenu:
  26674. get:
  26675. parameters:
  26676. - description: 登录账号
  26677. in: query
  26678. name: loginid
  26679. required: true
  26680. type: integer
  26681. produces:
  26682. - application/json
  26683. responses:
  26684. "200":
  26685. description: OK
  26686. schema:
  26687. $ref: '#/definitions/common.QueryTraderMenuRsp'
  26688. "500":
  26689. description: Internal Server Error
  26690. schema:
  26691. $ref: '#/definitions/app.Response'
  26692. summary: 查询交易端菜单
  26693. tags:
  26694. - 通用服务
  26695. /Common/UpdateNewFuncmenu:
  26696. put:
  26697. consumes:
  26698. - application/json
  26699. parameters:
  26700. - description: 菜单表数据
  26701. in: body
  26702. name: data
  26703. required: true
  26704. schema:
  26705. $ref: '#/definitions/models.NewFuncmenulist'
  26706. produces:
  26707. - application/json
  26708. responses:
  26709. "200":
  26710. description: OK
  26711. schema:
  26712. $ref: '#/definitions/app.Response'
  26713. "500":
  26714. description: Internal Server Error
  26715. schema:
  26716. $ref: '#/definitions/app.Response'
  26717. security:
  26718. - ApiKeyAuth: []
  26719. summary: 更新菜单表数据
  26720. tags:
  26721. - 通用服务
  26722. /Delivery/QueryDeliveryRelation:
  26723. get:
  26724. parameters:
  26725. - description: 商品ID
  26726. in: query
  26727. name: goodsid
  26728. type: integer
  26729. - description: 品种ID
  26730. in: query
  26731. name: deliverygoodsid
  26732. type: integer
  26733. - description: 市场ID
  26734. in: query
  26735. name: marketid
  26736. type: integer
  26737. produces:
  26738. - application/json
  26739. responses:
  26740. "200":
  26741. description: OK
  26742. schema:
  26743. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  26744. "500":
  26745. description: Internal Server Error
  26746. schema:
  26747. $ref: '#/definitions/app.Response'
  26748. security:
  26749. - ApiKeyAuth: []
  26750. summary: 查询商品交割关系表
  26751. tags:
  26752. - 交割服务
  26753. /Ermcp/GetErmcpGoods:
  26754. get:
  26755. parameters:
  26756. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  26757. in: query
  26758. name: userid
  26759. type: integer
  26760. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26761. in: query
  26762. name: lastUpdateTime
  26763. type: string
  26764. produces:
  26765. - application/json
  26766. responses:
  26767. "200":
  26768. description: OK
  26769. schema:
  26770. $ref: '#/definitions/models.ErmcpGoods'
  26771. "500":
  26772. description: Internal Server Error
  26773. schema:
  26774. $ref: '#/definitions/app.Response'
  26775. security:
  26776. - ApiKeyAuth: []
  26777. summary: 查询企业风管期货商品信息
  26778. tags:
  26779. - 企业风险管理(app)
  26780. /Ermcp/GetErmcpGoodsSortByPosition:
  26781. get:
  26782. parameters:
  26783. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  26784. in: query
  26785. name: sortIndex
  26786. type: string
  26787. produces:
  26788. - application/json
  26789. responses:
  26790. "200":
  26791. description: OK
  26792. schema:
  26793. $ref: '#/definitions/models.Goodssortbypreposition'
  26794. "500":
  26795. description: Internal Server Error
  26796. schema:
  26797. $ref: '#/definitions/app.Response'
  26798. security:
  26799. - ApiKeyAuth: []
  26800. summary: 查询企业风管期货主力、次主力商品信息
  26801. tags:
  26802. - 企业风险管理(app)
  26803. /Ermcp/GetErmcpOutAccountStatus:
  26804. get:
  26805. parameters:
  26806. - description: 登录账号
  26807. in: query
  26808. name: loginID
  26809. required: true
  26810. type: integer
  26811. produces:
  26812. - application/json
  26813. responses:
  26814. "200":
  26815. description: OK
  26816. schema:
  26817. $ref: '#/definitions/models.Hedgemarketopenlog'
  26818. "500":
  26819. description: Internal Server Error
  26820. schema:
  26821. $ref: '#/definitions/app.Response'
  26822. security:
  26823. - ApiKeyAuth: []
  26824. summary: 获取目标登录账号当前对冲账号在线状态
  26825. tags:
  26826. - 企业风险管理(app)
  26827. /Ermcp/GetErmcpRoleFuncMenuLists:
  26828. get:
  26829. parameters:
  26830. - description: 登录账号
  26831. in: query
  26832. name: loginID
  26833. required: true
  26834. type: integer
  26835. produces:
  26836. - application/json
  26837. responses:
  26838. "200":
  26839. description: OK
  26840. schema:
  26841. $ref: '#/definitions/models.Funcmenulist'
  26842. "500":
  26843. description: Internal Server Error
  26844. schema:
  26845. $ref: '#/definitions/app.Response'
  26846. security:
  26847. - ApiKeyAuth: []
  26848. summary: 获取企业风管终端权限
  26849. tags:
  26850. - 企业风险管理(app)
  26851. /Ermcp/QueryAccMgrBizGroupSet:
  26852. get:
  26853. parameters:
  26854. - description: 用户ID
  26855. in: query
  26856. name: userid
  26857. required: true
  26858. type: integer
  26859. - description: 现货商品id
  26860. in: query
  26861. name: deliverygoodsid
  26862. type: integer
  26863. produces:
  26864. - application/json
  26865. responses:
  26866. "200":
  26867. description: OK
  26868. schema:
  26869. items:
  26870. $ref: '#/definitions/models.ErmcpBizGroupEx'
  26871. type: array
  26872. "500":
  26873. description: Internal Server Error
  26874. schema:
  26875. $ref: '#/definitions/app.Response'
  26876. security:
  26877. - ApiKeyAuth: []
  26878. summary: 查询业务类型分组(账户管理/账户设置)
  26879. tags:
  26880. - 企业风险管理(app)
  26881. /Ermcp/QueryAccMgrLoginUser:
  26882. get:
  26883. parameters:
  26884. - description: 用户ID
  26885. in: query
  26886. name: userid
  26887. required: true
  26888. type: integer
  26889. - description: 用户类型 2-机构 7-企业成员
  26890. in: query
  26891. name: usertype
  26892. type: integer
  26893. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  26894. in: query
  26895. name: querytype
  26896. required: true
  26897. type: integer
  26898. produces:
  26899. - application/json
  26900. responses:
  26901. "200":
  26902. description: OK
  26903. schema:
  26904. items:
  26905. $ref: '#/definitions/models.ErmcpLoginUserEx'
  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/QueryAccMgrMainAccountInfo:
  26917. get:
  26918. parameters:
  26919. - description: 用户ID
  26920. in: query
  26921. name: userid
  26922. type: integer
  26923. - description: 主账号id
  26924. in: query
  26925. name: accountid
  26926. type: integer
  26927. produces:
  26928. - application/json
  26929. responses:
  26930. "200":
  26931. description: OK
  26932. schema:
  26933. items:
  26934. $ref: '#/definitions/models.MainAccountInfo'
  26935. type: array
  26936. "500":
  26937. description: Internal Server Error
  26938. schema:
  26939. $ref: '#/definitions/app.Response'
  26940. security:
  26941. - ApiKeyAuth: []
  26942. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  26943. tags:
  26944. - 企业风险管理(app)
  26945. /Ermcp/QueryAccMgrRole:
  26946. get:
  26947. parameters:
  26948. - description: 用户ID
  26949. in: query
  26950. name: userid
  26951. required: true
  26952. type: integer
  26953. produces:
  26954. - application/json
  26955. responses:
  26956. "200":
  26957. description: OK
  26958. schema:
  26959. items:
  26960. $ref: '#/definitions/models.ErmcpRole'
  26961. type: array
  26962. "500":
  26963. description: Internal Server Error
  26964. schema:
  26965. $ref: '#/definitions/app.Response'
  26966. security:
  26967. - ApiKeyAuth: []
  26968. summary: 查询账户管理角色设置(账户管理/角色设置)
  26969. tags:
  26970. - 企业风险管理(app)
  26971. /Ermcp/QueryAccMgrRoleMenu:
  26972. get:
  26973. parameters:
  26974. - description: 用户ID
  26975. in: query
  26976. name: userid
  26977. required: true
  26978. type: integer
  26979. - description: 角色id(可多个,逗号隔开)
  26980. in: query
  26981. name: roleid
  26982. type: string
  26983. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  26984. in: query
  26985. name: menutype
  26986. type: integer
  26987. produces:
  26988. - application/json
  26989. responses:
  26990. "200":
  26991. description: OK
  26992. schema:
  26993. items:
  26994. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  26995. type: array
  26996. "500":
  26997. description: Internal Server Error
  26998. schema:
  26999. $ref: '#/definitions/app.Response'
  27000. security:
  27001. - ApiKeyAuth: []
  27002. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  27003. tags:
  27004. - 企业风险管理(app)
  27005. /Ermcp/QueryAccMgrTaAccountInfo:
  27006. get:
  27007. parameters:
  27008. - description: 用户ID
  27009. in: query
  27010. name: userid
  27011. required: true
  27012. type: integer
  27013. - description: 账号id
  27014. in: query
  27015. name: accountid
  27016. type: integer
  27017. produces:
  27018. - application/json
  27019. responses:
  27020. "200":
  27021. description: OK
  27022. schema:
  27023. items:
  27024. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  27025. type: array
  27026. "500":
  27027. description: Internal Server Error
  27028. schema:
  27029. $ref: '#/definitions/app.Response'
  27030. security:
  27031. - ApiKeyAuth: []
  27032. summary: 查询账户管理授信(账户管理/账户设置/授信)
  27033. tags:
  27034. - 企业风险管理(app)
  27035. /Ermcp/QueryAccMgrTaaccount:
  27036. get:
  27037. parameters:
  27038. - description: 用户ID
  27039. in: query
  27040. name: userid
  27041. required: true
  27042. type: integer
  27043. produces:
  27044. - application/json
  27045. responses:
  27046. "200":
  27047. description: OK
  27048. schema:
  27049. items:
  27050. $ref: '#/definitions/models.ErmcpTaAccountEx'
  27051. type: array
  27052. "500":
  27053. description: Internal Server Error
  27054. schema:
  27055. $ref: '#/definitions/app.Response'
  27056. security:
  27057. - ApiKeyAuth: []
  27058. summary: 查询账户管理期货账号(账户管理/期货账号)
  27059. tags:
  27060. - 企业风险管理(app)
  27061. /Ermcp/QueryAvaildGoodsGroup:
  27062. get:
  27063. parameters:
  27064. - description: 所属机构ID
  27065. in: query
  27066. name: userid
  27067. required: true
  27068. type: integer
  27069. produces:
  27070. - application/json
  27071. responses:
  27072. "200":
  27073. description: OK
  27074. schema:
  27075. items:
  27076. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  27077. type: array
  27078. "500":
  27079. description: Internal Server Error
  27080. schema:
  27081. $ref: '#/definitions/app.Response'
  27082. security:
  27083. - ApiKeyAuth: []
  27084. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  27085. tags:
  27086. - 企业风险管理(app)
  27087. /Ermcp/QueryBusinessDj:
  27088. get:
  27089. parameters:
  27090. - description: 用户ID
  27091. in: query
  27092. name: UserId
  27093. required: true
  27094. type: integer
  27095. - description: 用户类型 2-机构 7-企业成员
  27096. in: query
  27097. name: usertype
  27098. type: integer
  27099. - description: 现货合同ID, 不填则查所有
  27100. in: query
  27101. name: relatedid
  27102. type: string
  27103. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27104. in: query
  27105. name: applystatus
  27106. type: string
  27107. produces:
  27108. - application/json
  27109. responses:
  27110. "200":
  27111. description: OK
  27112. schema:
  27113. items:
  27114. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  27115. type: array
  27116. "500":
  27117. description: Internal Server Error
  27118. schema:
  27119. $ref: '#/definitions/app.Response'
  27120. security:
  27121. - ApiKeyAuth: []
  27122. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  27123. tags:
  27124. - 企业风险管理(app)
  27125. /Ermcp/QueryBusinessFp:
  27126. get:
  27127. parameters:
  27128. - description: 用户ID
  27129. in: query
  27130. name: UserId
  27131. required: true
  27132. type: integer
  27133. - description: 用户类型 2-机构 7-企业成员
  27134. in: query
  27135. name: usertype
  27136. type: integer
  27137. - description: 现货合同ID, 不填则查所有
  27138. in: query
  27139. name: relatedid
  27140. type: string
  27141. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27142. in: query
  27143. name: applystatus
  27144. type: string
  27145. produces:
  27146. - application/json
  27147. responses:
  27148. "200":
  27149. description: OK
  27150. schema:
  27151. items:
  27152. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  27153. type: array
  27154. "500":
  27155. description: Internal Server Error
  27156. schema:
  27157. $ref: '#/definitions/app.Response'
  27158. security:
  27159. - ApiKeyAuth: []
  27160. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  27161. tags:
  27162. - 企业风险管理(app)
  27163. /Ermcp/QueryBusinessJs:
  27164. get:
  27165. parameters:
  27166. - description: 用户ID
  27167. in: query
  27168. name: UserId
  27169. required: true
  27170. type: integer
  27171. - description: 用户类型 2-机构 7-企业成员
  27172. in: query
  27173. name: usertype
  27174. type: integer
  27175. - description: 现货合同ID, 不填则查所有
  27176. in: query
  27177. name: relatedid
  27178. type: string
  27179. - description: 操作申请id
  27180. in: query
  27181. name: operateapplyid
  27182. type: string
  27183. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27184. in: query
  27185. name: applystatus
  27186. type: string
  27187. produces:
  27188. - application/json
  27189. responses:
  27190. "200":
  27191. description: OK
  27192. schema:
  27193. items:
  27194. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  27195. type: array
  27196. "500":
  27197. description: Internal Server Error
  27198. schema:
  27199. $ref: '#/definitions/app.Response'
  27200. security:
  27201. - ApiKeyAuth: []
  27202. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  27203. tags:
  27204. - 企业风险管理(app)
  27205. /Ermcp/QueryBusinessJsEx:
  27206. get:
  27207. parameters:
  27208. - description: 用户ID
  27209. in: query
  27210. name: UserId
  27211. required: true
  27212. type: integer
  27213. - description: 用户类型 2-机构 7-企业成员
  27214. in: query
  27215. name: usertype
  27216. type: integer
  27217. - description: 现货合同ID, 不填则查所有
  27218. in: query
  27219. name: relatedid
  27220. type: string
  27221. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27222. in: query
  27223. name: applystatus
  27224. type: string
  27225. produces:
  27226. - application/json
  27227. responses:
  27228. "200":
  27229. description: OK
  27230. schema:
  27231. items:
  27232. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  27233. type: array
  27234. "500":
  27235. description: Internal Server Error
  27236. schema:
  27237. $ref: '#/definitions/app.Response'
  27238. security:
  27239. - ApiKeyAuth: []
  27240. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  27241. tags:
  27242. - 企业风险管理(app)
  27243. /Ermcp/QueryBusinessKx:
  27244. get:
  27245. parameters:
  27246. - description: 用户ID
  27247. in: query
  27248. name: UserId
  27249. required: true
  27250. type: integer
  27251. - description: 用户类型 2-机构 7-企业成员
  27252. in: query
  27253. name: usertype
  27254. type: integer
  27255. - description: 现货合同ID, 不填则查所有
  27256. in: query
  27257. name: relatedid
  27258. type: string
  27259. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27260. in: query
  27261. name: applystatus
  27262. type: string
  27263. produces:
  27264. - application/json
  27265. responses:
  27266. "200":
  27267. description: OK
  27268. schema:
  27269. items:
  27270. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  27271. type: array
  27272. "500":
  27273. description: Internal Server Error
  27274. schema:
  27275. $ref: '#/definitions/app.Response'
  27276. security:
  27277. - ApiKeyAuth: []
  27278. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  27279. tags:
  27280. - 企业风险管理(app)
  27281. /Ermcp/QueryChangeLog:
  27282. get:
  27283. parameters:
  27284. - description: 合同ID
  27285. in: query
  27286. name: RelatedId
  27287. required: true
  27288. type: string
  27289. produces:
  27290. - application/json
  27291. responses:
  27292. "200":
  27293. description: OK
  27294. schema:
  27295. items:
  27296. $ref: '#/definitions/ermcp.QryOPLogRsp'
  27297. type: array
  27298. "500":
  27299. description: Internal Server Error
  27300. schema:
  27301. $ref: '#/definitions/app.Response'
  27302. security:
  27303. - ApiKeyAuth: []
  27304. summary: 查询变更记录
  27305. tags:
  27306. - 企业风险管理(app)
  27307. /Ermcp/QueryErmcpHisOrderDetails:
  27308. get:
  27309. parameters:
  27310. - description: 资金账户ID
  27311. in: query
  27312. name: accountID
  27313. required: true
  27314. type: integer
  27315. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27316. in: query
  27317. name: startDate
  27318. type: string
  27319. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27320. in: query
  27321. name: endDate
  27322. type: string
  27323. produces:
  27324. - application/json
  27325. responses:
  27326. "200":
  27327. description: OK
  27328. schema:
  27329. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27330. "500":
  27331. description: Internal Server Error
  27332. schema:
  27333. $ref: '#/definitions/app.Response'
  27334. security:
  27335. - ApiKeyAuth: []
  27336. summary: 获取企业风管期货历史委托单信息
  27337. tags:
  27338. - 企业风险管理(app)
  27339. /Ermcp/QueryErmcpHisTradeDetails:
  27340. get:
  27341. parameters:
  27342. - description: 资金账户ID
  27343. in: query
  27344. name: accountID
  27345. required: true
  27346. type: integer
  27347. - description: 商品ID
  27348. in: query
  27349. name: goodsID
  27350. type: integer
  27351. - description: 买卖方向,0:买 1:卖
  27352. in: query
  27353. name: buyOrSell
  27354. type: integer
  27355. - description: 关联委托单号
  27356. in: query
  27357. name: orderID
  27358. type: integer
  27359. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27360. in: query
  27361. name: startDate
  27362. type: string
  27363. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27364. in: query
  27365. name: endDate
  27366. type: string
  27367. produces:
  27368. - application/json
  27369. responses:
  27370. "200":
  27371. description: OK
  27372. schema:
  27373. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27374. "500":
  27375. description: Internal Server Error
  27376. schema:
  27377. $ref: '#/definitions/app.Response'
  27378. security:
  27379. - ApiKeyAuth: []
  27380. summary: 获取企业风管期货历史成交单信息
  27381. tags:
  27382. - 企业风险管理(app)
  27383. /Ermcp/QueryErmcpInnerHolderDetails:
  27384. get:
  27385. parameters:
  27386. - description: 资金账户ID
  27387. in: query
  27388. name: accountID
  27389. required: true
  27390. type: integer
  27391. - description: 商品ID
  27392. in: query
  27393. name: goodsID
  27394. type: integer
  27395. - description: 买卖方向,0:买 1:卖
  27396. in: query
  27397. name: buyOrSell
  27398. type: integer
  27399. produces:
  27400. - application/json
  27401. responses:
  27402. "200":
  27403. description: OK
  27404. schema:
  27405. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  27406. "500":
  27407. description: Internal Server Error
  27408. schema:
  27409. $ref: '#/definitions/app.Response'
  27410. security:
  27411. - ApiKeyAuth: []
  27412. summary: 获取企业风管期货内部持仓单信息
  27413. tags:
  27414. - 企业风险管理(app)
  27415. /Ermcp/QueryErmcpOrderDetails:
  27416. get:
  27417. parameters:
  27418. - description: 资金账户ID
  27419. in: query
  27420. name: accountID
  27421. required: true
  27422. type: integer
  27423. produces:
  27424. - application/json
  27425. responses:
  27426. "200":
  27427. description: OK
  27428. schema:
  27429. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27430. "500":
  27431. description: Internal Server Error
  27432. schema:
  27433. $ref: '#/definitions/app.Response'
  27434. security:
  27435. - ApiKeyAuth: []
  27436. summary: 获取企业风管期货委托单信息
  27437. tags:
  27438. - 企业风险管理(app)
  27439. /Ermcp/QueryErmcpTradeDetails:
  27440. get:
  27441. parameters:
  27442. - description: 资金账户ID
  27443. in: query
  27444. name: accountID
  27445. required: true
  27446. type: integer
  27447. - description: 商品ID
  27448. in: query
  27449. name: goodsID
  27450. type: integer
  27451. - description: 买卖方向,0:买 1:卖
  27452. in: query
  27453. name: buyOrSell
  27454. type: integer
  27455. - description: 关联委托单号
  27456. in: query
  27457. name: orderID
  27458. type: integer
  27459. produces:
  27460. - application/json
  27461. responses:
  27462. "200":
  27463. description: OK
  27464. schema:
  27465. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27466. "500":
  27467. description: Internal Server Error
  27468. schema:
  27469. $ref: '#/definitions/app.Response'
  27470. security:
  27471. - ApiKeyAuth: []
  27472. summary: 获取企业风管期货成交单信息
  27473. tags:
  27474. - 企业风险管理(app)
  27475. /Ermcp/QueryErmcpTradePosition:
  27476. get:
  27477. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  27478. parameters:
  27479. - description: 资金账户ID
  27480. in: query
  27481. name: accountID
  27482. required: true
  27483. type: integer
  27484. - description: 所属市场ID
  27485. in: query
  27486. name: marketID
  27487. type: integer
  27488. produces:
  27489. - application/json
  27490. responses:
  27491. "200":
  27492. description: OK
  27493. schema:
  27494. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  27495. "500":
  27496. description: Internal Server Error
  27497. schema:
  27498. $ref: '#/definitions/app.Response'
  27499. security:
  27500. - ApiKeyAuth: []
  27501. summary: 获取企业风管期货持仓头寸信息
  27502. tags:
  27503. - 企业风险管理(app)
  27504. /Ermcp/QueryExposureDetail:
  27505. get:
  27506. parameters:
  27507. - description: 所属机构ID
  27508. in: query
  27509. name: areaUserId
  27510. required: true
  27511. type: integer
  27512. - description: 套保商品
  27513. in: query
  27514. name: middleGoodsId
  27515. required: true
  27516. type: integer
  27517. produces:
  27518. - application/json
  27519. responses:
  27520. "200":
  27521. description: OK
  27522. schema:
  27523. items:
  27524. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  27525. type: array
  27526. "500":
  27527. description: Internal Server Error
  27528. schema:
  27529. $ref: '#/definitions/app.Response'
  27530. security:
  27531. - ApiKeyAuth: []
  27532. summary: 查询敞口现货明细
  27533. tags:
  27534. - 企业风险管理(app)
  27535. /Ermcp/QueryExposureGoods:
  27536. get:
  27537. parameters:
  27538. - description: 套保商品id
  27539. in: query
  27540. name: middlegoodsid
  27541. required: true
  27542. type: integer
  27543. produces:
  27544. - application/json
  27545. responses:
  27546. "200":
  27547. description: OK
  27548. schema:
  27549. items:
  27550. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  27551. type: array
  27552. "500":
  27553. description: Internal Server Error
  27554. schema:
  27555. $ref: '#/definitions/app.Response'
  27556. security:
  27557. - ApiKeyAuth: []
  27558. summary: 查询敞口主力合约
  27559. tags:
  27560. - 企业风险管理(app)
  27561. /Ermcp/QueryExposureHedgePosition:
  27562. get:
  27563. parameters:
  27564. - description: 用户id
  27565. in: query
  27566. name: userid
  27567. required: true
  27568. type: integer
  27569. produces:
  27570. - application/json
  27571. responses:
  27572. "200":
  27573. description: OK
  27574. schema:
  27575. items:
  27576. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  27577. type: array
  27578. "500":
  27579. description: Internal Server Error
  27580. schema:
  27581. $ref: '#/definitions/app.Response'
  27582. security:
  27583. - ApiKeyAuth: []
  27584. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  27585. tags:
  27586. - 企业风险管理(app)
  27587. /Ermcp/QueryExposureHedgePositionDetail:
  27588. get:
  27589. parameters:
  27590. - description: 所属机构ID
  27591. in: query
  27592. name: userid
  27593. required: true
  27594. type: integer
  27595. - description: 商品id
  27596. in: query
  27597. name: goodsId
  27598. required: true
  27599. type: integer
  27600. produces:
  27601. - application/json
  27602. responses:
  27603. "200":
  27604. description: OK
  27605. schema:
  27606. items:
  27607. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  27608. type: array
  27609. "500":
  27610. description: Internal Server Error
  27611. schema:
  27612. $ref: '#/definitions/app.Response'
  27613. security:
  27614. - ApiKeyAuth: []
  27615. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  27616. tags:
  27617. - 企业风险管理(app)
  27618. /Ermcp/QueryExposureSpot:
  27619. get:
  27620. parameters:
  27621. - description: 所属机构ID
  27622. in: query
  27623. name: areaUserId
  27624. required: true
  27625. type: integer
  27626. produces:
  27627. - application/json
  27628. responses:
  27629. "200":
  27630. description: OK
  27631. schema:
  27632. items:
  27633. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  27634. type: array
  27635. "500":
  27636. description: Internal Server Error
  27637. schema:
  27638. $ref: '#/definitions/app.Response'
  27639. security:
  27640. - ApiKeyAuth: []
  27641. summary: 查询敞口现货头寸(敞口/现货头寸)
  27642. tags:
  27643. - 企业风险管理(app)
  27644. /Ermcp/QueryExposureSpotDetail:
  27645. get:
  27646. parameters:
  27647. - description: 所属机构ID
  27648. in: query
  27649. name: areaUserId
  27650. required: true
  27651. type: integer
  27652. - description: 现货品种ID
  27653. in: query
  27654. name: wrstandardId
  27655. required: true
  27656. type: integer
  27657. produces:
  27658. - application/json
  27659. responses:
  27660. "200":
  27661. description: OK
  27662. schema:
  27663. items:
  27664. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  27665. type: array
  27666. "500":
  27667. description: Internal Server Error
  27668. schema:
  27669. $ref: '#/definitions/app.Response'
  27670. security:
  27671. - ApiKeyAuth: []
  27672. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  27673. tags:
  27674. - 企业风险管理(app)
  27675. /Ermcp/QueryFuturesCompany:
  27676. get:
  27677. produces:
  27678. - application/json
  27679. responses:
  27680. "200":
  27681. description: OK
  27682. schema:
  27683. items:
  27684. $ref: '#/definitions/models.ErmcpFuturesCompany'
  27685. type: array
  27686. "500":
  27687. description: Internal Server Error
  27688. schema:
  27689. $ref: '#/definitions/app.Response'
  27690. security:
  27691. - ApiKeyAuth: []
  27692. summary: 查询期货公司
  27693. tags:
  27694. - 企业风险管理(app)
  27695. /Ermcp/QueryGGConvertConfig:
  27696. get:
  27697. parameters:
  27698. - description: 品种id(不填则查所有)
  27699. in: query
  27700. name: goodsgroupid
  27701. type: integer
  27702. produces:
  27703. - application/json
  27704. responses:
  27705. "200":
  27706. description: OK
  27707. schema:
  27708. items:
  27709. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  27710. type: array
  27711. "500":
  27712. description: Internal Server Error
  27713. schema:
  27714. $ref: '#/definitions/app.Response'
  27715. security:
  27716. - ApiKeyAuth: []
  27717. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  27718. tags:
  27719. - 企业风险管理(app)
  27720. /Ermcp/QueryGoodsBrand:
  27721. get:
  27722. parameters:
  27723. - description: 用户ID
  27724. in: query
  27725. name: userid
  27726. required: true
  27727. type: integer
  27728. - description: 现货商品ID
  27729. in: query
  27730. name: wrstandardid
  27731. type: integer
  27732. produces:
  27733. - application/json
  27734. responses:
  27735. "200":
  27736. description: OK
  27737. schema:
  27738. items:
  27739. $ref: '#/definitions/models.ErmcpGoodsBrand'
  27740. type: array
  27741. "500":
  27742. description: Internal Server Error
  27743. schema:
  27744. $ref: '#/definitions/app.Response'
  27745. security:
  27746. - ApiKeyAuth: []
  27747. summary: 查询商品品牌
  27748. tags:
  27749. - 企业风险管理(app)
  27750. /Ermcp/QueryGoodsModel:
  27751. get:
  27752. parameters:
  27753. - description: 用户ID
  27754. in: query
  27755. name: userid
  27756. required: true
  27757. type: integer
  27758. produces:
  27759. - application/json
  27760. responses:
  27761. "200":
  27762. description: OK
  27763. schema:
  27764. items:
  27765. $ref: '#/definitions/models.ErmcpGoodsModel'
  27766. type: array
  27767. "500":
  27768. description: Internal Server Error
  27769. schema:
  27770. $ref: '#/definitions/app.Response'
  27771. security:
  27772. - ApiKeyAuth: []
  27773. summary: 查询商品型号
  27774. tags:
  27775. - 企业风险管理(app)
  27776. /Ermcp/QueryHisExposure:
  27777. get:
  27778. parameters:
  27779. - description: 用户id
  27780. in: query
  27781. name: userid
  27782. required: true
  27783. type: integer
  27784. - description: 每个品种记录数
  27785. in: query
  27786. name: lastNum
  27787. required: true
  27788. type: integer
  27789. produces:
  27790. - application/json
  27791. responses:
  27792. "200":
  27793. description: OK
  27794. schema:
  27795. items:
  27796. $ref: '#/definitions/ermcp.HisExposureRsp'
  27797. type: array
  27798. "500":
  27799. description: Internal Server Error
  27800. schema:
  27801. $ref: '#/definitions/app.Response'
  27802. security:
  27803. - ApiKeyAuth: []
  27804. summary: 查询历史敞口(菜单:敞口/历史敞口)
  27805. tags:
  27806. - 企业风险管理(app)
  27807. /Ermcp/QueryMiddleGoods:
  27808. get:
  27809. parameters:
  27810. - description: 所属机构ID
  27811. in: query
  27812. name: userid
  27813. required: true
  27814. type: integer
  27815. - description: 状态 0-停用 1-正常
  27816. in: query
  27817. name: status
  27818. required: true
  27819. type: integer
  27820. produces:
  27821. - application/json
  27822. responses:
  27823. "200":
  27824. description: OK
  27825. schema:
  27826. items:
  27827. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  27828. type: array
  27829. "500":
  27830. description: Internal Server Error
  27831. schema:
  27832. $ref: '#/definitions/app.Response'
  27833. security:
  27834. - ApiKeyAuth: []
  27835. summary: 查询套保品种(菜单:套保品种)
  27836. tags:
  27837. - 企业风险管理(app)
  27838. /Ermcp/QueryMiddleGoodsChangeLog:
  27839. get:
  27840. parameters:
  27841. - description: 所属机构ID
  27842. in: query
  27843. name: userid
  27844. required: true
  27845. type: integer
  27846. - description: 套保品种id
  27847. in: query
  27848. name: middlegoodsid
  27849. required: true
  27850. type: integer
  27851. produces:
  27852. - application/json
  27853. responses:
  27854. "200":
  27855. description: OK
  27856. schema:
  27857. items:
  27858. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  27859. type: array
  27860. "500":
  27861. description: Internal Server Error
  27862. schema:
  27863. $ref: '#/definitions/app.Response'
  27864. security:
  27865. - ApiKeyAuth: []
  27866. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  27867. tags:
  27868. - 企业风险管理(app)
  27869. /Ermcp/QueryMiddleGoodsDetail:
  27870. get:
  27871. parameters:
  27872. - description: 所属机构ID
  27873. in: query
  27874. name: userid
  27875. required: true
  27876. type: integer
  27877. - description: 套保品种id
  27878. in: query
  27879. name: middlegoodsid
  27880. type: integer
  27881. produces:
  27882. - application/json
  27883. responses:
  27884. "200":
  27885. description: OK
  27886. schema:
  27887. items:
  27888. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  27889. type: array
  27890. "500":
  27891. description: Internal Server Error
  27892. schema:
  27893. $ref: '#/definitions/app.Response'
  27894. security:
  27895. - ApiKeyAuth: []
  27896. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  27897. tags:
  27898. - 企业风险管理(app)
  27899. /Ermcp/QueryPendingAuditInfo:
  27900. get:
  27901. parameters:
  27902. - description: 用户ID
  27903. in: query
  27904. name: UserId
  27905. required: true
  27906. type: integer
  27907. produces:
  27908. - application/json
  27909. responses:
  27910. "200":
  27911. description: OK
  27912. schema:
  27913. items:
  27914. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  27915. type: array
  27916. "500":
  27917. description: Internal Server Error
  27918. schema:
  27919. $ref: '#/definitions/app.Response'
  27920. security:
  27921. - ApiKeyAuth: []
  27922. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  27923. tags:
  27924. - 企业风险管理(app)
  27925. /Ermcp/QueryRealtimeExposure:
  27926. get:
  27927. parameters:
  27928. - description: 所属机构ID
  27929. in: query
  27930. name: userid
  27931. required: true
  27932. type: integer
  27933. produces:
  27934. - application/json
  27935. responses:
  27936. "200":
  27937. description: OK
  27938. schema:
  27939. items:
  27940. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  27941. type: array
  27942. "500":
  27943. description: Internal Server Error
  27944. schema:
  27945. $ref: '#/definitions/app.Response'
  27946. security:
  27947. - ApiKeyAuth: []
  27948. summary: 查询实时敞口
  27949. tags:
  27950. - 企业风险管理(app)
  27951. /Ermcp/QueryRealtimeExposurePosition:
  27952. get:
  27953. parameters:
  27954. - description: 用户id
  27955. in: query
  27956. name: userid
  27957. required: true
  27958. type: integer
  27959. - description: 套保商品ID
  27960. in: query
  27961. name: middleGoodsId
  27962. required: true
  27963. type: integer
  27964. produces:
  27965. - application/json
  27966. responses:
  27967. "200":
  27968. description: OK
  27969. schema:
  27970. items:
  27971. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  27972. type: array
  27973. "500":
  27974. description: Internal Server Error
  27975. schema:
  27976. $ref: '#/definitions/app.Response'
  27977. security:
  27978. - ApiKeyAuth: []
  27979. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  27980. tags:
  27981. - 企业风险管理(app)
  27982. /Ermcp/QueryRoleMenu:
  27983. get:
  27984. parameters:
  27985. - description: 登录ID
  27986. in: query
  27987. name: loginid
  27988. required: true
  27989. type: integer
  27990. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  27991. in: query
  27992. name: menutype
  27993. type: integer
  27994. produces:
  27995. - application/json
  27996. responses:
  27997. "200":
  27998. description: OK
  27999. schema:
  28000. items:
  28001. $ref: '#/definitions/models.RoleMenu'
  28002. type: array
  28003. "500":
  28004. description: Internal Server Error
  28005. schema:
  28006. $ref: '#/definitions/app.Response'
  28007. security:
  28008. - ApiKeyAuth: []
  28009. summary: 查询角色菜单和权限
  28010. tags:
  28011. - 企业风险管理(app)
  28012. /Ermcp/QueryTradeConfigTMP:
  28013. get:
  28014. parameters:
  28015. - description: 所属机构id
  28016. in: query
  28017. name: areauserid
  28018. type: integer
  28019. produces:
  28020. - application/json
  28021. responses:
  28022. "200":
  28023. description: OK
  28024. schema:
  28025. items:
  28026. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  28027. type: array
  28028. "500":
  28029. description: Internal Server Error
  28030. schema:
  28031. $ref: '#/definitions/app.Response'
  28032. security:
  28033. - ApiKeyAuth: []
  28034. summary: 查询交易模板配置
  28035. tags:
  28036. - 企业风险管理(app)
  28037. /Ermcp/QueryUserInfo:
  28038. get:
  28039. parameters:
  28040. - description: 所属机构用户ID
  28041. in: query
  28042. name: MemberUserID
  28043. required: true
  28044. type: integer
  28045. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  28046. in: query
  28047. name: queryType
  28048. required: true
  28049. type: integer
  28050. produces:
  28051. - application/json
  28052. responses:
  28053. "200":
  28054. description: OK
  28055. schema:
  28056. items:
  28057. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  28058. type: array
  28059. "500":
  28060. description: Internal Server Error
  28061. schema:
  28062. $ref: '#/definitions/app.Response'
  28063. security:
  28064. - ApiKeyAuth: []
  28065. summary: 查询客户资料
  28066. tags:
  28067. - 企业风险管理(app)
  28068. /Ermcp/QueryWarehouseInfo:
  28069. get:
  28070. parameters:
  28071. - description: 用户ID
  28072. in: query
  28073. name: userid
  28074. required: true
  28075. type: integer
  28076. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  28077. in: query
  28078. name: status
  28079. type: string
  28080. produces:
  28081. - application/json
  28082. responses:
  28083. "200":
  28084. description: OK
  28085. schema:
  28086. items:
  28087. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  28088. type: array
  28089. "500":
  28090. description: Internal Server Error
  28091. schema:
  28092. $ref: '#/definitions/app.Response'
  28093. security:
  28094. - ApiKeyAuth: []
  28095. summary: 查询仓库信息
  28096. tags:
  28097. - 企业风险管理(app)
  28098. /Ermcp3/QryAreaExpourseContractDetail:
  28099. get:
  28100. parameters:
  28101. - description: 用户ID
  28102. in: query
  28103. name: userid
  28104. required: true
  28105. type: integer
  28106. - description: 套保商品id
  28107. in: query
  28108. name: middlegoodsid
  28109. required: true
  28110. type: integer
  28111. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28112. in: query
  28113. name: cycletype
  28114. required: true
  28115. type: integer
  28116. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28117. 全(0)【原值】
  28118. in: query
  28119. name: cycletime
  28120. required: true
  28121. type: string
  28122. produces:
  28123. - application/json
  28124. responses:
  28125. "200":
  28126. description: OK
  28127. schema:
  28128. items:
  28129. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  28130. type: array
  28131. "500":
  28132. description: Internal Server Error
  28133. schema:
  28134. $ref: '#/definitions/app.Response'
  28135. security:
  28136. - ApiKeyAuth: []
  28137. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  28138. tags:
  28139. - 企业风险管理v3(app)
  28140. /Ermcp3/QryAreaExpourseFutuDetail:
  28141. get:
  28142. parameters:
  28143. - description: 用户ID
  28144. in: query
  28145. name: userid
  28146. required: true
  28147. type: integer
  28148. - description: 套保商品id
  28149. in: query
  28150. name: middlegoodsid
  28151. required: true
  28152. type: integer
  28153. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28154. in: query
  28155. name: cycletype
  28156. required: true
  28157. type: integer
  28158. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28159. 全(0)【原值】
  28160. in: query
  28161. name: cycletime
  28162. required: true
  28163. type: string
  28164. produces:
  28165. - application/json
  28166. responses:
  28167. "200":
  28168. description: OK
  28169. schema:
  28170. items:
  28171. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  28172. type: array
  28173. "500":
  28174. description: Internal Server Error
  28175. schema:
  28176. $ref: '#/definitions/app.Response'
  28177. security:
  28178. - ApiKeyAuth: []
  28179. summary: 查询敞口期货明细(敞口报表/期货明细)
  28180. tags:
  28181. - 企业风险管理v3(app)
  28182. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  28183. get:
  28184. parameters:
  28185. - description: 用户ID
  28186. in: query
  28187. name: userid
  28188. required: true
  28189. type: integer
  28190. - description: 套保商品id
  28191. in: query
  28192. name: middlegoodsid
  28193. required: true
  28194. type: integer
  28195. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28196. in: query
  28197. name: cycletype
  28198. required: true
  28199. type: integer
  28200. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28201. 全(0)【原值】
  28202. in: query
  28203. name: cycletime
  28204. required: true
  28205. type: string
  28206. produces:
  28207. - application/json
  28208. responses:
  28209. "200":
  28210. description: OK
  28211. schema:
  28212. items:
  28213. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  28214. type: array
  28215. "500":
  28216. description: Internal Server Error
  28217. schema:
  28218. $ref: '#/definitions/app.Response'
  28219. security:
  28220. - ApiKeyAuth: []
  28221. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  28222. tags:
  28223. - 企业风险管理v3(app)
  28224. /Ermcp3/QryAreaExpourseParamChLogDetail:
  28225. get:
  28226. parameters:
  28227. - description: 用户ID
  28228. in: query
  28229. name: userid
  28230. required: true
  28231. type: integer
  28232. - description: 套保商品id
  28233. in: query
  28234. name: middlegoodsid
  28235. required: true
  28236. type: integer
  28237. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28238. in: query
  28239. name: cycletype
  28240. required: true
  28241. type: integer
  28242. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28243. 全(0)【原值】
  28244. in: query
  28245. name: cycletime
  28246. required: true
  28247. type: string
  28248. produces:
  28249. - application/json
  28250. responses:
  28251. "200":
  28252. description: OK
  28253. schema:
  28254. items:
  28255. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  28256. type: array
  28257. "500":
  28258. description: Internal Server Error
  28259. schema:
  28260. $ref: '#/definitions/app.Response'
  28261. security:
  28262. - ApiKeyAuth: []
  28263. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  28264. tags:
  28265. - 企业风险管理v3(app)
  28266. /Ermcp3/QryAreaExpourseReport:
  28267. get:
  28268. parameters:
  28269. - description: 用户ID
  28270. in: query
  28271. name: userid
  28272. required: true
  28273. type: integer
  28274. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  28275. in: query
  28276. name: querytype
  28277. required: true
  28278. type: integer
  28279. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28280. in: query
  28281. name: cycletype
  28282. required: true
  28283. type: integer
  28284. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28285. 全(0)【原值】
  28286. in: query
  28287. name: cycletime
  28288. required: true
  28289. type: string
  28290. produces:
  28291. - application/json
  28292. responses:
  28293. "200":
  28294. description: OK
  28295. schema:
  28296. items:
  28297. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  28298. type: array
  28299. "500":
  28300. description: Internal Server Error
  28301. schema:
  28302. $ref: '#/definitions/app.Response'
  28303. security:
  28304. - ApiKeyAuth: []
  28305. summary: 查询敞口报表
  28306. tags:
  28307. - 企业风险管理v3(app)
  28308. /Ermcp3/QryAreaSpotplReport:
  28309. get:
  28310. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  28311. parameters:
  28312. - description: 用户ID
  28313. in: query
  28314. name: userid
  28315. required: true
  28316. type: integer
  28317. - description: 查询类型 1-报表 2-报表明细
  28318. in: query
  28319. name: querytype
  28320. required: true
  28321. type: integer
  28322. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28323. in: query
  28324. name: cycletype
  28325. required: true
  28326. type: integer
  28327. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28328. 全(0)【原值】
  28329. in: query
  28330. name: cycletime
  28331. required: true
  28332. type: string
  28333. - description: 现货品种id(明细必填)
  28334. in: query
  28335. name: deliverygoodsid
  28336. type: integer
  28337. - description: 币种id(明细必填)
  28338. in: query
  28339. name: currencyid
  28340. type: integer
  28341. - description: 日/周/月报表汇总维度 1:品种+品类
  28342. in: query
  28343. name: sumflag
  28344. type: integer
  28345. produces:
  28346. - application/json
  28347. responses:
  28348. "200":
  28349. description: OK
  28350. schema:
  28351. items:
  28352. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  28353. type: array
  28354. "500":
  28355. description: Internal Server Error
  28356. schema:
  28357. $ref: '#/definitions/app.Response'
  28358. security:
  28359. - ApiKeyAuth: []
  28360. summary: 查询现货报表
  28361. tags:
  28362. - 企业风险管理v3(app)
  28363. /Ermcp3/QryAreaStockReport:
  28364. get:
  28365. parameters:
  28366. - description: 用户ID
  28367. in: query
  28368. name: userid
  28369. required: true
  28370. type: integer
  28371. - description: 查询类型 1-报表 2-报表明细
  28372. in: query
  28373. name: querytype
  28374. required: true
  28375. type: integer
  28376. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28377. in: query
  28378. name: cycletype
  28379. required: true
  28380. type: integer
  28381. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28382. 全(0)【原值】
  28383. in: query
  28384. name: cycletime
  28385. required: true
  28386. type: string
  28387. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  28388. in: query
  28389. name: sumfields
  28390. type: string
  28391. - description: 品种ID
  28392. in: query
  28393. name: deliverygoodsid
  28394. type: integer
  28395. - description: 品类ID
  28396. in: query
  28397. name: wrstandardid
  28398. type: integer
  28399. - description: 品牌ID
  28400. in: query
  28401. name: spotgoodsbrandid
  28402. type: integer
  28403. - description: 仓库ID
  28404. in: query
  28405. name: warehouseinfoid
  28406. type: integer
  28407. produces:
  28408. - application/json
  28409. responses:
  28410. "200":
  28411. description: OK
  28412. schema:
  28413. items:
  28414. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  28415. type: array
  28416. "500":
  28417. description: Internal Server Error
  28418. schema:
  28419. $ref: '#/definitions/app.Response'
  28420. security:
  28421. - ApiKeyAuth: []
  28422. summary: 查询库存报表
  28423. tags:
  28424. - 企业风险管理v3(app)
  28425. /Ermcp3/QryAreaSumPL:
  28426. get:
  28427. parameters:
  28428. - description: 用户ID
  28429. in: query
  28430. name: userid
  28431. required: true
  28432. type: integer
  28433. - description: 查询类型 1-报表 2-报表明细
  28434. in: query
  28435. name: querytype
  28436. required: true
  28437. type: integer
  28438. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28439. in: query
  28440. name: cycletype
  28441. required: true
  28442. type: integer
  28443. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28444. 全(0)【原值】
  28445. in: query
  28446. name: cycletime
  28447. required: true
  28448. type: string
  28449. - description: 币种id(明细必填)
  28450. in: query
  28451. name: currencyid
  28452. type: integer
  28453. - description: 套保品种ID, 查询类型为2时起效
  28454. in: query
  28455. name: middlegoodsid
  28456. type: integer
  28457. produces:
  28458. - application/json
  28459. responses:
  28460. "200":
  28461. description: OK
  28462. schema:
  28463. items:
  28464. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  28465. type: array
  28466. "500":
  28467. description: Internal Server Error
  28468. schema:
  28469. $ref: '#/definitions/app.Response'
  28470. security:
  28471. - ApiKeyAuth: []
  28472. summary: 查询汇总损益表
  28473. tags:
  28474. - 企业风险管理v3(app)
  28475. /Ermcp3/QryFinanceReport:
  28476. get:
  28477. parameters:
  28478. - description: 用户ID
  28479. in: query
  28480. name: userid
  28481. required: true
  28482. type: integer
  28483. - description: 查询类型 1-报表 2-报表明细
  28484. in: query
  28485. name: querytype
  28486. required: true
  28487. type: integer
  28488. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28489. in: query
  28490. name: cycletype
  28491. required: true
  28492. type: integer
  28493. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28494. 全(0)【原值】
  28495. in: query
  28496. name: cycletime
  28497. required: true
  28498. type: string
  28499. - description: 币种id(报表明细必填)
  28500. in: query
  28501. name: currencyid
  28502. type: integer
  28503. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  28504. in: query
  28505. name: sumfields
  28506. type: string
  28507. produces:
  28508. - application/json
  28509. responses:
  28510. "200":
  28511. description: OK
  28512. schema:
  28513. items:
  28514. $ref: '#/definitions/models.Ermcp3FinanceReport'
  28515. type: array
  28516. "500":
  28517. description: Internal Server Error
  28518. schema:
  28519. $ref: '#/definitions/app.Response'
  28520. security:
  28521. - ApiKeyAuth: []
  28522. summary: 查询财务报表
  28523. tags:
  28524. - 企业风险管理v3(app)
  28525. /Ermcp3/QrySCMiddleGoodsReport:
  28526. get:
  28527. parameters:
  28528. - description: 用户ID
  28529. in: query
  28530. name: userid
  28531. required: true
  28532. type: integer
  28533. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28534. in: query
  28535. name: cycletype
  28536. required: true
  28537. type: integer
  28538. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28539. 全(0)【原值】
  28540. in: query
  28541. name: cycletime
  28542. required: true
  28543. type: string
  28544. - description: 合同id
  28545. in: query
  28546. name: spotcontractid
  28547. type: integer
  28548. - description: 套保品种id
  28549. in: query
  28550. name: middlegoodsid
  28551. type: integer
  28552. - description: 现货品种id
  28553. in: query
  28554. name: deliverygoodsid
  28555. type: integer
  28556. - description: 现货商品id
  28557. in: query
  28558. name: wrstandardid
  28559. type: integer
  28560. - description: 合同编号(模糊匹配)
  28561. in: query
  28562. name: contractno
  28563. type: string
  28564. produces:
  28565. - application/json
  28566. responses:
  28567. "200":
  28568. description: OK
  28569. schema:
  28570. items:
  28571. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  28572. type: array
  28573. "500":
  28574. description: Internal Server Error
  28575. schema:
  28576. $ref: '#/definitions/app.Response'
  28577. security:
  28578. - ApiKeyAuth: []
  28579. summary: 查询定价报表
  28580. tags:
  28581. - 企业风险管理v3(app)
  28582. /Ermcp3/QryTaFutureDataReport:
  28583. get:
  28584. parameters:
  28585. - description: 用户ID
  28586. in: query
  28587. name: userid
  28588. required: true
  28589. type: integer
  28590. - description: 查询类型 1-报表 2-报表明细
  28591. in: query
  28592. name: querytype
  28593. required: true
  28594. type: integer
  28595. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28596. in: query
  28597. name: cycletype
  28598. required: true
  28599. type: integer
  28600. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28601. 全(0)【原值】
  28602. in: query
  28603. name: cycletime
  28604. required: true
  28605. type: string
  28606. - description: 币种id(查明细必填)
  28607. in: query
  28608. name: currencyid
  28609. type: integer
  28610. - description: 品种id(查明细必填)
  28611. in: query
  28612. name: goodsgroupid
  28613. type: integer
  28614. - description: 商品id(查明细必填)
  28615. in: query
  28616. name: goodsid
  28617. type: integer
  28618. - description: 买卖方向(查明细必填)
  28619. in: query
  28620. name: buyorsell
  28621. type: integer
  28622. produces:
  28623. - application/json
  28624. responses:
  28625. "200":
  28626. description: OK
  28627. schema:
  28628. items:
  28629. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  28630. type: array
  28631. "500":
  28632. description: Internal Server Error
  28633. schema:
  28634. $ref: '#/definitions/app.Response'
  28635. security:
  28636. - ApiKeyAuth: []
  28637. summary: 查询期货报表
  28638. tags:
  28639. - 企业风险管理v3(app)
  28640. /Ermcp3/QueryAreaStock:
  28641. get:
  28642. parameters:
  28643. - description: 用户ID
  28644. in: query
  28645. name: userid
  28646. required: true
  28647. type: integer
  28648. produces:
  28649. - application/json
  28650. responses:
  28651. "200":
  28652. description: OK
  28653. schema:
  28654. items:
  28655. $ref: '#/definitions/models.Ermcp3AreaStock'
  28656. type: array
  28657. "500":
  28658. description: Internal Server Error
  28659. schema:
  28660. $ref: '#/definitions/app.Response'
  28661. security:
  28662. - ApiKeyAuth: []
  28663. summary: 查询机构库存(库存管理/当前库存)
  28664. tags:
  28665. - 企业风险管理v3(app)
  28666. /Ermcp3/QueryAreaStockApply:
  28667. get:
  28668. parameters:
  28669. - description: 用户ID
  28670. in: query
  28671. name: userid
  28672. required: true
  28673. type: integer
  28674. - description: 用户类型 2-机构 7-企业成员
  28675. in: query
  28676. name: usertype
  28677. type: integer
  28678. - description: 现货商品ID
  28679. in: query
  28680. name: deliverygoodsid
  28681. type: integer
  28682. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  28683. in: query
  28684. name: inouttype
  28685. type: string
  28686. - description: 合同ID
  28687. in: query
  28688. name: spotcontractid
  28689. type: integer
  28690. - description: 品类ID
  28691. in: query
  28692. name: wrstandardid
  28693. type: integer
  28694. - description: 品牌ID
  28695. in: query
  28696. name: spotgoodsbrandid
  28697. type: integer
  28698. - description: 仓库ID
  28699. in: query
  28700. name: warehouseinfoid
  28701. type: integer
  28702. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28703. in: query
  28704. name: applystatus
  28705. type: string
  28706. produces:
  28707. - application/json
  28708. responses:
  28709. "200":
  28710. description: OK
  28711. schema:
  28712. items:
  28713. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  28714. type: array
  28715. "500":
  28716. description: Internal Server Error
  28717. schema:
  28718. $ref: '#/definitions/app.Response'
  28719. security:
  28720. - ApiKeyAuth: []
  28721. summary: 查询库存申请(出入库记录|库存审核)
  28722. tags:
  28723. - 企业风险管理v3(app)
  28724. /Ermcp3/QueryAreaStockApplySum:
  28725. get:
  28726. parameters:
  28727. - description: 合同ID
  28728. in: query
  28729. name: spotcontractid
  28730. required: true
  28731. type: integer
  28732. produces:
  28733. - application/json
  28734. responses:
  28735. "200":
  28736. description: OK
  28737. schema:
  28738. items:
  28739. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  28740. type: array
  28741. "500":
  28742. description: Internal Server Error
  28743. schema:
  28744. $ref: '#/definitions/app.Response'
  28745. security:
  28746. - ApiKeyAuth: []
  28747. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  28748. tags:
  28749. - 企业风险管理v3(app)
  28750. /Ermcp3/QueryDGFactoryItem:
  28751. get:
  28752. parameters:
  28753. - description: 用户id
  28754. in: query
  28755. name: userid
  28756. type: integer
  28757. - description: 用户类型 2-机构 7-企业成员
  28758. in: query
  28759. name: usertype
  28760. type: integer
  28761. - description: 选择项ID(SEQ_DGFACTORYITEM)
  28762. in: query
  28763. name: dgfactoryitemid
  28764. type: integer
  28765. - description: 现货品种ID
  28766. in: query
  28767. name: deliverygoodsid
  28768. type: integer
  28769. - description: 要素项类型
  28770. in: query
  28771. name: dgfactoryitemtypeid
  28772. type: integer
  28773. - description: 顺序
  28774. in: query
  28775. name: orderindex
  28776. type: integer
  28777. produces:
  28778. - application/json
  28779. responses:
  28780. "200":
  28781. description: OK
  28782. schema:
  28783. items:
  28784. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  28785. type: array
  28786. "500":
  28787. description: Internal Server Error
  28788. schema:
  28789. $ref: '#/definitions/app.Response'
  28790. security:
  28791. - ApiKeyAuth: []
  28792. summary: 查询品种要素定义项
  28793. tags:
  28794. - 企业风险管理v3(app)
  28795. /Ermcp3/QueryDeliveryGoods:
  28796. get:
  28797. parameters:
  28798. - description: 用户id
  28799. in: query
  28800. name: userid
  28801. required: true
  28802. type: integer
  28803. - description: 用户类型 2-机构 7-企业成员
  28804. in: query
  28805. name: usertype
  28806. type: integer
  28807. - description: 排除已配置的业务类型商品 1-套保 2-套利
  28808. in: query
  28809. name: excludecfg
  28810. type: integer
  28811. produces:
  28812. - application/json
  28813. responses:
  28814. "200":
  28815. description: OK
  28816. schema:
  28817. items:
  28818. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  28819. type: array
  28820. "500":
  28821. description: Internal Server Error
  28822. schema:
  28823. $ref: '#/definitions/app.Response'
  28824. security:
  28825. - ApiKeyAuth: []
  28826. summary: 查询现货商品
  28827. tags:
  28828. - 企业风险管理v3(app)
  28829. /Ermcp3/QueryDeliveryGoodsDetail:
  28830. get:
  28831. parameters:
  28832. - description: 用户id
  28833. in: query
  28834. name: userid
  28835. required: true
  28836. type: integer
  28837. - description: 用户类型 2-机构 7-企业成员
  28838. in: query
  28839. name: usertype
  28840. type: integer
  28841. - description: 现货商品id
  28842. in: query
  28843. name: deliverygoodsid
  28844. type: integer
  28845. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  28846. in: query
  28847. name: filtersubempty
  28848. type: integer
  28849. produces:
  28850. - application/json
  28851. responses:
  28852. "200":
  28853. description: OK
  28854. schema:
  28855. items:
  28856. $ref: '#/definitions/models.XHDeliveryGoods'
  28857. type: array
  28858. "500":
  28859. description: Internal Server Error
  28860. schema:
  28861. $ref: '#/definitions/app.Response'
  28862. security:
  28863. - ApiKeyAuth: []
  28864. summary: 查询现货商品详情
  28865. tags:
  28866. - 企业风险管理v3(app)
  28867. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  28868. get:
  28869. parameters:
  28870. - description: 合同id
  28871. in: query
  28872. name: spotcontractid
  28873. required: true
  28874. type: string
  28875. produces:
  28876. - application/json
  28877. responses:
  28878. "200":
  28879. description: OK
  28880. schema:
  28881. items:
  28882. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  28883. type: array
  28884. "500":
  28885. description: Internal Server Error
  28886. schema:
  28887. $ref: '#/definitions/app.Response'
  28888. security:
  28889. - ApiKeyAuth: []
  28890. summary: 查询现货合同期现配置信息
  28891. tags:
  28892. - 企业风险管理v3(app)
  28893. /Ermcp3/QueryExposureDetail:
  28894. get:
  28895. parameters:
  28896. - description: 用户id
  28897. in: query
  28898. name: userid
  28899. required: true
  28900. type: integer
  28901. - description: 用户类型 2-机构 7-企业成员
  28902. in: query
  28903. name: usertype
  28904. type: integer
  28905. - description: 套保商品
  28906. in: query
  28907. name: middlegoodsid
  28908. required: true
  28909. type: integer
  28910. produces:
  28911. - application/json
  28912. responses:
  28913. "200":
  28914. description: OK
  28915. schema:
  28916. items:
  28917. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  28918. type: array
  28919. "500":
  28920. description: Internal Server Error
  28921. schema:
  28922. $ref: '#/definitions/app.Response'
  28923. security:
  28924. - ApiKeyAuth: []
  28925. summary: 查询敞口现货明细
  28926. tags:
  28927. - 企业风险管理v3(app)
  28928. /Ermcp3/QueryExposureSpot:
  28929. get:
  28930. parameters:
  28931. - description: 用户id
  28932. in: query
  28933. name: userid
  28934. required: true
  28935. type: integer
  28936. - description: 用户类型 2-机构 7-企业成员
  28937. in: query
  28938. name: usertype
  28939. type: integer
  28940. produces:
  28941. - application/json
  28942. responses:
  28943. "200":
  28944. description: OK
  28945. schema:
  28946. items:
  28947. $ref: '#/definitions/models.Ermcp3AreaSpot'
  28948. type: array
  28949. "500":
  28950. description: Internal Server Error
  28951. schema:
  28952. $ref: '#/definitions/app.Response'
  28953. security:
  28954. - ApiKeyAuth: []
  28955. summary: 查询敞口现货头寸(敞口/现货头寸)
  28956. tags:
  28957. - 企业风险管理v3(app)
  28958. /Ermcp3/QueryExposureSpotDetail:
  28959. get:
  28960. parameters:
  28961. - description: 用户id
  28962. in: query
  28963. name: userid
  28964. required: true
  28965. type: integer
  28966. - description: 用户类型 2-机构 7-企业成员
  28967. in: query
  28968. name: usertype
  28969. type: integer
  28970. - description: 现货商品ID
  28971. in: query
  28972. name: wrstandardid
  28973. required: true
  28974. type: integer
  28975. produces:
  28976. - application/json
  28977. responses:
  28978. "200":
  28979. description: OK
  28980. schema:
  28981. items:
  28982. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  28983. type: array
  28984. "500":
  28985. description: Internal Server Error
  28986. schema:
  28987. $ref: '#/definitions/app.Response'
  28988. security:
  28989. - ApiKeyAuth: []
  28990. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  28991. tags:
  28992. - 企业风险管理v3(app)
  28993. /Ermcp3/QueryGoodsGroup:
  28994. get:
  28995. parameters:
  28996. - description: 用户id
  28997. in: query
  28998. name: userid
  28999. required: true
  29000. type: integer
  29001. - description: 用户类型 2-机构 7-企业成员
  29002. in: query
  29003. name: usertype
  29004. type: integer
  29005. - description: 排除套保品中已关联的商品组 1-排除
  29006. in: query
  29007. name: excludecfg
  29008. type: integer
  29009. produces:
  29010. - application/json
  29011. responses:
  29012. "200":
  29013. description: OK
  29014. schema:
  29015. items:
  29016. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  29017. type: array
  29018. "500":
  29019. description: Internal Server Error
  29020. schema:
  29021. $ref: '#/definitions/app.Response'
  29022. security:
  29023. - ApiKeyAuth: []
  29024. summary: 查询期货商品组
  29025. tags:
  29026. - 企业风险管理v3(app)
  29027. /Ermcp3/QueryGoodsWrstandard:
  29028. get:
  29029. parameters:
  29030. - description: 用户id
  29031. in: query
  29032. name: userid
  29033. required: true
  29034. type: integer
  29035. - description: 用户类型 2-机构 7-企业成员
  29036. in: query
  29037. name: usertype
  29038. type: integer
  29039. - description: 现货商品id
  29040. in: query
  29041. name: deliverygoodsid
  29042. type: integer
  29043. produces:
  29044. - application/json
  29045. responses:
  29046. "200":
  29047. description: OK
  29048. schema:
  29049. items:
  29050. $ref: '#/definitions/models.Ermcp3Wrstandard'
  29051. type: array
  29052. "500":
  29053. description: Internal Server Error
  29054. schema:
  29055. $ref: '#/definitions/app.Response'
  29056. security:
  29057. - ApiKeyAuth: []
  29058. summary: 查询商品品类
  29059. tags:
  29060. - 企业风险管理v3(app)
  29061. /Ermcp3/QueryGoodsbrand:
  29062. get:
  29063. parameters:
  29064. - description: 用户id
  29065. in: query
  29066. name: userid
  29067. required: true
  29068. type: integer
  29069. - description: 用户类型 2-机构 7-企业成员
  29070. in: query
  29071. name: usertype
  29072. type: integer
  29073. produces:
  29074. - application/json
  29075. responses:
  29076. "200":
  29077. description: OK
  29078. schema:
  29079. items:
  29080. $ref: '#/definitions/models.Ermcp3Brand'
  29081. type: array
  29082. "500":
  29083. description: Internal Server Error
  29084. schema:
  29085. $ref: '#/definitions/app.Response'
  29086. security:
  29087. - ApiKeyAuth: []
  29088. summary: 查询商品品牌
  29089. tags:
  29090. - 企业风险管理v3(app)
  29091. /Ermcp3/QueryHPMiddleGoods:
  29092. get:
  29093. parameters:
  29094. - description: 用户ID(填登录用户的userid)
  29095. in: query
  29096. name: userid
  29097. required: true
  29098. type: integer
  29099. - description: 买卖方向 0-买 1-卖
  29100. in: query
  29101. name: buyorsell
  29102. required: true
  29103. type: integer
  29104. - description: 商品组id
  29105. in: query
  29106. name: goodsgroupid
  29107. required: true
  29108. type: integer
  29109. - description: 套保计划编号(模糊匹配)
  29110. in: query
  29111. name: hedgeplanno
  29112. type: string
  29113. - description: 现货商品名称(模糊匹配)
  29114. in: query
  29115. name: wrstandardname
  29116. type: string
  29117. produces:
  29118. - application/json
  29119. responses:
  29120. "200":
  29121. description: OK
  29122. schema:
  29123. items:
  29124. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  29125. type: array
  29126. "500":
  29127. description: Internal Server Error
  29128. schema:
  29129. $ref: '#/definitions/app.Response'
  29130. security:
  29131. - ApiKeyAuth: []
  29132. summary: 查询可关联套保计划
  29133. tags:
  29134. - 企业风险管理v3(app)
  29135. /Ermcp3/QueryHedgePlan:
  29136. get:
  29137. parameters:
  29138. - description: 用户ID
  29139. in: query
  29140. name: userid
  29141. required: true
  29142. type: integer
  29143. - description: 用户类型 2-机构 7-企业成员
  29144. in: query
  29145. name: usertype
  29146. type: integer
  29147. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29148. in: query
  29149. name: hedgeplanstatus
  29150. required: true
  29151. type: string
  29152. produces:
  29153. - application/json
  29154. responses:
  29155. "200":
  29156. description: OK
  29157. schema:
  29158. items:
  29159. $ref: '#/definitions/models.Ermcp3HedgePlan'
  29160. type: array
  29161. "500":
  29162. description: Internal Server Error
  29163. schema:
  29164. $ref: '#/definitions/app.Response'
  29165. security:
  29166. - ApiKeyAuth: []
  29167. summary: 查询套保计划
  29168. tags:
  29169. - 企业风险管理v3(app)
  29170. /Ermcp3/QueryInnerTradeLink:
  29171. get:
  29172. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  29173. parameters:
  29174. - description: 外部成交单号
  29175. in: query
  29176. name: outtradeid
  29177. required: true
  29178. type: integer
  29179. produces:
  29180. - application/json
  29181. responses:
  29182. "200":
  29183. description: OK
  29184. schema:
  29185. items:
  29186. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  29187. type: array
  29188. "500":
  29189. description: Internal Server Error
  29190. schema:
  29191. $ref: '#/definitions/app.Response'
  29192. security:
  29193. - ApiKeyAuth: []
  29194. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  29195. tags:
  29196. - 企业风险管理v3(app)
  29197. /Ermcp3/QueryMiddleGoodsDetail:
  29198. get:
  29199. parameters:
  29200. - description: 用户id
  29201. in: query
  29202. name: userid
  29203. required: true
  29204. type: integer
  29205. - description: 用户类型 2-机构 7-企业成员
  29206. in: query
  29207. name: usertype
  29208. type: integer
  29209. - description: 套保品种id
  29210. in: query
  29211. name: middlegoodsid
  29212. type: integer
  29213. produces:
  29214. - application/json
  29215. responses:
  29216. "200":
  29217. description: OK
  29218. schema:
  29219. items:
  29220. $ref: '#/definitions/models.TBMiddleGoods'
  29221. type: array
  29222. "500":
  29223. description: Internal Server Error
  29224. schema:
  29225. $ref: '#/definitions/app.Response'
  29226. security:
  29227. - ApiKeyAuth: []
  29228. summary: 查询套保品种详情(套保品种/商品详情)
  29229. tags:
  29230. - 企业风险管理v3(app)
  29231. /Ermcp3/QueryOutTradeLink:
  29232. get:
  29233. description: 页面 app 现货->期现关联->外部成交单关联
  29234. parameters:
  29235. - description: 用户ID(填登录用户的userid)
  29236. in: query
  29237. name: userid
  29238. required: true
  29239. type: integer
  29240. - description: 外部订单号(模糊匹配)
  29241. in: query
  29242. name: outtradeid
  29243. type: string
  29244. - description: 合约名称/代码(模糊匹配)
  29245. in: query
  29246. name: goodsname
  29247. type: string
  29248. - description: 关联状态 0-未关联 1-已关联
  29249. in: query
  29250. name: hasinnerorder
  29251. type: integer
  29252. produces:
  29253. - application/json
  29254. responses:
  29255. "200":
  29256. description: OK
  29257. schema:
  29258. items:
  29259. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  29260. type: array
  29261. "500":
  29262. description: Internal Server Error
  29263. schema:
  29264. $ref: '#/definitions/app.Response'
  29265. security:
  29266. - ApiKeyAuth: []
  29267. summary: 查询外部成交单关联
  29268. tags:
  29269. - 企业风险管理v3(app)
  29270. /Ermcp3/QueryPaAreaAuditCfg:
  29271. get:
  29272. parameters:
  29273. - description: 用户id
  29274. in: query
  29275. name: userid
  29276. required: true
  29277. type: integer
  29278. produces:
  29279. - application/json
  29280. responses:
  29281. "200":
  29282. description: OK
  29283. schema:
  29284. items:
  29285. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  29286. type: array
  29287. "500":
  29288. description: Internal Server Error
  29289. schema:
  29290. $ref: '#/definitions/app.Response'
  29291. security:
  29292. - ApiKeyAuth: []
  29293. summary: 查询审核设置
  29294. tags:
  29295. - 企业风险管理v3(app)
  29296. /Ermcp3/QueryPaAreaSubject:
  29297. get:
  29298. parameters:
  29299. - description: 用户id
  29300. in: query
  29301. name: userid
  29302. required: true
  29303. type: integer
  29304. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  29305. in: query
  29306. name: subjectid
  29307. type: integer
  29308. - description: 主体类型 - 1:交易主体 2:业务部门
  29309. in: query
  29310. name: subjecttype
  29311. type: integer
  29312. - description: '主体状态 - 1:正常 2: 停用'
  29313. in: query
  29314. name: subjectstatus
  29315. type: integer
  29316. produces:
  29317. - application/json
  29318. responses:
  29319. "200":
  29320. description: OK
  29321. schema:
  29322. items:
  29323. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  29324. type: array
  29325. "500":
  29326. description: Internal Server Error
  29327. schema:
  29328. $ref: '#/definitions/app.Response'
  29329. security:
  29330. - ApiKeyAuth: []
  29331. summary: 查询交易主体
  29332. tags:
  29333. - 企业风险管理v3(app)
  29334. /Ermcp3/QueryPaTradeLink:
  29335. get:
  29336. description: 页面 app 现货->期现关联->期现单据关联
  29337. parameters:
  29338. - description: 用户ID
  29339. in: query
  29340. name: userid
  29341. required: true
  29342. type: integer
  29343. produces:
  29344. - application/json
  29345. responses:
  29346. "200":
  29347. description: OK
  29348. schema:
  29349. items:
  29350. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  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/QueryPaTradeLinkDetail:
  29362. get:
  29363. description: 页面 app 现货->期现关联->关联记录
  29364. parameters:
  29365. - description: 用户ID(填登录用户的userid)
  29366. in: query
  29367. name: userid
  29368. required: true
  29369. type: integer
  29370. - description: 关联状态 1:成功 2:失败 3:解绑
  29371. in: query
  29372. name: linkstatus
  29373. type: integer
  29374. - description: 期货订单号(模糊匹配)
  29375. in: query
  29376. name: tradeid
  29377. type: string
  29378. - description: 现货编号(模糊匹配)
  29379. in: query
  29380. name: contractno
  29381. type: string
  29382. - description: 期货账户(模糊匹配)
  29383. in: query
  29384. name: taname
  29385. type: string
  29386. produces:
  29387. - application/json
  29388. responses:
  29389. "200":
  29390. description: OK
  29391. schema:
  29392. items:
  29393. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  29394. type: array
  29395. "500":
  29396. description: Internal Server Error
  29397. schema:
  29398. $ref: '#/definitions/app.Response'
  29399. security:
  29400. - ApiKeyAuth: []
  29401. summary: 查询期现关联记录
  29402. tags:
  29403. - 企业风险管理v3(app)
  29404. /Ermcp3/QueryParamChangeApp:
  29405. get:
  29406. description: |-
  29407. 原型页面:
  29408. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  29409. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  29410. parameters:
  29411. - description: 用户ID
  29412. in: query
  29413. name: userid
  29414. required: true
  29415. type: integer
  29416. - description: 现货品种id
  29417. in: query
  29418. name: deliverygoodsid
  29419. type: integer
  29420. - description: 现货商品id
  29421. in: query
  29422. name: wrstandardid
  29423. type: integer
  29424. - description: 套保商品id
  29425. in: query
  29426. name: middlegoodsid
  29427. type: integer
  29428. - description: 操作类型 1:新增 2:修改
  29429. in: query
  29430. name: operatetype
  29431. type: integer
  29432. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  29433. in: query
  29434. name: paramchangetype
  29435. type: integer
  29436. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29437. in: query
  29438. name: ftstatus
  29439. type: string
  29440. produces:
  29441. - application/json
  29442. responses:
  29443. "200":
  29444. description: OK
  29445. schema:
  29446. items:
  29447. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  29448. type: array
  29449. "500":
  29450. description: Internal Server Error
  29451. schema:
  29452. $ref: '#/definitions/app.Response'
  29453. security:
  29454. - ApiKeyAuth: []
  29455. summary: 查询现货商品参数变更申请(流水)
  29456. tags:
  29457. - 企业风险管理v3(app)
  29458. /Ermcp3/QueryRootUserAccount:
  29459. get:
  29460. parameters:
  29461. - description: 用户ID
  29462. in: query
  29463. name: userid
  29464. required: true
  29465. type: integer
  29466. produces:
  29467. - application/json
  29468. responses:
  29469. "200":
  29470. description: OK
  29471. schema:
  29472. items:
  29473. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  29474. type: array
  29475. "500":
  29476. description: Internal Server Error
  29477. schema:
  29478. $ref: '#/definitions/app.Response'
  29479. security:
  29480. - ApiKeyAuth: []
  29481. summary: 查询顶级用户信息
  29482. tags:
  29483. - 企业风险管理v3(app)
  29484. /Ermcp3/QuerySCMiddleGoods:
  29485. get:
  29486. description: |-
  29487. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  29488. 现货编号 即 合同编号
  29489. parameters:
  29490. - description: 用户ID(填登录用户的userid)
  29491. in: query
  29492. name: userid
  29493. required: true
  29494. type: integer
  29495. - description: 买卖方向 0-买 1-卖
  29496. in: query
  29497. name: buyorsell
  29498. required: true
  29499. type: integer
  29500. - description: 商品组id
  29501. in: query
  29502. name: goodsgroupid
  29503. required: true
  29504. type: integer
  29505. - description: 业务类型 1:套保 2:套利
  29506. in: query
  29507. name: biztype
  29508. type: integer
  29509. - description: 现货编号(模糊匹配)
  29510. in: query
  29511. name: contractno
  29512. type: string
  29513. - description: 对手方(模糊匹配)
  29514. in: query
  29515. name: customername
  29516. type: string
  29517. - description: 现货商品名称(模糊匹配)
  29518. in: query
  29519. name: wrstandardname
  29520. type: string
  29521. produces:
  29522. - application/json
  29523. responses:
  29524. "200":
  29525. description: OK
  29526. schema:
  29527. items:
  29528. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  29529. type: array
  29530. "500":
  29531. description: Internal Server Error
  29532. schema:
  29533. $ref: '#/definitions/app.Response'
  29534. security:
  29535. - ApiKeyAuth: []
  29536. summary: 查询现货订单
  29537. tags:
  29538. - 企业风险管理v3(app)
  29539. /Ermcp3/QuerySpotContract:
  29540. get:
  29541. parameters:
  29542. - description: 用户id(当指定contractid, userid可不填)
  29543. in: query
  29544. name: userid
  29545. required: true
  29546. type: integer
  29547. - description: 用户类型 2-机构 7-企业成员
  29548. in: query
  29549. name: usertype
  29550. type: integer
  29551. - description: 合同类型 1-采购, -1-销售
  29552. in: query
  29553. name: contracttype
  29554. type: integer
  29555. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  29556. in: query
  29557. name: querytype
  29558. type: string
  29559. - description: 合同ID(SpotContractId)
  29560. in: query
  29561. name: contractid
  29562. type: string
  29563. - description: 合同编号(模糊匹配)
  29564. in: query
  29565. name: contractno
  29566. type: string
  29567. - description: 商品名称(模糊匹配)
  29568. in: query
  29569. name: wrstandardname
  29570. type: string
  29571. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29572. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29573. in: query
  29574. name: status
  29575. type: string
  29576. - description: 是否只查今日的合同 1-查今日合同
  29577. in: query
  29578. name: istoday
  29579. type: integer
  29580. produces:
  29581. - application/json
  29582. responses:
  29583. "200":
  29584. description: OK
  29585. schema:
  29586. items:
  29587. $ref: '#/definitions/models.Ermcp3Contract'
  29588. type: array
  29589. "500":
  29590. description: Internal Server Error
  29591. schema:
  29592. $ref: '#/definitions/app.Response'
  29593. security:
  29594. - ApiKeyAuth: []
  29595. summary: 查询现货合同
  29596. tags:
  29597. - 企业风险管理v3(app)
  29598. /Ermcp3/QuerySpotContractBS:
  29599. get:
  29600. parameters:
  29601. - description: 用户id
  29602. in: query
  29603. name: userid
  29604. required: true
  29605. type: integer
  29606. - description: 用户类型 2-机构 7-企业成员
  29607. in: query
  29608. name: usertype
  29609. type: integer
  29610. - description: 合同类型 1-采购, -1-销售
  29611. in: query
  29612. name: contracttype
  29613. required: true
  29614. type: integer
  29615. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  29616. in: query
  29617. name: querytype
  29618. type: integer
  29619. - description: 合同ID(SpotContractId)
  29620. in: query
  29621. name: contractid
  29622. type: string
  29623. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29624. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29625. in: query
  29626. name: status
  29627. type: string
  29628. - description: 是否只查今日的合同 1-查今日合同
  29629. in: query
  29630. name: istoday
  29631. type: integer
  29632. produces:
  29633. - application/json
  29634. responses:
  29635. "200":
  29636. description: OK
  29637. schema:
  29638. items:
  29639. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  29640. type: array
  29641. "500":
  29642. description: Internal Server Error
  29643. schema:
  29644. $ref: '#/definitions/app.Response'
  29645. security:
  29646. - ApiKeyAuth: []
  29647. summary: 查询合同(采购/销售)
  29648. tags:
  29649. - 企业风险管理v3(app)
  29650. /Ermcp3/QuerySpotGoodsPrice:
  29651. get:
  29652. parameters:
  29653. - description: 用户ID
  29654. in: query
  29655. name: userid
  29656. required: true
  29657. type: integer
  29658. produces:
  29659. - application/json
  29660. responses:
  29661. "200":
  29662. description: OK
  29663. schema:
  29664. items:
  29665. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  29666. type: array
  29667. "500":
  29668. description: Internal Server Error
  29669. schema:
  29670. $ref: '#/definitions/app.Response'
  29671. security:
  29672. - ApiKeyAuth: []
  29673. summary: 查询现货市价(现货市价)
  29674. tags:
  29675. - 企业风险管理v3(app)
  29676. /Ermcp3/QuerySpotGoodsPriceLog:
  29677. get:
  29678. parameters:
  29679. - description: 用户ID
  29680. in: query
  29681. name: userid
  29682. required: true
  29683. type: integer
  29684. - description: 现货商品ID
  29685. in: query
  29686. name: deliverygoodsid
  29687. required: true
  29688. type: integer
  29689. - description: 品牌ID
  29690. in: query
  29691. name: brandid
  29692. type: integer
  29693. - description: 品类ID
  29694. in: query
  29695. name: wrstandardid
  29696. type: integer
  29697. produces:
  29698. - application/json
  29699. responses:
  29700. "200":
  29701. description: OK
  29702. schema:
  29703. items:
  29704. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  29705. type: array
  29706. "500":
  29707. description: Internal Server Error
  29708. schema:
  29709. $ref: '#/definitions/app.Response'
  29710. security:
  29711. - ApiKeyAuth: []
  29712. summary: 查询现货市价详情(现货市价/详情)
  29713. tags:
  29714. - 企业风险管理v3(app)
  29715. /Ermcp3/QuerySubTaaccount:
  29716. get:
  29717. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  29718. parameters:
  29719. - description: 母账号id
  29720. in: query
  29721. name: parentaccountid
  29722. type: integer
  29723. - description: 母账号代码
  29724. in: query
  29725. name: parentaccountcode
  29726. type: string
  29727. produces:
  29728. - application/json
  29729. responses:
  29730. "200":
  29731. description: OK
  29732. schema:
  29733. items:
  29734. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  29735. type: array
  29736. "500":
  29737. description: Internal Server Error
  29738. schema:
  29739. $ref: '#/definitions/app.Response'
  29740. security:
  29741. - ApiKeyAuth: []
  29742. summary: 查询期货子账户
  29743. tags:
  29744. - 企业风险管理v3(app)
  29745. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  29746. get:
  29747. parameters:
  29748. - description: 套期项目ID
  29749. in: query
  29750. name: hedgeditemid
  29751. required: true
  29752. type: integer
  29753. produces:
  29754. - application/json
  29755. responses:
  29756. "200":
  29757. description: OK
  29758. schema:
  29759. items:
  29760. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  29761. type: array
  29762. "500":
  29763. description: Internal Server Error
  29764. schema:
  29765. $ref: '#/definitions/app.Response'
  29766. security:
  29767. - ApiKeyAuth: []
  29768. summary: 现货成交明细查询
  29769. tags:
  29770. - 企业风险管理v8
  29771. /Ermcp8/QueryERMCP2HedgedItemspot:
  29772. get:
  29773. parameters:
  29774. - description: 套期项目ID
  29775. in: query
  29776. name: hedgeditemid
  29777. required: true
  29778. type: integer
  29779. produces:
  29780. - application/json
  29781. responses:
  29782. "200":
  29783. description: OK
  29784. schema:
  29785. items:
  29786. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  29787. type: array
  29788. "500":
  29789. description: Internal Server Error
  29790. schema:
  29791. $ref: '#/definitions/app.Response'
  29792. security:
  29793. - ApiKeyAuth: []
  29794. summary: 套期计划明细查询
  29795. tags:
  29796. - 企业风险管理v8
  29797. /Ermcp8/QueryERMCPJRLinkPos:
  29798. get:
  29799. parameters:
  29800. - description: 套期项目ID
  29801. in: query
  29802. name: hedgeditemid
  29803. required: true
  29804. type: integer
  29805. produces:
  29806. - application/json
  29807. responses:
  29808. "200":
  29809. description: OK
  29810. schema:
  29811. items:
  29812. $ref: '#/definitions/models.Ermcpjrlinkpos'
  29813. type: array
  29814. "500":
  29815. description: Internal Server Error
  29816. schema:
  29817. $ref: '#/definitions/app.Response'
  29818. security:
  29819. - ApiKeyAuth: []
  29820. summary: 期货持仓明细查询
  29821. tags:
  29822. - 企业风险管理v8
  29823. /Ermcp8/QueryERMCPPatradeLinkDetail:
  29824. get:
  29825. parameters:
  29826. - description: 套期项目ID
  29827. in: query
  29828. name: hedgeditemid
  29829. required: true
  29830. type: integer
  29831. produces:
  29832. - application/json
  29833. responses:
  29834. "200":
  29835. description: OK
  29836. schema:
  29837. items:
  29838. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  29839. type: array
  29840. "500":
  29841. description: Internal Server Error
  29842. schema:
  29843. $ref: '#/definitions/app.Response'
  29844. security:
  29845. - ApiKeyAuth: []
  29846. summary: 期货成交单明细查询
  29847. tags:
  29848. - 企业风险管理v8
  29849. /Ermcp8/QueryErmcp2AreaExposure:
  29850. get:
  29851. parameters:
  29852. - description: 用户ID
  29853. in: query
  29854. name: userid
  29855. required: true
  29856. type: string
  29857. produces:
  29858. - application/json
  29859. responses:
  29860. "200":
  29861. description: OK
  29862. schema:
  29863. items:
  29864. $ref: '#/definitions/models.Ermcp2AreaExposure'
  29865. type: array
  29866. "500":
  29867. description: Internal Server Error
  29868. schema:
  29869. $ref: '#/definitions/app.Response'
  29870. security:
  29871. - ApiKeyAuth: []
  29872. summary: 企业敞口查询
  29873. tags:
  29874. - 企业风险管理v8
  29875. /Ermcp8/QueryErmcp2HedgedItem:
  29876. get:
  29877. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  29878. parameters:
  29879. - description: 用户ID
  29880. in: query
  29881. name: userid
  29882. required: true
  29883. type: string
  29884. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29885. in: query
  29886. name: hedgedtype
  29887. type: integer
  29888. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29889. in: query
  29890. name: hedgeditemstatus
  29891. type: integer
  29892. produces:
  29893. - application/json
  29894. responses:
  29895. "200":
  29896. description: OK
  29897. schema:
  29898. items:
  29899. $ref: '#/definitions/models.Ermcp2hedgeditem'
  29900. type: array
  29901. "500":
  29902. description: Internal Server Error
  29903. schema:
  29904. $ref: '#/definitions/app.Response'
  29905. security:
  29906. - ApiKeyAuth: []
  29907. summary: 查询被套期项目信息
  29908. tags:
  29909. - 企业风险管理v8
  29910. /Ermcp8/QueryErmcp2HedgedItemLink:
  29911. get:
  29912. parameters:
  29913. - description: 现货合同ID
  29914. in: query
  29915. name: spotcontractid
  29916. required: true
  29917. type: integer
  29918. produces:
  29919. - application/json
  29920. responses:
  29921. "200":
  29922. description: OK
  29923. schema:
  29924. items:
  29925. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  29926. type: array
  29927. "500":
  29928. description: Internal Server Error
  29929. schema:
  29930. $ref: '#/definitions/app.Response'
  29931. security:
  29932. - ApiKeyAuth: []
  29933. summary: 现货合同关联被套期项目查询
  29934. tags:
  29935. - 企业风险管理v8
  29936. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  29937. get:
  29938. parameters:
  29939. - description: 用户ID
  29940. in: query
  29941. name: userid
  29942. required: true
  29943. type: integer
  29944. - description: 套保品种ID
  29945. in: query
  29946. name: middlegoodsid
  29947. required: true
  29948. type: integer
  29949. produces:
  29950. - application/json
  29951. responses:
  29952. "200":
  29953. description: OK
  29954. schema:
  29955. items:
  29956. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  29957. type: array
  29958. "500":
  29959. description: Internal Server Error
  29960. schema:
  29961. $ref: '#/definitions/app.Response'
  29962. security:
  29963. - ApiKeyAuth: []
  29964. summary: 敞口明细 - 计划变动明细
  29965. tags:
  29966. - 企业风险管理v8
  29967. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  29968. get:
  29969. parameters:
  29970. - description: 用户ID
  29971. in: query
  29972. name: userid
  29973. required: true
  29974. type: integer
  29975. - description: 套保品种ID
  29976. in: query
  29977. name: middlegoodsid
  29978. required: true
  29979. type: integer
  29980. produces:
  29981. - application/json
  29982. responses:
  29983. "200":
  29984. description: OK
  29985. schema:
  29986. items:
  29987. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  29988. type: array
  29989. "500":
  29990. description: Internal Server Error
  29991. schema:
  29992. $ref: '#/definitions/app.Response'
  29993. security:
  29994. - ApiKeyAuth: []
  29995. summary: 敞口明细 - 现货变动明细查询
  29996. tags:
  29997. - 企业风险管理v8
  29998. /Ermcp8/QueryErmcp8EnableHedgeditem:
  29999. get:
  30000. parameters:
  30001. - description: 用户ID
  30002. in: query
  30003. name: userid
  30004. required: true
  30005. type: integer
  30006. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  30007. in: query
  30008. name: spottype
  30009. required: true
  30010. type: integer
  30011. - description: 现货商品ID
  30012. in: query
  30013. name: wrstandardid
  30014. type: integer
  30015. produces:
  30016. - application/json
  30017. responses:
  30018. "200":
  30019. description: OK
  30020. schema:
  30021. items:
  30022. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  30023. type: array
  30024. "500":
  30025. description: Internal Server Error
  30026. schema:
  30027. $ref: '#/definitions/app.Response'
  30028. security:
  30029. - ApiKeyAuth: []
  30030. summary: 可关联项目查询
  30031. tags:
  30032. - 企业风险管理v8
  30033. /Ermcp8/QueryErmcp8HedgeditemReport:
  30034. get:
  30035. parameters:
  30036. - description: 用户ID
  30037. in: query
  30038. name: userid
  30039. required: true
  30040. type: integer
  30041. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30042. in: query
  30043. name: cycletype
  30044. type: integer
  30045. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  30046. 全(0)【原值】
  30047. in: query
  30048. name: cycletime
  30049. required: true
  30050. type: string
  30051. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  30052. in: query
  30053. name: hedgedtype
  30054. type: integer
  30055. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  30056. in: query
  30057. name: hedgeditemstatus
  30058. type: integer
  30059. - description: 项目编号,模糊查询
  30060. in: query
  30061. name: hedgeditemnum
  30062. type: string
  30063. - description: 现货商品ID
  30064. in: query
  30065. name: wrstandardid
  30066. type: integer
  30067. produces:
  30068. - application/json
  30069. responses:
  30070. "200":
  30071. description: OK
  30072. schema:
  30073. items:
  30074. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  30075. type: array
  30076. "500":
  30077. description: Internal Server Error
  30078. schema:
  30079. $ref: '#/definitions/app.Response'
  30080. security:
  30081. - ApiKeyAuth: []
  30082. summary: 套期项目报表查询
  30083. tags:
  30084. - 企业风险管理v8
  30085. /Ermcp8/QueryErmcp8RunningHedgeditem:
  30086. get:
  30087. parameters:
  30088. - description: 用户ID
  30089. in: query
  30090. name: userid
  30091. required: true
  30092. type: string
  30093. produces:
  30094. - application/json
  30095. responses:
  30096. "200":
  30097. description: OK
  30098. schema:
  30099. items:
  30100. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  30101. type: array
  30102. "500":
  30103. description: Internal Server Error
  30104. schema:
  30105. $ref: '#/definitions/app.Response'
  30106. security:
  30107. - ApiKeyAuth: []
  30108. summary: 查询执行中项目查询信息
  30109. tags:
  30110. - 企业风险管理v8
  30111. /Ermcp8/QueryInternalEnableTradeDetail:
  30112. get:
  30113. parameters:
  30114. - description: 企业ID
  30115. in: query
  30116. name: areauserid
  30117. required: true
  30118. type: integer
  30119. - description: 期货合约ID
  30120. in: query
  30121. name: goodsid
  30122. required: true
  30123. type: integer
  30124. - description: 交易用户ID
  30125. in: query
  30126. name: tradeuserid
  30127. required: true
  30128. type: integer
  30129. produces:
  30130. - application/json
  30131. responses:
  30132. "200":
  30133. description: OK
  30134. schema:
  30135. items:
  30136. $ref: '#/definitions/models.InternalEnableTradeDetail'
  30137. type: array
  30138. "500":
  30139. description: Internal Server Error
  30140. schema:
  30141. $ref: '#/definitions/app.Response'
  30142. security:
  30143. - ApiKeyAuth: []
  30144. summary: 内部成交单可关联项目查询
  30145. tags:
  30146. - 企业风险管理v8
  30147. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  30148. get:
  30149. parameters:
  30150. - description: 用户编号
  30151. in: query
  30152. name: userid
  30153. required: true
  30154. type: integer
  30155. - description: 起始日期(格式yyyymmdd)
  30156. in: query
  30157. name: begindate
  30158. type: string
  30159. - description: 终止日期(格式yyyymmdd)
  30160. in: query
  30161. name: enddate
  30162. type: string
  30163. - description: 合约代码
  30164. in: query
  30165. name: goodscode
  30166. type: string
  30167. - description: 合约名称
  30168. in: query
  30169. name: goodsname
  30170. type: string
  30171. - description: 成交单号
  30172. in: query
  30173. name: tradeid
  30174. type: integer
  30175. - description: 方向 - 0:买 1:卖
  30176. in: query
  30177. name: buyorsell
  30178. type: integer
  30179. - description: 套期主体
  30180. in: query
  30181. name: accountname
  30182. type: string
  30183. produces:
  30184. - application/json
  30185. responses:
  30186. "200":
  30187. description: OK
  30188. schema:
  30189. items:
  30190. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  30191. type: array
  30192. "500":
  30193. description: Internal Server Error
  30194. schema:
  30195. $ref: '#/definitions/app.Response'
  30196. security:
  30197. - ApiKeyAuth: []
  30198. summary: 内部未关联成交单查询
  30199. tags:
  30200. - 企业风险管理v8
  30201. /Ermcp8/QueryMarketCalendar:
  30202. get:
  30203. parameters:
  30204. - description: 市场ID
  30205. in: query
  30206. name: marketid
  30207. type: integer
  30208. produces:
  30209. - application/json
  30210. responses:
  30211. "200":
  30212. description: OK
  30213. schema:
  30214. items:
  30215. $ref: '#/definitions/models.Marketcalendar'
  30216. type: array
  30217. "500":
  30218. description: Internal Server Error
  30219. schema:
  30220. $ref: '#/definitions/app.Response'
  30221. security:
  30222. - ApiKeyAuth: []
  30223. summary: 市场节假日查询
  30224. tags:
  30225. - 企业风险管理v8
  30226. /Ermcp8/QueryPatradeLinkDetail:
  30227. get:
  30228. parameters:
  30229. - description: 用户ID
  30230. in: query
  30231. name: userid
  30232. required: true
  30233. type: integer
  30234. - description: 套保品种ID
  30235. in: query
  30236. name: middlegoodsid
  30237. required: true
  30238. type: integer
  30239. produces:
  30240. - application/json
  30241. responses:
  30242. "200":
  30243. description: OK
  30244. schema:
  30245. items:
  30246. $ref: '#/definitions/models.Patradelinkdetail'
  30247. type: array
  30248. "500":
  30249. description: Internal Server Error
  30250. schema:
  30251. $ref: '#/definitions/app.Response'
  30252. security:
  30253. - ApiKeyAuth: []
  30254. summary: 敞口明细 - 期货变动明细
  30255. tags:
  30256. - 企业风险管理v8
  30257. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  30258. get:
  30259. parameters:
  30260. - description: 企业ID
  30261. in: query
  30262. name: areauserid
  30263. required: true
  30264. type: integer
  30265. - description: 计划类型 - 1:采购 -1:销售
  30266. in: query
  30267. name: contracttype
  30268. type: integer
  30269. - description: 计划编号,模糊查询
  30270. in: query
  30271. name: hedgeplanno
  30272. type: string
  30273. - description: 现货商品,模糊查询
  30274. in: query
  30275. name: wrstandardname
  30276. type: string
  30277. produces:
  30278. - application/json
  30279. responses:
  30280. "200":
  30281. description: OK
  30282. schema:
  30283. items:
  30284. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  30285. type: array
  30286. "500":
  30287. description: Internal Server Error
  30288. schema:
  30289. $ref: '#/definitions/app.Response'
  30290. security:
  30291. - ApiKeyAuth: []
  30292. summary: 未关联购销计划
  30293. tags:
  30294. - 企业风险管理v8
  30295. /Ermcp8/QueryUnLinkSpotContract:
  30296. get:
  30297. parameters:
  30298. - description: 用户ID
  30299. in: query
  30300. name: userid
  30301. required: true
  30302. type: integer
  30303. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  30304. in: query
  30305. name: pricetype
  30306. type: integer
  30307. - description: 合同编号, 模拟查询
  30308. in: query
  30309. name: contractno
  30310. type: string
  30311. - description: 对手方, 模拟查询
  30312. in: query
  30313. name: customername
  30314. type: string
  30315. - description: 项合同类型 - 1:采购 -1:销售
  30316. in: query
  30317. name: contracttype
  30318. type: integer
  30319. produces:
  30320. - application/json
  30321. responses:
  30322. "200":
  30323. description: OK
  30324. schema:
  30325. items:
  30326. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  30327. type: array
  30328. "500":
  30329. description: Internal Server Error
  30330. schema:
  30331. $ref: '#/definitions/app.Response'
  30332. security:
  30333. - ApiKeyAuth: []
  30334. summary: 未关联合同查询
  30335. tags:
  30336. - 企业风险管理v8
  30337. /Erms2/QueryArbitrageStrategy:
  30338. get:
  30339. parameters:
  30340. - description: 账户ID
  30341. in: query
  30342. name: userid
  30343. required: true
  30344. type: integer
  30345. - description: 商品组ID(品种ID)
  30346. in: query
  30347. name: goodsgroupid
  30348. type: string
  30349. produces:
  30350. - application/json
  30351. responses:
  30352. "200":
  30353. description: OK
  30354. schema:
  30355. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  30356. "500":
  30357. description: Internal Server Error
  30358. schema:
  30359. $ref: '#/definitions/app.Response'
  30360. security:
  30361. - ApiKeyAuth: []
  30362. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  30363. tags:
  30364. - 风险管理
  30365. /Erms2/QueryInnerTradeDetail:
  30366. get:
  30367. parameters:
  30368. - description: 资金账户
  30369. in: query
  30370. name: accountid
  30371. required: true
  30372. type: integer
  30373. produces:
  30374. - application/json
  30375. responses:
  30376. "200":
  30377. description: OK
  30378. schema:
  30379. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  30380. "500":
  30381. description: Internal Server Error
  30382. schema:
  30383. $ref: '#/definitions/app.Response'
  30384. security:
  30385. - ApiKeyAuth: []
  30386. summary: 查询内部成交单信息
  30387. tags:
  30388. - 风险管理
  30389. /Erms2/QuerySpotContract:
  30390. get:
  30391. parameters:
  30392. - description: 策略申请ID
  30393. in: query
  30394. name: asapplyid
  30395. required: true
  30396. type: integer
  30397. - description: 现货合同ID
  30398. in: query
  30399. name: spotcontractid
  30400. type: integer
  30401. produces:
  30402. - application/json
  30403. responses:
  30404. "200":
  30405. description: OK
  30406. schema:
  30407. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  30408. "500":
  30409. description: Internal Server Error
  30410. schema:
  30411. $ref: '#/definitions/app.Response'
  30412. security:
  30413. - ApiKeyAuth: []
  30414. summary: 查询现货合同表信息(指定策略ID、未结束的)
  30415. tags:
  30416. - 风险管理
  30417. /Erms3/AddErms2ASApply:
  30418. post:
  30419. parameters:
  30420. - description: 申请参数
  30421. in: body
  30422. name: jsonBody
  30423. required: true
  30424. schema:
  30425. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  30426. produces:
  30427. - application/json
  30428. responses:
  30429. "200":
  30430. description: OK
  30431. schema:
  30432. $ref: '#/definitions/app.Response'
  30433. "500":
  30434. description: Internal Server Error
  30435. schema:
  30436. $ref: '#/definitions/app.Response'
  30437. security:
  30438. - ApiKeyAuth: []
  30439. summary: 新增期现套利业务申请
  30440. tags:
  30441. - 风险管理v3
  30442. /Erms3/AddErms2SpotTradeApply:
  30443. post:
  30444. parameters:
  30445. - description: 申请参数
  30446. in: body
  30447. name: jsonBody
  30448. required: true
  30449. schema:
  30450. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  30451. produces:
  30452. - application/json
  30453. responses:
  30454. "200":
  30455. description: OK
  30456. schema:
  30457. $ref: '#/definitions/app.Response'
  30458. "500":
  30459. description: Internal Server Error
  30460. schema:
  30461. $ref: '#/definitions/app.Response'
  30462. security:
  30463. - ApiKeyAuth: []
  30464. summary: 新增现货贸易业务申请
  30465. tags:
  30466. - 风险管理v3
  30467. /Erms3/AddSpotContractApply:
  30468. post:
  30469. parameters:
  30470. - description: 申请参数
  30471. in: body
  30472. name: jsonBody
  30473. required: true
  30474. schema:
  30475. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  30476. produces:
  30477. - application/json
  30478. responses:
  30479. "200":
  30480. description: OK
  30481. schema:
  30482. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  30483. "500":
  30484. description: Internal Server Error
  30485. schema:
  30486. $ref: '#/definitions/app.Response'
  30487. security:
  30488. - ApiKeyAuth: []
  30489. summary: 新增现货合同申请
  30490. tags:
  30491. - 风险管理v3
  30492. /Erms3/AddUserInfoApply:
  30493. post:
  30494. parameters:
  30495. - description: 用户信息
  30496. in: body
  30497. name: jsonBody
  30498. required: true
  30499. schema:
  30500. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  30501. produces:
  30502. - application/json
  30503. responses:
  30504. "200":
  30505. description: OK
  30506. schema:
  30507. $ref: '#/definitions/app.Response'
  30508. "500":
  30509. description: Internal Server Error
  30510. schema:
  30511. $ref: '#/definitions/app.Response'
  30512. security:
  30513. - ApiKeyAuth: []
  30514. summary: 新增客户申请
  30515. tags:
  30516. - 风险管理v3
  30517. /Erms3/DeleteUserInfoApply:
  30518. get:
  30519. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  30520. parameters:
  30521. - description: 用户ID
  30522. in: query
  30523. name: userID
  30524. required: true
  30525. type: integer
  30526. produces:
  30527. - application/json
  30528. responses:
  30529. "200":
  30530. description: OK
  30531. schema:
  30532. $ref: '#/definitions/app.Response'
  30533. "500":
  30534. description: Internal Server Error
  30535. schema:
  30536. $ref: '#/definitions/app.Response'
  30537. security:
  30538. - ApiKeyAuth: []
  30539. summary: 删除客户申请
  30540. tags:
  30541. - 风险管理v3
  30542. /Erms3/ModifyUserInfoApply:
  30543. post:
  30544. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  30545. int, "userstate": 2 }'
  30546. parameters:
  30547. - description: 用户信息
  30548. in: body
  30549. name: jsonBody
  30550. required: true
  30551. schema:
  30552. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  30553. produces:
  30554. - application/json
  30555. responses:
  30556. "200":
  30557. description: OK
  30558. schema:
  30559. $ref: '#/definitions/app.Response'
  30560. "500":
  30561. description: Internal Server Error
  30562. schema:
  30563. $ref: '#/definitions/app.Response'
  30564. security:
  30565. - ApiKeyAuth: []
  30566. summary: 修改客户申请
  30567. tags:
  30568. - 风险管理v3
  30569. /Erms3/QueryBusinessInfo:
  30570. get:
  30571. parameters:
  30572. - description: 资金账号ID列表,用逗号分隔
  30573. in: query
  30574. name: accountids
  30575. required: true
  30576. type: string
  30577. - description: 状态,0为未结束 1为已结束
  30578. in: query
  30579. name: status
  30580. required: true
  30581. type: integer
  30582. produces:
  30583. - application/json
  30584. responses:
  30585. "200":
  30586. description: OK
  30587. schema:
  30588. items:
  30589. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  30590. type: array
  30591. "500":
  30592. description: Internal Server Error
  30593. schema:
  30594. $ref: '#/definitions/app.Response'
  30595. security:
  30596. - ApiKeyAuth: []
  30597. summary: 查询业务表单数据
  30598. tags:
  30599. - 风险管理v3
  30600. /Erms3/QueryPendingAuditContract:
  30601. get:
  30602. parameters:
  30603. - description: 资金账号ID列表,逗号隔开
  30604. in: query
  30605. name: accountids
  30606. required: true
  30607. type: string
  30608. - description: 合同类型 1-采购 -1-销售
  30609. in: query
  30610. name: contracttype
  30611. required: true
  30612. type: integer
  30613. - description: 合同模式 1-普通 2-回购
  30614. in: query
  30615. name: contractmode
  30616. required: true
  30617. type: integer
  30618. produces:
  30619. - application/json
  30620. responses:
  30621. "200":
  30622. description: OK
  30623. schema:
  30624. items:
  30625. $ref: '#/definitions/erms3.QryAuditContractRsp'
  30626. type: array
  30627. "500":
  30628. description: Internal Server Error
  30629. schema:
  30630. $ref: '#/definitions/app.Response'
  30631. security:
  30632. - ApiKeyAuth: []
  30633. summary: 查询待审核合同
  30634. tags:
  30635. - 风险管理v3
  30636. /Erms3/QueryPendingBusiness:
  30637. get:
  30638. parameters:
  30639. - description: 资金账号ID列表,逗号隔开
  30640. in: query
  30641. name: accountids
  30642. required: true
  30643. type: string
  30644. produces:
  30645. - application/json
  30646. responses:
  30647. "200":
  30648. description: OK
  30649. schema:
  30650. items:
  30651. $ref: '#/definitions/erms3.QryPendingBizRsp'
  30652. type: array
  30653. "500":
  30654. description: Internal Server Error
  30655. schema:
  30656. $ref: '#/definitions/app.Response'
  30657. security:
  30658. - ApiKeyAuth: []
  30659. summary: 查询待审核基差贸易业务
  30660. tags:
  30661. - 风险管理v3
  30662. /Erms3/QuerySpotContractAppleForm:
  30663. get:
  30664. parameters:
  30665. - description: 登录账号
  30666. in: query
  30667. name: loginID
  30668. required: true
  30669. type: integer
  30670. produces:
  30671. - application/json
  30672. responses:
  30673. "200":
  30674. description: OK
  30675. schema:
  30676. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  30677. "500":
  30678. description: Internal Server Error
  30679. schema:
  30680. $ref: '#/definitions/app.Response'
  30681. security:
  30682. - ApiKeyAuth: []
  30683. summary: 查询合同申请表单数据
  30684. tags:
  30685. - 风险管理v3
  30686. /Erms3/QuerySpotContractDetail:
  30687. get:
  30688. parameters:
  30689. - description: 资金账号ID列表,用逗号分隔
  30690. in: query
  30691. name: accountids
  30692. required: true
  30693. type: string
  30694. - description: 合同类型,1为采购合同 -1为销售合同
  30695. in: query
  30696. name: contracttype
  30697. required: true
  30698. type: integer
  30699. - description: 合同模式,1为普通合同 2为回购销售合同
  30700. in: query
  30701. name: contractmode
  30702. required: true
  30703. type: integer
  30704. - description: 状态,0为履约中 1为已完成
  30705. in: query
  30706. name: status
  30707. required: true
  30708. type: integer
  30709. produces:
  30710. - application/json
  30711. responses:
  30712. "200":
  30713. description: OK
  30714. schema:
  30715. items:
  30716. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  30717. type: array
  30718. "500":
  30719. description: Internal Server Error
  30720. schema:
  30721. $ref: '#/definitions/app.Response'
  30722. security:
  30723. - ApiKeyAuth: []
  30724. summary: 查询合同详细信息
  30725. tags:
  30726. - 风险管理v3
  30727. /Erms3/QueryUserInfoApplies:
  30728. get:
  30729. parameters:
  30730. - description: 页码
  30731. in: query
  30732. name: page
  30733. type: integer
  30734. - description: 每页条数
  30735. in: query
  30736. name: pagesize
  30737. type: integer
  30738. - description: 客户名称,支持模糊查询
  30739. in: query
  30740. name: userName
  30741. type: string
  30742. produces:
  30743. - application/json
  30744. responses:
  30745. "200":
  30746. description: OK
  30747. schema:
  30748. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  30749. "500":
  30750. description: Internal Server Error
  30751. schema:
  30752. $ref: '#/definitions/app.Response'
  30753. security:
  30754. - ApiKeyAuth: []
  30755. summary: 客户申请信息查询
  30756. tags:
  30757. - 风险管理v3
  30758. /Erms3/QueryUserInfos:
  30759. get:
  30760. parameters:
  30761. - description: 页码
  30762. in: query
  30763. name: page
  30764. type: integer
  30765. - description: 每页条数
  30766. in: query
  30767. name: pagesize
  30768. type: integer
  30769. - description: 客户名称,支持模糊查询
  30770. in: query
  30771. name: userName
  30772. type: string
  30773. produces:
  30774. - application/json
  30775. responses:
  30776. "200":
  30777. description: OK
  30778. schema:
  30779. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  30780. "500":
  30781. description: Internal Server Error
  30782. schema:
  30783. $ref: '#/definitions/app.Response'
  30784. security:
  30785. - ApiKeyAuth: []
  30786. summary: 客户信息查询
  30787. tags:
  30788. - 风险管理v3
  30789. /Ferroalloy/GetSpotGoodsPrice:
  30790. get:
  30791. parameters:
  30792. - description: 页码
  30793. in: query
  30794. name: page
  30795. type: integer
  30796. - description: 每页条数
  30797. in: query
  30798. name: pagesize
  30799. type: integer
  30800. produces:
  30801. - application/json
  30802. responses:
  30803. "200":
  30804. description: OK
  30805. schema:
  30806. items:
  30807. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  30808. type: array
  30809. "500":
  30810. description: Internal Server Error
  30811. schema:
  30812. $ref: '#/definitions/app.Response'
  30813. security:
  30814. - ApiKeyAuth: []
  30815. summary: 获取现货行情
  30816. tags:
  30817. - 铁合金
  30818. /Ferroalloy/QueryInvestorLevelGroup:
  30819. get:
  30820. produces:
  30821. - application/json
  30822. responses:
  30823. "200":
  30824. description: OK
  30825. schema:
  30826. items:
  30827. $ref: '#/definitions/models.RegisterMoney'
  30828. type: array
  30829. "500":
  30830. description: Internal Server Error
  30831. schema:
  30832. $ref: '#/definitions/app.Response'
  30833. summary: 查询查询我推荐的好友等级
  30834. tags:
  30835. - 铁合金
  30836. /Ferroalloy/QueryMyRefer:
  30837. get:
  30838. parameters:
  30839. - description: 用户ID
  30840. in: query
  30841. name: userid
  30842. required: true
  30843. type: integer
  30844. - description: 页码
  30845. in: query
  30846. name: page
  30847. type: integer
  30848. - description: 每页条数
  30849. in: query
  30850. name: pagesize
  30851. type: integer
  30852. produces:
  30853. - application/json
  30854. responses:
  30855. "200":
  30856. description: OK
  30857. schema:
  30858. items:
  30859. $ref: '#/definitions/models.MyRefer'
  30860. type: array
  30861. "500":
  30862. description: Internal Server Error
  30863. schema:
  30864. $ref: '#/definitions/app.Response'
  30865. security:
  30866. - ApiKeyAuth: []
  30867. summary: 查询我的推荐列表
  30868. tags:
  30869. - 铁合金
  30870. /Ferroalloy/QueryMyRegisterMoney:
  30871. get:
  30872. parameters:
  30873. - description: 资金账户
  30874. in: query
  30875. name: accountid
  30876. required: true
  30877. type: integer
  30878. produces:
  30879. - application/json
  30880. responses:
  30881. "200":
  30882. description: OK
  30883. schema:
  30884. items:
  30885. $ref: '#/definitions/models.RegisterMoney'
  30886. type: array
  30887. "500":
  30888. description: Internal Server Error
  30889. schema:
  30890. $ref: '#/definitions/app.Response'
  30891. summary: 查询我的注册红包
  30892. tags:
  30893. - 铁合金
  30894. /Ferroalloy/QuerySpotgoodsPrice:
  30895. get:
  30896. parameters:
  30897. - description: 页码
  30898. in: query
  30899. name: page
  30900. type: integer
  30901. - description: 每页条数
  30902. in: query
  30903. name: pagesize
  30904. type: integer
  30905. produces:
  30906. - application/json
  30907. responses:
  30908. "200":
  30909. description: OK
  30910. schema:
  30911. items:
  30912. $ref: '#/definitions/models.Spotgoodsprice'
  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/QueryTHJFriends:
  30924. get:
  30925. parameters:
  30926. - description: 用户ID
  30927. in: query
  30928. name: userid
  30929. required: true
  30930. type: integer
  30931. - description: 客户名称(企业名称),模糊查询
  30932. in: query
  30933. name: customername
  30934. type: string
  30935. - description: 手机号码(加密存储),加密串精确查询
  30936. in: query
  30937. name: mobile
  30938. type: string
  30939. - description: 等级ID
  30940. in: query
  30941. name: levelgroupid
  30942. type: integer
  30943. - description: 页码
  30944. in: query
  30945. name: page
  30946. type: integer
  30947. - description: 每页条数
  30948. in: query
  30949. name: pagesize
  30950. type: integer
  30951. produces:
  30952. - application/json
  30953. responses:
  30954. "200":
  30955. description: OK
  30956. schema:
  30957. items:
  30958. $ref: '#/definitions/models.THJFriend'
  30959. type: array
  30960. "500":
  30961. description: Internal Server Error
  30962. schema:
  30963. $ref: '#/definitions/app.Response'
  30964. security:
  30965. - ApiKeyAuth: []
  30966. summary: 查询好友
  30967. tags:
  30968. - 铁合金
  30969. /Ferroalloy/QueryTHJGoodsDetail:
  30970. get:
  30971. parameters:
  30972. - description: 现货商品ID
  30973. in: query
  30974. name: wrstandardid
  30975. required: true
  30976. type: integer
  30977. produces:
  30978. - application/json
  30979. responses:
  30980. "200":
  30981. description: OK
  30982. schema:
  30983. items:
  30984. $ref: '#/definitions/models.THJGoodsDetailRsp'
  30985. type: array
  30986. "500":
  30987. description: Internal Server Error
  30988. schema:
  30989. $ref: '#/definitions/app.Response'
  30990. security:
  30991. - ApiKeyAuth: []
  30992. summary: 查询商品详情
  30993. tags:
  30994. - 铁合金
  30995. /Ferroalloy/QueryTHJListing:
  30996. get:
  30997. parameters:
  30998. - description: 现货商品名称(模糊查询)
  30999. in: query
  31000. name: wrstandardname
  31001. type: string
  31002. - description: 页码
  31003. in: query
  31004. name: page
  31005. type: integer
  31006. - description: 每页条数
  31007. in: query
  31008. name: pagesize
  31009. type: integer
  31010. produces:
  31011. - application/json
  31012. responses:
  31013. "200":
  31014. description: OK
  31015. schema:
  31016. items:
  31017. $ref: '#/definitions/models.THJWrstandard'
  31018. type: array
  31019. "500":
  31020. description: Internal Server Error
  31021. schema:
  31022. $ref: '#/definitions/app.Response'
  31023. security:
  31024. - ApiKeyAuth: []
  31025. summary: 查询供求列表
  31026. tags:
  31027. - 铁合金
  31028. /Ferroalloy/QueryTHJProduct:
  31029. get:
  31030. parameters:
  31031. - description: 用户ID
  31032. in: query
  31033. name: userid
  31034. required: true
  31035. type: integer
  31036. - description: 关注标志 true-已关注 false-未关注
  31037. in: query
  31038. name: favoriteflag
  31039. type: boolean
  31040. - description: 页码
  31041. in: query
  31042. name: page
  31043. type: integer
  31044. - description: 每页条数
  31045. in: query
  31046. name: pagesize
  31047. type: integer
  31048. produces:
  31049. - application/json
  31050. responses:
  31051. "200":
  31052. description: OK
  31053. schema:
  31054. items:
  31055. $ref: '#/definitions/models.THJProduct'
  31056. type: array
  31057. "500":
  31058. description: Internal Server Error
  31059. schema:
  31060. $ref: '#/definitions/app.Response'
  31061. security:
  31062. - ApiKeyAuth: []
  31063. summary: 获取产品介绍列表
  31064. tags:
  31065. - 铁合金
  31066. /Ferroalloy/QueryTHJProfits:
  31067. get:
  31068. parameters:
  31069. - description: 用户ID
  31070. in: query
  31071. name: userid
  31072. required: true
  31073. type: integer
  31074. - description: 市场ID
  31075. in: query
  31076. name: marketid
  31077. type: integer
  31078. - description: 好友名称,模糊查询
  31079. in: query
  31080. name: accountname
  31081. type: string
  31082. - description: 商品代码或商品名称,模糊查询
  31083. in: query
  31084. name: goods
  31085. type: string
  31086. - description: 分润机构角色 - 1:平台 2:经纪会员 3:一级交易商 4:二级交易商(枚举:THJProfitRoleType)
  31087. in: query
  31088. name: marketid
  31089. type: integer
  31090. - description: 页码
  31091. in: query
  31092. name: page
  31093. type: integer
  31094. - description: 每页条数
  31095. in: query
  31096. name: pagesize
  31097. type: integer
  31098. produces:
  31099. - application/json
  31100. responses:
  31101. "200":
  31102. description: OK
  31103. schema:
  31104. items:
  31105. $ref: '#/definitions/models.THJProfit'
  31106. type: array
  31107. "500":
  31108. description: Internal Server Error
  31109. schema:
  31110. $ref: '#/definitions/app.Response'
  31111. security:
  31112. - ApiKeyAuth: []
  31113. summary: 查询收益
  31114. tags:
  31115. - 铁合金
  31116. /Ferroalloy/QueryTHJPromotionIncome:
  31117. get:
  31118. parameters:
  31119. - description: 用户ID
  31120. in: query
  31121. name: userid
  31122. required: true
  31123. type: integer
  31124. - description: 状态 - 0:全部 1:已支付 2:未支付
  31125. in: query
  31126. name: profitstatus
  31127. type: integer
  31128. - description: 页码
  31129. in: query
  31130. name: page
  31131. type: integer
  31132. - description: 每页条数
  31133. in: query
  31134. name: pagesize
  31135. type: integer
  31136. produces:
  31137. - application/json
  31138. responses:
  31139. "200":
  31140. description: OK
  31141. schema:
  31142. items:
  31143. $ref: '#/definitions/models.PromotionIncome'
  31144. type: array
  31145. "500":
  31146. description: Internal Server Error
  31147. schema:
  31148. $ref: '#/definitions/app.Response'
  31149. security:
  31150. - ApiKeyAuth: []
  31151. summary: 查询我的推广-推广收益
  31152. tags:
  31153. - 铁合金
  31154. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  31155. get:
  31156. parameters:
  31157. - description: 用户ID
  31158. in: query
  31159. name: userid
  31160. required: true
  31161. type: integer
  31162. - description: 月份,格式:yyyymm
  31163. in: query
  31164. name: mouth
  31165. required: true
  31166. type: string
  31167. - description: 页码
  31168. in: query
  31169. name: page
  31170. type: integer
  31171. - description: 每页条数
  31172. in: query
  31173. name: pagesize
  31174. type: integer
  31175. produces:
  31176. - application/json
  31177. responses:
  31178. "200":
  31179. description: OK
  31180. schema:
  31181. items:
  31182. $ref: '#/definitions/models.PromotionIncomeDetail'
  31183. type: array
  31184. "500":
  31185. description: Internal Server Error
  31186. schema:
  31187. $ref: '#/definitions/app.Response'
  31188. security:
  31189. - ApiKeyAuth: []
  31190. summary: 查询我的推广-推广收益-明细
  31191. tags:
  31192. - 铁合金
  31193. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  31194. get:
  31195. parameters:
  31196. - description: 用户ID
  31197. in: query
  31198. name: userid
  31199. required: true
  31200. type: integer
  31201. - description: 类型 - 0:未完成 1:已完成
  31202. in: query
  31203. name: type
  31204. type: integer
  31205. - description: 页码
  31206. in: query
  31207. name: page
  31208. type: integer
  31209. - description: 每页条数
  31210. in: query
  31211. name: pagesize
  31212. type: integer
  31213. produces:
  31214. - application/json
  31215. responses:
  31216. "200":
  31217. description: OK
  31218. schema:
  31219. items:
  31220. $ref: '#/definitions/models.Thjpurchasetradedetail'
  31221. type: array
  31222. "500":
  31223. description: Internal Server Error
  31224. schema:
  31225. $ref: '#/definitions/app.Response'
  31226. security:
  31227. - ApiKeyAuth: []
  31228. summary: 查询我的订单-采购订单
  31229. tags:
  31230. - 铁合金
  31231. /Ferroalloy/QueryTHJPurchaseTransfer:
  31232. get:
  31233. parameters:
  31234. - description: 现货商品名称(模糊查询)
  31235. in: query
  31236. name: wrstandardname
  31237. type: string
  31238. - description: 页码
  31239. in: query
  31240. name: page
  31241. type: integer
  31242. - description: 每页条数
  31243. in: query
  31244. name: pagesize
  31245. type: integer
  31246. produces:
  31247. - application/json
  31248. responses:
  31249. "200":
  31250. description: OK
  31251. schema:
  31252. items:
  31253. $ref: '#/definitions/models.PurchaseTransfer'
  31254. type: array
  31255. "500":
  31256. description: Internal Server Error
  31257. schema:
  31258. $ref: '#/definitions/app.Response'
  31259. security:
  31260. - ApiKeyAuth: []
  31261. summary: 查询合同转让列表
  31262. tags:
  31263. - 铁合金
  31264. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  31265. get:
  31266. parameters:
  31267. - description: 现货商品ID
  31268. in: query
  31269. name: wrstandardid
  31270. required: true
  31271. type: integer
  31272. produces:
  31273. - application/json
  31274. responses:
  31275. "200":
  31276. description: OK
  31277. schema:
  31278. items:
  31279. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  31280. type: array
  31281. "500":
  31282. description: Internal Server Error
  31283. schema:
  31284. $ref: '#/definitions/app.Response'
  31285. security:
  31286. - ApiKeyAuth: []
  31287. summary: 查询合同转让详情
  31288. tags:
  31289. - 铁合金
  31290. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  31291. get:
  31292. parameters:
  31293. - description: 用户ID
  31294. in: query
  31295. name: userid
  31296. required: true
  31297. type: integer
  31298. - description: 类型 - 1:转让 2:受让 3:转让委托已完成
  31299. in: query
  31300. name: ordertype
  31301. required: true
  31302. type: integer
  31303. - description: 页码
  31304. in: query
  31305. name: page
  31306. type: integer
  31307. - description: 每页条数
  31308. in: query
  31309. name: pagesize
  31310. type: integer
  31311. produces:
  31312. - application/json
  31313. responses:
  31314. "200":
  31315. description: OK
  31316. schema:
  31317. items:
  31318. $ref: '#/definitions/models.Thjpurchasetransfer'
  31319. type: array
  31320. "500":
  31321. description: Internal Server Error
  31322. schema:
  31323. $ref: '#/definitions/app.Response'
  31324. security:
  31325. - ApiKeyAuth: []
  31326. summary: 查询我的订单-转让/受让订单
  31327. tags:
  31328. - 铁合金
  31329. /Ferroalloy/QueryTHJPurchaseTransferOrderDetail:
  31330. get:
  31331. parameters:
  31332. - description: 转让单号
  31333. in: query
  31334. name: transferid
  31335. required: true
  31336. type: string
  31337. produces:
  31338. - application/json
  31339. responses:
  31340. "200":
  31341. description: OK
  31342. schema:
  31343. items:
  31344. $ref: '#/definitions/models.ThjpurchasetransferDetail'
  31345. type: array
  31346. "500":
  31347. description: Internal Server Error
  31348. schema:
  31349. $ref: '#/definitions/app.Response'
  31350. security:
  31351. - ApiKeyAuth: []
  31352. summary: 查询我的订单-转让/受让订单-详情
  31353. tags:
  31354. - 铁合金
  31355. /Ferroalloy/QueryTHJScoreConfig:
  31356. get:
  31357. parameters:
  31358. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31359. 6:自己供求下单积分 7:抽奖配置'
  31360. in: query
  31361. name: stype
  31362. type: string
  31363. produces:
  31364. - application/json
  31365. responses:
  31366. "200":
  31367. description: OK
  31368. schema:
  31369. items:
  31370. $ref: '#/definitions/models.Thjscoreconfig'
  31371. type: array
  31372. "500":
  31373. description: Internal Server Error
  31374. schema:
  31375. $ref: '#/definitions/app.Response'
  31376. security:
  31377. - ApiKeyAuth: []
  31378. summary: 查询积分配置
  31379. tags:
  31380. - 铁合金
  31381. /Ferroalloy/QueryTHJTradeData:
  31382. get:
  31383. parameters:
  31384. - description: 用户ID
  31385. in: query
  31386. name: userid
  31387. required: true
  31388. type: integer
  31389. - description: 市场ID 采购-64201 供求-65201
  31390. in: query
  31391. name: marketid
  31392. required: true
  31393. type: integer
  31394. - description: 页码
  31395. in: query
  31396. name: page
  31397. type: integer
  31398. - description: 每页条数
  31399. in: query
  31400. name: pagesize
  31401. type: integer
  31402. produces:
  31403. - application/json
  31404. responses:
  31405. "200":
  31406. description: OK
  31407. schema:
  31408. items:
  31409. $ref: '#/definitions/models.THJTradeData'
  31410. type: array
  31411. "500":
  31412. description: Internal Server Error
  31413. schema:
  31414. $ref: '#/definitions/app.Response'
  31415. security:
  31416. - ApiKeyAuth: []
  31417. summary: 获取我的推广-交易数据
  31418. tags:
  31419. - 铁合金
  31420. /Ferroalloy/QueryTHJWrstandard:
  31421. get:
  31422. parameters:
  31423. - description: 现货商品名称(模糊查询)
  31424. in: query
  31425. name: wrstandardname
  31426. type: string
  31427. - description: 页码
  31428. in: query
  31429. name: page
  31430. type: integer
  31431. - description: 每页条数
  31432. in: query
  31433. name: pagesize
  31434. type: integer
  31435. produces:
  31436. - application/json
  31437. responses:
  31438. "200":
  31439. description: OK
  31440. schema:
  31441. items:
  31442. $ref: '#/definitions/models.THJWrstandard'
  31443. type: array
  31444. "500":
  31445. description: Internal Server Error
  31446. schema:
  31447. $ref: '#/definitions/app.Response'
  31448. security:
  31449. - ApiKeyAuth: []
  31450. summary: 查询采购列表
  31451. tags:
  31452. - 铁合金
  31453. /Ferroalloy/QueryTHJWrstandardDetail:
  31454. get:
  31455. parameters:
  31456. - description: 现货商品ID
  31457. in: query
  31458. name: wrstandardid
  31459. required: true
  31460. type: integer
  31461. produces:
  31462. - application/json
  31463. responses:
  31464. "200":
  31465. description: OK
  31466. schema:
  31467. items:
  31468. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  31469. type: array
  31470. "500":
  31471. description: Internal Server Error
  31472. schema:
  31473. $ref: '#/definitions/app.Response'
  31474. security:
  31475. - ApiKeyAuth: []
  31476. summary: 查询采购详情
  31477. tags:
  31478. - 铁合金
  31479. /Ferroalloy/QueryThjSpotQuoteConfig:
  31480. get:
  31481. produces:
  31482. - application/json
  31483. responses:
  31484. "200":
  31485. description: OK
  31486. schema:
  31487. items:
  31488. $ref: '#/definitions/models.Thjspotquoteconfig'
  31489. type: array
  31490. "500":
  31491. description: Internal Server Error
  31492. schema:
  31493. $ref: '#/definitions/app.Response'
  31494. summary: 查询现货行情配置表
  31495. tags:
  31496. - 铁合金
  31497. /Ferroalloy/QueryUserLevelInfo:
  31498. get:
  31499. parameters:
  31500. - description: 用户ID
  31501. in: query
  31502. name: userid
  31503. required: true
  31504. type: integer
  31505. produces:
  31506. - application/json
  31507. responses:
  31508. "200":
  31509. description: OK
  31510. schema:
  31511. items:
  31512. $ref: '#/definitions/models.THJUserLevelInfo'
  31513. type: array
  31514. "500":
  31515. description: Internal Server Error
  31516. schema:
  31517. $ref: '#/definitions/app.Response'
  31518. security:
  31519. - ApiKeyAuth: []
  31520. summary: 查询用户等级信息
  31521. tags:
  31522. - 铁合金
  31523. /Ferroalloy/QueryUserScoreLog:
  31524. get:
  31525. parameters:
  31526. - description: 用户ID
  31527. in: query
  31528. name: userid
  31529. required: true
  31530. type: integer
  31531. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31532. 6:自己供求下单积分 7:抽奖配置'
  31533. in: query
  31534. name: stype
  31535. type: string
  31536. - description: 页码
  31537. in: query
  31538. name: page
  31539. type: integer
  31540. - description: 每页条数
  31541. in: query
  31542. name: pagesize
  31543. type: integer
  31544. produces:
  31545. - application/json
  31546. responses:
  31547. "200":
  31548. description: OK
  31549. schema:
  31550. items:
  31551. $ref: '#/definitions/models.GThjuserscorelog'
  31552. type: array
  31553. "500":
  31554. description: Internal Server Error
  31555. schema:
  31556. $ref: '#/definitions/app.Response'
  31557. security:
  31558. - ApiKeyAuth: []
  31559. summary: 查询我的积分流水
  31560. tags:
  31561. - 铁合金
  31562. /Ferroalloy/Signin:
  31563. post:
  31564. parameters:
  31565. - description: 用户签到请求
  31566. in: body
  31567. name: jsonBody
  31568. required: true
  31569. schema:
  31570. $ref: '#/definitions/models.THJSigninReq'
  31571. produces:
  31572. - application/json
  31573. responses:
  31574. "200":
  31575. description: OK
  31576. schema:
  31577. $ref: '#/definitions/models.THJSigninRsp'
  31578. "500":
  31579. description: Internal Server Error
  31580. schema:
  31581. $ref: '#/definitions/app.Response'
  31582. security:
  31583. - ApiKeyAuth: []
  31584. summary: 用户签到
  31585. tags:
  31586. - 铁合金
  31587. /Guangzuan/GZBSFWOrderOperate:
  31588. get:
  31589. parameters:
  31590. - description: 单据ID
  31591. in: query
  31592. name: orderid
  31593. required: true
  31594. type: integer
  31595. produces:
  31596. - application/json
  31597. responses:
  31598. "200":
  31599. description: OK
  31600. schema:
  31601. items:
  31602. $ref: '#/definitions/models.Gzbsfworderoperate'
  31603. type: array
  31604. "500":
  31605. description: Internal Server Error
  31606. schema:
  31607. $ref: '#/definitions/app.Response'
  31608. security:
  31609. - ApiKeyAuth: []
  31610. - LoginID: []
  31611. - Group: []
  31612. summary: 保税服务单据操作信息
  31613. tags:
  31614. - 广钻
  31615. /Guangzuan/GetGoods:
  31616. get:
  31617. parameters:
  31618. - description: 商品编号
  31619. in: query
  31620. name: goodsno
  31621. required: true
  31622. type: string
  31623. produces:
  31624. - application/json
  31625. responses:
  31626. "200":
  31627. description: OK
  31628. schema:
  31629. $ref: '#/definitions/models.GZGoods'
  31630. "500":
  31631. description: Internal Server Error
  31632. schema:
  31633. $ref: '#/definitions/app.Response'
  31634. security:
  31635. - ApiKeyAuth: []
  31636. - LoginID: []
  31637. - Group: []
  31638. summary: 获取钻石详情
  31639. tags:
  31640. - 广钻
  31641. /Guangzuan/GzCertAddressConfig:
  31642. get:
  31643. produces:
  31644. - application/json
  31645. responses:
  31646. "200":
  31647. description: OK
  31648. schema:
  31649. items:
  31650. $ref: '#/definitions/models.Gzcertaddressconfig'
  31651. type: array
  31652. "500":
  31653. description: Internal Server Error
  31654. schema:
  31655. $ref: '#/definitions/app.Response'
  31656. security:
  31657. - ApiKeyAuth: []
  31658. - LoginID: []
  31659. - Group: []
  31660. summary: Rapaport最新报价表(广钻)
  31661. tags:
  31662. - 广钻
  31663. /Guangzuan/GzCertAddressParam:
  31664. get:
  31665. produces:
  31666. - application/json
  31667. responses:
  31668. "200":
  31669. description: OK
  31670. schema:
  31671. items:
  31672. $ref: '#/definitions/models.Gzcertaddressparam'
  31673. type: array
  31674. "500":
  31675. description: Internal Server Error
  31676. schema:
  31677. $ref: '#/definitions/app.Response'
  31678. security:
  31679. - ApiKeyAuth: []
  31680. - LoginID: []
  31681. - Group: []
  31682. summary: 钻石证书地址参数
  31683. tags:
  31684. - 广钻
  31685. /Guangzuan/HomeData:
  31686. get:
  31687. parameters:
  31688. - description: 用户ID
  31689. in: query
  31690. name: userid
  31691. required: true
  31692. type: integer
  31693. produces:
  31694. - application/json
  31695. responses:
  31696. "200":
  31697. description: OK
  31698. schema:
  31699. $ref: '#/definitions/models.GZHomeData'
  31700. "500":
  31701. description: Internal Server Error
  31702. schema:
  31703. $ref: '#/definitions/app.Response'
  31704. security:
  31705. - ApiKeyAuth: []
  31706. - LoginID: []
  31707. - Group: []
  31708. summary: 首页统计数据
  31709. tags:
  31710. - 广钻
  31711. /Guangzuan/PriceCalc:
  31712. get:
  31713. parameters:
  31714. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  31715. in: query
  31716. name: zsshape
  31717. required: true
  31718. type: integer
  31719. - description: 颜色(D-M)
  31720. in: query
  31721. name: zscolor
  31722. required: true
  31723. type: string
  31724. - description: 净度
  31725. in: query
  31726. name: zsclarity
  31727. required: true
  31728. type: string
  31729. - description: 重量
  31730. in: query
  31731. name: weight
  31732. required: true
  31733. type: number
  31734. - description: 汇率
  31735. in: query
  31736. name: rate
  31737. required: true
  31738. type: number
  31739. - description: 折扣(%), 方向(加:10, 减:-10 )
  31740. in: query
  31741. name: discount
  31742. type: number
  31743. produces:
  31744. - application/json
  31745. responses:
  31746. "200":
  31747. description: OK
  31748. schema:
  31749. items:
  31750. $ref: '#/definitions/models.Gzrapaportprice'
  31751. type: array
  31752. "500":
  31753. description: Internal Server Error
  31754. schema:
  31755. $ref: '#/definitions/app.Response'
  31756. security:
  31757. - ApiKeyAuth: []
  31758. - LoginID: []
  31759. - Group: []
  31760. summary: 钻石价格计算器
  31761. tags:
  31762. - 广钻
  31763. /Guangzuan/QueryBuyOrder:
  31764. get:
  31765. parameters:
  31766. - description: 页码
  31767. in: query
  31768. name: page
  31769. type: integer
  31770. - description: 每页条数
  31771. in: query
  31772. name: pagesize
  31773. type: integer
  31774. - description: 商品(查询字段-模糊查询)
  31775. in: query
  31776. name: zsallproperties
  31777. type: string
  31778. - description: 钻石分类, 格式:1,2,3
  31779. in: query
  31780. name: zscategorys
  31781. type: string
  31782. - description: 委托单号
  31783. in: query
  31784. name: wrtradeorderid
  31785. type: integer
  31786. - description: 买方(查询字段-模糊查询)
  31787. in: query
  31788. name: buyusername
  31789. type: string
  31790. produces:
  31791. - application/json
  31792. responses:
  31793. "200":
  31794. description: OK
  31795. schema:
  31796. items:
  31797. $ref: '#/definitions/models.BuyOrder'
  31798. type: array
  31799. "500":
  31800. description: Internal Server Error
  31801. schema:
  31802. $ref: '#/definitions/app.Response'
  31803. security:
  31804. - ApiKeyAuth: []
  31805. - LoginID: []
  31806. - Group: []
  31807. summary: 查询求购大厅委托单
  31808. tags:
  31809. - 广钻
  31810. /Guangzuan/QueryDiamond:
  31811. post:
  31812. parameters:
  31813. - description: 钻石搜索入参
  31814. in: body
  31815. name: data
  31816. required: true
  31817. schema:
  31818. $ref: '#/definitions/models.SellOrderQueryReq'
  31819. produces:
  31820. - application/json
  31821. responses:
  31822. "200":
  31823. description: OK
  31824. schema:
  31825. items:
  31826. $ref: '#/definitions/models.SellOrder'
  31827. type: array
  31828. "500":
  31829. description: Internal Server Error
  31830. schema:
  31831. $ref: '#/definitions/app.Response'
  31832. security:
  31833. - ApiKeyAuth: []
  31834. - LoginID: []
  31835. - Group: []
  31836. summary: 钻石搜索
  31837. tags:
  31838. - 广钻
  31839. /Guangzuan/QueryFworderoperate:
  31840. get:
  31841. parameters:
  31842. - description: 单据ID
  31843. in: query
  31844. name: orderid
  31845. required: true
  31846. type: string
  31847. - description: 操作后单据状态
  31848. in: query
  31849. name: status
  31850. required: true
  31851. type: integer
  31852. produces:
  31853. - application/json
  31854. responses:
  31855. "200":
  31856. description: OK
  31857. schema:
  31858. items:
  31859. $ref: '#/definitions/models.Fworderoperate'
  31860. type: array
  31861. "500":
  31862. description: Internal Server Error
  31863. schema:
  31864. $ref: '#/definitions/app.Response'
  31865. security:
  31866. - ApiKeyAuth: []
  31867. - LoginID: []
  31868. - Group: []
  31869. summary: 查询保税服务单据操作
  31870. tags:
  31871. - 广钻
  31872. /Guangzuan/QueryGZBSFWOrder:
  31873. get:
  31874. parameters:
  31875. - description: 用户ID
  31876. in: query
  31877. name: userid
  31878. required: true
  31879. type: integer
  31880. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31881. in: query
  31882. name: executestatus
  31883. type: integer
  31884. - description: 页码
  31885. in: query
  31886. name: page
  31887. type: integer
  31888. - description: 每页条数
  31889. in: query
  31890. name: pagesize
  31891. type: integer
  31892. produces:
  31893. - application/json
  31894. responses:
  31895. "200":
  31896. description: OK
  31897. schema:
  31898. items:
  31899. $ref: '#/definitions/models.GzbsfworderM'
  31900. type: array
  31901. "500":
  31902. description: Internal Server Error
  31903. schema:
  31904. $ref: '#/definitions/app.Response'
  31905. security:
  31906. - ApiKeyAuth: []
  31907. - LoginID: []
  31908. - Group: []
  31909. summary: 查询保税服务单据
  31910. tags:
  31911. - 广钻
  31912. /Guangzuan/QueryGZBSFWOrderDetail:
  31913. get:
  31914. parameters:
  31915. - description: 用户ID
  31916. in: query
  31917. name: userid
  31918. required: true
  31919. type: integer
  31920. - description: 单据ID
  31921. in: query
  31922. name: orderid
  31923. type: string
  31924. - description: 页码
  31925. in: query
  31926. name: page
  31927. type: integer
  31928. - description: 每页条数
  31929. in: query
  31930. name: pagesize
  31931. type: integer
  31932. produces:
  31933. - application/json
  31934. responses:
  31935. "200":
  31936. description: OK
  31937. schema:
  31938. items:
  31939. $ref: '#/definitions/models.GzbsfworderdetailM'
  31940. type: array
  31941. "500":
  31942. description: Internal Server Error
  31943. schema:
  31944. $ref: '#/definitions/app.Response'
  31945. security:
  31946. - ApiKeyAuth: []
  31947. - LoginID: []
  31948. - Group: []
  31949. summary: 查询保税服务单据明细
  31950. tags:
  31951. - 广钻
  31952. /Guangzuan/QueryGZCJBSOrderFile:
  31953. get:
  31954. parameters:
  31955. - description: 单据ID
  31956. in: query
  31957. name: orderid
  31958. required: true
  31959. type: integer
  31960. - description: 页码
  31961. in: query
  31962. name: page
  31963. type: integer
  31964. - description: 每页条数
  31965. in: query
  31966. name: pagesize
  31967. type: integer
  31968. produces:
  31969. - application/json
  31970. responses:
  31971. "200":
  31972. description: OK
  31973. schema:
  31974. items:
  31975. $ref: '#/definitions/models.GzcjbsorderfileM'
  31976. type: array
  31977. "500":
  31978. description: Internal Server Error
  31979. schema:
  31980. $ref: '#/definitions/app.Response'
  31981. security:
  31982. - ApiKeyAuth: []
  31983. - LoginID: []
  31984. - Group: []
  31985. summary: 出境保税单据文件
  31986. tags:
  31987. - 广钻
  31988. /Guangzuan/QueryGZCJJCOrder:
  31989. get:
  31990. parameters:
  31991. - description: 用户ID
  31992. in: query
  31993. name: userid
  31994. required: true
  31995. type: integer
  31996. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31997. in: query
  31998. name: executestatus
  31999. type: integer
  32000. - description: 页码
  32001. in: query
  32002. name: page
  32003. type: integer
  32004. - description: 每页条数
  32005. in: query
  32006. name: pagesize
  32007. type: integer
  32008. produces:
  32009. - application/json
  32010. responses:
  32011. "200":
  32012. description: OK
  32013. schema:
  32014. items:
  32015. $ref: '#/definitions/models.GzcjjcorderM'
  32016. type: array
  32017. "500":
  32018. description: Internal Server Error
  32019. schema:
  32020. $ref: '#/definitions/app.Response'
  32021. security:
  32022. - ApiKeyAuth: []
  32023. - LoginID: []
  32024. - Group: []
  32025. summary: 查询出境检测单据
  32026. tags:
  32027. - 广钻
  32028. /Guangzuan/QueryGZCJJCOrderDetail:
  32029. get:
  32030. parameters:
  32031. - description: 用户ID
  32032. in: query
  32033. name: userid
  32034. required: true
  32035. type: integer
  32036. - description: 单据ID
  32037. in: query
  32038. name: orderid
  32039. type: string
  32040. - description: 页码
  32041. in: query
  32042. name: page
  32043. type: integer
  32044. - description: 每页条数
  32045. in: query
  32046. name: pagesize
  32047. type: integer
  32048. produces:
  32049. - application/json
  32050. responses:
  32051. "200":
  32052. description: OK
  32053. schema:
  32054. items:
  32055. $ref: '#/definitions/models.GzcjjcorderdetailM'
  32056. type: array
  32057. "500":
  32058. description: Internal Server Error
  32059. schema:
  32060. $ref: '#/definitions/app.Response'
  32061. security:
  32062. - ApiKeyAuth: []
  32063. - LoginID: []
  32064. - Group: []
  32065. summary: 查询出境检测单据明细(批次信息)
  32066. tags:
  32067. - 广钻
  32068. /Guangzuan/QueryGzcjjcorderoperate:
  32069. get:
  32070. parameters:
  32071. - description: 单据ID
  32072. in: query
  32073. name: orderid
  32074. required: true
  32075. type: string
  32076. - description: 操作后单据状态
  32077. in: query
  32078. name: status
  32079. required: true
  32080. type: integer
  32081. produces:
  32082. - application/json
  32083. responses:
  32084. "200":
  32085. description: OK
  32086. schema:
  32087. items:
  32088. $ref: '#/definitions/models.Gzcjjcorderoperate'
  32089. type: array
  32090. "500":
  32091. description: Internal Server Error
  32092. schema:
  32093. $ref: '#/definitions/app.Response'
  32094. security:
  32095. - ApiKeyAuth: []
  32096. - LoginID: []
  32097. - Group: []
  32098. summary: 查询出境检测单据操作
  32099. tags:
  32100. - 广钻
  32101. /Guangzuan/QueryMemberReport:
  32102. get:
  32103. parameters:
  32104. - description: 用户ID
  32105. in: query
  32106. name: userid
  32107. required: true
  32108. type: integer
  32109. - description: 页码
  32110. in: query
  32111. name: page
  32112. type: integer
  32113. - description: 每页条数
  32114. in: query
  32115. name: pagesize
  32116. type: integer
  32117. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32118. in: query
  32119. name: cycletype
  32120. type: string
  32121. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32122. in: query
  32123. name: begindate
  32124. required: true
  32125. type: string
  32126. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32127. in: query
  32128. name: enddate
  32129. required: true
  32130. type: string
  32131. produces:
  32132. - application/json
  32133. responses:
  32134. "200":
  32135. description: OK
  32136. schema:
  32137. items:
  32138. $ref: '#/definitions/models.Reckondaytaaccount'
  32139. type: array
  32140. "500":
  32141. description: Internal Server Error
  32142. schema:
  32143. $ref: '#/definitions/app.Response'
  32144. security:
  32145. - ApiKeyAuth: []
  32146. - LoginID: []
  32147. - Group: []
  32148. summary: 查询会员报表
  32149. tags:
  32150. - 广钻
  32151. /Guangzuan/QueryMyBargainApply:
  32152. get:
  32153. parameters:
  32154. - description: 用户ID
  32155. in: query
  32156. name: userid
  32157. required: true
  32158. type: integer
  32159. - description: 页码
  32160. in: query
  32161. name: page
  32162. type: integer
  32163. - description: 每页条数
  32164. in: query
  32165. name: pagesize
  32166. type: integer
  32167. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  32168. in: query
  32169. name: applystatus
  32170. type: integer
  32171. - description: 查询类型 - 0:我的询价 1:我订单的询价
  32172. in: query
  32173. name: type
  32174. type: integer
  32175. - description: 关联委托单ID
  32176. in: query
  32177. name: wrtradeorderid
  32178. type: string
  32179. produces:
  32180. - application/json
  32181. responses:
  32182. "200":
  32183. description: OK
  32184. schema:
  32185. items:
  32186. $ref: '#/definitions/models.MyBargainApply'
  32187. type: array
  32188. "500":
  32189. description: Internal Server Error
  32190. schema:
  32191. $ref: '#/definitions/app.Response'
  32192. security:
  32193. - ApiKeyAuth: []
  32194. - LoginID: []
  32195. - Group: []
  32196. summary: 查询询价-求购
  32197. tags:
  32198. - 广钻
  32199. /Guangzuan/QueryMyBuyOrder:
  32200. get:
  32201. parameters:
  32202. - description: 用户ID
  32203. in: query
  32204. name: userid
  32205. required: true
  32206. type: integer
  32207. - description: 页码
  32208. in: query
  32209. name: page
  32210. type: integer
  32211. - description: 每页条数
  32212. in: query
  32213. name: pagesize
  32214. type: integer
  32215. - description: 商品(查询字段-模糊查询)
  32216. in: query
  32217. name: zsallproperties
  32218. type: string
  32219. - description: 钻石分类, 格式:1,2,3
  32220. in: query
  32221. name: zscategorys
  32222. type: string
  32223. - description: 委托单号
  32224. in: query
  32225. name: wrtradeorderid
  32226. type: integer
  32227. - description: 是否历史查询
  32228. in: query
  32229. name: ishis
  32230. type: boolean
  32231. - description: 开始交易日(yyyymmdd)
  32232. in: query
  32233. name: begindate
  32234. type: string
  32235. - description: 结束交易日(yyyymmdd)
  32236. in: query
  32237. name: enddate
  32238. type: string
  32239. produces:
  32240. - application/json
  32241. responses:
  32242. "200":
  32243. description: OK
  32244. schema:
  32245. items:
  32246. $ref: '#/definitions/models.MyBuyOrder'
  32247. type: array
  32248. "500":
  32249. description: Internal Server Error
  32250. schema:
  32251. $ref: '#/definitions/app.Response'
  32252. security:
  32253. - ApiKeyAuth: []
  32254. - LoginID: []
  32255. - Group: []
  32256. summary: 查询我的求购
  32257. tags:
  32258. - 广钻
  32259. /Guangzuan/QueryMyDeListing:
  32260. get:
  32261. parameters:
  32262. - description: 用户ID
  32263. in: query
  32264. name: userid
  32265. required: true
  32266. type: integer
  32267. - description: 页码
  32268. in: query
  32269. name: page
  32270. type: integer
  32271. - description: 每页条数
  32272. in: query
  32273. name: pagesize
  32274. type: integer
  32275. - description: 商品(查询字段-模糊查询)
  32276. in: query
  32277. name: zsallproperties
  32278. type: string
  32279. - description: 钻石分类, 格式:1,2,3
  32280. in: query
  32281. name: zscategorys
  32282. type: string
  32283. - description: 成交单号
  32284. in: query
  32285. name: wrtradedetailid
  32286. type: integer
  32287. - description: 方向,0-购买 1-出售
  32288. in: query
  32289. name: buyorsell
  32290. type: integer
  32291. - description: 对手方(模糊匹配)
  32292. in: query
  32293. name: matchusername
  32294. type: string
  32295. - description: 开始交易日(yyyymmdd)
  32296. in: query
  32297. name: begindate
  32298. type: string
  32299. - description: 结束交易日(yyyymmdd)
  32300. in: query
  32301. name: enddate
  32302. type: string
  32303. produces:
  32304. - application/json
  32305. responses:
  32306. "200":
  32307. description: OK
  32308. schema:
  32309. items:
  32310. $ref: '#/definitions/models.MyDeListing'
  32311. type: array
  32312. "500":
  32313. description: Internal Server Error
  32314. schema:
  32315. $ref: '#/definitions/app.Response'
  32316. security:
  32317. - ApiKeyAuth: []
  32318. - LoginID: []
  32319. - Group: []
  32320. summary: 查询我的摘牌
  32321. tags:
  32322. - 广钻
  32323. /Guangzuan/QueryMyDelistingApply:
  32324. get:
  32325. parameters:
  32326. - description: 用户ID
  32327. in: query
  32328. name: userid
  32329. required: true
  32330. type: integer
  32331. - description: 页码
  32332. in: query
  32333. name: page
  32334. type: integer
  32335. - description: 每页条数
  32336. in: query
  32337. name: pagesize
  32338. type: integer
  32339. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  32340. in: query
  32341. name: applystatus
  32342. type: integer
  32343. - description: 查询类型 - 0:我的询价 1:我订单的询价
  32344. in: query
  32345. name: type
  32346. type: integer
  32347. - description: 买委托单ID
  32348. in: query
  32349. name: buywrtradeorderid
  32350. type: string
  32351. produces:
  32352. - application/json
  32353. responses:
  32354. "200":
  32355. description: OK
  32356. schema:
  32357. items:
  32358. $ref: '#/definitions/models.MyDelistingApply'
  32359. type: array
  32360. "500":
  32361. description: Internal Server Error
  32362. schema:
  32363. $ref: '#/definitions/app.Response'
  32364. security:
  32365. - ApiKeyAuth: []
  32366. - LoginID: []
  32367. - Group: []
  32368. summary: 查询询价-出售
  32369. tags:
  32370. - 广钻
  32371. /Guangzuan/QueryMyFavorite:
  32372. get:
  32373. parameters:
  32374. - description: 用户ID
  32375. in: query
  32376. name: userid
  32377. required: true
  32378. type: integer
  32379. - description: 页码
  32380. in: query
  32381. name: page
  32382. type: integer
  32383. - description: 每页条数
  32384. in: query
  32385. name: pagesize
  32386. type: integer
  32387. - description: 钻石分类, 格式:1,2,3
  32388. in: query
  32389. name: zscategorys
  32390. type: string
  32391. produces:
  32392. - application/json
  32393. responses:
  32394. "200":
  32395. description: OK
  32396. schema:
  32397. items:
  32398. $ref: '#/definitions/models.MyFavorite'
  32399. type: array
  32400. "500":
  32401. description: Internal Server Error
  32402. schema:
  32403. $ref: '#/definitions/app.Response'
  32404. security:
  32405. - ApiKeyAuth: []
  32406. - LoginID: []
  32407. - Group: []
  32408. summary: 查询我的收藏
  32409. tags:
  32410. - 广钻
  32411. /Guangzuan/QueryMyPerformanc:
  32412. get:
  32413. parameters:
  32414. - description: 用户ID
  32415. in: query
  32416. name: userid
  32417. required: true
  32418. type: integer
  32419. - description: 页码
  32420. in: query
  32421. name: page
  32422. type: integer
  32423. - description: 每页条数
  32424. in: query
  32425. name: pagesize
  32426. type: integer
  32427. - description: 商品(查询字段-模糊查询)
  32428. in: query
  32429. name: zsallproperties
  32430. type: string
  32431. - description: 方向,0-买 1-卖
  32432. in: query
  32433. name: buyorsell
  32434. type: integer
  32435. - description: 是否历史查询
  32436. in: query
  32437. name: ishis
  32438. type: boolean
  32439. - description: 开始交易日(yyyymmdd)
  32440. in: query
  32441. name: begindate
  32442. type: string
  32443. - description: 结束交易日(yyyymmdd)
  32444. in: query
  32445. name: enddate
  32446. type: string
  32447. produces:
  32448. - application/json
  32449. responses:
  32450. "200":
  32451. description: OK
  32452. schema:
  32453. items:
  32454. $ref: '#/definitions/models.MyPerformanc'
  32455. type: array
  32456. "500":
  32457. description: Internal Server Error
  32458. schema:
  32459. $ref: '#/definitions/app.Response'
  32460. security:
  32461. - ApiKeyAuth: []
  32462. - LoginID: []
  32463. - Group: []
  32464. summary: 查询我的履约
  32465. tags:
  32466. - 广钻
  32467. /Guangzuan/QueryMySellOrder:
  32468. get:
  32469. parameters:
  32470. - description: 用户ID
  32471. in: query
  32472. name: userid
  32473. required: true
  32474. type: integer
  32475. - description: 页码
  32476. in: query
  32477. name: page
  32478. type: integer
  32479. - description: 每页条数
  32480. in: query
  32481. name: pagesize
  32482. type: integer
  32483. - description: 商品(查询字段-模糊查询)
  32484. in: query
  32485. name: zsallproperties
  32486. type: string
  32487. - description: 钻石分类, 格式:1,2,3
  32488. in: query
  32489. name: zscategorys
  32490. type: string
  32491. - description: 委托单号
  32492. in: query
  32493. name: wrtradeorderid
  32494. type: integer
  32495. - description: 是否历史查询
  32496. in: query
  32497. name: ishis
  32498. type: boolean
  32499. - description: 开始交易日(yyyymmdd)
  32500. in: query
  32501. name: begindate
  32502. type: string
  32503. - description: 结束交易日(yyyymmdd)
  32504. in: query
  32505. name: enddate
  32506. type: string
  32507. produces:
  32508. - application/json
  32509. responses:
  32510. "200":
  32511. description: OK
  32512. schema:
  32513. items:
  32514. $ref: '#/definitions/models.MySellOrder'
  32515. type: array
  32516. "500":
  32517. description: Internal Server Error
  32518. schema:
  32519. $ref: '#/definitions/app.Response'
  32520. security:
  32521. - ApiKeyAuth: []
  32522. - LoginID: []
  32523. - Group: []
  32524. summary: 查询我的出售
  32525. tags:
  32526. - 广钻
  32527. /Guangzuan/QueryMyWRPosition:
  32528. get:
  32529. parameters:
  32530. - description: 页码
  32531. in: query
  32532. name: page
  32533. type: integer
  32534. - description: 每页条数
  32535. in: query
  32536. name: pagesize
  32537. type: integer
  32538. - description: 登录用户ID
  32539. in: query
  32540. name: wruserid
  32541. required: true
  32542. type: integer
  32543. - description: 商品(查询字段-模糊查询)
  32544. in: query
  32545. name: zsallproperties
  32546. type: string
  32547. - description: 钻石分类, 格式:1,2,3
  32548. in: query
  32549. name: zscategorys
  32550. type: string
  32551. - description: 仓库ID
  32552. in: query
  32553. name: warehouseid
  32554. type: integer
  32555. - description: 是否上架,0-全部 1-是 2-否
  32556. in: query
  32557. name: marketflag
  32558. type: integer
  32559. produces:
  32560. - application/json
  32561. responses:
  32562. "200":
  32563. description: OK
  32564. schema:
  32565. items:
  32566. $ref: '#/definitions/models.MyWRPosition'
  32567. type: array
  32568. "500":
  32569. description: Internal Server Error
  32570. schema:
  32571. $ref: '#/definitions/app.Response'
  32572. security:
  32573. - ApiKeyAuth: []
  32574. - LoginID: []
  32575. - Group: []
  32576. summary: 查询我的库存
  32577. tags:
  32578. - 广钻
  32579. /Guangzuan/QuerySellOrder:
  32580. get:
  32581. parameters:
  32582. - description: 页码
  32583. in: query
  32584. name: page
  32585. type: integer
  32586. - description: 每页条数
  32587. in: query
  32588. name: pagesize
  32589. type: integer
  32590. - description: 商品(查询字段-模糊查询)
  32591. in: query
  32592. name: zsallproperties
  32593. type: string
  32594. - description: 钻石分类, 格式:1,2,3
  32595. in: query
  32596. name: zscategorys
  32597. type: string
  32598. - description: 委托单号
  32599. in: query
  32600. name: wrtradeorderid
  32601. type: integer
  32602. - description: 卖方(查询字段-模糊查询)
  32603. in: query
  32604. name: buyusername
  32605. type: string
  32606. produces:
  32607. - application/json
  32608. responses:
  32609. "200":
  32610. description: OK
  32611. schema:
  32612. items:
  32613. $ref: '#/definitions/models.SellOrder'
  32614. type: array
  32615. "500":
  32616. description: Internal Server Error
  32617. schema:
  32618. $ref: '#/definitions/app.Response'
  32619. security:
  32620. - ApiKeyAuth: []
  32621. - LoginID: []
  32622. - Group: []
  32623. summary: 查询出售大厅委托单
  32624. tags:
  32625. - 广钻
  32626. /Guangzuan/QueryTradeReport:
  32627. get:
  32628. parameters:
  32629. - description: 用户ID
  32630. in: query
  32631. name: userid
  32632. required: true
  32633. type: integer
  32634. - description: 页码
  32635. in: query
  32636. name: page
  32637. type: integer
  32638. - description: 每页条数
  32639. in: query
  32640. name: pagesize
  32641. type: integer
  32642. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32643. in: query
  32644. name: cycletype
  32645. type: string
  32646. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32647. in: query
  32648. name: begindate
  32649. required: true
  32650. type: string
  32651. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32652. in: query
  32653. name: enddate
  32654. required: true
  32655. type: string
  32656. - description: 商品分类
  32657. in: query
  32658. name: zscategory
  32659. type: integer
  32660. - description: 商品币种
  32661. in: query
  32662. name: zscurrencytype
  32663. type: integer
  32664. produces:
  32665. - application/json
  32666. responses:
  32667. "200":
  32668. description: OK
  32669. schema:
  32670. items:
  32671. $ref: '#/definitions/models.Reckongzmemtradesum'
  32672. type: array
  32673. "500":
  32674. description: Internal Server Error
  32675. schema:
  32676. $ref: '#/definitions/app.Response'
  32677. security:
  32678. - ApiKeyAuth: []
  32679. - LoginID: []
  32680. - Group: []
  32681. summary: 查询交易报表
  32682. tags:
  32683. - 广钻
  32684. /Guangzuan/QueryWRPositionReport:
  32685. get:
  32686. parameters:
  32687. - description: 用户ID
  32688. in: query
  32689. name: userid
  32690. required: true
  32691. type: integer
  32692. - description: 页码
  32693. in: query
  32694. name: page
  32695. type: integer
  32696. - description: 每页条数
  32697. in: query
  32698. name: pagesize
  32699. type: integer
  32700. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32701. in: query
  32702. name: cycletype
  32703. type: string
  32704. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32705. in: query
  32706. name: begindate
  32707. required: true
  32708. type: string
  32709. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32710. in: query
  32711. name: enddate
  32712. required: true
  32713. type: string
  32714. - description: 商品分类
  32715. in: query
  32716. name: zscategory
  32717. type: integer
  32718. - description: 商品币种
  32719. in: query
  32720. name: zscurrencytype
  32721. type: integer
  32722. produces:
  32723. - application/json
  32724. responses:
  32725. "200":
  32726. description: OK
  32727. schema:
  32728. items:
  32729. $ref: '#/definitions/models.WRPositionReport'
  32730. type: array
  32731. "500":
  32732. description: Internal Server Error
  32733. schema:
  32734. $ref: '#/definitions/app.Response'
  32735. security:
  32736. - ApiKeyAuth: []
  32737. - LoginID: []
  32738. - Group: []
  32739. summary: 查询仓储报表
  32740. tags:
  32741. - 广钻
  32742. /Guangzuan/QueryWarehouseInfo:
  32743. get:
  32744. parameters:
  32745. - description: 页码
  32746. in: query
  32747. name: page
  32748. type: integer
  32749. - description: 每页条数
  32750. in: query
  32751. name: pagesize
  32752. type: integer
  32753. - description: 用户ID
  32754. in: query
  32755. name: userid
  32756. required: true
  32757. type: integer
  32758. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  32759. in: query
  32760. name: status
  32761. type: string
  32762. - description: 是返回交易所仓库
  32763. in: query
  32764. name: isincludeexchange
  32765. type: boolean
  32766. produces:
  32767. - application/json
  32768. responses:
  32769. "200":
  32770. description: OK
  32771. schema:
  32772. items:
  32773. $ref: '#/definitions/models.GZWarehouseinfo'
  32774. type: array
  32775. "500":
  32776. description: Internal Server Error
  32777. schema:
  32778. $ref: '#/definitions/app.Response'
  32779. security:
  32780. - ApiKeyAuth: []
  32781. - LoginID: []
  32782. - Group: []
  32783. summary: 查询仓库信息
  32784. tags:
  32785. - 广钻
  32786. /HSBY/GetHsbyMyCount:
  32787. get:
  32788. description: 说明: 不包括已完成的数量。
  32789. parameters:
  32790. - description: 资金账户列表,格式:1,2,3
  32791. in: query
  32792. name: accountIDs
  32793. required: true
  32794. type: string
  32795. produces:
  32796. - application/json
  32797. responses:
  32798. "200":
  32799. description: OK
  32800. schema:
  32801. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  32802. "500":
  32803. description: Internal Server Error
  32804. schema:
  32805. $ref: '#/definitions/app.Response'
  32806. security:
  32807. - ApiKeyAuth: []
  32808. summary: 获取我的订单与包裹数量
  32809. tags:
  32810. - 定制【海商报业】
  32811. /HSBY/QueryClientFixedADConfigs:
  32812. get:
  32813. produces:
  32814. - application/json
  32815. responses:
  32816. "200":
  32817. description: OK
  32818. schema:
  32819. $ref: '#/definitions/models.Clientfixedadconfig'
  32820. "500":
  32821. description: Internal Server Error
  32822. schema:
  32823. $ref: '#/definitions/app.Response'
  32824. security:
  32825. - ApiKeyAuth: []
  32826. summary: 获取终端固定广告配置
  32827. tags:
  32828. - 定制【海商报业】
  32829. /HSBY/QueryHsbyBuyMyTradeDetail:
  32830. get:
  32831. parameters:
  32832. - description: 页码
  32833. in: query
  32834. name: page
  32835. type: integer
  32836. - description: 每页条数
  32837. in: query
  32838. name: pagesize
  32839. type: integer
  32840. - description: 资金账户列表,格式:1,2,3
  32841. in: query
  32842. name: accountIDs
  32843. required: true
  32844. type: string
  32845. produces:
  32846. - application/json
  32847. responses:
  32848. "200":
  32849. description: OK
  32850. schema:
  32851. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  32852. "500":
  32853. description: Internal Server Error
  32854. schema:
  32855. $ref: '#/definitions/app.Response'
  32856. security:
  32857. - ApiKeyAuth: []
  32858. summary: 查询"我的订单 - 已完成"单据信息
  32859. tags:
  32860. - 定制【海商报业】
  32861. /HSBY/QueryHsbyGoodsOrderDetails:
  32862. get:
  32863. description: 说明:查询结果已按委托价格和委托时间排序
  32864. parameters:
  32865. - description: 商品ID
  32866. in: query
  32867. name: goodsID
  32868. required: true
  32869. type: integer
  32870. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  32871. in: query
  32872. name: accountIDs
  32873. type: string
  32874. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  32875. in: query
  32876. name: buyOrSell
  32877. type: integer
  32878. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  32879. in: query
  32880. name: price
  32881. type: number
  32882. - description: 档位,不传则默认为3档
  32883. in: query
  32884. name: speed
  32885. type: integer
  32886. produces:
  32887. - application/json
  32888. responses:
  32889. "200":
  32890. description: OK
  32891. schema:
  32892. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  32893. "500":
  32894. description: Internal Server Error
  32895. schema:
  32896. $ref: '#/definitions/app.Response'
  32897. security:
  32898. - ApiKeyAuth: []
  32899. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  32900. tags:
  32901. - 定制【海商报业】
  32902. /HSBY/QueryHsbyListingGoodsDetail:
  32903. get:
  32904. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  32905. parameters:
  32906. - description: 商品ID
  32907. in: query
  32908. name: goodsID
  32909. required: true
  32910. type: integer
  32911. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  32912. in: query
  32913. name: accountID
  32914. type: integer
  32915. produces:
  32916. - application/json
  32917. responses:
  32918. "200":
  32919. description: OK
  32920. schema:
  32921. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  32922. "500":
  32923. description: Internal Server Error
  32924. schema:
  32925. $ref: '#/definitions/app.Response'
  32926. security:
  32927. - ApiKeyAuth: []
  32928. summary: 查询二级市场(挂牌点选)商品信息详情
  32929. tags:
  32930. - 定制【海商报业】
  32931. /HSBY/QueryHsbyMarketGoodsDetail:
  32932. get:
  32933. parameters:
  32934. - description: 委托单号
  32935. in: query
  32936. name: orderID
  32937. required: true
  32938. type: integer
  32939. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  32940. in: query
  32941. name: accountID
  32942. type: integer
  32943. produces:
  32944. - application/json
  32945. responses:
  32946. "200":
  32947. description: OK
  32948. schema:
  32949. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  32950. "500":
  32951. description: Internal Server Error
  32952. schema:
  32953. $ref: '#/definitions/app.Response'
  32954. security:
  32955. - ApiKeyAuth: []
  32956. summary: 查询三级市场(商城)商品信息详情
  32957. tags:
  32958. - 定制【海商报业】
  32959. /HSBY/QueryHsbyMarketGoodses:
  32960. get:
  32961. parameters:
  32962. - description: 页码
  32963. in: query
  32964. name: page
  32965. type: integer
  32966. - description: 每页条数
  32967. in: query
  32968. name: pagesize
  32969. type: integer
  32970. - description: 市场ID列表,格式:1,2,3
  32971. in: query
  32972. name: marketIDs
  32973. required: true
  32974. type: string
  32975. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  32976. in: query
  32977. name: accountID
  32978. required: true
  32979. type: integer
  32980. - description: 类别ID
  32981. in: query
  32982. name: categoryID
  32983. type: integer
  32984. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  32985. in: query
  32986. name: goodsIDs
  32987. type: string
  32988. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  32989. in: query
  32990. name: couponTypeID
  32991. type: integer
  32992. produces:
  32993. - application/json
  32994. responses:
  32995. "200":
  32996. description: OK
  32997. schema:
  32998. $ref: '#/definitions/models.HsbyMarketGoods'
  32999. "500":
  33000. description: Internal Server Error
  33001. schema:
  33002. $ref: '#/definitions/app.Response'
  33003. security:
  33004. - ApiKeyAuth: []
  33005. summary: 查询特卖商品列表(三级商城)
  33006. tags:
  33007. - 定制【海商报业】
  33008. /HSBY/QueryHsbyMarkets:
  33009. get:
  33010. produces:
  33011. - application/json
  33012. responses:
  33013. "200":
  33014. description: OK
  33015. schema:
  33016. $ref: '#/definitions/models.HsbyMarketInfo'
  33017. "500":
  33018. description: Internal Server Error
  33019. schema:
  33020. $ref: '#/definitions/app.Response'
  33021. security:
  33022. - ApiKeyAuth: []
  33023. summary: 查询海商报业相关市场信息
  33024. tags:
  33025. - 定制【海商报业】
  33026. /HSBY/QueryHsbyMyBuyOrderDetails:
  33027. get:
  33028. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  33029. parameters:
  33030. - description: 资金账户列表,格式:1,2,3
  33031. in: query
  33032. name: accountIDs
  33033. required: true
  33034. type: string
  33035. produces:
  33036. - application/json
  33037. responses:
  33038. "200":
  33039. description: OK
  33040. schema:
  33041. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  33042. "500":
  33043. description: Internal Server Error
  33044. schema:
  33045. $ref: '#/definitions/app.Response'
  33046. security:
  33047. - ApiKeyAuth: []
  33048. summary: 查询“我的订单”信息
  33049. tags:
  33050. - 定制【海商报业】
  33051. /HSBY/QueryHsbyMyGoods:
  33052. get:
  33053. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  33054. parameters:
  33055. - description: 资金账户列表,格式:1,2,3
  33056. in: query
  33057. name: accountIDs
  33058. required: true
  33059. type: string
  33060. produces:
  33061. - application/json
  33062. responses:
  33063. "200":
  33064. description: OK
  33065. schema:
  33066. $ref: '#/definitions/models.HsbyMyGoods'
  33067. "500":
  33068. description: Internal Server Error
  33069. schema:
  33070. $ref: '#/definitions/app.Response'
  33071. security:
  33072. - ApiKeyAuth: []
  33073. summary: 查询“我的商品”信息
  33074. tags:
  33075. - 定制【海商报业】
  33076. /HSBY/QueryHsbyMyPackages:
  33077. get:
  33078. parameters:
  33079. - description: 资金账户列表,格式:1,2,3
  33080. in: query
  33081. name: accountIDs
  33082. required: true
  33083. type: string
  33084. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  33085. in: query
  33086. name: takeOrderStatus
  33087. type: integer
  33088. produces:
  33089. - application/json
  33090. responses:
  33091. "200":
  33092. description: OK
  33093. schema:
  33094. $ref: '#/definitions/models.HsbyMyPackage'
  33095. "500":
  33096. description: Internal Server Error
  33097. schema:
  33098. $ref: '#/definitions/app.Response'
  33099. security:
  33100. - ApiKeyAuth: []
  33101. summary: 查询我的包裹信息
  33102. tags:
  33103. - 定制【海商报业】
  33104. /HSBY/QueryHsbyPreGoodsDetail:
  33105. get:
  33106. parameters:
  33107. - description: 商品ID
  33108. in: query
  33109. name: goodsID
  33110. required: true
  33111. type: integer
  33112. - description: 资金账户,主要用于获取预售商品购买上限
  33113. in: query
  33114. name: accountID
  33115. type: integer
  33116. produces:
  33117. - application/json
  33118. responses:
  33119. "200":
  33120. description: OK
  33121. schema:
  33122. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  33123. "500":
  33124. description: Internal Server Error
  33125. schema:
  33126. $ref: '#/definitions/app.Response'
  33127. security:
  33128. - ApiKeyAuth: []
  33129. summary: 查询一级市场(预售)商品信息详情
  33130. tags:
  33131. - 定制【海商报业】
  33132. /HSBY/QueryHsbyPreGoodses:
  33133. get:
  33134. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  33135. parameters:
  33136. - description: 页码
  33137. in: query
  33138. name: page
  33139. type: integer
  33140. - description: 每页条数
  33141. in: query
  33142. name: pagesize
  33143. type: integer
  33144. - description: 市场ID列表,格式:1,2,3
  33145. in: query
  33146. name: marketIDs
  33147. required: true
  33148. type: string
  33149. - description: 目的地(省)ID
  33150. in: query
  33151. name: descProvinceID
  33152. type: integer
  33153. - description: 目的地(市)ID
  33154. in: query
  33155. name: descCityID
  33156. type: integer
  33157. produces:
  33158. - application/json
  33159. responses:
  33160. "200":
  33161. description: OK
  33162. schema:
  33163. $ref: '#/definitions/models.HsbyPreGoods'
  33164. "500":
  33165. description: Internal Server Error
  33166. schema:
  33167. $ref: '#/definitions/app.Response'
  33168. security:
  33169. - ApiKeyAuth: []
  33170. summary: 查询新品上市商品列表(一级市场预售)
  33171. tags:
  33172. - 定制【海商报业】
  33173. /HSBY/QueryHsbySellMyDetails:
  33174. get:
  33175. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  33176. parameters:
  33177. - description: 页码
  33178. in: query
  33179. name: page
  33180. type: integer
  33181. - description: 每页条数
  33182. in: query
  33183. name: pagesize
  33184. type: integer
  33185. - description: 资金账户列表,格式:1,2,3
  33186. in: query
  33187. name: accountIDs
  33188. required: true
  33189. type: string
  33190. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  33191. in: query
  33192. name: orderType
  33193. type: integer
  33194. produces:
  33195. - application/json
  33196. responses:
  33197. "200":
  33198. description: OK
  33199. schema:
  33200. $ref: '#/definitions/models.HsbySellMyDetail'
  33201. "500":
  33202. description: Internal Server Error
  33203. schema:
  33204. $ref: '#/definitions/app.Response'
  33205. security:
  33206. - ApiKeyAuth: []
  33207. summary: 查询"我的闲置"单据信息
  33208. tags:
  33209. - 定制【海商报业】
  33210. /HSBY/QueryHsbyTopGoodses:
  33211. get:
  33212. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  33213. parameters:
  33214. - description: 页码
  33215. in: query
  33216. name: page
  33217. type: integer
  33218. - description: 每页条数
  33219. in: query
  33220. name: pagesize
  33221. type: integer
  33222. - description: 市场ID列表,格式:1,2,3
  33223. in: query
  33224. name: marketIDs
  33225. required: true
  33226. type: string
  33227. - description: 目的地(省)ID
  33228. in: query
  33229. name: descProvinceID
  33230. type: integer
  33231. - description: 目的地(市)ID
  33232. in: query
  33233. name: descCityID
  33234. type: integer
  33235. produces:
  33236. - application/json
  33237. responses:
  33238. "200":
  33239. description: OK
  33240. schema:
  33241. $ref: '#/definitions/models.HsbyTopGoods'
  33242. "500":
  33243. description: Internal Server Error
  33244. schema:
  33245. $ref: '#/definitions/app.Response'
  33246. security:
  33247. - ApiKeyAuth: []
  33248. summary: 查询热卖商品列表(二级市场挂牌点选)
  33249. tags:
  33250. - 定制【海商报业】
  33251. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  33252. get:
  33253. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  33254. parameters:
  33255. - description: 商品ID
  33256. in: query
  33257. name: goodsID
  33258. required: true
  33259. type: integer
  33260. produces:
  33261. - application/json
  33262. responses:
  33263. "200":
  33264. description: OK
  33265. schema:
  33266. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  33267. "500":
  33268. description: Internal Server Error
  33269. schema:
  33270. $ref: '#/definitions/app.Response'
  33271. security:
  33272. - ApiKeyAuth: []
  33273. summary: 查询游客三级市场(商城)商品信息详情
  33274. tags:
  33275. - 定制【海商报业】
  33276. /HSBY/QueryHsbyVisitorMarketGoodses:
  33277. get:
  33278. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  33279. parameters:
  33280. - description: 页码
  33281. in: query
  33282. name: page
  33283. type: integer
  33284. - description: 每页条数
  33285. in: query
  33286. name: pagesize
  33287. type: integer
  33288. - description: 市场ID列表,格式:1,2,3
  33289. in: query
  33290. name: marketIDs
  33291. required: true
  33292. type: string
  33293. - description: 类别ID
  33294. in: query
  33295. name: categoryID
  33296. type: integer
  33297. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  33298. in: query
  33299. name: goodsIDs
  33300. type: string
  33301. produces:
  33302. - application/json
  33303. responses:
  33304. "200":
  33305. description: OK
  33306. schema:
  33307. $ref: '#/definitions/models.HsbyMarketGoods'
  33308. "500":
  33309. description: Internal Server Error
  33310. schema:
  33311. $ref: '#/definitions/app.Response'
  33312. security:
  33313. - ApiKeyAuth: []
  33314. summary: 查询游客特卖商品列表(三级商城)
  33315. tags:
  33316. - 定制【海商报业】
  33317. /HSBY/QueryMyCollectionOrders:
  33318. get:
  33319. parameters:
  33320. - description: 页码
  33321. in: query
  33322. name: page
  33323. type: integer
  33324. - description: 每页条数
  33325. in: query
  33326. name: pagesize
  33327. type: integer
  33328. - description: 资金账户,格式:1,2,3
  33329. in: query
  33330. name: accountIDs
  33331. required: true
  33332. type: string
  33333. produces:
  33334. - application/json
  33335. responses:
  33336. "200":
  33337. description: OK
  33338. schema:
  33339. $ref: '#/definitions/models.HsbySellCollectionOrder'
  33340. "500":
  33341. description: Internal Server Error
  33342. schema:
  33343. $ref: '#/definitions/app.Response'
  33344. security:
  33345. - ApiKeyAuth: []
  33346. summary: 我的闲置中收款信息查询
  33347. tags:
  33348. - 定制【海商报业】
  33349. /HSBY/QueryMyCouponHolds:
  33350. get:
  33351. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  33352. parameters:
  33353. - description: 资金账户列表,格式:1,2,3
  33354. in: query
  33355. name: accountIDs
  33356. required: true
  33357. type: string
  33358. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  33359. in: query
  33360. name: holdStatus
  33361. type: string
  33362. produces:
  33363. - application/json
  33364. responses:
  33365. "200":
  33366. description: OK
  33367. schema:
  33368. $ref: '#/definitions/models.MyCouponHold'
  33369. "500":
  33370. description: Internal Server Error
  33371. schema:
  33372. $ref: '#/definitions/app.Response'
  33373. security:
  33374. - ApiKeyAuth: []
  33375. summary: 我的优惠卷持仓查询
  33376. tags:
  33377. - 定制【海商报业】
  33378. /HSBY/QueryMyCoupons:
  33379. get:
  33380. parameters:
  33381. - description: 资金账户列表,格式:1,2,3
  33382. in: query
  33383. name: accountIDs
  33384. required: true
  33385. type: string
  33386. - description: 商品ID, 一般与sellUserID配套传入
  33387. in: query
  33388. name: goodsID
  33389. type: integer
  33390. - description: 卖方UserID
  33391. in: query
  33392. name: sellUserID
  33393. type: integer
  33394. produces:
  33395. - application/json
  33396. responses:
  33397. "200":
  33398. description: OK
  33399. schema:
  33400. $ref: '#/definitions/models.MyCoupon'
  33401. "500":
  33402. description: Internal Server Error
  33403. schema:
  33404. $ref: '#/definitions/app.Response'
  33405. security:
  33406. - ApiKeyAuth: []
  33407. summary: 我的优惠卷查询
  33408. tags:
  33409. - 定制【海商报业】
  33410. /HSBY/QueryMyPayOrders:
  33411. get:
  33412. parameters:
  33413. - description: 页码
  33414. in: query
  33415. name: page
  33416. type: integer
  33417. - description: 每页条数
  33418. in: query
  33419. name: pagesize
  33420. type: integer
  33421. - description: 资金账户列表,格式:1,2,3
  33422. in: query
  33423. name: accountIDs
  33424. required: true
  33425. type: string
  33426. - description: 买方委托单号
  33427. in: query
  33428. name: buyOrderID
  33429. type: integer
  33430. - description: 卖方委托单号
  33431. in: query
  33432. name: sellOrderID
  33433. type: integer
  33434. produces:
  33435. - application/json
  33436. responses:
  33437. "200":
  33438. description: OK
  33439. schema:
  33440. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  33441. "500":
  33442. description: Internal Server Error
  33443. schema:
  33444. $ref: '#/definitions/app.Response'
  33445. security:
  33446. - ApiKeyAuth: []
  33447. summary: 获取我的订单中待付款信息
  33448. tags:
  33449. - 定制【海商报业】
  33450. /HSBY/QueryMyUsedCoupon:
  33451. get:
  33452. parameters:
  33453. - description: 资金账户列表,格式:1,2,3
  33454. in: query
  33455. name: accountIDs
  33456. required: true
  33457. type: string
  33458. produces:
  33459. - application/json
  33460. responses:
  33461. "200":
  33462. description: OK
  33463. schema:
  33464. $ref: '#/definitions/models.MyUsedCoupon'
  33465. "500":
  33466. description: Internal Server Error
  33467. schema:
  33468. $ref: '#/definitions/app.Response'
  33469. security:
  33470. - ApiKeyAuth: []
  33471. summary: 已使用优惠卷查询
  33472. tags:
  33473. - 定制【海商报业】
  33474. /HSBY/QueryProvincesAndCities:
  33475. get:
  33476. description: 查询结果只包括二级市场商品已关连的省市信息。
  33477. parameters:
  33478. - description: 省ID
  33479. in: query
  33480. name: provinceID
  33481. type: integer
  33482. produces:
  33483. - application/json
  33484. responses:
  33485. "200":
  33486. description: OK
  33487. schema:
  33488. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  33489. "500":
  33490. description: Internal Server Error
  33491. schema:
  33492. $ref: '#/definitions/app.Response'
  33493. security:
  33494. - ApiKeyAuth: []
  33495. summary: 查询省市信息(不包括区)
  33496. tags:
  33497. - 定制【海商报业】
  33498. /HSBY/SetHsbyMyPackagesStatus:
  33499. post:
  33500. parameters:
  33501. - description: 提货单号
  33502. in: query
  33503. name: takeOrderID
  33504. required: true
  33505. type: string
  33506. - description: 资金账号
  33507. in: query
  33508. name: accountID
  33509. required: true
  33510. type: integer
  33511. produces:
  33512. - application/json
  33513. responses:
  33514. "200":
  33515. description: OK
  33516. schema:
  33517. $ref: '#/definitions/app.Response'
  33518. "500":
  33519. description: Internal Server Error
  33520. schema:
  33521. $ref: '#/definitions/app.Response'
  33522. security:
  33523. - ApiKeyAuth: []
  33524. summary: 设置我的包裹已收货状态
  33525. tags:
  33526. - 定制【海商报业】
  33527. /Market/GetAllExExchanges:
  33528. get:
  33529. produces:
  33530. - application/json
  33531. responses:
  33532. "200":
  33533. description: OK
  33534. schema:
  33535. $ref: '#/definitions/models.Goods'
  33536. "500":
  33537. description: Internal Server Error
  33538. schema:
  33539. $ref: '#/definitions/app.Response'
  33540. security:
  33541. - ApiKeyAuth: []
  33542. summary: 获取所有外部交易所信息
  33543. tags:
  33544. - 通用市场
  33545. /Market/QueryGoodsesByLoginID:
  33546. get:
  33547. parameters:
  33548. - description: 登录账号
  33549. in: query
  33550. name: loginID
  33551. required: true
  33552. type: integer
  33553. - description: 市场ID列表,格式:1,2,3
  33554. in: query
  33555. name: marketIDs
  33556. type: string
  33557. produces:
  33558. - application/json
  33559. responses:
  33560. "200":
  33561. description: OK
  33562. schema:
  33563. $ref: '#/definitions/models.Goods'
  33564. "500":
  33565. description: Internal Server Error
  33566. schema:
  33567. $ref: '#/definitions/app.Response'
  33568. security:
  33569. - ApiKeyAuth: []
  33570. summary: 获取登录账号有权限的商品信息
  33571. tags:
  33572. - 通用市场
  33573. /Market/QueryMarketRun:
  33574. get:
  33575. parameters:
  33576. - description: 市场ID,不传返回所有
  33577. in: query
  33578. name: marketID
  33579. type: integer
  33580. produces:
  33581. - application/json
  33582. responses:
  33583. "200":
  33584. description: OK
  33585. schema:
  33586. $ref: '#/definitions/models.Marketrun'
  33587. "500":
  33588. description: Internal Server Error
  33589. schema:
  33590. $ref: '#/definitions/app.Response'
  33591. security:
  33592. - ApiKeyAuth: []
  33593. summary: 查询市场运行信息
  33594. tags:
  33595. - 通用市场
  33596. /Market/QueryMarketsByLoginID:
  33597. get:
  33598. parameters:
  33599. - description: 登录账号
  33600. in: query
  33601. name: loginID
  33602. required: true
  33603. type: integer
  33604. produces:
  33605. - application/json
  33606. responses:
  33607. "200":
  33608. description: OK
  33609. schema:
  33610. $ref: '#/definitions/models.Market'
  33611. "500":
  33612. description: Internal Server Error
  33613. schema:
  33614. $ref: '#/definitions/app.Response'
  33615. security:
  33616. - ApiKeyAuth: []
  33617. summary: 获取登录账号有权限的市场信息
  33618. tags:
  33619. - 通用市场
  33620. /Order/QueryHisTradeDetail:
  33621. get:
  33622. parameters:
  33623. - description: 资金账户 - 格式:1,2,3
  33624. in: query
  33625. name: accountID
  33626. required: true
  33627. type: string
  33628. - description: 成交单号
  33629. in: query
  33630. name: tradeID
  33631. type: integer
  33632. - description: 委托单号
  33633. in: query
  33634. name: orderID
  33635. type: integer
  33636. - description: 商品ID
  33637. in: query
  33638. name: goodsID
  33639. type: integer
  33640. - description: 交易模式 - 格式:1,2,3
  33641. in: query
  33642. name: tradeMode
  33643. type: string
  33644. - description: 委托单据类型
  33645. in: query
  33646. name: buildType
  33647. type: integer
  33648. - description: 成交类别 - 格式:1,2,3
  33649. in: query
  33650. name: tradeType
  33651. type: string
  33652. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33653. in: query
  33654. name: startDate
  33655. type: string
  33656. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33657. in: query
  33658. name: endDate
  33659. type: string
  33660. produces:
  33661. - application/json
  33662. responses:
  33663. "200":
  33664. description: OK
  33665. schema:
  33666. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  33667. "500":
  33668. description: Internal Server Error
  33669. schema:
  33670. $ref: '#/definitions/app.Response'
  33671. security:
  33672. - ApiKeyAuth: []
  33673. summary: 历史成交单查询(合约市场)
  33674. tags:
  33675. - 通用单据
  33676. /Order/QueryHisTradeOrderDetail:
  33677. get:
  33678. parameters:
  33679. - description: 资金账户 - 格式:1,2,3
  33680. in: query
  33681. name: accountID
  33682. required: true
  33683. type: string
  33684. - description: 交易模式 - 格式:1,2,3
  33685. in: query
  33686. name: tradeMode
  33687. type: string
  33688. - description: 委托状态 - 格式:1,2,3
  33689. in: query
  33690. name: orderStatus
  33691. type: string
  33692. - description: 委托单号
  33693. in: query
  33694. name: orderID
  33695. type: integer
  33696. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33697. in: query
  33698. name: startDate
  33699. type: string
  33700. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33701. in: query
  33702. name: endDate
  33703. type: string
  33704. produces:
  33705. - application/json
  33706. responses:
  33707. "200":
  33708. description: OK
  33709. schema:
  33710. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  33711. "500":
  33712. description: Internal Server Error
  33713. schema:
  33714. $ref: '#/definitions/app.Response'
  33715. security:
  33716. - ApiKeyAuth: []
  33717. summary: 历史委托单查询请求(合约市场)
  33718. tags:
  33719. - 通用单据
  33720. /Order/QueryTradeDetail:
  33721. get:
  33722. parameters:
  33723. - description: 资金账户 - 格式:1,2,3
  33724. in: query
  33725. name: accountID
  33726. required: true
  33727. type: string
  33728. - description: 成交单号
  33729. in: query
  33730. name: tradeID
  33731. type: integer
  33732. - description: 委托单号
  33733. in: query
  33734. name: orderID
  33735. type: integer
  33736. - description: 交易模式 - 格式:1,2,3
  33737. in: query
  33738. name: tradeMode
  33739. type: string
  33740. - description: 委托单据类型
  33741. in: query
  33742. name: buildType
  33743. type: integer
  33744. - description: 成交类别 - 格式:1,2,3
  33745. in: query
  33746. name: tradeType
  33747. type: string
  33748. - description: 商品ID
  33749. in: query
  33750. name: goodsID
  33751. type: integer
  33752. produces:
  33753. - application/json
  33754. responses:
  33755. "200":
  33756. description: OK
  33757. schema:
  33758. $ref: '#/definitions/order.QueryTradeDetailRsp'
  33759. "500":
  33760. description: Internal Server Error
  33761. schema:
  33762. $ref: '#/definitions/app.Response'
  33763. security:
  33764. - ApiKeyAuth: []
  33765. summary: 成交单查询(合约市场)
  33766. tags:
  33767. - 通用单据
  33768. /Order/QueryTradeHolderDetail:
  33769. get:
  33770. parameters:
  33771. - description: 用户id
  33772. in: query
  33773. name: userid
  33774. type: integer
  33775. - description: 资金账号, 格式 1,2,3
  33776. in: query
  33777. name: accids
  33778. type: string
  33779. - description: 交易模式, 格式 1,2,3
  33780. in: query
  33781. name: trademodes
  33782. type: string
  33783. - description: 市场id, 格式 1,2,3
  33784. in: query
  33785. name: marketids
  33786. type: string
  33787. - description: 商品id
  33788. in: query
  33789. name: goodsid
  33790. type: integer
  33791. - description: 买卖方向 0-买 1-卖
  33792. in: query
  33793. name: buyorsell
  33794. type: integer
  33795. produces:
  33796. - application/json
  33797. responses:
  33798. "200":
  33799. description: OK
  33800. schema:
  33801. items:
  33802. $ref: '#/definitions/models.TradeHolderDetail'
  33803. type: array
  33804. "500":
  33805. description: Internal Server Error
  33806. schema:
  33807. $ref: '#/definitions/app.Response'
  33808. security:
  33809. - ApiKeyAuth: []
  33810. summary: 查询持仓明细
  33811. tags:
  33812. - 通用单据
  33813. /Order/QueryTradeOrderDetail:
  33814. get:
  33815. parameters:
  33816. - description: 资金账户 - 格式:1,2,3
  33817. in: query
  33818. name: accountID
  33819. required: true
  33820. type: string
  33821. - description: 交易模式 - 格式:1,2,3
  33822. in: query
  33823. name: tradeMode
  33824. type: string
  33825. - description: 委托状态 - 格式:1,2,3
  33826. in: query
  33827. name: orderStatus
  33828. type: string
  33829. - description: 委托单号
  33830. in: query
  33831. name: orderID
  33832. type: integer
  33833. produces:
  33834. - application/json
  33835. responses:
  33836. "200":
  33837. description: OK
  33838. schema:
  33839. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  33840. "500":
  33841. description: Internal Server Error
  33842. schema:
  33843. $ref: '#/definitions/app.Response'
  33844. security:
  33845. - ApiKeyAuth: []
  33846. summary: 委托单查询请求(合约市场)
  33847. tags:
  33848. - 通用单据
  33849. /Order/QueryTradePosition:
  33850. get:
  33851. parameters:
  33852. - description: 资金账户 - 格式:1,2,3
  33853. in: query
  33854. name: accountID
  33855. required: true
  33856. type: string
  33857. - description: 交易模式 - 格式:1,2,3
  33858. in: query
  33859. name: tradeMode
  33860. type: string
  33861. produces:
  33862. - application/json
  33863. responses:
  33864. "200":
  33865. description: OK
  33866. schema:
  33867. $ref: '#/definitions/order.QueryTradePositionRsp'
  33868. "500":
  33869. description: Internal Server Error
  33870. schema:
  33871. $ref: '#/definitions/app.Response'
  33872. security:
  33873. - ApiKeyAuth: []
  33874. summary: 持仓汇总查询(合约市场)
  33875. tags:
  33876. - 通用单据
  33877. /Qhj/QueryAccountInOutApply:
  33878. get:
  33879. parameters:
  33880. - description: 用户ID
  33881. in: query
  33882. name: userid
  33883. required: true
  33884. type: integer
  33885. - description: 申请起始日期(格式yyyymmdd)
  33886. in: query
  33887. name: begindate
  33888. type: string
  33889. - description: 申请截止日期(格式yyyymmdd)
  33890. in: query
  33891. name: enddate
  33892. type: string
  33893. - description: 模糊搜索名称
  33894. in: query
  33895. name: likename
  33896. type: string
  33897. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  33898. in: query
  33899. name: applystatus
  33900. type: integer
  33901. - description: 查询类型 1-提现(出金) 2-充值(入金)
  33902. in: query
  33903. name: querytype
  33904. type: integer
  33905. produces:
  33906. - application/json
  33907. responses:
  33908. "200":
  33909. description: OK
  33910. schema:
  33911. items:
  33912. $ref: '#/definitions/models.QhjAccountOutInApply'
  33913. type: array
  33914. "500":
  33915. description: Internal Server Error
  33916. schema:
  33917. $ref: '#/definitions/app.Response'
  33918. security:
  33919. - ApiKeyAuth: []
  33920. summary: 查询充值提现
  33921. tags:
  33922. - 大连千海金
  33923. /Qhj/QueryAreaFinanceConfig:
  33924. get:
  33925. parameters:
  33926. - description: 机构用户ID 其他做市关系,都设置为 1
  33927. in: query
  33928. name: userid
  33929. type: integer
  33930. produces:
  33931. - application/json
  33932. responses:
  33933. "200":
  33934. description: OK
  33935. schema:
  33936. items:
  33937. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  33938. type: array
  33939. "500":
  33940. description: Internal Server Error
  33941. schema:
  33942. $ref: '#/definitions/app.Response'
  33943. security:
  33944. - ApiKeyAuth: []
  33945. summary: 查询企业配置表
  33946. tags:
  33947. - 大连千海金
  33948. /Qhj/QueryBankAccountSign:
  33949. get:
  33950. parameters:
  33951. - description: 用户ID
  33952. in: query
  33953. name: userid
  33954. required: true
  33955. type: integer
  33956. produces:
  33957. - application/json
  33958. responses:
  33959. "200":
  33960. description: OK
  33961. schema:
  33962. items:
  33963. $ref: '#/definitions/models.QhjBankAccountSign'
  33964. type: array
  33965. "500":
  33966. description: Internal Server Error
  33967. schema:
  33968. $ref: '#/definitions/app.Response'
  33969. security:
  33970. - ApiKeyAuth: []
  33971. summary: 查询签约银行信息(提现账户管理)
  33972. tags:
  33973. - 大连千海金
  33974. /Qhj/QueryBankInfo:
  33975. get:
  33976. produces:
  33977. - application/json
  33978. responses:
  33979. "200":
  33980. description: OK
  33981. schema:
  33982. items:
  33983. $ref: '#/definitions/models.QhjBankInfo'
  33984. type: array
  33985. "500":
  33986. description: Internal Server Error
  33987. schema:
  33988. $ref: '#/definitions/app.Response'
  33989. security:
  33990. - ApiKeyAuth: []
  33991. summary: 查询开户行
  33992. tags:
  33993. - 大连千海金
  33994. /Qhj/QueryBrokerApply:
  33995. get:
  33996. parameters:
  33997. - description: 所属机构ID
  33998. in: query
  33999. name: userid
  34000. type: integer
  34001. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  34002. in: query
  34003. name: filterstatus
  34004. type: string
  34005. produces:
  34006. - application/json
  34007. responses:
  34008. "200":
  34009. description: OK
  34010. schema:
  34011. items:
  34012. $ref: '#/definitions/models.QhjBrokerApply'
  34013. type: array
  34014. "500":
  34015. description: Internal Server Error
  34016. schema:
  34017. $ref: '#/definitions/app.Response'
  34018. security:
  34019. - ApiKeyAuth: []
  34020. summary: 查询经纪人申请
  34021. tags:
  34022. - 大连千海金
  34023. /Qhj/QueryBrokerApplyEx:
  34024. get:
  34025. parameters:
  34026. - description: 所属机构ID
  34027. in: query
  34028. name: userid
  34029. type: integer
  34030. produces:
  34031. - application/json
  34032. responses:
  34033. "200":
  34034. description: OK
  34035. schema:
  34036. items:
  34037. $ref: '#/definitions/models.QhjBrokerApplyEx'
  34038. type: array
  34039. "500":
  34040. description: Internal Server Error
  34041. schema:
  34042. $ref: '#/definitions/app.Response'
  34043. security:
  34044. - ApiKeyAuth: []
  34045. summary: 查询经纪人信息和申请记录
  34046. tags:
  34047. - 大连千海金
  34048. /Qhj/QueryBrokerRewardLog:
  34049. get:
  34050. parameters:
  34051. - description: 用户ID
  34052. in: query
  34053. name: userid
  34054. required: true
  34055. type: integer
  34056. - description: 开始交易日(yyyymmdd)
  34057. in: query
  34058. name: begindate
  34059. type: string
  34060. - description: 结束交易日(yyyymmdd)
  34061. in: query
  34062. name: enddate
  34063. type: string
  34064. produces:
  34065. - application/json
  34066. responses:
  34067. "200":
  34068. description: OK
  34069. schema:
  34070. items:
  34071. $ref: '#/definitions/models.QhjBrokerRewardLog'
  34072. type: array
  34073. "500":
  34074. description: Internal Server Error
  34075. schema:
  34076. $ref: '#/definitions/app.Response'
  34077. security:
  34078. - ApiKeyAuth: []
  34079. summary: 查询奖励流水(我的奖励)
  34080. tags:
  34081. - 大连千海金
  34082. /Qhj/QueryContract:
  34083. get:
  34084. parameters:
  34085. - description: 用户ID
  34086. in: query
  34087. name: userid
  34088. type: integer
  34089. - description: scf合同id
  34090. in: query
  34091. name: scfcontractid
  34092. type: integer
  34093. produces:
  34094. - application/json
  34095. responses:
  34096. "200":
  34097. description: OK
  34098. schema:
  34099. items:
  34100. $ref: '#/definitions/models.QhjContract'
  34101. type: array
  34102. "500":
  34103. description: Internal Server Error
  34104. schema:
  34105. $ref: '#/definitions/app.Response'
  34106. security:
  34107. - ApiKeyAuth: []
  34108. summary: 查询融资明细(合同)
  34109. tags:
  34110. - 大连千海金
  34111. /Qhj/QueryContractLog:
  34112. get:
  34113. parameters:
  34114. - description: scf合同id
  34115. in: query
  34116. name: scfcontractid
  34117. required: true
  34118. type: integer
  34119. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  34120. in: query
  34121. name: amounttype
  34122. type: string
  34123. produces:
  34124. - application/json
  34125. responses:
  34126. "200":
  34127. description: OK
  34128. schema:
  34129. items:
  34130. $ref: '#/definitions/models.QhjContractLog'
  34131. type: array
  34132. "500":
  34133. description: Internal Server Error
  34134. schema:
  34135. $ref: '#/definitions/app.Response'
  34136. security:
  34137. - ApiKeyAuth: []
  34138. summary: 查询融资明细流水(融资明细详情页中的流水)
  34139. tags:
  34140. - 大连千海金
  34141. /Qhj/QueryCusBankSignBank:
  34142. get:
  34143. produces:
  34144. - application/json
  34145. responses:
  34146. "200":
  34147. description: OK
  34148. schema:
  34149. items:
  34150. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  34151. type: array
  34152. "500":
  34153. description: Internal Server Error
  34154. schema:
  34155. $ref: '#/definitions/app.Response'
  34156. security:
  34157. - ApiKeyAuth: []
  34158. summary: 查询托管银行
  34159. tags:
  34160. - 大连千海金
  34161. /Qhj/QueryCustomerInfo:
  34162. get:
  34163. parameters:
  34164. - description: 用户ID
  34165. in: query
  34166. name: userid
  34167. required: true
  34168. type: integer
  34169. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  34170. in: query
  34171. name: querytype
  34172. required: true
  34173. type: integer
  34174. - description: 客户类型 1-个人 2-企业
  34175. in: query
  34176. name: userinfotype
  34177. type: integer
  34178. - description: 客户名称(模糊匹配)
  34179. in: query
  34180. name: customername
  34181. type: string
  34182. - description: 昵称(模糊匹配)
  34183. in: query
  34184. name: nickname
  34185. type: string
  34186. - description: 是否包含子级 1-包含
  34187. in: query
  34188. name: includesub
  34189. type: integer
  34190. produces:
  34191. - application/json
  34192. responses:
  34193. "200":
  34194. description: OK
  34195. schema:
  34196. items:
  34197. $ref: '#/definitions/models.QhjCustomer'
  34198. type: array
  34199. "500":
  34200. description: Internal Server Error
  34201. schema:
  34202. $ref: '#/definitions/app.Response'
  34203. security:
  34204. - ApiKeyAuth: []
  34205. summary: 查询客户资料
  34206. tags:
  34207. - 大连千海金
  34208. /Qhj/QueryGoodsEx:
  34209. get:
  34210. parameters:
  34211. - description: 商品id
  34212. in: query
  34213. name: goodsid
  34214. type: integer
  34215. produces:
  34216. - application/json
  34217. responses:
  34218. "200":
  34219. description: OK
  34220. schema:
  34221. items:
  34222. $ref: '#/definitions/models.Qhjgoodsex'
  34223. type: array
  34224. "500":
  34225. description: Internal Server Error
  34226. schema:
  34227. $ref: '#/definitions/app.Response'
  34228. security:
  34229. - ApiKeyAuth: []
  34230. summary: 交易商品扩展表
  34231. tags:
  34232. - 大连千海金
  34233. /Qhj/QueryMyTeam:
  34234. get:
  34235. parameters:
  34236. - description: 用户ID
  34237. in: query
  34238. name: userid
  34239. required: true
  34240. type: integer
  34241. produces:
  34242. - application/json
  34243. responses:
  34244. "200":
  34245. description: OK
  34246. schema:
  34247. items:
  34248. $ref: '#/definitions/models.QhjMyTeamEx'
  34249. type: array
  34250. "500":
  34251. description: Internal Server Error
  34252. schema:
  34253. $ref: '#/definitions/app.Response'
  34254. security:
  34255. - ApiKeyAuth: []
  34256. summary: 查询我的团队
  34257. tags:
  34258. - 大连千海金
  34259. /Qhj/QueryMyTeamOrder:
  34260. get:
  34261. parameters:
  34262. - description: 页码
  34263. in: query
  34264. name: page
  34265. type: integer
  34266. - description: 每页条数
  34267. in: query
  34268. name: pagesize
  34269. type: integer
  34270. - description: 用户ID
  34271. in: query
  34272. name: userid
  34273. required: true
  34274. type: integer
  34275. - description: 交易模式
  34276. in: query
  34277. name: trademode
  34278. type: integer
  34279. - description: 名称(模糊搜索账户)
  34280. in: query
  34281. name: filtername
  34282. type: string
  34283. produces:
  34284. - application/json
  34285. responses:
  34286. "200":
  34287. description: OK
  34288. schema:
  34289. items:
  34290. $ref: '#/definitions/models.QhjTeamOrder'
  34291. type: array
  34292. "500":
  34293. description: Internal Server Error
  34294. schema:
  34295. $ref: '#/definitions/app.Response'
  34296. security:
  34297. - ApiKeyAuth: []
  34298. summary: 查询团队订单(我的团队/团队订单)
  34299. tags:
  34300. - 大连千海金
  34301. /Qhj/QueryParentAreaList:
  34302. get:
  34303. parameters:
  34304. - description: 用户ID
  34305. in: query
  34306. name: userid
  34307. required: true
  34308. type: integer
  34309. produces:
  34310. - application/json
  34311. responses:
  34312. "200":
  34313. description: OK
  34314. schema:
  34315. items:
  34316. $ref: '#/definitions/models.QhjParentAreaList'
  34317. type: array
  34318. "500":
  34319. description: Internal Server Error
  34320. schema:
  34321. $ref: '#/definitions/app.Response'
  34322. security:
  34323. - ApiKeyAuth: []
  34324. summary: 查询所属机构列表
  34325. tags:
  34326. - 大连千海金
  34327. /Qhj/QueryPayOrder:
  34328. get:
  34329. parameters:
  34330. - description: 资金账号id
  34331. in: query
  34332. name: accountid
  34333. required: true
  34334. type: integer
  34335. - description: 成交单号
  34336. in: query
  34337. name: tradeid
  34338. type: integer
  34339. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34340. in: query
  34341. name: payflag
  34342. type: string
  34343. produces:
  34344. - application/json
  34345. responses:
  34346. "200":
  34347. description: OK
  34348. schema:
  34349. items:
  34350. $ref: '#/definitions/models.QhjPayOrder'
  34351. type: array
  34352. "500":
  34353. description: Internal Server Error
  34354. schema:
  34355. $ref: '#/definitions/app.Response'
  34356. security:
  34357. - ApiKeyAuth: []
  34358. summary: 查询待付款单据
  34359. tags:
  34360. - 大连千海金
  34361. /Qhj/QueryPickArea:
  34362. get:
  34363. parameters:
  34364. - description: 用户ID
  34365. in: query
  34366. name: userid
  34367. type: integer
  34368. produces:
  34369. - application/json
  34370. responses:
  34371. "200":
  34372. description: OK
  34373. schema:
  34374. items:
  34375. $ref: '#/definitions/models.QhjPickArea'
  34376. type: array
  34377. "500":
  34378. description: Internal Server Error
  34379. schema:
  34380. $ref: '#/definitions/app.Response'
  34381. security:
  34382. - ApiKeyAuth: []
  34383. summary: 查询提货门店
  34384. tags:
  34385. - 大连千海金
  34386. /Qhj/QueryPickGoods:
  34387. get:
  34388. parameters:
  34389. - description: 交易商品id
  34390. in: query
  34391. name: goodsid
  34392. required: true
  34393. type: integer
  34394. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34395. in: query
  34396. name: status
  34397. type: string
  34398. produces:
  34399. - application/json
  34400. responses:
  34401. "200":
  34402. description: OK
  34403. schema:
  34404. items:
  34405. $ref: '#/definitions/models.QhjPickGoods'
  34406. type: array
  34407. "500":
  34408. description: Internal Server Error
  34409. schema:
  34410. $ref: '#/definitions/app.Response'
  34411. security:
  34412. - ApiKeyAuth: []
  34413. summary: 查询提货商品
  34414. tags:
  34415. - 大连千海金
  34416. /Qhj/QueryRSTriggerLog:
  34417. get:
  34418. parameters:
  34419. - description: 用户ID
  34420. in: query
  34421. name: userid
  34422. type: integer
  34423. - description: 定投策略id
  34424. in: query
  34425. name: regularlystrategyid
  34426. type: integer
  34427. - description: 商品id
  34428. in: query
  34429. name: goodsid
  34430. type: integer
  34431. - description: 开始交易日(yyyymmdd)
  34432. in: query
  34433. name: begindate
  34434. type: string
  34435. - description: 结束交易日(yyyymmdd)
  34436. in: query
  34437. name: enddate
  34438. type: string
  34439. - description: 名称(模糊搜索账户)
  34440. in: query
  34441. name: filtername
  34442. type: string
  34443. produces:
  34444. - application/json
  34445. responses:
  34446. "200":
  34447. description: OK
  34448. schema:
  34449. items:
  34450. $ref: '#/definitions/models.QhjRSTriggerLog'
  34451. type: array
  34452. "500":
  34453. description: Internal Server Error
  34454. schema:
  34455. $ref: '#/definitions/app.Response'
  34456. security:
  34457. - ApiKeyAuth: []
  34458. summary: 查询定投记录(定投管理/详情/定投记录)
  34459. tags:
  34460. - 大连千海金
  34461. /Qhj/QueryRStrategy:
  34462. get:
  34463. parameters:
  34464. - description: 用户ID
  34465. in: query
  34466. name: userid
  34467. type: integer
  34468. - description: 商品id
  34469. in: query
  34470. name: goodsid
  34471. type: integer
  34472. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  34473. in: query
  34474. name: status
  34475. type: string
  34476. - description: 名称(模糊搜索账户)
  34477. in: query
  34478. name: filtername
  34479. type: string
  34480. produces:
  34481. - application/json
  34482. responses:
  34483. "200":
  34484. description: OK
  34485. schema:
  34486. items:
  34487. $ref: '#/definitions/models.QhjRStrategy'
  34488. type: array
  34489. "500":
  34490. description: Internal Server Error
  34491. schema:
  34492. $ref: '#/definitions/app.Response'
  34493. security:
  34494. - ApiKeyAuth: []
  34495. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  34496. tags:
  34497. - 大连千海金
  34498. /Qhj/QueryReckonPriceLog:
  34499. get:
  34500. parameters:
  34501. - description: 商品ID
  34502. in: query
  34503. name: goodsid
  34504. type: integer
  34505. - description: 交易日 格式(yyyymmdd)
  34506. in: query
  34507. name: tradedate
  34508. type: string
  34509. produces:
  34510. - application/json
  34511. responses:
  34512. "200":
  34513. description: OK
  34514. schema:
  34515. items:
  34516. $ref: '#/definitions/models.QhjReckonPriceLog'
  34517. type: array
  34518. "500":
  34519. description: Internal Server Error
  34520. schema:
  34521. $ref: '#/definitions/app.Response'
  34522. security:
  34523. - ApiKeyAuth: []
  34524. summary: 查询定投价(结算价)
  34525. tags:
  34526. - 大连千海金
  34527. /Qhj/QueryScoreLog:
  34528. get:
  34529. parameters:
  34530. - description: 用户ID
  34531. in: query
  34532. name: userid
  34533. required: true
  34534. type: integer
  34535. - description: 开始交易日(yyyymmdd)
  34536. in: query
  34537. name: begindate
  34538. type: string
  34539. - description: 结束交易日(yyyymmdd)
  34540. in: query
  34541. name: enddate
  34542. type: string
  34543. - description: 最近多少条
  34544. in: query
  34545. name: lastnum
  34546. type: integer
  34547. produces:
  34548. - application/json
  34549. responses:
  34550. "200":
  34551. description: OK
  34552. schema:
  34553. items:
  34554. $ref: '#/definitions/models.QhjScoreLog'
  34555. type: array
  34556. "500":
  34557. description: Internal Server Error
  34558. schema:
  34559. $ref: '#/definitions/app.Response'
  34560. security:
  34561. - ApiKeyAuth: []
  34562. summary: 查询积分流水(我的积分)
  34563. tags:
  34564. - 大连千海金
  34565. /Qhj/QuerySiteColumnDetail:
  34566. get:
  34567. parameters:
  34568. - description: 用户ID
  34569. in: query
  34570. name: userid
  34571. required: true
  34572. type: integer
  34573. produces:
  34574. - application/json
  34575. responses:
  34576. "200":
  34577. description: OK
  34578. schema:
  34579. items:
  34580. $ref: '#/definitions/models.QhjSiteColumnDetail'
  34581. type: array
  34582. "500":
  34583. description: Internal Server Error
  34584. schema:
  34585. $ref: '#/definitions/app.Response'
  34586. security:
  34587. - ApiKeyAuth: []
  34588. summary: 查询资讯
  34589. tags:
  34590. - 大连千海金
  34591. /Qhj/QueryTradeGoodsPickup:
  34592. get:
  34593. parameters:
  34594. - description: 用户ID
  34595. in: query
  34596. name: userid
  34597. required: true
  34598. type: integer
  34599. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  34600. 7:已拒绝 8:已撤销
  34601. in: query
  34602. name: takeorderstatus
  34603. type: integer
  34604. produces:
  34605. - application/json
  34606. responses:
  34607. "200":
  34608. description: OK
  34609. schema:
  34610. items:
  34611. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  34612. type: array
  34613. "500":
  34614. description: Internal Server Error
  34615. schema:
  34616. $ref: '#/definitions/app.Response'
  34617. security:
  34618. - ApiKeyAuth: []
  34619. summary: 查询提货
  34620. tags:
  34621. - 大连千海金
  34622. /Qhj/QueryUserCollectConfig:
  34623. get:
  34624. parameters:
  34625. - description: 用户ID
  34626. in: query
  34627. name: userid
  34628. required: true
  34629. type: integer
  34630. produces:
  34631. - application/json
  34632. responses:
  34633. "200":
  34634. description: OK
  34635. schema:
  34636. items:
  34637. $ref: '#/definitions/models.UserCollectConfig'
  34638. type: array
  34639. "500":
  34640. description: Internal Server Error
  34641. schema:
  34642. $ref: '#/definitions/app.Response'
  34643. security:
  34644. - ApiKeyAuth: []
  34645. summary: 查询提现账户设置
  34646. tags:
  34647. - 大连千海金
  34648. /Qhj/QueryUserReceiveInfo:
  34649. get:
  34650. parameters:
  34651. - description: 用户ID
  34652. in: query
  34653. name: userid
  34654. required: true
  34655. type: integer
  34656. produces:
  34657. - application/json
  34658. responses:
  34659. "200":
  34660. description: OK
  34661. schema:
  34662. items:
  34663. $ref: '#/definitions/models.UserReceiveInfo'
  34664. type: array
  34665. "500":
  34666. description: Internal Server Error
  34667. schema:
  34668. $ref: '#/definitions/app.Response'
  34669. security:
  34670. - ApiKeyAuth: []
  34671. summary: 查询收货地址信息
  34672. tags:
  34673. - 大连千海金
  34674. /QhjMgr/QueryAccountInOutApply:
  34675. get:
  34676. parameters:
  34677. - description: 查询类型 1-提现(出金) 2-充值(出金)
  34678. in: query
  34679. name: querytype
  34680. required: true
  34681. type: integer
  34682. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  34683. in: query
  34684. name: applystatus
  34685. type: integer
  34686. - description: 申请起始日期(格式yyyymmdd)
  34687. in: query
  34688. name: begindate
  34689. type: string
  34690. - description: 申请截止日期(格式yyyymmdd)
  34691. in: query
  34692. name: enddate
  34693. type: string
  34694. - description: 模糊搜索名称
  34695. in: query
  34696. name: likename
  34697. type: string
  34698. produces:
  34699. - application/json
  34700. responses:
  34701. "200":
  34702. description: OK
  34703. schema:
  34704. items:
  34705. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  34706. type: array
  34707. "500":
  34708. description: Internal Server Error
  34709. schema:
  34710. $ref: '#/definitions/app.Response'
  34711. security:
  34712. - ApiKeyAuth: []
  34713. summary: 查询充值提现
  34714. tags:
  34715. - 大连千海金(PCWeb)
  34716. /QhjMgr/QueryBrokerApply:
  34717. get:
  34718. parameters:
  34719. - description: 所属机构ID
  34720. in: query
  34721. name: userid
  34722. type: integer
  34723. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  34724. in: query
  34725. name: filterstatus
  34726. type: string
  34727. - description: 名称(模糊匹配)
  34728. in: query
  34729. name: filtername
  34730. type: string
  34731. - description: 是否包含子级 1-包含
  34732. in: query
  34733. name: includesub
  34734. type: integer
  34735. produces:
  34736. - application/json
  34737. responses:
  34738. "200":
  34739. description: OK
  34740. schema:
  34741. items:
  34742. $ref: '#/definitions/models.QhjMgrBrokerApply'
  34743. type: array
  34744. "500":
  34745. description: Internal Server Error
  34746. schema:
  34747. $ref: '#/definitions/app.Response'
  34748. security:
  34749. - ApiKeyAuth: []
  34750. summary: 查询经纪人申请
  34751. tags:
  34752. - 大连千海金(PCWeb)
  34753. /QhjMgr/QueryBrokerRewardReport:
  34754. get:
  34755. parameters:
  34756. - description: 所属机构ID
  34757. in: query
  34758. name: userid
  34759. required: true
  34760. type: integer
  34761. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  34762. in: query
  34763. name: cycletype
  34764. required: true
  34765. type: integer
  34766. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  34767. in: query
  34768. name: cycletime
  34769. required: true
  34770. type: string
  34771. - description: 名称(模糊匹配)
  34772. in: query
  34773. name: filtername
  34774. type: string
  34775. - description: 是否包含子级 1-包含
  34776. in: query
  34777. name: includesub
  34778. type: integer
  34779. produces:
  34780. - application/json
  34781. responses:
  34782. "200":
  34783. description: OK
  34784. schema:
  34785. items:
  34786. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  34787. type: array
  34788. "500":
  34789. description: Internal Server Error
  34790. schema:
  34791. $ref: '#/definitions/app.Response'
  34792. security:
  34793. - ApiKeyAuth: []
  34794. summary: 查询经纪人奖励报表(废弃)
  34795. tags:
  34796. - 大连千海金(PCWeb)
  34797. /QhjMgr/QueryContract:
  34798. get:
  34799. parameters:
  34800. - description: 用户ID
  34801. in: query
  34802. name: userid
  34803. type: integer
  34804. - description: 商品id
  34805. in: query
  34806. name: goodsid
  34807. type: integer
  34808. - description: 名称(模糊搜索账户)
  34809. in: query
  34810. name: filtername
  34811. type: string
  34812. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  34813. in: query
  34814. name: risklevel
  34815. type: string
  34816. - description: 开始交易日(yyyymmdd)
  34817. in: query
  34818. name: begindate
  34819. type: string
  34820. - description: 结束交易日(yyyymmdd)
  34821. in: query
  34822. name: enddate
  34823. type: string
  34824. produces:
  34825. - application/json
  34826. responses:
  34827. "200":
  34828. description: OK
  34829. schema:
  34830. items:
  34831. $ref: '#/definitions/models.QhjMgrContract'
  34832. type: array
  34833. "500":
  34834. description: Internal Server Error
  34835. schema:
  34836. $ref: '#/definitions/app.Response'
  34837. security:
  34838. - ApiKeyAuth: []
  34839. summary: 查询融资信息(合同)
  34840. tags:
  34841. - 大连千海金(PCWeb)
  34842. /QhjMgr/QueryCustomerInfo:
  34843. get:
  34844. parameters:
  34845. - description: 用户ID
  34846. in: query
  34847. name: userid
  34848. required: true
  34849. type: integer
  34850. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  34851. in: query
  34852. name: querytype
  34853. required: true
  34854. type: integer
  34855. - description: 客户类型 1-个人 2-企业
  34856. in: query
  34857. name: userinfotype
  34858. type: integer
  34859. - description: 客户名称(模糊匹配)
  34860. in: query
  34861. name: customername
  34862. type: string
  34863. - description: 昵称(模糊匹配)
  34864. in: query
  34865. name: nickname
  34866. type: string
  34867. - description: 所属客户经理(模糊匹配)
  34868. in: query
  34869. name: brokername
  34870. type: string
  34871. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  34872. 如0503 -5月3日)
  34873. in: query
  34874. name: birthday
  34875. type: string
  34876. - description: 是否包含子级 1-包含
  34877. in: query
  34878. name: includesub
  34879. type: integer
  34880. produces:
  34881. - application/json
  34882. responses:
  34883. "200":
  34884. description: OK
  34885. schema:
  34886. items:
  34887. $ref: '#/definitions/models.QhjMgrCustomer'
  34888. type: array
  34889. "500":
  34890. description: Internal Server Error
  34891. schema:
  34892. $ref: '#/definitions/app.Response'
  34893. security:
  34894. - ApiKeyAuth: []
  34895. summary: 查询客户资料
  34896. tags:
  34897. - 大连千海金(PCWeb)
  34898. /QhjMgr/QueryPickGoods:
  34899. get:
  34900. parameters:
  34901. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34902. in: query
  34903. name: status
  34904. type: string
  34905. produces:
  34906. - application/json
  34907. responses:
  34908. "200":
  34909. description: OK
  34910. schema:
  34911. items:
  34912. $ref: '#/definitions/models.QhjMgrPickGoods'
  34913. type: array
  34914. "500":
  34915. description: Internal Server Error
  34916. schema:
  34917. $ref: '#/definitions/app.Response'
  34918. security:
  34919. - ApiKeyAuth: []
  34920. summary: 查询提货商品
  34921. tags:
  34922. - 大连千海金(PCWeb)
  34923. /QhjMgr/QuerySubArea:
  34924. get:
  34925. parameters:
  34926. - description: 用户ID
  34927. in: query
  34928. name: userid
  34929. required: true
  34930. type: integer
  34931. produces:
  34932. - application/json
  34933. responses:
  34934. "200":
  34935. description: OK
  34936. schema:
  34937. items:
  34938. $ref: '#/definitions/models.QhjMgrSubArea'
  34939. type: array
  34940. "500":
  34941. description: Internal Server Error
  34942. schema:
  34943. $ref: '#/definitions/app.Response'
  34944. security:
  34945. - ApiKeyAuth: []
  34946. summary: 查询子机构列表
  34947. tags:
  34948. - 大连千海金(PCWeb)
  34949. /QhjMgr/QueryTradeDetail:
  34950. get:
  34951. parameters:
  34952. - description: 用户ID
  34953. in: query
  34954. name: userid
  34955. required: true
  34956. type: integer
  34957. - description: 用户类型 1-个人 2-企业
  34958. in: query
  34959. name: userinfotype
  34960. type: integer
  34961. - description: 交易模式
  34962. in: query
  34963. name: trademode
  34964. type: integer
  34965. - description: 商品id
  34966. in: query
  34967. name: goodsid
  34968. type: integer
  34969. - description: 名称(模糊搜索账户)
  34970. in: query
  34971. name: filtername
  34972. type: string
  34973. - description: 开始交易日(yyyymmdd)
  34974. in: query
  34975. name: begindate
  34976. type: string
  34977. - description: 结束交易日(yyyymmdd)
  34978. in: query
  34979. name: enddate
  34980. type: string
  34981. - description: 是否包含子级 1-包含
  34982. in: query
  34983. name: includesub
  34984. type: integer
  34985. produces:
  34986. - application/json
  34987. responses:
  34988. "200":
  34989. description: OK
  34990. schema:
  34991. items:
  34992. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  34993. type: array
  34994. "500":
  34995. description: Internal Server Error
  34996. schema:
  34997. $ref: '#/definitions/app.Response'
  34998. security:
  34999. - ApiKeyAuth: []
  35000. summary: 查询成交明细
  35001. tags:
  35002. - 大连千海金(PCWeb)
  35003. /QhjMgr/QueryTradeOrderDetail:
  35004. get:
  35005. parameters:
  35006. - description: 用户ID
  35007. in: query
  35008. name: userid
  35009. required: true
  35010. type: integer
  35011. - description: 用户类型 1-个人 2-企业
  35012. in: query
  35013. name: userinfotype
  35014. type: integer
  35015. - description: 交易模式
  35016. in: query
  35017. name: trademode
  35018. type: integer
  35019. - description: 商品id
  35020. in: query
  35021. name: goodsid
  35022. type: integer
  35023. - description: 名称(模糊搜索账户)
  35024. in: query
  35025. name: filtername
  35026. type: string
  35027. - description: 开始交易日(yyyymmdd)
  35028. in: query
  35029. name: begindate
  35030. type: string
  35031. - description: 结束交易日(yyyymmdd)
  35032. in: query
  35033. name: enddate
  35034. type: string
  35035. - description: 是否包含子级 1-包含
  35036. in: query
  35037. name: includesub
  35038. type: integer
  35039. produces:
  35040. - application/json
  35041. responses:
  35042. "200":
  35043. description: OK
  35044. schema:
  35045. items:
  35046. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  35047. type: array
  35048. "500":
  35049. description: Internal Server Error
  35050. schema:
  35051. $ref: '#/definitions/app.Response'
  35052. security:
  35053. - ApiKeyAuth: []
  35054. summary: 查询委托明细
  35055. tags:
  35056. - 大连千海金(PCWeb)
  35057. /QhjMgr/QueryTradePayOrder:
  35058. get:
  35059. parameters:
  35060. - description: 用户ID
  35061. in: query
  35062. name: userid
  35063. required: true
  35064. type: integer
  35065. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  35066. in: query
  35067. name: payflag
  35068. type: string
  35069. - description: 用户类型 1-个人 2-企业
  35070. in: query
  35071. name: userinfotype
  35072. type: integer
  35073. - description: 交易模式
  35074. in: query
  35075. name: trademode
  35076. type: integer
  35077. - description: 商品id
  35078. in: query
  35079. name: goodsid
  35080. type: integer
  35081. - description: 名称(模糊搜索账户)
  35082. in: query
  35083. name: filtername
  35084. type: string
  35085. - description: 开始交易日(yyyymmdd)
  35086. in: query
  35087. name: begindate
  35088. type: string
  35089. - description: 结束交易日(yyyymmdd)
  35090. in: query
  35091. name: enddate
  35092. type: string
  35093. - description: 是否包含子级 1-包含
  35094. in: query
  35095. name: includesub
  35096. type: integer
  35097. produces:
  35098. - application/json
  35099. responses:
  35100. "200":
  35101. description: OK
  35102. schema:
  35103. items:
  35104. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  35105. type: array
  35106. "500":
  35107. description: Internal Server Error
  35108. schema:
  35109. $ref: '#/definitions/app.Response'
  35110. security:
  35111. - ApiKeyAuth: []
  35112. summary: 查询待付款单
  35113. tags:
  35114. - 大连千海金(PCWeb)
  35115. /QhjMgr/QueryTradePosition:
  35116. get:
  35117. parameters:
  35118. - description: 用户ID
  35119. in: query
  35120. name: userid
  35121. required: true
  35122. type: integer
  35123. - description: 用户类型 1-个人 2-企业
  35124. in: query
  35125. name: userinfotype
  35126. type: integer
  35127. - description: 交易模式
  35128. in: query
  35129. name: trademode
  35130. type: integer
  35131. - description: 商品id
  35132. in: query
  35133. name: goodsid
  35134. type: integer
  35135. - description: 名称(模糊搜索账户)
  35136. in: query
  35137. name: filtername
  35138. type: string
  35139. - description: 是否包含子级 1-包含
  35140. in: query
  35141. name: includesub
  35142. type: integer
  35143. produces:
  35144. - application/json
  35145. responses:
  35146. "200":
  35147. description: OK
  35148. schema:
  35149. items:
  35150. $ref: '#/definitions/models.QhjMgrPositionRsp'
  35151. type: array
  35152. "500":
  35153. description: Internal Server Error
  35154. schema:
  35155. $ref: '#/definitions/app.Response'
  35156. security:
  35157. - ApiKeyAuth: []
  35158. summary: 查询持仓汇总
  35159. tags:
  35160. - 大连千海金(PCWeb)
  35161. /QhjSys/QueryAgreementChangeLog:
  35162. get:
  35163. parameters:
  35164. - description: 协议ID
  35165. in: query
  35166. name: agreementid
  35167. type: integer
  35168. - description: 协议版本号
  35169. in: query
  35170. name: agreementversion
  35171. type: integer
  35172. - description: 协议类型 - 1:注册 2:登录 3:交易
  35173. in: query
  35174. name: agreementtype
  35175. type: integer
  35176. - description: 协议编号(模糊匹配)
  35177. in: query
  35178. name: agreementno
  35179. type: string
  35180. - description: 协议名称(模糊匹配)
  35181. in: query
  35182. name: agreementname
  35183. type: string
  35184. produces:
  35185. - application/json
  35186. responses:
  35187. "200":
  35188. description: OK
  35189. schema:
  35190. items:
  35191. $ref: '#/definitions/models.QhjAgreementChangeLog'
  35192. type: array
  35193. "500":
  35194. description: Internal Server Error
  35195. schema:
  35196. $ref: '#/definitions/app.Response'
  35197. security:
  35198. - ApiKeyAuth: []
  35199. summary: 查询协议配置变更流水
  35200. tags:
  35201. - 大连千海金(协议和签约信息)
  35202. /QhjSys/QueryAgreementConfig:
  35203. get:
  35204. parameters:
  35205. - description: 协议ID
  35206. in: query
  35207. name: agreementid
  35208. type: integer
  35209. - description: 协议版本号
  35210. in: query
  35211. name: agreementversion
  35212. type: integer
  35213. - description: 协议类型 - 1:注册 2:登录 3:交易
  35214. in: query
  35215. name: agreementtype
  35216. type: integer
  35217. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  35218. in: query
  35219. name: isvalid
  35220. type: integer
  35221. - description: 协议编号(模糊匹配)
  35222. in: query
  35223. name: agreementno
  35224. type: string
  35225. - description: 协议名称(模糊匹配)
  35226. in: query
  35227. name: agreementname
  35228. type: string
  35229. produces:
  35230. - application/json
  35231. responses:
  35232. "200":
  35233. description: OK
  35234. schema:
  35235. items:
  35236. $ref: '#/definitions/models.QhjAgreementConfig'
  35237. type: array
  35238. "500":
  35239. description: Internal Server Error
  35240. schema:
  35241. $ref: '#/definitions/app.Response'
  35242. security:
  35243. - ApiKeyAuth: []
  35244. summary: 查询协议配置
  35245. tags:
  35246. - 大连千海金(协议和签约信息)
  35247. /QhjSys/QueryCustomerSignStatus:
  35248. get:
  35249. parameters:
  35250. - description: 客户ID
  35251. in: query
  35252. name: userid
  35253. type: integer
  35254. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  35255. in: query
  35256. name: nodetype
  35257. type: integer
  35258. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35259. in: query
  35260. name: goodsid
  35261. type: integer
  35262. - description: 创建交易日(yyyyMMdd)
  35263. in: query
  35264. name: tradedate
  35265. type: string
  35266. - description: 用户名称(模糊匹配)
  35267. in: query
  35268. name: username
  35269. type: string
  35270. produces:
  35271. - application/json
  35272. responses:
  35273. "200":
  35274. description: OK
  35275. schema:
  35276. items:
  35277. $ref: '#/definitions/models.QhjCustomerSignStatus'
  35278. type: array
  35279. "500":
  35280. description: Internal Server Error
  35281. schema:
  35282. $ref: '#/definitions/app.Response'
  35283. security:
  35284. - ApiKeyAuth: []
  35285. summary: 查询客户协议签约状态
  35286. tags:
  35287. - 大连千海金(协议和签约信息)
  35288. /QhjSys/QueryNodeAgreementConfig:
  35289. get:
  35290. parameters:
  35291. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35292. in: query
  35293. name: configid
  35294. type: integer
  35295. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35296. in: query
  35297. name: nodetype
  35298. type: integer
  35299. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35300. in: query
  35301. name: goodsid
  35302. type: integer
  35303. - description: 协议ID
  35304. in: query
  35305. name: agreementid
  35306. type: integer
  35307. - description: 协议类型 - 1:注册 2:登录 3:交易
  35308. in: query
  35309. name: agreementtype
  35310. type: integer
  35311. - description: 协议版本号
  35312. in: query
  35313. name: agreementversion
  35314. type: integer
  35315. - description: 协议编号(模糊匹配)
  35316. in: query
  35317. name: agreementno
  35318. type: string
  35319. - description: 协议名称(模糊匹配)
  35320. in: query
  35321. name: agreementname
  35322. type: string
  35323. produces:
  35324. - application/json
  35325. responses:
  35326. "200":
  35327. description: OK
  35328. schema:
  35329. items:
  35330. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  35331. type: array
  35332. "500":
  35333. description: Internal Server Error
  35334. schema:
  35335. $ref: '#/definitions/app.Response'
  35336. security:
  35337. - ApiKeyAuth: []
  35338. summary: 查询协议节点配置
  35339. tags:
  35340. - 大连千海金(协议和签约信息)
  35341. /QhjSys/QueryQhjCustomerSignLog:
  35342. get:
  35343. parameters:
  35344. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  35345. in: query
  35346. name: logid
  35347. type: integer
  35348. - description: 客户ID
  35349. in: query
  35350. name: userid
  35351. type: integer
  35352. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35353. in: query
  35354. name: nodetype
  35355. type: integer
  35356. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35357. in: query
  35358. name: goodsid
  35359. type: integer
  35360. - description: 协议ID
  35361. in: query
  35362. name: agreementid
  35363. type: integer
  35364. - description: 用户名称(模糊匹配)
  35365. in: query
  35366. name: username
  35367. type: string
  35368. - description: 协议编号(模糊匹配)
  35369. in: query
  35370. name: agreementno
  35371. type: string
  35372. - description: 协议名称(模糊匹配)
  35373. in: query
  35374. name: agreementname
  35375. type: string
  35376. produces:
  35377. - application/json
  35378. responses:
  35379. "200":
  35380. description: OK
  35381. schema:
  35382. items:
  35383. $ref: '#/definitions/models.QhjCustomerSignLog'
  35384. type: array
  35385. "500":
  35386. description: Internal Server Error
  35387. schema:
  35388. $ref: '#/definitions/app.Response'
  35389. security:
  35390. - ApiKeyAuth: []
  35391. summary: 查询客户协议签约流水
  35392. tags:
  35393. - 大连千海金(协议和签约信息)
  35394. /QhjSys/QueryUserNodeCfgAndStatus:
  35395. get:
  35396. parameters:
  35397. - description: 客户ID
  35398. in: query
  35399. name: userid
  35400. type: integer
  35401. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35402. in: query
  35403. name: configid
  35404. type: integer
  35405. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35406. in: query
  35407. name: nodetype
  35408. type: string
  35409. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35410. in: query
  35411. name: goodsid
  35412. type: integer
  35413. - description: 协议ID
  35414. in: query
  35415. name: agreementid
  35416. type: integer
  35417. - description: 协议类型 - 1:注册 2:登录 3:交易
  35418. in: query
  35419. name: agreementtype
  35420. type: integer
  35421. - description: 协议版本号
  35422. in: query
  35423. name: agreementversion
  35424. type: integer
  35425. - description: 协议编号(模糊匹配)
  35426. in: query
  35427. name: agreementno
  35428. type: string
  35429. - description: 协议名称(模糊匹配)
  35430. in: query
  35431. name: agreementname
  35432. type: string
  35433. produces:
  35434. - application/json
  35435. responses:
  35436. "200":
  35437. description: OK
  35438. schema:
  35439. items:
  35440. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  35441. type: array
  35442. "500":
  35443. description: Internal Server Error
  35444. schema:
  35445. $ref: '#/definitions/app.Response'
  35446. security:
  35447. - ApiKeyAuth: []
  35448. summary: 查询用户协议节点配置和状态
  35449. tags:
  35450. - 大连千海金(协议和签约信息)
  35451. /Quote/QueryHistoryDatas:
  35452. get:
  35453. parameters:
  35454. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  35455. 日线 12:周线 13:月线 14:年线'
  35456. in: query
  35457. name: cycleType
  35458. required: true
  35459. type: integer
  35460. - description: 商品代码
  35461. in: query
  35462. name: goodsCode
  35463. required: true
  35464. type: string
  35465. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35466. in: query
  35467. name: startTime
  35468. type: string
  35469. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35470. in: query
  35471. name: endTime
  35472. type: string
  35473. - description: 条数
  35474. in: query
  35475. name: count
  35476. type: integer
  35477. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35478. in: query
  35479. name: isAsc
  35480. type: boolean
  35481. produces:
  35482. - application/json
  35483. responses:
  35484. "200":
  35485. description: OK
  35486. schema:
  35487. $ref: '#/definitions/quote.HistoryData'
  35488. "500":
  35489. description: Internal Server Error
  35490. schema:
  35491. $ref: '#/definitions/app.Response'
  35492. security:
  35493. - ApiKeyAuth: []
  35494. summary: 查询行情历史数据
  35495. tags:
  35496. - 行情服务
  35497. /Quote/QueryHistoryTikDatas:
  35498. get:
  35499. parameters:
  35500. - description: 商品代码
  35501. in: query
  35502. name: goodsCode
  35503. required: true
  35504. type: string
  35505. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35506. in: query
  35507. name: startTime
  35508. type: string
  35509. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35510. in: query
  35511. name: endTime
  35512. type: string
  35513. - description: 条数
  35514. in: query
  35515. name: count
  35516. type: integer
  35517. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35518. in: query
  35519. name: isAsc
  35520. type: boolean
  35521. produces:
  35522. - application/json
  35523. responses:
  35524. "200":
  35525. description: OK
  35526. schema:
  35527. $ref: '#/definitions/quote.HistoryTikData'
  35528. "500":
  35529. description: Internal Server Error
  35530. schema:
  35531. $ref: '#/definitions/app.Response'
  35532. security:
  35533. - ApiKeyAuth: []
  35534. summary: 查询行情Tik数据
  35535. tags:
  35536. - 行情服务
  35537. /Quote/QueryQuoteDay:
  35538. get:
  35539. parameters:
  35540. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  35541. in: query
  35542. name: goodsCodes
  35543. type: string
  35544. produces:
  35545. - application/json
  35546. responses:
  35547. "200":
  35548. description: OK
  35549. schema:
  35550. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  35551. "500":
  35552. description: Internal Server Error
  35553. schema:
  35554. $ref: '#/definitions/app.Response'
  35555. security:
  35556. - ApiKeyAuth: []
  35557. summary: 获取商品盘面信息
  35558. tags:
  35559. - 行情服务
  35560. /Quote/QueryTSData:
  35561. get:
  35562. parameters:
  35563. - description: 商品代码
  35564. in: query
  35565. name: goodsCode
  35566. required: true
  35567. type: string
  35568. produces:
  35569. - application/json
  35570. responses:
  35571. "200":
  35572. description: OK
  35573. schema:
  35574. $ref: '#/definitions/quote.QueryTSDataRsp'
  35575. "500":
  35576. description: Internal Server Error
  35577. schema:
  35578. $ref: '#/definitions/app.Response'
  35579. security:
  35580. - ApiKeyAuth: []
  35581. summary: 分时图数据查询
  35582. tags:
  35583. - 行情服务
  35584. /SZDZ/QueryConvertConfig:
  35585. get:
  35586. parameters:
  35587. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  35588. 6:交易转花生米(不设置)
  35589. in: query
  35590. name: convertType
  35591. type: integer
  35592. - description: 外部商品代码[JD\PD]
  35593. in: query
  35594. name: outerGoodsCode
  35595. type: string
  35596. - description: 内部商品ID列表[交易],格式:1,2,3
  35597. in: query
  35598. name: innerGoodsIDs
  35599. type: string
  35600. produces:
  35601. - application/json
  35602. responses:
  35603. "200":
  35604. description: OK
  35605. schema:
  35606. $ref: '#/definitions/models.Szdz3convertconfig'
  35607. "500":
  35608. description: Internal Server Error
  35609. schema:
  35610. $ref: '#/definitions/app.Response'
  35611. security:
  35612. - ApiKeyAuth: []
  35613. summary: 查询交易系统转换设置
  35614. tags:
  35615. - 定制【尚志大宗】
  35616. /SZDZ/QueryConvertLog:
  35617. get:
  35618. parameters:
  35619. - description: 资金账户 - 格式:1,2,3
  35620. in: query
  35621. name: accountID
  35622. required: true
  35623. type: string
  35624. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35625. in: query
  35626. name: startDate
  35627. type: string
  35628. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35629. in: query
  35630. name: endDate
  35631. type: string
  35632. produces:
  35633. - application/json
  35634. responses:
  35635. "200":
  35636. description: OK
  35637. schema:
  35638. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  35639. "500":
  35640. description: Internal Server Error
  35641. schema:
  35642. $ref: '#/definitions/app.Response'
  35643. security:
  35644. - ApiKeyAuth: []
  35645. summary: 交易系统转换流水查询
  35646. tags:
  35647. - 定制【尚志大宗】
  35648. /SZDZ/QueryGoodsPickup:
  35649. get:
  35650. parameters:
  35651. - description: 资金账户 - 格式:1,2,3
  35652. in: query
  35653. name: accountID
  35654. required: true
  35655. type: string
  35656. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  35657. in: query
  35658. name: takeOrderStatus
  35659. type: integer
  35660. produces:
  35661. - application/json
  35662. responses:
  35663. "200":
  35664. description: OK
  35665. schema:
  35666. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  35667. "500":
  35668. description: Internal Server Error
  35669. schema:
  35670. $ref: '#/definitions/app.Response'
  35671. security:
  35672. - ApiKeyAuth: []
  35673. summary: 商品提货单查询
  35674. tags:
  35675. - 定制【尚志大宗】
  35676. /SZDZ/QueryRecieptOrder:
  35677. get:
  35678. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35679. parameters:
  35680. - description: 页码
  35681. in: query
  35682. name: page
  35683. type: integer
  35684. - description: 每页条数
  35685. in: query
  35686. name: pagesize
  35687. type: integer
  35688. - description: 商品ID
  35689. in: query
  35690. name: goodsID
  35691. required: true
  35692. type: integer
  35693. - description: 所属账户名称
  35694. in: query
  35695. name: accountName
  35696. type: string
  35697. - description: 市场ID
  35698. in: query
  35699. name: marketID
  35700. type: integer
  35701. - description: 方向 - 0:买 1:卖
  35702. in: query
  35703. name: buyorsell
  35704. required: true
  35705. type: integer
  35706. produces:
  35707. - application/json
  35708. responses:
  35709. "200":
  35710. description: OK
  35711. schema:
  35712. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  35713. "500":
  35714. description: Internal Server Error
  35715. schema:
  35716. $ref: '#/definitions/app.Response'
  35717. security:
  35718. - ApiKeyAuth: []
  35719. summary: 点选挂牌委托单据查询(摘牌大厅)
  35720. tags:
  35721. - 定制【尚志大宗】
  35722. /SZDZ/QuerySZDZTradePosition:
  35723. get:
  35724. parameters:
  35725. - description: 资金账户
  35726. in: query
  35727. name: accountID
  35728. required: true
  35729. type: integer
  35730. produces:
  35731. - application/json
  35732. responses:
  35733. "200":
  35734. description: OK
  35735. schema:
  35736. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  35737. "500":
  35738. description: Internal Server Error
  35739. schema:
  35740. $ref: '#/definitions/app.Response'
  35741. security:
  35742. - ApiKeyAuth: []
  35743. summary: 持仓汇总查询(尚志大宗)
  35744. tags:
  35745. - 定制【尚志大宗】
  35746. /SZDZ/SearchWhite:
  35747. get:
  35748. parameters:
  35749. - description: 用户ID
  35750. in: query
  35751. name: userID
  35752. required: true
  35753. type: integer
  35754. produces:
  35755. - application/json
  35756. responses:
  35757. "200":
  35758. description: OK
  35759. schema:
  35760. $ref: '#/definitions/models.Szdz3searchwhitelist'
  35761. "500":
  35762. description: Internal Server Error
  35763. schema:
  35764. $ref: '#/definitions/app.Response'
  35765. security:
  35766. - ApiKeyAuth: []
  35767. summary: 搜索白名单
  35768. tags:
  35769. - 定制【尚志大宗】
  35770. /Search/SearchGoodses:
  35771. get:
  35772. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  35773. parameters:
  35774. - description: 检索内容
  35775. in: query
  35776. name: content
  35777. required: true
  35778. type: string
  35779. - description: 交易模式,格式:1,2,3
  35780. in: query
  35781. name: tradeModes
  35782. type: string
  35783. produces:
  35784. - application/json
  35785. responses:
  35786. "200":
  35787. description: OK
  35788. schema:
  35789. $ref: '#/definitions/models.SearchGoods'
  35790. "500":
  35791. description: Internal Server Error
  35792. schema:
  35793. $ref: '#/definitions/app.Response'
  35794. summary: 检索商品信息
  35795. tags:
  35796. - 检索服务
  35797. /TaAccount/GetTaAccounts:
  35798. get:
  35799. parameters:
  35800. - description: 登录账户
  35801. in: query
  35802. name: loginID
  35803. required: true
  35804. type: integer
  35805. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  35806. in: query
  35807. name: taAccountType
  35808. type: integer
  35809. produces:
  35810. - application/json
  35811. responses:
  35812. "200":
  35813. description: OK
  35814. schema:
  35815. $ref: '#/definitions/models.Taaccount'
  35816. "500":
  35817. description: Internal Server Error
  35818. schema:
  35819. $ref: '#/definitions/app.Response'
  35820. security:
  35821. - ApiKeyAuth: []
  35822. summary: 获取资金账户信息
  35823. tags:
  35824. - 资金账户
  35825. /TaAccount/QueryAmountLog:
  35826. get:
  35827. parameters:
  35828. - description: 页码
  35829. in: query
  35830. name: page
  35831. type: integer
  35832. - description: 每页条数
  35833. in: query
  35834. name: pagesize
  35835. type: integer
  35836. - description: 分页标志 0-page从0开始 1-page从1开始
  35837. in: query
  35838. name: pageflag
  35839. type: integer
  35840. - description: 资金账户 - 格式:1,2,3
  35841. in: query
  35842. name: accountID
  35843. required: true
  35844. type: string
  35845. - description: 资金操作类型 - 格式:1,2,3
  35846. in: query
  35847. name: OperateType
  35848. type: string
  35849. produces:
  35850. - application/json
  35851. responses:
  35852. "200":
  35853. description: OK
  35854. schema:
  35855. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  35856. "500":
  35857. description: Internal Server Error
  35858. schema:
  35859. $ref: '#/definitions/app.Response'
  35860. security:
  35861. - ApiKeyAuth: []
  35862. summary: 资金流水查询(当前)
  35863. tags:
  35864. - 资金账户
  35865. /TaAccount/QueryHisAmountLog:
  35866. get:
  35867. parameters:
  35868. - description: 页码
  35869. in: query
  35870. name: page
  35871. type: integer
  35872. - description: 每页条数
  35873. in: query
  35874. name: pagesize
  35875. type: integer
  35876. - description: 分页标志 0-page从0开始 1-page从1开始
  35877. in: query
  35878. name: pageflag
  35879. type: integer
  35880. - description: 资金账户 - 格式:1,2,3
  35881. in: query
  35882. name: accountID
  35883. required: true
  35884. type: string
  35885. - description: 资金操作类型 - 格式:1,2,3
  35886. in: query
  35887. name: OperateType
  35888. type: string
  35889. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  35890. in: query
  35891. name: startDate
  35892. type: string
  35893. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  35894. in: query
  35895. name: endDate
  35896. type: string
  35897. produces:
  35898. - application/json
  35899. responses:
  35900. "200":
  35901. description: OK
  35902. schema:
  35903. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  35904. "500":
  35905. description: Internal Server Error
  35906. schema:
  35907. $ref: '#/definitions/app.Response'
  35908. security:
  35909. - ApiKeyAuth: []
  35910. summary: 资金流水查询(历史)
  35911. tags:
  35912. - 资金账户
  35913. /TaAccount/QueryRelatedTaAccount:
  35914. get:
  35915. parameters:
  35916. - description: 关联UserID
  35917. in: query
  35918. name: relateduserid
  35919. required: true
  35920. type: integer
  35921. produces:
  35922. - application/json
  35923. responses:
  35924. "200":
  35925. description: OK
  35926. schema:
  35927. items:
  35928. $ref: '#/definitions/models.RelatedTaAccount'
  35929. type: array
  35930. "500":
  35931. description: Internal Server Error
  35932. schema:
  35933. $ref: '#/definitions/app.Response'
  35934. security:
  35935. - ApiKeyAuth: []
  35936. summary: 查询关联资金账户信息
  35937. tags:
  35938. - 资金账户
  35939. /Tjmd/QueryQuoteGoodsList:
  35940. get:
  35941. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  35942. parameters:
  35943. - description: 用户类型
  35944. in: query
  35945. name: usertype
  35946. required: true
  35947. type: integer
  35948. - description: 市场id, 格式 1,2,3
  35949. in: query
  35950. name: marketids
  35951. type: string
  35952. - description: 商品组id
  35953. in: query
  35954. name: goodsgroupid
  35955. type: integer
  35956. - description: 商品id
  35957. in: query
  35958. name: goodsid
  35959. type: integer
  35960. produces:
  35961. - application/json
  35962. responses:
  35963. "200":
  35964. description: OK
  35965. schema:
  35966. items:
  35967. $ref: '#/definitions/models.TjmdQuoteGoods'
  35968. type: array
  35969. "500":
  35970. description: Internal Server Error
  35971. schema:
  35972. $ref: '#/definitions/app.Response'
  35973. security:
  35974. - ApiKeyAuth: []
  35975. summary: 查询掉期报价列表
  35976. tags:
  35977. - 天津麦顿
  35978. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  35979. get:
  35980. parameters:
  35981. - description: 成交单号
  35982. in: query
  35983. name: tradeid
  35984. required: true
  35985. type: string
  35986. produces:
  35987. - application/json
  35988. responses:
  35989. "200":
  35990. description: OK
  35991. schema:
  35992. items:
  35993. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  35994. type: array
  35995. "500":
  35996. description: Internal Server Error
  35997. schema:
  35998. $ref: '#/definitions/app.Response'
  35999. security:
  36000. - ApiKeyAuth: []
  36001. summary: 掉期商品订单详情(交易确认书)
  36002. tags:
  36003. - 天津麦顿
  36004. /Tjmd/QueryTjmdMarketSection:
  36005. get:
  36006. produces:
  36007. - application/json
  36008. responses:
  36009. "200":
  36010. description: OK
  36011. schema:
  36012. items:
  36013. $ref: '#/definitions/models.TjmdMarketSection'
  36014. type: array
  36015. "500":
  36016. description: Internal Server Error
  36017. schema:
  36018. $ref: '#/definitions/app.Response'
  36019. security:
  36020. - ApiKeyAuth: []
  36021. summary: 查询市场板块
  36022. tags:
  36023. - 天津麦顿
  36024. /Tjmd/QueryTjmdTodayAccountMargin:
  36025. get:
  36026. parameters:
  36027. - description: 市场id
  36028. in: query
  36029. name: marketid
  36030. type: string
  36031. - description: 商品id
  36032. in: query
  36033. name: goodsid
  36034. type: string
  36035. - description: 资金账号
  36036. in: query
  36037. name: accountid
  36038. type: string
  36039. produces:
  36040. - application/json
  36041. responses:
  36042. "200":
  36043. description: OK
  36044. schema:
  36045. items:
  36046. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  36047. type: array
  36048. "500":
  36049. description: Internal Server Error
  36050. schema:
  36051. $ref: '#/definitions/app.Response'
  36052. security:
  36053. - ApiKeyAuth: []
  36054. summary: 查询今日账户保证金配置
  36055. tags:
  36056. - 天津麦顿
  36057. /Tjmd/QueryTjmdTradeOrderDetail:
  36058. get:
  36059. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  36060. parameters:
  36061. - description: 页码
  36062. in: query
  36063. name: page
  36064. type: integer
  36065. - description: 每页条数
  36066. in: query
  36067. name: pagesize
  36068. type: integer
  36069. - description: 用户id
  36070. in: query
  36071. name: userid
  36072. required: true
  36073. type: integer
  36074. - description: 用户类型
  36075. in: query
  36076. name: usertype
  36077. required: true
  36078. type: integer
  36079. - description: 市场id, 格式 1,2,3
  36080. in: query
  36081. name: marketids
  36082. type: string
  36083. - description: 商品id
  36084. in: query
  36085. name: goodsid
  36086. required: true
  36087. type: integer
  36088. - description: 买卖方向 0-买 1-卖
  36089. in: query
  36090. name: buyorsell
  36091. required: true
  36092. type: integer
  36093. produces:
  36094. - application/json
  36095. responses:
  36096. "200":
  36097. description: OK
  36098. schema:
  36099. items:
  36100. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  36101. type: array
  36102. "500":
  36103. description: Internal Server Error
  36104. schema:
  36105. $ref: '#/definitions/app.Response'
  36106. security:
  36107. - ApiKeyAuth: []
  36108. summary: 查询掉期买卖大厅
  36109. tags:
  36110. - 天津麦顿
  36111. /Tjmd/QueryTjmdTransferApply:
  36112. get:
  36113. parameters:
  36114. - description: 类型 1-我的申请 2-对方申请
  36115. in: query
  36116. name: applytype
  36117. required: true
  36118. type: integer
  36119. - description: 市场id, 格式 1,2,3
  36120. in: query
  36121. name: marketids
  36122. type: string
  36123. - description: 资金账号, 格式 25000000001,25000000003
  36124. in: query
  36125. name: accountids
  36126. type: string
  36127. - description: 开始交易日(yyyymmdd)
  36128. in: query
  36129. name: begindate
  36130. type: string
  36131. - description: 结束交易日(yyyymmdd)
  36132. in: query
  36133. name: enddate
  36134. type: string
  36135. produces:
  36136. - application/json
  36137. responses:
  36138. "200":
  36139. description: OK
  36140. schema:
  36141. items:
  36142. $ref: '#/definitions/models.TjmdTransferApply'
  36143. type: array
  36144. "500":
  36145. description: Internal Server Error
  36146. schema:
  36147. $ref: '#/definitions/app.Response'
  36148. security:
  36149. - ApiKeyAuth: []
  36150. summary: 查询掉期协议单
  36151. tags:
  36152. - 天津麦顿
  36153. /Trade/QueryRecieptOrder:
  36154. get:
  36155. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  36156. parameters:
  36157. - description: 页码
  36158. in: query
  36159. name: page
  36160. type: integer
  36161. - description: 每页条数
  36162. in: query
  36163. name: pagesize
  36164. type: integer
  36165. - description: 商品ID
  36166. in: query
  36167. name: goodsID
  36168. required: true
  36169. type: integer
  36170. - description: 所属账户名称
  36171. in: query
  36172. name: accountName
  36173. type: string
  36174. - description: 市场ID
  36175. in: query
  36176. name: marketID
  36177. type: integer
  36178. - description: 方向 - 0:买 1:卖
  36179. in: query
  36180. name: buyorsell
  36181. required: true
  36182. type: integer
  36183. produces:
  36184. - application/json
  36185. responses:
  36186. "200":
  36187. description: OK
  36188. schema:
  36189. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  36190. "500":
  36191. description: Internal Server Error
  36192. schema:
  36193. $ref: '#/definitions/app.Response'
  36194. security:
  36195. - ApiKeyAuth: []
  36196. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  36197. tags:
  36198. - 通用交易
  36199. /User/AddMessageBoard:
  36200. post:
  36201. parameters:
  36202. - description: 用户ID
  36203. in: query
  36204. name: userID
  36205. required: true
  36206. type: integer
  36207. - description: 留言信息
  36208. in: query
  36209. name: message
  36210. required: true
  36211. type: string
  36212. - description: 联系电话
  36213. in: query
  36214. name: contactNum
  36215. required: true
  36216. type: string
  36217. produces:
  36218. - application/json
  36219. responses:
  36220. "200":
  36221. description: OK
  36222. schema:
  36223. $ref: '#/definitions/app.Response'
  36224. "500":
  36225. description: Internal Server Error
  36226. schema:
  36227. $ref: '#/definitions/app.Response'
  36228. security:
  36229. - ApiKeyAuth: []
  36230. summary: 添加用户留言板信息
  36231. tags:
  36232. - 用户信息
  36233. /User/AddUserFavoriteGoods:
  36234. post:
  36235. parameters:
  36236. - description: 用户ID
  36237. in: query
  36238. name: userID
  36239. required: true
  36240. type: integer
  36241. - description: 商品ID
  36242. in: query
  36243. name: goodsID
  36244. required: true
  36245. type: integer
  36246. produces:
  36247. - application/json
  36248. responses:
  36249. "200":
  36250. description: OK
  36251. schema:
  36252. $ref: '#/definitions/app.Response'
  36253. "500":
  36254. description: Internal Server Error
  36255. schema:
  36256. $ref: '#/definitions/app.Response'
  36257. security:
  36258. - ApiKeyAuth: []
  36259. summary: 添加用户商品收藏信息
  36260. tags:
  36261. - 用户信息
  36262. /User/GetLoginID:
  36263. get:
  36264. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  36265. parameters:
  36266. - description: 登录代码
  36267. in: query
  36268. name: username
  36269. required: true
  36270. type: string
  36271. produces:
  36272. - application/json
  36273. responses:
  36274. "200":
  36275. description: OK
  36276. schema:
  36277. $ref: '#/definitions/app.Response'
  36278. "500":
  36279. description: Internal Server Error
  36280. schema:
  36281. $ref: '#/definitions/app.Response'
  36282. summary: 获取登录ID
  36283. tags:
  36284. - 用户信息
  36285. /User/GetUserAccount:
  36286. get:
  36287. parameters:
  36288. - description: 用户ID
  36289. in: query
  36290. name: userID
  36291. required: true
  36292. type: integer
  36293. produces:
  36294. - application/json
  36295. responses:
  36296. "200":
  36297. description: OK
  36298. schema:
  36299. $ref: '#/definitions/models.Useraccount'
  36300. "500":
  36301. description: Internal Server Error
  36302. schema:
  36303. $ref: '#/definitions/app.Response'
  36304. security:
  36305. - ApiKeyAuth: []
  36306. summary: 获取用户账号信息
  36307. tags:
  36308. - 用户信息
  36309. /User/GetUserAuthStatus:
  36310. get:
  36311. parameters:
  36312. - description: 用户ID
  36313. in: query
  36314. name: userID
  36315. required: true
  36316. type: integer
  36317. produces:
  36318. - application/json
  36319. responses:
  36320. "200":
  36321. description: OK
  36322. schema:
  36323. $ref: '#/definitions/app.Response'
  36324. "500":
  36325. description: Internal Server Error
  36326. schema:
  36327. $ref: '#/definitions/app.Response'
  36328. security:
  36329. - ApiKeyAuth: []
  36330. summary: 获取用户实名认证状态
  36331. tags:
  36332. - 用户信息
  36333. /User/LoginQuery:
  36334. get:
  36335. parameters:
  36336. - description: 登录账号
  36337. in: query
  36338. name: loginID
  36339. required: true
  36340. type: integer
  36341. produces:
  36342. - application/json
  36343. responses:
  36344. "200":
  36345. description: OK
  36346. schema:
  36347. $ref: '#/definitions/user.LoginQueryRsp'
  36348. "500":
  36349. description: Internal Server Error
  36350. schema:
  36351. $ref: '#/definitions/app.Response'
  36352. security:
  36353. - ApiKeyAuth: []
  36354. summary: 账户登录后信息查询
  36355. tags:
  36356. - 用户信息
  36357. /User/QueryMessageBoard:
  36358. get:
  36359. parameters:
  36360. - description: 用户ID
  36361. in: query
  36362. name: userID
  36363. required: true
  36364. type: integer
  36365. produces:
  36366. - application/json
  36367. responses:
  36368. "200":
  36369. description: OK
  36370. schema:
  36371. $ref: '#/definitions/models.Messageboard'
  36372. "500":
  36373. description: Internal Server Error
  36374. schema:
  36375. $ref: '#/definitions/app.Response'
  36376. security:
  36377. - ApiKeyAuth: []
  36378. summary: 获取用户留言板信息
  36379. tags:
  36380. - 用户信息
  36381. /User/QueryUserFavoriteGoodses:
  36382. get:
  36383. parameters:
  36384. - description: 用户ID
  36385. in: query
  36386. name: userID
  36387. required: true
  36388. type: integer
  36389. produces:
  36390. - application/json
  36391. responses:
  36392. "200":
  36393. description: OK
  36394. schema:
  36395. $ref: '#/definitions/models.Userfavoritegoods'
  36396. "500":
  36397. description: Internal Server Error
  36398. schema:
  36399. $ref: '#/definitions/app.Response'
  36400. security:
  36401. - ApiKeyAuth: []
  36402. summary: 获取用户商品收藏信息
  36403. tags:
  36404. - 用户信息
  36405. /User/QueryUserInfo:
  36406. get:
  36407. parameters:
  36408. - description: 用户ID
  36409. in: query
  36410. name: userID
  36411. required: true
  36412. type: integer
  36413. - description: 是否解密
  36414. in: query
  36415. name: isDecrypt
  36416. type: boolean
  36417. produces:
  36418. - application/json
  36419. responses:
  36420. "200":
  36421. description: OK
  36422. schema:
  36423. $ref: '#/definitions/models.Userinfo'
  36424. "500":
  36425. description: Internal Server Error
  36426. schema:
  36427. $ref: '#/definitions/app.Response'
  36428. security:
  36429. - ApiKeyAuth: []
  36430. summary: 获取用户信息
  36431. tags:
  36432. - 用户信息
  36433. /User/QueryUserReferNum:
  36434. get:
  36435. parameters:
  36436. - description: 用户ID
  36437. in: query
  36438. name: userID
  36439. required: true
  36440. type: integer
  36441. produces:
  36442. - application/json
  36443. responses:
  36444. "200":
  36445. description: OK
  36446. schema:
  36447. $ref: '#/definitions/app.Response'
  36448. "500":
  36449. description: Internal Server Error
  36450. schema:
  36451. $ref: '#/definitions/app.Response'
  36452. summary: 获取用户邀请码
  36453. tags:
  36454. - 用户信息
  36455. /User/RemoveUserFavoriteGoods:
  36456. post:
  36457. parameters:
  36458. - description: 用户ID
  36459. in: query
  36460. name: userID
  36461. required: true
  36462. type: integer
  36463. - description: 商品ID
  36464. in: query
  36465. name: goodsID
  36466. required: true
  36467. type: integer
  36468. produces:
  36469. - application/json
  36470. responses:
  36471. "200":
  36472. description: OK
  36473. schema:
  36474. $ref: '#/definitions/app.Response'
  36475. "500":
  36476. description: Internal Server Error
  36477. schema:
  36478. $ref: '#/definitions/app.Response'
  36479. security:
  36480. - ApiKeyAuth: []
  36481. summary: 移除用户商品收藏信息
  36482. tags:
  36483. - 用户信息
  36484. /User/UpdateUserAccountStatus:
  36485. post:
  36486. parameters:
  36487. - description: 用户ID
  36488. in: query
  36489. name: userID
  36490. required: true
  36491. type: integer
  36492. - description: 账户状态 - 4:正常 6:注销(停用)
  36493. in: query
  36494. name: accountStatus
  36495. required: true
  36496. type: integer
  36497. produces:
  36498. - application/json
  36499. responses:
  36500. "200":
  36501. description: OK
  36502. schema:
  36503. $ref: '#/definitions/app.Response'
  36504. "500":
  36505. description: Internal Server Error
  36506. schema:
  36507. $ref: '#/definitions/app.Response'
  36508. security:
  36509. - ApiKeyAuth: []
  36510. summary: 更新用户状态
  36511. tags:
  36512. - 用户信息
  36513. /User/UpdateUserHeadUrl:
  36514. post:
  36515. parameters:
  36516. - description: 入参
  36517. in: body
  36518. name: data
  36519. required: true
  36520. schema:
  36521. $ref: '#/definitions/user.UpdateUserHeadUrlReq'
  36522. produces:
  36523. - application/json
  36524. responses:
  36525. "200":
  36526. description: OK
  36527. schema:
  36528. $ref: '#/definitions/app.Response'
  36529. "500":
  36530. description: Internal Server Error
  36531. schema:
  36532. $ref: '#/definitions/app.Response'
  36533. security:
  36534. - ApiKeyAuth: []
  36535. summary: 更新用户头像
  36536. tags:
  36537. - 用户信息
  36538. /WRTrade/GetAllDeliveryGoods:
  36539. get:
  36540. produces:
  36541. - application/json
  36542. responses:
  36543. "200":
  36544. description: OK
  36545. schema:
  36546. $ref: '#/definitions/app.Response'
  36547. "500":
  36548. description: Internal Server Error
  36549. schema:
  36550. $ref: '#/definitions/app.Response'
  36551. security:
  36552. - ApiKeyAuth: []
  36553. summary: 获取带仓单分类的种类信息
  36554. tags:
  36555. - 仓单贸易
  36556. - 仓单贸易
  36557. /WrTrade2/InsertXhcpSellBackApply:
  36558. post:
  36559. parameters:
  36560. - description: 回收申请
  36561. in: body
  36562. name: jsonBody
  36563. required: true
  36564. schema:
  36565. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  36566. produces:
  36567. - application/json
  36568. responses:
  36569. "200":
  36570. description: OK
  36571. schema:
  36572. $ref: '#/definitions/app.Response'
  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/QueryDeliveryGoodsSection:
  36583. get:
  36584. produces:
  36585. - application/json
  36586. responses:
  36587. "200":
  36588. description: OK
  36589. schema:
  36590. items:
  36591. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  36592. type: array
  36593. "500":
  36594. description: Internal Server Error
  36595. schema:
  36596. $ref: '#/definitions/app.Response'
  36597. security:
  36598. - ApiKeyAuth: []
  36599. summary: 查询板块(分类)
  36600. tags:
  36601. - 仓单贸易v2
  36602. /WrTrade2/QueryFaProductDetail:
  36603. get:
  36604. description: 页面 买卖大厅 -> 选择融资方案
  36605. parameters:
  36606. - description: 仓单要素id
  36607. in: query
  36608. name: wrfactortypeid
  36609. required: true
  36610. type: integer
  36611. produces:
  36612. - application/json
  36613. responses:
  36614. "200":
  36615. description: OK
  36616. schema:
  36617. items:
  36618. $ref: '#/definitions/models.WrFAProductDetail'
  36619. type: array
  36620. "500":
  36621. description: Internal Server Error
  36622. schema:
  36623. $ref: '#/definitions/app.Response'
  36624. security:
  36625. - ApiKeyAuth: []
  36626. summary: 查询融资产品列表
  36627. tags:
  36628. - 仓单贸易v2
  36629. /WrTrade2/QueryFilterItem:
  36630. get:
  36631. parameters:
  36632. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  36633. in: query
  36634. name: itype
  36635. required: true
  36636. type: string
  36637. produces:
  36638. - application/json
  36639. responses:
  36640. "200":
  36641. description: OK
  36642. schema:
  36643. items:
  36644. $ref: '#/definitions/models.WrFilterItem'
  36645. type: array
  36646. "500":
  36647. description: Internal Server Error
  36648. schema:
  36649. $ref: '#/definitions/app.Response'
  36650. security:
  36651. - ApiKeyAuth: []
  36652. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  36653. tags:
  36654. - 仓单贸易v2
  36655. /WrTrade2/QueryFtDeliveryGoods:
  36656. get:
  36657. produces:
  36658. - application/json
  36659. responses:
  36660. "200":
  36661. description: OK
  36662. schema:
  36663. items:
  36664. $ref: '#/definitions/models.WrFtDeliveryGoods'
  36665. type: array
  36666. "500":
  36667. description: Internal Server Error
  36668. schema:
  36669. $ref: '#/definitions/app.Response'
  36670. security:
  36671. - ApiKeyAuth: []
  36672. summary: 查询品种品类筛选框列表
  36673. tags:
  36674. - 仓单贸易v2
  36675. /WrTrade2/QueryHoldLB:
  36676. get:
  36677. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  36678. parameters:
  36679. - description: 资金账号
  36680. in: query
  36681. name: accountid
  36682. required: true
  36683. type: integer
  36684. - description: 仓库id
  36685. in: query
  36686. name: warehouseid
  36687. type: integer
  36688. - description: 品种id
  36689. in: query
  36690. name: deliverygoodsid
  36691. type: integer
  36692. - description: 品类id
  36693. in: query
  36694. name: wrstandardid
  36695. type: integer
  36696. - description: 仓单要素id
  36697. in: query
  36698. name: wrfactortypeid
  36699. type: integer
  36700. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36701. in: query
  36702. name: dgitemname
  36703. type: string
  36704. produces:
  36705. - application/json
  36706. responses:
  36707. "200":
  36708. description: OK
  36709. schema:
  36710. items:
  36711. $ref: '#/definitions/models.WrHoldLB'
  36712. type: array
  36713. "500":
  36714. description: Internal Server Error
  36715. schema:
  36716. $ref: '#/definitions/app.Response'
  36717. security:
  36718. - ApiKeyAuth: []
  36719. summary: 查询仓单持有记录
  36720. tags:
  36721. - 仓单贸易v2
  36722. /WrTrade2/QueryOrderQuote:
  36723. get:
  36724. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  36725. 唯一确定1条记录
  36726. parameters:
  36727. - description: 页码
  36728. in: query
  36729. name: page
  36730. type: integer
  36731. - description: 每页条数
  36732. in: query
  36733. name: pagesize
  36734. type: integer
  36735. - description: 仓单贸易市场id
  36736. in: query
  36737. name: marketid
  36738. type: integer
  36739. - description: 价格方式 - 1:固定价 2-浮动价
  36740. in: query
  36741. name: wrpricetype
  36742. required: true
  36743. type: integer
  36744. - description: 0:仓单预售 1:仓单贸易
  36745. in: query
  36746. name: haswr
  36747. type: integer
  36748. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36749. in: query
  36750. name: dgitemname
  36751. type: string
  36752. - description: 仓库id(筛选条件)
  36753. in: query
  36754. name: warehouseid
  36755. type: integer
  36756. - description: 品种id
  36757. in: query
  36758. name: deliverygoodsid
  36759. type: integer
  36760. - description: 品类id
  36761. in: query
  36762. name: wrstandardid
  36763. type: integer
  36764. - description: 品牌id(dgfactoryitemid)
  36765. in: query
  36766. name: brandid
  36767. type: integer
  36768. - description: 年份id(dgfactoryitemid)
  36769. in: query
  36770. name: yearsid
  36771. type: integer
  36772. - description: 仓单要素id
  36773. in: query
  36774. name: wrfactortypeid
  36775. type: integer
  36776. - description: 交收月(yyyy-mm) 仓单预售填写
  36777. in: query
  36778. name: deliverymonth
  36779. type: string
  36780. produces:
  36781. - application/json
  36782. responses:
  36783. "200":
  36784. description: OK
  36785. schema:
  36786. items:
  36787. $ref: '#/definitions/models.WrOrderQuote'
  36788. type: array
  36789. "500":
  36790. description: Internal Server Error
  36791. schema:
  36792. $ref: '#/definitions/app.Response'
  36793. security:
  36794. - ApiKeyAuth: []
  36795. summary: 查询大厅行情列表
  36796. tags:
  36797. - 仓单贸易v2
  36798. /WrTrade2/QueryOrderQuoteDetail:
  36799. get:
  36800. parameters:
  36801. - description: 页码
  36802. in: query
  36803. name: page
  36804. type: integer
  36805. - description: 每页条数
  36806. in: query
  36807. name: pagesize
  36808. type: integer
  36809. - description: 仓单贸易市场id
  36810. in: query
  36811. name: marketid
  36812. type: integer
  36813. - description: 价格方式 - 1:固定价 2-浮动价
  36814. in: query
  36815. name: wrpricetype
  36816. required: true
  36817. type: integer
  36818. - description: 0:仓单预售 1:仓单贸易
  36819. in: query
  36820. name: haswr
  36821. type: integer
  36822. - description: 仓单要素id
  36823. in: query
  36824. name: wrfactortypeid
  36825. required: true
  36826. type: integer
  36827. - description: 期货商品id(浮动价方式时填)
  36828. in: query
  36829. name: goodsid
  36830. type: integer
  36831. - description: 买卖方向 0-买 1-卖
  36832. in: query
  36833. name: buyorsell
  36834. required: true
  36835. type: integer
  36836. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  36837. in: query
  36838. name: deliverymonth
  36839. type: string
  36840. produces:
  36841. - application/json
  36842. responses:
  36843. "200":
  36844. description: OK
  36845. schema:
  36846. items:
  36847. $ref: '#/definitions/models.WrOrderQuoteDetail'
  36848. type: array
  36849. "500":
  36850. description: Internal Server Error
  36851. schema:
  36852. $ref: '#/definitions/app.Response'
  36853. security:
  36854. - ApiKeyAuth: []
  36855. summary: 查询买卖大厅
  36856. tags:
  36857. - 仓单贸易v2
  36858. /WrTrade2/QueryOrderQuoteMyq:
  36859. get:
  36860. parameters:
  36861. - description: 页码
  36862. in: query
  36863. name: page
  36864. type: integer
  36865. - description: 每页条数
  36866. in: query
  36867. name: pagesize
  36868. type: integer
  36869. - description: 用户id
  36870. in: query
  36871. name: userid
  36872. required: true
  36873. type: integer
  36874. - description: 仓单贸易市场id
  36875. in: query
  36876. name: marketid
  36877. type: integer
  36878. - description: 0:仓单预售 1:仓单贸易
  36879. in: query
  36880. name: haswr
  36881. type: integer
  36882. - description: 买卖方向 0-买 1-卖
  36883. in: query
  36884. name: buyorsell
  36885. required: true
  36886. type: integer
  36887. - description: 品种id
  36888. in: query
  36889. name: deliverygoodsid
  36890. type: integer
  36891. - description: 品类id
  36892. in: query
  36893. name: wrstandardid
  36894. type: integer
  36895. - description: 交收月(yyyy-mm) 仓单预售填写
  36896. in: query
  36897. name: deliverymonth
  36898. type: string
  36899. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36900. in: query
  36901. name: dgitemname
  36902. type: string
  36903. produces:
  36904. - application/json
  36905. responses:
  36906. "200":
  36907. description: OK
  36908. schema:
  36909. items:
  36910. $ref: '#/definitions/models.WrQuoteOrderMyq'
  36911. type: array
  36912. "500":
  36913. description: Internal Server Error
  36914. schema:
  36915. $ref: '#/definitions/app.Response'
  36916. security:
  36917. - ApiKeyAuth: []
  36918. summary: 查询贸易圈挂牌大厅
  36919. tags:
  36920. - 仓单贸易v2
  36921. /WrTrade2/QueryPerformancePlan:
  36922. get:
  36923. parameters:
  36924. - description: 用户id
  36925. in: query
  36926. name: userid
  36927. required: true
  36928. type: integer
  36929. - description: 买卖方向 0-买 1-卖
  36930. in: query
  36931. name: buyorsell
  36932. required: true
  36933. type: integer
  36934. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  36935. 8:释放冻结失败 9:超时待处理 10:超时关闭
  36936. in: query
  36937. name: status
  36938. type: string
  36939. - description: 开始交易日(yyyymmdd)
  36940. in: query
  36941. name: begindate
  36942. type: string
  36943. - description: 结束交易日(yyyymmdd)
  36944. in: query
  36945. name: enddate
  36946. type: string
  36947. produces:
  36948. - application/json
  36949. responses:
  36950. "200":
  36951. description: OK
  36952. schema:
  36953. items:
  36954. $ref: '#/definitions/models.WrPerformancePlan'
  36955. type: array
  36956. "500":
  36957. description: Internal Server Error
  36958. schema:
  36959. $ref: '#/definitions/app.Response'
  36960. security:
  36961. - ApiKeyAuth: []
  36962. summary: 查询履约信息
  36963. tags:
  36964. - 仓单贸易v2
  36965. /WrTrade2/QueryPermancePlanTmp:
  36966. get:
  36967. description: |-
  36968. 返回指定用户的模板和公共模板(用户id为空)
  36969. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  36970. parameters:
  36971. - description: 用户id
  36972. in: query
  36973. name: userid
  36974. type: integer
  36975. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  36976. (无仓单) 5:挂牌期权 6:竞拍-降价式
  36977. in: query
  36978. name: tmptype
  36979. type: string
  36980. - description: 是否包含公共模板(用户id为空的) 1-包含
  36981. in: query
  36982. name: includepub
  36983. type: integer
  36984. - description: 市场id(天津麦顿指定此参数,其它不用)
  36985. in: query
  36986. name: marketid
  36987. type: integer
  36988. produces:
  36989. - application/json
  36990. responses:
  36991. "200":
  36992. description: OK
  36993. schema:
  36994. items:
  36995. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  36996. type: array
  36997. "500":
  36998. description: Internal Server Error
  36999. schema:
  37000. $ref: '#/definitions/app.Response'
  37001. security:
  37002. - ApiKeyAuth: []
  37003. summary: 查询履约模板
  37004. tags:
  37005. - 仓单贸易v2
  37006. /WrTrade2/QuerySiteColumnConfig:
  37007. get:
  37008. parameters:
  37009. - description: 页码
  37010. in: query
  37011. name: page
  37012. type: integer
  37013. - description: 每页条数
  37014. in: query
  37015. name: pagesize
  37016. type: integer
  37017. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  37018. in: query
  37019. name: columntype
  37020. type: integer
  37021. produces:
  37022. - application/json
  37023. responses:
  37024. "200":
  37025. description: OK
  37026. schema:
  37027. items:
  37028. $ref: '#/definitions/models.Sitecolumnconfig'
  37029. type: array
  37030. "500":
  37031. description: Internal Server Error
  37032. schema:
  37033. $ref: '#/definitions/app.Response'
  37034. security:
  37035. - ApiKeyAuth: []
  37036. summary: 查询资讯栏目配置
  37037. tags:
  37038. - 仓单贸易v2
  37039. /WrTrade2/QuerySiteColumnDetail:
  37040. get:
  37041. parameters:
  37042. - description: 页码
  37043. in: query
  37044. name: page
  37045. type: integer
  37046. - description: 每页条数
  37047. in: query
  37048. name: pagesize
  37049. type: integer
  37050. - description: 所属栏目id
  37051. in: query
  37052. name: columnid
  37053. type: integer
  37054. produces:
  37055. - application/json
  37056. responses:
  37057. "200":
  37058. description: OK
  37059. schema:
  37060. items:
  37061. $ref: '#/definitions/models.WrSiteColumnDetail'
  37062. type: array
  37063. "500":
  37064. description: Internal Server Error
  37065. schema:
  37066. $ref: '#/definitions/app.Response'
  37067. security:
  37068. - ApiKeyAuth: []
  37069. summary: 查询资讯
  37070. tags:
  37071. - 仓单贸易v2
  37072. /WrTrade2/QuerySpotGroupTradeSum:
  37073. get:
  37074. produces:
  37075. - application/json
  37076. responses:
  37077. "200":
  37078. description: OK
  37079. schema:
  37080. items:
  37081. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  37082. type: array
  37083. "500":
  37084. description: Internal Server Error
  37085. schema:
  37086. $ref: '#/definitions/app.Response'
  37087. security:
  37088. - ApiKeyAuth: []
  37089. summary: 查询指数
  37090. tags:
  37091. - 仓单贸易v2
  37092. /WrTrade2/QuerySpotGroupTradeSumDetail:
  37093. get:
  37094. description: 查询的结果将会按日期 从小到大 排序
  37095. parameters:
  37096. - description: 现货商品id
  37097. in: query
  37098. name: deliverygoodsid
  37099. required: true
  37100. type: integer
  37101. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  37102. in: query
  37103. name: lastnum
  37104. type: integer
  37105. produces:
  37106. - application/json
  37107. responses:
  37108. "200":
  37109. description: OK
  37110. schema:
  37111. items:
  37112. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  37113. type: array
  37114. "500":
  37115. description: Internal Server Error
  37116. schema:
  37117. $ref: '#/definitions/app.Response'
  37118. security:
  37119. - ApiKeyAuth: []
  37120. summary: 查询指数详细(价格走势图)
  37121. tags:
  37122. - 仓单贸易v2
  37123. /WrTrade2/QueryWrAverageTradePrice:
  37124. get:
  37125. parameters:
  37126. - description: 页码
  37127. in: query
  37128. name: page
  37129. type: integer
  37130. - description: 每页条数
  37131. in: query
  37132. name: pagesize
  37133. type: integer
  37134. - description: 0:仓单预售 1:仓单贸易
  37135. in: query
  37136. name: haswr
  37137. required: true
  37138. type: integer
  37139. - description: 仓单要素id
  37140. in: query
  37141. name: wrfactortypeid
  37142. required: true
  37143. type: integer
  37144. produces:
  37145. - application/json
  37146. responses:
  37147. "200":
  37148. description: OK
  37149. schema:
  37150. items:
  37151. $ref: '#/definitions/models.WrAverageTradePrice'
  37152. type: array
  37153. "500":
  37154. description: Internal Server Error
  37155. schema:
  37156. $ref: '#/definitions/app.Response'
  37157. security:
  37158. - ApiKeyAuth: []
  37159. summary: 查询成交价(历史走势)
  37160. tags:
  37161. - 仓单贸易v2
  37162. /WrTrade2/QueryWrBrandAndYears:
  37163. get:
  37164. produces:
  37165. - application/json
  37166. responses:
  37167. "200":
  37168. description: OK
  37169. schema:
  37170. items:
  37171. $ref: '#/definitions/models.WrBrandAndYears'
  37172. type: array
  37173. "500":
  37174. description: Internal Server Error
  37175. schema:
  37176. $ref: '#/definitions/app.Response'
  37177. security:
  37178. - ApiKeyAuth: []
  37179. summary: 查询品牌和年份
  37180. tags:
  37181. - 仓单贸易v2
  37182. /WrTrade2/QueryWrBsGoodsInfo:
  37183. get:
  37184. description: 合约交易/买卖大厅/详情
  37185. parameters:
  37186. - description: 商品id
  37187. in: query
  37188. name: goodsid
  37189. required: true
  37190. type: integer
  37191. produces:
  37192. - application/json
  37193. responses:
  37194. "200":
  37195. description: OK
  37196. schema:
  37197. items:
  37198. $ref: '#/definitions/models.WrBsGoodsInfo'
  37199. type: array
  37200. "500":
  37201. description: Internal Server Error
  37202. schema:
  37203. $ref: '#/definitions/app.Response'
  37204. security:
  37205. - ApiKeyAuth: []
  37206. summary: 查询合约交易买卖大厅详情
  37207. tags:
  37208. - 仓单贸易v2
  37209. /WrTrade2/QueryWrBuybackDetail:
  37210. get:
  37211. parameters:
  37212. - description: 融资合同id
  37213. in: query
  37214. name: scfcontractid
  37215. type: integer
  37216. produces:
  37217. - application/json
  37218. responses:
  37219. "200":
  37220. description: OK
  37221. schema:
  37222. items:
  37223. $ref: '#/definitions/models.WrBuybackDetail'
  37224. type: array
  37225. "500":
  37226. description: Internal Server Error
  37227. schema:
  37228. $ref: '#/definitions/app.Response'
  37229. security:
  37230. - ApiKeyAuth: []
  37231. summary: 查询仓单回购明细
  37232. tags:
  37233. - 仓单贸易v2
  37234. /WrTrade2/QueryWrClientAdSpaceConfig:
  37235. get:
  37236. produces:
  37237. - application/json
  37238. responses:
  37239. "200":
  37240. description: OK
  37241. schema:
  37242. items:
  37243. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  37244. type: array
  37245. "500":
  37246. description: Internal Server Error
  37247. schema:
  37248. $ref: '#/definitions/app.Response'
  37249. security:
  37250. - ApiKeyAuth: []
  37251. summary: 查询固定广告配置
  37252. tags:
  37253. - 仓单贸易v2
  37254. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  37255. get:
  37256. parameters:
  37257. - description: 资金账号
  37258. in: query
  37259. name: accountid
  37260. required: true
  37261. type: integer
  37262. - description: 商品id
  37263. in: query
  37264. name: goodsid
  37265. required: true
  37266. type: integer
  37267. produces:
  37268. - application/json
  37269. responses:
  37270. "200":
  37271. description: OK
  37272. schema:
  37273. items:
  37274. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  37275. type: array
  37276. "500":
  37277. description: Internal Server Error
  37278. schema:
  37279. $ref: '#/definitions/app.Response'
  37280. security:
  37281. - ApiKeyAuth: []
  37282. summary: 查询合约交收可点选仓单
  37283. tags:
  37284. - 仓单贸易v2
  37285. /WrTrade2/QueryWrDeliveryDetail:
  37286. get:
  37287. parameters:
  37288. - description: 用户id
  37289. in: query
  37290. name: userid
  37291. required: true
  37292. type: integer
  37293. - description: 资金账号id
  37294. in: query
  37295. name: accountid
  37296. type: integer
  37297. - description: 开始交易日(yyyymmdd)
  37298. in: query
  37299. name: begindate
  37300. type: string
  37301. - description: 结束交易日(yyyymmdd)
  37302. in: query
  37303. name: enddate
  37304. type: string
  37305. produces:
  37306. - application/json
  37307. responses:
  37308. "200":
  37309. description: OK
  37310. schema:
  37311. items:
  37312. $ref: '#/definitions/models.WrDeliveryDetail'
  37313. type: array
  37314. "500":
  37315. description: Internal Server Error
  37316. schema:
  37317. $ref: '#/definitions/app.Response'
  37318. security:
  37319. - ApiKeyAuth: []
  37320. summary: 查询交收
  37321. tags:
  37322. - 仓单贸易v2
  37323. /WrTrade2/QueryWrDraftUserInfo:
  37324. get:
  37325. parameters:
  37326. - description: 用户ID
  37327. in: query
  37328. name: userid
  37329. required: true
  37330. type: integer
  37331. - description: 用户状态 1:正常 2:注销
  37332. in: query
  37333. name: userstatus
  37334. type: integer
  37335. produces:
  37336. - application/json
  37337. responses:
  37338. "200":
  37339. description: OK
  37340. schema:
  37341. items:
  37342. $ref: '#/definitions/models.WrDraftUserInfo'
  37343. type: array
  37344. "500":
  37345. description: Internal Server Error
  37346. schema:
  37347. $ref: '#/definitions/app.Response'
  37348. security:
  37349. - ApiKeyAuth: []
  37350. summary: 查询实名认证信息
  37351. tags:
  37352. - 仓单贸易v2
  37353. /WrTrade2/QueryWrFactorTypeInfo:
  37354. get:
  37355. parameters:
  37356. - description: 仓单要素id
  37357. in: query
  37358. name: wrfactortypeid
  37359. required: true
  37360. type: integer
  37361. produces:
  37362. - application/json
  37363. responses:
  37364. "200":
  37365. description: OK
  37366. schema:
  37367. items:
  37368. $ref: '#/definitions/models.WrFactorTypeInfo'
  37369. type: array
  37370. "500":
  37371. description: Internal Server Error
  37372. schema:
  37373. $ref: '#/definitions/app.Response'
  37374. security:
  37375. - ApiKeyAuth: []
  37376. summary: 查询仓单要素详细信息
  37377. tags:
  37378. - 仓单贸易v2
  37379. /WrTrade2/QueryWrFactorTypeInfoEx:
  37380. get:
  37381. parameters:
  37382. - description: 仓单要素id
  37383. in: query
  37384. name: wrfactortypeid
  37385. required: true
  37386. type: integer
  37387. produces:
  37388. - application/json
  37389. responses:
  37390. "200":
  37391. description: OK
  37392. schema:
  37393. items:
  37394. $ref: '#/definitions/models.WrTypeItem'
  37395. type: array
  37396. "500":
  37397. description: Internal Server Error
  37398. schema:
  37399. $ref: '#/definitions/app.Response'
  37400. security:
  37401. - ApiKeyAuth: []
  37402. summary: 查询仓单要素详细信息列表项
  37403. tags:
  37404. - 仓单贸易v2
  37405. /WrTrade2/QueryWrFinanceBuyApply:
  37406. get:
  37407. description: 页面 融资信息+ / 申请单
  37408. parameters:
  37409. - description: 用户id
  37410. in: query
  37411. name: userid
  37412. required: true
  37413. type: integer
  37414. produces:
  37415. - application/json
  37416. responses:
  37417. "200":
  37418. description: OK
  37419. schema:
  37420. items:
  37421. $ref: '#/definitions/models.WrFinanceBuyApply'
  37422. type: array
  37423. "500":
  37424. description: Internal Server Error
  37425. schema:
  37426. $ref: '#/definitions/app.Response'
  37427. security:
  37428. - ApiKeyAuth: []
  37429. summary: 查询融资购买申请
  37430. tags:
  37431. - 仓单贸易v2
  37432. /WrTrade2/QueryWrFriendApply:
  37433. get:
  37434. parameters:
  37435. - description: 用户id
  37436. in: query
  37437. name: userid
  37438. required: true
  37439. type: integer
  37440. produces:
  37441. - application/json
  37442. responses:
  37443. "200":
  37444. description: OK
  37445. schema:
  37446. items:
  37447. $ref: '#/definitions/models.WrFriendApply'
  37448. type: array
  37449. "500":
  37450. description: Internal Server Error
  37451. schema:
  37452. $ref: '#/definitions/app.Response'
  37453. security:
  37454. - ApiKeyAuth: []
  37455. summary: 查询好友申请记录
  37456. tags:
  37457. - 仓单贸易v2
  37458. /WrTrade2/QueryWrGoodsInfo:
  37459. get:
  37460. parameters:
  37461. - description: 仓单贸易市场id
  37462. in: query
  37463. name: marketid
  37464. type: integer
  37465. - description: 0:仓单预售 1:仓单贸易
  37466. in: query
  37467. name: haswr
  37468. required: true
  37469. type: integer
  37470. - description: 仓单要素id
  37471. in: query
  37472. name: wrfactortypeid
  37473. required: true
  37474. type: integer
  37475. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  37476. in: query
  37477. name: tmplateid
  37478. type: integer
  37479. produces:
  37480. - application/json
  37481. responses:
  37482. "200":
  37483. description: OK
  37484. schema:
  37485. items:
  37486. $ref: '#/definitions/models.WrGoodsInfo'
  37487. type: array
  37488. "500":
  37489. description: Internal Server Error
  37490. schema:
  37491. $ref: '#/definitions/app.Response'
  37492. security:
  37493. - ApiKeyAuth: []
  37494. summary: 查询仓单商品信息
  37495. tags:
  37496. - 仓单贸易v2
  37497. /WrTrade2/QueryWrMarketTradeConfig:
  37498. get:
  37499. parameters:
  37500. - description: 市场id
  37501. in: query
  37502. name: marketid
  37503. type: integer
  37504. produces:
  37505. - application/json
  37506. responses:
  37507. "200":
  37508. description: OK
  37509. schema:
  37510. items:
  37511. $ref: '#/definitions/models.WrMarketTradeConfig'
  37512. type: array
  37513. "500":
  37514. description: Internal Server Error
  37515. schema:
  37516. $ref: '#/definitions/app.Response'
  37517. security:
  37518. - ApiKeyAuth: []
  37519. summary: 查询市场交易参数配置
  37520. tags:
  37521. - 仓单贸易v2
  37522. /WrTrade2/QueryWrOrderDetail:
  37523. get:
  37524. description: 页面 现货仓单 | 预售仓单 -> 委托单
  37525. parameters:
  37526. - description: 页码
  37527. in: query
  37528. name: page
  37529. type: integer
  37530. - description: 每页条数
  37531. in: query
  37532. name: pagesize
  37533. type: integer
  37534. - description: 用户id
  37535. in: query
  37536. name: userid
  37537. required: true
  37538. type: integer
  37539. - description: 仓单贸易市场id
  37540. in: query
  37541. name: marketid
  37542. type: integer
  37543. - description: 0:仓单预售 1:仓单贸易
  37544. in: query
  37545. name: haswr
  37546. required: true
  37547. type: integer
  37548. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  37549. in: query
  37550. name: bcancel
  37551. type: integer
  37552. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  37553. in: query
  37554. name: wrtradetype
  37555. type: integer
  37556. - description: 开始交易日(yyyymmdd)
  37557. in: query
  37558. name: begindate
  37559. type: string
  37560. - description: 结束交易日(yyyymmdd)
  37561. in: query
  37562. name: enddate
  37563. type: string
  37564. produces:
  37565. - application/json
  37566. responses:
  37567. "200":
  37568. description: OK
  37569. schema:
  37570. items:
  37571. $ref: '#/definitions/models.WrOrderDetail'
  37572. type: array
  37573. "500":
  37574. description: Internal Server Error
  37575. schema:
  37576. $ref: '#/definitions/app.Response'
  37577. security:
  37578. - ApiKeyAuth: []
  37579. summary: 查询仓单委托单
  37580. tags:
  37581. - 仓单贸易v2
  37582. /WrTrade2/QueryWrOutInApply:
  37583. get:
  37584. parameters:
  37585. - description: 页码
  37586. in: query
  37587. name: page
  37588. type: integer
  37589. - description: 每页条数
  37590. in: query
  37591. name: pagesize
  37592. type: integer
  37593. - description: 用户id
  37594. in: query
  37595. name: userid
  37596. required: true
  37597. type: integer
  37598. - description: 开始交易日(yyyymmdd)
  37599. in: query
  37600. name: begindate
  37601. type: string
  37602. - description: 结束交易日(yyyymmdd)
  37603. in: query
  37604. name: enddate
  37605. type: string
  37606. produces:
  37607. - application/json
  37608. responses:
  37609. "200":
  37610. description: OK
  37611. schema:
  37612. items:
  37613. $ref: '#/definitions/models.WrOutInApply'
  37614. type: array
  37615. "500":
  37616. description: Internal Server Error
  37617. schema:
  37618. $ref: '#/definitions/app.Response'
  37619. security:
  37620. - ApiKeyAuth: []
  37621. summary: 查询提货申请
  37622. tags:
  37623. - 仓单贸易v2
  37624. /WrTrade2/QueryWrPerformancePlanStep:
  37625. get:
  37626. parameters:
  37627. - description: 履约计划id(performanceplanid)
  37628. in: query
  37629. name: planid
  37630. required: true
  37631. type: integer
  37632. - description: 当前步骤id
  37633. in: query
  37634. name: curstepid
  37635. type: integer
  37636. produces:
  37637. - application/json
  37638. responses:
  37639. "200":
  37640. description: OK
  37641. schema:
  37642. items:
  37643. $ref: '#/definitions/models.WrPerformancePlanStep'
  37644. type: array
  37645. "500":
  37646. description: Internal Server Error
  37647. schema:
  37648. $ref: '#/definitions/app.Response'
  37649. security:
  37650. - ApiKeyAuth: []
  37651. summary: 查询履约信息详情
  37652. tags:
  37653. - 仓单贸易v2
  37654. /WrTrade2/QueryWrPerformanceStepType:
  37655. get:
  37656. produces:
  37657. - application/json
  37658. responses:
  37659. "200":
  37660. description: OK
  37661. schema:
  37662. items:
  37663. $ref: '#/definitions/models.WrPerformanceStepType'
  37664. type: array
  37665. "500":
  37666. description: Internal Server Error
  37667. schema:
  37668. $ref: '#/definitions/app.Response'
  37669. security:
  37670. - ApiKeyAuth: []
  37671. summary: 查询履约步骤枚举
  37672. tags:
  37673. - 仓单贸易v2
  37674. /WrTrade2/QueryWrPosition:
  37675. get:
  37676. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  37677. parameters:
  37678. - description: 用户id
  37679. in: query
  37680. name: userid
  37681. required: true
  37682. type: integer
  37683. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  37684. in: query
  37685. name: querytype
  37686. required: true
  37687. type: integer
  37688. - description: 0:仓单预售 1:仓单贸易
  37689. in: query
  37690. name: haswr
  37691. required: true
  37692. type: integer
  37693. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  37694. in: query
  37695. name: dgitemname
  37696. type: string
  37697. - description: 仓库id(筛选条件)
  37698. in: query
  37699. name: warehouseid
  37700. type: integer
  37701. - description: 品种id
  37702. in: query
  37703. name: deliverygoodsid
  37704. type: integer
  37705. - description: 品类id
  37706. in: query
  37707. name: wrstandardid
  37708. type: integer
  37709. produces:
  37710. - application/json
  37711. responses:
  37712. "200":
  37713. description: OK
  37714. schema:
  37715. items:
  37716. $ref: '#/definitions/models.WrPosition'
  37717. type: array
  37718. "500":
  37719. description: Internal Server Error
  37720. schema:
  37721. $ref: '#/definitions/app.Response'
  37722. security:
  37723. - ApiKeyAuth: []
  37724. summary: 查询现货(预售)仓单持仓
  37725. tags:
  37726. - 仓单贸易v2
  37727. /WrTrade2/QueryWrPreSaleInfo:
  37728. get:
  37729. parameters:
  37730. - description: 市场id
  37731. in: query
  37732. name: marketid
  37733. type: integer
  37734. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  37735. in: query
  37736. name: presalestatus
  37737. type: string
  37738. - description: 摇号标识 - 0:未摇号 1:已摇号
  37739. in: query
  37740. name: lotteryflag
  37741. type: integer
  37742. - description: 最近多少条记录(按创建时间倒序)
  37743. in: query
  37744. name: lastnum
  37745. type: integer
  37746. produces:
  37747. - application/json
  37748. responses:
  37749. "200":
  37750. description: OK
  37751. schema:
  37752. items:
  37753. $ref: '#/definitions/models.WrPreSaleInfo'
  37754. type: array
  37755. "500":
  37756. description: Internal Server Error
  37757. schema:
  37758. $ref: '#/definitions/app.Response'
  37759. security:
  37760. - ApiKeyAuth: []
  37761. summary: 查询新品发布
  37762. tags:
  37763. - 仓单贸易v2
  37764. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  37765. get:
  37766. parameters:
  37767. - description: 市场id
  37768. in: query
  37769. name: marketid
  37770. required: true
  37771. type: integer
  37772. - description: 现货商品id
  37773. in: query
  37774. name: wrstandardid
  37775. required: true
  37776. type: integer
  37777. - description: 开始交易日(yyyymmdd)
  37778. in: query
  37779. name: begindate
  37780. type: string
  37781. - description: 结束交易日(yyyymmdd)
  37782. in: query
  37783. name: enddate
  37784. type: string
  37785. - description: 最近多少条记录(按交易日倒序)
  37786. in: query
  37787. name: lastnum
  37788. type: integer
  37789. - description: 是否今日
  37790. in: query
  37791. name: istoday
  37792. type: boolean
  37793. produces:
  37794. - application/json
  37795. responses:
  37796. "200":
  37797. description: OK
  37798. schema:
  37799. items:
  37800. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  37801. type: array
  37802. "500":
  37803. description: Internal Server Error
  37804. schema:
  37805. $ref: '#/definitions/app.Response'
  37806. security:
  37807. - ApiKeyAuth: []
  37808. summary: 查询价格走势
  37809. tags:
  37810. - 仓单贸易v2
  37811. /WrTrade2/QueryWrScfContract:
  37812. get:
  37813. parameters:
  37814. - description: 用户id
  37815. in: query
  37816. name: userid
  37817. required: true
  37818. type: integer
  37819. - description: 融资合同id
  37820. in: query
  37821. name: scfcontractid
  37822. type: integer
  37823. produces:
  37824. - application/json
  37825. responses:
  37826. "200":
  37827. description: OK
  37828. schema:
  37829. items:
  37830. $ref: '#/definitions/models.WrScfContract'
  37831. type: array
  37832. "500":
  37833. description: Internal Server Error
  37834. schema:
  37835. $ref: '#/definitions/app.Response'
  37836. security:
  37837. - ApiKeyAuth: []
  37838. summary: 查询仓单贸易融资合同
  37839. tags:
  37840. - 仓单贸易v2
  37841. /WrTrade2/QueryWrScfContractInterest:
  37842. get:
  37843. parameters:
  37844. - description: 融资合同id
  37845. in: query
  37846. name: scfcontractid
  37847. type: integer
  37848. produces:
  37849. - application/json
  37850. responses:
  37851. "200":
  37852. description: OK
  37853. schema:
  37854. items:
  37855. $ref: '#/definitions/models.WrScfContractInterest'
  37856. type: array
  37857. "500":
  37858. description: Internal Server Error
  37859. schema:
  37860. $ref: '#/definitions/app.Response'
  37861. security:
  37862. - ApiKeyAuth: []
  37863. summary: 查询融资合同费用明细
  37864. tags:
  37865. - 仓单贸易v2
  37866. /WrTrade2/QueryWrSearchUser:
  37867. get:
  37868. parameters:
  37869. - description: 用户名称(模糊匹配)
  37870. in: query
  37871. name: username
  37872. required: true
  37873. type: string
  37874. produces:
  37875. - application/json
  37876. responses:
  37877. "200":
  37878. description: OK
  37879. schema:
  37880. items:
  37881. $ref: '#/definitions/models.WrSearchUser'
  37882. type: array
  37883. "500":
  37884. description: Internal Server Error
  37885. schema:
  37886. $ref: '#/definitions/app.Response'
  37887. security:
  37888. - ApiKeyAuth: []
  37889. summary: 查询用户
  37890. tags:
  37891. - 仓单贸易v2
  37892. /WrTrade2/QueryWrSpecialMatchOrder:
  37893. get:
  37894. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  37895. parameters:
  37896. - description: 页码
  37897. in: query
  37898. name: page
  37899. type: integer
  37900. - description: 每页条数
  37901. in: query
  37902. name: pagesize
  37903. type: integer
  37904. - description: 用户id
  37905. in: query
  37906. name: userid
  37907. required: true
  37908. type: integer
  37909. - description: 仓单贸易市场id
  37910. in: query
  37911. name: marketid
  37912. type: integer
  37913. - description: 0:仓单预售 1:仓单贸易
  37914. in: query
  37915. name: haswr
  37916. required: true
  37917. type: integer
  37918. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  37919. in: query
  37920. name: isspecified
  37921. type: integer
  37922. produces:
  37923. - application/json
  37924. responses:
  37925. "200":
  37926. description: OK
  37927. schema:
  37928. items:
  37929. $ref: '#/definitions/models.WrSpecialMatchOrder'
  37930. type: array
  37931. "500":
  37932. description: Internal Server Error
  37933. schema:
  37934. $ref: '#/definitions/app.Response'
  37935. security:
  37936. - ApiKeyAuth: []
  37937. summary: 查询指定成交
  37938. tags:
  37939. - 仓单贸易v2
  37940. /WrTrade2/QueryWrStandardFactoryItem:
  37941. get:
  37942. parameters:
  37943. - description: 品类id
  37944. in: query
  37945. name: wrstandardid
  37946. required: true
  37947. type: integer
  37948. produces:
  37949. - application/json
  37950. responses:
  37951. "200":
  37952. description: OK
  37953. schema:
  37954. items:
  37955. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  37956. type: array
  37957. "500":
  37958. description: Internal Server Error
  37959. schema:
  37960. $ref: '#/definitions/app.Response'
  37961. security:
  37962. - ApiKeyAuth: []
  37963. summary: 查询品类要素定义项
  37964. tags:
  37965. - 仓单贸易v2
  37966. /WrTrade2/QueryWrTradeBargainApply:
  37967. get:
  37968. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  37969. 议价->对方议价 填写matchuserid=登录用户id
  37970. parameters:
  37971. - description: 议价人id(摘牌方)
  37972. in: query
  37973. name: userid
  37974. type: integer
  37975. - description: 挂牌方id(查对方议价时,填写此项)
  37976. in: query
  37977. name: matchuserid
  37978. type: integer
  37979. - description: 关联委托单id
  37980. in: query
  37981. name: wrtradeorderid
  37982. type: integer
  37983. - description: 0:仓单预售 1:仓单贸易
  37984. in: query
  37985. name: haswr
  37986. required: true
  37987. type: integer
  37988. - description: 开始交易日(yyyymmdd)
  37989. in: query
  37990. name: begindate
  37991. type: string
  37992. - description: 结束交易日(yyyymmdd)
  37993. in: query
  37994. name: enddate
  37995. type: string
  37996. produces:
  37997. - application/json
  37998. responses:
  37999. "200":
  38000. description: OK
  38001. schema:
  38002. items:
  38003. $ref: '#/definitions/models.WRTradeBargainApply'
  38004. type: array
  38005. "500":
  38006. description: Internal Server Error
  38007. schema:
  38008. $ref: '#/definitions/app.Response'
  38009. security:
  38010. - ApiKeyAuth: []
  38011. summary: 查询议价单
  38012. tags:
  38013. - 仓单贸易v2
  38014. /WrTrade2/QueryWrTradeDetail:
  38015. get:
  38016. parameters:
  38017. - description: 页码
  38018. in: query
  38019. name: page
  38020. type: integer
  38021. - description: 每页条数
  38022. in: query
  38023. name: pagesize
  38024. type: integer
  38025. - description: 用户id
  38026. in: query
  38027. name: userid
  38028. required: true
  38029. type: integer
  38030. - description: 仓单贸易市场id
  38031. in: query
  38032. name: marketid
  38033. type: integer
  38034. - description: 0:仓单预售 1:仓单贸易
  38035. in: query
  38036. name: haswr
  38037. required: true
  38038. type: integer
  38039. - description: 开始交易日(yyyymmdd)
  38040. in: query
  38041. name: begindate
  38042. type: string
  38043. - description: 结束交易日(yyyymmdd)
  38044. in: query
  38045. name: enddate
  38046. type: string
  38047. produces:
  38048. - application/json
  38049. responses:
  38050. "200":
  38051. description: OK
  38052. schema:
  38053. items:
  38054. $ref: '#/definitions/models.WrTradeDetail'
  38055. type: array
  38056. "500":
  38057. description: Internal Server Error
  38058. schema:
  38059. $ref: '#/definitions/app.Response'
  38060. security:
  38061. - ApiKeyAuth: []
  38062. summary: 查询仓单成交明细
  38063. tags:
  38064. - 仓单贸易v2
  38065. /WrTrade2/QueryWrTradeOrderDetail:
  38066. get:
  38067. parameters:
  38068. - description: 页码
  38069. in: query
  38070. name: page
  38071. type: integer
  38072. - description: 每页条数
  38073. in: query
  38074. name: pagesize
  38075. type: integer
  38076. - description: 商品id
  38077. in: query
  38078. name: goodsid
  38079. required: true
  38080. type: integer
  38081. - description: 买卖方向 0-买 1-卖
  38082. in: query
  38083. name: buyorsell
  38084. required: true
  38085. type: integer
  38086. produces:
  38087. - application/json
  38088. responses:
  38089. "200":
  38090. description: OK
  38091. schema:
  38092. items:
  38093. $ref: '#/definitions/models.WrTradeOrderDetail'
  38094. type: array
  38095. "500":
  38096. description: Internal Server Error
  38097. schema:
  38098. $ref: '#/definitions/app.Response'
  38099. security:
  38100. - ApiKeyAuth: []
  38101. summary: 查询合约交易买卖大厅
  38102. tags:
  38103. - 仓单贸易v2
  38104. /WrTrade2/QueryWrTradeQuote:
  38105. get:
  38106. parameters:
  38107. - description: 现货商品id
  38108. in: query
  38109. name: wrstandardid
  38110. required: true
  38111. type: integer
  38112. - description: 开始日期(yyyymmdd)
  38113. in: query
  38114. name: begindate
  38115. required: true
  38116. type: string
  38117. - description: 结束日期(yyyymmdd)
  38118. in: query
  38119. name: enddate
  38120. required: true
  38121. type: string
  38122. - description: 市场id
  38123. in: query
  38124. name: marketid
  38125. type: integer
  38126. produces:
  38127. - application/json
  38128. responses:
  38129. "200":
  38130. description: OK
  38131. schema:
  38132. items:
  38133. $ref: '#/definitions/models.Wrtradetradequote'
  38134. type: array
  38135. "500":
  38136. description: Internal Server Error
  38137. schema:
  38138. $ref: '#/definitions/app.Response'
  38139. security:
  38140. - ApiKeyAuth: []
  38141. summary: 查询仓单贸易成交行情
  38142. tags:
  38143. - 仓单贸易v2
  38144. /WrTrade2/QueryWrUserFriend:
  38145. get:
  38146. parameters:
  38147. - description: 用户id
  38148. in: query
  38149. name: userid
  38150. required: true
  38151. type: integer
  38152. - description: 新朋友userid, 如果填写了此项则查找新朋友
  38153. in: query
  38154. name: newuserid
  38155. type: integer
  38156. produces:
  38157. - application/json
  38158. responses:
  38159. "200":
  38160. description: OK
  38161. schema:
  38162. items:
  38163. $ref: '#/definitions/models.WrUserFriend'
  38164. type: array
  38165. "500":
  38166. description: Internal Server Error
  38167. schema:
  38168. $ref: '#/definitions/app.Response'
  38169. security:
  38170. - ApiKeyAuth: []
  38171. summary: 查询我的朋友
  38172. tags:
  38173. - 仓单贸易v2
  38174. /WrTrade2/QueryWrUserReceiptInfo:
  38175. get:
  38176. parameters:
  38177. - description: 用户id
  38178. in: query
  38179. name: userid
  38180. type: integer
  38181. - description: 发票类型 - 1:个人 2:企业
  38182. in: query
  38183. name: receipttype
  38184. type: integer
  38185. produces:
  38186. - application/json
  38187. responses:
  38188. "200":
  38189. description: OK
  38190. schema:
  38191. items:
  38192. $ref: '#/definitions/models.WrUserReceiptInfo'
  38193. type: array
  38194. "500":
  38195. description: Internal Server Error
  38196. schema:
  38197. $ref: '#/definitions/app.Response'
  38198. security:
  38199. - ApiKeyAuth: []
  38200. summary: 查询发票信息
  38201. tags:
  38202. - 仓单贸易v2
  38203. /WrTrade2/QueryXhcpSellBackApply:
  38204. get:
  38205. parameters:
  38206. - description: 用户ID
  38207. in: query
  38208. name: userid
  38209. required: true
  38210. type: integer
  38211. produces:
  38212. - application/json
  38213. responses:
  38214. "200":
  38215. description: OK
  38216. schema:
  38217. items:
  38218. $ref: '#/definitions/models.Xhcpsellbackapply'
  38219. type: array
  38220. "500":
  38221. description: Internal Server Error
  38222. schema:
  38223. $ref: '#/definitions/app.Response'
  38224. security:
  38225. - ApiKeyAuth: []
  38226. summary: 查询我的回收申请(新会陈皮)
  38227. tags:
  38228. - 仓单贸易v2
  38229. /ZJ/GetBankTip:
  38230. get:
  38231. produces:
  38232. - application/json
  38233. responses:
  38234. "200":
  38235. description: OK
  38236. schema:
  38237. type: string
  38238. "500":
  38239. description: Internal Server Error
  38240. schema:
  38241. $ref: '#/definitions/app.Response'
  38242. summary: 获取中江网银端出入金提示信息
  38243. tags:
  38244. - 中江
  38245. /ZJ/GetCusBankChannels:
  38246. get:
  38247. produces:
  38248. - application/json
  38249. responses:
  38250. "200":
  38251. description: OK
  38252. schema:
  38253. items:
  38254. type: string
  38255. type: array
  38256. "500":
  38257. description: Internal Server Error
  38258. schema:
  38259. $ref: '#/definitions/app.Response'
  38260. summary: 获取中江出入金渠道显示列表
  38261. tags:
  38262. - 中江
  38263. securityDefinitions:
  38264. ApiKeyAuth:
  38265. in: header
  38266. name: Authorization
  38267. type: apiKey
  38268. Group:
  38269. in: header
  38270. name: Group
  38271. type: apiKey
  38272. LoginID:
  38273. in: header
  38274. name: LoginID
  38275. type: apiKey
  38276. swagger: "2.0"