swagger.yaml 1.0 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096
  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.THJGoodsDetailRsp:
  18469. properties:
  18470. goodsinfo:
  18471. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18472. description: 商品信息
  18473. spotgoodspricelogs:
  18474. description: 历史价格走势
  18475. items:
  18476. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18477. type: array
  18478. type: object
  18479. models.THJPresaleApplyDeposit:
  18480. properties:
  18481. depositid:
  18482. description: 自增ID autoid
  18483. type: string
  18484. depositrate:
  18485. description: 定金比例
  18486. type: number
  18487. discountamount:
  18488. description: 优惠金额(每吨)
  18489. type: number
  18490. presaleapplyid:
  18491. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18492. type: string
  18493. type: object
  18494. models.THJProduct:
  18495. properties:
  18496. bannerpicurl:
  18497. description: Banner图(逗号分隔)
  18498. type: string
  18499. pictureurls:
  18500. description: 详情图片(逗号分隔)
  18501. type: string
  18502. thumurls:
  18503. description: 缩略图片(1:1)(逗号分隔)
  18504. type: string
  18505. wrstandardcode:
  18506. description: 现货商品代码
  18507. type: string
  18508. wrstandardid:
  18509. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18510. type: string
  18511. wrstandardname:
  18512. description: 现货商品名称
  18513. type: string
  18514. type: object
  18515. models.THJPurchaseTradeDetail_Date:
  18516. properties:
  18517. depositrate:
  18518. description: 定金比例
  18519. type: number
  18520. enddate:
  18521. description: 预售结束日期
  18522. type: string
  18523. endmonth:
  18524. description: 交收月份(yyyy-mm)
  18525. type: string
  18526. takestartdate:
  18527. description: 提货开始日期
  18528. type: string
  18529. tradeprice:
  18530. description: 摘牌价格
  18531. type: number
  18532. tradeqty:
  18533. description: 摘牌数量
  18534. type: integer
  18535. transferamount:
  18536. description: 转让金额
  18537. type: number
  18538. transferid:
  18539. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  18540. type: string
  18541. transferprice:
  18542. description: 转让价格
  18543. type: number
  18544. type: object
  18545. models.THJPurchaseTradeDetail_Goodsinfo:
  18546. properties:
  18547. minivalue:
  18548. description: 最小变动值
  18549. type: integer
  18550. minivaluedp:
  18551. description: 最小变动值小数位
  18552. type: integer
  18553. pictureurls:
  18554. description: 详情图片(逗号分隔)
  18555. type: string
  18556. refgoodscode:
  18557. description: 参考商品代码
  18558. type: string
  18559. refgoodsid:
  18560. description: 参考商品ID
  18561. type: integer
  18562. unitid:
  18563. description: 现货商品单位ID
  18564. type: integer
  18565. wrstandardcode:
  18566. description: 现货商品代码
  18567. type: string
  18568. wrstandardid:
  18569. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18570. type: integer
  18571. wrstandardname:
  18572. description: 现货商品名称(模糊查询)
  18573. type: string
  18574. type: object
  18575. models.THJPurchaseTradeDetailRsp:
  18576. properties:
  18577. deliverydate:
  18578. description: 交割日期
  18579. items:
  18580. $ref: '#/definitions/models.THJPurchaseTradeDetail_Date'
  18581. type: array
  18582. goodsinfo:
  18583. $ref: '#/definitions/models.THJPurchaseTradeDetail_Goodsinfo'
  18584. description: 商品信息
  18585. spotgoodspricelogs:
  18586. description: 历史价格走势
  18587. items:
  18588. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18589. type: array
  18590. type: object
  18591. models.THJSigninReq:
  18592. properties:
  18593. userid:
  18594. description: 用户ID
  18595. type: integer
  18596. required:
  18597. - userid
  18598. type: object
  18599. models.THJSigninRsp:
  18600. properties:
  18601. signinstatus:
  18602. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  18603. type: integer
  18604. type: object
  18605. models.THJSpotGoodsPriceLog:
  18606. properties:
  18607. spotgoodsprice:
  18608. description: 现货价格
  18609. type: number
  18610. tradedate:
  18611. description: 交易日(yyyyMMdd)
  18612. type: string
  18613. type: object
  18614. models.THJTradeData:
  18615. properties:
  18616. accountname:
  18617. description: 被推荐人
  18618. type: string
  18619. buytradelot:
  18620. description: 购买笔数
  18621. type: integer
  18622. buytradeqty:
  18623. description: 购买数量
  18624. type: number
  18625. marketid:
  18626. description: 市场ID 采购-64201 供求-65201
  18627. type: integer
  18628. reckondate:
  18629. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  18630. type: string
  18631. selltradelot:
  18632. description: 销售笔数
  18633. type: integer
  18634. selltradeqty:
  18635. description: 销售数量
  18636. type: number
  18637. userid:
  18638. description: 用户ID
  18639. type: integer
  18640. wrstandardname:
  18641. description: 现货商品名称
  18642. type: string
  18643. required:
  18644. - marketid
  18645. - userid
  18646. type: object
  18647. models.THJUserLevelInfo:
  18648. properties:
  18649. appup:
  18650. description: 晋升已累计的数量
  18651. type: integer
  18652. checkday:
  18653. description: 最近一次考核日
  18654. type: string
  18655. levelgroup:
  18656. description: 当前等级
  18657. type: string
  18658. nextlevelgroup:
  18659. description: 下一等级
  18660. type: string
  18661. notyet:
  18662. description: 晋升还差多少数量
  18663. type: integer
  18664. progress:
  18665. description: 进度
  18666. type: number
  18667. type: object
  18668. models.THJWrstandard:
  18669. properties:
  18670. areauserid:
  18671. description: 所属机构
  18672. type: integer
  18673. bannerpicurl:
  18674. description: Banner图(逗号分隔)
  18675. type: string
  18676. convertfactor:
  18677. description: 标仓系数
  18678. type: number
  18679. deliverygoodsid:
  18680. description: 现货品种ID
  18681. type: integer
  18682. isvalid:
  18683. description: 是否有效 - 0:无效 1:有效
  18684. type: integer
  18685. minivalue:
  18686. description: 最小变动值
  18687. type: integer
  18688. minivaluedp:
  18689. description: 最小变动值小数位
  18690. type: integer
  18691. pictureurls:
  18692. description: 详情图片(逗号分隔)
  18693. type: string
  18694. realminivalue:
  18695. description: 实际最小变动值
  18696. type: integer
  18697. realminivaluedp:
  18698. description: 实际最小变动值小数位
  18699. type: integer
  18700. storagefee:
  18701. description: '仓储费(固定: 111)'
  18702. type: number
  18703. thumurls:
  18704. description: 缩略图片(1:1)(逗号分隔)
  18705. type: string
  18706. unitid:
  18707. description: 现货商品单位ID
  18708. type: integer
  18709. vatrate:
  18710. description: 现货增值税率
  18711. type: number
  18712. wrsstatus:
  18713. description: 状态 - 作废 - 0:未激活 1:正常
  18714. type: integer
  18715. wrstandardcode:
  18716. description: 现货商品代码
  18717. type: string
  18718. wrstandardid:
  18719. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18720. type: integer
  18721. wrstandardname:
  18722. description: 现货商品名称(模糊查询)
  18723. type: string
  18724. type: object
  18725. models.THJWrstandardDetail_GoodsInfo:
  18726. properties:
  18727. bannerpicurl:
  18728. description: Banner图(逗号分隔)
  18729. type: string
  18730. pictureurls:
  18731. description: 详情图片(逗号分隔)
  18732. type: string
  18733. spotgoodsprice:
  18734. description: 现货价格
  18735. type: number
  18736. unitid:
  18737. description: 现货商品单位ID
  18738. type: integer
  18739. wrstandardcode:
  18740. description: 现货商品代码
  18741. type: string
  18742. wrstandardid:
  18743. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18744. type: integer
  18745. wrstandardname:
  18746. description: 现货商品名称
  18747. type: string
  18748. type: object
  18749. models.THJWrstandardDetailRsp:
  18750. properties:
  18751. deliverymodes:
  18752. description: 交割方式
  18753. items:
  18754. $ref: '#/definitions/models.THJDeliveryMode'
  18755. type: array
  18756. deliverymonth:
  18757. description: 交割月份
  18758. items:
  18759. $ref: '#/definitions/models.THJDeliveryMonth'
  18760. type: array
  18761. goodsinfo:
  18762. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18763. description: 商品信息
  18764. presaleapplydeposits:
  18765. description: 支付方式
  18766. items:
  18767. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  18768. type: array
  18769. spotgoodspricelogs:
  18770. description: 历史价格走势
  18771. items:
  18772. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18773. type: array
  18774. type: object
  18775. models.Taaccount:
  18776. properties:
  18777. accountflag:
  18778. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  18779. type: integer
  18780. accountid:
  18781. description: 资金账户ID
  18782. type: integer
  18783. accountname:
  18784. description: 账户名称
  18785. type: string
  18786. balance:
  18787. description: 期初余额
  18788. type: number
  18789. capitalbalance:
  18790. description: 本金余额[外部子账户实际出入金余额]
  18791. type: number
  18792. changeflag:
  18793. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  18794. type: integer
  18795. changetime:
  18796. description: 账户状态变更时间
  18797. type: string
  18798. closepl:
  18799. description: 今日平仓盈亏
  18800. type: number
  18801. creditdecrease:
  18802. description: 今日授信减少
  18803. type: number
  18804. creditincrease:
  18805. description: 今日授信增加
  18806. type: number
  18807. curamount:
  18808. description: 总市值(从持仓中统计)
  18809. type: number
  18810. currencyid:
  18811. description: 货币ID
  18812. type: integer
  18813. currentbalance:
  18814. description: 期末余额
  18815. type: number
  18816. freezecharge:
  18817. description: 手续费冻结
  18818. type: number
  18819. freezemargin:
  18820. description: 冻结保证金
  18821. type: number
  18822. fromaccountid:
  18823. description: 所属上级账户
  18824. type: integer
  18825. inamount:
  18826. description: 今日入金金额(包括三方入金)
  18827. type: number
  18828. ismain:
  18829. description: 是否母账号 0:不是母账户 1:是母账户
  18830. type: integer
  18831. ismarketaccount:
  18832. description: 是否机构接单账号 0:不是 1:是
  18833. type: integer
  18834. isreckonaccount:
  18835. description: 是否机构分润账号 0:不是 1:是
  18836. type: integer
  18837. mortgagecredit:
  18838. description: 授信金额
  18839. type: number
  18840. orifreezecharge:
  18841. description: 期初手续费冻结
  18842. type: number
  18843. orifreezemargin:
  18844. description: 期初冻结保证金
  18845. type: number
  18846. orimortgagecredit:
  18847. description: 期初授信金额
  18848. type: number
  18849. oriothercredit:
  18850. description: 期初其它授信金额
  18851. type: number
  18852. oriotherfreezemargin:
  18853. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  18854. type: number
  18855. orioutamountfreeze:
  18856. description: 期初出金冻结
  18857. type: number
  18858. oriusedmargin:
  18859. description: 期初占用保证金
  18860. type: number
  18861. othercredit:
  18862. description: 其它授信金额
  18863. type: number
  18864. othercreditdecrease:
  18865. description: 今日其它授信减少
  18866. type: number
  18867. othercreditincrease:
  18868. description: 今日其它授信增加
  18869. type: number
  18870. otherfreezemargin:
  18871. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  18872. type: number
  18873. otherincome:
  18874. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  18875. type: number
  18876. otherpay:
  18877. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  18878. type: number
  18879. outamount:
  18880. description: 今日出金金额(包括三方出金)
  18881. type: number
  18882. outamountfreeze:
  18883. description: 出金冻结
  18884. type: number
  18885. outthreshold:
  18886. description: 出金阈值
  18887. type: number
  18888. parentaccountid:
  18889. description: 所属根账号
  18890. type: integer
  18891. paycharge:
  18892. description: 今日手续费支出
  18893. type: number
  18894. relatedaccountstatus:
  18895. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  18896. type: integer
  18897. relateduserid:
  18898. description: 关联用户
  18899. type: integer
  18900. remainamount:
  18901. description: 融资额(从融资合同中统计)
  18902. type: number
  18903. serivcegroup:
  18904. description: 服务分组
  18905. type: integer
  18906. signstatus:
  18907. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  18908. type: integer
  18909. sublevelpath:
  18910. description: 账号层级路径(逗号分隔,首尾加逗号)
  18911. type: string
  18912. taaccounttype:
  18913. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18914. type: integer
  18915. thirdinamount:
  18916. description: 今日三方入金
  18917. type: number
  18918. thirdoutamount:
  18919. description: 今日三方出金
  18920. type: number
  18921. tradestatus:
  18922. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  18923. type: integer
  18924. tradestatuschangetime:
  18925. description: 激活时间
  18926. type: string
  18927. transferamount:
  18928. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  18929. type: number
  18930. usedmargin:
  18931. description: 占用保证金
  18932. type: number
  18933. userid:
  18934. description: 用户ID
  18935. type: integer
  18936. required:
  18937. - accountid
  18938. - userid
  18939. type: object
  18940. models.Tablecolumnconfig:
  18941. properties:
  18942. aligntype:
  18943. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  18944. type: integer
  18945. autoid:
  18946. description: AutoID
  18947. type: integer
  18948. columnfield:
  18949. description: 列字段
  18950. type: string
  18951. columntitle:
  18952. description: 列Title
  18953. type: string
  18954. columnwidth:
  18955. description: 列宽
  18956. type: string
  18957. fixed:
  18958. description: 固定类型 - 空 | left | right
  18959. type: string
  18960. formatterstring:
  18961. description: 格式化字符
  18962. type: string
  18963. formattertype:
  18964. description: 格式化类型
  18965. type: string
  18966. groupname:
  18967. description: 表头分组名称
  18968. type: string
  18969. ismerge:
  18970. description: 是否合并显示 - 0:不合并 1:合并
  18971. type: integer
  18972. isshow:
  18973. description: 是否显示 - 0:不显示 1:显示
  18974. type: integer
  18975. needsummary:
  18976. description: 是否需要汇总 - 0:不需要 1:需要
  18977. type: integer
  18978. orderindex:
  18979. description: 顺序
  18980. type: integer
  18981. remark:
  18982. description: 备注
  18983. type: string
  18984. summarytype:
  18985. description: 汇总类型 - 1:加总 2:最后一个
  18986. type: integer
  18987. tablekey:
  18988. description: 列表Key
  18989. type: string
  18990. required:
  18991. - autoid
  18992. type: object
  18993. models.Thjpurchasetradedetail:
  18994. properties:
  18995. buyaccountid:
  18996. description: 买方账号ID
  18997. type: integer
  18998. buychargevalue:
  18999. description: 买方到期手续费
  19000. type: number
  19001. buyconfirmremark:
  19002. description: 买方确认备注
  19003. type: string
  19004. buyconfirmtime:
  19005. description: 买方确认时间
  19006. type: string
  19007. buyfreezecharge:
  19008. description: 买方摘牌冻结手续费
  19009. type: number
  19010. buyuserid:
  19011. description: 买方用户ID
  19012. type: integer
  19013. contactinfo:
  19014. description: 联系方式
  19015. type: string
  19016. contactname:
  19017. description: 联系人姓名
  19018. type: string
  19019. contractaddrbuy:
  19020. description: 贸易合同地址(买家)
  19021. type: string
  19022. contractaddrsell:
  19023. description: 贸易合同地址(卖家)
  19024. type: string
  19025. createtime:
  19026. description: 预售挂牌时间
  19027. type: string
  19028. deliverygoodsid:
  19029. description: 现货品种ID
  19030. type: integer
  19031. depositrate:
  19032. description: 定金比例
  19033. type: number
  19034. desaddress:
  19035. description: 目的地地址
  19036. type: string
  19037. discountamount:
  19038. description: 优惠总金额(优惠金额*TradeQty)
  19039. type: number
  19040. enddate:
  19041. description: 到期日期
  19042. type: string
  19043. enddatemonth:
  19044. description: 交收月份(提货日期)
  19045. type: string
  19046. handlestatus:
  19047. description: 处理状态
  19048. type: integer
  19049. lastamount:
  19050. description: 到期总货款 = 到期价格 * 摘牌数量
  19051. type: number
  19052. lastprice:
  19053. description: '[实际价]到期价格'
  19054. type: number
  19055. lastpricedate:
  19056. description: 到期价格日期 - 暂不使用
  19057. type: string
  19058. marketid:
  19059. description: 市场ID
  19060. type: integer
  19061. orderstatus:
  19062. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  19063. (枚举:THJOrderStatus)
  19064. type: integer
  19065. payeddeposit:
  19066. description: '[定金]买方已付定金(预付款)'
  19067. type: number
  19068. payedtradedate:
  19069. description: 支付尾款成功交易日
  19070. type: string
  19071. presaleapplyid:
  19072. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19073. type: string
  19074. presalestatus:
  19075. description: 预留状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19076. type: integer
  19077. receiptinfo:
  19078. description: 发票信息
  19079. type: string
  19080. remainamount:
  19081. description: '[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额'
  19082. type: number
  19083. sellaccountid:
  19084. description: 卖方账号ID
  19085. type: integer
  19086. sellchargevalue:
  19087. description: 卖方到期手续费
  19088. type: number
  19089. sellconfirmattach:
  19090. description: 卖方确认附件
  19091. type: string
  19092. sellconfirmremark:
  19093. description: 卖方确认备注
  19094. type: string
  19095. sellconfirmtime:
  19096. description: 卖方确认时间
  19097. type: string
  19098. sellconfirmtradedate:
  19099. description: 卖方确认交易日
  19100. type: string
  19101. selluserid:
  19102. description: 卖方用户ID
  19103. type: integer
  19104. thjdeliverymode:
  19105. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19106. type: integer
  19107. thjdeliverymodedisplay:
  19108. description: 提货方式
  19109. type: string
  19110. thjorderstatusdisplay:
  19111. description: 状态
  19112. type: string
  19113. tradeamount:
  19114. description: 摘牌总货款
  19115. type: number
  19116. tradedate:
  19117. description: 交易日(yyyyMMdd)
  19118. type: string
  19119. tradeprice:
  19120. description: 摘牌价格 - 参考价
  19121. type: number
  19122. tradeqty:
  19123. description: '[预售价]摘牌数量'
  19124. type: integer
  19125. tradetime:
  19126. description: 摘牌时间(委托时间)
  19127. type: string
  19128. transferprice:
  19129. description: 转让价格 - 购买价
  19130. type: number
  19131. unitid:
  19132. description: 商品单位
  19133. type: integer
  19134. warehouseid:
  19135. description: 仓库ID
  19136. type: integer
  19137. warehousename:
  19138. description: 仓库名称
  19139. type: string
  19140. wrfactortypeid:
  19141. description: 仓单要素类型ID
  19142. type: string
  19143. wrstandardid:
  19144. description: 现货商品ID
  19145. type: integer
  19146. wrstandardname:
  19147. description: 现货商品名称
  19148. type: string
  19149. wrtradedetailid:
  19150. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19151. type: string
  19152. required:
  19153. - buyuserid
  19154. type: object
  19155. models.Thjpurchasetransfer:
  19156. properties:
  19157. buyaccountid:
  19158. description: 买方账号ID
  19159. type: integer
  19160. buyuserid:
  19161. description: 买方用户ID
  19162. type: integer
  19163. contractaddr:
  19164. description: 协议转让合同地址
  19165. type: string
  19166. createtime:
  19167. description: 转让挂牌时间
  19168. type: string
  19169. deliverygoodsid:
  19170. description: 现货品种ID
  19171. type: integer
  19172. enddate:
  19173. description: 到期日期
  19174. type: string
  19175. enddatemonth:
  19176. description: 交收月份(提货日期)
  19177. type: string
  19178. handlestatus:
  19179. description: 处理状态
  19180. type: integer
  19181. marketid:
  19182. description: 市场ID(固定为(64202)
  19183. type: integer
  19184. ordertype:
  19185. description: 类型 - 1:转让委托 - 挂牌中(卖方) 2:转让成交(卖方) 3:转让委托 - 已完成(卖方)
  19186. type: integer
  19187. payeddeposit:
  19188. description: 买方已付定金(预付款)
  19189. type: number
  19190. presaleapplyid:
  19191. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19192. type: string
  19193. presalestatus:
  19194. description: 预售状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19195. type: integer
  19196. remark:
  19197. description: 备注
  19198. type: string
  19199. sellaccountid:
  19200. description: 卖方账号ID
  19201. type: integer
  19202. sellcharge:
  19203. description: 卖方手续费值
  19204. type: number
  19205. sellchargealgorithm:
  19206. description: 卖方手续费收取方式 1:比率 2:固定
  19207. type: integer
  19208. sellchargealgorithmvalue:
  19209. description: 手续费设置值(交易所部分)
  19210. type: number
  19211. selluserid:
  19212. description: 卖方用户ID
  19213. type: integer
  19214. tradedate:
  19215. description: 交易日(yyyyMMdd)
  19216. type: string
  19217. tradeprice:
  19218. description: 参考价
  19219. type: number
  19220. transferamount:
  19221. description: 转让金额
  19222. type: number
  19223. transferid:
  19224. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  19225. type: string
  19226. transferprice:
  19227. description: 转让价格
  19228. type: number
  19229. transferqty:
  19230. description: 数量
  19231. type: integer
  19232. transferstatus:
  19233. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19234. type: integer
  19235. transfertradedate:
  19236. description: 转让交易日
  19237. type: string
  19238. transfertradetime:
  19239. description: 转让成交时间
  19240. type: string
  19241. unitid:
  19242. description: 现货商品单位ID
  19243. type: integer
  19244. warehouseid:
  19245. description: 仓库ID
  19246. type: integer
  19247. wrfactortypeid:
  19248. description: 仓单要素类型ID
  19249. type: string
  19250. wrstandardid:
  19251. description: 现货商品ID
  19252. type: integer
  19253. wrstandardname:
  19254. description: 现货商品名称
  19255. type: string
  19256. wrtradedetailid:
  19257. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19258. type: string
  19259. required:
  19260. - ordertype
  19261. type: object
  19262. models.ThjpurchasetransferDetail:
  19263. properties:
  19264. buyusername:
  19265. description: 受让人
  19266. type: string
  19267. contactinfo:
  19268. description: 联系方式
  19269. type: string
  19270. contactname:
  19271. description: 联系人姓名
  19272. type: string
  19273. contractaddr:
  19274. description: 协议转让合同地址
  19275. type: string
  19276. contractaddrbuy:
  19277. description: 贸易合同地址(买家)
  19278. type: string
  19279. contractaddrsell:
  19280. description: 贸易合同地址(卖家)
  19281. type: string
  19282. createtime:
  19283. description: 转让委托时间
  19284. type: string
  19285. depositrate:
  19286. description: 定金比例
  19287. type: number
  19288. desaddress:
  19289. description: 目的地地址
  19290. type: string
  19291. enddate:
  19292. description: 到期日期
  19293. type: string
  19294. enddatemonth:
  19295. description: 交收月份(提货日期)
  19296. type: string
  19297. lastprice:
  19298. description: '[实际价]到期价格'
  19299. type: number
  19300. payeddeposit:
  19301. description: 买方已付定金(预付款(含定金))
  19302. type: number
  19303. receiptinfo:
  19304. description: 发票信息
  19305. type: string
  19306. sellusername:
  19307. description: 转让人
  19308. type: string
  19309. thjdeliverymode:
  19310. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19311. type: integer
  19312. tradeprice:
  19313. description: 预售价格
  19314. type: number
  19315. transferamount:
  19316. description: 转让金额
  19317. type: number
  19318. transferid:
  19319. description: 转让单号
  19320. type: string
  19321. transferprice:
  19322. description: 转让价格
  19323. type: number
  19324. transferqty:
  19325. description: 转让数量
  19326. type: integer
  19327. transferstatus:
  19328. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19329. type: integer
  19330. transfertradetime:
  19331. description: 转让成交时间
  19332. type: string
  19333. warehousename:
  19334. description: 仓库名称
  19335. type: string
  19336. wrstandardcode:
  19337. description: 现货商品代码
  19338. type: string
  19339. wrstandardid:
  19340. description: 现货商品ID
  19341. type: integer
  19342. wrstandardname:
  19343. description: 现货商品名称
  19344. type: string
  19345. wrtradedetailid:
  19346. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19347. type: string
  19348. type: object
  19349. models.Thjscoreconfig:
  19350. properties:
  19351. parma1:
  19352. description: 参数1
  19353. type: integer
  19354. parma2:
  19355. description: 参数2
  19356. type: integer
  19357. parma3:
  19358. description: 参数3
  19359. type: integer
  19360. parma4:
  19361. description: 参数4
  19362. type: integer
  19363. parma5:
  19364. description: 参数5
  19365. type: integer
  19366. parma6:
  19367. description: 参数6
  19368. type: integer
  19369. parma7:
  19370. description: 参数6
  19371. type: integer
  19372. scoreconfigtype:
  19373. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  19374. 7:抽奖得红包
  19375. type: integer
  19376. type: object
  19377. models.Thjspotquoteconfig:
  19378. properties:
  19379. autoid:
  19380. description: 自增ID(SEQ_THJ_SPOTQUOTECONFIG)
  19381. type: integer
  19382. relatedid:
  19383. description: 关联新闻ID(Site_ColumnDetail)
  19384. type: integer
  19385. spotmonth:
  19386. description: 现货月份(yyyy-MM)
  19387. type: string
  19388. spotname:
  19389. description: 现货名称
  19390. type: string
  19391. spotprice:
  19392. description: 现货招标价
  19393. type: string
  19394. spotqty:
  19395. description: 现货采购量
  19396. type: string
  19397. spotsrc:
  19398. description: 现货来源
  19399. type: string
  19400. updatetime:
  19401. description: 更新时间
  19402. type: string
  19403. type: object
  19404. models.TjmdHolderDetailTradeInfo:
  19405. properties:
  19406. agreeunit:
  19407. description: 合约乘数
  19408. type: number
  19409. buyaccountid:
  19410. description: 买方账户
  19411. type: string
  19412. buyusername:
  19413. description: 买方
  19414. type: string
  19415. delistingdate:
  19416. description: 最后结算日
  19417. type: string
  19418. expiredate:
  19419. description: 到期结算价定价日
  19420. type: string
  19421. exprieprice:
  19422. description: 到期清算价格
  19423. type: string
  19424. goodscode:
  19425. description: 商品代码
  19426. type: string
  19427. goodsid:
  19428. description: 商品ID
  19429. type: integer
  19430. goodsname:
  19431. description: 商品名称(交易标的)
  19432. type: string
  19433. lasttradedate:
  19434. description: 最后交易日
  19435. type: string
  19436. listingdate:
  19437. description: 开始交易日
  19438. type: string
  19439. openprice:
  19440. description: 成交价
  19441. type: number
  19442. openqty:
  19443. description: 交易数量
  19444. type: integer
  19445. sellaccountid:
  19446. description: 卖方账户
  19447. type: string
  19448. sellusername:
  19449. description: 卖方
  19450. type: string
  19451. tradeamount:
  19452. description: 初始名义价值
  19453. type: number
  19454. tradedate:
  19455. description: 成交日期
  19456. type: string
  19457. tradeid:
  19458. description: 成交编号
  19459. type: string
  19460. type: object
  19461. models.TjmdMarketSection:
  19462. properties:
  19463. marketsectionid:
  19464. description: 市场版块ID(SEQ_MARKETSECTION)
  19465. type: integer
  19466. marketsectionname:
  19467. description: 市场版块名称
  19468. type: string
  19469. mlist:
  19470. description: 市场列表(板块下面有多少个市场)
  19471. items:
  19472. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  19473. type: array
  19474. orderindex:
  19475. description: 排序
  19476. type: integer
  19477. pictureurl:
  19478. description: 图片url, 规格(90*90)
  19479. type: string
  19480. remark:
  19481. description: 备注
  19482. type: string
  19483. type: object
  19484. models.TjmdMarketSectionConfig:
  19485. properties:
  19486. auctionwrtype:
  19487. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  19488. type: integer
  19489. canacceptquote:
  19490. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  19491. type: integer
  19492. cangoodsexercise:
  19493. description: '[期权]是否可现货行权- 0:否 1:是'
  19494. type: integer
  19495. cangoodsexercisetype:
  19496. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  19497. type: integer
  19498. canmanualquotestrike:
  19499. description: 是否可手动报行权价- 0:否 1:是 [期权]
  19500. type: integer
  19501. canmutistage:
  19502. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  19503. type: integer
  19504. canpreexercise:
  19505. description: '[期权]是否可预申报- 0:否 1:是'
  19506. type: integer
  19507. clearinterval:
  19508. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  19509. type: integer
  19510. contracttmp:
  19511. description: 合同模板[荷兰式][竞价式][仓单贸易]
  19512. type: string
  19513. exchareaid:
  19514. description: 所属交易所,可以没有
  19515. type: integer
  19516. financemarketid:
  19517. description: 融资回购市场ID [仓单贸易]
  19518. type: integer
  19519. goodstype:
  19520. description: 商品类型 - 1:交易商品 2:仓单商品
  19521. type: integer
  19522. hasrebate:
  19523. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  19524. type: integer
  19525. hastradecredit:
  19526. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  19527. type: integer
  19528. haswr:
  19529. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  19530. type: integer
  19531. isdeductmargin:
  19532. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  19533. type: integer
  19534. isrecordsource:
  19535. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  19536. type: integer
  19537. isreleasemargin:
  19538. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  19539. type: integer
  19540. isupdatereckonprice:
  19541. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  19542. type: integer
  19543. listingmode:
  19544. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19545. type: integer
  19546. marginformula:
  19547. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19548. type: integer
  19549. marginformula2:
  19550. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19551. type: integer
  19552. marketid:
  19553. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  19554. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  19555. type: integer
  19556. marketname:
  19557. description: 市场名称
  19558. type: string
  19559. marketsectionid:
  19560. description: 市场版块ID(SEQ_MARKETSECTION)
  19561. type: integer
  19562. marketserviceid:
  19563. description: 市场服务ID
  19564. type: integer
  19565. marketstatus:
  19566. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  19567. type: integer
  19568. markettype:
  19569. description: 市场类型- 1:非交易服务 2:交易服务
  19570. type: integer
  19571. matchermode:
  19572. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  19573. type: integer
  19574. nowrquotaflag:
  19575. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  19576. type: integer
  19577. openmethod:
  19578. description: 开盘模式 - 0 自动 1手动
  19579. type: integer
  19580. orderindex:
  19581. description: 排序
  19582. type: integer
  19583. otcuserid:
  19584. description: 场外期权做市商[场外期权]
  19585. type: integer
  19586. outersynctime:
  19587. description: 外部同步时间点(h24:mi:ss)[场外期权]
  19588. type: string
  19589. paylaterflag:
  19590. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  19591. type: integer
  19592. pendingflag:
  19593. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  19594. type: integer
  19595. pendingtime:
  19596. description: 待开市时间[通道交易-对冲](HH:mm)
  19597. type: string
  19598. performancetempid:
  19599. description: 履约计划模板ID - 作废
  19600. type: integer
  19601. premiumquotemode:
  19602. description: 权利金报价方式 - 1:自动 2:手动
  19603. type: integer
  19604. rebateratio:
  19605. description: 返利比率[竞价式]
  19606. type: number
  19607. reckonorder:
  19608. description: 结算顺序
  19609. type: integer
  19610. reckonpricealgorithm:
  19611. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  19612. 6.卖一价 7.买一卖一均价 8.外部结算价'
  19613. type: integer
  19614. reckonpriceparam:
  19615. description: 结算价参数
  19616. type: integer
  19617. reckontime:
  19618. description: 结算时间[通道交易-对冲](HH:mm)
  19619. type: string
  19620. roleprioritytype:
  19621. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  19622. type: integer
  19623. selllistingauditflag:
  19624. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  19625. type: integer
  19626. trademarkettype:
  19627. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  19628. type: integer
  19629. trademode:
  19630. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19631. 21:竞拍-大宗式 22:受托竞价
  19632. type: integer
  19633. tradeproperty:
  19634. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  19635. 8:场外期权
  19636. type: integer
  19637. tradetype:
  19638. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  19639. type: integer
  19640. updatereckonpriceinterval:
  19641. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  19642. type: integer
  19643. type: object
  19644. models.TjmdQuoteGoods:
  19645. properties:
  19646. buyqty:
  19647. description: 买量(暂不做, 无值, 保留字段)
  19648. type: number
  19649. decimalplace:
  19650. description: 报价小数位
  19651. type: integer
  19652. goodscode:
  19653. description: 合约代码
  19654. type: string
  19655. goodsgroupid:
  19656. description: 商品组ID(自增ID)
  19657. type: integer
  19658. goodsgroupname:
  19659. description: 商品组名称
  19660. type: string
  19661. goodsid:
  19662. description: 合约id
  19663. type: integer
  19664. goodsname:
  19665. description: 合约名称
  19666. type: string
  19667. refgoodscode:
  19668. description: 标的合约代码
  19669. type: string
  19670. refgoodsid:
  19671. description: 标的合约id
  19672. type: integer
  19673. refgoodsname:
  19674. description: 标的合约名称
  19675. type: string
  19676. sellqty:
  19677. description: 卖量(暂不做, 无值, 保留字段)
  19678. type: number
  19679. type: object
  19680. models.TjmdTodayAccountMargin:
  19681. properties:
  19682. accountid:
  19683. description: 账号ID
  19684. type: integer
  19685. goodsid:
  19686. description: 商品ID
  19687. type: integer
  19688. infoc:
  19689. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  19690. description: 配置参数
  19691. marketid:
  19692. description: 市场ID
  19693. type: integer
  19694. type: object
  19695. models.TjmdTradeOrderDetail:
  19696. properties:
  19697. buyorsell:
  19698. description: 买卖方向 0-买 1-卖
  19699. type: integer
  19700. goodsid:
  19701. description: 商品id
  19702. type: integer
  19703. marketmaxsub:
  19704. description: 市价最大偏移范围 [浮动价 - 点差]
  19705. type: number
  19706. orderid:
  19707. description: 委托单号
  19708. type: string
  19709. orderprice:
  19710. description: 期初均价
  19711. type: number
  19712. orderqty:
  19713. description: 委托数量
  19714. type: integer
  19715. pricemode:
  19716. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  19717. type: integer
  19718. userid:
  19719. description: 用户id
  19720. type: integer
  19721. username:
  19722. description: 用户名称(已脱敏)
  19723. type: string
  19724. type: object
  19725. models.TjmdTransferApply:
  19726. properties:
  19727. applyid:
  19728. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  19729. type: integer
  19730. applystatus:
  19731. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  19732. type: integer
  19733. applytime:
  19734. description: 申请时间(时间)
  19735. type: string
  19736. auditremark:
  19737. description: 审核备注(拒绝原因?)
  19738. type: string
  19739. begindate:
  19740. description: 开始交易日(yyyymmdd)
  19741. type: string
  19742. buyorsell:
  19743. description: 买卖 - 0:买 1:卖
  19744. type: integer
  19745. enddate:
  19746. description: 结束交易日(yyyymmdd)
  19747. type: string
  19748. goodscode:
  19749. description: 商品代码
  19750. type: string
  19751. goodsid:
  19752. description: 商品ID
  19753. type: integer
  19754. goodsname:
  19755. description: 商品名称
  19756. type: string
  19757. marketid:
  19758. description: 市场ID
  19759. type: integer
  19760. qty:
  19761. description: 期初均价
  19762. type: number
  19763. tradeid:
  19764. description: 成交单号(关联持仓)
  19765. type: string
  19766. transferamount:
  19767. description: 转让总金额(金额)
  19768. type: number
  19769. transferprice:
  19770. description: 转让价格(协议价格)
  19771. type: number
  19772. type: object
  19773. models.TradeHolderDetail:
  19774. properties:
  19775. accountid:
  19776. description: 账号ID
  19777. type: integer
  19778. agreeunit:
  19779. description: 合约乘数
  19780. type: number
  19781. buyorsell:
  19782. description: 方向 - 0:买 1:卖
  19783. type: integer
  19784. currencyid:
  19785. description: 商品币种id
  19786. type: integer
  19787. currencyname:
  19788. description: 币种名称
  19789. type: string
  19790. decimalplace:
  19791. description: 商品价格小数位
  19792. type: integer
  19793. enumdicname:
  19794. description: 商品单位名称
  19795. type: string
  19796. expirecycle:
  19797. description: 行权周期(天) - 1:滚动行权时填写
  19798. type: integer
  19799. expiredate:
  19800. description: 行权日(yyyyMMdd) - 到期日
  19801. type: string
  19802. expiretype:
  19803. description: 行权日类型 - 1:滚动行权 2:固定日行权
  19804. type: integer
  19805. freezeqty:
  19806. description: 期初均价
  19807. type: number
  19808. goodscode:
  19809. description: 商品代码
  19810. type: string
  19811. goodsid:
  19812. description: 商品ID
  19813. type: integer
  19814. goodsname:
  19815. description: 商品名称
  19816. type: string
  19817. goodunitid:
  19818. description: 商品单位id
  19819. type: integer
  19820. holderamount:
  19821. description: 持仓金额
  19822. type: number
  19823. holdercredit:
  19824. description: 持仓授信金额
  19825. type: number
  19826. holderdays:
  19827. description: 剩余冻结天数
  19828. type: integer
  19829. holderprice:
  19830. description: 持仓价格
  19831. type: number
  19832. holderqty:
  19833. description: 期初均价
  19834. type: number
  19835. isconfirmexercise:
  19836. description: 是否确认行权- 0:否 1:是
  19837. type: integer
  19838. ispreexercise:
  19839. description: 是否预申报- 0:否 1:是 2:不可行权
  19840. type: integer
  19841. marketid:
  19842. description: 市场id
  19843. type: integer
  19844. marketname:
  19845. description: 市场名称
  19846. type: string
  19847. openprice:
  19848. description: 建仓价格
  19849. type: number
  19850. openqty:
  19851. description: 期初均价
  19852. type: number
  19853. optiontype:
  19854. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19855. type: integer
  19856. preexerciseprice:
  19857. description: 预申报价格
  19858. type: number
  19859. premium:
  19860. description: 权利金
  19861. type: number
  19862. qtydecimalplace:
  19863. description: 商品成交量小数位
  19864. type: integer
  19865. refgoodscode:
  19866. description: 标的合约代码
  19867. type: string
  19868. refgoodsid:
  19869. description: 标的合约id
  19870. type: integer
  19871. releaseamount:
  19872. description: 释放持仓金额
  19873. type: number
  19874. releaseholdercredit:
  19875. description: 释放持仓授信金额
  19876. type: number
  19877. taname:
  19878. description: 资金账号名称
  19879. type: string
  19880. tradeamount:
  19881. description: 成交金额
  19882. type: number
  19883. tradedate:
  19884. description: 交易日(yyyyMMdd)
  19885. type: string
  19886. tradeid:
  19887. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19888. type: string
  19889. trademode:
  19890. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19891. 21:竞拍-大宗式 22:受托竞价 46:掉期
  19892. type: integer
  19893. tradeproperty:
  19894. description: 交易属性
  19895. type: integer
  19896. tradetime:
  19897. description: 交易时间
  19898. type: string
  19899. userid:
  19900. description: 用户id
  19901. type: integer
  19902. username:
  19903. description: 用户名称
  19904. type: string
  19905. type: object
  19906. models.Unlinkermcphedgeplan:
  19907. properties:
  19908. accountid:
  19909. description: 期货账户ID - 作废
  19910. type: integer
  19911. accountname:
  19912. description: 交易用户
  19913. type: string
  19914. applyid:
  19915. description: 申请人
  19916. type: integer
  19917. applysrc:
  19918. description: 申请来源 - 1:管理端 2:终端
  19919. type: integer
  19920. applytime:
  19921. description: 申请时间
  19922. type: string
  19923. areauserid:
  19924. description: '[企业ID]机构ID'
  19925. type: integer
  19926. auditid:
  19927. description: 审核人
  19928. type: integer
  19929. auditremark:
  19930. description: 审核备注
  19931. type: string
  19932. auditsrc:
  19933. description: 审核来源 - 1:管理端 2:终端
  19934. type: integer
  19935. audittime:
  19936. description: 审核时间
  19937. type: string
  19938. audittradedate:
  19939. description: 审核交易日(yyyyMMdd)
  19940. type: string
  19941. biztype:
  19942. description: 业务类型 - 1:套保
  19943. type: integer
  19944. contracttype:
  19945. description: 计划类型 - 1:采购 -1:销售
  19946. type: integer
  19947. convertfactor:
  19948. description: 标仓系数 - 作废
  19949. type: number
  19950. createtime:
  19951. description: 创建时间
  19952. type: string
  19953. currencyid:
  19954. description: 结算币种ID - 作废
  19955. type: integer
  19956. deliverygoodsid:
  19957. description: 现货品种ID
  19958. type: integer
  19959. enumdicname:
  19960. description: 结算币种
  19961. type: string
  19962. hedgeplanid:
  19963. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  19964. type: string
  19965. hedgeplanno:
  19966. description: '[计划编号]套保计划编号,模糊查询'
  19967. type: string
  19968. hedgeplanstatus:
  19969. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  19970. type: integer
  19971. isrelated:
  19972. description: 是否已关联计划项目 - 0:否 1:是
  19973. type: integer
  19974. planqty:
  19975. description: '[计划量]计划数量'
  19976. type: number
  19977. plantime:
  19978. description: 计划时间
  19979. type: string
  19980. producttype:
  19981. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  19982. type: integer
  19983. remark:
  19984. description: 备注
  19985. type: string
  19986. spotgoodsdesc:
  19987. description: 商品型号
  19988. type: string
  19989. tradedate:
  19990. description: 交易日(yyyyMMdd)
  19991. type: string
  19992. tradeuserid:
  19993. description: 交易用户ID
  19994. type: integer
  19995. updatetime:
  19996. description: 更新时间
  19997. type: string
  19998. wrstandardid:
  19999. description: 现货商品ID
  20000. type: integer
  20001. wrstandardname:
  20002. description: 现货商品,模糊查询
  20003. type: string
  20004. required:
  20005. - areauserid
  20006. type: object
  20007. models.UserCollectConfig:
  20008. properties:
  20009. accountstatus:
  20010. description: 账户状态 - 1:正常 2:停用 3:注销
  20011. type: integer
  20012. collectaccountname:
  20013. description: 收款人账户名称
  20014. type: string
  20015. collectaccountno:
  20016. description: 收款人账户
  20017. type: string
  20018. collectbankname:
  20019. description: 收款人开户行
  20020. type: string
  20021. collectbranchbankname:
  20022. description: 收款人开户支行
  20023. type: string
  20024. collectconfigid:
  20025. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  20026. type: string
  20027. remark:
  20028. description: 备注
  20029. type: string
  20030. userid:
  20031. description: 收款人用户ID
  20032. type: integer
  20033. type: object
  20034. models.UserReceiveInfo:
  20035. properties:
  20036. address:
  20037. description: 提货人详细地址
  20038. type: string
  20039. autoid:
  20040. description: AutoID
  20041. type: integer
  20042. cardnum:
  20043. description: 证件号码(加密存储)
  20044. type: string
  20045. cardtypeid:
  20046. description: 证件类型
  20047. type: integer
  20048. cityid:
  20049. description: 市
  20050. type: integer
  20051. cityname:
  20052. description: 城市名称
  20053. type: string
  20054. countryid:
  20055. description: 国家
  20056. type: integer
  20057. countryname:
  20058. description: 国家名称
  20059. type: string
  20060. districtid:
  20061. description: 地区
  20062. type: integer
  20063. districtname:
  20064. description: 地区名称
  20065. type: string
  20066. hasencrypt:
  20067. description: 数据是否已加密 - 0:未加密 1:已加密
  20068. type: integer
  20069. isdefault:
  20070. description: 是否默认地址 - 0:否 1:是
  20071. type: integer
  20072. phonenum:
  20073. description: 提货人联系方式(加密存储)
  20074. type: string
  20075. provinceid:
  20076. description: 省
  20077. type: integer
  20078. provincename:
  20079. description: 省名称
  20080. type: string
  20081. receivername:
  20082. description: 提货人姓名
  20083. type: string
  20084. takeremark:
  20085. description: 提货备注
  20086. type: string
  20087. userid:
  20088. description: 用户ID
  20089. type: integer
  20090. type: object
  20091. models.Useraccount:
  20092. properties:
  20093. accountname:
  20094. description: 账户名称(机构名称)
  20095. type: string
  20096. accountstatus:
  20097. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  20098. type: integer
  20099. applysrc:
  20100. description: 申请来源 - 1:管理端 2:终端
  20101. type: integer
  20102. auditremark:
  20103. description: 审核备注
  20104. type: string
  20105. auditsrc:
  20106. description: 审核来源 - 1:管理端 2:终端
  20107. type: integer
  20108. audittime:
  20109. description: 审核时间
  20110. type: string
  20111. audituserid:
  20112. description: 审核人
  20113. type: integer
  20114. broker:
  20115. description: 所属经纪人ID
  20116. type: integer
  20117. canceltime:
  20118. description: 销户时间
  20119. type: string
  20120. canceluserid:
  20121. description: 销户人
  20122. type: integer
  20123. canrecommend:
  20124. description: 是否可推荐 - 0:不可 1;可
  20125. type: integer
  20126. createtime:
  20127. description: 创建时间
  20128. type: string
  20129. creatorid:
  20130. description: 创建人
  20131. type: integer
  20132. curscore:
  20133. description: 积分
  20134. type: integer
  20135. hasauth:
  20136. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  20137. type: integer
  20138. isanonymous:
  20139. description: 是否匿名下单 - 0:否 1:是
  20140. type: integer
  20141. issigned:
  20142. description: 今日是否已签到
  20143. type: boolean
  20144. maxinvestornum:
  20145. description: 最大用户数(经纪会员下投资者个数)
  20146. type: integer
  20147. memberuserid:
  20148. description: 所属会员ID
  20149. type: integer
  20150. modifierid:
  20151. description: 修改人
  20152. type: integer
  20153. modifyremark:
  20154. description: 变更备注
  20155. type: string
  20156. modifystatus:
  20157. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  20158. type: integer
  20159. modifytime:
  20160. description: 修改时间
  20161. type: string
  20162. parenttopuser:
  20163. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  20164. type: string
  20165. parentuserid:
  20166. description: 所属机构ID
  20167. type: integer
  20168. reckonaccountid:
  20169. description: 默认结算资金账号ID(机构分润使用) 作废
  20170. type: integer
  20171. refercount:
  20172. description: 推荐总人数
  20173. type: integer
  20174. refereeuserid:
  20175. description: 推荐人ID
  20176. type: integer
  20177. refernum:
  20178. description: 推荐码
  20179. type: string
  20180. rootuserid:
  20181. description: 根用户ID
  20182. type: integer
  20183. subaccountlevel:
  20184. description: 子账户层数
  20185. type: integer
  20186. subarealevelpath:
  20187. description: 子机构层级路径(逗号分隔,首尾加逗号)
  20188. type: string
  20189. todayrefercount:
  20190. description: 今日推荐人数
  20191. type: integer
  20192. userid:
  20193. description: 用户ID
  20194. type: integer
  20195. usertype:
  20196. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20197. type: integer
  20198. required:
  20199. - userid
  20200. type: object
  20201. models.Userfavoritegoods:
  20202. properties:
  20203. goodsid:
  20204. description: 商品ID
  20205. type: integer
  20206. required:
  20207. - goodsid
  20208. type: object
  20209. models.Userinfo:
  20210. properties:
  20211. address:
  20212. description: 地址
  20213. type: string
  20214. attachment1:
  20215. description: 附件1
  20216. type: string
  20217. attachment2:
  20218. description: 附件2
  20219. type: string
  20220. bankaccount:
  20221. description: 银行帐号 (加密存储)
  20222. type: string
  20223. bankaccountname:
  20224. description: 收款人名称
  20225. type: string
  20226. bankcardfrontphotourl:
  20227. description: 银行卡正面照地址
  20228. type: string
  20229. bankid:
  20230. description: 银行编码
  20231. type: string
  20232. bankname:
  20233. description: 银行名称
  20234. type: string
  20235. biznature:
  20236. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  20237. type: integer
  20238. bizscope:
  20239. description: 企业经营范围(企业)
  20240. type: string
  20241. cardbackphotourl:
  20242. description: 证件背面图片地址
  20243. type: string
  20244. cardfrontphotourl:
  20245. description: 证件正面图片地址
  20246. type: string
  20247. cardnum:
  20248. description: 证件号码(加密存储)
  20249. type: string
  20250. cardtypeid:
  20251. description: 证件类型ID
  20252. type: integer
  20253. cityid:
  20254. description: 市
  20255. type: integer
  20256. company:
  20257. description: 公司(个人)
  20258. type: string
  20259. contactname:
  20260. description: 联系人
  20261. type: string
  20262. countryid:
  20263. description: 国家
  20264. type: integer
  20265. createtime:
  20266. description: 创建时间
  20267. type: string
  20268. creatorid:
  20269. description: 创建人
  20270. type: integer
  20271. customername:
  20272. description: 客户名称(企业名称)
  20273. type: string
  20274. districtid:
  20275. description: 地区
  20276. type: integer
  20277. email:
  20278. description: 邮件(加密存储)
  20279. type: string
  20280. fax:
  20281. description: 传真(加密存储)
  20282. type: string
  20283. halfbodyphotourl:
  20284. description: 半身照地址
  20285. type: string
  20286. hasencrypt:
  20287. description: 数据是否已加密 - 0:未加密 1:已加密
  20288. type: integer
  20289. headurl:
  20290. description: 头像地址
  20291. type: string
  20292. legalcardbackphotourl:
  20293. description: 法人身份证背面照地址
  20294. type: string
  20295. legalcardfrontphotourl:
  20296. description: 法人身份证正面照地址
  20297. type: string
  20298. legalpersonname:
  20299. description: 法人姓名(企业)
  20300. type: string
  20301. mobile:
  20302. description: 手机号码(加密存储)
  20303. type: string
  20304. mobile2:
  20305. description: 手机号码[明文-尚志]
  20306. type: string
  20307. modifierid:
  20308. description: 修改人
  20309. type: integer
  20310. modifiertime:
  20311. description: 修改时间
  20312. type: string
  20313. needinvoice:
  20314. description: 是否需要发票 - 0:不需要 1:需要
  20315. type: integer
  20316. nickname:
  20317. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  20318. type: string
  20319. openmode:
  20320. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  20321. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  20322. type: integer
  20323. otherurl:
  20324. description: 其它图片地址[使用分号分隔]
  20325. type: string
  20326. postalcode:
  20327. description: 邮政编码
  20328. type: string
  20329. provinceid:
  20330. description: 省
  20331. type: integer
  20332. qq:
  20333. description: QQ(加密存储
  20334. type: string
  20335. remark:
  20336. description: 备注
  20337. type: string
  20338. sex:
  20339. description: '用户性别 0: 女 1: 男'
  20340. type: integer
  20341. signpdfurl:
  20342. description: 签约pdf文件
  20343. type: string
  20344. telphone:
  20345. description: 联系电话(加密存储)
  20346. type: string
  20347. userid:
  20348. description: 用户ID
  20349. type: integer
  20350. userinfotype:
  20351. description: 用户信息类型 - 1:个人 2:企业
  20352. type: integer
  20353. userstatus:
  20354. description: 用户状态 - 1:正常 2:注销
  20355. type: integer
  20356. usertype:
  20357. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  20358. type: integer
  20359. wechat:
  20360. description: 微信(加密存储)
  20361. type: string
  20362. wskhinfo:
  20363. description: 开户申请信息(JSON)
  20364. type: string
  20365. required:
  20366. - userid
  20367. type: object
  20368. models.WRPositionReport:
  20369. properties:
  20370. accountid:
  20371. description: 帐户ID
  20372. type: integer
  20373. brandid:
  20374. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  20375. type: integer
  20376. buylistinglot:
  20377. description: 买挂牌宗数
  20378. type: integer
  20379. buytradeamount:
  20380. description: 购买金额
  20381. type: number
  20382. buytradelot:
  20383. description: 购买宗数
  20384. type: integer
  20385. buytradeqty:
  20386. description: 购买数量
  20387. type: number
  20388. creditcurqty:
  20389. description: 授信当前数量
  20390. type: integer
  20391. creditfreezeqty:
  20392. description: 授信冻结数量
  20393. type: integer
  20394. credittotalqty:
  20395. description: 授信总数量
  20396. type: integer
  20397. credittradeqty:
  20398. description: 授信成交数量
  20399. type: integer
  20400. decreaseqty:
  20401. description: 今日减少数量
  20402. type: integer
  20403. deliverygoodsid:
  20404. description: 交割商品ID
  20405. type: integer
  20406. deliverymonthid:
  20407. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  20408. type: integer
  20409. freezeqty:
  20410. description: 总冻结数量
  20411. type: integer
  20412. increaseqty:
  20413. description: 今日增加数量
  20414. type: integer
  20415. marketvalue:
  20416. description: 市值
  20417. type: number
  20418. pickupqty:
  20419. description: 今日提货数量
  20420. type: integer
  20421. qualityid:
  20422. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  20423. type: integer
  20424. reckondate:
  20425. description: 日照时期(yyyyMMdd)
  20426. type: string
  20427. relatedqty:
  20428. description: 关联数量
  20429. type: integer
  20430. selllistingamount:
  20431. description: 卖挂牌金额
  20432. type: number
  20433. selllistinglot:
  20434. description: 卖挂牌宗数
  20435. type: integer
  20436. selllistingqty:
  20437. description: 卖挂牌数量
  20438. type: number
  20439. selltradeamount:
  20440. description: 销售金额
  20441. type: number
  20442. selltradelot:
  20443. description: 销售宗数
  20444. type: integer
  20445. selltradeqty:
  20446. description: 销售数量
  20447. type: number
  20448. specid:
  20449. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  20450. type: integer
  20451. totalprice:
  20452. description: 销售金额(¥)
  20453. type: number
  20454. totalqty:
  20455. description: 总数量
  20456. type: integer
  20457. totalweight:
  20458. description: 销售重量(ct)
  20459. type: number
  20460. tradewrqty:
  20461. description: 订单仓单头寸总数量
  20462. type: integer
  20463. transfertradewrqty:
  20464. description: 今日转订单数量
  20465. type: integer
  20466. warehouseid:
  20467. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  20468. type: integer
  20469. wrfactortypeid:
  20470. description: 仓单要素类型ID
  20471. type: integer
  20472. wrpositionid:
  20473. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20474. type: integer
  20475. wrstandardcode:
  20476. description: 现货商品代码
  20477. type: string
  20478. wrstandardid:
  20479. description: 现货商品ID
  20480. type: integer
  20481. wruserid:
  20482. description: 持有人ID
  20483. type: integer
  20484. zscategory:
  20485. description: 商品分类
  20486. type: integer
  20487. zscategorydisplay:
  20488. type: string
  20489. zscurrencytype:
  20490. description: 商品币种
  20491. type: integer
  20492. zscurrencytypedisplay:
  20493. type: string
  20494. zscurrencytypedisplayunit:
  20495. type: string
  20496. type: object
  20497. models.WRSConverTDetail:
  20498. properties:
  20499. convertratio:
  20500. description: 套保系数
  20501. type: number
  20502. deliverygoodscode:
  20503. description: 现货商品代码
  20504. type: string
  20505. deliverygoodsid:
  20506. description: 现货品种ID
  20507. type: integer
  20508. deliverygoodsname:
  20509. description: 现货商品名称
  20510. type: string
  20511. enumdicname:
  20512. description: 单位名称
  20513. type: string
  20514. goodsunitid:
  20515. description: 套保品种单位id
  20516. type: integer
  20517. middlegoodscode:
  20518. description: 套保品种代码
  20519. type: string
  20520. middlegoodsid:
  20521. description: 套保品种ID
  20522. type: integer
  20523. middlegoodsname:
  20524. description: 套保品种名称
  20525. type: string
  20526. modifytime:
  20527. description: 修改时间
  20528. type: string
  20529. wrstandardid:
  20530. description: 品类ID
  20531. type: integer
  20532. type: object
  20533. models.WRStandardInfo:
  20534. properties:
  20535. areauserid:
  20536. description: 所属机构
  20537. type: integer
  20538. convertfactor:
  20539. description: 标仓系数
  20540. type: number
  20541. createtime:
  20542. description: 创建时间
  20543. type: string
  20544. creatorid:
  20545. description: 创建人
  20546. type: integer
  20547. deliverygoodsid:
  20548. description: 品种ID
  20549. type: integer
  20550. deliverygoodsname:
  20551. description: 交割商品名称
  20552. type: string
  20553. factoryitemjson:
  20554. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  20555. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  20556. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  20557. 逗号分隔'
  20558. type: string
  20559. isvalid:
  20560. description: 是否有效 - 0:无效 1:有效
  20561. type: integer
  20562. minivalue:
  20563. description: 最小变动值
  20564. type: integer
  20565. minivaluedp:
  20566. description: 最小变动值小数位
  20567. type: integer
  20568. realminivalue:
  20569. description: 实际最小变动值
  20570. type: integer
  20571. realminivaluedp:
  20572. description: 实际最小变动值小数位
  20573. type: integer
  20574. remark:
  20575. description: 备注
  20576. type: string
  20577. unitid:
  20578. description: 单位ID
  20579. type: integer
  20580. unitname:
  20581. description: 单位
  20582. type: string
  20583. updatetime:
  20584. description: 更新时间
  20585. type: string
  20586. updatorid:
  20587. description: 更新人
  20588. type: integer
  20589. wrsstatus:
  20590. description: 状态 - 作废 - 0:未激活 1:正常
  20591. type: integer
  20592. wrstandardcode:
  20593. description: 现货品类代码
  20594. type: string
  20595. wrstandardid:
  20596. description: 现货品类ID(SEQ_WRSTANDARD)
  20597. type: integer
  20598. wrstandardname:
  20599. description: 现货品类名称
  20600. type: string
  20601. required:
  20602. - wrstandardid
  20603. type: object
  20604. models.WRTradeBargainApply:
  20605. properties:
  20606. accountid:
  20607. description: 摘牌资金账号
  20608. type: integer
  20609. applyprice:
  20610. description: 申请价格(议价价格)
  20611. type: string
  20612. applyqty:
  20613. description: 摘牌数量(议价数量)
  20614. type: number
  20615. applyremark:
  20616. description: 申请备注
  20617. type: string
  20618. applystatus:
  20619. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  20620. type: integer
  20621. applytime:
  20622. description: 申请时间(议价时间)
  20623. type: string
  20624. begindate:
  20625. description: 开始交易日(yyyymmdd)
  20626. type: string
  20627. buyorsell:
  20628. description: 买卖(挂牌类型) - 0:买 1:卖
  20629. type: integer
  20630. confirmremark:
  20631. description: 确认备注
  20632. type: string
  20633. confirmtime:
  20634. description: 确认时间
  20635. type: string
  20636. confirmuserid:
  20637. description: 确认人
  20638. type: integer
  20639. deliverygoodscode:
  20640. description: 品种代码
  20641. type: string
  20642. deliverygoodsid:
  20643. description: 品种ID
  20644. type: integer
  20645. deliverygoodsname:
  20646. description: 品种名称
  20647. type: string
  20648. deliverymonth:
  20649. description: 交收月
  20650. type: string
  20651. enddate:
  20652. description: 结束交易日(yyyymmdd)
  20653. type: string
  20654. enumdicname:
  20655. description: 单位名称
  20656. type: string
  20657. fixedprice:
  20658. description: 期初均价
  20659. type: number
  20660. handlestatus:
  20661. description: 处理状态
  20662. type: integer
  20663. marginvalue:
  20664. description: 期初均价
  20665. type: number
  20666. marketid:
  20667. description: 市场ID
  20668. type: integer
  20669. matchaccountid:
  20670. description: 挂牌方资金账号
  20671. type: integer
  20672. matchuserid:
  20673. description: 挂牌方用户id
  20674. type: integer
  20675. matchusername:
  20676. description: 挂牌方用户名称(已脱敏)
  20677. type: string
  20678. minivalue:
  20679. description: 现货商品最小变动值
  20680. type: integer
  20681. optioncompare:
  20682. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20683. type: string
  20684. orderqty:
  20685. description: 挂牌数量
  20686. type: integer
  20687. refprice:
  20688. description: 参考价格
  20689. type: string
  20690. retcode:
  20691. description: 委托返回代码
  20692. type: integer
  20693. templatename:
  20694. description: 履约方式(履约模板名称)
  20695. type: string
  20696. tradedate:
  20697. description: 交易日(yyyyMMdd)
  20698. type: string
  20699. userid:
  20700. description: 摘牌人用户ID(议价人ID)
  20701. type: integer
  20702. username:
  20703. description: 议价人名字(已脱敏)
  20704. type: string
  20705. validtime:
  20706. description: 有效期限
  20707. type: string
  20708. warehouseid:
  20709. description: 仓库ID
  20710. type: integer
  20711. warehousename:
  20712. description: 仓库名称
  20713. type: string
  20714. wrbargainid:
  20715. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  20716. type: string
  20717. wrfactortypeid:
  20718. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20719. type: string
  20720. wrfactortypename:
  20721. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20722. type: string
  20723. wrstandardcode:
  20724. description: 现货商品代码
  20725. type: string
  20726. wrstandardid:
  20727. description: 现货商品ID
  20728. type: integer
  20729. wrstandardname:
  20730. description: 商品名称
  20731. type: string
  20732. wrtradeorderid:
  20733. description: 关联委托单ID
  20734. type: string
  20735. wrtypename:
  20736. description: 商品
  20737. type: string
  20738. type: object
  20739. models.Warehouseinfo:
  20740. properties:
  20741. address:
  20742. description: 详细地址
  20743. type: string
  20744. areauserid:
  20745. description: 所属机构
  20746. type: integer
  20747. autoid:
  20748. description: 自增ID
  20749. type: integer
  20750. cityid:
  20751. description: 市
  20752. type: integer
  20753. contactname:
  20754. description: 联系人
  20755. type: string
  20756. contactnum:
  20757. description: 联系电话
  20758. type: string
  20759. countryid:
  20760. description: 国家
  20761. type: integer
  20762. createtime:
  20763. description: 创建时间
  20764. type: string
  20765. districtid:
  20766. description: 区
  20767. type: integer
  20768. hasvideo:
  20769. description: 是否有视频 - 0:无 1:有
  20770. type: integer
  20771. provinceid:
  20772. description: 省
  20773. type: integer
  20774. remark:
  20775. description: 审核备注
  20776. type: string
  20777. videourl:
  20778. description: 视频地址
  20779. type: string
  20780. warehousecode:
  20781. description: 仓库代码
  20782. type: string
  20783. warehousename:
  20784. description: 仓库名称
  20785. type: string
  20786. warehousestatus:
  20787. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  20788. type: integer
  20789. warehousetype:
  20790. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  20791. type: integer
  20792. required:
  20793. - autoid
  20794. - warehousecode
  20795. type: object
  20796. models.WrAverageTradePrice:
  20797. properties:
  20798. averageprice:
  20799. description: 期初均价
  20800. type: number
  20801. tradedate:
  20802. description: 交易日yyyymm
  20803. type: string
  20804. type: object
  20805. models.WrBrandAndYears:
  20806. properties:
  20807. brandlst:
  20808. description: 品牌列表
  20809. items:
  20810. $ref: '#/definitions/models.DgFactoryItem'
  20811. type: array
  20812. yearslst:
  20813. description: 年份列表
  20814. items:
  20815. $ref: '#/definitions/models.DgFactoryItem'
  20816. type: array
  20817. type: object
  20818. models.WrBsGoodsInfo:
  20819. properties:
  20820. buyorsell:
  20821. description: 买卖方向 0-买 1-卖
  20822. type: integer
  20823. goodsid:
  20824. description: 交易合约ID
  20825. type: integer
  20826. lstitem:
  20827. description: 商品信息项
  20828. items:
  20829. $ref: '#/definitions/models.WrTypeItem'
  20830. type: array
  20831. lststep:
  20832. description: 履约规则
  20833. items:
  20834. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20835. type: array
  20836. type: object
  20837. models.WrBuybackDetail:
  20838. properties:
  20839. buybackamount:
  20840. description: 回购金额
  20841. type: number
  20842. buybackqty:
  20843. description: 回购数量
  20844. type: number
  20845. buybackreleasemargin:
  20846. description: 回购释放保证金
  20847. type: number
  20848. buybacktime:
  20849. description: 回购时间
  20850. type: string
  20851. errordesc:
  20852. description: 错误描述
  20853. type: string
  20854. handlestatus:
  20855. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  20856. type: integer
  20857. relatedwrid:
  20858. description: 关联仓单ID
  20859. type: integer
  20860. scfcontractid:
  20861. description: SCF合同ID
  20862. type: string
  20863. scfwrbuybackid:
  20864. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  20865. type: integer
  20866. tradedate:
  20867. description: 交易日(yyyyMMdd)
  20868. type: string
  20869. type: object
  20870. models.WrClientAdSpaceConfig:
  20871. properties:
  20872. adspaceid:
  20873. description: 广告位ID
  20874. type: integer
  20875. adspacename:
  20876. description: 广告位名称
  20877. type: string
  20878. adspacetype:
  20879. description: 广告位类型 - 1:固定广告位
  20880. type: integer
  20881. areauserid:
  20882. description: 所属机构ID
  20883. type: integer
  20884. createdate:
  20885. description: 创建时间
  20886. type: string
  20887. imagepath:
  20888. description: 图片
  20889. type: string
  20890. modifierid:
  20891. description: 操作人
  20892. type: integer
  20893. recsize:
  20894. description: 推荐尺寸
  20895. type: string
  20896. title:
  20897. description: 标题
  20898. type: string
  20899. updatedate:
  20900. description: 更新时间
  20901. type: string
  20902. urlcontent:
  20903. description: 链接(地址\商品ID\功能菜单Key\appid)
  20904. type: string
  20905. urltype:
  20906. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  20907. type: integer
  20908. type: object
  20909. models.WrDeliveryAvalidHoldLB:
  20910. properties:
  20911. accountid:
  20912. description: 资金账号
  20913. type: integer
  20914. avalidqty:
  20915. description: 数量(可点选数量)
  20916. type: number
  20917. deliverygoodsid:
  20918. description: 品种id
  20919. type: integer
  20920. enumdicname:
  20921. description: 单位名称
  20922. type: string
  20923. goodsid:
  20924. description: x合约商品id
  20925. type: integer
  20926. ladingbillid:
  20927. description: 提单id
  20928. type: string
  20929. pgoodscode:
  20930. description: p商品代码(点价合约)
  20931. type: string
  20932. pgoodsid:
  20933. description: p商品id(点价合约)
  20934. type: integer
  20935. pgoodsname:
  20936. description: p商品名称(点价合约)
  20937. type: string
  20938. pricemove:
  20939. description: 升贴水
  20940. type: number
  20941. subnum:
  20942. description: 提单子id
  20943. type: integer
  20944. userid:
  20945. description: 用户id
  20946. type: integer
  20947. username:
  20948. description: 仓单持有人
  20949. type: string
  20950. warehousecode:
  20951. description: 仓库代码
  20952. type: string
  20953. warehouseid:
  20954. description: 仓库id
  20955. type: integer
  20956. warehousename:
  20957. description: 仓库名称
  20958. type: string
  20959. wrfactortypeid:
  20960. description: 仓单要素id
  20961. type: string
  20962. wrstandardcode:
  20963. description: 品代码
  20964. type: string
  20965. wrstandardid:
  20966. description: 品类d
  20967. type: integer
  20968. wrstandardname:
  20969. description: 品类名称
  20970. type: string
  20971. wrtypename:
  20972. description: 商品
  20973. type: string
  20974. xgoodscode:
  20975. description: x合约代码
  20976. type: string
  20977. xgoodsname:
  20978. description: x合约名称
  20979. type: string
  20980. type: object
  20981. models.WrDeliveryDetail:
  20982. properties:
  20983. accountid:
  20984. description: 账号ID
  20985. type: integer
  20986. averageprice:
  20987. description: 期初均价
  20988. type: number
  20989. begindate:
  20990. description: 开始交易日(yyyymmdd)
  20991. type: string
  20992. buyorsell:
  20993. description: 方向 - 0:买 1:卖
  20994. type: integer
  20995. deliveryamount:
  20996. description: 货款金额(X总货款+P总货款)
  20997. type: number
  20998. deliveryid:
  20999. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  21000. type: string
  21001. deliveryorderid:
  21002. description: 申报单号
  21003. type: string
  21004. deliverypricemove:
  21005. description: 升贴水(升贴水总额)
  21006. type: number
  21007. deliveryqty:
  21008. description: 交收数量(点选数量)
  21009. type: number
  21010. deliverystatus:
  21011. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  21012. type: integer
  21013. deliverytime:
  21014. description: 交割时间
  21015. type: string
  21016. deliverytotalamount:
  21017. description: 交收金额
  21018. type: number
  21019. enddate:
  21020. description: 结束交易日(yyyymmdd)
  21021. type: string
  21022. enumdicname:
  21023. description: 单位名称
  21024. type: string
  21025. matchaccountid:
  21026. description: 对手账号ID
  21027. type: integer
  21028. matchusername:
  21029. description: 对手方名称(仓单持有人)
  21030. type: string
  21031. p1goodsremainamount:
  21032. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  21033. type: number
  21034. pdeliverycloseqty:
  21035. description: p合约平仓数量
  21036. type: number
  21037. pdeliveryprice:
  21038. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  21039. type: number
  21040. pgoodscode:
  21041. description: 商品代码
  21042. type: string
  21043. pgoodsid:
  21044. description: p点选合约id
  21045. type: integer
  21046. pgoodsname:
  21047. description: 商品名称
  21048. type: string
  21049. ppricemode:
  21050. description: 点价价格方式 - 1:商品价 2:固定值
  21051. type: integer
  21052. tradedate:
  21053. description: 交易日(yyyymmdd)
  21054. type: string
  21055. userid:
  21056. description: 用户id
  21057. type: integer
  21058. username:
  21059. description: 用户名称
  21060. type: string
  21061. warehousename:
  21062. description: 仓库名称
  21063. type: string
  21064. wrfactortypeid:
  21065. description: 仓单要素类型ID
  21066. type: string
  21067. wrtypename:
  21068. description: 商品
  21069. type: string
  21070. xdeliverycloseqty:
  21071. description: 合约数量
  21072. type: number
  21073. xgoodsamount:
  21074. description: 期初均价
  21075. type: number
  21076. xgoodscode:
  21077. description: 商品代码
  21078. type: string
  21079. xgoodsid:
  21080. description: x交易合约ID
  21081. type: integer
  21082. xgoodsname:
  21083. description: 商品名称
  21084. type: string
  21085. type: object
  21086. models.WrDeliveryGoodsSection:
  21087. properties:
  21088. dglst:
  21089. description: 板块商品列表
  21090. items:
  21091. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  21092. type: array
  21093. imagepath:
  21094. description: 图片地址
  21095. type: string
  21096. orderindex:
  21097. description: 排序
  21098. type: integer
  21099. sectionid:
  21100. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  21101. = 1的版块1 - 云融指数
  21102. type: integer
  21103. sectionname:
  21104. description: 版块名称
  21105. type: string
  21106. sectiontype:
  21107. description: 版块类型 - 1:指数版块 2:普通版块
  21108. type: integer
  21109. type: object
  21110. models.WrDeliveryGoodsSectionConfig:
  21111. properties:
  21112. deliverygoodscode:
  21113. description: 现货商品代码
  21114. type: string
  21115. deliverygoodsid:
  21116. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21117. type: integer
  21118. deliverygoodsname:
  21119. description: 现货商品名称
  21120. type: string
  21121. orderindex:
  21122. description: 排序
  21123. type: integer
  21124. type: object
  21125. models.WrDraftUserInfo:
  21126. properties:
  21127. address:
  21128. description: 地址
  21129. type: string
  21130. attachment1:
  21131. description: 附件1
  21132. type: string
  21133. attachment2:
  21134. description: 附件2
  21135. type: string
  21136. attachment3:
  21137. description: 附件3
  21138. type: string
  21139. attachment4:
  21140. description: 附件4
  21141. type: string
  21142. attachment5:
  21143. description: 附件5
  21144. type: string
  21145. bankaccount:
  21146. description: 银行帐号 (加密存储)
  21147. type: string
  21148. bankaccountname:
  21149. description: 收款人名称
  21150. type: string
  21151. bankcardfrontphotourl:
  21152. description: 银行卡正面照地址
  21153. type: string
  21154. bankid:
  21155. description: 银行编码
  21156. type: string
  21157. bankname:
  21158. description: 银行名称
  21159. type: string
  21160. birthday:
  21161. description: 生日(个人:年月日)
  21162. type: string
  21163. biznature:
  21164. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  21165. type: integer
  21166. bizscope:
  21167. description: 企业经营范围(企业)
  21168. type: string
  21169. biztype:
  21170. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  21171. type: integer
  21172. cardbackphotourl:
  21173. description: 证件背面图片地址
  21174. type: string
  21175. cardfrontphotourl:
  21176. description: 证件正面图片地址
  21177. type: string
  21178. cardnum:
  21179. description: 证件号码(加密存储)
  21180. type: string
  21181. cardtypeid:
  21182. description: 证件类型ID
  21183. type: integer
  21184. cityid:
  21185. description: 市
  21186. type: integer
  21187. company:
  21188. description: 公司(个人)
  21189. type: string
  21190. contactcardbackphotourl:
  21191. description: 联系人证件背面图片地址
  21192. type: string
  21193. contactcardfrontphotourl:
  21194. description: 联系人证件正面图片地址
  21195. type: string
  21196. contactname:
  21197. description: 联系人
  21198. type: string
  21199. countryid:
  21200. description: 国家
  21201. type: integer
  21202. createtime:
  21203. description: 创建时间
  21204. type: string
  21205. creatorid:
  21206. description: 创建人
  21207. type: integer
  21208. creditquota:
  21209. description: 授信额度(金瑞)
  21210. type: number
  21211. customername:
  21212. description: 客户名称(企业名称)
  21213. type: string
  21214. districtid:
  21215. description: 地区
  21216. type: integer
  21217. email:
  21218. description: 邮件(加密存储)
  21219. type: string
  21220. fax:
  21221. description: 传真(加密存储)
  21222. type: string
  21223. halfbodyphotourl:
  21224. description: 半身照地址
  21225. type: string
  21226. hasencrypt:
  21227. description: 数据是否已加密 - 0:未加密 1:已加密
  21228. type: integer
  21229. headurl:
  21230. description: 头像地址
  21231. type: string
  21232. legalcardbackphotourl:
  21233. description: 法人身份证背面照地址
  21234. type: string
  21235. legalcardfrontphotourl:
  21236. description: 法人身份证正面照地址
  21237. type: string
  21238. legalpersonname:
  21239. description: 法人姓名(企业)
  21240. type: string
  21241. mobile:
  21242. description: 手机号码(加密存储)
  21243. type: string
  21244. mobile2:
  21245. description: 手机号码[明文-尚志]
  21246. type: string
  21247. modifierid:
  21248. description: 修改人
  21249. type: integer
  21250. modifiertime:
  21251. description: 修改时间
  21252. type: string
  21253. needinvoice:
  21254. description: 是否需要发票 - 0:不需要 1:需要
  21255. type: integer
  21256. nickname:
  21257. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  21258. type: string
  21259. openmode:
  21260. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  21261. 6:苹果手机端注册 7:PC交易端注册"
  21262. type: integer
  21263. otherurl:
  21264. description: 其它图片地址[使用分号分隔]
  21265. type: string
  21266. postalcode:
  21267. description: 邮政编码
  21268. type: string
  21269. provinceid:
  21270. description: 省
  21271. type: integer
  21272. proxystatementurl:
  21273. description: 授权委托书
  21274. type: string
  21275. qq:
  21276. description: QQ(加密存储
  21277. type: string
  21278. remark:
  21279. description: 备注
  21280. type: string
  21281. sex:
  21282. description: '用户性别 0: 女 1: 男'
  21283. type: integer
  21284. signpdfurl:
  21285. description: 签约pdf文件
  21286. type: string
  21287. taxpayernum:
  21288. description: 纳税人识别号
  21289. type: string
  21290. telphone:
  21291. description: 联系电话(加密存储)
  21292. type: string
  21293. userid:
  21294. description: 用户ID
  21295. type: integer
  21296. userinfotype:
  21297. description: 用户信息类型 - 1:个人 2:企业
  21298. type: integer
  21299. userstatus:
  21300. description: 用户状态 - 1:正常 2:注销
  21301. type: integer
  21302. usertype:
  21303. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  21304. type: integer
  21305. wechat:
  21306. description: 微信(加密存储)
  21307. type: string
  21308. wskhinfo:
  21309. description: 开户申请信息(JSON)
  21310. type: string
  21311. type: object
  21312. models.WrFAProductDetail:
  21313. properties:
  21314. accountid:
  21315. description: 资金账号
  21316. type: integer
  21317. areauserid:
  21318. description: 金融机构ID
  21319. type: integer
  21320. financingdays:
  21321. description: 天数(天)
  21322. type: integer
  21323. interestminlen:
  21324. description: 最小起息天数
  21325. type: integer
  21326. interestrate:
  21327. description: 利率
  21328. type: number
  21329. interestratemode:
  21330. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21331. type: integer
  21332. interestsettlemode:
  21333. description: 结息方式 - 1:按日结息 3:按月结息
  21334. type: integer
  21335. interestsettlevalue:
  21336. description: 结息方式值
  21337. type: integer
  21338. isautoloan:
  21339. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  21340. type: integer
  21341. loantag:
  21342. description: '放款标识: "放款快" 或者为空'
  21343. type: string
  21344. marginratio:
  21345. description: 保证金比率质押率 - [仓单质押]
  21346. type: number
  21347. productdetailid:
  21348. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  21349. type: integer
  21350. productid:
  21351. description: 金融产品ID
  21352. type: integer
  21353. productname:
  21354. description: 产品名称
  21355. type: string
  21356. updatetime:
  21357. description: 更新时间
  21358. type: string
  21359. username:
  21360. description: 融出方
  21361. type: string
  21362. type: object
  21363. models.WrFactorTypeInfo:
  21364. properties:
  21365. deliverygoodscode:
  21366. description: 品种代码
  21367. type: string
  21368. deliverygoodsname:
  21369. description: 品种名称
  21370. type: string
  21371. dgfactoryitemid:
  21372. description: 选择项id
  21373. type: integer
  21374. dgfactoryitemtypeid:
  21375. description: 要素选择项ID (1-仓库 2-品牌)
  21376. type: integer
  21377. dgfactoryitemvalue:
  21378. description: 要素项值
  21379. type: string
  21380. itemtypename:
  21381. description: 要素项名称
  21382. type: string
  21383. optioncompare:
  21384. description: 选择比较串
  21385. type: string
  21386. warehouseid:
  21387. description: 仓库id
  21388. type: integer
  21389. wrfactortypeid:
  21390. description: 仓单要素ID
  21391. type: string
  21392. wrfactortypename:
  21393. description: 要素名称
  21394. type: string
  21395. wrfactortypename2:
  21396. description: 要素名称(不含仓库)
  21397. type: string
  21398. wrstandardcode:
  21399. description: 品类代码
  21400. type: string
  21401. wrstandardid:
  21402. description: 品类id
  21403. type: integer
  21404. wrstandardname:
  21405. description: 品类名称
  21406. type: string
  21407. type: object
  21408. models.WrFilterItem:
  21409. properties:
  21410. itemcode:
  21411. description: 代码
  21412. type: string
  21413. itemid:
  21414. description: 项id
  21415. type: integer
  21416. itemname:
  21417. description: 名称
  21418. type: string
  21419. itemtype:
  21420. description: 类型 1-品种 2-品类(商品) 3-仓库
  21421. type: integer
  21422. type: object
  21423. models.WrFinanceBuyApply:
  21424. properties:
  21425. applydate:
  21426. description: 申请时间
  21427. type: string
  21428. applystatus:
  21429. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  21430. type: integer
  21431. applyuserid:
  21432. description: 申请人
  21433. type: integer
  21434. auditdate:
  21435. description: 审核时间
  21436. type: string
  21437. auditremark:
  21438. description: 审核备注
  21439. type: string
  21440. audituserid:
  21441. description: 审核人
  21442. type: integer
  21443. buyaccountid:
  21444. description: 买方资金账号
  21445. type: integer
  21446. buyorsell:
  21447. description: 买卖 - 0:买 1:卖
  21448. type: integer
  21449. buyuserid:
  21450. description: 买方用户ID
  21451. type: integer
  21452. buyusername:
  21453. description: 买方名称
  21454. type: string
  21455. buywrtradeorderid:
  21456. description: 融资方买委托单ID
  21457. type: string
  21458. deliverygoodscode:
  21459. description: 品种代码
  21460. type: string
  21461. deliverygoodsid:
  21462. description: 品种ID
  21463. type: integer
  21464. deliverygoodsname:
  21465. description: 品种名称
  21466. type: string
  21467. deliverymonth:
  21468. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  21469. type: string
  21470. enumdicname:
  21471. description: 单位名称
  21472. type: string
  21473. financeaccountid:
  21474. description: 融资方资金帐户ID
  21475. type: integer
  21476. financeapplyid:
  21477. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21478. type: string
  21479. financeareauserid:
  21480. description: 融资方用户ID
  21481. type: string
  21482. financename:
  21483. description: 融出方名称
  21484. type: string
  21485. financetype:
  21486. description: 融资类型 1-融资回购
  21487. type: integer
  21488. financingdays:
  21489. description: 天数(天)
  21490. type: integer
  21491. freezebuymargin:
  21492. description: 冻结融资保证金(买方)
  21493. type: number
  21494. handleremark:
  21495. description: 处理备注
  21496. type: string
  21497. handlestatus:
  21498. description: 处理状态
  21499. type: integer
  21500. interestminlen:
  21501. description: 最小起息天数
  21502. type: integer
  21503. interestrate:
  21504. description: 利率
  21505. type: number
  21506. interestratemode:
  21507. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21508. type: integer
  21509. interestsettlemode:
  21510. description: 结息方式 - 1:按日结息 3:按月结息
  21511. type: integer
  21512. interestsettlevalue:
  21513. description: 结息方式值
  21514. type: integer
  21515. isautoloan:
  21516. description: 是否自动放款 - 0:手动 1:自动
  21517. type: integer
  21518. marginratio:
  21519. description: 保证金比率质押率 - [仓单质押]
  21520. type: number
  21521. marketid:
  21522. description: 市场ID
  21523. type: integer
  21524. minivalue:
  21525. description: 现货商品最小变动值
  21526. type: integer
  21527. optioncompare:
  21528. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21529. type: string
  21530. orderqty:
  21531. description: 委托数量(商品数量)
  21532. type: number
  21533. productdetailid:
  21534. description: 产品组合ID
  21535. type: integer
  21536. productid:
  21537. description: 金融产品ID
  21538. type: integer
  21539. productname:
  21540. description: 产品名称
  21541. type: string
  21542. remark:
  21543. description: 备注
  21544. type: string
  21545. scfcontractid:
  21546. description: 仓单回购合同ID
  21547. type: string
  21548. sellaccountid:
  21549. description: 卖方资金账号
  21550. type: integer
  21551. selluserid:
  21552. description: 卖方用户ID
  21553. type: integer
  21554. sellwrtradeorderid:
  21555. description: 卖方委托单ID
  21556. type: string
  21557. tradeamount:
  21558. description: 成交金额(借款金额)
  21559. type: number
  21560. tradedate:
  21561. description: 交易日(yyyyMMdd)
  21562. type: string
  21563. tradeprice:
  21564. description: 成交价格
  21565. type: number
  21566. warehouseid:
  21567. description: 仓库ID
  21568. type: integer
  21569. warehousename:
  21570. description: 仓库名称
  21571. type: string
  21572. wrfactortypeid:
  21573. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21574. type: string
  21575. wrfactortypename:
  21576. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21577. type: string
  21578. wrpricetype:
  21579. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  21580. type: integer
  21581. wrstandardcode:
  21582. description: 现货商品代码
  21583. type: string
  21584. wrstandardid:
  21585. description: 现货商品ID
  21586. type: integer
  21587. wrstandardname:
  21588. description: 商品名称
  21589. type: string
  21590. wrtypename:
  21591. description: 商品
  21592. type: string
  21593. type: object
  21594. models.WrFriendApply:
  21595. properties:
  21596. applicantid:
  21597. description: 申请人
  21598. type: integer
  21599. applyname:
  21600. description: 申请人名称
  21601. type: string
  21602. applysrc:
  21603. description: 申请来源 - 1:管理端 2:终端
  21604. type: integer
  21605. applystatus:
  21606. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21607. type: integer
  21608. applytime:
  21609. description: 申请时间
  21610. type: string
  21611. auditname:
  21612. description: 审核人名称
  21613. type: string
  21614. auditorid:
  21615. description: 审核人
  21616. type: integer
  21617. auditremark:
  21618. description: 审核备注
  21619. type: string
  21620. auditsrc:
  21621. description: 审核来源 - 1:管理端 2:终端
  21622. type: integer
  21623. audittime:
  21624. description: 审核时间
  21625. type: string
  21626. friendapplyid:
  21627. description: 申请ID(SEQ_FRIENDAPPLY)
  21628. type: string
  21629. friendname:
  21630. description: 好友名字(已脱敏)
  21631. type: string
  21632. frienduserid:
  21633. description: 好友用户ID
  21634. type: string
  21635. remark:
  21636. description: 备注
  21637. type: string
  21638. userid:
  21639. description: 申请人用户ID
  21640. type: integer
  21641. type: object
  21642. models.WrFtDeliveryGoods:
  21643. properties:
  21644. deliverygoodscode:
  21645. description: 品种代码
  21646. type: string
  21647. deliverygoodsid:
  21648. description: 品种ID
  21649. type: integer
  21650. deliverygoodsname:
  21651. description: 品种名称
  21652. type: string
  21653. wdlst:
  21654. description: 商品列表
  21655. items:
  21656. $ref: '#/definitions/models.WrFtWrstandard'
  21657. type: array
  21658. type: object
  21659. models.WrFtWrstandard:
  21660. properties:
  21661. enumdicname:
  21662. description: 单位名称
  21663. type: string
  21664. minivalue:
  21665. description: 最小变动值
  21666. type: integer
  21667. wrstandardcode:
  21668. description: 现货商品代码
  21669. type: string
  21670. wrstandardid:
  21671. description: 现货商品ID
  21672. type: integer
  21673. wrstandardname:
  21674. description: 商品名称
  21675. type: string
  21676. type: object
  21677. models.WrGoodsInfo:
  21678. properties:
  21679. haswr:
  21680. description: 0:仓单预售 1:仓单贸易
  21681. type: integer
  21682. lstitem:
  21683. description: 商品信息项
  21684. items:
  21685. $ref: '#/definitions/models.WrTypeItem'
  21686. type: array
  21687. lststep:
  21688. description: 履约规则
  21689. items:
  21690. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  21691. type: array
  21692. marketid:
  21693. description: 市场id
  21694. type: integer
  21695. type: object
  21696. models.WrGoodsPerformanceStep:
  21697. properties:
  21698. autoid:
  21699. description: AutoID
  21700. type: integer
  21701. isauto:
  21702. description: 是否自动 - 0:不自动 1:自动
  21703. type: integer
  21704. remark:
  21705. description: 备注
  21706. type: string
  21707. stepdate:
  21708. description: 天数信息(T+N)
  21709. type: string
  21710. stepdays:
  21711. description: 距离上一步天数
  21712. type: integer
  21713. stepindex:
  21714. description: 步骤序号
  21715. type: integer
  21716. stepinfo:
  21717. description: 步骤信息(步骤名称+步骤值)
  21718. type: string
  21719. steptypeid:
  21720. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  21721. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  21722. type: integer
  21723. steptypename:
  21724. description: 步骤名称
  21725. type: string
  21726. stepvalue:
  21727. description: 期初均价
  21728. type: number
  21729. templateid:
  21730. description: 履约计划模板ID
  21731. type: integer
  21732. type: object
  21733. models.WrHoldLB:
  21734. properties:
  21735. accountid:
  21736. description: 持有人帐户ID
  21737. type: integer
  21738. bannerpicurl:
  21739. description: Banner图
  21740. type: string
  21741. createtime:
  21742. description: 创建时间(过户时间)
  21743. type: string
  21744. deliverygoodscode:
  21745. description: 品种代码
  21746. type: string
  21747. deliverygoodsid:
  21748. description: 品种ID
  21749. type: integer
  21750. deliverygoodsname:
  21751. description: 品种名称
  21752. type: string
  21753. enableqty:
  21754. description: 可用数量
  21755. type: number
  21756. enumdicname:
  21757. description: 单位名称
  21758. type: string
  21759. freezerqty:
  21760. description: 冻结数量
  21761. type: number
  21762. ladingbillid:
  21763. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  21764. type: string
  21765. minivalue:
  21766. description: 现货商品最小变动值
  21767. type: integer
  21768. optioncompare:
  21769. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21770. type: string
  21771. parentsubnum:
  21772. description: 拆分父子单号
  21773. type: integer
  21774. pledgeqty:
  21775. description: 质押数量
  21776. type: number
  21777. qty:
  21778. description: 数量
  21779. type: number
  21780. spotgoodsprice:
  21781. description: 参考价(THJ)
  21782. type: number
  21783. subnum:
  21784. description: 提单子单号
  21785. type: integer
  21786. thumurls:
  21787. description: 缩略图
  21788. type: string
  21789. tradedate:
  21790. description: 交易日(yyyyMMdd)
  21791. type: string
  21792. userid:
  21793. description: 持有人ID
  21794. type: integer
  21795. warehouseid:
  21796. description: 仓库ID
  21797. type: integer
  21798. warehousename:
  21799. description: 仓库名称
  21800. type: string
  21801. wrfactortypeid:
  21802. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21803. type: string
  21804. wrfactortypename:
  21805. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21806. type: string
  21807. wrholdeno:
  21808. description: 仓单编号
  21809. type: string
  21810. wrid:
  21811. description: 仓单变更ID
  21812. type: string
  21813. wrstandardcode:
  21814. description: 现货商品代码
  21815. type: string
  21816. wrstandardid:
  21817. description: 现货商品ID
  21818. type: integer
  21819. wrstandardname:
  21820. description: 商品名称
  21821. type: string
  21822. wrtypename:
  21823. description: 商品
  21824. type: string
  21825. type: object
  21826. models.WrMarketTradeConfig:
  21827. properties:
  21828. basisdownratio:
  21829. description: 浮动价基差下限比例(仓单贸易)
  21830. type: number
  21831. basisupratio:
  21832. description: 浮动价基差上限比例(仓单贸易)
  21833. type: number
  21834. buychargealgorithm:
  21835. description: 买方手续费收取方式 1:比率 2:固定
  21836. type: integer
  21837. buychargealgorithm2:
  21838. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  21839. type: integer
  21840. buychargealgorithmvalue:
  21841. description: 买方手续费设置值(交易所部分)
  21842. type: number
  21843. buychargealgorithmvalue2:
  21844. description: 买方手续费设置值(会员部分)
  21845. type: number
  21846. buychargealgorithmvalue3:
  21847. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  21848. type: number
  21849. buychargealgorithmvalue4:
  21850. description: 回购买方手续费设置值(会员部分) --77:现货商城
  21851. type: number
  21852. buyfirstmarginalgorithm:
  21853. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  21854. type: integer
  21855. buyfirstmarginvalue:
  21856. description: 买方出价保证金设置值 - [竞拍]
  21857. type: number
  21858. buymarginalgorithm:
  21859. description: 买方保证金方式 - 1:比率 2:固定
  21860. type: integer
  21861. buymarginvalue:
  21862. description: 买方保证金设置值
  21863. type: number
  21864. buyreleaseratio:
  21865. description: 买方释放比率[2:分步履约]
  21866. type: number
  21867. executemode:
  21868. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  21869. type: integer
  21870. executeside:
  21871. description: 执行方[2:分步履约] - 1:买方 2:卖方
  21872. type: integer
  21873. failedchargealgorithm:
  21874. description: 流拍手续费收取方式 1:比率 2:固定
  21875. type: integer
  21876. failedchargevalue:
  21877. description: 流拍手续费设置值
  21878. type: number
  21879. failedchargevalue2:
  21880. description: 流拍卖方手续费设置值
  21881. type: number
  21882. holddays:
  21883. description: 合同期限[2:分步履约]
  21884. type: integer
  21885. listingmode:
  21886. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  21887. type: integer
  21888. marketid:
  21889. description: 市场ID-仓单贸易、竞拍、预售
  21890. type: integer
  21891. minqty:
  21892. description: 最小执行量[2:分步履约]
  21893. type: number
  21894. modifierid:
  21895. description: 修改人
  21896. type: integer
  21897. nowrquotaflag:
  21898. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  21899. type: integer
  21900. performancetempid:
  21901. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21902. 立即执行(-1)
  21903. type: integer
  21904. performancetempid2:
  21905. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21906. 立即执行
  21907. type: integer
  21908. performancetempid2s:
  21909. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21910. - 履约方式: 立即执行
  21911. type: string
  21912. performancetempids:
  21913. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21914. - 履约方式: 立即执行(-1)
  21915. type: string
  21916. performanceway:
  21917. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  21918. type: integer
  21919. sellchargealgorithm:
  21920. description: 卖方手续费收取方式 1:比率 2:固定
  21921. type: integer
  21922. sellchargealgorithm2:
  21923. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  21924. type: integer
  21925. sellchargealgorithmvalue:
  21926. description: 卖方手续费设置值(交易所部分)
  21927. type: number
  21928. sellchargealgorithmvalue2:
  21929. description: 卖方手续费设置值(会员部分)
  21930. type: number
  21931. sellchargealgorithmvalue3:
  21932. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  21933. type: number
  21934. sellchargealgorithmvalue4:
  21935. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  21936. type: number
  21937. sellmarginalgorithm:
  21938. description: 卖方保证金方式 - 1:比率 2:固定
  21939. type: integer
  21940. sellmarginvalue:
  21941. description: 卖方保证金设置值
  21942. type: number
  21943. sellmarginvalue2:
  21944. description: 卖方保证金设置值(无仓单)
  21945. type: number
  21946. sellreleaseratio:
  21947. description: 卖方释放比率[2:分步履约]
  21948. type: number
  21949. updatetime:
  21950. description: 更新时间
  21951. type: string
  21952. type: object
  21953. models.WrOrderDetail:
  21954. properties:
  21955. accountid:
  21956. description: 交易账号(资金账号)
  21957. type: integer
  21958. allfriendsflag:
  21959. description: 是否全好友可见 - 0:否 1:是
  21960. type: integer
  21961. amount:
  21962. description: 期初均价
  21963. type: number
  21964. bannerpicurl:
  21965. description: Banner图
  21966. type: string
  21967. begindate:
  21968. description: 开始交易日(yyyymmdd)
  21969. type: string
  21970. buyorsell:
  21971. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21972. type: integer
  21973. canbargain:
  21974. description: 是否可议价 - 0:不可 1:可
  21975. type: integer
  21976. cancelqty:
  21977. description: 撤销数量
  21978. type: number
  21979. canpart:
  21980. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  21981. type: integer
  21982. delistminqty:
  21983. description: 起摘数量
  21984. type: integer
  21985. deliverygoodscode:
  21986. description: 品种代码
  21987. type: string
  21988. deliverygoodsid:
  21989. description: 品种ID
  21990. type: integer
  21991. deliverygoodsname:
  21992. description: 品种名称
  21993. type: string
  21994. deliverymonth:
  21995. description: 交收月
  21996. type: string
  21997. enddate:
  21998. description: 结束交易日(yyyymmdd)
  21999. type: string
  22000. enumdicname:
  22001. description: 单位名称
  22002. type: string
  22003. fixedprice:
  22004. description: 固定价格 - [挂牌]
  22005. type: number
  22006. freezecharge:
  22007. description: 期初均价
  22008. type: number
  22009. freezemargin:
  22010. description: 期初均价
  22011. type: number
  22012. futupricemove:
  22013. description: 期货升贴水
  22014. type: number
  22015. futushow:
  22016. description: 期货合约/升贴水
  22017. type: string
  22018. goodscode:
  22019. description: 期货合约
  22020. type: string
  22021. goodsid:
  22022. description: 期货商品id
  22023. type: integer
  22024. goodsname:
  22025. description: 商品名称
  22026. type: string
  22027. haswr:
  22028. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22029. type: integer
  22030. isspecified:
  22031. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  22032. type: integer
  22033. ladingbillid:
  22034. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  22035. type: string
  22036. marginvalue:
  22037. description: 期初均价
  22038. type: number
  22039. marketid:
  22040. description: 市场ID
  22041. type: integer
  22042. matchusername:
  22043. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  22044. type: string
  22045. minivalue:
  22046. description: 现货商品最小变动值
  22047. type: integer
  22048. optioncompare:
  22049. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22050. type: string
  22051. orderqty:
  22052. description: 委托数量
  22053. type: number
  22054. ordertime:
  22055. description: 委托时间(挂牌时间)
  22056. type: string
  22057. performancetemplateid:
  22058. description: 履约模板id
  22059. type: integer
  22060. pricemove:
  22061. description: 升贴水(浮动价时填写) - [挂牌]
  22062. type: number
  22063. taname:
  22064. description: 交易用户名称(资金账号名称)
  22065. type: string
  22066. thumurls:
  22067. description: 缩略图
  22068. type: string
  22069. tradedate:
  22070. description: 交易日(yyyyMMdd)
  22071. type: string
  22072. tradeprice:
  22073. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  22074. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  22075. type: number
  22076. tradeqty:
  22077. description: 成交数量
  22078. type: number
  22079. unitid:
  22080. description: 现货商品单位ID
  22081. type: integer
  22082. userid:
  22083. description: 用户ID
  22084. type: integer
  22085. validtime:
  22086. description: 挂牌有效期
  22087. type: string
  22088. validtype:
  22089. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22090. type: integer
  22091. warehouseid:
  22092. description: 仓库ID
  22093. type: integer
  22094. warehousename:
  22095. description: 仓库名称
  22096. type: string
  22097. wrfactortypeid:
  22098. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22099. type: string
  22100. wrfactortypename:
  22101. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22102. type: string
  22103. wrpricetype:
  22104. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  22105. type: integer
  22106. wrstandardcode:
  22107. description: 现货商品代码
  22108. type: string
  22109. wrstandardid:
  22110. description: 现货商品ID
  22111. type: integer
  22112. wrstandardname:
  22113. description: 商品名称
  22114. type: string
  22115. wrtradeorderid:
  22116. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22117. type: string
  22118. wrtradeorderstatus:
  22119. 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:撤单解冻贷款失败
  22120. type: integer
  22121. wrtradetype:
  22122. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  22123. type: integer
  22124. wrtypename:
  22125. description: 商品
  22126. type: string
  22127. type: object
  22128. models.WrOrderQuote:
  22129. properties:
  22130. bannerpicurl:
  22131. description: Banner图
  22132. type: string
  22133. buyprice:
  22134. description: 买价
  22135. type: number
  22136. buypricemove:
  22137. description: 买升贴水(基差)
  22138. type: number
  22139. buyqty:
  22140. description: 买量
  22141. type: number
  22142. deliverygoodscode:
  22143. description: 品种代码
  22144. type: string
  22145. deliverygoodsid:
  22146. description: 品种id
  22147. type: integer
  22148. deliverygoodsname:
  22149. description: 品种名称
  22150. type: string
  22151. deliverymonth:
  22152. description: 交收月
  22153. type: string
  22154. enumdicname:
  22155. description: 单位名称
  22156. type: string
  22157. goodscode:
  22158. description: 商品合约(浮动价列表才有)
  22159. type: string
  22160. goodsid:
  22161. description: 商品id(浮动价列表才有)
  22162. type: integer
  22163. minivalue:
  22164. description: 现货商品最小变动值
  22165. type: integer
  22166. pictureurls:
  22167. description: 详情图片(逗号分隔)
  22168. type: string
  22169. sellprice:
  22170. description: 卖价
  22171. type: number
  22172. sellpricemove:
  22173. description: 卖升贴水(基差)
  22174. type: number
  22175. sellqty:
  22176. description: 卖量
  22177. type: number
  22178. spotgoodsprice:
  22179. description: 参考价(THJ)
  22180. type: number
  22181. thumurls:
  22182. description: 缩略图片(1:1)(逗号分隔)
  22183. type: string
  22184. warehousecode:
  22185. description: 仓库代码
  22186. type: string
  22187. warehouseid:
  22188. description: 仓库id
  22189. type: integer
  22190. warehousename:
  22191. description: 仓库名称
  22192. type: string
  22193. wrfactortypeid:
  22194. description: 仓单要素id
  22195. type: string
  22196. wrfactortypename:
  22197. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22198. type: string
  22199. wrgoodsname:
  22200. description: 商品(商品名称+仓库要素名称 拼接)
  22201. type: string
  22202. wrstandardcode:
  22203. description: 商品代码
  22204. type: string
  22205. wrstandardid:
  22206. description: 商品id
  22207. type: integer
  22208. wrstandardname:
  22209. description: 商品名称
  22210. type: string
  22211. type: object
  22212. models.WrOrderQuoteDetail:
  22213. properties:
  22214. buyorsell:
  22215. description: 买卖 - 0:买 1:卖
  22216. type: integer
  22217. delistminqty:
  22218. description: 期初均价
  22219. type: number
  22220. deliverymonth:
  22221. description: 交收月
  22222. type: string
  22223. enumdicname:
  22224. description: 单位名称
  22225. type: string
  22226. fixedprice:
  22227. description: 买(卖)价
  22228. type: number
  22229. marketid:
  22230. description: 市场id
  22231. type: integer
  22232. minivalue:
  22233. description: 现货商品最小变动值
  22234. type: integer
  22235. orderqty:
  22236. description: 买(卖)量(=委托量-成交量)
  22237. type: number
  22238. ordertime:
  22239. description: 委托时间
  22240. type: string
  22241. pricemove:
  22242. description: 买(卖)升贴水- 基差
  22243. type: number
  22244. userid:
  22245. description: 购买方(销售方)用户ID
  22246. type: integer
  22247. username:
  22248. description: 购买方(销售方)
  22249. type: string
  22250. wrtradeorderid:
  22251. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22252. type: string
  22253. type: object
  22254. models.WrOutInApply:
  22255. properties:
  22256. address:
  22257. description: 详细地址
  22258. type: string
  22259. applyid:
  22260. description: 申请单id
  22261. type: string
  22262. applystatus:
  22263. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  22264. 8:已撤销
  22265. type: integer
  22266. applytime:
  22267. description: 申请时间
  22268. type: string
  22269. applytype:
  22270. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  22271. type: integer
  22272. appointmentmodel:
  22273. description: 预约方式 - 1:物流 2:自送 3:自提
  22274. type: integer
  22275. appointmentmodeldisplay:
  22276. description: 预约方式(显示枚举)
  22277. type: string
  22278. appointmentremark:
  22279. description: 申请备注
  22280. type: string
  22281. bannerpicurl:
  22282. description: Banner图
  22283. type: string
  22284. begindate:
  22285. description: 开始交易日(yyyymmdd)
  22286. type: string
  22287. contactname:
  22288. description: 联系人
  22289. type: string
  22290. contactnum:
  22291. description: 联系方式
  22292. type: string
  22293. deliverygoodscode:
  22294. description: 品种代码
  22295. type: string
  22296. deliverygoodsid:
  22297. description: 品种ID
  22298. type: integer
  22299. deliverygoodsname:
  22300. description: 品种名称
  22301. type: string
  22302. enddate:
  22303. description: 结束交易日(yyyymmdd)
  22304. type: string
  22305. enumdicname:
  22306. description: 单位名称
  22307. type: string
  22308. expresscompany:
  22309. description: 物流公司
  22310. type: string
  22311. expressnum:
  22312. description: 物流单号
  22313. type: string
  22314. minivalue:
  22315. description: 现货商品最小变动值
  22316. type: integer
  22317. optioncompare:
  22318. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22319. type: string
  22320. qty:
  22321. description: 数量
  22322. type: integer
  22323. userid:
  22324. description: 用户id
  22325. type: integer
  22326. warehouseid:
  22327. description: 仓库ID
  22328. type: integer
  22329. warehousename:
  22330. description: 仓库名称
  22331. type: string
  22332. wrfactortypeid:
  22333. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22334. type: string
  22335. wrfactortypename:
  22336. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22337. type: string
  22338. wrstandardcode:
  22339. description: 现货商品代码
  22340. type: string
  22341. wrstandardid:
  22342. description: 现货商品ID
  22343. type: integer
  22344. wrstandardname:
  22345. description: 商品名称
  22346. type: string
  22347. wrtypename:
  22348. description: 商品
  22349. type: string
  22350. type: object
  22351. models.WrPerformancePlan:
  22352. properties:
  22353. activatemonth:
  22354. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  22355. type: string
  22356. amount:
  22357. description: 履约金额(总金额)
  22358. type: number
  22359. begindate:
  22360. description: 开始交易日(yyyymmdd)
  22361. type: string
  22362. buyaccountid:
  22363. description: 买方账号
  22364. type: integer
  22365. buyerfreezeamount:
  22366. description: 履约冻结(买履约)
  22367. type: number
  22368. buyerfreezeamountremain:
  22369. description: 履约冻结剩余(买履约)
  22370. type: number
  22371. buyorsell:
  22372. description: 买卖方向 0-买 1-卖
  22373. type: integer
  22374. buypaidamount:
  22375. description: 买方已冻/已扣金额 (已付金额)
  22376. type: number
  22377. buyusername:
  22378. description: 买方名字
  22379. type: string
  22380. contractid:
  22381. description: 合同ID
  22382. type: integer
  22383. createtime:
  22384. description: 创建时间
  22385. type: string
  22386. creatorid:
  22387. description: 创建人
  22388. type: integer
  22389. curstepdeadline:
  22390. description: 当前步骤到期时间
  22391. type: string
  22392. curstepid:
  22393. description: 当前步骤ID
  22394. type: string
  22395. curstepname:
  22396. description: 当前步骤名称
  22397. type: string
  22398. deliverygoodscode:
  22399. description: 品种代码
  22400. type: string
  22401. deliverygoodsid:
  22402. description: 品种ID
  22403. type: integer
  22404. deliverygoodsname:
  22405. description: 品种名称
  22406. type: string
  22407. enddate:
  22408. description: 结束交易日(yyyymmdd)
  22409. type: string
  22410. enumdicname:
  22411. description: 单位名称
  22412. type: string
  22413. expressfee:
  22414. description: 运费
  22415. type: number
  22416. expressfeeconfirmed:
  22417. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  22418. type: integer
  22419. hasovershort:
  22420. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  22421. type: integer
  22422. haswr:
  22423. description: 类型 0-仓单预售 1-仓单贸易
  22424. type: integer
  22425. marketid:
  22426. description: 市场ID
  22427. type: integer
  22428. middleaccountid:
  22429. description: 中间商资金账号ID
  22430. type: integer
  22431. middleuserid:
  22432. description: 中间商用户ID
  22433. type: integer
  22434. minivalue:
  22435. description: 现货商品最小变动值
  22436. type: integer
  22437. optioncompare:
  22438. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22439. type: string
  22440. overshortamount:
  22441. description: 溢短金额
  22442. type: number
  22443. overshortqty:
  22444. description: 溢短数量
  22445. type: number
  22446. paymenttype:
  22447. description: 付款方式 - 1:冻结 2:扣款
  22448. type: integer
  22449. performanceplanid:
  22450. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  22451. type: string
  22452. performancestatus:
  22453. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  22454. 9:超时待处理 10:超时关闭
  22455. type: integer
  22456. performancetype:
  22457. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  22458. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  22459. type: integer
  22460. qty:
  22461. description: 履约数量
  22462. type: number
  22463. relatedorderid:
  22464. description: 关联单号(履约类型的关联单号)
  22465. type: string
  22466. remark:
  22467. description: 备注
  22468. type: string
  22469. sellaccountid:
  22470. description: 卖方账号
  22471. type: integer
  22472. sellerfreezeamount:
  22473. description: 履约冻结(卖履约)
  22474. type: number
  22475. sellerfreezeamountremain:
  22476. description: 履约冻结剩余(卖履约)
  22477. type: number
  22478. sellreceivedamount:
  22479. description: 卖方已收金额
  22480. type: number
  22481. sellusername:
  22482. description: 卖方名字
  22483. type: string
  22484. shipremark:
  22485. description: 发货备注[物流单号]
  22486. type: string
  22487. starttime:
  22488. description: 开始时间
  22489. type: string
  22490. steptypeid:
  22491. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22492. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22493. type: integer
  22494. typename:
  22495. description: 履约类型 名称
  22496. type: string
  22497. unpaidamount:
  22498. description: 期初均价
  22499. type: number
  22500. userid:
  22501. description: 用户id
  22502. type: integer
  22503. warehouseid:
  22504. description: 仓库ID
  22505. type: integer
  22506. warehousename:
  22507. description: 仓库名称
  22508. type: string
  22509. wrfactortypeid:
  22510. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22511. type: string
  22512. wrfactortypename:
  22513. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22514. type: string
  22515. wrstandardcode:
  22516. description: 现货商品代码
  22517. type: string
  22518. wrstandardid:
  22519. description: 现货商品ID
  22520. type: integer
  22521. wrstandardname:
  22522. description: 商品名称
  22523. type: string
  22524. wrtransferuserid:
  22525. description: 仓单受让用户
  22526. type: integer
  22527. wrtypename:
  22528. description: 商品
  22529. type: string
  22530. required:
  22531. - userid
  22532. type: object
  22533. models.WrPerformancePlanStep:
  22534. properties:
  22535. delaydays:
  22536. description: 延期申请天数
  22537. type: integer
  22538. deliverygoodscode:
  22539. description: 品种代码
  22540. type: string
  22541. deliverygoodsid:
  22542. description: 品种ID
  22543. type: integer
  22544. deliverygoodsname:
  22545. description: 品种名称
  22546. type: string
  22547. endtime:
  22548. description: 结束日期
  22549. type: string
  22550. enumdicname:
  22551. description: 单位名称
  22552. type: string
  22553. executeside:
  22554. description: 步骤执行方 - 1:买方 2:卖方
  22555. type: integer
  22556. handlestatus:
  22557. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  22558. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  22559. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  22560. type: integer
  22561. isauto:
  22562. description: 是否自动 - 0:不自动 1:自动
  22563. type: integer
  22564. islastreceivestep:
  22565. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  22566. type: integer
  22567. minivalue:
  22568. description: 现货商品最小变动值
  22569. type: integer
  22570. optioncompare:
  22571. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22572. type: string
  22573. overdays:
  22574. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  22575. type: integer
  22576. performancestepid:
  22577. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  22578. type: string
  22579. planid:
  22580. description: 所属履约计划ID
  22581. type: string
  22582. realamount:
  22583. description: 实际完成金额
  22584. type: number
  22585. relatedorderid:
  22586. description: 关联单号
  22587. type: string
  22588. remaindays:
  22589. description: 剩余天数
  22590. type: integer
  22591. remark:
  22592. description: 错误备注
  22593. type: string
  22594. starttime:
  22595. description: 开始日期
  22596. type: string
  22597. stepamount:
  22598. description: 步骤金额
  22599. type: number
  22600. stepdays:
  22601. description: 距离上一步天数(分钟)
  22602. type: integer
  22603. stepindex:
  22604. description: 步骤序号
  22605. type: integer
  22606. steplanchtype:
  22607. description: 步骤启动类型 - 1:系统自动 2:手动
  22608. type: integer
  22609. stepremark:
  22610. description: 步骤备注
  22611. type: string
  22612. stepstatus:
  22613. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  22614. type: integer
  22615. steptypeid:
  22616. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22617. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22618. type: integer
  22619. steptypename:
  22620. description: 步骤名称
  22621. type: string
  22622. stepvalue:
  22623. description: 步骤值
  22624. type: number
  22625. warehouseid:
  22626. description: 仓库ID
  22627. type: integer
  22628. warehousename:
  22629. description: 仓库名称
  22630. type: string
  22631. wrfactortypeid:
  22632. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22633. type: string
  22634. wrfactortypename:
  22635. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22636. type: string
  22637. wrstandardcode:
  22638. description: 现货商品代码
  22639. type: string
  22640. wrstandardid:
  22641. description: 现货商品ID
  22642. type: integer
  22643. wrstandardname:
  22644. description: 商品名称
  22645. type: string
  22646. wrtypename:
  22647. description: 商品
  22648. type: string
  22649. type: object
  22650. models.WrPerformanceStepType:
  22651. properties:
  22652. canauto:
  22653. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  22654. type: integer
  22655. steptypeid:
  22656. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  22657. type: integer
  22658. steptypename:
  22659. description: 步骤类型名称
  22660. type: string
  22661. type: object
  22662. models.WrPerformanceTemplateEx:
  22663. properties:
  22664. autoid:
  22665. description: AutoID 模板id
  22666. type: integer
  22667. createtime:
  22668. description: 创建时间
  22669. type: string
  22670. creatorid:
  22671. description: 创建人
  22672. type: integer
  22673. lstStep:
  22674. description: 步骤信息列表
  22675. items:
  22676. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  22677. type: array
  22678. paymenttype:
  22679. description: 支付方式 - 1:冻结 2:扣款
  22680. type: integer
  22681. takemode:
  22682. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  22683. type: integer
  22684. templatename:
  22685. description: 模板名称
  22686. type: string
  22687. templatetype:
  22688. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  22689. (无仓单) 5:挂牌期权 6:竞拍-降价式
  22690. type: integer
  22691. userid:
  22692. description: 所属用户
  22693. type: integer
  22694. type: object
  22695. models.WrPosition:
  22696. properties:
  22697. accountid:
  22698. description: 帐户ID
  22699. type: integer
  22700. buyexcuteqty:
  22701. description: 采购履约中数量
  22702. type: number
  22703. creditcurqty:
  22704. description: 授信当前数量(预售仓单:预售当前量)
  22705. type: number
  22706. creditenableqty:
  22707. description: '授信可用数量(预售仓单: 可用数量)'
  22708. type: number
  22709. creditfreezeqty:
  22710. description: '授信冻结数量(预售仓单: 当前数量)'
  22711. type: number
  22712. credittotalqty:
  22713. description: 授信总数量(预售仓单:预售总量)
  22714. type: number
  22715. credittradeqty:
  22716. description: 授信成交数量(预售仓单:成交总量)
  22717. type: number
  22718. deliverygoodscode:
  22719. description: 品种代码
  22720. type: string
  22721. deliverygoodsid:
  22722. description: 品种ID
  22723. type: integer
  22724. deliverygoodsname:
  22725. description: 品种名称
  22726. type: string
  22727. enalbeqty:
  22728. description: 可用数量
  22729. type: number
  22730. enumdicname:
  22731. description: 单位名称
  22732. type: string
  22733. freezeqty:
  22734. description: 总冻结数量
  22735. type: number
  22736. haswr:
  22737. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22738. type: integer
  22739. minivalue:
  22740. description: 现货商品最小变动值
  22741. type: integer
  22742. modifytime:
  22743. description: 修改时间(过户时间)
  22744. type: string
  22745. optioncompare:
  22746. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22747. type: string
  22748. pledgeqty:
  22749. description: 质押数量
  22750. type: number
  22751. querytype:
  22752. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  22753. type: integer
  22754. sellexcuteqty:
  22755. description: 销售履约中数量
  22756. type: number
  22757. totalqty:
  22758. description: 总数量(库存数量)
  22759. type: number
  22760. warehouseid:
  22761. description: 仓库ID
  22762. type: integer
  22763. warehousename:
  22764. description: 仓库名称
  22765. type: string
  22766. wrfactortypeid:
  22767. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22768. type: string
  22769. wrfactortypename:
  22770. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22771. type: string
  22772. wrpositionid:
  22773. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  22774. type: string
  22775. wrpositionno:
  22776. description: 仓单编号
  22777. type: string
  22778. wrstandardcode:
  22779. description: 现货商品代码
  22780. type: string
  22781. wrstandardid:
  22782. description: 现货商品ID
  22783. type: integer
  22784. wrstandardname:
  22785. description: 商品名称
  22786. type: string
  22787. wrtypename:
  22788. description: 商品
  22789. type: string
  22790. wruserid:
  22791. description: 持有人ID
  22792. type: integer
  22793. type: object
  22794. models.WrPreSaleInfo:
  22795. properties:
  22796. bannerpicurl:
  22797. description: Banner图
  22798. type: string
  22799. baseqty:
  22800. description: 中签基数
  22801. type: number
  22802. createtime:
  22803. description: 创建时间
  22804. type: string
  22805. deliverygoodsid:
  22806. description: 现货品种ID
  22807. type: integer
  22808. enddate:
  22809. description: 预售结束日期
  22810. type: string
  22811. enumdicname:
  22812. description: 单位名称
  22813. type: string
  22814. lotteryflag:
  22815. description: 摇号标识 - 0:未摇号 1:已摇号
  22816. type: integer
  22817. lotteryqty:
  22818. description: 摇号总量
  22819. type: number
  22820. luckyqty:
  22821. description: 已中签量
  22822. type: number
  22823. marketid:
  22824. description: 市场ID
  22825. type: integer
  22826. maxbuyqty:
  22827. description: 单人最大申购量
  22828. type: number
  22829. maxluckyqty:
  22830. description: 单人最大中签量
  22831. type: number
  22832. pictureurls:
  22833. description: 详情图片(逗号分隔)
  22834. type: string
  22835. placeqty:
  22836. description: 已配售量
  22837. type: number
  22838. presaleapplyid:
  22839. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  22840. example: "0"
  22841. type: string
  22842. presaleqty:
  22843. description: 预售总量
  22844. type: number
  22845. presalestatus:
  22846. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  22847. type: integer
  22848. sellaccountid:
  22849. description: 发行方资金账户ID
  22850. type: integer
  22851. selluserid:
  22852. description: 发行方用户ID
  22853. type: integer
  22854. sellwrtradeorderid:
  22855. description: 发行方卖委托单ID
  22856. type: string
  22857. startdate:
  22858. description: 预售开始日期
  22859. type: string
  22860. takestartdate:
  22861. description: 提货开始日期
  22862. type: string
  22863. thumurls:
  22864. description: 缩略图片(1:1)(逗号分隔)
  22865. type: string
  22866. tradedate:
  22867. description: 交易日
  22868. type: string
  22869. unitid:
  22870. description: 单位ID
  22871. type: integer
  22872. unitprice:
  22873. description: 商品单价
  22874. type: number
  22875. username:
  22876. description: 发行方用户名称
  22877. type: string
  22878. warehousecode:
  22879. description: 仓库代码(仓库简称)
  22880. type: string
  22881. warehouseid:
  22882. description: 仓库ID
  22883. type: integer
  22884. warehousename:
  22885. description: 仓库名称
  22886. type: string
  22887. wrfactortypeid:
  22888. description: 仓单要素类型ID - 根据现货商品\仓库生成
  22889. example: "0"
  22890. type: string
  22891. wrstandardid:
  22892. description: 现货商品ID
  22893. type: integer
  22894. wrstandardname:
  22895. description: 现货商品名称
  22896. type: string
  22897. type: object
  22898. models.WrQuoteOrderMyq:
  22899. properties:
  22900. buyorsell:
  22901. description: 买卖 - 0:买 1:卖
  22902. type: integer
  22903. canbargain:
  22904. description: 是否可议价 - 0:不可 1:可
  22905. type: integer
  22906. canpart:
  22907. description: 是否允许部份摘牌 - 0:不允许 1:允许
  22908. type: integer
  22909. delistminqty:
  22910. description: 期初均价
  22911. type: number
  22912. deliverygoodscode:
  22913. description: 品种代码
  22914. type: string
  22915. deliverygoodsid:
  22916. description: 品种ID
  22917. type: integer
  22918. deliverygoodsname:
  22919. description: 品种名称
  22920. type: string
  22921. deliverymonth:
  22922. description: 交收月
  22923. type: string
  22924. enumdicname:
  22925. description: 单位名称
  22926. type: string
  22927. fixedprice:
  22928. description: 买(卖)价
  22929. type: number
  22930. goodscode:
  22931. description: 商品合约代码
  22932. type: string
  22933. marginflag:
  22934. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  22935. type: integer
  22936. marginvalue:
  22937. description: 保证金设置值
  22938. type: number
  22939. minivalue:
  22940. description: 现货商品最小变动值
  22941. type: integer
  22942. orderqty:
  22943. description: 买(卖)量(=委托量-成交量)
  22944. type: number
  22945. ordertime:
  22946. description: 委托时间
  22947. type: string
  22948. performancetemplateid:
  22949. description: 履约模板id
  22950. type: integer
  22951. pricemove:
  22952. description: 买(卖)升贴水- 基差
  22953. type: number
  22954. templatename:
  22955. description: 履约模板名称
  22956. type: string
  22957. userid:
  22958. description: 购买方(销售方)用户ID
  22959. type: integer
  22960. username:
  22961. description: 购买方(销售方)
  22962. type: string
  22963. validtime:
  22964. description: 有效期限
  22965. type: string
  22966. validtype:
  22967. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22968. type: integer
  22969. warehousename:
  22970. description: 仓库名称
  22971. type: string
  22972. wrfactortypeid:
  22973. description: 仓单要素id
  22974. type: string
  22975. wrstandardcode:
  22976. description: 现货商品代码
  22977. type: string
  22978. wrstandardid:
  22979. description: 现货商品ID
  22980. type: integer
  22981. wrstandardname:
  22982. description: 商品名称
  22983. type: string
  22984. wrtradeorderid:
  22985. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22986. type: string
  22987. wrtypename:
  22988. description: 商品
  22989. type: string
  22990. type: object
  22991. models.WrReckonSpotGoodsTradeSum:
  22992. properties:
  22993. begindate:
  22994. description: 开始日期(结果含开始日期) yyyymmdd
  22995. type: string
  22996. enddate:
  22997. description: 结束日期(结果含结束日期) yyyymmdd
  22998. type: string
  22999. istoday:
  23000. description: 是否当日
  23001. type: boolean
  23002. marketid:
  23003. description: 市场ID
  23004. type: integer
  23005. price:
  23006. description: 价格 = 日成交金额 / 日成交数量
  23007. type: string
  23008. reckondate:
  23009. description: 日期 格式 yyyymmdd
  23010. type: string
  23011. tradeamount:
  23012. description: 期初均价
  23013. type: number
  23014. tradeqty:
  23015. description: 期初均价
  23016. type: number
  23017. wrstandardid:
  23018. description: 现货商品ID
  23019. type: integer
  23020. type: object
  23021. models.WrScfContract:
  23022. properties:
  23023. borroweruserid:
  23024. description: 借款用户ID
  23025. type: integer
  23026. buybackwrpositionqty:
  23027. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  23028. type: number
  23029. closeinterest:
  23030. description: 已结利息 -> 已结费用
  23031. type: number
  23032. currisklevel:
  23033. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  23034. type: integer
  23035. deadline:
  23036. description: 截止日期(yyyyMMdd) -> 借款到期时间
  23037. type: string
  23038. deliverygoodscode:
  23039. description: 品种代码
  23040. type: string
  23041. deliverygoodsid:
  23042. description: 品种ID
  23043. type: integer
  23044. deliverygoodsname:
  23045. description: 品种名称
  23046. type: string
  23047. enumdicname:
  23048. description: 单位名称
  23049. type: string
  23050. financingdays:
  23051. description: 天数(天)
  23052. type: integer
  23053. initmargin:
  23054. description: 保证金 - [仓单回购]
  23055. type: number
  23056. interestamount:
  23057. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  23058. type: number
  23059. interestdebt:
  23060. description: 利息欠款(记录负数) -> 费用欠款
  23061. type: number
  23062. interestminlen:
  23063. description: 最小起息天数
  23064. type: integer
  23065. interestrate:
  23066. description: 利率
  23067. type: number
  23068. interestratemode:
  23069. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  23070. type: integer
  23071. interestsettlemode:
  23072. description: 结息方式 - 1:按日结息 3:按月结息
  23073. type: integer
  23074. interestsettlevalue:
  23075. description: 结息方式值
  23076. type: integer
  23077. isautoloan:
  23078. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  23079. type: integer
  23080. lastcloseinterestday:
  23081. description: 最近结息日(yyyyMMdd)
  23082. type: string
  23083. lenderamount:
  23084. description: 贷款金额 -> 借款金额
  23085. type: number
  23086. lenderuserid:
  23087. description: 贷款方用户ID -> 融出方用户ID
  23088. type: integer
  23089. lenderusername:
  23090. description: 融出方
  23091. type: string
  23092. marginratio:
  23093. description: 保证金比率质押率 - [仓单质押]
  23094. type: number
  23095. marketid:
  23096. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  23097. type: integer
  23098. minivalue:
  23099. description: 现货商品最小变动值
  23100. type: integer
  23101. optioncompare:
  23102. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23103. type: string
  23104. pricemove:
  23105. description: 估值升贴水值
  23106. type: number
  23107. productdetailid:
  23108. description: 产品组合ID
  23109. type: integer
  23110. productid:
  23111. description: 金融产品ID
  23112. type: integer
  23113. productname:
  23114. description: 产品名称
  23115. type: string
  23116. remainamount:
  23117. description: 合同剩余金额 -> 剩余金额
  23118. type: number
  23119. remainwrpositionqty:
  23120. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  23121. type: number
  23122. remark:
  23123. description: 备注
  23124. type: string
  23125. scfcontractid:
  23126. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  23127. type: string
  23128. scfcontractstatus:
  23129. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  23130. 9:违约结束 10:已注销 11:已关闭 99:未提交
  23131. type: integer
  23132. scfcontracttype:
  23133. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  23134. type: integer
  23135. startinterestday:
  23136. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  23137. type: string
  23138. totalinterest:
  23139. description: 已计利息 -> 已计费用
  23140. type: number
  23141. unpaidinterest:
  23142. description: 期初均价
  23143. type: number
  23144. updatetime:
  23145. description: 更新时间
  23146. type: string
  23147. warehouseid:
  23148. description: 仓库ID
  23149. type: integer
  23150. warehousename:
  23151. description: 仓库名称
  23152. type: string
  23153. wrfactortypeid:
  23154. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23155. type: string
  23156. wrfactortypename:
  23157. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23158. type: string
  23159. wrqty:
  23160. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  23161. type: number
  23162. wrstandardcode:
  23163. description: 现货商品代码
  23164. type: string
  23165. wrstandardid:
  23166. description: 现货商品ID
  23167. type: integer
  23168. wrstandardname:
  23169. description: 商品名称
  23170. type: string
  23171. wrtypename:
  23172. description: 商品
  23173. type: string
  23174. type: object
  23175. models.WrScfContractInterest:
  23176. properties:
  23177. closeinterest:
  23178. description: 已结利息
  23179. type: number
  23180. closeintereststatus:
  23181. description: 结息状态 - 1:未结 2:已结
  23182. type: integer
  23183. closetime:
  23184. description: 结息时间
  23185. type: string
  23186. closetradedate:
  23187. description: 结息交易日
  23188. type: string
  23189. creatorid:
  23190. description: 操作人ID
  23191. type: integer
  23192. dayrate:
  23193. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  23194. type: number
  23195. interest:
  23196. description: 利息
  23197. type: number
  23198. interestamount:
  23199. description: 计息金额
  23200. type: number
  23201. interestday:
  23202. description: 计息日(yyyyMMdd)
  23203. type: string
  23204. scfcontractid:
  23205. description: SCF合同ID
  23206. type: string
  23207. scfcontractinterestid:
  23208. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  23209. type: integer
  23210. updatetime:
  23211. description: 更新时间
  23212. type: string
  23213. type: object
  23214. models.WrSearchUser:
  23215. properties:
  23216. userid:
  23217. description: 用户ID
  23218. type: integer
  23219. username:
  23220. description: 用户名称(已脱敏)
  23221. type: string
  23222. username2:
  23223. description: 用户名称(未脱敏)
  23224. type: string
  23225. usertype:
  23226. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  23227. type: integer
  23228. required:
  23229. - username
  23230. type: object
  23231. models.WrSiteColumnDetail:
  23232. properties:
  23233. author:
  23234. description: 作者
  23235. type: string
  23236. brief:
  23237. description: 简介
  23238. type: string
  23239. context:
  23240. description: 内容
  23241. type: string
  23242. coverimage:
  23243. description: 封面图片
  23244. type: string
  23245. creaedate:
  23246. description: 创建时间
  23247. type: string
  23248. id:
  23249. description: ID(SEQ_SITE_COLUMNDETAIL)
  23250. type: integer
  23251. istop:
  23252. description: 是否置顶 - 0:不置 1:置顶
  23253. type: integer
  23254. publishdate:
  23255. description: 发布日期
  23256. type: string
  23257. title:
  23258. description: 标题
  23259. type: string
  23260. updatedate:
  23261. description: 修改时间
  23262. type: string
  23263. type: object
  23264. models.WrSpecialMatchOrder:
  23265. properties:
  23266. amount:
  23267. description: 金额 = 数量 * 价格
  23268. type: number
  23269. buyorsell:
  23270. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23271. type: integer
  23272. cancelqty:
  23273. description: 撤销数量
  23274. type: number
  23275. deliverygoodscode:
  23276. description: 品种代码
  23277. type: string
  23278. deliverygoodsid:
  23279. description: 品种ID
  23280. type: integer
  23281. deliverygoodsname:
  23282. description: 品种名称
  23283. type: string
  23284. enumdicname:
  23285. description: 单位名称
  23286. type: string
  23287. fixedprice:
  23288. description: 固定价格(价格)
  23289. type: number
  23290. haswr:
  23291. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23292. type: integer
  23293. isspecified:
  23294. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  23295. type: integer
  23296. marketid:
  23297. description: 市场ID
  23298. type: integer
  23299. matchuserid:
  23300. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  23301. type: integer
  23302. matchusername:
  23303. description: 指定方
  23304. type: string
  23305. minivalue:
  23306. description: 现货商品最小变动值
  23307. type: integer
  23308. optioncompare:
  23309. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23310. type: string
  23311. orderqty:
  23312. description: 委托数量
  23313. type: number
  23314. ordertime:
  23315. description: 委托时间
  23316. type: string
  23317. pricemove:
  23318. description: 升贴水(浮动价时填写) - [挂牌]
  23319. type: number
  23320. tradedate:
  23321. description: 交易日(yyyyMMdd)
  23322. type: string
  23323. tradeprice:
  23324. description: 成交价格
  23325. type: number
  23326. tradeqty:
  23327. description: 成交数量
  23328. type: number
  23329. userid:
  23330. description: 用户ID
  23331. type: integer
  23332. username:
  23333. description: 发起方
  23334. type: string
  23335. warehouseid:
  23336. description: 仓库ID
  23337. type: integer
  23338. warehousename:
  23339. description: 仓库名称
  23340. type: string
  23341. wrfactortypeid:
  23342. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23343. type: string
  23344. wrfactortypename:
  23345. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23346. type: string
  23347. wrpricetype:
  23348. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  23349. type: integer
  23350. wrstandardcode:
  23351. description: 现货商品代码
  23352. type: string
  23353. wrstandardid:
  23354. description: 现货商品ID
  23355. type: integer
  23356. wrstandardname:
  23357. description: 商品名称
  23358. type: string
  23359. wrtradeorderid:
  23360. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23361. type: string
  23362. wrtradeorderstatus:
  23363. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  23364. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  23365. type: integer
  23366. wrtradetype:
  23367. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23368. type: integer
  23369. wrtypename:
  23370. description: 商品
  23371. type: string
  23372. type: object
  23373. models.WrSpotGroupTradeSum:
  23374. properties:
  23375. deliverygoodscode:
  23376. description: 现货品种代码
  23377. type: string
  23378. deliverygoodsid:
  23379. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23380. type: integer
  23381. deliverygoodsname:
  23382. description: 现货品种名称
  23383. type: string
  23384. lastavgprice:
  23385. description: 上上个交易日价格(前2天价格)
  23386. type: string
  23387. lastreckondate:
  23388. description: 上上个交易日(前2天交易日)
  23389. type: string
  23390. reckondate:
  23391. description: 上个交易日(前1天交易日)
  23392. type: string
  23393. todayavgprice:
  23394. description: 上个交易日价格(前1天价格)
  23395. type: string
  23396. updown:
  23397. description: 涨跌
  23398. type: string
  23399. updownratio:
  23400. description: 涨幅(已格式化, 直接显示即可)
  23401. type: string
  23402. type: object
  23403. models.WrSpotGroupTradeSumDetail:
  23404. properties:
  23405. deliverygoodsid:
  23406. description: 现货商品id
  23407. type: integer
  23408. price:
  23409. description: 价格
  23410. type: number
  23411. reckondate:
  23412. description: 日期(yyymmdd, 如:20211031)
  23413. type: string
  23414. type: object
  23415. models.WrSpotGroupTradeSumEx:
  23416. properties:
  23417. lst:
  23418. description: 指数列表
  23419. items:
  23420. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  23421. type: array
  23422. prereckondate:
  23423. description: 上上个交易日(yyymmdd)
  23424. type: string
  23425. reckondate:
  23426. description: 上个交易日(yyyymmdd)
  23427. type: string
  23428. type: object
  23429. models.WrStandardFactoryItem:
  23430. properties:
  23431. dgfactoryitemid:
  23432. description: 选择项id
  23433. type: integer
  23434. dgfactoryitemvalue:
  23435. description: 要素项值
  23436. type: string
  23437. warehouseid:
  23438. description: 仓库id
  23439. type: integer
  23440. type: object
  23441. models.WrStandardFactoryItemEx:
  23442. properties:
  23443. dgfactoryitemtypeid:
  23444. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  23445. type: integer
  23446. itemlst:
  23447. description: 要素项列表
  23448. items:
  23449. $ref: '#/definitions/models.WrStandardFactoryItem'
  23450. type: array
  23451. itemtypename:
  23452. description: 要素项类型名称
  23453. type: string
  23454. wrstandardid:
  23455. description: 品类
  23456. type: integer
  23457. type: object
  23458. models.WrTradeDetail:
  23459. properties:
  23460. accountid:
  23461. description: 资金账号
  23462. type: integer
  23463. bannerpicurl:
  23464. description: Banner图
  23465. type: string
  23466. begindate:
  23467. description: 开始交易日(yyyymmdd)
  23468. type: string
  23469. buyorsell:
  23470. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23471. type: integer
  23472. chargevalue:
  23473. description: 手续费
  23474. type: number
  23475. contractaddr:
  23476. description: 合同地址
  23477. type: string
  23478. deliverygoodscode:
  23479. description: 品种代码
  23480. type: string
  23481. deliverygoodsid:
  23482. description: 品种ID
  23483. type: integer
  23484. deliverygoodsname:
  23485. description: 品种名称
  23486. type: string
  23487. deliverymonth:
  23488. description: 交收月
  23489. type: string
  23490. enddate:
  23491. description: 结束交易日(yyyymmdd)
  23492. type: string
  23493. enumdicname:
  23494. description: 单位名称
  23495. type: string
  23496. haswr:
  23497. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23498. type: integer
  23499. marketid:
  23500. description: 市场ID
  23501. type: integer
  23502. matchaccountid:
  23503. description: 对手账号
  23504. type: integer
  23505. matchusername:
  23506. description: 对手方
  23507. type: string
  23508. minivalue:
  23509. description: 现货商品最小变动值
  23510. type: integer
  23511. optioncompare:
  23512. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23513. type: string
  23514. thumurls:
  23515. description: 缩略图
  23516. type: string
  23517. tradedate:
  23518. description: 交易日(yyyyMMdd)
  23519. type: string
  23520. tradeprice:
  23521. description: 成交价格
  23522. type: number
  23523. tradeqty:
  23524. description: 成交数量
  23525. type: number
  23526. tradetime:
  23527. description: 成交时间
  23528. type: string
  23529. unitid:
  23530. description: 现货商品单位ID
  23531. type: integer
  23532. userid:
  23533. description: 用户ID
  23534. type: integer
  23535. warehouseid:
  23536. description: 仓库ID
  23537. type: integer
  23538. warehousename:
  23539. description: 仓库名称
  23540. type: string
  23541. wrfactortypeid:
  23542. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23543. type: string
  23544. wrfactortypename:
  23545. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23546. type: string
  23547. wrstandardcode:
  23548. description: 现货商品代码
  23549. type: string
  23550. wrstandardid:
  23551. description: 现货商品ID
  23552. type: integer
  23553. wrstandardname:
  23554. description: 商品名称
  23555. type: string
  23556. wrtradedetailid:
  23557. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23558. type: string
  23559. wrtradetype:
  23560. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23561. type: integer
  23562. wrtypename:
  23563. description: 商品
  23564. type: string
  23565. type: object
  23566. models.WrTradeOrderDetail:
  23567. properties:
  23568. buyorsell:
  23569. description: 买卖方向 0-买 1-卖
  23570. type: integer
  23571. goodsid:
  23572. description: 商品id
  23573. type: integer
  23574. orderid:
  23575. description: 委托单号
  23576. type: string
  23577. orderprice:
  23578. description: 期初均价
  23579. type: number
  23580. orderqty:
  23581. description: 委托数量
  23582. type: integer
  23583. userid:
  23584. description: 用户id
  23585. type: integer
  23586. username:
  23587. description: 用户名称(已脱敏)
  23588. type: string
  23589. type: object
  23590. models.WrTypeItem:
  23591. properties:
  23592. name:
  23593. description: 名称
  23594. type: string
  23595. value:
  23596. description: 值
  23597. type: string
  23598. type: object
  23599. models.WrUserFriend:
  23600. properties:
  23601. friendname:
  23602. description: 朋友名称(已脱敏)
  23603. type: string
  23604. frienduserid:
  23605. description: 朋友id
  23606. type: integer
  23607. isfriend:
  23608. description: 是否好友 0-不是 1-是
  23609. type: integer
  23610. userid:
  23611. description: 用户id
  23612. type: integer
  23613. type: object
  23614. models.WrUserReceiptInfo:
  23615. properties:
  23616. address:
  23617. description: 地址[发票类型:企业]
  23618. type: string
  23619. autoid:
  23620. description: AutoID
  23621. type: integer
  23622. contactinfo:
  23623. description: 联系方式
  23624. type: string
  23625. email:
  23626. description: 收件邮箱
  23627. type: string
  23628. idnum:
  23629. description: 身份证号码[发票类型:个人]
  23630. type: string
  23631. isdefault:
  23632. description: 是否默认地址 - 0:否 1:是
  23633. type: integer
  23634. receiptaccount:
  23635. description: 发票帐号[发票类型:企业]
  23636. type: string
  23637. receiptbank:
  23638. description: 发票开户行[发票类型:企业]
  23639. type: string
  23640. receipttype:
  23641. description: 发票类型 - 1:个人 2:企业
  23642. type: integer
  23643. taxpayerid:
  23644. description: 纳税人识别号
  23645. type: string
  23646. userid:
  23647. description: 用户ID
  23648. type: integer
  23649. username:
  23650. description: 户名(个人姓名或企业名称)
  23651. type: string
  23652. type: object
  23653. models.Wrtradetradequote:
  23654. properties:
  23655. buyaccountid:
  23656. description: 买方账号ID
  23657. type: integer
  23658. buychargevalue:
  23659. description: 买方手续费
  23660. type: number
  23661. buyuserid:
  23662. description: 买方用户ID
  23663. type: integer
  23664. deliverygoodsid:
  23665. description: 现货品种ID
  23666. type: integer
  23667. exchangerate:
  23668. description: 汇率
  23669. type: number
  23670. marketid:
  23671. description: 市场ID
  23672. type: integer
  23673. oritradeamount:
  23674. description: 成交金额[商品币种]
  23675. type: number
  23676. performanceplanid:
  23677. description: 履约计划ID/合同ID
  23678. type: integer
  23679. sellaccountid:
  23680. description: 卖方账号ID
  23681. type: integer
  23682. sellchargevalue:
  23683. description: 卖方手续费
  23684. type: number
  23685. selluserid:
  23686. description: 卖方用户ID
  23687. type: integer
  23688. tradeamount:
  23689. description: 成交金额
  23690. type: number
  23691. tradedate:
  23692. description: 交易日(yyyyMMdd)
  23693. type: string
  23694. tradeprice:
  23695. description: 成交价格
  23696. type: number
  23697. tradeqty:
  23698. description: 成交数量
  23699. type: integer
  23700. tradetime:
  23701. description: 成交时间
  23702. type: string
  23703. wrfactortypeid:
  23704. description: 仓单要素类型ID
  23705. type: integer
  23706. wrstandardid:
  23707. description: 现货商品ID
  23708. type: integer
  23709. wrtradedetailid:
  23710. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23711. type: integer
  23712. type: object
  23713. models.XHBRAND:
  23714. properties:
  23715. brandid:
  23716. description: 品牌id
  23717. type: integer
  23718. brandname:
  23719. description: 品牌名称
  23720. type: string
  23721. isvalid:
  23722. description: 是否有效 0-无效 1-有效
  23723. type: integer
  23724. type: object
  23725. models.XHDeliveryGoods:
  23726. properties:
  23727. areauserid:
  23728. description: 所属机构
  23729. type: integer
  23730. bdlst:
  23731. description: 品牌列表
  23732. items:
  23733. $ref: '#/definitions/models.XHBRAND'
  23734. type: array
  23735. deliverygoodscode:
  23736. description: 现货品种代码
  23737. type: string
  23738. deliverygoodsid:
  23739. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23740. type: integer
  23741. deliverygoodsname:
  23742. description: 现货品种名称
  23743. type: string
  23744. dgstatus:
  23745. description: 品种状态 - 作废 - 0:未激活 1:正常
  23746. type: integer
  23747. filterSubEmpty:
  23748. description: 过滤下级为空的
  23749. type: integer
  23750. isvalid:
  23751. description: 是否有效 - 0:无效 1:有效
  23752. type: integer
  23753. remark:
  23754. description: 备注
  23755. type: string
  23756. unitid:
  23757. description: 单位id(目前看,数据库中是空值)
  23758. type: integer
  23759. wdlst:
  23760. description: 品类(现货商品)列表
  23761. items:
  23762. $ref: '#/definitions/models.XHWrstandard'
  23763. type: array
  23764. type: object
  23765. models.XHMiddleGoods:
  23766. properties:
  23767. GPLST:
  23768. description: 期货品种列表
  23769. items:
  23770. $ref: '#/definitions/models.TBGoodsGroup'
  23771. type: array
  23772. convertratio:
  23773. description: 拆算系数
  23774. type: number
  23775. costratio:
  23776. description: 成本权重
  23777. type: number
  23778. deliverygoodsid:
  23779. description: 现货商品id
  23780. type: integer
  23781. enumdicname:
  23782. description: 单位名称
  23783. type: string
  23784. middlegoodscode:
  23785. description: 套保品种代码
  23786. type: string
  23787. middlegoodsid:
  23788. description: 套保品种id
  23789. type: integer
  23790. middlegoodsname:
  23791. description: 套保品种名称
  23792. type: string
  23793. unitid:
  23794. description: 单位id
  23795. type: integer
  23796. type: object
  23797. models.XHWrstandard:
  23798. properties:
  23799. bannerpicurl:
  23800. description: banner图
  23801. type: string
  23802. deliverygoodsid:
  23803. description: 品种ID
  23804. type: integer
  23805. enumdicname:
  23806. description: 单位名称
  23807. type: string
  23808. mglst:
  23809. description: 套保品列表
  23810. items:
  23811. $ref: '#/definitions/models.XHMiddleGoods'
  23812. type: array
  23813. pictureurls:
  23814. description: 详情图片(逗号分隔)
  23815. type: string
  23816. thumurls:
  23817. description: 缩略图片(1:1)(逗号分隔)
  23818. type: string
  23819. unitid:
  23820. description: 单位id
  23821. type: integer
  23822. vatrate:
  23823. description: 增值税率
  23824. type: number
  23825. wrstandardcode:
  23826. description: 现货商品代码
  23827. type: string
  23828. wrstandardid:
  23829. description: 现货商品ID(SEQ_WRSTANDARD)
  23830. type: integer
  23831. wrstandardname:
  23832. description: 现货商品名称
  23833. type: string
  23834. type: object
  23835. models.XhcpSellBackApplyEx:
  23836. properties:
  23837. applyremark:
  23838. description: 申请备注
  23839. type: string
  23840. expirytype:
  23841. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23842. type: integer
  23843. goodsspec:
  23844. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23845. type: integer
  23846. holeflag:
  23847. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23848. type: integer
  23849. isunopened:
  23850. description: 是否原封 - 1:否 2:是
  23851. type: integer
  23852. mpflag:
  23853. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23854. type: integer
  23855. openflag:
  23856. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23857. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23858. type: integer
  23859. phonenum:
  23860. description: 联系电话
  23861. type: string
  23862. userid:
  23863. description: 所属用户ID
  23864. type: integer
  23865. zpflag:
  23866. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23867. type: integer
  23868. required:
  23869. - userid
  23870. type: object
  23871. models.Xhcpsellbackapply:
  23872. properties:
  23873. applyid:
  23874. description: 申请人
  23875. type: integer
  23876. applyremark:
  23877. description: 申请备注
  23878. type: string
  23879. applysrc:
  23880. description: 申请来源 - 1:管理端 2:终端
  23881. type: integer
  23882. applystatus:
  23883. description: 申请状态 - 1:待确认 2:已处理
  23884. type: integer
  23885. applytime:
  23886. description: 申请时间
  23887. type: string
  23888. auditremark:
  23889. description: 审核备注
  23890. type: string
  23891. auditsrc:
  23892. description: 审核来源 - 1:管理端 2:终端
  23893. type: integer
  23894. expirytype:
  23895. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23896. type: integer
  23897. goodsspec:
  23898. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23899. type: integer
  23900. holeflag:
  23901. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23902. type: integer
  23903. isunopened:
  23904. description: 是否原封 - 1:否 2:是
  23905. type: integer
  23906. mpflag:
  23907. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23908. type: integer
  23909. openflag:
  23910. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23911. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23912. type: integer
  23913. phonenum:
  23914. description: 联系电话
  23915. type: string
  23916. sellbackapplyid:
  23917. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  23918. type: string
  23919. userid:
  23920. description: 所属用户ID
  23921. type: integer
  23922. zpflag:
  23923. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23924. type: integer
  23925. required:
  23926. - userid
  23927. type: object
  23928. order.QueryHisTradeDetailRsp:
  23929. properties:
  23930. accountid:
  23931. description: 账户ID[报价币种]
  23932. type: integer
  23933. advanceratio:
  23934. description: 首付比率
  23935. type: number
  23936. buildtype:
  23937. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  23938. type: integer
  23939. buyorsell:
  23940. description: 方向 - 0:买 1:卖
  23941. type: integer
  23942. charge:
  23943. description: 手续费
  23944. type: number
  23945. closecharge:
  23946. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  23947. type: number
  23948. closeexchagechargevalue:
  23949. description: 平仓交易所手续费设置值
  23950. type: number
  23951. closefeealgorithm:
  23952. description: 平仓手续费收取方式 1:比率 2:固定
  23953. type: integer
  23954. closememberchargevalue:
  23955. description: 平仓会员手续费设置值
  23956. type: number
  23957. closepl:
  23958. description: 平仓盈亏
  23959. type: number
  23960. closepl2:
  23961. description: 平仓盈亏[逐笔]
  23962. type: number
  23963. closeqty:
  23964. description: 平仓数量(先建后平操作 需要记录)
  23965. type: number
  23966. creditamount:
  23967. description: 授信金额
  23968. type: number
  23969. decimalplace:
  23970. description: 商品报价小数位
  23971. type: integer
  23972. enumdicname:
  23973. description: 单位名称
  23974. type: string
  23975. gcaccountid:
  23976. description: 账户ID[合约币种]
  23977. type: integer
  23978. goodscode:
  23979. description: 商品代码
  23980. type: string
  23981. goodsid:
  23982. description: 商品ID
  23983. type: integer
  23984. goodsname:
  23985. description: 商品名称
  23986. type: string
  23987. goodunitid:
  23988. description: 商品单位id
  23989. type: integer
  23990. histradedate:
  23991. description: 历史交易日
  23992. type: string
  23993. intclosepl:
  23994. description: 整型盈亏(用于交易结算试算平衡-收益权)
  23995. type: integer
  23996. isconfirmexercise:
  23997. description: 是否确认行权- 0:否 1:是
  23998. type: integer
  23999. ismain:
  24000. description: 是否主单 - 0:不是 1:是
  24001. type: integer
  24002. ispreexercise:
  24003. description: 是否预申报- 0:否 1:是
  24004. type: integer
  24005. isreckoned:
  24006. description: 是否结算 - 0:未结算 1:已结算
  24007. type: integer
  24008. isvaliddata:
  24009. description: 是否有效 - 0:无效 1:有效
  24010. type: integer
  24011. listingselecttype:
  24012. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24013. type: integer
  24014. marketid:
  24015. description: 市场ID
  24016. type: integer
  24017. marketname:
  24018. description: 市场名称
  24019. type: string
  24020. matchaccountid:
  24021. description: 对手账号id
  24022. type: integer
  24023. memberuserid:
  24024. description: 会员id 个人投资者 需要填写
  24025. type: integer
  24026. opencharge:
  24027. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24028. type: number
  24029. openexchagechargevalue:
  24030. description: 建仓交易所手续费设置值
  24031. type: number
  24032. openfeealgorithm:
  24033. description: 建仓手续费收取方式 1:比率 2:固定
  24034. type: integer
  24035. openmemberchargevalue:
  24036. description: 建仓会员手续费设置值
  24037. type: number
  24038. openqty:
  24039. description: 开仓数量(先建后平操作 需要记录)
  24040. type: number
  24041. optiontype:
  24042. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24043. type: integer
  24044. orderid:
  24045. description: 委托单号
  24046. type: string
  24047. payamount:
  24048. description: 支付金额(付款金额)
  24049. type: number
  24050. performanceplanid:
  24051. description: 履约计划ID[期权]
  24052. type: integer
  24053. performancestatus:
  24054. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24055. type: integer
  24056. preexerciseprice:
  24057. description: 预申报价格
  24058. type: number
  24059. premium:
  24060. description: 权利金 - [持仓单的权利金]
  24061. type: number
  24062. qtydecimalplace:
  24063. description: 商品报价小数位
  24064. type: integer
  24065. recvamount:
  24066. description: 到账金额 = 成交金额 - 手续费
  24067. type: number
  24068. relatedouttradeid:
  24069. description: 关联外部成交单ID
  24070. type: integer
  24071. status:
  24072. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24073. type: integer
  24074. totalamount:
  24075. description: 订单总额 = 成交金额 + 手续费
  24076. type: number
  24077. tradeamount:
  24078. description: 成交金额[账户币种,用于所有权]
  24079. type: number
  24080. tradedate:
  24081. description: 交易日(yyyyMMdd)
  24082. type: string
  24083. tradeid:
  24084. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24085. type: string
  24086. trademode:
  24087. description: 交易模式
  24088. type: integer
  24089. tradeprice:
  24090. description: 成交价格
  24091. type: number
  24092. tradeproperty:
  24093. description: 交易属性
  24094. type: integer
  24095. tradeqty:
  24096. description: 成交数量
  24097. type: number
  24098. tradetime:
  24099. description: 成交时间
  24100. type: string
  24101. tradetype:
  24102. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24103. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24104. type: integer
  24105. required:
  24106. - accountid
  24107. - buyorsell
  24108. - goodsid
  24109. - histradedate
  24110. - marketid
  24111. - memberuserid
  24112. - orderid
  24113. - tradeamount
  24114. - tradedate
  24115. - tradeid
  24116. - tradeprice
  24117. - tradeqty
  24118. - tradetime
  24119. type: object
  24120. order.QueryHisTradeOrderDetailRsp:
  24121. properties:
  24122. accountid:
  24123. description: 账户ID[报价币种]
  24124. type: integer
  24125. buildtype:
  24126. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24127. type: integer
  24128. buyorsell:
  24129. description: 买卖 - 0:买 1:卖
  24130. type: integer
  24131. cancelorderid:
  24132. description: 撤单单号(撤单时填写)
  24133. type: string
  24134. cancelqty:
  24135. description: 撤单数量
  24136. type: number
  24137. clientordertime:
  24138. description: 客户端委托时间
  24139. type: string
  24140. clientticket:
  24141. description: 客户端流水号
  24142. type: string
  24143. clienttype:
  24144. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24145. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24146. type: integer
  24147. closeexchagechargevalue:
  24148. description: 平仓交易所手续费设置值
  24149. type: number
  24150. closefeealgorithm:
  24151. description: 平仓手续费收取方式 1:比率 2:固定
  24152. type: integer
  24153. closefreezecharge:
  24154. description: 平仓冻结手续费(先建后平操作,需要记录)
  24155. type: number
  24156. closememberchargevalue:
  24157. description: 平仓会员手续费设置值
  24158. type: number
  24159. closeqty:
  24160. description: 平仓数量(先建后平操作 需要记录)
  24161. type: number
  24162. closetradeqty:
  24163. description: 平仓成交数量(先建后平操作,需要记录)
  24164. type: number
  24165. closeunfreezecharge:
  24166. description: 平仓解冻手续费(先建后平操作,需要记录)
  24167. type: number
  24168. decimalplace:
  24169. description: 商品报价小数位
  24170. type: integer
  24171. delistingtype:
  24172. description: 摘牌类型 - 1:价格最优 2:点选成交
  24173. type: integer
  24174. enumdicname:
  24175. description: 单位名称
  24176. type: string
  24177. freezecharge:
  24178. description: 冻结手续费
  24179. type: number
  24180. freezemargin:
  24181. description: 冻结保证金(冻结交易金额)
  24182. type: number
  24183. gcaccountid:
  24184. description: 账户ID[合约币种]
  24185. type: integer
  24186. goodscode:
  24187. description: 商品代码
  24188. type: string
  24189. goodsid:
  24190. description: 商品ID
  24191. type: integer
  24192. goodsname:
  24193. description: 商品名称
  24194. type: string
  24195. goodunitid:
  24196. description: 商品单位id
  24197. type: integer
  24198. histradedate:
  24199. description: 历史交易日
  24200. type: string
  24201. isconfirmexercise:
  24202. description: 是否确认行权- 0:否 1:是
  24203. type: integer
  24204. ispreexercise:
  24205. description: 是否预申报- 0:否 1:是
  24206. type: integer
  24207. isvaliddata:
  24208. description: 是否有效 - 0:无效 1:有效
  24209. type: integer
  24210. listingselecttype:
  24211. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24212. type: integer
  24213. marginalgorithm:
  24214. description: 保证金收取方式 1:比率 2:固定
  24215. type: integer
  24216. marginvalue:
  24217. description: 即市保证金设置值
  24218. type: number
  24219. marketid:
  24220. description: 市场ID
  24221. type: integer
  24222. marketmaxsub:
  24223. description: 市价最大偏移范围
  24224. type: number
  24225. marketname:
  24226. description: 市场名称
  24227. type: string
  24228. memberuserid:
  24229. description: 所属会员UserID
  24230. type: integer
  24231. openexchagechargevalue:
  24232. description: 建仓交易所手续费设置值
  24233. type: number
  24234. openfeealgorithm:
  24235. description: 建仓手续费收取方式 1:比率 2:固定
  24236. type: integer
  24237. openfreezecharge:
  24238. description: 开仓冻结手续费(先建后平操作,需要记录)
  24239. type: number
  24240. openmemberchargevalue:
  24241. description: 建仓会员手续费设置值
  24242. type: number
  24243. openqty:
  24244. description: 开仓数量(先建后平操作,需要记录)
  24245. type: number
  24246. opentradeqty:
  24247. description: 开仓成交数量(先建后平操作,需要记录)
  24248. type: number
  24249. openunfreezecharge:
  24250. description: 开仓解冻手续费(先建后平操作,需要记录)
  24251. type: number
  24252. operatetype:
  24253. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24254. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24255. 15:管理端协议转让
  24256. type: integer
  24257. operatorid:
  24258. description: 登录账号(LoginID)
  24259. type: integer
  24260. optiontype:
  24261. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24262. type: integer
  24263. orderid:
  24264. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24265. type: string
  24266. orderprice:
  24267. description: 委托价格
  24268. type: number
  24269. orderqty:
  24270. description: 委托数量
  24271. type: number
  24272. ordersrc:
  24273. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24274. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24275. type: integer
  24276. orderstatus:
  24277. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24278. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24279. 16:成交失败违约(荷兰式竞拍专用)
  24280. type: integer
  24281. ordertime:
  24282. description: 委托时间
  24283. type: string
  24284. preexerciseprice:
  24285. description: 预申报价格
  24286. type: number
  24287. premium:
  24288. description: 权利金
  24289. type: number
  24290. preorderid:
  24291. description: 关联预埋单号(止盈止损单时填写)
  24292. type: string
  24293. pricemode:
  24294. description: '取价方式 - 1:市价 2: 限价'
  24295. type: integer
  24296. qtydecimalplace:
  24297. description: 成交量小数位
  24298. type: integer
  24299. quoteid:
  24300. description: 报价单ID
  24301. type: integer
  24302. relatedid:
  24303. description: 关联单号(交割单)
  24304. type: string
  24305. retcode:
  24306. description: 错误代码
  24307. type: integer
  24308. sessionid:
  24309. description: 会话ID
  24310. type: integer
  24311. tradedate:
  24312. description: 交易日(yyyyMMdd)
  24313. type: string
  24314. trademode:
  24315. description: 交易模式
  24316. type: integer
  24317. tradeproperty:
  24318. description: 交易属性
  24319. type: integer
  24320. tradeqty:
  24321. description: 成交数量
  24322. type: number
  24323. unfreezecharge:
  24324. description: 解冻手续费
  24325. type: number
  24326. unfreezemargin:
  24327. description: 解冻保证金
  24328. type: number
  24329. updatetime:
  24330. description: 更新时间
  24331. type: string
  24332. uuid:
  24333. description: 发起端唯一id
  24334. type: string
  24335. validtime:
  24336. description: 有效期限
  24337. type: string
  24338. validtype:
  24339. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24340. type: integer
  24341. volumetype:
  24342. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24343. type: integer
  24344. required:
  24345. - accountid
  24346. - buildtype
  24347. - buyorsell
  24348. - goodsid
  24349. - histradedate
  24350. - marketid
  24351. - memberuserid
  24352. - operatetype
  24353. - orderid
  24354. - orderqty
  24355. - ordertime
  24356. - pricemode
  24357. - tradedate
  24358. - validtype
  24359. type: object
  24360. order.QueryTradeDetailRsp:
  24361. properties:
  24362. accountid:
  24363. description: 账户ID[报价币种]
  24364. type: integer
  24365. advanceratio:
  24366. description: 首付比率
  24367. type: number
  24368. buildtype:
  24369. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  24370. type: integer
  24371. buyorsell:
  24372. description: 方向 - 0:买 1:卖
  24373. type: integer
  24374. charge:
  24375. description: 手续费
  24376. type: number
  24377. closecharge:
  24378. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24379. type: number
  24380. closeexchagechargevalue:
  24381. description: 平仓交易所手续费设置值
  24382. type: number
  24383. closefeealgorithm:
  24384. description: 平仓手续费收取方式 1:比率 2:固定
  24385. type: integer
  24386. closememberchargevalue:
  24387. description: 平仓会员手续费设置值
  24388. type: number
  24389. closepl:
  24390. description: 平仓盈亏
  24391. type: number
  24392. closepl2:
  24393. description: 平仓盈亏[逐笔]
  24394. type: number
  24395. closeqty:
  24396. description: 平仓数量(先建后平操作 需要记录)
  24397. type: number
  24398. creditamount:
  24399. description: 授信金额
  24400. type: number
  24401. decimalplace:
  24402. description: 商品报价小数位
  24403. type: integer
  24404. enumdicname:
  24405. description: 单位名称
  24406. type: string
  24407. gcaccountid:
  24408. description: 账户ID[合约币种]
  24409. type: integer
  24410. goodscode:
  24411. description: 商品代码
  24412. type: string
  24413. goodsid:
  24414. description: 商品ID
  24415. type: integer
  24416. goodsname:
  24417. description: 商品名称
  24418. type: string
  24419. goodunitid:
  24420. description: 商品单位id
  24421. type: integer
  24422. intclosepl:
  24423. description: 整型盈亏(用于交易结算试算平衡-收益权)
  24424. type: integer
  24425. isconfirmexercise:
  24426. description: 是否确认行权- 0:否 1:是
  24427. type: integer
  24428. ismain:
  24429. description: 是否主单 - 0:不是 1:是
  24430. type: integer
  24431. ispreexercise:
  24432. description: 是否预申报- 0:否 1:是
  24433. type: integer
  24434. isreckoned:
  24435. description: 是否结算 - 0:未结算 1:已结算
  24436. type: integer
  24437. listingselecttype:
  24438. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24439. type: integer
  24440. marketid:
  24441. description: 市场ID
  24442. type: integer
  24443. marketname:
  24444. description: 市场名称
  24445. type: string
  24446. matchaccountid:
  24447. description: 对手账号id
  24448. type: integer
  24449. memberuserid:
  24450. description: 会员id 个人投资者 需要填写
  24451. type: integer
  24452. opencharge:
  24453. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24454. type: number
  24455. openexchagechargevalue:
  24456. description: 建仓交易所手续费设置值
  24457. type: number
  24458. openfeealgorithm:
  24459. description: 建仓手续费收取方式 1:比率 2:固定
  24460. type: integer
  24461. openmemberchargevalue:
  24462. description: 建仓会员手续费设置值
  24463. type: number
  24464. openqty:
  24465. description: 开仓数量(先建后平操作 需要记录)
  24466. type: number
  24467. optiontype:
  24468. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24469. type: integer
  24470. orderid:
  24471. description: 委托单号
  24472. type: string
  24473. payamount:
  24474. description: 支付金额(付款金额)
  24475. type: number
  24476. performanceplanid:
  24477. description: 履约计划ID[期权]
  24478. type: integer
  24479. performancestatus:
  24480. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24481. type: integer
  24482. preexerciseprice:
  24483. description: 预申报价格
  24484. type: number
  24485. premium:
  24486. description: 权利金 - [持仓单的权利金]
  24487. type: number
  24488. qtydecimalplace:
  24489. description: 商品报价小数位
  24490. type: integer
  24491. recvamount:
  24492. description: 到账金额 = 成交金额 - 手续费
  24493. type: number
  24494. relatedouttradeid:
  24495. description: 关联外部成交单ID
  24496. type: integer
  24497. status:
  24498. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24499. type: integer
  24500. totalamount:
  24501. description: 订单总额 = 成交金额 + 手续费
  24502. type: number
  24503. tradeamount:
  24504. description: 成交金额[账户币种,用于所有权]
  24505. type: number
  24506. tradedate:
  24507. description: 交易日(yyyyMMdd)
  24508. type: string
  24509. tradeid:
  24510. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24511. type: string
  24512. trademode:
  24513. description: 交易模式
  24514. type: integer
  24515. tradeprice:
  24516. description: 成交价格
  24517. type: number
  24518. tradeproperty:
  24519. description: 交易属性
  24520. type: integer
  24521. tradeqty:
  24522. description: 成交数量
  24523. type: number
  24524. tradetime:
  24525. description: 成交时间
  24526. type: string
  24527. tradetype:
  24528. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24529. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24530. type: integer
  24531. required:
  24532. - accountid
  24533. - buyorsell
  24534. - goodsid
  24535. - marketid
  24536. - memberuserid
  24537. - orderid
  24538. - tradeamount
  24539. - tradedate
  24540. - tradeid
  24541. - tradeprice
  24542. - tradeqty
  24543. - tradetime
  24544. type: object
  24545. order.QueryTradeOrderDetailRsp:
  24546. properties:
  24547. accountid:
  24548. description: 账户ID[报价币种]
  24549. type: integer
  24550. buildtype:
  24551. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24552. type: integer
  24553. buyorsell:
  24554. description: 买卖 - 0:买 1:卖
  24555. type: integer
  24556. cancelorderid:
  24557. description: 撤单单号(撤单时填写)
  24558. type: string
  24559. cancelqty:
  24560. description: 撤单数量
  24561. type: number
  24562. clienttype:
  24563. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24564. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24565. type: integer
  24566. closefreezecharge:
  24567. description: 平仓冻结手续费(先建后平操作,需要记录)
  24568. type: number
  24569. closeqty:
  24570. description: 平仓数量(先建后平操作 需要记录)
  24571. type: number
  24572. closetradeqty:
  24573. description: 平仓成交数量(先建后平操作,需要记录)
  24574. type: number
  24575. closeunfreezecharge:
  24576. description: 平仓解冻手续费(先建后平操作,需要记录)
  24577. type: number
  24578. decimalplace:
  24579. description: 商品报价小数位
  24580. type: integer
  24581. delistingtype:
  24582. description: 摘牌类型 - 1:价格最优 2:点选成交
  24583. type: integer
  24584. enableqty:
  24585. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  24586. type: number
  24587. enumdicname:
  24588. description: 单位名称
  24589. type: string
  24590. freezecharge:
  24591. description: 冻结手续费
  24592. type: number
  24593. freezemargin:
  24594. description: 冻结保证金(冻结交易金额)
  24595. type: number
  24596. goodscode:
  24597. description: 商品代码
  24598. type: string
  24599. goodsid:
  24600. description: 商品ID
  24601. type: integer
  24602. goodsname:
  24603. description: 商品名称
  24604. type: string
  24605. goodunitid:
  24606. description: 商品单位id
  24607. type: integer
  24608. listingselecttype:
  24609. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24610. type: integer
  24611. marketid:
  24612. description: 市场ID
  24613. type: integer
  24614. marketname:
  24615. description: 市场名称
  24616. type: string
  24617. openfreezecharge:
  24618. description: 开仓冻结手续费(先建后平操作,需要记录)
  24619. type: number
  24620. openqty:
  24621. description: 开仓数量(先建后平操作,需要记录)
  24622. type: number
  24623. opentradeqty:
  24624. description: 开仓成交数量(先建后平操作,需要记录)
  24625. type: number
  24626. openunfreezecharge:
  24627. description: 开仓解冻手续费(先建后平操作,需要记录)
  24628. type: number
  24629. operatetype:
  24630. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24631. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24632. 15:管理端协议转让
  24633. type: integer
  24634. operatorid:
  24635. description: 登录账号(LoginID)
  24636. type: integer
  24637. orderid:
  24638. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24639. type: string
  24640. orderprice:
  24641. description: 委托价格
  24642. type: number
  24643. orderqty:
  24644. description: 委托数量
  24645. type: number
  24646. ordersrc:
  24647. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24648. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24649. type: integer
  24650. orderstatus:
  24651. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24652. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24653. 16:成交失败违约(荷兰式竞拍专用)
  24654. type: integer
  24655. ordertime:
  24656. description: 委托时间
  24657. type: string
  24658. preorderid:
  24659. description: 关联预埋单号(止盈止损单时填写)
  24660. type: string
  24661. pricemode:
  24662. description: '取价方式 - 1:市价 2: 限价'
  24663. type: integer
  24664. qtydecimalplace:
  24665. description: 商品报价小数位
  24666. type: integer
  24667. relatedid:
  24668. description: 关联单号(交割单)
  24669. type: string
  24670. tradedate:
  24671. description: 交易日(yyyyMMdd)
  24672. type: string
  24673. trademode:
  24674. description: 交易模式
  24675. type: integer
  24676. tradeqty:
  24677. description: 成交数量
  24678. type: number
  24679. unfreezecharge:
  24680. description: 解冻手续费
  24681. type: number
  24682. unfreezemargin:
  24683. description: 解冻保证金
  24684. type: number
  24685. validtime:
  24686. description: 有效期限
  24687. type: string
  24688. validtype:
  24689. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24690. type: integer
  24691. volumetype:
  24692. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24693. type: integer
  24694. required:
  24695. - accountid
  24696. - buildtype
  24697. - buyorsell
  24698. - goodsid
  24699. - marketid
  24700. - operatetype
  24701. - orderqty
  24702. - ordertime
  24703. - pricemode
  24704. - tradedate
  24705. - validtype
  24706. type: object
  24707. order.QueryTradePositionRsp:
  24708. properties:
  24709. accountid:
  24710. description: 资金账户
  24711. type: integer
  24712. agreeunit:
  24713. description: 合约单位
  24714. type: number
  24715. averageprice:
  24716. description: 持仓均价
  24717. type: number
  24718. buyorsell:
  24719. description: 方向 - 0:买 1:卖
  24720. type: integer
  24721. closetotalqty:
  24722. description: 平仓总数量
  24723. type: number
  24724. curholderamount:
  24725. description: 当前持仓总金额[商品币种]
  24726. type: number
  24727. curpositionqty:
  24728. description: 当前持仓总数量
  24729. type: number
  24730. currencyid:
  24731. description: 报价货币ID
  24732. type: integer
  24733. curtdposition:
  24734. description: 期末今日头寸
  24735. type: number
  24736. decimalplace:
  24737. description: 报价小数位
  24738. type: integer
  24739. enableqty:
  24740. description: 可用量
  24741. type: number
  24742. fretdposition:
  24743. description: 冻结今日头寸
  24744. type: number
  24745. frozenqty:
  24746. description: 持仓冻结数量
  24747. type: number
  24748. goodscode:
  24749. description: 商品代码
  24750. type: string
  24751. goodsid:
  24752. description: 商品Id
  24753. type: integer
  24754. goodsname:
  24755. description: 商品名称
  24756. type: string
  24757. goodunit:
  24758. description: 报价单位
  24759. type: string
  24760. goodunitid:
  24761. description: 报价单位ID
  24762. type: integer
  24763. holderamount:
  24764. description: 期初持仓总金额[商品币种]
  24765. type: number
  24766. lastprice:
  24767. description: 最新价
  24768. type: number
  24769. marketamount:
  24770. description: 市值
  24771. type: number
  24772. marketid:
  24773. description: 所属市场ID
  24774. type: integer
  24775. openreqqty:
  24776. description: 开仓申请数量(用于比较最大持仓数量)
  24777. type: number
  24778. opentotalqty:
  24779. description: 开仓总数量
  24780. type: number
  24781. otherfrozenqty:
  24782. description: 持仓其他冻结数量(交割冻结)
  24783. type: number
  24784. positionpl:
  24785. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  24786. * 合约单位
  24787. type: number
  24788. positionplrate:
  24789. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  24790. type: number
  24791. positionqty:
  24792. description: 期初持仓数量
  24793. type: number
  24794. qtydecimalplace:
  24795. description: 成交量小数位
  24796. type: integer
  24797. refgoodscode:
  24798. description: 参考商品代码
  24799. type: string
  24800. refgoodsid:
  24801. description: 参考商品ID
  24802. type: integer
  24803. tnqty:
  24804. description: T+N冻结总量
  24805. type: number
  24806. tnusedqty:
  24807. description: T+N使用量(可以使用T+N的冻结数量)
  24808. type: number
  24809. trademode:
  24810. description: 交易模式
  24811. type: integer
  24812. tradeproperty:
  24813. description: 交易属性
  24814. type: integer
  24815. usedmargin:
  24816. description: 占用保证金[商品币种]
  24817. type: number
  24818. required:
  24819. - goodsid
  24820. type: object
  24821. pb.GoodsMarginCfgStruct:
  24822. properties:
  24823. CustomerTypeID:
  24824. description: 投资者客户类型
  24825. type: integer
  24826. GoodsID:
  24827. description: 商品ID
  24828. type: integer
  24829. IsDefault:
  24830. description: 是否默认标志位
  24831. type: integer
  24832. LockMarginValue:
  24833. description: 锁仓保证金
  24834. type: number
  24835. MarginAlgorithm:
  24836. description: 保证金计算方式
  24837. type: integer
  24838. MarketMarginValue:
  24839. description: 即市保证金值
  24840. type: number
  24841. RealMarginAlgorithm:
  24842. description: 实付保证金计算方式
  24843. type: integer
  24844. RealMarginValue:
  24845. description: 实付比例
  24846. type: number
  24847. ReckonMarginValue:
  24848. description: 结算保证金值
  24849. type: number
  24850. type: object
  24851. quote.HistoryData:
  24852. properties:
  24853. c:
  24854. description: 收盘价
  24855. type: number
  24856. f:
  24857. description: 是否补充数据
  24858. type: boolean
  24859. h:
  24860. description: 最高价
  24861. type: number
  24862. hv:
  24863. description: 持仓量
  24864. type: integer
  24865. l:
  24866. description: 最低价
  24867. type: number
  24868. o:
  24869. description: 开盘价
  24870. type: number
  24871. s:
  24872. description: 结算价,日线周期(包括)以上才有
  24873. type: number
  24874. ts:
  24875. description: 时间
  24876. type: string
  24877. tt:
  24878. description: 总金额
  24879. type: number
  24880. tv:
  24881. description: 总量(成交量)
  24882. type: integer
  24883. type: object
  24884. quote.HistoryTikData:
  24885. properties:
  24886. AV:
  24887. description: 卖量
  24888. type: integer
  24889. Ask:
  24890. description: 卖价
  24891. type: number
  24892. BV:
  24893. description: 买量
  24894. type: integer
  24895. Bid:
  24896. description: 买价
  24897. type: number
  24898. HI:
  24899. description: 单笔持仓
  24900. type: integer
  24901. HV:
  24902. description: 持仓量
  24903. type: integer
  24904. PE:
  24905. description: 现价
  24906. type: number
  24907. TDR:
  24908. description: 交易方向,0:买 1:卖
  24909. type: integer
  24910. TK:
  24911. description: 交易类型
  24912. type: integer
  24913. TS:
  24914. description: 行情时间文本
  24915. type: string
  24916. TT:
  24917. description: 现金额
  24918. type: number
  24919. Vol:
  24920. description: 现量
  24921. type: integer
  24922. type: object
  24923. quote.QueryQuoteDayRsp:
  24924. properties:
  24925. ask:
  24926. description: 卖1
  24927. type: number
  24928. ask2:
  24929. description: 卖2
  24930. type: number
  24931. ask3:
  24932. description: 卖3
  24933. type: number
  24934. ask4:
  24935. description: 卖4
  24936. type: number
  24937. ask5:
  24938. description: 卖5
  24939. type: number
  24940. ask6:
  24941. description: 卖6
  24942. type: number
  24943. ask7:
  24944. description: 卖7
  24945. type: number
  24946. ask8:
  24947. description: 卖8
  24948. type: number
  24949. ask9:
  24950. description: 卖9
  24951. type: number
  24952. ask10:
  24953. description: 卖10
  24954. type: number
  24955. askorderid:
  24956. description: 卖单号1
  24957. type: integer
  24958. askorderid2:
  24959. description: 卖单号2
  24960. type: integer
  24961. askorderid3:
  24962. description: 卖单号3
  24963. type: integer
  24964. askorderid4:
  24965. description: 卖单号4
  24966. type: integer
  24967. askorderid5:
  24968. description: 卖单号5
  24969. type: integer
  24970. askordervolume:
  24971. description: 卖单量1
  24972. type: integer
  24973. askordervolume2:
  24974. description: 卖单量2
  24975. type: integer
  24976. askordervolume3:
  24977. description: 卖单量3
  24978. type: integer
  24979. askordervolume4:
  24980. description: 卖单量4
  24981. type: integer
  24982. askordervolume5:
  24983. description: 卖单量5
  24984. type: integer
  24985. askordervolume6:
  24986. description: 卖单量6
  24987. type: integer
  24988. askordervolume7:
  24989. description: 卖单量7
  24990. type: integer
  24991. askordervolume8:
  24992. description: 卖单量8
  24993. type: integer
  24994. askordervolume9:
  24995. description: 卖单量9
  24996. type: integer
  24997. askordervolume10:
  24998. description: 卖单量10
  24999. type: integer
  25000. askqueueinfo:
  25001. description: 大利市卖港股用
  25002. type: string
  25003. askvolume:
  25004. description: 卖量1
  25005. type: integer
  25006. askvolume2:
  25007. description: 卖量2
  25008. type: integer
  25009. askvolume3:
  25010. description: 卖量3
  25011. type: integer
  25012. askvolume4:
  25013. description: 卖量4
  25014. type: integer
  25015. askvolume5:
  25016. description: 卖量5
  25017. type: integer
  25018. askvolume6:
  25019. description: 卖量6
  25020. type: integer
  25021. askvolume7:
  25022. description: 卖量7
  25023. type: integer
  25024. askvolume8:
  25025. description: 卖量8
  25026. type: integer
  25027. askvolume9:
  25028. description: 卖量9
  25029. type: integer
  25030. askvolume10:
  25031. description: 卖量10
  25032. type: integer
  25033. averageprice:
  25034. description: 均价
  25035. type: number
  25036. bid:
  25037. description: 买1
  25038. type: number
  25039. bid2:
  25040. description: 买2
  25041. type: number
  25042. bid3:
  25043. description: 买3
  25044. type: number
  25045. bid4:
  25046. description: 买4
  25047. type: number
  25048. bid5:
  25049. description: 买5
  25050. type: number
  25051. bid6:
  25052. description: 买6
  25053. type: number
  25054. bid7:
  25055. description: 买7
  25056. type: number
  25057. bid8:
  25058. description: 买8
  25059. type: number
  25060. bid9:
  25061. description: 买9
  25062. type: number
  25063. bid10:
  25064. description: 买10
  25065. type: number
  25066. bidorderid:
  25067. description: 买单号1
  25068. type: integer
  25069. bidorderid2:
  25070. description: 买单号2
  25071. type: integer
  25072. bidorderid3:
  25073. description: 买单号3
  25074. type: integer
  25075. bidorderid4:
  25076. description: 买单号4
  25077. type: integer
  25078. bidorderid5:
  25079. description: 买单号5
  25080. type: integer
  25081. bidordervolume:
  25082. description: 买单量1
  25083. type: integer
  25084. bidordervolume2:
  25085. description: 买单量2
  25086. type: integer
  25087. bidordervolume3:
  25088. description: 买单量3
  25089. type: integer
  25090. bidordervolume4:
  25091. description: 买单量4
  25092. type: integer
  25093. bidordervolume5:
  25094. description: 买单量5
  25095. type: integer
  25096. bidordervolume6:
  25097. description: 买单量6
  25098. type: integer
  25099. bidordervolume7:
  25100. description: 买单量7
  25101. type: integer
  25102. bidordervolume8:
  25103. description: 买单量8
  25104. type: integer
  25105. bidordervolume9:
  25106. description: 买单量9
  25107. type: integer
  25108. bidordervolume10:
  25109. description: 买单量10
  25110. type: integer
  25111. bidqueueinfo:
  25112. description: 大利市买港股用
  25113. type: string
  25114. bidvolume:
  25115. description: 买量1
  25116. type: integer
  25117. bidvolume2:
  25118. description: 买量2
  25119. type: integer
  25120. bidvolume3:
  25121. description: 买量3
  25122. type: integer
  25123. bidvolume4:
  25124. description: 买量4
  25125. type: integer
  25126. bidvolume5:
  25127. description: 买量5
  25128. type: integer
  25129. bidvolume6:
  25130. description: 买量6
  25131. type: integer
  25132. bidvolume7:
  25133. description: 买量7
  25134. type: integer
  25135. bidvolume8:
  25136. description: 买量8
  25137. type: integer
  25138. bidvolume9:
  25139. description: 买量9
  25140. type: integer
  25141. bidvolume10:
  25142. description: 买量10
  25143. type: integer
  25144. calloptionpremiums:
  25145. description: 认购期权1
  25146. type: integer
  25147. calloptionpremiums2:
  25148. description: 认购期权2
  25149. type: integer
  25150. calloptionpremiums3:
  25151. description: 认购期权3
  25152. type: integer
  25153. calloptionpremiums4:
  25154. description: 认购期权4
  25155. type: integer
  25156. calloptionpremiums5:
  25157. description: 认购期权5
  25158. type: integer
  25159. cleartime:
  25160. description: 清盘时间
  25161. type: integer
  25162. exchangecode:
  25163. description: 交易所代码
  25164. type: integer
  25165. exchangedate:
  25166. description: 交易日
  25167. type: integer
  25168. goodscode:
  25169. description: 商品代码
  25170. type: string
  25171. grepmarketprice:
  25172. description: 暗盘价 港股专用
  25173. type: number
  25174. highest:
  25175. description: 最高价
  25176. type: number
  25177. holdincrement:
  25178. description: 单笔持仓
  25179. type: integer
  25180. holdvolume:
  25181. description: 持仓
  25182. type: integer
  25183. iep:
  25184. description: 平衡价 港股专用
  25185. type: number
  25186. iev:
  25187. description: 平衡量 港股专用
  25188. type: number
  25189. inventory:
  25190. description: 库存
  25191. type: integer
  25192. iscleared:
  25193. description: 是否清盘标志
  25194. type: integer
  25195. issettled:
  25196. description: 是否结算标志
  25197. type: integer
  25198. last:
  25199. description: 最新价
  25200. type: number
  25201. lastlot:
  25202. description: 最新成交手数
  25203. type: integer
  25204. lasttime:
  25205. description: 行情时间(只有现价变化行情时间才变化)
  25206. type: string
  25207. lastturnover:
  25208. description: 最新成交金额
  25209. type: number
  25210. lastvolume:
  25211. description: 最新成交量
  25212. type: integer
  25213. limitdown:
  25214. description: 跌停价
  25215. type: number
  25216. limitup:
  25217. description: 涨停价
  25218. type: number
  25219. lowest:
  25220. description: 最低价
  25221. type: number
  25222. nontotalholdervolume:
  25223. description: 非交易持仓量
  25224. type: integer
  25225. nontotallot:
  25226. description: 非交易总手数
  25227. type: integer
  25228. nontotalturnover:
  25229. description: 非交易总金额
  25230. type: integer
  25231. nontotalvolume:
  25232. description: 非交易总量
  25233. type: integer
  25234. opened:
  25235. description: 开盘价
  25236. type: number
  25237. opentime:
  25238. description: 开盘时间
  25239. type: string
  25240. orderid:
  25241. description: 序号
  25242. type: integer
  25243. preclose:
  25244. description: 昨收
  25245. type: number
  25246. preholdvolume:
  25247. description: 昨持仓
  25248. type: integer
  25249. presettle:
  25250. description: 昨结价
  25251. type: number
  25252. publictradetype:
  25253. description: 公共交易标志类型 港股专用
  25254. type: string
  25255. putoptionpremiums:
  25256. description: 认沽期权1
  25257. type: integer
  25258. putoptionpremiums2:
  25259. description: 认沽期权2
  25260. type: integer
  25261. putoptionpremiums3:
  25262. description: 认沽期权3
  25263. type: integer
  25264. putoptionpremiums4:
  25265. description: 认沽期权4
  25266. type: integer
  25267. putoptionpremiums5:
  25268. description: 认沽期权5
  25269. type: integer
  25270. settle:
  25271. description: 结算价
  25272. type: number
  25273. strikeprice:
  25274. description: 发行价
  25275. type: number
  25276. totalaskvolume:
  25277. description: 内盘
  25278. type: integer
  25279. totalbidvolume:
  25280. description: 外盘
  25281. type: integer
  25282. totallot:
  25283. description: 总手数
  25284. type: integer
  25285. totalturnover:
  25286. description: 总金额
  25287. type: number
  25288. totalvolume:
  25289. description: 总量
  25290. type: integer
  25291. utclasttime:
  25292. description: utc的行情时间
  25293. type: string
  25294. type: object
  25295. quote.QueryTSDataRsp:
  25296. properties:
  25297. Count:
  25298. description: 交易日应有数据个数
  25299. type: integer
  25300. decimalPlace:
  25301. description: 小数位
  25302. type: integer
  25303. endTime:
  25304. description: 结束时间
  25305. type: string
  25306. goodsCode:
  25307. description: 商品代码
  25308. type: string
  25309. historyDatas:
  25310. description: 历史数据
  25311. items:
  25312. $ref: '#/definitions/quote.HistoryData'
  25313. type: array
  25314. outGoodsCode:
  25315. description: 外部商品代码
  25316. type: string
  25317. preSettle:
  25318. description: 昨结价
  25319. type: number
  25320. runSteps:
  25321. description: 交易日开休市计划
  25322. items:
  25323. $ref: '#/definitions/quote.TSDataRunStep'
  25324. type: array
  25325. startTime:
  25326. description: 开始时间
  25327. type: string
  25328. tradeDate:
  25329. description: 交易日
  25330. type: string
  25331. type: object
  25332. quote.TSDataRunStep:
  25333. properties:
  25334. end:
  25335. description: 真实结束时间
  25336. type: string
  25337. endflag:
  25338. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  25339. type: integer
  25340. endtime:
  25341. description: 结束时间(HH:mm)
  25342. type: string
  25343. endweekday:
  25344. description: 结束周几
  25345. type: integer
  25346. groupid:
  25347. description: 分组ID
  25348. type: integer
  25349. runstep:
  25350. description: 运行阶段 - 2:连续交易
  25351. type: integer
  25352. sectionid:
  25353. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  25354. 结束时间=结算时间 结束周几=结算周几
  25355. type: integer
  25356. start:
  25357. description: 真实开始时间
  25358. type: string
  25359. startflag:
  25360. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  25361. type: integer
  25362. starttime:
  25363. description: 起始时间(HH:mm)
  25364. type: string
  25365. startweekday:
  25366. description: 起始周几
  25367. type: integer
  25368. tradeweekday:
  25369. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  25370. type: integer
  25371. type: object
  25372. szdz.QueryConvertLogRsp:
  25373. properties:
  25374. accountid:
  25375. description: 资金账户ID
  25376. type: integer
  25377. clientticket:
  25378. description: 客户端流水号
  25379. type: string
  25380. converttype:
  25381. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  25382. type: integer
  25383. createtime:
  25384. description: 记账时间
  25385. type: string
  25386. daymaxvalue:
  25387. description: 配置当日最大转入限制
  25388. type: number
  25389. daymaxvalue2:
  25390. description: 配置当日最大转入限制(转入)
  25391. type: number
  25392. goodscode:
  25393. description: 商品代码
  25394. type: string
  25395. goodsname:
  25396. description: 商品名称
  25397. type: string
  25398. handlestatus:
  25399. description: 处理状态
  25400. type: integer
  25401. innergoodsid:
  25402. description: 内部商品ID
  25403. type: integer
  25404. inratio:
  25405. description: 配置转入比值
  25406. type: integer
  25407. invalue:
  25408. description: 目标值
  25409. type: number
  25410. logid:
  25411. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  25412. type: integer
  25413. mobile:
  25414. description: 手机号码(加密存储)
  25415. type: string
  25416. outergoodscode:
  25417. description: 外部商品代码[JD\PD]
  25418. type: string
  25419. outratio:
  25420. description: 配置转出比值
  25421. type: integer
  25422. outvalue:
  25423. description: 源值
  25424. type: number
  25425. pddecimalplace:
  25426. description: PD小数位
  25427. type: integer
  25428. qty:
  25429. description: 数量
  25430. type: string
  25431. remark:
  25432. description: 备注
  25433. type: string
  25434. sessionid:
  25435. description: 会话ID
  25436. type: integer
  25437. timemaxvalue:
  25438. description: 配置单次最大转入限制
  25439. type: number
  25440. timemaxvalue2:
  25441. description: 配置单次最大转入限制(转入)
  25442. type: number
  25443. timeminvalue:
  25444. description: 配置单次最小数量限制
  25445. type: number
  25446. timeminvalue2:
  25447. description: 配置单次最小数量限制(转入)
  25448. type: number
  25449. tradedate:
  25450. description: 交易日(yyyyMMdd)
  25451. type: string
  25452. userid:
  25453. description: 用户ID
  25454. type: integer
  25455. required:
  25456. - logid
  25457. type: object
  25458. szdz.QueryGoodsPickupRsp:
  25459. properties:
  25460. accountid:
  25461. description: 账户ID
  25462. type: integer
  25463. address:
  25464. description: 提货人详细地址
  25465. type: string
  25466. auditer:
  25467. description: 审核人
  25468. type: integer
  25469. audittime:
  25470. description: 审核时间
  25471. type: string
  25472. cardnum:
  25473. description: 提货人证件号码
  25474. type: string
  25475. cardtypeid:
  25476. description: 提货人证件类型
  25477. type: integer
  25478. checkremark:
  25479. description: 审核备注
  25480. type: string
  25481. goodscode:
  25482. description: 商品代码
  25483. type: string
  25484. goodsid:
  25485. description: 商品ID
  25486. type: integer
  25487. goodsname:
  25488. description: 商品名称
  25489. type: string
  25490. handlestatus:
  25491. description: 处理状态
  25492. type: integer
  25493. marketid:
  25494. description: 市场ID
  25495. type: integer
  25496. phonenum:
  25497. description: 提货人联系方式
  25498. type: string
  25499. qty:
  25500. description: 提货数量
  25501. type: number
  25502. recivername:
  25503. description: 提货人姓名
  25504. type: string
  25505. reqtime:
  25506. description: 更新时间
  25507. type: string
  25508. takemode:
  25509. description: 提货方式 - 2:自提 3:配送
  25510. type: integer
  25511. takeorderid:
  25512. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  25513. type: string
  25514. takeorderstatus:
  25515. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25516. type: integer
  25517. takeremark:
  25518. description: 提货备注
  25519. type: string
  25520. tradedate:
  25521. description: 交易日(yyyyMMdd)
  25522. type: string
  25523. userid:
  25524. description: 用户ID
  25525. type: integer
  25526. required:
  25527. - takeorderid
  25528. type: object
  25529. szdz.QueryRecieptOrderRsp:
  25530. properties:
  25531. accountName:
  25532. description: 所属账号名称(已脱敏)
  25533. type: string
  25534. accountid:
  25535. description: 资金账号
  25536. type: integer
  25537. buyorsell:
  25538. description: 方向 - 0:买 1:卖
  25539. type: integer
  25540. enableqty:
  25541. description: 可摘数量
  25542. type: integer
  25543. goodscode:
  25544. description: 商品代码
  25545. type: string
  25546. goodsid:
  25547. description: 商品ID
  25548. type: integer
  25549. goodsname:
  25550. description: 商品名称
  25551. type: string
  25552. orderid:
  25553. description: 委托单号
  25554. type: string
  25555. orderprice:
  25556. description: 委托价格
  25557. type: number
  25558. ordertime:
  25559. description: 委托时间
  25560. type: string
  25561. tradedate:
  25562. description: 交易日(yyyyMMdd)
  25563. type: string
  25564. required:
  25565. - ordertime
  25566. type: object
  25567. szdz.QuerySZDZTradePositionRsp:
  25568. properties:
  25569. accountid:
  25570. description: 账号Id
  25571. type: integer
  25572. agreeunit:
  25573. description: 合约单位
  25574. type: number
  25575. averageprice:
  25576. description: 持仓均价
  25577. type: number
  25578. buyorsell:
  25579. description: 方向 - 0:买 1:卖
  25580. type: integer
  25581. closetotalqty:
  25582. description: 平仓总数量
  25583. type: integer
  25584. curholderamount:
  25585. description: 当前持仓总金额
  25586. type: number
  25587. curpositionqty:
  25588. description: 当前持仓总数量
  25589. type: integer
  25590. currencyid:
  25591. description: 报价货币ID
  25592. type: integer
  25593. curtdposition:
  25594. description: 期末今日头寸
  25595. type: integer
  25596. decimalplace:
  25597. description: 报价小数位
  25598. type: integer
  25599. enableqty:
  25600. description: 可用量
  25601. type: integer
  25602. fretdposition:
  25603. description: 冻结今日头寸
  25604. type: integer
  25605. frozenqty:
  25606. description: 持仓冻结数量
  25607. type: integer
  25608. goodscode:
  25609. description: 商品代码(内部)
  25610. type: string
  25611. goodsid:
  25612. description: 商品Id
  25613. type: integer
  25614. goodsname:
  25615. description: 商品名称
  25616. type: string
  25617. goodunit:
  25618. description: 报价单位
  25619. type: string
  25620. goodunitid:
  25621. description: 报价单位ID
  25622. type: integer
  25623. holderamount:
  25624. description: 期初持仓总金额
  25625. type: number
  25626. marketid:
  25627. description: 市场ID
  25628. type: integer
  25629. openreqqty:
  25630. description: 开仓申请数量
  25631. type: integer
  25632. opentotalqty:
  25633. description: 开仓总数量
  25634. type: integer
  25635. otherfrozenqty:
  25636. description: 持仓其他冻结数量(交割冻结)
  25637. type: integer
  25638. positionqty:
  25639. description: 期初持仓数量
  25640. type: integer
  25641. szdz3freezqty:
  25642. description: 尚志大宗转换冻结总数量
  25643. type: integer
  25644. tnqty:
  25645. description: T+N冻结总量
  25646. type: integer
  25647. tnusedqty:
  25648. description: T+N使用量
  25649. type: integer
  25650. trademode:
  25651. description: 交易模式
  25652. type: integer
  25653. usedmargin:
  25654. description: 占用保证金
  25655. type: number
  25656. type: object
  25657. taaccount.QueryAmountLogRsp:
  25658. properties:
  25659. accountid:
  25660. description: 资金账户ID
  25661. type: integer
  25662. agoodscode:
  25663. description: 竞拍商品代码
  25664. type: string
  25665. agoodsname:
  25666. description: 竞拍商品名称
  25667. type: string
  25668. amount:
  25669. description: 资金金额
  25670. type: number
  25671. amountadjusttype:
  25672. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25673. type: integer
  25674. autoid:
  25675. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25676. type: integer
  25677. balance:
  25678. description: 期初余额
  25679. type: number
  25680. businesscode:
  25681. description: 业务编号
  25682. type: integer
  25683. createtime:
  25684. description: 发生时间
  25685. type: string
  25686. currencyid:
  25687. description: 币种ID
  25688. type: integer
  25689. currentbalance:
  25690. description: 期末余额(变动后金额)
  25691. type: number
  25692. dgoodscode:
  25693. description: 交割商品代码
  25694. type: string
  25695. dgoodsname:
  25696. description: 交割商品名称
  25697. type: string
  25698. goodscode:
  25699. description: 商品代码
  25700. type: string
  25701. goodsid:
  25702. description: 商品ID
  25703. type: integer
  25704. goodsname:
  25705. description: 商品名称
  25706. type: string
  25707. marketid:
  25708. description: 市场ID
  25709. type: integer
  25710. marketname:
  25711. description: 市场名称
  25712. type: string
  25713. moneyticket:
  25714. description: 资金流水号:银行端流水号
  25715. type: integer
  25716. operatetype:
  25717. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25718. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25719. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25720. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25721. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25722. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25723. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25724. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25725. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25726. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25727. type: integer
  25728. relationorderid:
  25729. description: 关联单号
  25730. type: string
  25731. remark:
  25732. description: 备注
  25733. type: string
  25734. trademode:
  25735. description: 交易模式
  25736. type: integer
  25737. required:
  25738. - accountid
  25739. - amount
  25740. - amountadjusttype
  25741. - autoid
  25742. - balance
  25743. - createtime
  25744. - currentbalance
  25745. - operatetype
  25746. type: object
  25747. taaccount.QueryHisAmountLogRsp:
  25748. properties:
  25749. accountid:
  25750. description: 资金账户ID
  25751. type: integer
  25752. agoodscode:
  25753. description: 竞拍商品代码
  25754. type: string
  25755. agoodsname:
  25756. description: 竞拍商品名称
  25757. type: string
  25758. amount:
  25759. description: 资金金额
  25760. type: number
  25761. amountadjusttype:
  25762. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25763. type: integer
  25764. autoid:
  25765. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25766. type: integer
  25767. balance:
  25768. description: 期初余额
  25769. type: number
  25770. businesscode:
  25771. description: 业务编号
  25772. type: integer
  25773. createtime:
  25774. description: 发生时间
  25775. type: string
  25776. currencyid:
  25777. description: 币种ID
  25778. type: integer
  25779. currentbalance:
  25780. description: 期末余额(变动后金额)
  25781. type: number
  25782. dgoodscode:
  25783. description: 交割商品代码
  25784. type: string
  25785. dgoodsname:
  25786. description: 交割商品名称
  25787. type: string
  25788. goodscode:
  25789. description: 商品代码
  25790. type: string
  25791. goodsid:
  25792. description: 商品ID
  25793. type: integer
  25794. goodsname:
  25795. description: 商品名称
  25796. type: string
  25797. histradedate:
  25798. description: 历史交易日
  25799. type: string
  25800. isvaliddata:
  25801. description: 是否有效 - 0:无效 1:有效
  25802. type: integer
  25803. marketid:
  25804. description: 市场ID
  25805. type: integer
  25806. marketname:
  25807. description: 市场名称
  25808. type: string
  25809. moneyticket:
  25810. description: 资金流水号:银行端流水号
  25811. type: integer
  25812. operatetype:
  25813. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25814. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25815. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25816. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25817. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25818. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25819. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25820. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25821. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25822. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25823. type: integer
  25824. relationorderid:
  25825. description: 关联单号
  25826. type: string
  25827. remark:
  25828. description: 备注
  25829. type: string
  25830. trademode:
  25831. description: 交易模式
  25832. type: integer
  25833. required:
  25834. - accountid
  25835. - amount
  25836. - amountadjusttype
  25837. - autoid
  25838. - balance
  25839. - createtime
  25840. - currentbalance
  25841. - histradedate
  25842. - operatetype
  25843. type: object
  25844. trade.QueryRecieptOrderRsp:
  25845. properties:
  25846. accountName:
  25847. description: 所属账号名称(已脱敏)
  25848. type: string
  25849. accountid:
  25850. description: 资金账号
  25851. type: integer
  25852. buyorsell:
  25853. description: 方向 - 0:买 1:卖
  25854. type: integer
  25855. enableqty:
  25856. description: 可摘数量
  25857. type: integer
  25858. goodscode:
  25859. description: 商品代码
  25860. type: string
  25861. goodsid:
  25862. description: 商品ID
  25863. type: integer
  25864. goodsname:
  25865. description: 商品名称
  25866. type: string
  25867. orderid:
  25868. description: 委托单号
  25869. type: string
  25870. orderprice:
  25871. description: 委托价格
  25872. type: number
  25873. ordertime:
  25874. description: 委托时间
  25875. type: string
  25876. tradedate:
  25877. description: 交易日(yyyyMMdd)
  25878. type: string
  25879. required:
  25880. - ordertime
  25881. type: object
  25882. user.LoginQueryRsp:
  25883. properties:
  25884. areaRoles:
  25885. description: 所属角色信息
  25886. items:
  25887. $ref: '#/definitions/models.Arearole'
  25888. type: array
  25889. exchangeRateConfigs:
  25890. description: 汇率信息
  25891. items:
  25892. $ref: '#/definitions/models.Exchangerateconfig'
  25893. type: array
  25894. externalExchanges:
  25895. description: 外部交易所
  25896. items:
  25897. $ref: '#/definitions/models.Externalexchange'
  25898. type: array
  25899. goodsgroups:
  25900. description: 商品组
  25901. items:
  25902. $ref: '#/definitions/models.Goodsgroup'
  25903. type: array
  25904. loginAccount:
  25905. $ref: '#/definitions/models.Loginaccount'
  25906. description: 登录账号
  25907. markets:
  25908. description: 市场
  25909. items:
  25910. $ref: '#/definitions/models.Market'
  25911. type: array
  25912. systemParams:
  25913. description: 系统参数
  25914. items:
  25915. $ref: '#/definitions/models.Systemparam'
  25916. type: array
  25917. userAccount:
  25918. $ref: '#/definitions/models.Useraccount'
  25919. description: 用户账号
  25920. userInfo:
  25921. $ref: '#/definitions/models.Userinfo'
  25922. description: 用户信息
  25923. username:
  25924. description: 用户姓名
  25925. type: string
  25926. type: object
  25927. user.UpdateUserHeadUrlReq:
  25928. properties:
  25929. headurl:
  25930. type: string
  25931. userID:
  25932. type: integer
  25933. required:
  25934. - headurl
  25935. - userID
  25936. type: object
  25937. info:
  25938. contact: {}
  25939. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  25940. termsOfService: http://www.muchinfo.cn
  25941. title: MTP2.0 查询服务 API
  25942. version: "1.0"
  25943. paths:
  25944. /CPTrade/QueryCPTradeMyBidInfos:
  25945. get:
  25946. parameters:
  25947. - description: 资金账户
  25948. in: query
  25949. name: accountid
  25950. required: true
  25951. type: integer
  25952. - description: 预售市场ID
  25953. in: query
  25954. name: marketid
  25955. type: integer
  25956. - description: 预售商品ID
  25957. in: query
  25958. name: goodsid
  25959. type: integer
  25960. produces:
  25961. - application/json
  25962. responses:
  25963. "200":
  25964. description: OK
  25965. schema:
  25966. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  25967. "500":
  25968. description: Internal Server Error
  25969. schema:
  25970. $ref: '#/definitions/app.Response'
  25971. security:
  25972. - ApiKeyAuth: []
  25973. summary: 查询产能预售我的出价信息
  25974. tags:
  25975. - 产能预售
  25976. /CPTrade/QueryCPTradeOrderDetail:
  25977. get:
  25978. parameters:
  25979. - description: 预售商品ID
  25980. in: query
  25981. name: goodsid
  25982. type: integer
  25983. - description: 预售市场ID
  25984. in: query
  25985. name: marketid
  25986. type: integer
  25987. - description: 预售商品ID列表 - 格式:1,2,3
  25988. in: query
  25989. name: goodsids
  25990. type: string
  25991. produces:
  25992. - application/json
  25993. responses:
  25994. "200":
  25995. description: OK
  25996. schema:
  25997. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  25998. "500":
  25999. description: Internal Server Error
  26000. schema:
  26001. $ref: '#/definitions/app.Response'
  26002. security:
  26003. - ApiKeyAuth: []
  26004. summary: 查询产能预售委托单信息
  26005. tags:
  26006. - 产能预售
  26007. /CPTrade/QueryMyCPTradeGoods:
  26008. get:
  26009. parameters:
  26010. - description: 资金账户
  26011. in: query
  26012. name: accountid
  26013. required: true
  26014. type: integer
  26015. produces:
  26016. - application/json
  26017. responses:
  26018. "200":
  26019. description: OK
  26020. schema:
  26021. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  26022. "500":
  26023. description: Internal Server Error
  26024. schema:
  26025. $ref: '#/definitions/app.Response'
  26026. security:
  26027. - ApiKeyAuth: []
  26028. summary: 查询我的预售信息
  26029. tags:
  26030. - 产能预售
  26031. /CPTrade/QueryPositionCancel:
  26032. get:
  26033. parameters:
  26034. - description: 账户ID
  26035. in: query
  26036. name: userid
  26037. required: true
  26038. type: integer
  26039. - description: 注销ID
  26040. in: query
  26041. name: cancelid
  26042. type: integer
  26043. - description: 资金账户ID
  26044. in: query
  26045. name: accountid
  26046. type: integer
  26047. produces:
  26048. - application/json
  26049. responses:
  26050. "200":
  26051. description: OK
  26052. schema:
  26053. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  26054. "500":
  26055. description: Internal Server Error
  26056. schema:
  26057. $ref: '#/definitions/app.Response'
  26058. security:
  26059. - ApiKeyAuth: []
  26060. summary: 查询远期订单注销申请信息
  26061. tags:
  26062. - 产能预售
  26063. /CPTrade/QueryPreasleApply:
  26064. get:
  26065. parameters:
  26066. - description: 账户ID
  26067. in: query
  26068. name: userid
  26069. required: true
  26070. type: integer
  26071. - description: 申请ID
  26072. in: query
  26073. name: applyid
  26074. type: integer
  26075. - description: 资金账户ID
  26076. in: query
  26077. name: accountid
  26078. type: integer
  26079. produces:
  26080. - application/json
  26081. responses:
  26082. "200":
  26083. description: OK
  26084. schema:
  26085. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  26086. "500":
  26087. description: Internal Server Error
  26088. schema:
  26089. $ref: '#/definitions/app.Response'
  26090. security:
  26091. - ApiKeyAuth: []
  26092. summary: 查询产能预售申请信息
  26093. tags:
  26094. - 产能预售
  26095. /CPTrade/QueryPresaleGoodsEx:
  26096. get:
  26097. parameters:
  26098. - description: 预售商品ID
  26099. in: query
  26100. name: goodsid
  26101. type: integer
  26102. - description: 预售市场ID
  26103. in: query
  26104. name: marketid
  26105. type: integer
  26106. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  26107. in: query
  26108. name: presalemode
  26109. type: integer
  26110. - description: 预售商品ID列表 - 格式:1,2,3
  26111. in: query
  26112. name: goodsids
  26113. type: string
  26114. - description: 预售商品代码
  26115. in: query
  26116. name: goodscode
  26117. type: string
  26118. produces:
  26119. - application/json
  26120. responses:
  26121. "200":
  26122. description: OK
  26123. schema:
  26124. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  26125. "500":
  26126. description: Internal Server Error
  26127. schema:
  26128. $ref: '#/definitions/app.Response'
  26129. security:
  26130. - ApiKeyAuth: []
  26131. summary: 查询产能预售商品扩展信息
  26132. tags:
  26133. - 产能预售
  26134. /CPTrade/QueryUserGoodsData:
  26135. get:
  26136. parameters:
  26137. - description: 资金账户ID
  26138. in: query
  26139. name: accountid
  26140. required: true
  26141. type: integer
  26142. produces:
  26143. - application/json
  26144. responses:
  26145. "200":
  26146. description: OK
  26147. schema:
  26148. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  26149. "500":
  26150. description: Internal Server Error
  26151. schema:
  26152. $ref: '#/definitions/app.Response'
  26153. security:
  26154. - ApiKeyAuth: []
  26155. summary: 查询远期订单信息
  26156. tags:
  26157. - 产能预售
  26158. /Common/DeleteNewFuncmenu:
  26159. delete:
  26160. consumes:
  26161. - application/json
  26162. parameters:
  26163. - description: 菜单表数据,只需要resourcecode字段即可
  26164. in: body
  26165. name: data
  26166. required: true
  26167. schema:
  26168. $ref: '#/definitions/models.NewFuncmenulist'
  26169. produces:
  26170. - application/json
  26171. responses:
  26172. "200":
  26173. description: OK
  26174. schema:
  26175. $ref: '#/definitions/app.Response'
  26176. "500":
  26177. description: Internal Server Error
  26178. schema:
  26179. $ref: '#/definitions/app.Response'
  26180. security:
  26181. - ApiKeyAuth: []
  26182. summary: 删除菜单表数据
  26183. tags:
  26184. - 通用服务
  26185. /Common/FindNewFuncmenu:
  26186. get:
  26187. parameters:
  26188. - description: 资源代码
  26189. in: query
  26190. name: resourcecode
  26191. type: string
  26192. - description: 上级资源代码
  26193. in: query
  26194. name: parentcode
  26195. type: string
  26196. - description: 资源名(Title), 模糊查询
  26197. in: query
  26198. name: resourcename
  26199. type: string
  26200. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26201. in: query
  26202. name: menutype
  26203. type: string
  26204. produces:
  26205. - application/json
  26206. responses:
  26207. "200":
  26208. description: OK
  26209. schema:
  26210. items:
  26211. $ref: '#/definitions/models.NewFuncmenulist'
  26212. type: array
  26213. "500":
  26214. description: Internal Server Error
  26215. schema:
  26216. $ref: '#/definitions/app.Response'
  26217. security:
  26218. - ApiKeyAuth: []
  26219. summary: 获取菜单表数据
  26220. tags:
  26221. - 通用服务
  26222. /Common/GetAllEnums:
  26223. get:
  26224. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  26225. parameters:
  26226. - description: 起始自增ID
  26227. in: query
  26228. name: autoid
  26229. type: integer
  26230. produces:
  26231. - application/json
  26232. responses:
  26233. "200":
  26234. description: OK
  26235. schema:
  26236. $ref: '#/definitions/models.Enumdicitem'
  26237. "500":
  26238. description: Internal Server Error
  26239. schema:
  26240. $ref: '#/definitions/app.Response'
  26241. summary: 获取所有枚举信息
  26242. tags:
  26243. - 通用服务
  26244. /Common/GetClientMenus:
  26245. get:
  26246. parameters:
  26247. - description: 登录账号
  26248. in: query
  26249. name: loginID
  26250. required: true
  26251. type: integer
  26252. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  26253. in: query
  26254. name: clientType
  26255. type: integer
  26256. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  26257. in: query
  26258. name: name
  26259. type: string
  26260. produces:
  26261. - application/json
  26262. responses:
  26263. "200":
  26264. description: OK
  26265. schema:
  26266. items:
  26267. $ref: '#/definitions/common.ClientMenu'
  26268. type: array
  26269. "500":
  26270. description: Internal Server Error
  26271. schema:
  26272. $ref: '#/definitions/app.Response'
  26273. security:
  26274. - ApiKeyAuth: []
  26275. summary: 获取交易端菜单
  26276. tags:
  26277. - 通用服务
  26278. /Common/GetClientNewFuncmenu:
  26279. get:
  26280. parameters:
  26281. - description: 登录账号
  26282. in: query
  26283. name: loginid
  26284. required: true
  26285. type: integer
  26286. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26287. in: query
  26288. name: menutype
  26289. required: true
  26290. type: integer
  26291. produces:
  26292. - application/json
  26293. responses:
  26294. "200":
  26295. description: OK
  26296. schema:
  26297. items:
  26298. $ref: '#/definitions/models.NewFuncmenulist'
  26299. type: array
  26300. "500":
  26301. description: Internal Server Error
  26302. schema:
  26303. $ref: '#/definitions/app.Response'
  26304. security:
  26305. - ApiKeyAuth: []
  26306. summary: 获取终端菜单
  26307. tags:
  26308. - 通用服务
  26309. /Common/GetDivisions:
  26310. get:
  26311. produces:
  26312. - application/json
  26313. responses:
  26314. "200":
  26315. description: OK
  26316. schema:
  26317. $ref: '#/definitions/models.Division'
  26318. "500":
  26319. description: Internal Server Error
  26320. schema:
  26321. $ref: '#/definitions/app.Response'
  26322. summary: 查询区域信息
  26323. tags:
  26324. - 通用服务
  26325. /Common/GetPCWebMenus:
  26326. get:
  26327. parameters:
  26328. - description: 登录账号
  26329. in: query
  26330. name: loginID
  26331. required: true
  26332. type: integer
  26333. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  26334. in: query
  26335. name: name
  26336. type: string
  26337. produces:
  26338. - application/json
  26339. responses:
  26340. "200":
  26341. description: OK
  26342. schema:
  26343. items:
  26344. $ref: '#/definitions/common.PCWebMenu'
  26345. type: array
  26346. "500":
  26347. description: Internal Server Error
  26348. schema:
  26349. $ref: '#/definitions/app.Response'
  26350. security:
  26351. - ApiKeyAuth: []
  26352. summary: 获取PCWeb交易端菜单
  26353. tags:
  26354. - 通用服务
  26355. /Common/GetServerTime:
  26356. get:
  26357. produces:
  26358. - application/json
  26359. responses:
  26360. "200":
  26361. description: OK
  26362. schema:
  26363. $ref: '#/definitions/app.Response'
  26364. "500":
  26365. description: Internal Server Error
  26366. schema:
  26367. $ref: '#/definitions/app.Response'
  26368. summary: 获取服务器时间
  26369. tags:
  26370. - 通用服务
  26371. /Common/InsertNewFuncmenu:
  26372. post:
  26373. consumes:
  26374. - application/json
  26375. parameters:
  26376. - description: 菜单表数据
  26377. in: body
  26378. name: data
  26379. required: true
  26380. schema:
  26381. $ref: '#/definitions/models.NewFuncmenulist'
  26382. produces:
  26383. - application/json
  26384. responses:
  26385. "200":
  26386. description: OK
  26387. schema:
  26388. $ref: '#/definitions/app.Response'
  26389. "500":
  26390. description: Internal Server Error
  26391. schema:
  26392. $ref: '#/definitions/app.Response'
  26393. security:
  26394. - ApiKeyAuth: []
  26395. summary: 插入菜单表数据
  26396. tags:
  26397. - 通用服务
  26398. /Common/NoticeReaded:
  26399. post:
  26400. parameters:
  26401. - description: 登录账号
  26402. in: query
  26403. name: loginID
  26404. required: true
  26405. type: integer
  26406. - description: 通知公告ID
  26407. in: query
  26408. name: noticeID
  26409. required: true
  26410. type: integer
  26411. produces:
  26412. - application/json
  26413. responses:
  26414. "200":
  26415. description: OK
  26416. schema:
  26417. $ref: '#/definitions/app.Response'
  26418. "500":
  26419. description: Internal Server Error
  26420. schema:
  26421. $ref: '#/definitions/app.Response'
  26422. security:
  26423. - ApiKeyAuth: []
  26424. summary: 通知公告设置已读请求
  26425. tags:
  26426. - 通用服务
  26427. /Common/QueryErrorInfos:
  26428. get:
  26429. description: 如果传入rowNumber,则返回此rowNumber后的数据
  26430. parameters:
  26431. - description: 起始行号前索引
  26432. in: query
  26433. name: rowNumber
  26434. type: string
  26435. produces:
  26436. - application/json
  26437. responses:
  26438. "200":
  26439. description: OK
  26440. schema:
  26441. $ref: '#/definitions/models.QueryErrorInfosRsp'
  26442. "500":
  26443. description: Internal Server Error
  26444. schema:
  26445. $ref: '#/definitions/app.Response'
  26446. summary: 获取数据库错误信息
  26447. tags:
  26448. - 通用服务
  26449. /Common/QueryImageConfigs:
  26450. get:
  26451. parameters:
  26452. - description: 用户id
  26453. in: query
  26454. name: userId
  26455. type: integer
  26456. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  26457. in: query
  26458. name: imageType
  26459. type: integer
  26460. produces:
  26461. - application/json
  26462. responses:
  26463. "200":
  26464. description: OK
  26465. schema:
  26466. $ref: '#/definitions/common.QueryImageConfigsRsp'
  26467. "500":
  26468. description: Internal Server Error
  26469. schema:
  26470. $ref: '#/definitions/app.Response'
  26471. summary: 查询轮播图配置信息
  26472. tags:
  26473. - 通用服务
  26474. /Common/QueryNotice:
  26475. get:
  26476. parameters:
  26477. - description: 页码
  26478. in: query
  26479. name: page
  26480. type: integer
  26481. - description: 每页条数
  26482. in: query
  26483. name: pagesize
  26484. type: integer
  26485. - description: 分页标志 0-page从0开始 1-page从1开始
  26486. in: query
  26487. name: pageflag
  26488. type: integer
  26489. - description: 登录账号
  26490. in: query
  26491. name: loginID
  26492. required: true
  26493. type: integer
  26494. - description: 消息类型 - 1:公告通知 2:系统消息
  26495. in: query
  26496. name: msgType
  26497. type: integer
  26498. - description: 是否只获取未读信息
  26499. in: query
  26500. name: onlyUnRead
  26501. type: boolean
  26502. - description: 自增ID,传入后会返回这个ID后面的记录
  26503. in: query
  26504. name: lastID
  26505. type: integer
  26506. produces:
  26507. - application/json
  26508. responses:
  26509. "200":
  26510. description: OK
  26511. schema:
  26512. $ref: '#/definitions/common.QueryNoticeRsp'
  26513. "500":
  26514. description: Internal Server Error
  26515. schema:
  26516. $ref: '#/definitions/app.Response'
  26517. security:
  26518. - ApiKeyAuth: []
  26519. summary: 通知公告系统消息查询
  26520. tags:
  26521. - 通用服务
  26522. /Common/QueryProvincesAndCities:
  26523. get:
  26524. parameters:
  26525. - description: 省ID
  26526. in: query
  26527. name: provinceID
  26528. type: integer
  26529. produces:
  26530. - application/json
  26531. responses:
  26532. "200":
  26533. description: OK
  26534. schema:
  26535. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  26536. "500":
  26537. description: Internal Server Error
  26538. schema:
  26539. $ref: '#/definitions/app.Response'
  26540. summary: 查询省市信息(不包括区)
  26541. tags:
  26542. - 通用服务
  26543. /Common/QueryRates:
  26544. get:
  26545. parameters:
  26546. - description: 页码
  26547. in: query
  26548. name: page
  26549. type: integer
  26550. - description: 每页条数
  26551. in: query
  26552. name: pagesize
  26553. type: integer
  26554. - description: 源币种ID
  26555. in: query
  26556. name: oricurrencyid
  26557. type: integer
  26558. - description: 目标币种ID
  26559. in: query
  26560. name: descurrencyid
  26561. type: integer
  26562. produces:
  26563. - application/json
  26564. responses:
  26565. "200":
  26566. description: OK
  26567. schema:
  26568. items:
  26569. $ref: '#/definitions/models.Exchangerateconfig'
  26570. type: array
  26571. "500":
  26572. description: Internal Server Error
  26573. schema:
  26574. $ref: '#/definitions/app.Response'
  26575. security:
  26576. - ApiKeyAuth: []
  26577. - LoginID: []
  26578. - Group: []
  26579. summary: 查询汇率信息
  26580. tags:
  26581. - 通用服务
  26582. /Common/QueryTableDefine:
  26583. get:
  26584. parameters:
  26585. - description: 表key
  26586. in: query
  26587. name: tableKey
  26588. type: string
  26589. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  26590. in: query
  26591. name: tableType
  26592. type: integer
  26593. produces:
  26594. - application/json
  26595. responses:
  26596. "200":
  26597. description: OK
  26598. schema:
  26599. $ref: '#/definitions/common.QueryTableDefineRsp'
  26600. "500":
  26601. description: Internal Server Error
  26602. schema:
  26603. $ref: '#/definitions/app.Response'
  26604. summary: 查询交易端列表头信息
  26605. tags:
  26606. - 通用服务
  26607. /Common/QueryTraderMenu:
  26608. get:
  26609. parameters:
  26610. - description: 登录账号
  26611. in: query
  26612. name: loginid
  26613. required: true
  26614. type: integer
  26615. produces:
  26616. - application/json
  26617. responses:
  26618. "200":
  26619. description: OK
  26620. schema:
  26621. $ref: '#/definitions/common.QueryTraderMenuRsp'
  26622. "500":
  26623. description: Internal Server Error
  26624. schema:
  26625. $ref: '#/definitions/app.Response'
  26626. summary: 查询交易端菜单
  26627. tags:
  26628. - 通用服务
  26629. /Common/UpdateNewFuncmenu:
  26630. put:
  26631. consumes:
  26632. - application/json
  26633. parameters:
  26634. - description: 菜单表数据
  26635. in: body
  26636. name: data
  26637. required: true
  26638. schema:
  26639. $ref: '#/definitions/models.NewFuncmenulist'
  26640. produces:
  26641. - application/json
  26642. responses:
  26643. "200":
  26644. description: OK
  26645. schema:
  26646. $ref: '#/definitions/app.Response'
  26647. "500":
  26648. description: Internal Server Error
  26649. schema:
  26650. $ref: '#/definitions/app.Response'
  26651. security:
  26652. - ApiKeyAuth: []
  26653. summary: 更新菜单表数据
  26654. tags:
  26655. - 通用服务
  26656. /Delivery/QueryDeliveryRelation:
  26657. get:
  26658. parameters:
  26659. - description: 商品ID
  26660. in: query
  26661. name: goodsid
  26662. type: integer
  26663. - description: 品种ID
  26664. in: query
  26665. name: deliverygoodsid
  26666. type: integer
  26667. - description: 市场ID
  26668. in: query
  26669. name: marketid
  26670. type: integer
  26671. produces:
  26672. - application/json
  26673. responses:
  26674. "200":
  26675. description: OK
  26676. schema:
  26677. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  26678. "500":
  26679. description: Internal Server Error
  26680. schema:
  26681. $ref: '#/definitions/app.Response'
  26682. security:
  26683. - ApiKeyAuth: []
  26684. summary: 查询商品交割关系表
  26685. tags:
  26686. - 交割服务
  26687. /Ermcp/GetErmcpGoods:
  26688. get:
  26689. parameters:
  26690. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  26691. in: query
  26692. name: userid
  26693. type: integer
  26694. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26695. in: query
  26696. name: lastUpdateTime
  26697. type: string
  26698. produces:
  26699. - application/json
  26700. responses:
  26701. "200":
  26702. description: OK
  26703. schema:
  26704. $ref: '#/definitions/models.ErmcpGoods'
  26705. "500":
  26706. description: Internal Server Error
  26707. schema:
  26708. $ref: '#/definitions/app.Response'
  26709. security:
  26710. - ApiKeyAuth: []
  26711. summary: 查询企业风管期货商品信息
  26712. tags:
  26713. - 企业风险管理(app)
  26714. /Ermcp/GetErmcpGoodsSortByPosition:
  26715. get:
  26716. parameters:
  26717. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  26718. in: query
  26719. name: sortIndex
  26720. type: string
  26721. produces:
  26722. - application/json
  26723. responses:
  26724. "200":
  26725. description: OK
  26726. schema:
  26727. $ref: '#/definitions/models.Goodssortbypreposition'
  26728. "500":
  26729. description: Internal Server Error
  26730. schema:
  26731. $ref: '#/definitions/app.Response'
  26732. security:
  26733. - ApiKeyAuth: []
  26734. summary: 查询企业风管期货主力、次主力商品信息
  26735. tags:
  26736. - 企业风险管理(app)
  26737. /Ermcp/GetErmcpOutAccountStatus:
  26738. get:
  26739. parameters:
  26740. - description: 登录账号
  26741. in: query
  26742. name: loginID
  26743. required: true
  26744. type: integer
  26745. produces:
  26746. - application/json
  26747. responses:
  26748. "200":
  26749. description: OK
  26750. schema:
  26751. $ref: '#/definitions/models.Hedgemarketopenlog'
  26752. "500":
  26753. description: Internal Server Error
  26754. schema:
  26755. $ref: '#/definitions/app.Response'
  26756. security:
  26757. - ApiKeyAuth: []
  26758. summary: 获取目标登录账号当前对冲账号在线状态
  26759. tags:
  26760. - 企业风险管理(app)
  26761. /Ermcp/GetErmcpRoleFuncMenuLists:
  26762. get:
  26763. parameters:
  26764. - description: 登录账号
  26765. in: query
  26766. name: loginID
  26767. required: true
  26768. type: integer
  26769. produces:
  26770. - application/json
  26771. responses:
  26772. "200":
  26773. description: OK
  26774. schema:
  26775. $ref: '#/definitions/models.Funcmenulist'
  26776. "500":
  26777. description: Internal Server Error
  26778. schema:
  26779. $ref: '#/definitions/app.Response'
  26780. security:
  26781. - ApiKeyAuth: []
  26782. summary: 获取企业风管终端权限
  26783. tags:
  26784. - 企业风险管理(app)
  26785. /Ermcp/QueryAccMgrBizGroupSet:
  26786. get:
  26787. parameters:
  26788. - description: 用户ID
  26789. in: query
  26790. name: userid
  26791. required: true
  26792. type: integer
  26793. - description: 现货商品id
  26794. in: query
  26795. name: deliverygoodsid
  26796. type: integer
  26797. produces:
  26798. - application/json
  26799. responses:
  26800. "200":
  26801. description: OK
  26802. schema:
  26803. items:
  26804. $ref: '#/definitions/models.ErmcpBizGroupEx'
  26805. type: array
  26806. "500":
  26807. description: Internal Server Error
  26808. schema:
  26809. $ref: '#/definitions/app.Response'
  26810. security:
  26811. - ApiKeyAuth: []
  26812. summary: 查询业务类型分组(账户管理/账户设置)
  26813. tags:
  26814. - 企业风险管理(app)
  26815. /Ermcp/QueryAccMgrLoginUser:
  26816. get:
  26817. parameters:
  26818. - description: 用户ID
  26819. in: query
  26820. name: userid
  26821. required: true
  26822. type: integer
  26823. - description: 用户类型 2-机构 7-企业成员
  26824. in: query
  26825. name: usertype
  26826. type: integer
  26827. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  26828. in: query
  26829. name: querytype
  26830. required: true
  26831. type: integer
  26832. produces:
  26833. - application/json
  26834. responses:
  26835. "200":
  26836. description: OK
  26837. schema:
  26838. items:
  26839. $ref: '#/definitions/models.ErmcpLoginUserEx'
  26840. type: array
  26841. "500":
  26842. description: Internal Server Error
  26843. schema:
  26844. $ref: '#/definitions/app.Response'
  26845. security:
  26846. - ApiKeyAuth: []
  26847. summary: 查询账户管理登录账号(账户管理/登录账号)
  26848. tags:
  26849. - 企业风险管理(app)
  26850. /Ermcp/QueryAccMgrMainAccountInfo:
  26851. get:
  26852. parameters:
  26853. - description: 用户ID
  26854. in: query
  26855. name: userid
  26856. type: integer
  26857. - description: 主账号id
  26858. in: query
  26859. name: accountid
  26860. type: integer
  26861. produces:
  26862. - application/json
  26863. responses:
  26864. "200":
  26865. description: OK
  26866. schema:
  26867. items:
  26868. $ref: '#/definitions/models.MainAccountInfo'
  26869. type: array
  26870. "500":
  26871. description: Internal Server Error
  26872. schema:
  26873. $ref: '#/definitions/app.Response'
  26874. security:
  26875. - ApiKeyAuth: []
  26876. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  26877. tags:
  26878. - 企业风险管理(app)
  26879. /Ermcp/QueryAccMgrRole:
  26880. get:
  26881. parameters:
  26882. - description: 用户ID
  26883. in: query
  26884. name: userid
  26885. required: true
  26886. type: integer
  26887. produces:
  26888. - application/json
  26889. responses:
  26890. "200":
  26891. description: OK
  26892. schema:
  26893. items:
  26894. $ref: '#/definitions/models.ErmcpRole'
  26895. type: array
  26896. "500":
  26897. description: Internal Server Error
  26898. schema:
  26899. $ref: '#/definitions/app.Response'
  26900. security:
  26901. - ApiKeyAuth: []
  26902. summary: 查询账户管理角色设置(账户管理/角色设置)
  26903. tags:
  26904. - 企业风险管理(app)
  26905. /Ermcp/QueryAccMgrRoleMenu:
  26906. get:
  26907. parameters:
  26908. - description: 用户ID
  26909. in: query
  26910. name: userid
  26911. required: true
  26912. type: integer
  26913. - description: 角色id(可多个,逗号隔开)
  26914. in: query
  26915. name: roleid
  26916. type: string
  26917. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  26918. in: query
  26919. name: menutype
  26920. type: integer
  26921. produces:
  26922. - application/json
  26923. responses:
  26924. "200":
  26925. description: OK
  26926. schema:
  26927. items:
  26928. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  26929. type: array
  26930. "500":
  26931. description: Internal Server Error
  26932. schema:
  26933. $ref: '#/definitions/app.Response'
  26934. security:
  26935. - ApiKeyAuth: []
  26936. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  26937. tags:
  26938. - 企业风险管理(app)
  26939. /Ermcp/QueryAccMgrTaAccountInfo:
  26940. get:
  26941. parameters:
  26942. - description: 用户ID
  26943. in: query
  26944. name: userid
  26945. required: true
  26946. type: integer
  26947. - description: 账号id
  26948. in: query
  26949. name: accountid
  26950. type: integer
  26951. produces:
  26952. - application/json
  26953. responses:
  26954. "200":
  26955. description: OK
  26956. schema:
  26957. items:
  26958. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  26959. type: array
  26960. "500":
  26961. description: Internal Server Error
  26962. schema:
  26963. $ref: '#/definitions/app.Response'
  26964. security:
  26965. - ApiKeyAuth: []
  26966. summary: 查询账户管理授信(账户管理/账户设置/授信)
  26967. tags:
  26968. - 企业风险管理(app)
  26969. /Ermcp/QueryAccMgrTaaccount:
  26970. get:
  26971. parameters:
  26972. - description: 用户ID
  26973. in: query
  26974. name: userid
  26975. required: true
  26976. type: integer
  26977. produces:
  26978. - application/json
  26979. responses:
  26980. "200":
  26981. description: OK
  26982. schema:
  26983. items:
  26984. $ref: '#/definitions/models.ErmcpTaAccountEx'
  26985. type: array
  26986. "500":
  26987. description: Internal Server Error
  26988. schema:
  26989. $ref: '#/definitions/app.Response'
  26990. security:
  26991. - ApiKeyAuth: []
  26992. summary: 查询账户管理期货账号(账户管理/期货账号)
  26993. tags:
  26994. - 企业风险管理(app)
  26995. /Ermcp/QueryAvaildGoodsGroup:
  26996. get:
  26997. parameters:
  26998. - description: 所属机构ID
  26999. in: query
  27000. name: userid
  27001. required: true
  27002. type: integer
  27003. produces:
  27004. - application/json
  27005. responses:
  27006. "200":
  27007. description: OK
  27008. schema:
  27009. items:
  27010. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  27011. type: array
  27012. "500":
  27013. description: Internal Server Error
  27014. schema:
  27015. $ref: '#/definitions/app.Response'
  27016. security:
  27017. - ApiKeyAuth: []
  27018. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  27019. tags:
  27020. - 企业风险管理(app)
  27021. /Ermcp/QueryBusinessDj:
  27022. get:
  27023. parameters:
  27024. - description: 用户ID
  27025. in: query
  27026. name: UserId
  27027. required: true
  27028. type: integer
  27029. - description: 用户类型 2-机构 7-企业成员
  27030. in: query
  27031. name: usertype
  27032. type: integer
  27033. - description: 现货合同ID, 不填则查所有
  27034. in: query
  27035. name: relatedid
  27036. type: string
  27037. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27038. in: query
  27039. name: applystatus
  27040. type: string
  27041. produces:
  27042. - application/json
  27043. responses:
  27044. "200":
  27045. description: OK
  27046. schema:
  27047. items:
  27048. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  27049. type: array
  27050. "500":
  27051. description: Internal Server Error
  27052. schema:
  27053. $ref: '#/definitions/app.Response'
  27054. security:
  27055. - ApiKeyAuth: []
  27056. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  27057. tags:
  27058. - 企业风险管理(app)
  27059. /Ermcp/QueryBusinessFp:
  27060. get:
  27061. parameters:
  27062. - description: 用户ID
  27063. in: query
  27064. name: UserId
  27065. required: true
  27066. type: integer
  27067. - description: 用户类型 2-机构 7-企业成员
  27068. in: query
  27069. name: usertype
  27070. type: integer
  27071. - description: 现货合同ID, 不填则查所有
  27072. in: query
  27073. name: relatedid
  27074. type: string
  27075. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27076. in: query
  27077. name: applystatus
  27078. type: string
  27079. produces:
  27080. - application/json
  27081. responses:
  27082. "200":
  27083. description: OK
  27084. schema:
  27085. items:
  27086. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  27087. type: array
  27088. "500":
  27089. description: Internal Server Error
  27090. schema:
  27091. $ref: '#/definitions/app.Response'
  27092. security:
  27093. - ApiKeyAuth: []
  27094. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  27095. tags:
  27096. - 企业风险管理(app)
  27097. /Ermcp/QueryBusinessJs:
  27098. get:
  27099. parameters:
  27100. - description: 用户ID
  27101. in: query
  27102. name: UserId
  27103. required: true
  27104. type: integer
  27105. - description: 用户类型 2-机构 7-企业成员
  27106. in: query
  27107. name: usertype
  27108. type: integer
  27109. - description: 现货合同ID, 不填则查所有
  27110. in: query
  27111. name: relatedid
  27112. type: string
  27113. - description: 操作申请id
  27114. in: query
  27115. name: operateapplyid
  27116. type: string
  27117. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27118. in: query
  27119. name: applystatus
  27120. type: string
  27121. produces:
  27122. - application/json
  27123. responses:
  27124. "200":
  27125. description: OK
  27126. schema:
  27127. items:
  27128. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  27129. type: array
  27130. "500":
  27131. description: Internal Server Error
  27132. schema:
  27133. $ref: '#/definitions/app.Response'
  27134. security:
  27135. - ApiKeyAuth: []
  27136. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  27137. tags:
  27138. - 企业风险管理(app)
  27139. /Ermcp/QueryBusinessJsEx:
  27140. get:
  27141. parameters:
  27142. - description: 用户ID
  27143. in: query
  27144. name: UserId
  27145. required: true
  27146. type: integer
  27147. - description: 用户类型 2-机构 7-企业成员
  27148. in: query
  27149. name: usertype
  27150. type: integer
  27151. - description: 现货合同ID, 不填则查所有
  27152. in: query
  27153. name: relatedid
  27154. type: string
  27155. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27156. in: query
  27157. name: applystatus
  27158. type: string
  27159. produces:
  27160. - application/json
  27161. responses:
  27162. "200":
  27163. description: OK
  27164. schema:
  27165. items:
  27166. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  27167. type: array
  27168. "500":
  27169. description: Internal Server Error
  27170. schema:
  27171. $ref: '#/definitions/app.Response'
  27172. security:
  27173. - ApiKeyAuth: []
  27174. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  27175. tags:
  27176. - 企业风险管理(app)
  27177. /Ermcp/QueryBusinessKx:
  27178. get:
  27179. parameters:
  27180. - description: 用户ID
  27181. in: query
  27182. name: UserId
  27183. required: true
  27184. type: integer
  27185. - description: 用户类型 2-机构 7-企业成员
  27186. in: query
  27187. name: usertype
  27188. type: integer
  27189. - description: 现货合同ID, 不填则查所有
  27190. in: query
  27191. name: relatedid
  27192. type: string
  27193. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27194. in: query
  27195. name: applystatus
  27196. type: string
  27197. produces:
  27198. - application/json
  27199. responses:
  27200. "200":
  27201. description: OK
  27202. schema:
  27203. items:
  27204. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  27205. type: array
  27206. "500":
  27207. description: Internal Server Error
  27208. schema:
  27209. $ref: '#/definitions/app.Response'
  27210. security:
  27211. - ApiKeyAuth: []
  27212. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  27213. tags:
  27214. - 企业风险管理(app)
  27215. /Ermcp/QueryChangeLog:
  27216. get:
  27217. parameters:
  27218. - description: 合同ID
  27219. in: query
  27220. name: RelatedId
  27221. required: true
  27222. type: string
  27223. produces:
  27224. - application/json
  27225. responses:
  27226. "200":
  27227. description: OK
  27228. schema:
  27229. items:
  27230. $ref: '#/definitions/ermcp.QryOPLogRsp'
  27231. type: array
  27232. "500":
  27233. description: Internal Server Error
  27234. schema:
  27235. $ref: '#/definitions/app.Response'
  27236. security:
  27237. - ApiKeyAuth: []
  27238. summary: 查询变更记录
  27239. tags:
  27240. - 企业风险管理(app)
  27241. /Ermcp/QueryErmcpHisOrderDetails:
  27242. get:
  27243. parameters:
  27244. - description: 资金账户ID
  27245. in: query
  27246. name: accountID
  27247. required: true
  27248. type: integer
  27249. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27250. in: query
  27251. name: startDate
  27252. type: string
  27253. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27254. in: query
  27255. name: endDate
  27256. type: string
  27257. produces:
  27258. - application/json
  27259. responses:
  27260. "200":
  27261. description: OK
  27262. schema:
  27263. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27264. "500":
  27265. description: Internal Server Error
  27266. schema:
  27267. $ref: '#/definitions/app.Response'
  27268. security:
  27269. - ApiKeyAuth: []
  27270. summary: 获取企业风管期货历史委托单信息
  27271. tags:
  27272. - 企业风险管理(app)
  27273. /Ermcp/QueryErmcpHisTradeDetails:
  27274. get:
  27275. parameters:
  27276. - description: 资金账户ID
  27277. in: query
  27278. name: accountID
  27279. required: true
  27280. type: integer
  27281. - description: 商品ID
  27282. in: query
  27283. name: goodsID
  27284. type: integer
  27285. - description: 买卖方向,0:买 1:卖
  27286. in: query
  27287. name: buyOrSell
  27288. type: integer
  27289. - description: 关联委托单号
  27290. in: query
  27291. name: orderID
  27292. type: integer
  27293. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27294. in: query
  27295. name: startDate
  27296. type: string
  27297. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27298. in: query
  27299. name: endDate
  27300. type: string
  27301. produces:
  27302. - application/json
  27303. responses:
  27304. "200":
  27305. description: OK
  27306. schema:
  27307. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27308. "500":
  27309. description: Internal Server Error
  27310. schema:
  27311. $ref: '#/definitions/app.Response'
  27312. security:
  27313. - ApiKeyAuth: []
  27314. summary: 获取企业风管期货历史成交单信息
  27315. tags:
  27316. - 企业风险管理(app)
  27317. /Ermcp/QueryErmcpInnerHolderDetails:
  27318. get:
  27319. parameters:
  27320. - description: 资金账户ID
  27321. in: query
  27322. name: accountID
  27323. required: true
  27324. type: integer
  27325. - description: 商品ID
  27326. in: query
  27327. name: goodsID
  27328. type: integer
  27329. - description: 买卖方向,0:买 1:卖
  27330. in: query
  27331. name: buyOrSell
  27332. type: integer
  27333. produces:
  27334. - application/json
  27335. responses:
  27336. "200":
  27337. description: OK
  27338. schema:
  27339. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  27340. "500":
  27341. description: Internal Server Error
  27342. schema:
  27343. $ref: '#/definitions/app.Response'
  27344. security:
  27345. - ApiKeyAuth: []
  27346. summary: 获取企业风管期货内部持仓单信息
  27347. tags:
  27348. - 企业风险管理(app)
  27349. /Ermcp/QueryErmcpOrderDetails:
  27350. get:
  27351. parameters:
  27352. - description: 资金账户ID
  27353. in: query
  27354. name: accountID
  27355. required: true
  27356. type: integer
  27357. produces:
  27358. - application/json
  27359. responses:
  27360. "200":
  27361. description: OK
  27362. schema:
  27363. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27364. "500":
  27365. description: Internal Server Error
  27366. schema:
  27367. $ref: '#/definitions/app.Response'
  27368. security:
  27369. - ApiKeyAuth: []
  27370. summary: 获取企业风管期货委托单信息
  27371. tags:
  27372. - 企业风险管理(app)
  27373. /Ermcp/QueryErmcpTradeDetails:
  27374. get:
  27375. parameters:
  27376. - description: 资金账户ID
  27377. in: query
  27378. name: accountID
  27379. required: true
  27380. type: integer
  27381. - description: 商品ID
  27382. in: query
  27383. name: goodsID
  27384. type: integer
  27385. - description: 买卖方向,0:买 1:卖
  27386. in: query
  27387. name: buyOrSell
  27388. type: integer
  27389. - description: 关联委托单号
  27390. in: query
  27391. name: orderID
  27392. type: integer
  27393. produces:
  27394. - application/json
  27395. responses:
  27396. "200":
  27397. description: OK
  27398. schema:
  27399. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27400. "500":
  27401. description: Internal Server Error
  27402. schema:
  27403. $ref: '#/definitions/app.Response'
  27404. security:
  27405. - ApiKeyAuth: []
  27406. summary: 获取企业风管期货成交单信息
  27407. tags:
  27408. - 企业风险管理(app)
  27409. /Ermcp/QueryErmcpTradePosition:
  27410. get:
  27411. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  27412. parameters:
  27413. - description: 资金账户ID
  27414. in: query
  27415. name: accountID
  27416. required: true
  27417. type: integer
  27418. - description: 所属市场ID
  27419. in: query
  27420. name: marketID
  27421. type: integer
  27422. produces:
  27423. - application/json
  27424. responses:
  27425. "200":
  27426. description: OK
  27427. schema:
  27428. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  27429. "500":
  27430. description: Internal Server Error
  27431. schema:
  27432. $ref: '#/definitions/app.Response'
  27433. security:
  27434. - ApiKeyAuth: []
  27435. summary: 获取企业风管期货持仓头寸信息
  27436. tags:
  27437. - 企业风险管理(app)
  27438. /Ermcp/QueryExposureDetail:
  27439. get:
  27440. parameters:
  27441. - description: 所属机构ID
  27442. in: query
  27443. name: areaUserId
  27444. required: true
  27445. type: integer
  27446. - description: 套保商品
  27447. in: query
  27448. name: middleGoodsId
  27449. required: true
  27450. type: integer
  27451. produces:
  27452. - application/json
  27453. responses:
  27454. "200":
  27455. description: OK
  27456. schema:
  27457. items:
  27458. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  27459. type: array
  27460. "500":
  27461. description: Internal Server Error
  27462. schema:
  27463. $ref: '#/definitions/app.Response'
  27464. security:
  27465. - ApiKeyAuth: []
  27466. summary: 查询敞口现货明细
  27467. tags:
  27468. - 企业风险管理(app)
  27469. /Ermcp/QueryExposureGoods:
  27470. get:
  27471. parameters:
  27472. - description: 套保商品id
  27473. in: query
  27474. name: middlegoodsid
  27475. required: true
  27476. type: integer
  27477. produces:
  27478. - application/json
  27479. responses:
  27480. "200":
  27481. description: OK
  27482. schema:
  27483. items:
  27484. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  27485. type: array
  27486. "500":
  27487. description: Internal Server Error
  27488. schema:
  27489. $ref: '#/definitions/app.Response'
  27490. security:
  27491. - ApiKeyAuth: []
  27492. summary: 查询敞口主力合约
  27493. tags:
  27494. - 企业风险管理(app)
  27495. /Ermcp/QueryExposureHedgePosition:
  27496. get:
  27497. parameters:
  27498. - description: 用户id
  27499. in: query
  27500. name: userid
  27501. required: true
  27502. type: integer
  27503. produces:
  27504. - application/json
  27505. responses:
  27506. "200":
  27507. description: OK
  27508. schema:
  27509. items:
  27510. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  27511. type: array
  27512. "500":
  27513. description: Internal Server Error
  27514. schema:
  27515. $ref: '#/definitions/app.Response'
  27516. security:
  27517. - ApiKeyAuth: []
  27518. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  27519. tags:
  27520. - 企业风险管理(app)
  27521. /Ermcp/QueryExposureHedgePositionDetail:
  27522. get:
  27523. parameters:
  27524. - description: 所属机构ID
  27525. in: query
  27526. name: userid
  27527. required: true
  27528. type: integer
  27529. - description: 商品id
  27530. in: query
  27531. name: goodsId
  27532. required: true
  27533. type: integer
  27534. produces:
  27535. - application/json
  27536. responses:
  27537. "200":
  27538. description: OK
  27539. schema:
  27540. items:
  27541. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  27542. type: array
  27543. "500":
  27544. description: Internal Server Error
  27545. schema:
  27546. $ref: '#/definitions/app.Response'
  27547. security:
  27548. - ApiKeyAuth: []
  27549. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  27550. tags:
  27551. - 企业风险管理(app)
  27552. /Ermcp/QueryExposureSpot:
  27553. get:
  27554. parameters:
  27555. - description: 所属机构ID
  27556. in: query
  27557. name: areaUserId
  27558. required: true
  27559. type: integer
  27560. produces:
  27561. - application/json
  27562. responses:
  27563. "200":
  27564. description: OK
  27565. schema:
  27566. items:
  27567. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  27568. type: array
  27569. "500":
  27570. description: Internal Server Error
  27571. schema:
  27572. $ref: '#/definitions/app.Response'
  27573. security:
  27574. - ApiKeyAuth: []
  27575. summary: 查询敞口现货头寸(敞口/现货头寸)
  27576. tags:
  27577. - 企业风险管理(app)
  27578. /Ermcp/QueryExposureSpotDetail:
  27579. get:
  27580. parameters:
  27581. - description: 所属机构ID
  27582. in: query
  27583. name: areaUserId
  27584. required: true
  27585. type: integer
  27586. - description: 现货品种ID
  27587. in: query
  27588. name: wrstandardId
  27589. required: true
  27590. type: integer
  27591. produces:
  27592. - application/json
  27593. responses:
  27594. "200":
  27595. description: OK
  27596. schema:
  27597. items:
  27598. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  27599. type: array
  27600. "500":
  27601. description: Internal Server Error
  27602. schema:
  27603. $ref: '#/definitions/app.Response'
  27604. security:
  27605. - ApiKeyAuth: []
  27606. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  27607. tags:
  27608. - 企业风险管理(app)
  27609. /Ermcp/QueryFuturesCompany:
  27610. get:
  27611. produces:
  27612. - application/json
  27613. responses:
  27614. "200":
  27615. description: OK
  27616. schema:
  27617. items:
  27618. $ref: '#/definitions/models.ErmcpFuturesCompany'
  27619. type: array
  27620. "500":
  27621. description: Internal Server Error
  27622. schema:
  27623. $ref: '#/definitions/app.Response'
  27624. security:
  27625. - ApiKeyAuth: []
  27626. summary: 查询期货公司
  27627. tags:
  27628. - 企业风险管理(app)
  27629. /Ermcp/QueryGGConvertConfig:
  27630. get:
  27631. parameters:
  27632. - description: 品种id(不填则查所有)
  27633. in: query
  27634. name: goodsgroupid
  27635. type: integer
  27636. produces:
  27637. - application/json
  27638. responses:
  27639. "200":
  27640. description: OK
  27641. schema:
  27642. items:
  27643. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  27644. type: array
  27645. "500":
  27646. description: Internal Server Error
  27647. schema:
  27648. $ref: '#/definitions/app.Response'
  27649. security:
  27650. - ApiKeyAuth: []
  27651. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  27652. tags:
  27653. - 企业风险管理(app)
  27654. /Ermcp/QueryGoodsBrand:
  27655. get:
  27656. parameters:
  27657. - description: 用户ID
  27658. in: query
  27659. name: userid
  27660. required: true
  27661. type: integer
  27662. - description: 现货商品ID
  27663. in: query
  27664. name: wrstandardid
  27665. type: integer
  27666. produces:
  27667. - application/json
  27668. responses:
  27669. "200":
  27670. description: OK
  27671. schema:
  27672. items:
  27673. $ref: '#/definitions/models.ErmcpGoodsBrand'
  27674. type: array
  27675. "500":
  27676. description: Internal Server Error
  27677. schema:
  27678. $ref: '#/definitions/app.Response'
  27679. security:
  27680. - ApiKeyAuth: []
  27681. summary: 查询商品品牌
  27682. tags:
  27683. - 企业风险管理(app)
  27684. /Ermcp/QueryGoodsModel:
  27685. get:
  27686. parameters:
  27687. - description: 用户ID
  27688. in: query
  27689. name: userid
  27690. required: true
  27691. type: integer
  27692. produces:
  27693. - application/json
  27694. responses:
  27695. "200":
  27696. description: OK
  27697. schema:
  27698. items:
  27699. $ref: '#/definitions/models.ErmcpGoodsModel'
  27700. type: array
  27701. "500":
  27702. description: Internal Server Error
  27703. schema:
  27704. $ref: '#/definitions/app.Response'
  27705. security:
  27706. - ApiKeyAuth: []
  27707. summary: 查询商品型号
  27708. tags:
  27709. - 企业风险管理(app)
  27710. /Ermcp/QueryHisExposure:
  27711. get:
  27712. parameters:
  27713. - description: 用户id
  27714. in: query
  27715. name: userid
  27716. required: true
  27717. type: integer
  27718. - description: 每个品种记录数
  27719. in: query
  27720. name: lastNum
  27721. required: true
  27722. type: integer
  27723. produces:
  27724. - application/json
  27725. responses:
  27726. "200":
  27727. description: OK
  27728. schema:
  27729. items:
  27730. $ref: '#/definitions/ermcp.HisExposureRsp'
  27731. type: array
  27732. "500":
  27733. description: Internal Server Error
  27734. schema:
  27735. $ref: '#/definitions/app.Response'
  27736. security:
  27737. - ApiKeyAuth: []
  27738. summary: 查询历史敞口(菜单:敞口/历史敞口)
  27739. tags:
  27740. - 企业风险管理(app)
  27741. /Ermcp/QueryMiddleGoods:
  27742. get:
  27743. parameters:
  27744. - description: 所属机构ID
  27745. in: query
  27746. name: userid
  27747. required: true
  27748. type: integer
  27749. - description: 状态 0-停用 1-正常
  27750. in: query
  27751. name: status
  27752. required: true
  27753. type: integer
  27754. produces:
  27755. - application/json
  27756. responses:
  27757. "200":
  27758. description: OK
  27759. schema:
  27760. items:
  27761. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  27762. type: array
  27763. "500":
  27764. description: Internal Server Error
  27765. schema:
  27766. $ref: '#/definitions/app.Response'
  27767. security:
  27768. - ApiKeyAuth: []
  27769. summary: 查询套保品种(菜单:套保品种)
  27770. tags:
  27771. - 企业风险管理(app)
  27772. /Ermcp/QueryMiddleGoodsChangeLog:
  27773. get:
  27774. parameters:
  27775. - description: 所属机构ID
  27776. in: query
  27777. name: userid
  27778. required: true
  27779. type: integer
  27780. - description: 套保品种id
  27781. in: query
  27782. name: middlegoodsid
  27783. required: true
  27784. type: integer
  27785. produces:
  27786. - application/json
  27787. responses:
  27788. "200":
  27789. description: OK
  27790. schema:
  27791. items:
  27792. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  27793. type: array
  27794. "500":
  27795. description: Internal Server Error
  27796. schema:
  27797. $ref: '#/definitions/app.Response'
  27798. security:
  27799. - ApiKeyAuth: []
  27800. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  27801. tags:
  27802. - 企业风险管理(app)
  27803. /Ermcp/QueryMiddleGoodsDetail:
  27804. get:
  27805. parameters:
  27806. - description: 所属机构ID
  27807. in: query
  27808. name: userid
  27809. required: true
  27810. type: integer
  27811. - description: 套保品种id
  27812. in: query
  27813. name: middlegoodsid
  27814. type: integer
  27815. produces:
  27816. - application/json
  27817. responses:
  27818. "200":
  27819. description: OK
  27820. schema:
  27821. items:
  27822. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  27823. type: array
  27824. "500":
  27825. description: Internal Server Error
  27826. schema:
  27827. $ref: '#/definitions/app.Response'
  27828. security:
  27829. - ApiKeyAuth: []
  27830. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  27831. tags:
  27832. - 企业风险管理(app)
  27833. /Ermcp/QueryPendingAuditInfo:
  27834. get:
  27835. parameters:
  27836. - description: 用户ID
  27837. in: query
  27838. name: UserId
  27839. required: true
  27840. type: integer
  27841. produces:
  27842. - application/json
  27843. responses:
  27844. "200":
  27845. description: OK
  27846. schema:
  27847. items:
  27848. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  27849. type: array
  27850. "500":
  27851. description: Internal Server Error
  27852. schema:
  27853. $ref: '#/definitions/app.Response'
  27854. security:
  27855. - ApiKeyAuth: []
  27856. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  27857. tags:
  27858. - 企业风险管理(app)
  27859. /Ermcp/QueryRealtimeExposure:
  27860. get:
  27861. parameters:
  27862. - description: 所属机构ID
  27863. in: query
  27864. name: userid
  27865. required: true
  27866. type: integer
  27867. produces:
  27868. - application/json
  27869. responses:
  27870. "200":
  27871. description: OK
  27872. schema:
  27873. items:
  27874. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  27875. type: array
  27876. "500":
  27877. description: Internal Server Error
  27878. schema:
  27879. $ref: '#/definitions/app.Response'
  27880. security:
  27881. - ApiKeyAuth: []
  27882. summary: 查询实时敞口
  27883. tags:
  27884. - 企业风险管理(app)
  27885. /Ermcp/QueryRealtimeExposurePosition:
  27886. get:
  27887. parameters:
  27888. - description: 用户id
  27889. in: query
  27890. name: userid
  27891. required: true
  27892. type: integer
  27893. - description: 套保商品ID
  27894. in: query
  27895. name: middleGoodsId
  27896. required: true
  27897. type: integer
  27898. produces:
  27899. - application/json
  27900. responses:
  27901. "200":
  27902. description: OK
  27903. schema:
  27904. items:
  27905. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  27906. type: array
  27907. "500":
  27908. description: Internal Server Error
  27909. schema:
  27910. $ref: '#/definitions/app.Response'
  27911. security:
  27912. - ApiKeyAuth: []
  27913. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  27914. tags:
  27915. - 企业风险管理(app)
  27916. /Ermcp/QueryRoleMenu:
  27917. get:
  27918. parameters:
  27919. - description: 登录ID
  27920. in: query
  27921. name: loginid
  27922. required: true
  27923. type: integer
  27924. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  27925. in: query
  27926. name: menutype
  27927. type: integer
  27928. produces:
  27929. - application/json
  27930. responses:
  27931. "200":
  27932. description: OK
  27933. schema:
  27934. items:
  27935. $ref: '#/definitions/models.RoleMenu'
  27936. type: array
  27937. "500":
  27938. description: Internal Server Error
  27939. schema:
  27940. $ref: '#/definitions/app.Response'
  27941. security:
  27942. - ApiKeyAuth: []
  27943. summary: 查询角色菜单和权限
  27944. tags:
  27945. - 企业风险管理(app)
  27946. /Ermcp/QueryTradeConfigTMP:
  27947. get:
  27948. parameters:
  27949. - description: 所属机构id
  27950. in: query
  27951. name: areauserid
  27952. type: integer
  27953. produces:
  27954. - application/json
  27955. responses:
  27956. "200":
  27957. description: OK
  27958. schema:
  27959. items:
  27960. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  27961. type: array
  27962. "500":
  27963. description: Internal Server Error
  27964. schema:
  27965. $ref: '#/definitions/app.Response'
  27966. security:
  27967. - ApiKeyAuth: []
  27968. summary: 查询交易模板配置
  27969. tags:
  27970. - 企业风险管理(app)
  27971. /Ermcp/QueryUserInfo:
  27972. get:
  27973. parameters:
  27974. - description: 所属机构用户ID
  27975. in: query
  27976. name: MemberUserID
  27977. required: true
  27978. type: integer
  27979. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  27980. in: query
  27981. name: queryType
  27982. required: true
  27983. type: integer
  27984. produces:
  27985. - application/json
  27986. responses:
  27987. "200":
  27988. description: OK
  27989. schema:
  27990. items:
  27991. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  27992. type: array
  27993. "500":
  27994. description: Internal Server Error
  27995. schema:
  27996. $ref: '#/definitions/app.Response'
  27997. security:
  27998. - ApiKeyAuth: []
  27999. summary: 查询客户资料
  28000. tags:
  28001. - 企业风险管理(app)
  28002. /Ermcp/QueryWarehouseInfo:
  28003. get:
  28004. parameters:
  28005. - description: 用户ID
  28006. in: query
  28007. name: userid
  28008. required: true
  28009. type: integer
  28010. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  28011. in: query
  28012. name: status
  28013. type: string
  28014. produces:
  28015. - application/json
  28016. responses:
  28017. "200":
  28018. description: OK
  28019. schema:
  28020. items:
  28021. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  28022. type: array
  28023. "500":
  28024. description: Internal Server Error
  28025. schema:
  28026. $ref: '#/definitions/app.Response'
  28027. security:
  28028. - ApiKeyAuth: []
  28029. summary: 查询仓库信息
  28030. tags:
  28031. - 企业风险管理(app)
  28032. /Ermcp3/QryAreaExpourseContractDetail:
  28033. get:
  28034. parameters:
  28035. - description: 用户ID
  28036. in: query
  28037. name: userid
  28038. required: true
  28039. type: integer
  28040. - description: 套保商品id
  28041. in: query
  28042. name: middlegoodsid
  28043. required: true
  28044. type: integer
  28045. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28046. in: query
  28047. name: cycletype
  28048. required: true
  28049. type: integer
  28050. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28051. 全(0)【原值】
  28052. in: query
  28053. name: cycletime
  28054. required: true
  28055. type: string
  28056. produces:
  28057. - application/json
  28058. responses:
  28059. "200":
  28060. description: OK
  28061. schema:
  28062. items:
  28063. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  28064. type: array
  28065. "500":
  28066. description: Internal Server Error
  28067. schema:
  28068. $ref: '#/definitions/app.Response'
  28069. security:
  28070. - ApiKeyAuth: []
  28071. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  28072. tags:
  28073. - 企业风险管理v3(app)
  28074. /Ermcp3/QryAreaExpourseFutuDetail:
  28075. get:
  28076. parameters:
  28077. - description: 用户ID
  28078. in: query
  28079. name: userid
  28080. required: true
  28081. type: integer
  28082. - description: 套保商品id
  28083. in: query
  28084. name: middlegoodsid
  28085. required: true
  28086. type: integer
  28087. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28088. in: query
  28089. name: cycletype
  28090. required: true
  28091. type: integer
  28092. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28093. 全(0)【原值】
  28094. in: query
  28095. name: cycletime
  28096. required: true
  28097. type: string
  28098. produces:
  28099. - application/json
  28100. responses:
  28101. "200":
  28102. description: OK
  28103. schema:
  28104. items:
  28105. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  28106. type: array
  28107. "500":
  28108. description: Internal Server Error
  28109. schema:
  28110. $ref: '#/definitions/app.Response'
  28111. security:
  28112. - ApiKeyAuth: []
  28113. summary: 查询敞口期货明细(敞口报表/期货明细)
  28114. tags:
  28115. - 企业风险管理v3(app)
  28116. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  28117. get:
  28118. parameters:
  28119. - description: 用户ID
  28120. in: query
  28121. name: userid
  28122. required: true
  28123. type: integer
  28124. - description: 套保商品id
  28125. in: query
  28126. name: middlegoodsid
  28127. required: true
  28128. type: integer
  28129. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28130. in: query
  28131. name: cycletype
  28132. required: true
  28133. type: integer
  28134. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28135. 全(0)【原值】
  28136. in: query
  28137. name: cycletime
  28138. required: true
  28139. type: string
  28140. produces:
  28141. - application/json
  28142. responses:
  28143. "200":
  28144. description: OK
  28145. schema:
  28146. items:
  28147. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  28148. type: array
  28149. "500":
  28150. description: Internal Server Error
  28151. schema:
  28152. $ref: '#/definitions/app.Response'
  28153. security:
  28154. - ApiKeyAuth: []
  28155. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  28156. tags:
  28157. - 企业风险管理v3(app)
  28158. /Ermcp3/QryAreaExpourseParamChLogDetail:
  28159. get:
  28160. parameters:
  28161. - description: 用户ID
  28162. in: query
  28163. name: userid
  28164. required: true
  28165. type: integer
  28166. - description: 套保商品id
  28167. in: query
  28168. name: middlegoodsid
  28169. required: true
  28170. type: integer
  28171. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28172. in: query
  28173. name: cycletype
  28174. required: true
  28175. type: integer
  28176. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28177. 全(0)【原值】
  28178. in: query
  28179. name: cycletime
  28180. required: true
  28181. type: string
  28182. produces:
  28183. - application/json
  28184. responses:
  28185. "200":
  28186. description: OK
  28187. schema:
  28188. items:
  28189. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  28190. type: array
  28191. "500":
  28192. description: Internal Server Error
  28193. schema:
  28194. $ref: '#/definitions/app.Response'
  28195. security:
  28196. - ApiKeyAuth: []
  28197. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  28198. tags:
  28199. - 企业风险管理v3(app)
  28200. /Ermcp3/QryAreaExpourseReport:
  28201. get:
  28202. parameters:
  28203. - description: 用户ID
  28204. in: query
  28205. name: userid
  28206. required: true
  28207. type: integer
  28208. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  28209. in: query
  28210. name: querytype
  28211. required: true
  28212. type: integer
  28213. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28214. in: query
  28215. name: cycletype
  28216. required: true
  28217. type: integer
  28218. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28219. 全(0)【原值】
  28220. in: query
  28221. name: cycletime
  28222. required: true
  28223. type: string
  28224. produces:
  28225. - application/json
  28226. responses:
  28227. "200":
  28228. description: OK
  28229. schema:
  28230. items:
  28231. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  28232. type: array
  28233. "500":
  28234. description: Internal Server Error
  28235. schema:
  28236. $ref: '#/definitions/app.Response'
  28237. security:
  28238. - ApiKeyAuth: []
  28239. summary: 查询敞口报表
  28240. tags:
  28241. - 企业风险管理v3(app)
  28242. /Ermcp3/QryAreaSpotplReport:
  28243. get:
  28244. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  28245. parameters:
  28246. - description: 用户ID
  28247. in: query
  28248. name: userid
  28249. required: true
  28250. type: integer
  28251. - description: 查询类型 1-报表 2-报表明细
  28252. in: query
  28253. name: querytype
  28254. required: true
  28255. type: integer
  28256. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28257. in: query
  28258. name: cycletype
  28259. required: true
  28260. type: integer
  28261. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28262. 全(0)【原值】
  28263. in: query
  28264. name: cycletime
  28265. required: true
  28266. type: string
  28267. - description: 现货品种id(明细必填)
  28268. in: query
  28269. name: deliverygoodsid
  28270. type: integer
  28271. - description: 币种id(明细必填)
  28272. in: query
  28273. name: currencyid
  28274. type: integer
  28275. - description: 日/周/月报表汇总维度 1:品种+品类
  28276. in: query
  28277. name: sumflag
  28278. type: integer
  28279. produces:
  28280. - application/json
  28281. responses:
  28282. "200":
  28283. description: OK
  28284. schema:
  28285. items:
  28286. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  28287. type: array
  28288. "500":
  28289. description: Internal Server Error
  28290. schema:
  28291. $ref: '#/definitions/app.Response'
  28292. security:
  28293. - ApiKeyAuth: []
  28294. summary: 查询现货报表
  28295. tags:
  28296. - 企业风险管理v3(app)
  28297. /Ermcp3/QryAreaStockReport:
  28298. get:
  28299. parameters:
  28300. - description: 用户ID
  28301. in: query
  28302. name: userid
  28303. required: true
  28304. type: integer
  28305. - description: 查询类型 1-报表 2-报表明细
  28306. in: query
  28307. name: querytype
  28308. required: true
  28309. type: integer
  28310. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28311. in: query
  28312. name: cycletype
  28313. required: true
  28314. type: integer
  28315. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28316. 全(0)【原值】
  28317. in: query
  28318. name: cycletime
  28319. required: true
  28320. type: string
  28321. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  28322. in: query
  28323. name: sumfields
  28324. type: string
  28325. - description: 品种ID
  28326. in: query
  28327. name: deliverygoodsid
  28328. type: integer
  28329. - description: 品类ID
  28330. in: query
  28331. name: wrstandardid
  28332. type: integer
  28333. - description: 品牌ID
  28334. in: query
  28335. name: spotgoodsbrandid
  28336. type: integer
  28337. - description: 仓库ID
  28338. in: query
  28339. name: warehouseinfoid
  28340. type: integer
  28341. produces:
  28342. - application/json
  28343. responses:
  28344. "200":
  28345. description: OK
  28346. schema:
  28347. items:
  28348. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  28349. type: array
  28350. "500":
  28351. description: Internal Server Error
  28352. schema:
  28353. $ref: '#/definitions/app.Response'
  28354. security:
  28355. - ApiKeyAuth: []
  28356. summary: 查询库存报表
  28357. tags:
  28358. - 企业风险管理v3(app)
  28359. /Ermcp3/QryAreaSumPL:
  28360. get:
  28361. parameters:
  28362. - description: 用户ID
  28363. in: query
  28364. name: userid
  28365. required: true
  28366. type: integer
  28367. - description: 查询类型 1-报表 2-报表明细
  28368. in: query
  28369. name: querytype
  28370. required: true
  28371. type: integer
  28372. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28373. in: query
  28374. name: cycletype
  28375. required: true
  28376. type: integer
  28377. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28378. 全(0)【原值】
  28379. in: query
  28380. name: cycletime
  28381. required: true
  28382. type: string
  28383. - description: 币种id(明细必填)
  28384. in: query
  28385. name: currencyid
  28386. type: integer
  28387. - description: 套保品种ID, 查询类型为2时起效
  28388. in: query
  28389. name: middlegoodsid
  28390. type: integer
  28391. produces:
  28392. - application/json
  28393. responses:
  28394. "200":
  28395. description: OK
  28396. schema:
  28397. items:
  28398. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  28399. type: array
  28400. "500":
  28401. description: Internal Server Error
  28402. schema:
  28403. $ref: '#/definitions/app.Response'
  28404. security:
  28405. - ApiKeyAuth: []
  28406. summary: 查询汇总损益表
  28407. tags:
  28408. - 企业风险管理v3(app)
  28409. /Ermcp3/QryFinanceReport:
  28410. get:
  28411. parameters:
  28412. - description: 用户ID
  28413. in: query
  28414. name: userid
  28415. required: true
  28416. type: integer
  28417. - description: 查询类型 1-报表 2-报表明细
  28418. in: query
  28419. name: querytype
  28420. required: true
  28421. type: integer
  28422. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28423. in: query
  28424. name: cycletype
  28425. required: true
  28426. type: integer
  28427. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28428. 全(0)【原值】
  28429. in: query
  28430. name: cycletime
  28431. required: true
  28432. type: string
  28433. - description: 币种id(报表明细必填)
  28434. in: query
  28435. name: currencyid
  28436. type: integer
  28437. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  28438. in: query
  28439. name: sumfields
  28440. type: string
  28441. produces:
  28442. - application/json
  28443. responses:
  28444. "200":
  28445. description: OK
  28446. schema:
  28447. items:
  28448. $ref: '#/definitions/models.Ermcp3FinanceReport'
  28449. type: array
  28450. "500":
  28451. description: Internal Server Error
  28452. schema:
  28453. $ref: '#/definitions/app.Response'
  28454. security:
  28455. - ApiKeyAuth: []
  28456. summary: 查询财务报表
  28457. tags:
  28458. - 企业风险管理v3(app)
  28459. /Ermcp3/QrySCMiddleGoodsReport:
  28460. get:
  28461. parameters:
  28462. - description: 用户ID
  28463. in: query
  28464. name: userid
  28465. required: true
  28466. type: integer
  28467. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28468. in: query
  28469. name: cycletype
  28470. required: true
  28471. type: integer
  28472. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28473. 全(0)【原值】
  28474. in: query
  28475. name: cycletime
  28476. required: true
  28477. type: string
  28478. - description: 合同id
  28479. in: query
  28480. name: spotcontractid
  28481. type: integer
  28482. - description: 套保品种id
  28483. in: query
  28484. name: middlegoodsid
  28485. type: integer
  28486. - description: 现货品种id
  28487. in: query
  28488. name: deliverygoodsid
  28489. type: integer
  28490. - description: 现货商品id
  28491. in: query
  28492. name: wrstandardid
  28493. type: integer
  28494. - description: 合同编号(模糊匹配)
  28495. in: query
  28496. name: contractno
  28497. type: string
  28498. produces:
  28499. - application/json
  28500. responses:
  28501. "200":
  28502. description: OK
  28503. schema:
  28504. items:
  28505. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  28506. type: array
  28507. "500":
  28508. description: Internal Server Error
  28509. schema:
  28510. $ref: '#/definitions/app.Response'
  28511. security:
  28512. - ApiKeyAuth: []
  28513. summary: 查询定价报表
  28514. tags:
  28515. - 企业风险管理v3(app)
  28516. /Ermcp3/QryTaFutureDataReport:
  28517. get:
  28518. parameters:
  28519. - description: 用户ID
  28520. in: query
  28521. name: userid
  28522. required: true
  28523. type: integer
  28524. - description: 查询类型 1-报表 2-报表明细
  28525. in: query
  28526. name: querytype
  28527. required: true
  28528. type: integer
  28529. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28530. in: query
  28531. name: cycletype
  28532. required: true
  28533. type: integer
  28534. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28535. 全(0)【原值】
  28536. in: query
  28537. name: cycletime
  28538. required: true
  28539. type: string
  28540. - description: 币种id(查明细必填)
  28541. in: query
  28542. name: currencyid
  28543. type: integer
  28544. - description: 品种id(查明细必填)
  28545. in: query
  28546. name: goodsgroupid
  28547. type: integer
  28548. - description: 商品id(查明细必填)
  28549. in: query
  28550. name: goodsid
  28551. type: integer
  28552. - description: 买卖方向(查明细必填)
  28553. in: query
  28554. name: buyorsell
  28555. type: integer
  28556. produces:
  28557. - application/json
  28558. responses:
  28559. "200":
  28560. description: OK
  28561. schema:
  28562. items:
  28563. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  28564. type: array
  28565. "500":
  28566. description: Internal Server Error
  28567. schema:
  28568. $ref: '#/definitions/app.Response'
  28569. security:
  28570. - ApiKeyAuth: []
  28571. summary: 查询期货报表
  28572. tags:
  28573. - 企业风险管理v3(app)
  28574. /Ermcp3/QueryAreaStock:
  28575. get:
  28576. parameters:
  28577. - description: 用户ID
  28578. in: query
  28579. name: userid
  28580. required: true
  28581. type: integer
  28582. produces:
  28583. - application/json
  28584. responses:
  28585. "200":
  28586. description: OK
  28587. schema:
  28588. items:
  28589. $ref: '#/definitions/models.Ermcp3AreaStock'
  28590. type: array
  28591. "500":
  28592. description: Internal Server Error
  28593. schema:
  28594. $ref: '#/definitions/app.Response'
  28595. security:
  28596. - ApiKeyAuth: []
  28597. summary: 查询机构库存(库存管理/当前库存)
  28598. tags:
  28599. - 企业风险管理v3(app)
  28600. /Ermcp3/QueryAreaStockApply:
  28601. get:
  28602. parameters:
  28603. - description: 用户ID
  28604. in: query
  28605. name: userid
  28606. required: true
  28607. type: integer
  28608. - description: 用户类型 2-机构 7-企业成员
  28609. in: query
  28610. name: usertype
  28611. type: integer
  28612. - description: 现货商品ID
  28613. in: query
  28614. name: deliverygoodsid
  28615. type: integer
  28616. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  28617. in: query
  28618. name: inouttype
  28619. type: string
  28620. - description: 合同ID
  28621. in: query
  28622. name: spotcontractid
  28623. type: integer
  28624. - description: 品类ID
  28625. in: query
  28626. name: wrstandardid
  28627. type: integer
  28628. - description: 品牌ID
  28629. in: query
  28630. name: spotgoodsbrandid
  28631. type: integer
  28632. - description: 仓库ID
  28633. in: query
  28634. name: warehouseinfoid
  28635. type: integer
  28636. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28637. in: query
  28638. name: applystatus
  28639. type: string
  28640. produces:
  28641. - application/json
  28642. responses:
  28643. "200":
  28644. description: OK
  28645. schema:
  28646. items:
  28647. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  28648. type: array
  28649. "500":
  28650. description: Internal Server Error
  28651. schema:
  28652. $ref: '#/definitions/app.Response'
  28653. security:
  28654. - ApiKeyAuth: []
  28655. summary: 查询库存申请(出入库记录|库存审核)
  28656. tags:
  28657. - 企业风险管理v3(app)
  28658. /Ermcp3/QueryAreaStockApplySum:
  28659. get:
  28660. parameters:
  28661. - description: 合同ID
  28662. in: query
  28663. name: spotcontractid
  28664. required: true
  28665. type: integer
  28666. produces:
  28667. - application/json
  28668. responses:
  28669. "200":
  28670. description: OK
  28671. schema:
  28672. items:
  28673. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  28674. type: array
  28675. "500":
  28676. description: Internal Server Error
  28677. schema:
  28678. $ref: '#/definitions/app.Response'
  28679. security:
  28680. - ApiKeyAuth: []
  28681. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  28682. tags:
  28683. - 企业风险管理v3(app)
  28684. /Ermcp3/QueryDGFactoryItem:
  28685. get:
  28686. parameters:
  28687. - description: 用户id
  28688. in: query
  28689. name: userid
  28690. type: integer
  28691. - description: 用户类型 2-机构 7-企业成员
  28692. in: query
  28693. name: usertype
  28694. type: integer
  28695. - description: 选择项ID(SEQ_DGFACTORYITEM)
  28696. in: query
  28697. name: dgfactoryitemid
  28698. type: integer
  28699. - description: 现货品种ID
  28700. in: query
  28701. name: deliverygoodsid
  28702. type: integer
  28703. - description: 要素项类型
  28704. in: query
  28705. name: dgfactoryitemtypeid
  28706. type: integer
  28707. - description: 顺序
  28708. in: query
  28709. name: orderindex
  28710. type: integer
  28711. produces:
  28712. - application/json
  28713. responses:
  28714. "200":
  28715. description: OK
  28716. schema:
  28717. items:
  28718. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  28719. type: array
  28720. "500":
  28721. description: Internal Server Error
  28722. schema:
  28723. $ref: '#/definitions/app.Response'
  28724. security:
  28725. - ApiKeyAuth: []
  28726. summary: 查询品种要素定义项
  28727. tags:
  28728. - 企业风险管理v3(app)
  28729. /Ermcp3/QueryDeliveryGoods:
  28730. get:
  28731. parameters:
  28732. - description: 用户id
  28733. in: query
  28734. name: userid
  28735. required: true
  28736. type: integer
  28737. - description: 用户类型 2-机构 7-企业成员
  28738. in: query
  28739. name: usertype
  28740. type: integer
  28741. - description: 排除已配置的业务类型商品 1-套保 2-套利
  28742. in: query
  28743. name: excludecfg
  28744. type: integer
  28745. produces:
  28746. - application/json
  28747. responses:
  28748. "200":
  28749. description: OK
  28750. schema:
  28751. items:
  28752. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  28753. type: array
  28754. "500":
  28755. description: Internal Server Error
  28756. schema:
  28757. $ref: '#/definitions/app.Response'
  28758. security:
  28759. - ApiKeyAuth: []
  28760. summary: 查询现货商品
  28761. tags:
  28762. - 企业风险管理v3(app)
  28763. /Ermcp3/QueryDeliveryGoodsDetail:
  28764. get:
  28765. parameters:
  28766. - description: 用户id
  28767. in: query
  28768. name: userid
  28769. required: true
  28770. type: integer
  28771. - description: 用户类型 2-机构 7-企业成员
  28772. in: query
  28773. name: usertype
  28774. type: integer
  28775. - description: 现货商品id
  28776. in: query
  28777. name: deliverygoodsid
  28778. type: integer
  28779. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  28780. in: query
  28781. name: filtersubempty
  28782. type: integer
  28783. produces:
  28784. - application/json
  28785. responses:
  28786. "200":
  28787. description: OK
  28788. schema:
  28789. items:
  28790. $ref: '#/definitions/models.XHDeliveryGoods'
  28791. type: array
  28792. "500":
  28793. description: Internal Server Error
  28794. schema:
  28795. $ref: '#/definitions/app.Response'
  28796. security:
  28797. - ApiKeyAuth: []
  28798. summary: 查询现货商品详情
  28799. tags:
  28800. - 企业风险管理v3(app)
  28801. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  28802. get:
  28803. parameters:
  28804. - description: 合同id
  28805. in: query
  28806. name: spotcontractid
  28807. required: true
  28808. type: string
  28809. produces:
  28810. - application/json
  28811. responses:
  28812. "200":
  28813. description: OK
  28814. schema:
  28815. items:
  28816. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  28817. type: array
  28818. "500":
  28819. description: Internal Server Error
  28820. schema:
  28821. $ref: '#/definitions/app.Response'
  28822. security:
  28823. - ApiKeyAuth: []
  28824. summary: 查询现货合同期现配置信息
  28825. tags:
  28826. - 企业风险管理v3(app)
  28827. /Ermcp3/QueryExposureDetail:
  28828. get:
  28829. parameters:
  28830. - description: 用户id
  28831. in: query
  28832. name: userid
  28833. required: true
  28834. type: integer
  28835. - description: 用户类型 2-机构 7-企业成员
  28836. in: query
  28837. name: usertype
  28838. type: integer
  28839. - description: 套保商品
  28840. in: query
  28841. name: middlegoodsid
  28842. required: true
  28843. type: integer
  28844. produces:
  28845. - application/json
  28846. responses:
  28847. "200":
  28848. description: OK
  28849. schema:
  28850. items:
  28851. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  28852. type: array
  28853. "500":
  28854. description: Internal Server Error
  28855. schema:
  28856. $ref: '#/definitions/app.Response'
  28857. security:
  28858. - ApiKeyAuth: []
  28859. summary: 查询敞口现货明细
  28860. tags:
  28861. - 企业风险管理v3(app)
  28862. /Ermcp3/QueryExposureSpot:
  28863. get:
  28864. parameters:
  28865. - description: 用户id
  28866. in: query
  28867. name: userid
  28868. required: true
  28869. type: integer
  28870. - description: 用户类型 2-机构 7-企业成员
  28871. in: query
  28872. name: usertype
  28873. type: integer
  28874. produces:
  28875. - application/json
  28876. responses:
  28877. "200":
  28878. description: OK
  28879. schema:
  28880. items:
  28881. $ref: '#/definitions/models.Ermcp3AreaSpot'
  28882. type: array
  28883. "500":
  28884. description: Internal Server Error
  28885. schema:
  28886. $ref: '#/definitions/app.Response'
  28887. security:
  28888. - ApiKeyAuth: []
  28889. summary: 查询敞口现货头寸(敞口/现货头寸)
  28890. tags:
  28891. - 企业风险管理v3(app)
  28892. /Ermcp3/QueryExposureSpotDetail:
  28893. get:
  28894. parameters:
  28895. - description: 用户id
  28896. in: query
  28897. name: userid
  28898. required: true
  28899. type: integer
  28900. - description: 用户类型 2-机构 7-企业成员
  28901. in: query
  28902. name: usertype
  28903. type: integer
  28904. - description: 现货商品ID
  28905. in: query
  28906. name: wrstandardid
  28907. required: true
  28908. type: integer
  28909. produces:
  28910. - application/json
  28911. responses:
  28912. "200":
  28913. description: OK
  28914. schema:
  28915. items:
  28916. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  28917. type: array
  28918. "500":
  28919. description: Internal Server Error
  28920. schema:
  28921. $ref: '#/definitions/app.Response'
  28922. security:
  28923. - ApiKeyAuth: []
  28924. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  28925. tags:
  28926. - 企业风险管理v3(app)
  28927. /Ermcp3/QueryGoodsGroup:
  28928. get:
  28929. parameters:
  28930. - description: 用户id
  28931. in: query
  28932. name: userid
  28933. required: true
  28934. type: integer
  28935. - description: 用户类型 2-机构 7-企业成员
  28936. in: query
  28937. name: usertype
  28938. type: integer
  28939. - description: 排除套保品中已关联的商品组 1-排除
  28940. in: query
  28941. name: excludecfg
  28942. type: integer
  28943. produces:
  28944. - application/json
  28945. responses:
  28946. "200":
  28947. description: OK
  28948. schema:
  28949. items:
  28950. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  28951. type: array
  28952. "500":
  28953. description: Internal Server Error
  28954. schema:
  28955. $ref: '#/definitions/app.Response'
  28956. security:
  28957. - ApiKeyAuth: []
  28958. summary: 查询期货商品组
  28959. tags:
  28960. - 企业风险管理v3(app)
  28961. /Ermcp3/QueryGoodsWrstandard:
  28962. get:
  28963. parameters:
  28964. - description: 用户id
  28965. in: query
  28966. name: userid
  28967. required: true
  28968. type: integer
  28969. - description: 用户类型 2-机构 7-企业成员
  28970. in: query
  28971. name: usertype
  28972. type: integer
  28973. - description: 现货商品id
  28974. in: query
  28975. name: deliverygoodsid
  28976. type: integer
  28977. produces:
  28978. - application/json
  28979. responses:
  28980. "200":
  28981. description: OK
  28982. schema:
  28983. items:
  28984. $ref: '#/definitions/models.Ermcp3Wrstandard'
  28985. type: array
  28986. "500":
  28987. description: Internal Server Error
  28988. schema:
  28989. $ref: '#/definitions/app.Response'
  28990. security:
  28991. - ApiKeyAuth: []
  28992. summary: 查询商品品类
  28993. tags:
  28994. - 企业风险管理v3(app)
  28995. /Ermcp3/QueryGoodsbrand:
  28996. get:
  28997. parameters:
  28998. - description: 用户id
  28999. in: query
  29000. name: userid
  29001. required: true
  29002. type: integer
  29003. - description: 用户类型 2-机构 7-企业成员
  29004. in: query
  29005. name: usertype
  29006. type: integer
  29007. produces:
  29008. - application/json
  29009. responses:
  29010. "200":
  29011. description: OK
  29012. schema:
  29013. items:
  29014. $ref: '#/definitions/models.Ermcp3Brand'
  29015. type: array
  29016. "500":
  29017. description: Internal Server Error
  29018. schema:
  29019. $ref: '#/definitions/app.Response'
  29020. security:
  29021. - ApiKeyAuth: []
  29022. summary: 查询商品品牌
  29023. tags:
  29024. - 企业风险管理v3(app)
  29025. /Ermcp3/QueryHPMiddleGoods:
  29026. get:
  29027. parameters:
  29028. - description: 用户ID(填登录用户的userid)
  29029. in: query
  29030. name: userid
  29031. required: true
  29032. type: integer
  29033. - description: 买卖方向 0-买 1-卖
  29034. in: query
  29035. name: buyorsell
  29036. required: true
  29037. type: integer
  29038. - description: 商品组id
  29039. in: query
  29040. name: goodsgroupid
  29041. required: true
  29042. type: integer
  29043. - description: 套保计划编号(模糊匹配)
  29044. in: query
  29045. name: hedgeplanno
  29046. type: string
  29047. - description: 现货商品名称(模糊匹配)
  29048. in: query
  29049. name: wrstandardname
  29050. type: string
  29051. produces:
  29052. - application/json
  29053. responses:
  29054. "200":
  29055. description: OK
  29056. schema:
  29057. items:
  29058. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  29059. type: array
  29060. "500":
  29061. description: Internal Server Error
  29062. schema:
  29063. $ref: '#/definitions/app.Response'
  29064. security:
  29065. - ApiKeyAuth: []
  29066. summary: 查询可关联套保计划
  29067. tags:
  29068. - 企业风险管理v3(app)
  29069. /Ermcp3/QueryHedgePlan:
  29070. get:
  29071. parameters:
  29072. - description: 用户ID
  29073. in: query
  29074. name: userid
  29075. required: true
  29076. type: integer
  29077. - description: 用户类型 2-机构 7-企业成员
  29078. in: query
  29079. name: usertype
  29080. type: integer
  29081. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29082. in: query
  29083. name: hedgeplanstatus
  29084. required: true
  29085. type: string
  29086. produces:
  29087. - application/json
  29088. responses:
  29089. "200":
  29090. description: OK
  29091. schema:
  29092. items:
  29093. $ref: '#/definitions/models.Ermcp3HedgePlan'
  29094. type: array
  29095. "500":
  29096. description: Internal Server Error
  29097. schema:
  29098. $ref: '#/definitions/app.Response'
  29099. security:
  29100. - ApiKeyAuth: []
  29101. summary: 查询套保计划
  29102. tags:
  29103. - 企业风险管理v3(app)
  29104. /Ermcp3/QueryInnerTradeLink:
  29105. get:
  29106. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  29107. parameters:
  29108. - description: 外部成交单号
  29109. in: query
  29110. name: outtradeid
  29111. required: true
  29112. type: integer
  29113. produces:
  29114. - application/json
  29115. responses:
  29116. "200":
  29117. description: OK
  29118. schema:
  29119. items:
  29120. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  29121. type: array
  29122. "500":
  29123. description: Internal Server Error
  29124. schema:
  29125. $ref: '#/definitions/app.Response'
  29126. security:
  29127. - ApiKeyAuth: []
  29128. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  29129. tags:
  29130. - 企业风险管理v3(app)
  29131. /Ermcp3/QueryMiddleGoodsDetail:
  29132. get:
  29133. parameters:
  29134. - description: 用户id
  29135. in: query
  29136. name: userid
  29137. required: true
  29138. type: integer
  29139. - description: 用户类型 2-机构 7-企业成员
  29140. in: query
  29141. name: usertype
  29142. type: integer
  29143. - description: 套保品种id
  29144. in: query
  29145. name: middlegoodsid
  29146. type: integer
  29147. produces:
  29148. - application/json
  29149. responses:
  29150. "200":
  29151. description: OK
  29152. schema:
  29153. items:
  29154. $ref: '#/definitions/models.TBMiddleGoods'
  29155. type: array
  29156. "500":
  29157. description: Internal Server Error
  29158. schema:
  29159. $ref: '#/definitions/app.Response'
  29160. security:
  29161. - ApiKeyAuth: []
  29162. summary: 查询套保品种详情(套保品种/商品详情)
  29163. tags:
  29164. - 企业风险管理v3(app)
  29165. /Ermcp3/QueryOutTradeLink:
  29166. get:
  29167. description: 页面 app 现货->期现关联->外部成交单关联
  29168. parameters:
  29169. - description: 用户ID(填登录用户的userid)
  29170. in: query
  29171. name: userid
  29172. required: true
  29173. type: integer
  29174. - description: 外部订单号(模糊匹配)
  29175. in: query
  29176. name: outtradeid
  29177. type: string
  29178. - description: 合约名称/代码(模糊匹配)
  29179. in: query
  29180. name: goodsname
  29181. type: string
  29182. - description: 关联状态 0-未关联 1-已关联
  29183. in: query
  29184. name: hasinnerorder
  29185. type: integer
  29186. produces:
  29187. - application/json
  29188. responses:
  29189. "200":
  29190. description: OK
  29191. schema:
  29192. items:
  29193. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  29194. type: array
  29195. "500":
  29196. description: Internal Server Error
  29197. schema:
  29198. $ref: '#/definitions/app.Response'
  29199. security:
  29200. - ApiKeyAuth: []
  29201. summary: 查询外部成交单关联
  29202. tags:
  29203. - 企业风险管理v3(app)
  29204. /Ermcp3/QueryPaAreaAuditCfg:
  29205. get:
  29206. parameters:
  29207. - description: 用户id
  29208. in: query
  29209. name: userid
  29210. required: true
  29211. type: integer
  29212. produces:
  29213. - application/json
  29214. responses:
  29215. "200":
  29216. description: OK
  29217. schema:
  29218. items:
  29219. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  29220. type: array
  29221. "500":
  29222. description: Internal Server Error
  29223. schema:
  29224. $ref: '#/definitions/app.Response'
  29225. security:
  29226. - ApiKeyAuth: []
  29227. summary: 查询审核设置
  29228. tags:
  29229. - 企业风险管理v3(app)
  29230. /Ermcp3/QueryPaAreaSubject:
  29231. get:
  29232. parameters:
  29233. - description: 用户id
  29234. in: query
  29235. name: userid
  29236. required: true
  29237. type: integer
  29238. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  29239. in: query
  29240. name: subjectid
  29241. type: integer
  29242. - description: 主体类型 - 1:交易主体 2:业务部门
  29243. in: query
  29244. name: subjecttype
  29245. type: integer
  29246. - description: '主体状态 - 1:正常 2: 停用'
  29247. in: query
  29248. name: subjectstatus
  29249. type: integer
  29250. produces:
  29251. - application/json
  29252. responses:
  29253. "200":
  29254. description: OK
  29255. schema:
  29256. items:
  29257. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  29258. type: array
  29259. "500":
  29260. description: Internal Server Error
  29261. schema:
  29262. $ref: '#/definitions/app.Response'
  29263. security:
  29264. - ApiKeyAuth: []
  29265. summary: 查询交易主体
  29266. tags:
  29267. - 企业风险管理v3(app)
  29268. /Ermcp3/QueryPaTradeLink:
  29269. get:
  29270. description: 页面 app 现货->期现关联->期现单据关联
  29271. parameters:
  29272. - description: 用户ID
  29273. in: query
  29274. name: userid
  29275. required: true
  29276. type: integer
  29277. produces:
  29278. - application/json
  29279. responses:
  29280. "200":
  29281. description: OK
  29282. schema:
  29283. items:
  29284. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  29285. type: array
  29286. "500":
  29287. description: Internal Server Error
  29288. schema:
  29289. $ref: '#/definitions/app.Response'
  29290. security:
  29291. - ApiKeyAuth: []
  29292. summary: 查询期现单据关联
  29293. tags:
  29294. - 企业风险管理v3(app)
  29295. /Ermcp3/QueryPaTradeLinkDetail:
  29296. get:
  29297. description: 页面 app 现货->期现关联->关联记录
  29298. parameters:
  29299. - description: 用户ID(填登录用户的userid)
  29300. in: query
  29301. name: userid
  29302. required: true
  29303. type: integer
  29304. - description: 关联状态 1:成功 2:失败 3:解绑
  29305. in: query
  29306. name: linkstatus
  29307. type: integer
  29308. - description: 期货订单号(模糊匹配)
  29309. in: query
  29310. name: tradeid
  29311. type: string
  29312. - description: 现货编号(模糊匹配)
  29313. in: query
  29314. name: contractno
  29315. type: string
  29316. - description: 期货账户(模糊匹配)
  29317. in: query
  29318. name: taname
  29319. type: string
  29320. produces:
  29321. - application/json
  29322. responses:
  29323. "200":
  29324. description: OK
  29325. schema:
  29326. items:
  29327. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  29328. type: array
  29329. "500":
  29330. description: Internal Server Error
  29331. schema:
  29332. $ref: '#/definitions/app.Response'
  29333. security:
  29334. - ApiKeyAuth: []
  29335. summary: 查询期现关联记录
  29336. tags:
  29337. - 企业风险管理v3(app)
  29338. /Ermcp3/QueryParamChangeApp:
  29339. get:
  29340. description: |-
  29341. 原型页面:
  29342. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  29343. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  29344. parameters:
  29345. - description: 用户ID
  29346. in: query
  29347. name: userid
  29348. required: true
  29349. type: integer
  29350. - description: 现货品种id
  29351. in: query
  29352. name: deliverygoodsid
  29353. type: integer
  29354. - description: 现货商品id
  29355. in: query
  29356. name: wrstandardid
  29357. type: integer
  29358. - description: 套保商品id
  29359. in: query
  29360. name: middlegoodsid
  29361. type: integer
  29362. - description: 操作类型 1:新增 2:修改
  29363. in: query
  29364. name: operatetype
  29365. type: integer
  29366. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  29367. in: query
  29368. name: paramchangetype
  29369. type: integer
  29370. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29371. in: query
  29372. name: ftstatus
  29373. type: string
  29374. produces:
  29375. - application/json
  29376. responses:
  29377. "200":
  29378. description: OK
  29379. schema:
  29380. items:
  29381. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  29382. type: array
  29383. "500":
  29384. description: Internal Server Error
  29385. schema:
  29386. $ref: '#/definitions/app.Response'
  29387. security:
  29388. - ApiKeyAuth: []
  29389. summary: 查询现货商品参数变更申请(流水)
  29390. tags:
  29391. - 企业风险管理v3(app)
  29392. /Ermcp3/QueryRootUserAccount:
  29393. get:
  29394. parameters:
  29395. - description: 用户ID
  29396. in: query
  29397. name: userid
  29398. required: true
  29399. type: integer
  29400. produces:
  29401. - application/json
  29402. responses:
  29403. "200":
  29404. description: OK
  29405. schema:
  29406. items:
  29407. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  29408. type: array
  29409. "500":
  29410. description: Internal Server Error
  29411. schema:
  29412. $ref: '#/definitions/app.Response'
  29413. security:
  29414. - ApiKeyAuth: []
  29415. summary: 查询顶级用户信息
  29416. tags:
  29417. - 企业风险管理v3(app)
  29418. /Ermcp3/QuerySCMiddleGoods:
  29419. get:
  29420. description: |-
  29421. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  29422. 现货编号 即 合同编号
  29423. parameters:
  29424. - description: 用户ID(填登录用户的userid)
  29425. in: query
  29426. name: userid
  29427. required: true
  29428. type: integer
  29429. - description: 买卖方向 0-买 1-卖
  29430. in: query
  29431. name: buyorsell
  29432. required: true
  29433. type: integer
  29434. - description: 商品组id
  29435. in: query
  29436. name: goodsgroupid
  29437. required: true
  29438. type: integer
  29439. - description: 业务类型 1:套保 2:套利
  29440. in: query
  29441. name: biztype
  29442. type: integer
  29443. - description: 现货编号(模糊匹配)
  29444. in: query
  29445. name: contractno
  29446. type: string
  29447. - description: 对手方(模糊匹配)
  29448. in: query
  29449. name: customername
  29450. type: string
  29451. - description: 现货商品名称(模糊匹配)
  29452. in: query
  29453. name: wrstandardname
  29454. type: string
  29455. produces:
  29456. - application/json
  29457. responses:
  29458. "200":
  29459. description: OK
  29460. schema:
  29461. items:
  29462. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  29463. type: array
  29464. "500":
  29465. description: Internal Server Error
  29466. schema:
  29467. $ref: '#/definitions/app.Response'
  29468. security:
  29469. - ApiKeyAuth: []
  29470. summary: 查询现货订单
  29471. tags:
  29472. - 企业风险管理v3(app)
  29473. /Ermcp3/QuerySpotContract:
  29474. get:
  29475. parameters:
  29476. - description: 用户id(当指定contractid, userid可不填)
  29477. in: query
  29478. name: userid
  29479. required: true
  29480. type: integer
  29481. - description: 用户类型 2-机构 7-企业成员
  29482. in: query
  29483. name: usertype
  29484. type: integer
  29485. - description: 合同类型 1-采购, -1-销售
  29486. in: query
  29487. name: contracttype
  29488. type: integer
  29489. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  29490. in: query
  29491. name: querytype
  29492. type: string
  29493. - description: 合同ID(SpotContractId)
  29494. in: query
  29495. name: contractid
  29496. type: string
  29497. - description: 合同编号(模糊匹配)
  29498. in: query
  29499. name: contractno
  29500. type: string
  29501. - description: 商品名称(模糊匹配)
  29502. in: query
  29503. name: wrstandardname
  29504. type: string
  29505. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29506. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29507. in: query
  29508. name: status
  29509. type: string
  29510. - description: 是否只查今日的合同 1-查今日合同
  29511. in: query
  29512. name: istoday
  29513. type: integer
  29514. produces:
  29515. - application/json
  29516. responses:
  29517. "200":
  29518. description: OK
  29519. schema:
  29520. items:
  29521. $ref: '#/definitions/models.Ermcp3Contract'
  29522. type: array
  29523. "500":
  29524. description: Internal Server Error
  29525. schema:
  29526. $ref: '#/definitions/app.Response'
  29527. security:
  29528. - ApiKeyAuth: []
  29529. summary: 查询现货合同
  29530. tags:
  29531. - 企业风险管理v3(app)
  29532. /Ermcp3/QuerySpotContractBS:
  29533. get:
  29534. parameters:
  29535. - description: 用户id
  29536. in: query
  29537. name: userid
  29538. required: true
  29539. type: integer
  29540. - description: 用户类型 2-机构 7-企业成员
  29541. in: query
  29542. name: usertype
  29543. type: integer
  29544. - description: 合同类型 1-采购, -1-销售
  29545. in: query
  29546. name: contracttype
  29547. required: true
  29548. type: integer
  29549. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  29550. in: query
  29551. name: querytype
  29552. type: integer
  29553. - description: 合同ID(SpotContractId)
  29554. in: query
  29555. name: contractid
  29556. type: string
  29557. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29558. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29559. in: query
  29560. name: status
  29561. type: string
  29562. - description: 是否只查今日的合同 1-查今日合同
  29563. in: query
  29564. name: istoday
  29565. type: integer
  29566. produces:
  29567. - application/json
  29568. responses:
  29569. "200":
  29570. description: OK
  29571. schema:
  29572. items:
  29573. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  29574. type: array
  29575. "500":
  29576. description: Internal Server Error
  29577. schema:
  29578. $ref: '#/definitions/app.Response'
  29579. security:
  29580. - ApiKeyAuth: []
  29581. summary: 查询合同(采购/销售)
  29582. tags:
  29583. - 企业风险管理v3(app)
  29584. /Ermcp3/QuerySpotGoodsPrice:
  29585. get:
  29586. parameters:
  29587. - description: 用户ID
  29588. in: query
  29589. name: userid
  29590. required: true
  29591. type: integer
  29592. produces:
  29593. - application/json
  29594. responses:
  29595. "200":
  29596. description: OK
  29597. schema:
  29598. items:
  29599. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  29600. type: array
  29601. "500":
  29602. description: Internal Server Error
  29603. schema:
  29604. $ref: '#/definitions/app.Response'
  29605. security:
  29606. - ApiKeyAuth: []
  29607. summary: 查询现货市价(现货市价)
  29608. tags:
  29609. - 企业风险管理v3(app)
  29610. /Ermcp3/QuerySpotGoodsPriceLog:
  29611. get:
  29612. parameters:
  29613. - description: 用户ID
  29614. in: query
  29615. name: userid
  29616. required: true
  29617. type: integer
  29618. - description: 现货商品ID
  29619. in: query
  29620. name: deliverygoodsid
  29621. required: true
  29622. type: integer
  29623. - description: 品牌ID
  29624. in: query
  29625. name: brandid
  29626. type: integer
  29627. - description: 品类ID
  29628. in: query
  29629. name: wrstandardid
  29630. type: integer
  29631. produces:
  29632. - application/json
  29633. responses:
  29634. "200":
  29635. description: OK
  29636. schema:
  29637. items:
  29638. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  29639. type: array
  29640. "500":
  29641. description: Internal Server Error
  29642. schema:
  29643. $ref: '#/definitions/app.Response'
  29644. security:
  29645. - ApiKeyAuth: []
  29646. summary: 查询现货市价详情(现货市价/详情)
  29647. tags:
  29648. - 企业风险管理v3(app)
  29649. /Ermcp3/QuerySubTaaccount:
  29650. get:
  29651. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  29652. parameters:
  29653. - description: 母账号id
  29654. in: query
  29655. name: parentaccountid
  29656. type: integer
  29657. - description: 母账号代码
  29658. in: query
  29659. name: parentaccountcode
  29660. type: string
  29661. produces:
  29662. - application/json
  29663. responses:
  29664. "200":
  29665. description: OK
  29666. schema:
  29667. items:
  29668. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  29669. type: array
  29670. "500":
  29671. description: Internal Server Error
  29672. schema:
  29673. $ref: '#/definitions/app.Response'
  29674. security:
  29675. - ApiKeyAuth: []
  29676. summary: 查询期货子账户
  29677. tags:
  29678. - 企业风险管理v3(app)
  29679. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  29680. get:
  29681. parameters:
  29682. - description: 套期项目ID
  29683. in: query
  29684. name: hedgeditemid
  29685. required: true
  29686. type: integer
  29687. produces:
  29688. - application/json
  29689. responses:
  29690. "200":
  29691. description: OK
  29692. schema:
  29693. items:
  29694. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  29695. type: array
  29696. "500":
  29697. description: Internal Server Error
  29698. schema:
  29699. $ref: '#/definitions/app.Response'
  29700. security:
  29701. - ApiKeyAuth: []
  29702. summary: 现货成交明细查询
  29703. tags:
  29704. - 企业风险管理v8
  29705. /Ermcp8/QueryERMCP2HedgedItemspot:
  29706. get:
  29707. parameters:
  29708. - description: 套期项目ID
  29709. in: query
  29710. name: hedgeditemid
  29711. required: true
  29712. type: integer
  29713. produces:
  29714. - application/json
  29715. responses:
  29716. "200":
  29717. description: OK
  29718. schema:
  29719. items:
  29720. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  29721. type: array
  29722. "500":
  29723. description: Internal Server Error
  29724. schema:
  29725. $ref: '#/definitions/app.Response'
  29726. security:
  29727. - ApiKeyAuth: []
  29728. summary: 套期计划明细查询
  29729. tags:
  29730. - 企业风险管理v8
  29731. /Ermcp8/QueryERMCPJRLinkPos:
  29732. get:
  29733. parameters:
  29734. - description: 套期项目ID
  29735. in: query
  29736. name: hedgeditemid
  29737. required: true
  29738. type: integer
  29739. produces:
  29740. - application/json
  29741. responses:
  29742. "200":
  29743. description: OK
  29744. schema:
  29745. items:
  29746. $ref: '#/definitions/models.Ermcpjrlinkpos'
  29747. type: array
  29748. "500":
  29749. description: Internal Server Error
  29750. schema:
  29751. $ref: '#/definitions/app.Response'
  29752. security:
  29753. - ApiKeyAuth: []
  29754. summary: 期货持仓明细查询
  29755. tags:
  29756. - 企业风险管理v8
  29757. /Ermcp8/QueryERMCPPatradeLinkDetail:
  29758. get:
  29759. parameters:
  29760. - description: 套期项目ID
  29761. in: query
  29762. name: hedgeditemid
  29763. required: true
  29764. type: integer
  29765. produces:
  29766. - application/json
  29767. responses:
  29768. "200":
  29769. description: OK
  29770. schema:
  29771. items:
  29772. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  29773. type: array
  29774. "500":
  29775. description: Internal Server Error
  29776. schema:
  29777. $ref: '#/definitions/app.Response'
  29778. security:
  29779. - ApiKeyAuth: []
  29780. summary: 期货成交单明细查询
  29781. tags:
  29782. - 企业风险管理v8
  29783. /Ermcp8/QueryErmcp2AreaExposure:
  29784. get:
  29785. parameters:
  29786. - description: 用户ID
  29787. in: query
  29788. name: userid
  29789. required: true
  29790. type: string
  29791. produces:
  29792. - application/json
  29793. responses:
  29794. "200":
  29795. description: OK
  29796. schema:
  29797. items:
  29798. $ref: '#/definitions/models.Ermcp2AreaExposure'
  29799. type: array
  29800. "500":
  29801. description: Internal Server Error
  29802. schema:
  29803. $ref: '#/definitions/app.Response'
  29804. security:
  29805. - ApiKeyAuth: []
  29806. summary: 企业敞口查询
  29807. tags:
  29808. - 企业风险管理v8
  29809. /Ermcp8/QueryErmcp2HedgedItem:
  29810. get:
  29811. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  29812. parameters:
  29813. - description: 用户ID
  29814. in: query
  29815. name: userid
  29816. required: true
  29817. type: string
  29818. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29819. in: query
  29820. name: hedgedtype
  29821. type: integer
  29822. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29823. in: query
  29824. name: hedgeditemstatus
  29825. type: integer
  29826. produces:
  29827. - application/json
  29828. responses:
  29829. "200":
  29830. description: OK
  29831. schema:
  29832. items:
  29833. $ref: '#/definitions/models.Ermcp2hedgeditem'
  29834. type: array
  29835. "500":
  29836. description: Internal Server Error
  29837. schema:
  29838. $ref: '#/definitions/app.Response'
  29839. security:
  29840. - ApiKeyAuth: []
  29841. summary: 查询被套期项目信息
  29842. tags:
  29843. - 企业风险管理v8
  29844. /Ermcp8/QueryErmcp2HedgedItemLink:
  29845. get:
  29846. parameters:
  29847. - description: 现货合同ID
  29848. in: query
  29849. name: spotcontractid
  29850. required: true
  29851. type: integer
  29852. produces:
  29853. - application/json
  29854. responses:
  29855. "200":
  29856. description: OK
  29857. schema:
  29858. items:
  29859. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  29860. type: array
  29861. "500":
  29862. description: Internal Server Error
  29863. schema:
  29864. $ref: '#/definitions/app.Response'
  29865. security:
  29866. - ApiKeyAuth: []
  29867. summary: 现货合同关联被套期项目查询
  29868. tags:
  29869. - 企业风险管理v8
  29870. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  29871. get:
  29872. parameters:
  29873. - description: 用户ID
  29874. in: query
  29875. name: userid
  29876. required: true
  29877. type: integer
  29878. - description: 套保品种ID
  29879. in: query
  29880. name: middlegoodsid
  29881. required: true
  29882. type: integer
  29883. produces:
  29884. - application/json
  29885. responses:
  29886. "200":
  29887. description: OK
  29888. schema:
  29889. items:
  29890. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  29891. type: array
  29892. "500":
  29893. description: Internal Server Error
  29894. schema:
  29895. $ref: '#/definitions/app.Response'
  29896. security:
  29897. - ApiKeyAuth: []
  29898. summary: 敞口明细 - 计划变动明细
  29899. tags:
  29900. - 企业风险管理v8
  29901. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  29902. get:
  29903. parameters:
  29904. - description: 用户ID
  29905. in: query
  29906. name: userid
  29907. required: true
  29908. type: integer
  29909. - description: 套保品种ID
  29910. in: query
  29911. name: middlegoodsid
  29912. required: true
  29913. type: integer
  29914. produces:
  29915. - application/json
  29916. responses:
  29917. "200":
  29918. description: OK
  29919. schema:
  29920. items:
  29921. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  29922. type: array
  29923. "500":
  29924. description: Internal Server Error
  29925. schema:
  29926. $ref: '#/definitions/app.Response'
  29927. security:
  29928. - ApiKeyAuth: []
  29929. summary: 敞口明细 - 现货变动明细查询
  29930. tags:
  29931. - 企业风险管理v8
  29932. /Ermcp8/QueryErmcp8EnableHedgeditem:
  29933. get:
  29934. parameters:
  29935. - description: 用户ID
  29936. in: query
  29937. name: userid
  29938. required: true
  29939. type: integer
  29940. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  29941. in: query
  29942. name: spottype
  29943. required: true
  29944. type: integer
  29945. - description: 现货商品ID
  29946. in: query
  29947. name: wrstandardid
  29948. type: integer
  29949. produces:
  29950. - application/json
  29951. responses:
  29952. "200":
  29953. description: OK
  29954. schema:
  29955. items:
  29956. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  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/QueryErmcp8HedgeditemReport:
  29968. get:
  29969. parameters:
  29970. - description: 用户ID
  29971. in: query
  29972. name: userid
  29973. required: true
  29974. type: integer
  29975. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29976. in: query
  29977. name: cycletype
  29978. type: integer
  29979. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  29980. 全(0)【原值】
  29981. in: query
  29982. name: cycletime
  29983. required: true
  29984. type: string
  29985. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29986. in: query
  29987. name: hedgedtype
  29988. type: integer
  29989. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29990. in: query
  29991. name: hedgeditemstatus
  29992. type: integer
  29993. - description: 项目编号,模糊查询
  29994. in: query
  29995. name: hedgeditemnum
  29996. type: string
  29997. - description: 现货商品ID
  29998. in: query
  29999. name: wrstandardid
  30000. type: integer
  30001. produces:
  30002. - application/json
  30003. responses:
  30004. "200":
  30005. description: OK
  30006. schema:
  30007. items:
  30008. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  30009. type: array
  30010. "500":
  30011. description: Internal Server Error
  30012. schema:
  30013. $ref: '#/definitions/app.Response'
  30014. security:
  30015. - ApiKeyAuth: []
  30016. summary: 套期项目报表查询
  30017. tags:
  30018. - 企业风险管理v8
  30019. /Ermcp8/QueryErmcp8RunningHedgeditem:
  30020. get:
  30021. parameters:
  30022. - description: 用户ID
  30023. in: query
  30024. name: userid
  30025. required: true
  30026. type: string
  30027. produces:
  30028. - application/json
  30029. responses:
  30030. "200":
  30031. description: OK
  30032. schema:
  30033. items:
  30034. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  30035. type: array
  30036. "500":
  30037. description: Internal Server Error
  30038. schema:
  30039. $ref: '#/definitions/app.Response'
  30040. security:
  30041. - ApiKeyAuth: []
  30042. summary: 查询执行中项目查询信息
  30043. tags:
  30044. - 企业风险管理v8
  30045. /Ermcp8/QueryInternalEnableTradeDetail:
  30046. get:
  30047. parameters:
  30048. - description: 企业ID
  30049. in: query
  30050. name: areauserid
  30051. required: true
  30052. type: integer
  30053. - description: 期货合约ID
  30054. in: query
  30055. name: goodsid
  30056. required: true
  30057. type: integer
  30058. - description: 交易用户ID
  30059. in: query
  30060. name: tradeuserid
  30061. required: true
  30062. type: integer
  30063. produces:
  30064. - application/json
  30065. responses:
  30066. "200":
  30067. description: OK
  30068. schema:
  30069. items:
  30070. $ref: '#/definitions/models.InternalEnableTradeDetail'
  30071. type: array
  30072. "500":
  30073. description: Internal Server Error
  30074. schema:
  30075. $ref: '#/definitions/app.Response'
  30076. security:
  30077. - ApiKeyAuth: []
  30078. summary: 内部成交单可关联项目查询
  30079. tags:
  30080. - 企业风险管理v8
  30081. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  30082. get:
  30083. parameters:
  30084. - description: 用户编号
  30085. in: query
  30086. name: userid
  30087. required: true
  30088. type: integer
  30089. - description: 起始日期(格式yyyymmdd)
  30090. in: query
  30091. name: begindate
  30092. type: string
  30093. - description: 终止日期(格式yyyymmdd)
  30094. in: query
  30095. name: enddate
  30096. type: string
  30097. - description: 合约代码
  30098. in: query
  30099. name: goodscode
  30100. type: string
  30101. - description: 合约名称
  30102. in: query
  30103. name: goodsname
  30104. type: string
  30105. - description: 成交单号
  30106. in: query
  30107. name: tradeid
  30108. type: integer
  30109. - description: 方向 - 0:买 1:卖
  30110. in: query
  30111. name: buyorsell
  30112. type: integer
  30113. - description: 套期主体
  30114. in: query
  30115. name: accountname
  30116. type: string
  30117. produces:
  30118. - application/json
  30119. responses:
  30120. "200":
  30121. description: OK
  30122. schema:
  30123. items:
  30124. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  30125. type: array
  30126. "500":
  30127. description: Internal Server Error
  30128. schema:
  30129. $ref: '#/definitions/app.Response'
  30130. security:
  30131. - ApiKeyAuth: []
  30132. summary: 内部未关联成交单查询
  30133. tags:
  30134. - 企业风险管理v8
  30135. /Ermcp8/QueryMarketCalendar:
  30136. get:
  30137. parameters:
  30138. - description: 市场ID
  30139. in: query
  30140. name: marketid
  30141. type: integer
  30142. produces:
  30143. - application/json
  30144. responses:
  30145. "200":
  30146. description: OK
  30147. schema:
  30148. items:
  30149. $ref: '#/definitions/models.Marketcalendar'
  30150. type: array
  30151. "500":
  30152. description: Internal Server Error
  30153. schema:
  30154. $ref: '#/definitions/app.Response'
  30155. security:
  30156. - ApiKeyAuth: []
  30157. summary: 市场节假日查询
  30158. tags:
  30159. - 企业风险管理v8
  30160. /Ermcp8/QueryPatradeLinkDetail:
  30161. get:
  30162. parameters:
  30163. - description: 用户ID
  30164. in: query
  30165. name: userid
  30166. required: true
  30167. type: integer
  30168. - description: 套保品种ID
  30169. in: query
  30170. name: middlegoodsid
  30171. required: true
  30172. type: integer
  30173. produces:
  30174. - application/json
  30175. responses:
  30176. "200":
  30177. description: OK
  30178. schema:
  30179. items:
  30180. $ref: '#/definitions/models.Patradelinkdetail'
  30181. type: array
  30182. "500":
  30183. description: Internal Server Error
  30184. schema:
  30185. $ref: '#/definitions/app.Response'
  30186. security:
  30187. - ApiKeyAuth: []
  30188. summary: 敞口明细 - 期货变动明细
  30189. tags:
  30190. - 企业风险管理v8
  30191. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  30192. get:
  30193. parameters:
  30194. - description: 企业ID
  30195. in: query
  30196. name: areauserid
  30197. required: true
  30198. type: integer
  30199. - description: 计划类型 - 1:采购 -1:销售
  30200. in: query
  30201. name: contracttype
  30202. type: integer
  30203. - description: 计划编号,模糊查询
  30204. in: query
  30205. name: hedgeplanno
  30206. type: string
  30207. - description: 现货商品,模糊查询
  30208. in: query
  30209. name: wrstandardname
  30210. type: string
  30211. produces:
  30212. - application/json
  30213. responses:
  30214. "200":
  30215. description: OK
  30216. schema:
  30217. items:
  30218. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  30219. type: array
  30220. "500":
  30221. description: Internal Server Error
  30222. schema:
  30223. $ref: '#/definitions/app.Response'
  30224. security:
  30225. - ApiKeyAuth: []
  30226. summary: 未关联购销计划
  30227. tags:
  30228. - 企业风险管理v8
  30229. /Ermcp8/QueryUnLinkSpotContract:
  30230. get:
  30231. parameters:
  30232. - description: 用户ID
  30233. in: query
  30234. name: userid
  30235. required: true
  30236. type: integer
  30237. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  30238. in: query
  30239. name: pricetype
  30240. type: integer
  30241. - description: 合同编号, 模拟查询
  30242. in: query
  30243. name: contractno
  30244. type: string
  30245. - description: 对手方, 模拟查询
  30246. in: query
  30247. name: customername
  30248. type: string
  30249. - description: 项合同类型 - 1:采购 -1:销售
  30250. in: query
  30251. name: contracttype
  30252. type: integer
  30253. produces:
  30254. - application/json
  30255. responses:
  30256. "200":
  30257. description: OK
  30258. schema:
  30259. items:
  30260. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  30261. type: array
  30262. "500":
  30263. description: Internal Server Error
  30264. schema:
  30265. $ref: '#/definitions/app.Response'
  30266. security:
  30267. - ApiKeyAuth: []
  30268. summary: 未关联合同查询
  30269. tags:
  30270. - 企业风险管理v8
  30271. /Erms2/QueryArbitrageStrategy:
  30272. get:
  30273. parameters:
  30274. - description: 账户ID
  30275. in: query
  30276. name: userid
  30277. required: true
  30278. type: integer
  30279. - description: 商品组ID(品种ID)
  30280. in: query
  30281. name: goodsgroupid
  30282. type: string
  30283. produces:
  30284. - application/json
  30285. responses:
  30286. "200":
  30287. description: OK
  30288. schema:
  30289. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  30290. "500":
  30291. description: Internal Server Error
  30292. schema:
  30293. $ref: '#/definitions/app.Response'
  30294. security:
  30295. - ApiKeyAuth: []
  30296. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  30297. tags:
  30298. - 风险管理
  30299. /Erms2/QueryInnerTradeDetail:
  30300. get:
  30301. parameters:
  30302. - description: 资金账户
  30303. in: query
  30304. name: accountid
  30305. required: true
  30306. type: integer
  30307. produces:
  30308. - application/json
  30309. responses:
  30310. "200":
  30311. description: OK
  30312. schema:
  30313. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  30314. "500":
  30315. description: Internal Server Error
  30316. schema:
  30317. $ref: '#/definitions/app.Response'
  30318. security:
  30319. - ApiKeyAuth: []
  30320. summary: 查询内部成交单信息
  30321. tags:
  30322. - 风险管理
  30323. /Erms2/QuerySpotContract:
  30324. get:
  30325. parameters:
  30326. - description: 策略申请ID
  30327. in: query
  30328. name: asapplyid
  30329. required: true
  30330. type: integer
  30331. - description: 现货合同ID
  30332. in: query
  30333. name: spotcontractid
  30334. type: integer
  30335. produces:
  30336. - application/json
  30337. responses:
  30338. "200":
  30339. description: OK
  30340. schema:
  30341. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  30342. "500":
  30343. description: Internal Server Error
  30344. schema:
  30345. $ref: '#/definitions/app.Response'
  30346. security:
  30347. - ApiKeyAuth: []
  30348. summary: 查询现货合同表信息(指定策略ID、未结束的)
  30349. tags:
  30350. - 风险管理
  30351. /Erms3/AddErms2ASApply:
  30352. post:
  30353. parameters:
  30354. - description: 申请参数
  30355. in: body
  30356. name: jsonBody
  30357. required: true
  30358. schema:
  30359. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  30360. produces:
  30361. - application/json
  30362. responses:
  30363. "200":
  30364. description: OK
  30365. schema:
  30366. $ref: '#/definitions/app.Response'
  30367. "500":
  30368. description: Internal Server Error
  30369. schema:
  30370. $ref: '#/definitions/app.Response'
  30371. security:
  30372. - ApiKeyAuth: []
  30373. summary: 新增期现套利业务申请
  30374. tags:
  30375. - 风险管理v3
  30376. /Erms3/AddErms2SpotTradeApply:
  30377. post:
  30378. parameters:
  30379. - description: 申请参数
  30380. in: body
  30381. name: jsonBody
  30382. required: true
  30383. schema:
  30384. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  30385. produces:
  30386. - application/json
  30387. responses:
  30388. "200":
  30389. description: OK
  30390. schema:
  30391. $ref: '#/definitions/app.Response'
  30392. "500":
  30393. description: Internal Server Error
  30394. schema:
  30395. $ref: '#/definitions/app.Response'
  30396. security:
  30397. - ApiKeyAuth: []
  30398. summary: 新增现货贸易业务申请
  30399. tags:
  30400. - 风险管理v3
  30401. /Erms3/AddSpotContractApply:
  30402. post:
  30403. parameters:
  30404. - description: 申请参数
  30405. in: body
  30406. name: jsonBody
  30407. required: true
  30408. schema:
  30409. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  30410. produces:
  30411. - application/json
  30412. responses:
  30413. "200":
  30414. description: OK
  30415. schema:
  30416. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  30417. "500":
  30418. description: Internal Server Error
  30419. schema:
  30420. $ref: '#/definitions/app.Response'
  30421. security:
  30422. - ApiKeyAuth: []
  30423. summary: 新增现货合同申请
  30424. tags:
  30425. - 风险管理v3
  30426. /Erms3/AddUserInfoApply:
  30427. post:
  30428. parameters:
  30429. - description: 用户信息
  30430. in: body
  30431. name: jsonBody
  30432. required: true
  30433. schema:
  30434. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  30435. produces:
  30436. - application/json
  30437. responses:
  30438. "200":
  30439. description: OK
  30440. schema:
  30441. $ref: '#/definitions/app.Response'
  30442. "500":
  30443. description: Internal Server Error
  30444. schema:
  30445. $ref: '#/definitions/app.Response'
  30446. security:
  30447. - ApiKeyAuth: []
  30448. summary: 新增客户申请
  30449. tags:
  30450. - 风险管理v3
  30451. /Erms3/DeleteUserInfoApply:
  30452. get:
  30453. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  30454. parameters:
  30455. - description: 用户ID
  30456. in: query
  30457. name: userID
  30458. required: true
  30459. type: integer
  30460. produces:
  30461. - application/json
  30462. responses:
  30463. "200":
  30464. description: OK
  30465. schema:
  30466. $ref: '#/definitions/app.Response'
  30467. "500":
  30468. description: Internal Server Error
  30469. schema:
  30470. $ref: '#/definitions/app.Response'
  30471. security:
  30472. - ApiKeyAuth: []
  30473. summary: 删除客户申请
  30474. tags:
  30475. - 风险管理v3
  30476. /Erms3/ModifyUserInfoApply:
  30477. post:
  30478. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  30479. int, "userstate": 2 }'
  30480. parameters:
  30481. - description: 用户信息
  30482. in: body
  30483. name: jsonBody
  30484. required: true
  30485. schema:
  30486. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  30487. produces:
  30488. - application/json
  30489. responses:
  30490. "200":
  30491. description: OK
  30492. schema:
  30493. $ref: '#/definitions/app.Response'
  30494. "500":
  30495. description: Internal Server Error
  30496. schema:
  30497. $ref: '#/definitions/app.Response'
  30498. security:
  30499. - ApiKeyAuth: []
  30500. summary: 修改客户申请
  30501. tags:
  30502. - 风险管理v3
  30503. /Erms3/QueryBusinessInfo:
  30504. get:
  30505. parameters:
  30506. - description: 资金账号ID列表,用逗号分隔
  30507. in: query
  30508. name: accountids
  30509. required: true
  30510. type: string
  30511. - description: 状态,0为未结束 1为已结束
  30512. in: query
  30513. name: status
  30514. required: true
  30515. type: integer
  30516. produces:
  30517. - application/json
  30518. responses:
  30519. "200":
  30520. description: OK
  30521. schema:
  30522. items:
  30523. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  30524. type: array
  30525. "500":
  30526. description: Internal Server Error
  30527. schema:
  30528. $ref: '#/definitions/app.Response'
  30529. security:
  30530. - ApiKeyAuth: []
  30531. summary: 查询业务表单数据
  30532. tags:
  30533. - 风险管理v3
  30534. /Erms3/QueryPendingAuditContract:
  30535. get:
  30536. parameters:
  30537. - description: 资金账号ID列表,逗号隔开
  30538. in: query
  30539. name: accountids
  30540. required: true
  30541. type: string
  30542. - description: 合同类型 1-采购 -1-销售
  30543. in: query
  30544. name: contracttype
  30545. required: true
  30546. type: integer
  30547. - description: 合同模式 1-普通 2-回购
  30548. in: query
  30549. name: contractmode
  30550. required: true
  30551. type: integer
  30552. produces:
  30553. - application/json
  30554. responses:
  30555. "200":
  30556. description: OK
  30557. schema:
  30558. items:
  30559. $ref: '#/definitions/erms3.QryAuditContractRsp'
  30560. type: array
  30561. "500":
  30562. description: Internal Server Error
  30563. schema:
  30564. $ref: '#/definitions/app.Response'
  30565. security:
  30566. - ApiKeyAuth: []
  30567. summary: 查询待审核合同
  30568. tags:
  30569. - 风险管理v3
  30570. /Erms3/QueryPendingBusiness:
  30571. get:
  30572. parameters:
  30573. - description: 资金账号ID列表,逗号隔开
  30574. in: query
  30575. name: accountids
  30576. required: true
  30577. type: string
  30578. produces:
  30579. - application/json
  30580. responses:
  30581. "200":
  30582. description: OK
  30583. schema:
  30584. items:
  30585. $ref: '#/definitions/erms3.QryPendingBizRsp'
  30586. type: array
  30587. "500":
  30588. description: Internal Server Error
  30589. schema:
  30590. $ref: '#/definitions/app.Response'
  30591. security:
  30592. - ApiKeyAuth: []
  30593. summary: 查询待审核基差贸易业务
  30594. tags:
  30595. - 风险管理v3
  30596. /Erms3/QuerySpotContractAppleForm:
  30597. get:
  30598. parameters:
  30599. - description: 登录账号
  30600. in: query
  30601. name: loginID
  30602. required: true
  30603. type: integer
  30604. produces:
  30605. - application/json
  30606. responses:
  30607. "200":
  30608. description: OK
  30609. schema:
  30610. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  30611. "500":
  30612. description: Internal Server Error
  30613. schema:
  30614. $ref: '#/definitions/app.Response'
  30615. security:
  30616. - ApiKeyAuth: []
  30617. summary: 查询合同申请表单数据
  30618. tags:
  30619. - 风险管理v3
  30620. /Erms3/QuerySpotContractDetail:
  30621. get:
  30622. parameters:
  30623. - description: 资金账号ID列表,用逗号分隔
  30624. in: query
  30625. name: accountids
  30626. required: true
  30627. type: string
  30628. - description: 合同类型,1为采购合同 -1为销售合同
  30629. in: query
  30630. name: contracttype
  30631. required: true
  30632. type: integer
  30633. - description: 合同模式,1为普通合同 2为回购销售合同
  30634. in: query
  30635. name: contractmode
  30636. required: true
  30637. type: integer
  30638. - description: 状态,0为履约中 1为已完成
  30639. in: query
  30640. name: status
  30641. required: true
  30642. type: integer
  30643. produces:
  30644. - application/json
  30645. responses:
  30646. "200":
  30647. description: OK
  30648. schema:
  30649. items:
  30650. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  30651. type: array
  30652. "500":
  30653. description: Internal Server Error
  30654. schema:
  30655. $ref: '#/definitions/app.Response'
  30656. security:
  30657. - ApiKeyAuth: []
  30658. summary: 查询合同详细信息
  30659. tags:
  30660. - 风险管理v3
  30661. /Erms3/QueryUserInfoApplies:
  30662. get:
  30663. parameters:
  30664. - description: 页码
  30665. in: query
  30666. name: page
  30667. type: integer
  30668. - description: 每页条数
  30669. in: query
  30670. name: pagesize
  30671. type: integer
  30672. - description: 客户名称,支持模糊查询
  30673. in: query
  30674. name: userName
  30675. type: string
  30676. produces:
  30677. - application/json
  30678. responses:
  30679. "200":
  30680. description: OK
  30681. schema:
  30682. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  30683. "500":
  30684. description: Internal Server Error
  30685. schema:
  30686. $ref: '#/definitions/app.Response'
  30687. security:
  30688. - ApiKeyAuth: []
  30689. summary: 客户申请信息查询
  30690. tags:
  30691. - 风险管理v3
  30692. /Erms3/QueryUserInfos:
  30693. get:
  30694. parameters:
  30695. - description: 页码
  30696. in: query
  30697. name: page
  30698. type: integer
  30699. - description: 每页条数
  30700. in: query
  30701. name: pagesize
  30702. type: integer
  30703. - description: 客户名称,支持模糊查询
  30704. in: query
  30705. name: userName
  30706. type: string
  30707. produces:
  30708. - application/json
  30709. responses:
  30710. "200":
  30711. description: OK
  30712. schema:
  30713. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  30714. "500":
  30715. description: Internal Server Error
  30716. schema:
  30717. $ref: '#/definitions/app.Response'
  30718. security:
  30719. - ApiKeyAuth: []
  30720. summary: 客户信息查询
  30721. tags:
  30722. - 风险管理v3
  30723. /Ferroalloy/GetSpotGoodsPrice:
  30724. get:
  30725. parameters:
  30726. - description: 页码
  30727. in: query
  30728. name: page
  30729. type: integer
  30730. - description: 每页条数
  30731. in: query
  30732. name: pagesize
  30733. type: integer
  30734. produces:
  30735. - application/json
  30736. responses:
  30737. "200":
  30738. description: OK
  30739. schema:
  30740. items:
  30741. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  30742. type: array
  30743. "500":
  30744. description: Internal Server Error
  30745. schema:
  30746. $ref: '#/definitions/app.Response'
  30747. security:
  30748. - ApiKeyAuth: []
  30749. summary: 获取现货行情
  30750. tags:
  30751. - 铁合金
  30752. /Ferroalloy/QueryMyRefer:
  30753. get:
  30754. parameters:
  30755. - description: 用户ID
  30756. in: query
  30757. name: userid
  30758. required: true
  30759. type: integer
  30760. - description: 页码
  30761. in: query
  30762. name: page
  30763. type: integer
  30764. - description: 每页条数
  30765. in: query
  30766. name: pagesize
  30767. type: integer
  30768. produces:
  30769. - application/json
  30770. responses:
  30771. "200":
  30772. description: OK
  30773. schema:
  30774. items:
  30775. $ref: '#/definitions/models.MyRefer'
  30776. type: array
  30777. "500":
  30778. description: Internal Server Error
  30779. schema:
  30780. $ref: '#/definitions/app.Response'
  30781. security:
  30782. - ApiKeyAuth: []
  30783. summary: 查询我的推荐列表
  30784. tags:
  30785. - 铁合金
  30786. /Ferroalloy/QueryMyRegisterMoney:
  30787. get:
  30788. parameters:
  30789. - description: 资金账户
  30790. in: query
  30791. name: accountid
  30792. required: true
  30793. type: integer
  30794. produces:
  30795. - application/json
  30796. responses:
  30797. "200":
  30798. description: OK
  30799. schema:
  30800. items:
  30801. $ref: '#/definitions/models.RegisterMoney'
  30802. type: array
  30803. "500":
  30804. description: Internal Server Error
  30805. schema:
  30806. $ref: '#/definitions/app.Response'
  30807. summary: 查询我的注册红包
  30808. tags:
  30809. - 铁合金
  30810. /Ferroalloy/QuerySpotgoodsPrice:
  30811. get:
  30812. parameters:
  30813. - description: 页码
  30814. in: query
  30815. name: page
  30816. type: integer
  30817. - description: 每页条数
  30818. in: query
  30819. name: pagesize
  30820. type: integer
  30821. produces:
  30822. - application/json
  30823. responses:
  30824. "200":
  30825. description: OK
  30826. schema:
  30827. items:
  30828. $ref: '#/definitions/models.Spotgoodsprice'
  30829. type: array
  30830. "500":
  30831. description: Internal Server Error
  30832. schema:
  30833. $ref: '#/definitions/app.Response'
  30834. security:
  30835. - ApiKeyAuth: []
  30836. summary: 查询行情-现货列表
  30837. tags:
  30838. - 铁合金
  30839. /Ferroalloy/QueryTHJGoodsDetail:
  30840. get:
  30841. parameters:
  30842. - description: 现货商品ID
  30843. in: query
  30844. name: wrstandardid
  30845. required: true
  30846. type: integer
  30847. produces:
  30848. - application/json
  30849. responses:
  30850. "200":
  30851. description: OK
  30852. schema:
  30853. items:
  30854. $ref: '#/definitions/models.THJGoodsDetailRsp'
  30855. type: array
  30856. "500":
  30857. description: Internal Server Error
  30858. schema:
  30859. $ref: '#/definitions/app.Response'
  30860. security:
  30861. - ApiKeyAuth: []
  30862. summary: 查询商品详情
  30863. tags:
  30864. - 铁合金
  30865. /Ferroalloy/QueryTHJListing:
  30866. get:
  30867. parameters:
  30868. - description: 现货商品名称(模糊查询)
  30869. in: query
  30870. name: wrstandardname
  30871. type: string
  30872. - description: 页码
  30873. in: query
  30874. name: page
  30875. type: integer
  30876. - description: 每页条数
  30877. in: query
  30878. name: pagesize
  30879. type: integer
  30880. produces:
  30881. - application/json
  30882. responses:
  30883. "200":
  30884. description: OK
  30885. schema:
  30886. items:
  30887. $ref: '#/definitions/models.THJWrstandard'
  30888. type: array
  30889. "500":
  30890. description: Internal Server Error
  30891. schema:
  30892. $ref: '#/definitions/app.Response'
  30893. security:
  30894. - ApiKeyAuth: []
  30895. summary: 查询供求列表
  30896. tags:
  30897. - 铁合金
  30898. /Ferroalloy/QueryTHJProduct:
  30899. get:
  30900. parameters:
  30901. - description: 用户ID
  30902. in: query
  30903. name: userid
  30904. required: true
  30905. type: integer
  30906. - description: 关注标志 true-已关注 false-未关注
  30907. in: query
  30908. name: favoriteflag
  30909. type: boolean
  30910. - description: 页码
  30911. in: query
  30912. name: page
  30913. type: integer
  30914. - description: 每页条数
  30915. in: query
  30916. name: pagesize
  30917. type: integer
  30918. produces:
  30919. - application/json
  30920. responses:
  30921. "200":
  30922. description: OK
  30923. schema:
  30924. items:
  30925. $ref: '#/definitions/models.THJProduct'
  30926. type: array
  30927. "500":
  30928. description: Internal Server Error
  30929. schema:
  30930. $ref: '#/definitions/app.Response'
  30931. security:
  30932. - ApiKeyAuth: []
  30933. summary: 获取产品介绍列表
  30934. tags:
  30935. - 铁合金
  30936. /Ferroalloy/QueryTHJPromotionIncome:
  30937. get:
  30938. parameters:
  30939. - description: 用户ID
  30940. in: query
  30941. name: userid
  30942. required: true
  30943. type: integer
  30944. - description: 状态 - 0:全部 1:已支付 2:未支付
  30945. in: query
  30946. name: profitstatus
  30947. type: integer
  30948. - description: 页码
  30949. in: query
  30950. name: page
  30951. type: integer
  30952. - description: 每页条数
  30953. in: query
  30954. name: pagesize
  30955. type: integer
  30956. produces:
  30957. - application/json
  30958. responses:
  30959. "200":
  30960. description: OK
  30961. schema:
  30962. items:
  30963. $ref: '#/definitions/models.PromotionIncome'
  30964. type: array
  30965. "500":
  30966. description: Internal Server Error
  30967. schema:
  30968. $ref: '#/definitions/app.Response'
  30969. security:
  30970. - ApiKeyAuth: []
  30971. summary: 查询我的推广-推广收益
  30972. tags:
  30973. - 铁合金
  30974. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  30975. get:
  30976. parameters:
  30977. - description: 用户ID
  30978. in: query
  30979. name: userid
  30980. required: true
  30981. type: integer
  30982. - description: 月份,格式:yyyymm
  30983. in: query
  30984. name: mouth
  30985. required: true
  30986. type: string
  30987. - description: 页码
  30988. in: query
  30989. name: page
  30990. type: integer
  30991. - description: 每页条数
  30992. in: query
  30993. name: pagesize
  30994. type: integer
  30995. produces:
  30996. - application/json
  30997. responses:
  30998. "200":
  30999. description: OK
  31000. schema:
  31001. items:
  31002. $ref: '#/definitions/models.PromotionIncomeDetail'
  31003. type: array
  31004. "500":
  31005. description: Internal Server Error
  31006. schema:
  31007. $ref: '#/definitions/app.Response'
  31008. security:
  31009. - ApiKeyAuth: []
  31010. summary: 查询我的推广-推广收益-明细
  31011. tags:
  31012. - 铁合金
  31013. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  31014. get:
  31015. parameters:
  31016. - description: 用户ID
  31017. in: query
  31018. name: userid
  31019. required: true
  31020. type: integer
  31021. - description: 类型 - 0:未完成 1:已完成
  31022. in: query
  31023. name: type
  31024. type: integer
  31025. - description: 页码
  31026. in: query
  31027. name: page
  31028. type: integer
  31029. - description: 每页条数
  31030. in: query
  31031. name: pagesize
  31032. type: integer
  31033. produces:
  31034. - application/json
  31035. responses:
  31036. "200":
  31037. description: OK
  31038. schema:
  31039. items:
  31040. $ref: '#/definitions/models.Thjpurchasetradedetail'
  31041. type: array
  31042. "500":
  31043. description: Internal Server Error
  31044. schema:
  31045. $ref: '#/definitions/app.Response'
  31046. security:
  31047. - ApiKeyAuth: []
  31048. summary: 查询我的订单-采购订单
  31049. tags:
  31050. - 铁合金
  31051. /Ferroalloy/QueryTHJPurchaseTransfer:
  31052. get:
  31053. parameters:
  31054. - description: 现货商品名称(模糊查询)
  31055. in: query
  31056. name: wrstandardname
  31057. type: string
  31058. - description: 页码
  31059. in: query
  31060. name: page
  31061. type: integer
  31062. - description: 每页条数
  31063. in: query
  31064. name: pagesize
  31065. type: integer
  31066. produces:
  31067. - application/json
  31068. responses:
  31069. "200":
  31070. description: OK
  31071. schema:
  31072. items:
  31073. $ref: '#/definitions/models.PurchaseTransfer'
  31074. type: array
  31075. "500":
  31076. description: Internal Server Error
  31077. schema:
  31078. $ref: '#/definitions/app.Response'
  31079. security:
  31080. - ApiKeyAuth: []
  31081. summary: 查询合同转让列表
  31082. tags:
  31083. - 铁合金
  31084. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  31085. get:
  31086. parameters:
  31087. - description: 现货商品ID
  31088. in: query
  31089. name: wrstandardid
  31090. required: true
  31091. type: integer
  31092. produces:
  31093. - application/json
  31094. responses:
  31095. "200":
  31096. description: OK
  31097. schema:
  31098. items:
  31099. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  31100. type: array
  31101. "500":
  31102. description: Internal Server Error
  31103. schema:
  31104. $ref: '#/definitions/app.Response'
  31105. security:
  31106. - ApiKeyAuth: []
  31107. summary: 查询合同转让详情
  31108. tags:
  31109. - 铁合金
  31110. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  31111. get:
  31112. parameters:
  31113. - description: 用户ID
  31114. in: query
  31115. name: userid
  31116. required: true
  31117. type: integer
  31118. - description: 类型 - 1:转让 2:受让 3:转让委托已完成
  31119. in: query
  31120. name: ordertype
  31121. required: true
  31122. type: integer
  31123. - description: 页码
  31124. in: query
  31125. name: page
  31126. type: integer
  31127. - description: 每页条数
  31128. in: query
  31129. name: pagesize
  31130. type: integer
  31131. produces:
  31132. - application/json
  31133. responses:
  31134. "200":
  31135. description: OK
  31136. schema:
  31137. items:
  31138. $ref: '#/definitions/models.Thjpurchasetransfer'
  31139. type: array
  31140. "500":
  31141. description: Internal Server Error
  31142. schema:
  31143. $ref: '#/definitions/app.Response'
  31144. security:
  31145. - ApiKeyAuth: []
  31146. summary: 查询我的订单-转让/受让订单
  31147. tags:
  31148. - 铁合金
  31149. /Ferroalloy/QueryTHJPurchaseTransferOrderDetail:
  31150. get:
  31151. parameters:
  31152. - description: 转让单号
  31153. in: query
  31154. name: transferid
  31155. required: true
  31156. type: string
  31157. produces:
  31158. - application/json
  31159. responses:
  31160. "200":
  31161. description: OK
  31162. schema:
  31163. items:
  31164. $ref: '#/definitions/models.ThjpurchasetransferDetail'
  31165. type: array
  31166. "500":
  31167. description: Internal Server Error
  31168. schema:
  31169. $ref: '#/definitions/app.Response'
  31170. security:
  31171. - ApiKeyAuth: []
  31172. summary: 查询我的订单-转让/受让订单-详情
  31173. tags:
  31174. - 铁合金
  31175. /Ferroalloy/QueryTHJScoreConfig:
  31176. get:
  31177. parameters:
  31178. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31179. 6:自己供求下单积分 7:抽奖配置'
  31180. in: query
  31181. name: stype
  31182. type: string
  31183. produces:
  31184. - application/json
  31185. responses:
  31186. "200":
  31187. description: OK
  31188. schema:
  31189. items:
  31190. $ref: '#/definitions/models.Thjscoreconfig'
  31191. type: array
  31192. "500":
  31193. description: Internal Server Error
  31194. schema:
  31195. $ref: '#/definitions/app.Response'
  31196. security:
  31197. - ApiKeyAuth: []
  31198. summary: 查询积分配置
  31199. tags:
  31200. - 铁合金
  31201. /Ferroalloy/QueryTHJTradeData:
  31202. get:
  31203. parameters:
  31204. - description: 用户ID
  31205. in: query
  31206. name: userid
  31207. required: true
  31208. type: integer
  31209. - description: 市场ID 采购-64201 供求-65201
  31210. in: query
  31211. name: marketid
  31212. required: true
  31213. type: integer
  31214. - description: 页码
  31215. in: query
  31216. name: page
  31217. type: integer
  31218. - description: 每页条数
  31219. in: query
  31220. name: pagesize
  31221. type: integer
  31222. produces:
  31223. - application/json
  31224. responses:
  31225. "200":
  31226. description: OK
  31227. schema:
  31228. items:
  31229. $ref: '#/definitions/models.THJTradeData'
  31230. type: array
  31231. "500":
  31232. description: Internal Server Error
  31233. schema:
  31234. $ref: '#/definitions/app.Response'
  31235. security:
  31236. - ApiKeyAuth: []
  31237. summary: 获取我的推广-交易数据
  31238. tags:
  31239. - 铁合金
  31240. /Ferroalloy/QueryTHJWrstandard:
  31241. get:
  31242. parameters:
  31243. - description: 现货商品名称(模糊查询)
  31244. in: query
  31245. name: wrstandardname
  31246. type: string
  31247. - description: 页码
  31248. in: query
  31249. name: page
  31250. type: integer
  31251. - description: 每页条数
  31252. in: query
  31253. name: pagesize
  31254. type: integer
  31255. produces:
  31256. - application/json
  31257. responses:
  31258. "200":
  31259. description: OK
  31260. schema:
  31261. items:
  31262. $ref: '#/definitions/models.THJWrstandard'
  31263. type: array
  31264. "500":
  31265. description: Internal Server Error
  31266. schema:
  31267. $ref: '#/definitions/app.Response'
  31268. security:
  31269. - ApiKeyAuth: []
  31270. summary: 查询采购列表
  31271. tags:
  31272. - 铁合金
  31273. /Ferroalloy/QueryTHJWrstandardDetail:
  31274. get:
  31275. parameters:
  31276. - description: 现货商品ID
  31277. in: query
  31278. name: wrstandardid
  31279. required: true
  31280. type: integer
  31281. produces:
  31282. - application/json
  31283. responses:
  31284. "200":
  31285. description: OK
  31286. schema:
  31287. items:
  31288. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  31289. type: array
  31290. "500":
  31291. description: Internal Server Error
  31292. schema:
  31293. $ref: '#/definitions/app.Response'
  31294. security:
  31295. - ApiKeyAuth: []
  31296. summary: 查询采购详情
  31297. tags:
  31298. - 铁合金
  31299. /Ferroalloy/QueryThjSpotQuoteConfig:
  31300. get:
  31301. produces:
  31302. - application/json
  31303. responses:
  31304. "200":
  31305. description: OK
  31306. schema:
  31307. items:
  31308. $ref: '#/definitions/models.Thjspotquoteconfig'
  31309. type: array
  31310. "500":
  31311. description: Internal Server Error
  31312. schema:
  31313. $ref: '#/definitions/app.Response'
  31314. summary: 查询现货行情配置表
  31315. tags:
  31316. - 铁合金
  31317. /Ferroalloy/QueryUserLevelInfo:
  31318. get:
  31319. parameters:
  31320. - description: 用户ID
  31321. in: query
  31322. name: userid
  31323. required: true
  31324. type: integer
  31325. produces:
  31326. - application/json
  31327. responses:
  31328. "200":
  31329. description: OK
  31330. schema:
  31331. items:
  31332. $ref: '#/definitions/models.THJUserLevelInfo'
  31333. type: array
  31334. "500":
  31335. description: Internal Server Error
  31336. schema:
  31337. $ref: '#/definitions/app.Response'
  31338. security:
  31339. - ApiKeyAuth: []
  31340. summary: 查询用户等级信息
  31341. tags:
  31342. - 铁合金
  31343. /Ferroalloy/QueryUserScoreLog:
  31344. get:
  31345. parameters:
  31346. - description: 用户ID
  31347. in: query
  31348. name: userid
  31349. required: true
  31350. type: integer
  31351. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31352. 6:自己供求下单积分 7:抽奖配置'
  31353. in: query
  31354. name: stype
  31355. type: string
  31356. - description: 页码
  31357. in: query
  31358. name: page
  31359. type: integer
  31360. - description: 每页条数
  31361. in: query
  31362. name: pagesize
  31363. type: integer
  31364. produces:
  31365. - application/json
  31366. responses:
  31367. "200":
  31368. description: OK
  31369. schema:
  31370. items:
  31371. $ref: '#/definitions/models.GThjuserscorelog'
  31372. type: array
  31373. "500":
  31374. description: Internal Server Error
  31375. schema:
  31376. $ref: '#/definitions/app.Response'
  31377. security:
  31378. - ApiKeyAuth: []
  31379. summary: 查询我的积分流水
  31380. tags:
  31381. - 铁合金
  31382. /Ferroalloy/Signin:
  31383. post:
  31384. parameters:
  31385. - description: 用户签到请求
  31386. in: body
  31387. name: jsonBody
  31388. required: true
  31389. schema:
  31390. $ref: '#/definitions/models.THJSigninReq'
  31391. produces:
  31392. - application/json
  31393. responses:
  31394. "200":
  31395. description: OK
  31396. schema:
  31397. $ref: '#/definitions/models.THJSigninRsp'
  31398. "500":
  31399. description: Internal Server Error
  31400. schema:
  31401. $ref: '#/definitions/app.Response'
  31402. security:
  31403. - ApiKeyAuth: []
  31404. summary: 用户签到
  31405. tags:
  31406. - 铁合金
  31407. /Guangzuan/GZBSFWOrderOperate:
  31408. get:
  31409. parameters:
  31410. - description: 单据ID
  31411. in: query
  31412. name: orderid
  31413. required: true
  31414. type: integer
  31415. produces:
  31416. - application/json
  31417. responses:
  31418. "200":
  31419. description: OK
  31420. schema:
  31421. items:
  31422. $ref: '#/definitions/models.Gzbsfworderoperate'
  31423. type: array
  31424. "500":
  31425. description: Internal Server Error
  31426. schema:
  31427. $ref: '#/definitions/app.Response'
  31428. security:
  31429. - ApiKeyAuth: []
  31430. - LoginID: []
  31431. - Group: []
  31432. summary: 保税服务单据操作信息
  31433. tags:
  31434. - 广钻
  31435. /Guangzuan/GetGoods:
  31436. get:
  31437. parameters:
  31438. - description: 商品编号
  31439. in: query
  31440. name: goodsno
  31441. required: true
  31442. type: string
  31443. produces:
  31444. - application/json
  31445. responses:
  31446. "200":
  31447. description: OK
  31448. schema:
  31449. $ref: '#/definitions/models.GZGoods'
  31450. "500":
  31451. description: Internal Server Error
  31452. schema:
  31453. $ref: '#/definitions/app.Response'
  31454. security:
  31455. - ApiKeyAuth: []
  31456. - LoginID: []
  31457. - Group: []
  31458. summary: 获取钻石详情
  31459. tags:
  31460. - 广钻
  31461. /Guangzuan/GzCertAddressConfig:
  31462. get:
  31463. produces:
  31464. - application/json
  31465. responses:
  31466. "200":
  31467. description: OK
  31468. schema:
  31469. items:
  31470. $ref: '#/definitions/models.Gzcertaddressconfig'
  31471. type: array
  31472. "500":
  31473. description: Internal Server Error
  31474. schema:
  31475. $ref: '#/definitions/app.Response'
  31476. security:
  31477. - ApiKeyAuth: []
  31478. - LoginID: []
  31479. - Group: []
  31480. summary: Rapaport最新报价表(广钻)
  31481. tags:
  31482. - 广钻
  31483. /Guangzuan/GzCertAddressParam:
  31484. get:
  31485. produces:
  31486. - application/json
  31487. responses:
  31488. "200":
  31489. description: OK
  31490. schema:
  31491. items:
  31492. $ref: '#/definitions/models.Gzcertaddressparam'
  31493. type: array
  31494. "500":
  31495. description: Internal Server Error
  31496. schema:
  31497. $ref: '#/definitions/app.Response'
  31498. security:
  31499. - ApiKeyAuth: []
  31500. - LoginID: []
  31501. - Group: []
  31502. summary: 钻石证书地址参数
  31503. tags:
  31504. - 广钻
  31505. /Guangzuan/HomeData:
  31506. get:
  31507. parameters:
  31508. - description: 用户ID
  31509. in: query
  31510. name: userid
  31511. required: true
  31512. type: integer
  31513. produces:
  31514. - application/json
  31515. responses:
  31516. "200":
  31517. description: OK
  31518. schema:
  31519. $ref: '#/definitions/models.GZHomeData'
  31520. "500":
  31521. description: Internal Server Error
  31522. schema:
  31523. $ref: '#/definitions/app.Response'
  31524. security:
  31525. - ApiKeyAuth: []
  31526. - LoginID: []
  31527. - Group: []
  31528. summary: 首页统计数据
  31529. tags:
  31530. - 广钻
  31531. /Guangzuan/PriceCalc:
  31532. get:
  31533. parameters:
  31534. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  31535. in: query
  31536. name: zsshape
  31537. required: true
  31538. type: integer
  31539. - description: 颜色(D-M)
  31540. in: query
  31541. name: zscolor
  31542. required: true
  31543. type: string
  31544. - description: 净度
  31545. in: query
  31546. name: zsclarity
  31547. required: true
  31548. type: string
  31549. - description: 重量
  31550. in: query
  31551. name: weight
  31552. required: true
  31553. type: number
  31554. - description: 汇率
  31555. in: query
  31556. name: rate
  31557. required: true
  31558. type: number
  31559. - description: 折扣(%), 方向(加:10, 减:-10 )
  31560. in: query
  31561. name: discount
  31562. type: number
  31563. produces:
  31564. - application/json
  31565. responses:
  31566. "200":
  31567. description: OK
  31568. schema:
  31569. items:
  31570. $ref: '#/definitions/models.Gzrapaportprice'
  31571. type: array
  31572. "500":
  31573. description: Internal Server Error
  31574. schema:
  31575. $ref: '#/definitions/app.Response'
  31576. security:
  31577. - ApiKeyAuth: []
  31578. - LoginID: []
  31579. - Group: []
  31580. summary: 钻石价格计算器
  31581. tags:
  31582. - 广钻
  31583. /Guangzuan/QueryBuyOrder:
  31584. get:
  31585. parameters:
  31586. - description: 页码
  31587. in: query
  31588. name: page
  31589. type: integer
  31590. - description: 每页条数
  31591. in: query
  31592. name: pagesize
  31593. type: integer
  31594. - description: 商品(查询字段-模糊查询)
  31595. in: query
  31596. name: zsallproperties
  31597. type: string
  31598. - description: 钻石分类, 格式:1,2,3
  31599. in: query
  31600. name: zscategorys
  31601. type: string
  31602. - description: 委托单号
  31603. in: query
  31604. name: wrtradeorderid
  31605. type: integer
  31606. - description: 买方(查询字段-模糊查询)
  31607. in: query
  31608. name: buyusername
  31609. type: string
  31610. produces:
  31611. - application/json
  31612. responses:
  31613. "200":
  31614. description: OK
  31615. schema:
  31616. items:
  31617. $ref: '#/definitions/models.BuyOrder'
  31618. type: array
  31619. "500":
  31620. description: Internal Server Error
  31621. schema:
  31622. $ref: '#/definitions/app.Response'
  31623. security:
  31624. - ApiKeyAuth: []
  31625. - LoginID: []
  31626. - Group: []
  31627. summary: 查询求购大厅委托单
  31628. tags:
  31629. - 广钻
  31630. /Guangzuan/QueryDiamond:
  31631. post:
  31632. parameters:
  31633. - description: 钻石搜索入参
  31634. in: body
  31635. name: data
  31636. required: true
  31637. schema:
  31638. $ref: '#/definitions/models.SellOrderQueryReq'
  31639. produces:
  31640. - application/json
  31641. responses:
  31642. "200":
  31643. description: OK
  31644. schema:
  31645. items:
  31646. $ref: '#/definitions/models.SellOrder'
  31647. type: array
  31648. "500":
  31649. description: Internal Server Error
  31650. schema:
  31651. $ref: '#/definitions/app.Response'
  31652. security:
  31653. - ApiKeyAuth: []
  31654. - LoginID: []
  31655. - Group: []
  31656. summary: 钻石搜索
  31657. tags:
  31658. - 广钻
  31659. /Guangzuan/QueryFworderoperate:
  31660. get:
  31661. parameters:
  31662. - description: 单据ID
  31663. in: query
  31664. name: orderid
  31665. required: true
  31666. type: string
  31667. - description: 操作后单据状态
  31668. in: query
  31669. name: status
  31670. required: true
  31671. type: integer
  31672. produces:
  31673. - application/json
  31674. responses:
  31675. "200":
  31676. description: OK
  31677. schema:
  31678. items:
  31679. $ref: '#/definitions/models.Fworderoperate'
  31680. type: array
  31681. "500":
  31682. description: Internal Server Error
  31683. schema:
  31684. $ref: '#/definitions/app.Response'
  31685. security:
  31686. - ApiKeyAuth: []
  31687. - LoginID: []
  31688. - Group: []
  31689. summary: 查询保税服务单据操作
  31690. tags:
  31691. - 广钻
  31692. /Guangzuan/QueryGZBSFWOrder:
  31693. get:
  31694. parameters:
  31695. - description: 用户ID
  31696. in: query
  31697. name: userid
  31698. required: true
  31699. type: integer
  31700. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31701. in: query
  31702. name: executestatus
  31703. type: integer
  31704. - description: 页码
  31705. in: query
  31706. name: page
  31707. type: integer
  31708. - description: 每页条数
  31709. in: query
  31710. name: pagesize
  31711. type: integer
  31712. produces:
  31713. - application/json
  31714. responses:
  31715. "200":
  31716. description: OK
  31717. schema:
  31718. items:
  31719. $ref: '#/definitions/models.GzbsfworderM'
  31720. type: array
  31721. "500":
  31722. description: Internal Server Error
  31723. schema:
  31724. $ref: '#/definitions/app.Response'
  31725. security:
  31726. - ApiKeyAuth: []
  31727. - LoginID: []
  31728. - Group: []
  31729. summary: 查询保税服务单据
  31730. tags:
  31731. - 广钻
  31732. /Guangzuan/QueryGZBSFWOrderDetail:
  31733. get:
  31734. parameters:
  31735. - description: 用户ID
  31736. in: query
  31737. name: userid
  31738. required: true
  31739. type: integer
  31740. - description: 单据ID
  31741. in: query
  31742. name: orderid
  31743. type: string
  31744. - description: 页码
  31745. in: query
  31746. name: page
  31747. type: integer
  31748. - description: 每页条数
  31749. in: query
  31750. name: pagesize
  31751. type: integer
  31752. produces:
  31753. - application/json
  31754. responses:
  31755. "200":
  31756. description: OK
  31757. schema:
  31758. items:
  31759. $ref: '#/definitions/models.GzbsfworderdetailM'
  31760. type: array
  31761. "500":
  31762. description: Internal Server Error
  31763. schema:
  31764. $ref: '#/definitions/app.Response'
  31765. security:
  31766. - ApiKeyAuth: []
  31767. - LoginID: []
  31768. - Group: []
  31769. summary: 查询保税服务单据明细
  31770. tags:
  31771. - 广钻
  31772. /Guangzuan/QueryGZCJBSOrderFile:
  31773. get:
  31774. parameters:
  31775. - description: 单据ID
  31776. in: query
  31777. name: orderid
  31778. required: true
  31779. type: integer
  31780. - description: 页码
  31781. in: query
  31782. name: page
  31783. type: integer
  31784. - description: 每页条数
  31785. in: query
  31786. name: pagesize
  31787. type: integer
  31788. produces:
  31789. - application/json
  31790. responses:
  31791. "200":
  31792. description: OK
  31793. schema:
  31794. items:
  31795. $ref: '#/definitions/models.GzcjbsorderfileM'
  31796. type: array
  31797. "500":
  31798. description: Internal Server Error
  31799. schema:
  31800. $ref: '#/definitions/app.Response'
  31801. security:
  31802. - ApiKeyAuth: []
  31803. - LoginID: []
  31804. - Group: []
  31805. summary: 出境保税单据文件
  31806. tags:
  31807. - 广钻
  31808. /Guangzuan/QueryGZCJJCOrder:
  31809. get:
  31810. parameters:
  31811. - description: 用户ID
  31812. in: query
  31813. name: userid
  31814. required: true
  31815. type: integer
  31816. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31817. in: query
  31818. name: executestatus
  31819. type: integer
  31820. - description: 页码
  31821. in: query
  31822. name: page
  31823. type: integer
  31824. - description: 每页条数
  31825. in: query
  31826. name: pagesize
  31827. type: integer
  31828. produces:
  31829. - application/json
  31830. responses:
  31831. "200":
  31832. description: OK
  31833. schema:
  31834. items:
  31835. $ref: '#/definitions/models.GzcjjcorderM'
  31836. type: array
  31837. "500":
  31838. description: Internal Server Error
  31839. schema:
  31840. $ref: '#/definitions/app.Response'
  31841. security:
  31842. - ApiKeyAuth: []
  31843. - LoginID: []
  31844. - Group: []
  31845. summary: 查询出境检测单据
  31846. tags:
  31847. - 广钻
  31848. /Guangzuan/QueryGZCJJCOrderDetail:
  31849. get:
  31850. parameters:
  31851. - description: 用户ID
  31852. in: query
  31853. name: userid
  31854. required: true
  31855. type: integer
  31856. - description: 单据ID
  31857. in: query
  31858. name: orderid
  31859. type: string
  31860. - description: 页码
  31861. in: query
  31862. name: page
  31863. type: integer
  31864. - description: 每页条数
  31865. in: query
  31866. name: pagesize
  31867. type: integer
  31868. produces:
  31869. - application/json
  31870. responses:
  31871. "200":
  31872. description: OK
  31873. schema:
  31874. items:
  31875. $ref: '#/definitions/models.GzcjjcorderdetailM'
  31876. type: array
  31877. "500":
  31878. description: Internal Server Error
  31879. schema:
  31880. $ref: '#/definitions/app.Response'
  31881. security:
  31882. - ApiKeyAuth: []
  31883. - LoginID: []
  31884. - Group: []
  31885. summary: 查询出境检测单据明细(批次信息)
  31886. tags:
  31887. - 广钻
  31888. /Guangzuan/QueryGzcjjcorderoperate:
  31889. get:
  31890. parameters:
  31891. - description: 单据ID
  31892. in: query
  31893. name: orderid
  31894. required: true
  31895. type: string
  31896. - description: 操作后单据状态
  31897. in: query
  31898. name: status
  31899. required: true
  31900. type: integer
  31901. produces:
  31902. - application/json
  31903. responses:
  31904. "200":
  31905. description: OK
  31906. schema:
  31907. items:
  31908. $ref: '#/definitions/models.Gzcjjcorderoperate'
  31909. type: array
  31910. "500":
  31911. description: Internal Server Error
  31912. schema:
  31913. $ref: '#/definitions/app.Response'
  31914. security:
  31915. - ApiKeyAuth: []
  31916. - LoginID: []
  31917. - Group: []
  31918. summary: 查询出境检测单据操作
  31919. tags:
  31920. - 广钻
  31921. /Guangzuan/QueryMemberReport:
  31922. get:
  31923. parameters:
  31924. - description: 用户ID
  31925. in: query
  31926. name: userid
  31927. required: true
  31928. type: integer
  31929. - description: 页码
  31930. in: query
  31931. name: page
  31932. type: integer
  31933. - description: 每页条数
  31934. in: query
  31935. name: pagesize
  31936. type: integer
  31937. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  31938. in: query
  31939. name: cycletype
  31940. type: string
  31941. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31942. in: query
  31943. name: begindate
  31944. required: true
  31945. type: string
  31946. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31947. in: query
  31948. name: enddate
  31949. required: true
  31950. type: string
  31951. produces:
  31952. - application/json
  31953. responses:
  31954. "200":
  31955. description: OK
  31956. schema:
  31957. items:
  31958. $ref: '#/definitions/models.Reckondaytaaccount'
  31959. type: array
  31960. "500":
  31961. description: Internal Server Error
  31962. schema:
  31963. $ref: '#/definitions/app.Response'
  31964. security:
  31965. - ApiKeyAuth: []
  31966. - LoginID: []
  31967. - Group: []
  31968. summary: 查询会员报表
  31969. tags:
  31970. - 广钻
  31971. /Guangzuan/QueryMyBargainApply:
  31972. get:
  31973. parameters:
  31974. - description: 用户ID
  31975. in: query
  31976. name: userid
  31977. required: true
  31978. type: integer
  31979. - description: 页码
  31980. in: query
  31981. name: page
  31982. type: integer
  31983. - description: 每页条数
  31984. in: query
  31985. name: pagesize
  31986. type: integer
  31987. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  31988. in: query
  31989. name: applystatus
  31990. type: integer
  31991. - description: 查询类型 - 0:我的询价 1:我订单的询价
  31992. in: query
  31993. name: type
  31994. type: integer
  31995. - description: 关联委托单ID
  31996. in: query
  31997. name: wrtradeorderid
  31998. type: string
  31999. produces:
  32000. - application/json
  32001. responses:
  32002. "200":
  32003. description: OK
  32004. schema:
  32005. items:
  32006. $ref: '#/definitions/models.MyBargainApply'
  32007. type: array
  32008. "500":
  32009. description: Internal Server Error
  32010. schema:
  32011. $ref: '#/definitions/app.Response'
  32012. security:
  32013. - ApiKeyAuth: []
  32014. - LoginID: []
  32015. - Group: []
  32016. summary: 查询询价-求购
  32017. tags:
  32018. - 广钻
  32019. /Guangzuan/QueryMyBuyOrder:
  32020. get:
  32021. parameters:
  32022. - description: 用户ID
  32023. in: query
  32024. name: userid
  32025. required: true
  32026. type: integer
  32027. - description: 页码
  32028. in: query
  32029. name: page
  32030. type: integer
  32031. - description: 每页条数
  32032. in: query
  32033. name: pagesize
  32034. type: integer
  32035. - description: 商品(查询字段-模糊查询)
  32036. in: query
  32037. name: zsallproperties
  32038. type: string
  32039. - description: 钻石分类, 格式:1,2,3
  32040. in: query
  32041. name: zscategorys
  32042. type: string
  32043. - description: 委托单号
  32044. in: query
  32045. name: wrtradeorderid
  32046. type: integer
  32047. - description: 是否历史查询
  32048. in: query
  32049. name: ishis
  32050. type: boolean
  32051. - description: 开始交易日(yyyymmdd)
  32052. in: query
  32053. name: begindate
  32054. type: string
  32055. - description: 结束交易日(yyyymmdd)
  32056. in: query
  32057. name: enddate
  32058. type: string
  32059. produces:
  32060. - application/json
  32061. responses:
  32062. "200":
  32063. description: OK
  32064. schema:
  32065. items:
  32066. $ref: '#/definitions/models.MyBuyOrder'
  32067. type: array
  32068. "500":
  32069. description: Internal Server Error
  32070. schema:
  32071. $ref: '#/definitions/app.Response'
  32072. security:
  32073. - ApiKeyAuth: []
  32074. - LoginID: []
  32075. - Group: []
  32076. summary: 查询我的求购
  32077. tags:
  32078. - 广钻
  32079. /Guangzuan/QueryMyDeListing:
  32080. get:
  32081. parameters:
  32082. - description: 用户ID
  32083. in: query
  32084. name: userid
  32085. required: true
  32086. type: integer
  32087. - description: 页码
  32088. in: query
  32089. name: page
  32090. type: integer
  32091. - description: 每页条数
  32092. in: query
  32093. name: pagesize
  32094. type: integer
  32095. - description: 商品(查询字段-模糊查询)
  32096. in: query
  32097. name: zsallproperties
  32098. type: string
  32099. - description: 钻石分类, 格式:1,2,3
  32100. in: query
  32101. name: zscategorys
  32102. type: string
  32103. - description: 成交单号
  32104. in: query
  32105. name: wrtradedetailid
  32106. type: integer
  32107. - description: 方向,0-购买 1-出售
  32108. in: query
  32109. name: buyorsell
  32110. type: integer
  32111. - description: 对手方(模糊匹配)
  32112. in: query
  32113. name: matchusername
  32114. type: string
  32115. - description: 开始交易日(yyyymmdd)
  32116. in: query
  32117. name: begindate
  32118. type: string
  32119. - description: 结束交易日(yyyymmdd)
  32120. in: query
  32121. name: enddate
  32122. type: string
  32123. produces:
  32124. - application/json
  32125. responses:
  32126. "200":
  32127. description: OK
  32128. schema:
  32129. items:
  32130. $ref: '#/definitions/models.MyDeListing'
  32131. type: array
  32132. "500":
  32133. description: Internal Server Error
  32134. schema:
  32135. $ref: '#/definitions/app.Response'
  32136. security:
  32137. - ApiKeyAuth: []
  32138. - LoginID: []
  32139. - Group: []
  32140. summary: 查询我的摘牌
  32141. tags:
  32142. - 广钻
  32143. /Guangzuan/QueryMyDelistingApply:
  32144. get:
  32145. parameters:
  32146. - description: 用户ID
  32147. in: query
  32148. name: userid
  32149. required: true
  32150. type: integer
  32151. - description: 页码
  32152. in: query
  32153. name: page
  32154. type: integer
  32155. - description: 每页条数
  32156. in: query
  32157. name: pagesize
  32158. type: integer
  32159. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  32160. in: query
  32161. name: applystatus
  32162. type: integer
  32163. - description: 查询类型 - 0:我的询价 1:我订单的询价
  32164. in: query
  32165. name: type
  32166. type: integer
  32167. - description: 买委托单ID
  32168. in: query
  32169. name: buywrtradeorderid
  32170. type: string
  32171. produces:
  32172. - application/json
  32173. responses:
  32174. "200":
  32175. description: OK
  32176. schema:
  32177. items:
  32178. $ref: '#/definitions/models.MyDelistingApply'
  32179. type: array
  32180. "500":
  32181. description: Internal Server Error
  32182. schema:
  32183. $ref: '#/definitions/app.Response'
  32184. security:
  32185. - ApiKeyAuth: []
  32186. - LoginID: []
  32187. - Group: []
  32188. summary: 查询询价-出售
  32189. tags:
  32190. - 广钻
  32191. /Guangzuan/QueryMyFavorite:
  32192. get:
  32193. parameters:
  32194. - description: 用户ID
  32195. in: query
  32196. name: userid
  32197. required: true
  32198. type: integer
  32199. - description: 页码
  32200. in: query
  32201. name: page
  32202. type: integer
  32203. - description: 每页条数
  32204. in: query
  32205. name: pagesize
  32206. type: integer
  32207. - description: 钻石分类, 格式:1,2,3
  32208. in: query
  32209. name: zscategorys
  32210. type: string
  32211. produces:
  32212. - application/json
  32213. responses:
  32214. "200":
  32215. description: OK
  32216. schema:
  32217. items:
  32218. $ref: '#/definitions/models.MyFavorite'
  32219. type: array
  32220. "500":
  32221. description: Internal Server Error
  32222. schema:
  32223. $ref: '#/definitions/app.Response'
  32224. security:
  32225. - ApiKeyAuth: []
  32226. - LoginID: []
  32227. - Group: []
  32228. summary: 查询我的收藏
  32229. tags:
  32230. - 广钻
  32231. /Guangzuan/QueryMyPerformanc:
  32232. get:
  32233. parameters:
  32234. - description: 用户ID
  32235. in: query
  32236. name: userid
  32237. required: true
  32238. type: integer
  32239. - description: 页码
  32240. in: query
  32241. name: page
  32242. type: integer
  32243. - description: 每页条数
  32244. in: query
  32245. name: pagesize
  32246. type: integer
  32247. - description: 商品(查询字段-模糊查询)
  32248. in: query
  32249. name: zsallproperties
  32250. type: string
  32251. - description: 方向,0-买 1-卖
  32252. in: query
  32253. name: buyorsell
  32254. type: integer
  32255. - description: 是否历史查询
  32256. in: query
  32257. name: ishis
  32258. type: boolean
  32259. - description: 开始交易日(yyyymmdd)
  32260. in: query
  32261. name: begindate
  32262. type: string
  32263. - description: 结束交易日(yyyymmdd)
  32264. in: query
  32265. name: enddate
  32266. type: string
  32267. produces:
  32268. - application/json
  32269. responses:
  32270. "200":
  32271. description: OK
  32272. schema:
  32273. items:
  32274. $ref: '#/definitions/models.MyPerformanc'
  32275. type: array
  32276. "500":
  32277. description: Internal Server Error
  32278. schema:
  32279. $ref: '#/definitions/app.Response'
  32280. security:
  32281. - ApiKeyAuth: []
  32282. - LoginID: []
  32283. - Group: []
  32284. summary: 查询我的履约
  32285. tags:
  32286. - 广钻
  32287. /Guangzuan/QueryMySellOrder:
  32288. get:
  32289. parameters:
  32290. - description: 用户ID
  32291. in: query
  32292. name: userid
  32293. required: true
  32294. type: integer
  32295. - description: 页码
  32296. in: query
  32297. name: page
  32298. type: integer
  32299. - description: 每页条数
  32300. in: query
  32301. name: pagesize
  32302. type: integer
  32303. - description: 商品(查询字段-模糊查询)
  32304. in: query
  32305. name: zsallproperties
  32306. type: string
  32307. - description: 钻石分类, 格式:1,2,3
  32308. in: query
  32309. name: zscategorys
  32310. type: string
  32311. - description: 委托单号
  32312. in: query
  32313. name: wrtradeorderid
  32314. type: integer
  32315. - description: 是否历史查询
  32316. in: query
  32317. name: ishis
  32318. type: boolean
  32319. - description: 开始交易日(yyyymmdd)
  32320. in: query
  32321. name: begindate
  32322. type: string
  32323. - description: 结束交易日(yyyymmdd)
  32324. in: query
  32325. name: enddate
  32326. type: string
  32327. produces:
  32328. - application/json
  32329. responses:
  32330. "200":
  32331. description: OK
  32332. schema:
  32333. items:
  32334. $ref: '#/definitions/models.MySellOrder'
  32335. type: array
  32336. "500":
  32337. description: Internal Server Error
  32338. schema:
  32339. $ref: '#/definitions/app.Response'
  32340. security:
  32341. - ApiKeyAuth: []
  32342. - LoginID: []
  32343. - Group: []
  32344. summary: 查询我的出售
  32345. tags:
  32346. - 广钻
  32347. /Guangzuan/QueryMyWRPosition:
  32348. get:
  32349. parameters:
  32350. - description: 页码
  32351. in: query
  32352. name: page
  32353. type: integer
  32354. - description: 每页条数
  32355. in: query
  32356. name: pagesize
  32357. type: integer
  32358. - description: 登录用户ID
  32359. in: query
  32360. name: wruserid
  32361. required: true
  32362. type: integer
  32363. - description: 商品(查询字段-模糊查询)
  32364. in: query
  32365. name: zsallproperties
  32366. type: string
  32367. - description: 钻石分类, 格式:1,2,3
  32368. in: query
  32369. name: zscategorys
  32370. type: string
  32371. - description: 仓库ID
  32372. in: query
  32373. name: warehouseid
  32374. type: integer
  32375. - description: 是否上架,0-全部 1-是 2-否
  32376. in: query
  32377. name: marketflag
  32378. type: integer
  32379. produces:
  32380. - application/json
  32381. responses:
  32382. "200":
  32383. description: OK
  32384. schema:
  32385. items:
  32386. $ref: '#/definitions/models.MyWRPosition'
  32387. type: array
  32388. "500":
  32389. description: Internal Server Error
  32390. schema:
  32391. $ref: '#/definitions/app.Response'
  32392. security:
  32393. - ApiKeyAuth: []
  32394. - LoginID: []
  32395. - Group: []
  32396. summary: 查询我的库存
  32397. tags:
  32398. - 广钻
  32399. /Guangzuan/QuerySellOrder:
  32400. get:
  32401. parameters:
  32402. - description: 页码
  32403. in: query
  32404. name: page
  32405. type: integer
  32406. - description: 每页条数
  32407. in: query
  32408. name: pagesize
  32409. type: integer
  32410. - description: 商品(查询字段-模糊查询)
  32411. in: query
  32412. name: zsallproperties
  32413. type: string
  32414. - description: 钻石分类, 格式:1,2,3
  32415. in: query
  32416. name: zscategorys
  32417. type: string
  32418. - description: 委托单号
  32419. in: query
  32420. name: wrtradeorderid
  32421. type: integer
  32422. - description: 卖方(查询字段-模糊查询)
  32423. in: query
  32424. name: buyusername
  32425. type: string
  32426. produces:
  32427. - application/json
  32428. responses:
  32429. "200":
  32430. description: OK
  32431. schema:
  32432. items:
  32433. $ref: '#/definitions/models.SellOrder'
  32434. type: array
  32435. "500":
  32436. description: Internal Server Error
  32437. schema:
  32438. $ref: '#/definitions/app.Response'
  32439. security:
  32440. - ApiKeyAuth: []
  32441. - LoginID: []
  32442. - Group: []
  32443. summary: 查询出售大厅委托单
  32444. tags:
  32445. - 广钻
  32446. /Guangzuan/QueryTradeReport:
  32447. get:
  32448. parameters:
  32449. - description: 用户ID
  32450. in: query
  32451. name: userid
  32452. required: true
  32453. type: integer
  32454. - description: 页码
  32455. in: query
  32456. name: page
  32457. type: integer
  32458. - description: 每页条数
  32459. in: query
  32460. name: pagesize
  32461. type: integer
  32462. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32463. in: query
  32464. name: cycletype
  32465. type: string
  32466. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32467. in: query
  32468. name: begindate
  32469. required: true
  32470. type: string
  32471. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32472. in: query
  32473. name: enddate
  32474. required: true
  32475. type: string
  32476. - description: 商品分类
  32477. in: query
  32478. name: zscategory
  32479. type: integer
  32480. - description: 商品币种
  32481. in: query
  32482. name: zscurrencytype
  32483. type: integer
  32484. produces:
  32485. - application/json
  32486. responses:
  32487. "200":
  32488. description: OK
  32489. schema:
  32490. items:
  32491. $ref: '#/definitions/models.Reckongzmemtradesum'
  32492. type: array
  32493. "500":
  32494. description: Internal Server Error
  32495. schema:
  32496. $ref: '#/definitions/app.Response'
  32497. security:
  32498. - ApiKeyAuth: []
  32499. - LoginID: []
  32500. - Group: []
  32501. summary: 查询交易报表
  32502. tags:
  32503. - 广钻
  32504. /Guangzuan/QueryWRPositionReport:
  32505. get:
  32506. parameters:
  32507. - description: 用户ID
  32508. in: query
  32509. name: userid
  32510. required: true
  32511. type: integer
  32512. - description: 页码
  32513. in: query
  32514. name: page
  32515. type: integer
  32516. - description: 每页条数
  32517. in: query
  32518. name: pagesize
  32519. type: integer
  32520. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32521. in: query
  32522. name: cycletype
  32523. type: string
  32524. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32525. in: query
  32526. name: begindate
  32527. required: true
  32528. type: string
  32529. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32530. in: query
  32531. name: enddate
  32532. required: true
  32533. type: string
  32534. - description: 商品分类
  32535. in: query
  32536. name: zscategory
  32537. type: integer
  32538. - description: 商品币种
  32539. in: query
  32540. name: zscurrencytype
  32541. type: integer
  32542. produces:
  32543. - application/json
  32544. responses:
  32545. "200":
  32546. description: OK
  32547. schema:
  32548. items:
  32549. $ref: '#/definitions/models.WRPositionReport'
  32550. type: array
  32551. "500":
  32552. description: Internal Server Error
  32553. schema:
  32554. $ref: '#/definitions/app.Response'
  32555. security:
  32556. - ApiKeyAuth: []
  32557. - LoginID: []
  32558. - Group: []
  32559. summary: 查询仓储报表
  32560. tags:
  32561. - 广钻
  32562. /Guangzuan/QueryWarehouseInfo:
  32563. get:
  32564. parameters:
  32565. - description: 页码
  32566. in: query
  32567. name: page
  32568. type: integer
  32569. - description: 每页条数
  32570. in: query
  32571. name: pagesize
  32572. type: integer
  32573. - description: 用户ID
  32574. in: query
  32575. name: userid
  32576. required: true
  32577. type: integer
  32578. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  32579. in: query
  32580. name: status
  32581. type: string
  32582. - description: 是返回交易所仓库
  32583. in: query
  32584. name: isincludeexchange
  32585. type: boolean
  32586. produces:
  32587. - application/json
  32588. responses:
  32589. "200":
  32590. description: OK
  32591. schema:
  32592. items:
  32593. $ref: '#/definitions/models.GZWarehouseinfo'
  32594. type: array
  32595. "500":
  32596. description: Internal Server Error
  32597. schema:
  32598. $ref: '#/definitions/app.Response'
  32599. security:
  32600. - ApiKeyAuth: []
  32601. - LoginID: []
  32602. - Group: []
  32603. summary: 查询仓库信息
  32604. tags:
  32605. - 广钻
  32606. /HSBY/GetHsbyMyCount:
  32607. get:
  32608. description: 说明: 不包括已完成的数量。
  32609. parameters:
  32610. - description: 资金账户列表,格式:1,2,3
  32611. in: query
  32612. name: accountIDs
  32613. required: true
  32614. type: string
  32615. produces:
  32616. - application/json
  32617. responses:
  32618. "200":
  32619. description: OK
  32620. schema:
  32621. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  32622. "500":
  32623. description: Internal Server Error
  32624. schema:
  32625. $ref: '#/definitions/app.Response'
  32626. security:
  32627. - ApiKeyAuth: []
  32628. summary: 获取我的订单与包裹数量
  32629. tags:
  32630. - 定制【海商报业】
  32631. /HSBY/QueryClientFixedADConfigs:
  32632. get:
  32633. produces:
  32634. - application/json
  32635. responses:
  32636. "200":
  32637. description: OK
  32638. schema:
  32639. $ref: '#/definitions/models.Clientfixedadconfig'
  32640. "500":
  32641. description: Internal Server Error
  32642. schema:
  32643. $ref: '#/definitions/app.Response'
  32644. security:
  32645. - ApiKeyAuth: []
  32646. summary: 获取终端固定广告配置
  32647. tags:
  32648. - 定制【海商报业】
  32649. /HSBY/QueryHsbyBuyMyTradeDetail:
  32650. get:
  32651. parameters:
  32652. - description: 页码
  32653. in: query
  32654. name: page
  32655. type: integer
  32656. - description: 每页条数
  32657. in: query
  32658. name: pagesize
  32659. type: integer
  32660. - description: 资金账户列表,格式:1,2,3
  32661. in: query
  32662. name: accountIDs
  32663. required: true
  32664. type: string
  32665. produces:
  32666. - application/json
  32667. responses:
  32668. "200":
  32669. description: OK
  32670. schema:
  32671. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  32672. "500":
  32673. description: Internal Server Error
  32674. schema:
  32675. $ref: '#/definitions/app.Response'
  32676. security:
  32677. - ApiKeyAuth: []
  32678. summary: 查询"我的订单 - 已完成"单据信息
  32679. tags:
  32680. - 定制【海商报业】
  32681. /HSBY/QueryHsbyGoodsOrderDetails:
  32682. get:
  32683. description: 说明:查询结果已按委托价格和委托时间排序
  32684. parameters:
  32685. - description: 商品ID
  32686. in: query
  32687. name: goodsID
  32688. required: true
  32689. type: integer
  32690. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  32691. in: query
  32692. name: accountIDs
  32693. type: string
  32694. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  32695. in: query
  32696. name: buyOrSell
  32697. type: integer
  32698. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  32699. in: query
  32700. name: price
  32701. type: number
  32702. - description: 档位,不传则默认为3档
  32703. in: query
  32704. name: speed
  32705. type: integer
  32706. produces:
  32707. - application/json
  32708. responses:
  32709. "200":
  32710. description: OK
  32711. schema:
  32712. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  32713. "500":
  32714. description: Internal Server Error
  32715. schema:
  32716. $ref: '#/definitions/app.Response'
  32717. security:
  32718. - ApiKeyAuth: []
  32719. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  32720. tags:
  32721. - 定制【海商报业】
  32722. /HSBY/QueryHsbyListingGoodsDetail:
  32723. get:
  32724. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  32725. parameters:
  32726. - description: 商品ID
  32727. in: query
  32728. name: goodsID
  32729. required: true
  32730. type: integer
  32731. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  32732. in: query
  32733. name: accountID
  32734. type: integer
  32735. produces:
  32736. - application/json
  32737. responses:
  32738. "200":
  32739. description: OK
  32740. schema:
  32741. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  32742. "500":
  32743. description: Internal Server Error
  32744. schema:
  32745. $ref: '#/definitions/app.Response'
  32746. security:
  32747. - ApiKeyAuth: []
  32748. summary: 查询二级市场(挂牌点选)商品信息详情
  32749. tags:
  32750. - 定制【海商报业】
  32751. /HSBY/QueryHsbyMarketGoodsDetail:
  32752. get:
  32753. parameters:
  32754. - description: 委托单号
  32755. in: query
  32756. name: orderID
  32757. required: true
  32758. type: integer
  32759. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  32760. in: query
  32761. name: accountID
  32762. type: integer
  32763. produces:
  32764. - application/json
  32765. responses:
  32766. "200":
  32767. description: OK
  32768. schema:
  32769. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  32770. "500":
  32771. description: Internal Server Error
  32772. schema:
  32773. $ref: '#/definitions/app.Response'
  32774. security:
  32775. - ApiKeyAuth: []
  32776. summary: 查询三级市场(商城)商品信息详情
  32777. tags:
  32778. - 定制【海商报业】
  32779. /HSBY/QueryHsbyMarketGoodses:
  32780. get:
  32781. parameters:
  32782. - description: 页码
  32783. in: query
  32784. name: page
  32785. type: integer
  32786. - description: 每页条数
  32787. in: query
  32788. name: pagesize
  32789. type: integer
  32790. - description: 市场ID列表,格式:1,2,3
  32791. in: query
  32792. name: marketIDs
  32793. required: true
  32794. type: string
  32795. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  32796. in: query
  32797. name: accountID
  32798. required: true
  32799. type: integer
  32800. - description: 类别ID
  32801. in: query
  32802. name: categoryID
  32803. type: integer
  32804. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  32805. in: query
  32806. name: goodsIDs
  32807. type: string
  32808. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  32809. in: query
  32810. name: couponTypeID
  32811. type: integer
  32812. produces:
  32813. - application/json
  32814. responses:
  32815. "200":
  32816. description: OK
  32817. schema:
  32818. $ref: '#/definitions/models.HsbyMarketGoods'
  32819. "500":
  32820. description: Internal Server Error
  32821. schema:
  32822. $ref: '#/definitions/app.Response'
  32823. security:
  32824. - ApiKeyAuth: []
  32825. summary: 查询特卖商品列表(三级商城)
  32826. tags:
  32827. - 定制【海商报业】
  32828. /HSBY/QueryHsbyMarkets:
  32829. get:
  32830. produces:
  32831. - application/json
  32832. responses:
  32833. "200":
  32834. description: OK
  32835. schema:
  32836. $ref: '#/definitions/models.HsbyMarketInfo'
  32837. "500":
  32838. description: Internal Server Error
  32839. schema:
  32840. $ref: '#/definitions/app.Response'
  32841. security:
  32842. - ApiKeyAuth: []
  32843. summary: 查询海商报业相关市场信息
  32844. tags:
  32845. - 定制【海商报业】
  32846. /HSBY/QueryHsbyMyBuyOrderDetails:
  32847. get:
  32848. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  32849. parameters:
  32850. - description: 资金账户列表,格式:1,2,3
  32851. in: query
  32852. name: accountIDs
  32853. required: true
  32854. type: string
  32855. produces:
  32856. - application/json
  32857. responses:
  32858. "200":
  32859. description: OK
  32860. schema:
  32861. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  32862. "500":
  32863. description: Internal Server Error
  32864. schema:
  32865. $ref: '#/definitions/app.Response'
  32866. security:
  32867. - ApiKeyAuth: []
  32868. summary: 查询“我的订单”信息
  32869. tags:
  32870. - 定制【海商报业】
  32871. /HSBY/QueryHsbyMyGoods:
  32872. get:
  32873. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  32874. parameters:
  32875. - description: 资金账户列表,格式:1,2,3
  32876. in: query
  32877. name: accountIDs
  32878. required: true
  32879. type: string
  32880. produces:
  32881. - application/json
  32882. responses:
  32883. "200":
  32884. description: OK
  32885. schema:
  32886. $ref: '#/definitions/models.HsbyMyGoods'
  32887. "500":
  32888. description: Internal Server Error
  32889. schema:
  32890. $ref: '#/definitions/app.Response'
  32891. security:
  32892. - ApiKeyAuth: []
  32893. summary: 查询“我的商品”信息
  32894. tags:
  32895. - 定制【海商报业】
  32896. /HSBY/QueryHsbyMyPackages:
  32897. get:
  32898. parameters:
  32899. - description: 资金账户列表,格式:1,2,3
  32900. in: query
  32901. name: accountIDs
  32902. required: true
  32903. type: string
  32904. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32905. in: query
  32906. name: takeOrderStatus
  32907. type: integer
  32908. produces:
  32909. - application/json
  32910. responses:
  32911. "200":
  32912. description: OK
  32913. schema:
  32914. $ref: '#/definitions/models.HsbyMyPackage'
  32915. "500":
  32916. description: Internal Server Error
  32917. schema:
  32918. $ref: '#/definitions/app.Response'
  32919. security:
  32920. - ApiKeyAuth: []
  32921. summary: 查询我的包裹信息
  32922. tags:
  32923. - 定制【海商报业】
  32924. /HSBY/QueryHsbyPreGoodsDetail:
  32925. get:
  32926. parameters:
  32927. - description: 商品ID
  32928. in: query
  32929. name: goodsID
  32930. required: true
  32931. type: integer
  32932. - description: 资金账户,主要用于获取预售商品购买上限
  32933. in: query
  32934. name: accountID
  32935. type: integer
  32936. produces:
  32937. - application/json
  32938. responses:
  32939. "200":
  32940. description: OK
  32941. schema:
  32942. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  32943. "500":
  32944. description: Internal Server Error
  32945. schema:
  32946. $ref: '#/definitions/app.Response'
  32947. security:
  32948. - ApiKeyAuth: []
  32949. summary: 查询一级市场(预售)商品信息详情
  32950. tags:
  32951. - 定制【海商报业】
  32952. /HSBY/QueryHsbyPreGoodses:
  32953. get:
  32954. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  32955. parameters:
  32956. - description: 页码
  32957. in: query
  32958. name: page
  32959. type: integer
  32960. - description: 每页条数
  32961. in: query
  32962. name: pagesize
  32963. type: integer
  32964. - description: 市场ID列表,格式:1,2,3
  32965. in: query
  32966. name: marketIDs
  32967. required: true
  32968. type: string
  32969. - description: 目的地(省)ID
  32970. in: query
  32971. name: descProvinceID
  32972. type: integer
  32973. - description: 目的地(市)ID
  32974. in: query
  32975. name: descCityID
  32976. type: integer
  32977. produces:
  32978. - application/json
  32979. responses:
  32980. "200":
  32981. description: OK
  32982. schema:
  32983. $ref: '#/definitions/models.HsbyPreGoods'
  32984. "500":
  32985. description: Internal Server Error
  32986. schema:
  32987. $ref: '#/definitions/app.Response'
  32988. security:
  32989. - ApiKeyAuth: []
  32990. summary: 查询新品上市商品列表(一级市场预售)
  32991. tags:
  32992. - 定制【海商报业】
  32993. /HSBY/QueryHsbySellMyDetails:
  32994. get:
  32995. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  32996. parameters:
  32997. - description: 页码
  32998. in: query
  32999. name: page
  33000. type: integer
  33001. - description: 每页条数
  33002. in: query
  33003. name: pagesize
  33004. type: integer
  33005. - description: 资金账户列表,格式:1,2,3
  33006. in: query
  33007. name: accountIDs
  33008. required: true
  33009. type: string
  33010. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  33011. in: query
  33012. name: orderType
  33013. type: integer
  33014. produces:
  33015. - application/json
  33016. responses:
  33017. "200":
  33018. description: OK
  33019. schema:
  33020. $ref: '#/definitions/models.HsbySellMyDetail'
  33021. "500":
  33022. description: Internal Server Error
  33023. schema:
  33024. $ref: '#/definitions/app.Response'
  33025. security:
  33026. - ApiKeyAuth: []
  33027. summary: 查询"我的闲置"单据信息
  33028. tags:
  33029. - 定制【海商报业】
  33030. /HSBY/QueryHsbyTopGoodses:
  33031. get:
  33032. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  33033. parameters:
  33034. - description: 页码
  33035. in: query
  33036. name: page
  33037. type: integer
  33038. - description: 每页条数
  33039. in: query
  33040. name: pagesize
  33041. type: integer
  33042. - description: 市场ID列表,格式:1,2,3
  33043. in: query
  33044. name: marketIDs
  33045. required: true
  33046. type: string
  33047. - description: 目的地(省)ID
  33048. in: query
  33049. name: descProvinceID
  33050. type: integer
  33051. - description: 目的地(市)ID
  33052. in: query
  33053. name: descCityID
  33054. type: integer
  33055. produces:
  33056. - application/json
  33057. responses:
  33058. "200":
  33059. description: OK
  33060. schema:
  33061. $ref: '#/definitions/models.HsbyTopGoods'
  33062. "500":
  33063. description: Internal Server Error
  33064. schema:
  33065. $ref: '#/definitions/app.Response'
  33066. security:
  33067. - ApiKeyAuth: []
  33068. summary: 查询热卖商品列表(二级市场挂牌点选)
  33069. tags:
  33070. - 定制【海商报业】
  33071. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  33072. get:
  33073. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  33074. parameters:
  33075. - description: 商品ID
  33076. in: query
  33077. name: goodsID
  33078. required: true
  33079. type: integer
  33080. produces:
  33081. - application/json
  33082. responses:
  33083. "200":
  33084. description: OK
  33085. schema:
  33086. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  33087. "500":
  33088. description: Internal Server Error
  33089. schema:
  33090. $ref: '#/definitions/app.Response'
  33091. security:
  33092. - ApiKeyAuth: []
  33093. summary: 查询游客三级市场(商城)商品信息详情
  33094. tags:
  33095. - 定制【海商报业】
  33096. /HSBY/QueryHsbyVisitorMarketGoodses:
  33097. get:
  33098. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  33099. parameters:
  33100. - description: 页码
  33101. in: query
  33102. name: page
  33103. type: integer
  33104. - description: 每页条数
  33105. in: query
  33106. name: pagesize
  33107. type: integer
  33108. - description: 市场ID列表,格式:1,2,3
  33109. in: query
  33110. name: marketIDs
  33111. required: true
  33112. type: string
  33113. - description: 类别ID
  33114. in: query
  33115. name: categoryID
  33116. type: integer
  33117. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  33118. in: query
  33119. name: goodsIDs
  33120. type: string
  33121. produces:
  33122. - application/json
  33123. responses:
  33124. "200":
  33125. description: OK
  33126. schema:
  33127. $ref: '#/definitions/models.HsbyMarketGoods'
  33128. "500":
  33129. description: Internal Server Error
  33130. schema:
  33131. $ref: '#/definitions/app.Response'
  33132. security:
  33133. - ApiKeyAuth: []
  33134. summary: 查询游客特卖商品列表(三级商城)
  33135. tags:
  33136. - 定制【海商报业】
  33137. /HSBY/QueryMyCollectionOrders:
  33138. get:
  33139. parameters:
  33140. - description: 页码
  33141. in: query
  33142. name: page
  33143. type: integer
  33144. - description: 每页条数
  33145. in: query
  33146. name: pagesize
  33147. type: integer
  33148. - description: 资金账户,格式:1,2,3
  33149. in: query
  33150. name: accountIDs
  33151. required: true
  33152. type: string
  33153. produces:
  33154. - application/json
  33155. responses:
  33156. "200":
  33157. description: OK
  33158. schema:
  33159. $ref: '#/definitions/models.HsbySellCollectionOrder'
  33160. "500":
  33161. description: Internal Server Error
  33162. schema:
  33163. $ref: '#/definitions/app.Response'
  33164. security:
  33165. - ApiKeyAuth: []
  33166. summary: 我的闲置中收款信息查询
  33167. tags:
  33168. - 定制【海商报业】
  33169. /HSBY/QueryMyCouponHolds:
  33170. get:
  33171. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  33172. parameters:
  33173. - description: 资金账户列表,格式:1,2,3
  33174. in: query
  33175. name: accountIDs
  33176. required: true
  33177. type: string
  33178. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  33179. in: query
  33180. name: holdStatus
  33181. type: string
  33182. produces:
  33183. - application/json
  33184. responses:
  33185. "200":
  33186. description: OK
  33187. schema:
  33188. $ref: '#/definitions/models.MyCouponHold'
  33189. "500":
  33190. description: Internal Server Error
  33191. schema:
  33192. $ref: '#/definitions/app.Response'
  33193. security:
  33194. - ApiKeyAuth: []
  33195. summary: 我的优惠卷持仓查询
  33196. tags:
  33197. - 定制【海商报业】
  33198. /HSBY/QueryMyCoupons:
  33199. get:
  33200. parameters:
  33201. - description: 资金账户列表,格式:1,2,3
  33202. in: query
  33203. name: accountIDs
  33204. required: true
  33205. type: string
  33206. - description: 商品ID, 一般与sellUserID配套传入
  33207. in: query
  33208. name: goodsID
  33209. type: integer
  33210. - description: 卖方UserID
  33211. in: query
  33212. name: sellUserID
  33213. type: integer
  33214. produces:
  33215. - application/json
  33216. responses:
  33217. "200":
  33218. description: OK
  33219. schema:
  33220. $ref: '#/definitions/models.MyCoupon'
  33221. "500":
  33222. description: Internal Server Error
  33223. schema:
  33224. $ref: '#/definitions/app.Response'
  33225. security:
  33226. - ApiKeyAuth: []
  33227. summary: 我的优惠卷查询
  33228. tags:
  33229. - 定制【海商报业】
  33230. /HSBY/QueryMyPayOrders:
  33231. get:
  33232. parameters:
  33233. - description: 页码
  33234. in: query
  33235. name: page
  33236. type: integer
  33237. - description: 每页条数
  33238. in: query
  33239. name: pagesize
  33240. type: integer
  33241. - description: 资金账户列表,格式:1,2,3
  33242. in: query
  33243. name: accountIDs
  33244. required: true
  33245. type: string
  33246. - description: 买方委托单号
  33247. in: query
  33248. name: buyOrderID
  33249. type: integer
  33250. - description: 卖方委托单号
  33251. in: query
  33252. name: sellOrderID
  33253. type: integer
  33254. produces:
  33255. - application/json
  33256. responses:
  33257. "200":
  33258. description: OK
  33259. schema:
  33260. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  33261. "500":
  33262. description: Internal Server Error
  33263. schema:
  33264. $ref: '#/definitions/app.Response'
  33265. security:
  33266. - ApiKeyAuth: []
  33267. summary: 获取我的订单中待付款信息
  33268. tags:
  33269. - 定制【海商报业】
  33270. /HSBY/QueryMyUsedCoupon:
  33271. get:
  33272. parameters:
  33273. - description: 资金账户列表,格式:1,2,3
  33274. in: query
  33275. name: accountIDs
  33276. required: true
  33277. type: string
  33278. produces:
  33279. - application/json
  33280. responses:
  33281. "200":
  33282. description: OK
  33283. schema:
  33284. $ref: '#/definitions/models.MyUsedCoupon'
  33285. "500":
  33286. description: Internal Server Error
  33287. schema:
  33288. $ref: '#/definitions/app.Response'
  33289. security:
  33290. - ApiKeyAuth: []
  33291. summary: 已使用优惠卷查询
  33292. tags:
  33293. - 定制【海商报业】
  33294. /HSBY/QueryProvincesAndCities:
  33295. get:
  33296. description: 查询结果只包括二级市场商品已关连的省市信息。
  33297. parameters:
  33298. - description: 省ID
  33299. in: query
  33300. name: provinceID
  33301. type: integer
  33302. produces:
  33303. - application/json
  33304. responses:
  33305. "200":
  33306. description: OK
  33307. schema:
  33308. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  33309. "500":
  33310. description: Internal Server Error
  33311. schema:
  33312. $ref: '#/definitions/app.Response'
  33313. security:
  33314. - ApiKeyAuth: []
  33315. summary: 查询省市信息(不包括区)
  33316. tags:
  33317. - 定制【海商报业】
  33318. /HSBY/SetHsbyMyPackagesStatus:
  33319. post:
  33320. parameters:
  33321. - description: 提货单号
  33322. in: query
  33323. name: takeOrderID
  33324. required: true
  33325. type: string
  33326. - description: 资金账号
  33327. in: query
  33328. name: accountID
  33329. required: true
  33330. type: integer
  33331. produces:
  33332. - application/json
  33333. responses:
  33334. "200":
  33335. description: OK
  33336. schema:
  33337. $ref: '#/definitions/app.Response'
  33338. "500":
  33339. description: Internal Server Error
  33340. schema:
  33341. $ref: '#/definitions/app.Response'
  33342. security:
  33343. - ApiKeyAuth: []
  33344. summary: 设置我的包裹已收货状态
  33345. tags:
  33346. - 定制【海商报业】
  33347. /Market/GetAllExExchanges:
  33348. get:
  33349. produces:
  33350. - application/json
  33351. responses:
  33352. "200":
  33353. description: OK
  33354. schema:
  33355. $ref: '#/definitions/models.Goods'
  33356. "500":
  33357. description: Internal Server Error
  33358. schema:
  33359. $ref: '#/definitions/app.Response'
  33360. security:
  33361. - ApiKeyAuth: []
  33362. summary: 获取所有外部交易所信息
  33363. tags:
  33364. - 通用市场
  33365. /Market/QueryGoodsesByLoginID:
  33366. get:
  33367. parameters:
  33368. - description: 登录账号
  33369. in: query
  33370. name: loginID
  33371. required: true
  33372. type: integer
  33373. - description: 市场ID列表,格式:1,2,3
  33374. in: query
  33375. name: marketIDs
  33376. type: string
  33377. produces:
  33378. - application/json
  33379. responses:
  33380. "200":
  33381. description: OK
  33382. schema:
  33383. $ref: '#/definitions/models.Goods'
  33384. "500":
  33385. description: Internal Server Error
  33386. schema:
  33387. $ref: '#/definitions/app.Response'
  33388. security:
  33389. - ApiKeyAuth: []
  33390. summary: 获取登录账号有权限的商品信息
  33391. tags:
  33392. - 通用市场
  33393. /Market/QueryMarketRun:
  33394. get:
  33395. parameters:
  33396. - description: 市场ID,不传返回所有
  33397. in: query
  33398. name: marketID
  33399. type: integer
  33400. produces:
  33401. - application/json
  33402. responses:
  33403. "200":
  33404. description: OK
  33405. schema:
  33406. $ref: '#/definitions/models.Marketrun'
  33407. "500":
  33408. description: Internal Server Error
  33409. schema:
  33410. $ref: '#/definitions/app.Response'
  33411. security:
  33412. - ApiKeyAuth: []
  33413. summary: 查询市场运行信息
  33414. tags:
  33415. - 通用市场
  33416. /Market/QueryMarketsByLoginID:
  33417. get:
  33418. parameters:
  33419. - description: 登录账号
  33420. in: query
  33421. name: loginID
  33422. required: true
  33423. type: integer
  33424. produces:
  33425. - application/json
  33426. responses:
  33427. "200":
  33428. description: OK
  33429. schema:
  33430. $ref: '#/definitions/models.Market'
  33431. "500":
  33432. description: Internal Server Error
  33433. schema:
  33434. $ref: '#/definitions/app.Response'
  33435. security:
  33436. - ApiKeyAuth: []
  33437. summary: 获取登录账号有权限的市场信息
  33438. tags:
  33439. - 通用市场
  33440. /Order/QueryHisTradeDetail:
  33441. get:
  33442. parameters:
  33443. - description: 资金账户 - 格式:1,2,3
  33444. in: query
  33445. name: accountID
  33446. required: true
  33447. type: string
  33448. - description: 成交单号
  33449. in: query
  33450. name: tradeID
  33451. type: integer
  33452. - description: 委托单号
  33453. in: query
  33454. name: orderID
  33455. type: integer
  33456. - description: 商品ID
  33457. in: query
  33458. name: goodsID
  33459. type: integer
  33460. - description: 交易模式 - 格式:1,2,3
  33461. in: query
  33462. name: tradeMode
  33463. type: string
  33464. - description: 委托单据类型
  33465. in: query
  33466. name: buildType
  33467. type: integer
  33468. - description: 成交类别 - 格式:1,2,3
  33469. in: query
  33470. name: tradeType
  33471. type: string
  33472. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33473. in: query
  33474. name: startDate
  33475. type: string
  33476. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33477. in: query
  33478. name: endDate
  33479. type: string
  33480. produces:
  33481. - application/json
  33482. responses:
  33483. "200":
  33484. description: OK
  33485. schema:
  33486. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  33487. "500":
  33488. description: Internal Server Error
  33489. schema:
  33490. $ref: '#/definitions/app.Response'
  33491. security:
  33492. - ApiKeyAuth: []
  33493. summary: 历史成交单查询(合约市场)
  33494. tags:
  33495. - 通用单据
  33496. /Order/QueryHisTradeOrderDetail:
  33497. get:
  33498. parameters:
  33499. - description: 资金账户 - 格式:1,2,3
  33500. in: query
  33501. name: accountID
  33502. required: true
  33503. type: string
  33504. - description: 交易模式 - 格式:1,2,3
  33505. in: query
  33506. name: tradeMode
  33507. type: string
  33508. - description: 委托状态 - 格式:1,2,3
  33509. in: query
  33510. name: orderStatus
  33511. type: string
  33512. - description: 委托单号
  33513. in: query
  33514. name: orderID
  33515. type: integer
  33516. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33517. in: query
  33518. name: startDate
  33519. type: string
  33520. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33521. in: query
  33522. name: endDate
  33523. type: string
  33524. produces:
  33525. - application/json
  33526. responses:
  33527. "200":
  33528. description: OK
  33529. schema:
  33530. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  33531. "500":
  33532. description: Internal Server Error
  33533. schema:
  33534. $ref: '#/definitions/app.Response'
  33535. security:
  33536. - ApiKeyAuth: []
  33537. summary: 历史委托单查询请求(合约市场)
  33538. tags:
  33539. - 通用单据
  33540. /Order/QueryTradeDetail:
  33541. get:
  33542. parameters:
  33543. - description: 资金账户 - 格式:1,2,3
  33544. in: query
  33545. name: accountID
  33546. required: true
  33547. type: string
  33548. - description: 成交单号
  33549. in: query
  33550. name: tradeID
  33551. type: integer
  33552. - description: 委托单号
  33553. in: query
  33554. name: orderID
  33555. type: integer
  33556. - description: 交易模式 - 格式:1,2,3
  33557. in: query
  33558. name: tradeMode
  33559. type: string
  33560. - description: 委托单据类型
  33561. in: query
  33562. name: buildType
  33563. type: integer
  33564. - description: 成交类别 - 格式:1,2,3
  33565. in: query
  33566. name: tradeType
  33567. type: string
  33568. - description: 商品ID
  33569. in: query
  33570. name: goodsID
  33571. type: integer
  33572. produces:
  33573. - application/json
  33574. responses:
  33575. "200":
  33576. description: OK
  33577. schema:
  33578. $ref: '#/definitions/order.QueryTradeDetailRsp'
  33579. "500":
  33580. description: Internal Server Error
  33581. schema:
  33582. $ref: '#/definitions/app.Response'
  33583. security:
  33584. - ApiKeyAuth: []
  33585. summary: 成交单查询(合约市场)
  33586. tags:
  33587. - 通用单据
  33588. /Order/QueryTradeHolderDetail:
  33589. get:
  33590. parameters:
  33591. - description: 用户id
  33592. in: query
  33593. name: userid
  33594. type: integer
  33595. - description: 资金账号, 格式 1,2,3
  33596. in: query
  33597. name: accids
  33598. type: string
  33599. - description: 交易模式, 格式 1,2,3
  33600. in: query
  33601. name: trademodes
  33602. type: string
  33603. - description: 市场id, 格式 1,2,3
  33604. in: query
  33605. name: marketids
  33606. type: string
  33607. - description: 商品id
  33608. in: query
  33609. name: goodsid
  33610. type: integer
  33611. - description: 买卖方向 0-买 1-卖
  33612. in: query
  33613. name: buyorsell
  33614. type: integer
  33615. produces:
  33616. - application/json
  33617. responses:
  33618. "200":
  33619. description: OK
  33620. schema:
  33621. items:
  33622. $ref: '#/definitions/models.TradeHolderDetail'
  33623. type: array
  33624. "500":
  33625. description: Internal Server Error
  33626. schema:
  33627. $ref: '#/definitions/app.Response'
  33628. security:
  33629. - ApiKeyAuth: []
  33630. summary: 查询持仓明细
  33631. tags:
  33632. - 通用单据
  33633. /Order/QueryTradeOrderDetail:
  33634. get:
  33635. parameters:
  33636. - description: 资金账户 - 格式:1,2,3
  33637. in: query
  33638. name: accountID
  33639. required: true
  33640. type: string
  33641. - description: 交易模式 - 格式:1,2,3
  33642. in: query
  33643. name: tradeMode
  33644. type: string
  33645. - description: 委托状态 - 格式:1,2,3
  33646. in: query
  33647. name: orderStatus
  33648. type: string
  33649. - description: 委托单号
  33650. in: query
  33651. name: orderID
  33652. type: integer
  33653. produces:
  33654. - application/json
  33655. responses:
  33656. "200":
  33657. description: OK
  33658. schema:
  33659. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  33660. "500":
  33661. description: Internal Server Error
  33662. schema:
  33663. $ref: '#/definitions/app.Response'
  33664. security:
  33665. - ApiKeyAuth: []
  33666. summary: 委托单查询请求(合约市场)
  33667. tags:
  33668. - 通用单据
  33669. /Order/QueryTradePosition:
  33670. get:
  33671. parameters:
  33672. - description: 资金账户 - 格式:1,2,3
  33673. in: query
  33674. name: accountID
  33675. required: true
  33676. type: string
  33677. - description: 交易模式 - 格式:1,2,3
  33678. in: query
  33679. name: tradeMode
  33680. type: string
  33681. produces:
  33682. - application/json
  33683. responses:
  33684. "200":
  33685. description: OK
  33686. schema:
  33687. $ref: '#/definitions/order.QueryTradePositionRsp'
  33688. "500":
  33689. description: Internal Server Error
  33690. schema:
  33691. $ref: '#/definitions/app.Response'
  33692. security:
  33693. - ApiKeyAuth: []
  33694. summary: 持仓汇总查询(合约市场)
  33695. tags:
  33696. - 通用单据
  33697. /Qhj/QueryAccountInOutApply:
  33698. get:
  33699. parameters:
  33700. - description: 用户ID
  33701. in: query
  33702. name: userid
  33703. required: true
  33704. type: integer
  33705. - description: 申请起始日期(格式yyyymmdd)
  33706. in: query
  33707. name: begindate
  33708. type: string
  33709. - description: 申请截止日期(格式yyyymmdd)
  33710. in: query
  33711. name: enddate
  33712. type: string
  33713. - description: 模糊搜索名称
  33714. in: query
  33715. name: likename
  33716. type: string
  33717. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  33718. in: query
  33719. name: applystatus
  33720. type: integer
  33721. - description: 查询类型 1-提现(出金) 2-充值(入金)
  33722. in: query
  33723. name: querytype
  33724. type: integer
  33725. produces:
  33726. - application/json
  33727. responses:
  33728. "200":
  33729. description: OK
  33730. schema:
  33731. items:
  33732. $ref: '#/definitions/models.QhjAccountOutInApply'
  33733. type: array
  33734. "500":
  33735. description: Internal Server Error
  33736. schema:
  33737. $ref: '#/definitions/app.Response'
  33738. security:
  33739. - ApiKeyAuth: []
  33740. summary: 查询充值提现
  33741. tags:
  33742. - 大连千海金
  33743. /Qhj/QueryAreaFinanceConfig:
  33744. get:
  33745. parameters:
  33746. - description: 机构用户ID 其他做市关系,都设置为 1
  33747. in: query
  33748. name: userid
  33749. type: integer
  33750. produces:
  33751. - application/json
  33752. responses:
  33753. "200":
  33754. description: OK
  33755. schema:
  33756. items:
  33757. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  33758. type: array
  33759. "500":
  33760. description: Internal Server Error
  33761. schema:
  33762. $ref: '#/definitions/app.Response'
  33763. security:
  33764. - ApiKeyAuth: []
  33765. summary: 查询企业配置表
  33766. tags:
  33767. - 大连千海金
  33768. /Qhj/QueryBankAccountSign:
  33769. get:
  33770. parameters:
  33771. - description: 用户ID
  33772. in: query
  33773. name: userid
  33774. required: true
  33775. type: integer
  33776. produces:
  33777. - application/json
  33778. responses:
  33779. "200":
  33780. description: OK
  33781. schema:
  33782. items:
  33783. $ref: '#/definitions/models.QhjBankAccountSign'
  33784. type: array
  33785. "500":
  33786. description: Internal Server Error
  33787. schema:
  33788. $ref: '#/definitions/app.Response'
  33789. security:
  33790. - ApiKeyAuth: []
  33791. summary: 查询签约银行信息(提现账户管理)
  33792. tags:
  33793. - 大连千海金
  33794. /Qhj/QueryBankInfo:
  33795. get:
  33796. produces:
  33797. - application/json
  33798. responses:
  33799. "200":
  33800. description: OK
  33801. schema:
  33802. items:
  33803. $ref: '#/definitions/models.QhjBankInfo'
  33804. type: array
  33805. "500":
  33806. description: Internal Server Error
  33807. schema:
  33808. $ref: '#/definitions/app.Response'
  33809. security:
  33810. - ApiKeyAuth: []
  33811. summary: 查询开户行
  33812. tags:
  33813. - 大连千海金
  33814. /Qhj/QueryBrokerApply:
  33815. get:
  33816. parameters:
  33817. - description: 所属机构ID
  33818. in: query
  33819. name: userid
  33820. type: integer
  33821. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  33822. in: query
  33823. name: filterstatus
  33824. type: string
  33825. produces:
  33826. - application/json
  33827. responses:
  33828. "200":
  33829. description: OK
  33830. schema:
  33831. items:
  33832. $ref: '#/definitions/models.QhjBrokerApply'
  33833. type: array
  33834. "500":
  33835. description: Internal Server Error
  33836. schema:
  33837. $ref: '#/definitions/app.Response'
  33838. security:
  33839. - ApiKeyAuth: []
  33840. summary: 查询经纪人申请
  33841. tags:
  33842. - 大连千海金
  33843. /Qhj/QueryBrokerApplyEx:
  33844. get:
  33845. parameters:
  33846. - description: 所属机构ID
  33847. in: query
  33848. name: userid
  33849. type: integer
  33850. produces:
  33851. - application/json
  33852. responses:
  33853. "200":
  33854. description: OK
  33855. schema:
  33856. items:
  33857. $ref: '#/definitions/models.QhjBrokerApplyEx'
  33858. type: array
  33859. "500":
  33860. description: Internal Server Error
  33861. schema:
  33862. $ref: '#/definitions/app.Response'
  33863. security:
  33864. - ApiKeyAuth: []
  33865. summary: 查询经纪人信息和申请记录
  33866. tags:
  33867. - 大连千海金
  33868. /Qhj/QueryBrokerRewardLog:
  33869. get:
  33870. parameters:
  33871. - description: 用户ID
  33872. in: query
  33873. name: userid
  33874. required: true
  33875. type: integer
  33876. - description: 开始交易日(yyyymmdd)
  33877. in: query
  33878. name: begindate
  33879. type: string
  33880. - description: 结束交易日(yyyymmdd)
  33881. in: query
  33882. name: enddate
  33883. type: string
  33884. produces:
  33885. - application/json
  33886. responses:
  33887. "200":
  33888. description: OK
  33889. schema:
  33890. items:
  33891. $ref: '#/definitions/models.QhjBrokerRewardLog'
  33892. type: array
  33893. "500":
  33894. description: Internal Server Error
  33895. schema:
  33896. $ref: '#/definitions/app.Response'
  33897. security:
  33898. - ApiKeyAuth: []
  33899. summary: 查询奖励流水(我的奖励)
  33900. tags:
  33901. - 大连千海金
  33902. /Qhj/QueryContract:
  33903. get:
  33904. parameters:
  33905. - description: 用户ID
  33906. in: query
  33907. name: userid
  33908. type: integer
  33909. - description: scf合同id
  33910. in: query
  33911. name: scfcontractid
  33912. type: integer
  33913. produces:
  33914. - application/json
  33915. responses:
  33916. "200":
  33917. description: OK
  33918. schema:
  33919. items:
  33920. $ref: '#/definitions/models.QhjContract'
  33921. type: array
  33922. "500":
  33923. description: Internal Server Error
  33924. schema:
  33925. $ref: '#/definitions/app.Response'
  33926. security:
  33927. - ApiKeyAuth: []
  33928. summary: 查询融资明细(合同)
  33929. tags:
  33930. - 大连千海金
  33931. /Qhj/QueryContractLog:
  33932. get:
  33933. parameters:
  33934. - description: scf合同id
  33935. in: query
  33936. name: scfcontractid
  33937. required: true
  33938. type: integer
  33939. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  33940. in: query
  33941. name: amounttype
  33942. type: string
  33943. produces:
  33944. - application/json
  33945. responses:
  33946. "200":
  33947. description: OK
  33948. schema:
  33949. items:
  33950. $ref: '#/definitions/models.QhjContractLog'
  33951. type: array
  33952. "500":
  33953. description: Internal Server Error
  33954. schema:
  33955. $ref: '#/definitions/app.Response'
  33956. security:
  33957. - ApiKeyAuth: []
  33958. summary: 查询融资明细流水(融资明细详情页中的流水)
  33959. tags:
  33960. - 大连千海金
  33961. /Qhj/QueryCusBankSignBank:
  33962. get:
  33963. produces:
  33964. - application/json
  33965. responses:
  33966. "200":
  33967. description: OK
  33968. schema:
  33969. items:
  33970. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  33971. type: array
  33972. "500":
  33973. description: Internal Server Error
  33974. schema:
  33975. $ref: '#/definitions/app.Response'
  33976. security:
  33977. - ApiKeyAuth: []
  33978. summary: 查询托管银行
  33979. tags:
  33980. - 大连千海金
  33981. /Qhj/QueryCustomerInfo:
  33982. get:
  33983. parameters:
  33984. - description: 用户ID
  33985. in: query
  33986. name: userid
  33987. required: true
  33988. type: integer
  33989. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  33990. in: query
  33991. name: querytype
  33992. required: true
  33993. type: integer
  33994. - description: 客户类型 1-个人 2-企业
  33995. in: query
  33996. name: userinfotype
  33997. type: integer
  33998. - description: 客户名称(模糊匹配)
  33999. in: query
  34000. name: customername
  34001. type: string
  34002. - description: 昵称(模糊匹配)
  34003. in: query
  34004. name: nickname
  34005. type: string
  34006. - description: 是否包含子级 1-包含
  34007. in: query
  34008. name: includesub
  34009. type: integer
  34010. produces:
  34011. - application/json
  34012. responses:
  34013. "200":
  34014. description: OK
  34015. schema:
  34016. items:
  34017. $ref: '#/definitions/models.QhjCustomer'
  34018. type: array
  34019. "500":
  34020. description: Internal Server Error
  34021. schema:
  34022. $ref: '#/definitions/app.Response'
  34023. security:
  34024. - ApiKeyAuth: []
  34025. summary: 查询客户资料
  34026. tags:
  34027. - 大连千海金
  34028. /Qhj/QueryGoodsEx:
  34029. get:
  34030. parameters:
  34031. - description: 商品id
  34032. in: query
  34033. name: goodsid
  34034. type: integer
  34035. produces:
  34036. - application/json
  34037. responses:
  34038. "200":
  34039. description: OK
  34040. schema:
  34041. items:
  34042. $ref: '#/definitions/models.Qhjgoodsex'
  34043. type: array
  34044. "500":
  34045. description: Internal Server Error
  34046. schema:
  34047. $ref: '#/definitions/app.Response'
  34048. security:
  34049. - ApiKeyAuth: []
  34050. summary: 交易商品扩展表
  34051. tags:
  34052. - 大连千海金
  34053. /Qhj/QueryMyTeam:
  34054. get:
  34055. parameters:
  34056. - description: 用户ID
  34057. in: query
  34058. name: userid
  34059. required: true
  34060. type: integer
  34061. produces:
  34062. - application/json
  34063. responses:
  34064. "200":
  34065. description: OK
  34066. schema:
  34067. items:
  34068. $ref: '#/definitions/models.QhjMyTeamEx'
  34069. type: array
  34070. "500":
  34071. description: Internal Server Error
  34072. schema:
  34073. $ref: '#/definitions/app.Response'
  34074. security:
  34075. - ApiKeyAuth: []
  34076. summary: 查询我的团队
  34077. tags:
  34078. - 大连千海金
  34079. /Qhj/QueryMyTeamOrder:
  34080. get:
  34081. parameters:
  34082. - description: 页码
  34083. in: query
  34084. name: page
  34085. type: integer
  34086. - description: 每页条数
  34087. in: query
  34088. name: pagesize
  34089. type: integer
  34090. - description: 用户ID
  34091. in: query
  34092. name: userid
  34093. required: true
  34094. type: integer
  34095. - description: 交易模式
  34096. in: query
  34097. name: trademode
  34098. type: integer
  34099. - description: 名称(模糊搜索账户)
  34100. in: query
  34101. name: filtername
  34102. type: string
  34103. produces:
  34104. - application/json
  34105. responses:
  34106. "200":
  34107. description: OK
  34108. schema:
  34109. items:
  34110. $ref: '#/definitions/models.QhjTeamOrder'
  34111. type: array
  34112. "500":
  34113. description: Internal Server Error
  34114. schema:
  34115. $ref: '#/definitions/app.Response'
  34116. security:
  34117. - ApiKeyAuth: []
  34118. summary: 查询团队订单(我的团队/团队订单)
  34119. tags:
  34120. - 大连千海金
  34121. /Qhj/QueryParentAreaList:
  34122. get:
  34123. parameters:
  34124. - description: 用户ID
  34125. in: query
  34126. name: userid
  34127. required: true
  34128. type: integer
  34129. produces:
  34130. - application/json
  34131. responses:
  34132. "200":
  34133. description: OK
  34134. schema:
  34135. items:
  34136. $ref: '#/definitions/models.QhjParentAreaList'
  34137. type: array
  34138. "500":
  34139. description: Internal Server Error
  34140. schema:
  34141. $ref: '#/definitions/app.Response'
  34142. security:
  34143. - ApiKeyAuth: []
  34144. summary: 查询所属机构列表
  34145. tags:
  34146. - 大连千海金
  34147. /Qhj/QueryPayOrder:
  34148. get:
  34149. parameters:
  34150. - description: 资金账号id
  34151. in: query
  34152. name: accountid
  34153. required: true
  34154. type: integer
  34155. - description: 成交单号
  34156. in: query
  34157. name: tradeid
  34158. type: integer
  34159. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34160. in: query
  34161. name: payflag
  34162. type: string
  34163. produces:
  34164. - application/json
  34165. responses:
  34166. "200":
  34167. description: OK
  34168. schema:
  34169. items:
  34170. $ref: '#/definitions/models.QhjPayOrder'
  34171. type: array
  34172. "500":
  34173. description: Internal Server Error
  34174. schema:
  34175. $ref: '#/definitions/app.Response'
  34176. security:
  34177. - ApiKeyAuth: []
  34178. summary: 查询待付款单据
  34179. tags:
  34180. - 大连千海金
  34181. /Qhj/QueryPickArea:
  34182. get:
  34183. parameters:
  34184. - description: 用户ID
  34185. in: query
  34186. name: userid
  34187. type: integer
  34188. produces:
  34189. - application/json
  34190. responses:
  34191. "200":
  34192. description: OK
  34193. schema:
  34194. items:
  34195. $ref: '#/definitions/models.QhjPickArea'
  34196. type: array
  34197. "500":
  34198. description: Internal Server Error
  34199. schema:
  34200. $ref: '#/definitions/app.Response'
  34201. security:
  34202. - ApiKeyAuth: []
  34203. summary: 查询提货门店
  34204. tags:
  34205. - 大连千海金
  34206. /Qhj/QueryPickGoods:
  34207. get:
  34208. parameters:
  34209. - description: 交易商品id
  34210. in: query
  34211. name: goodsid
  34212. required: true
  34213. type: integer
  34214. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34215. in: query
  34216. name: status
  34217. type: string
  34218. produces:
  34219. - application/json
  34220. responses:
  34221. "200":
  34222. description: OK
  34223. schema:
  34224. items:
  34225. $ref: '#/definitions/models.QhjPickGoods'
  34226. type: array
  34227. "500":
  34228. description: Internal Server Error
  34229. schema:
  34230. $ref: '#/definitions/app.Response'
  34231. security:
  34232. - ApiKeyAuth: []
  34233. summary: 查询提货商品
  34234. tags:
  34235. - 大连千海金
  34236. /Qhj/QueryRSTriggerLog:
  34237. get:
  34238. parameters:
  34239. - description: 用户ID
  34240. in: query
  34241. name: userid
  34242. type: integer
  34243. - description: 定投策略id
  34244. in: query
  34245. name: regularlystrategyid
  34246. type: integer
  34247. - description: 商品id
  34248. in: query
  34249. name: goodsid
  34250. type: integer
  34251. - description: 开始交易日(yyyymmdd)
  34252. in: query
  34253. name: begindate
  34254. type: string
  34255. - description: 结束交易日(yyyymmdd)
  34256. in: query
  34257. name: enddate
  34258. type: string
  34259. - description: 名称(模糊搜索账户)
  34260. in: query
  34261. name: filtername
  34262. type: string
  34263. produces:
  34264. - application/json
  34265. responses:
  34266. "200":
  34267. description: OK
  34268. schema:
  34269. items:
  34270. $ref: '#/definitions/models.QhjRSTriggerLog'
  34271. type: array
  34272. "500":
  34273. description: Internal Server Error
  34274. schema:
  34275. $ref: '#/definitions/app.Response'
  34276. security:
  34277. - ApiKeyAuth: []
  34278. summary: 查询定投记录(定投管理/详情/定投记录)
  34279. tags:
  34280. - 大连千海金
  34281. /Qhj/QueryRStrategy:
  34282. get:
  34283. parameters:
  34284. - description: 用户ID
  34285. in: query
  34286. name: userid
  34287. type: integer
  34288. - description: 商品id
  34289. in: query
  34290. name: goodsid
  34291. type: integer
  34292. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  34293. in: query
  34294. name: status
  34295. type: string
  34296. - description: 名称(模糊搜索账户)
  34297. in: query
  34298. name: filtername
  34299. type: string
  34300. produces:
  34301. - application/json
  34302. responses:
  34303. "200":
  34304. description: OK
  34305. schema:
  34306. items:
  34307. $ref: '#/definitions/models.QhjRStrategy'
  34308. type: array
  34309. "500":
  34310. description: Internal Server Error
  34311. schema:
  34312. $ref: '#/definitions/app.Response'
  34313. security:
  34314. - ApiKeyAuth: []
  34315. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  34316. tags:
  34317. - 大连千海金
  34318. /Qhj/QueryReckonPriceLog:
  34319. get:
  34320. parameters:
  34321. - description: 商品ID
  34322. in: query
  34323. name: goodsid
  34324. type: integer
  34325. - description: 交易日 格式(yyyymmdd)
  34326. in: query
  34327. name: tradedate
  34328. type: string
  34329. produces:
  34330. - application/json
  34331. responses:
  34332. "200":
  34333. description: OK
  34334. schema:
  34335. items:
  34336. $ref: '#/definitions/models.QhjReckonPriceLog'
  34337. type: array
  34338. "500":
  34339. description: Internal Server Error
  34340. schema:
  34341. $ref: '#/definitions/app.Response'
  34342. security:
  34343. - ApiKeyAuth: []
  34344. summary: 查询定投价(结算价)
  34345. tags:
  34346. - 大连千海金
  34347. /Qhj/QueryScoreLog:
  34348. get:
  34349. parameters:
  34350. - description: 用户ID
  34351. in: query
  34352. name: userid
  34353. required: true
  34354. type: integer
  34355. - description: 开始交易日(yyyymmdd)
  34356. in: query
  34357. name: begindate
  34358. type: string
  34359. - description: 结束交易日(yyyymmdd)
  34360. in: query
  34361. name: enddate
  34362. type: string
  34363. - description: 最近多少条
  34364. in: query
  34365. name: lastnum
  34366. type: integer
  34367. produces:
  34368. - application/json
  34369. responses:
  34370. "200":
  34371. description: OK
  34372. schema:
  34373. items:
  34374. $ref: '#/definitions/models.QhjScoreLog'
  34375. type: array
  34376. "500":
  34377. description: Internal Server Error
  34378. schema:
  34379. $ref: '#/definitions/app.Response'
  34380. security:
  34381. - ApiKeyAuth: []
  34382. summary: 查询积分流水(我的积分)
  34383. tags:
  34384. - 大连千海金
  34385. /Qhj/QuerySiteColumnDetail:
  34386. get:
  34387. parameters:
  34388. - description: 用户ID
  34389. in: query
  34390. name: userid
  34391. required: true
  34392. type: integer
  34393. produces:
  34394. - application/json
  34395. responses:
  34396. "200":
  34397. description: OK
  34398. schema:
  34399. items:
  34400. $ref: '#/definitions/models.QhjSiteColumnDetail'
  34401. type: array
  34402. "500":
  34403. description: Internal Server Error
  34404. schema:
  34405. $ref: '#/definitions/app.Response'
  34406. security:
  34407. - ApiKeyAuth: []
  34408. summary: 查询资讯
  34409. tags:
  34410. - 大连千海金
  34411. /Qhj/QueryTradeGoodsPickup:
  34412. get:
  34413. parameters:
  34414. - description: 用户ID
  34415. in: query
  34416. name: userid
  34417. required: true
  34418. type: integer
  34419. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  34420. 7:已拒绝 8:已撤销
  34421. in: query
  34422. name: takeorderstatus
  34423. type: integer
  34424. produces:
  34425. - application/json
  34426. responses:
  34427. "200":
  34428. description: OK
  34429. schema:
  34430. items:
  34431. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  34432. type: array
  34433. "500":
  34434. description: Internal Server Error
  34435. schema:
  34436. $ref: '#/definitions/app.Response'
  34437. security:
  34438. - ApiKeyAuth: []
  34439. summary: 查询提货
  34440. tags:
  34441. - 大连千海金
  34442. /Qhj/QueryUserCollectConfig:
  34443. get:
  34444. parameters:
  34445. - description: 用户ID
  34446. in: query
  34447. name: userid
  34448. required: true
  34449. type: integer
  34450. produces:
  34451. - application/json
  34452. responses:
  34453. "200":
  34454. description: OK
  34455. schema:
  34456. items:
  34457. $ref: '#/definitions/models.UserCollectConfig'
  34458. type: array
  34459. "500":
  34460. description: Internal Server Error
  34461. schema:
  34462. $ref: '#/definitions/app.Response'
  34463. security:
  34464. - ApiKeyAuth: []
  34465. summary: 查询提现账户设置
  34466. tags:
  34467. - 大连千海金
  34468. /Qhj/QueryUserReceiveInfo:
  34469. get:
  34470. parameters:
  34471. - description: 用户ID
  34472. in: query
  34473. name: userid
  34474. required: true
  34475. type: integer
  34476. produces:
  34477. - application/json
  34478. responses:
  34479. "200":
  34480. description: OK
  34481. schema:
  34482. items:
  34483. $ref: '#/definitions/models.UserReceiveInfo'
  34484. type: array
  34485. "500":
  34486. description: Internal Server Error
  34487. schema:
  34488. $ref: '#/definitions/app.Response'
  34489. security:
  34490. - ApiKeyAuth: []
  34491. summary: 查询收货地址信息
  34492. tags:
  34493. - 大连千海金
  34494. /QhjMgr/QueryAccountInOutApply:
  34495. get:
  34496. parameters:
  34497. - description: 查询类型 1-提现(出金) 2-充值(出金)
  34498. in: query
  34499. name: querytype
  34500. required: true
  34501. type: integer
  34502. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  34503. in: query
  34504. name: applystatus
  34505. type: integer
  34506. - description: 申请起始日期(格式yyyymmdd)
  34507. in: query
  34508. name: begindate
  34509. type: string
  34510. - description: 申请截止日期(格式yyyymmdd)
  34511. in: query
  34512. name: enddate
  34513. type: string
  34514. - description: 模糊搜索名称
  34515. in: query
  34516. name: likename
  34517. type: string
  34518. produces:
  34519. - application/json
  34520. responses:
  34521. "200":
  34522. description: OK
  34523. schema:
  34524. items:
  34525. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  34526. type: array
  34527. "500":
  34528. description: Internal Server Error
  34529. schema:
  34530. $ref: '#/definitions/app.Response'
  34531. security:
  34532. - ApiKeyAuth: []
  34533. summary: 查询充值提现
  34534. tags:
  34535. - 大连千海金(PCWeb)
  34536. /QhjMgr/QueryBrokerApply:
  34537. get:
  34538. parameters:
  34539. - description: 所属机构ID
  34540. in: query
  34541. name: userid
  34542. type: integer
  34543. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  34544. in: query
  34545. name: filterstatus
  34546. type: string
  34547. - description: 名称(模糊匹配)
  34548. in: query
  34549. name: filtername
  34550. type: string
  34551. - description: 是否包含子级 1-包含
  34552. in: query
  34553. name: includesub
  34554. type: integer
  34555. produces:
  34556. - application/json
  34557. responses:
  34558. "200":
  34559. description: OK
  34560. schema:
  34561. items:
  34562. $ref: '#/definitions/models.QhjMgrBrokerApply'
  34563. type: array
  34564. "500":
  34565. description: Internal Server Error
  34566. schema:
  34567. $ref: '#/definitions/app.Response'
  34568. security:
  34569. - ApiKeyAuth: []
  34570. summary: 查询经纪人申请
  34571. tags:
  34572. - 大连千海金(PCWeb)
  34573. /QhjMgr/QueryBrokerRewardReport:
  34574. get:
  34575. parameters:
  34576. - description: 所属机构ID
  34577. in: query
  34578. name: userid
  34579. required: true
  34580. type: integer
  34581. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  34582. in: query
  34583. name: cycletype
  34584. required: true
  34585. type: integer
  34586. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  34587. in: query
  34588. name: cycletime
  34589. required: true
  34590. type: string
  34591. - description: 名称(模糊匹配)
  34592. in: query
  34593. name: filtername
  34594. type: string
  34595. - description: 是否包含子级 1-包含
  34596. in: query
  34597. name: includesub
  34598. type: integer
  34599. produces:
  34600. - application/json
  34601. responses:
  34602. "200":
  34603. description: OK
  34604. schema:
  34605. items:
  34606. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  34607. type: array
  34608. "500":
  34609. description: Internal Server Error
  34610. schema:
  34611. $ref: '#/definitions/app.Response'
  34612. security:
  34613. - ApiKeyAuth: []
  34614. summary: 查询经纪人奖励报表(废弃)
  34615. tags:
  34616. - 大连千海金(PCWeb)
  34617. /QhjMgr/QueryContract:
  34618. get:
  34619. parameters:
  34620. - description: 用户ID
  34621. in: query
  34622. name: userid
  34623. type: integer
  34624. - description: 商品id
  34625. in: query
  34626. name: goodsid
  34627. type: integer
  34628. - description: 名称(模糊搜索账户)
  34629. in: query
  34630. name: filtername
  34631. type: string
  34632. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  34633. in: query
  34634. name: risklevel
  34635. type: string
  34636. - description: 开始交易日(yyyymmdd)
  34637. in: query
  34638. name: begindate
  34639. type: string
  34640. - description: 结束交易日(yyyymmdd)
  34641. in: query
  34642. name: enddate
  34643. type: string
  34644. produces:
  34645. - application/json
  34646. responses:
  34647. "200":
  34648. description: OK
  34649. schema:
  34650. items:
  34651. $ref: '#/definitions/models.QhjMgrContract'
  34652. type: array
  34653. "500":
  34654. description: Internal Server Error
  34655. schema:
  34656. $ref: '#/definitions/app.Response'
  34657. security:
  34658. - ApiKeyAuth: []
  34659. summary: 查询融资信息(合同)
  34660. tags:
  34661. - 大连千海金(PCWeb)
  34662. /QhjMgr/QueryCustomerInfo:
  34663. get:
  34664. parameters:
  34665. - description: 用户ID
  34666. in: query
  34667. name: userid
  34668. required: true
  34669. type: integer
  34670. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  34671. in: query
  34672. name: querytype
  34673. required: true
  34674. type: integer
  34675. - description: 客户类型 1-个人 2-企业
  34676. in: query
  34677. name: userinfotype
  34678. type: integer
  34679. - description: 客户名称(模糊匹配)
  34680. in: query
  34681. name: customername
  34682. type: string
  34683. - description: 昵称(模糊匹配)
  34684. in: query
  34685. name: nickname
  34686. type: string
  34687. - description: 所属客户经理(模糊匹配)
  34688. in: query
  34689. name: brokername
  34690. type: string
  34691. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  34692. 如0503 -5月3日)
  34693. in: query
  34694. name: birthday
  34695. type: string
  34696. - description: 是否包含子级 1-包含
  34697. in: query
  34698. name: includesub
  34699. type: integer
  34700. produces:
  34701. - application/json
  34702. responses:
  34703. "200":
  34704. description: OK
  34705. schema:
  34706. items:
  34707. $ref: '#/definitions/models.QhjMgrCustomer'
  34708. type: array
  34709. "500":
  34710. description: Internal Server Error
  34711. schema:
  34712. $ref: '#/definitions/app.Response'
  34713. security:
  34714. - ApiKeyAuth: []
  34715. summary: 查询客户资料
  34716. tags:
  34717. - 大连千海金(PCWeb)
  34718. /QhjMgr/QueryPickGoods:
  34719. get:
  34720. parameters:
  34721. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34722. in: query
  34723. name: status
  34724. type: string
  34725. produces:
  34726. - application/json
  34727. responses:
  34728. "200":
  34729. description: OK
  34730. schema:
  34731. items:
  34732. $ref: '#/definitions/models.QhjMgrPickGoods'
  34733. type: array
  34734. "500":
  34735. description: Internal Server Error
  34736. schema:
  34737. $ref: '#/definitions/app.Response'
  34738. security:
  34739. - ApiKeyAuth: []
  34740. summary: 查询提货商品
  34741. tags:
  34742. - 大连千海金(PCWeb)
  34743. /QhjMgr/QuerySubArea:
  34744. get:
  34745. parameters:
  34746. - description: 用户ID
  34747. in: query
  34748. name: userid
  34749. required: true
  34750. type: integer
  34751. produces:
  34752. - application/json
  34753. responses:
  34754. "200":
  34755. description: OK
  34756. schema:
  34757. items:
  34758. $ref: '#/definitions/models.QhjMgrSubArea'
  34759. type: array
  34760. "500":
  34761. description: Internal Server Error
  34762. schema:
  34763. $ref: '#/definitions/app.Response'
  34764. security:
  34765. - ApiKeyAuth: []
  34766. summary: 查询子机构列表
  34767. tags:
  34768. - 大连千海金(PCWeb)
  34769. /QhjMgr/QueryTradeDetail:
  34770. get:
  34771. parameters:
  34772. - description: 用户ID
  34773. in: query
  34774. name: userid
  34775. required: true
  34776. type: integer
  34777. - description: 用户类型 1-个人 2-企业
  34778. in: query
  34779. name: userinfotype
  34780. type: integer
  34781. - description: 交易模式
  34782. in: query
  34783. name: trademode
  34784. type: integer
  34785. - description: 商品id
  34786. in: query
  34787. name: goodsid
  34788. type: integer
  34789. - description: 名称(模糊搜索账户)
  34790. in: query
  34791. name: filtername
  34792. type: string
  34793. - description: 开始交易日(yyyymmdd)
  34794. in: query
  34795. name: begindate
  34796. type: string
  34797. - description: 结束交易日(yyyymmdd)
  34798. in: query
  34799. name: enddate
  34800. type: string
  34801. - description: 是否包含子级 1-包含
  34802. in: query
  34803. name: includesub
  34804. type: integer
  34805. produces:
  34806. - application/json
  34807. responses:
  34808. "200":
  34809. description: OK
  34810. schema:
  34811. items:
  34812. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  34813. type: array
  34814. "500":
  34815. description: Internal Server Error
  34816. schema:
  34817. $ref: '#/definitions/app.Response'
  34818. security:
  34819. - ApiKeyAuth: []
  34820. summary: 查询成交明细
  34821. tags:
  34822. - 大连千海金(PCWeb)
  34823. /QhjMgr/QueryTradeOrderDetail:
  34824. get:
  34825. parameters:
  34826. - description: 用户ID
  34827. in: query
  34828. name: userid
  34829. required: true
  34830. type: integer
  34831. - description: 用户类型 1-个人 2-企业
  34832. in: query
  34833. name: userinfotype
  34834. type: integer
  34835. - description: 交易模式
  34836. in: query
  34837. name: trademode
  34838. type: integer
  34839. - description: 商品id
  34840. in: query
  34841. name: goodsid
  34842. type: integer
  34843. - description: 名称(模糊搜索账户)
  34844. in: query
  34845. name: filtername
  34846. type: string
  34847. - description: 开始交易日(yyyymmdd)
  34848. in: query
  34849. name: begindate
  34850. type: string
  34851. - description: 结束交易日(yyyymmdd)
  34852. in: query
  34853. name: enddate
  34854. type: string
  34855. - description: 是否包含子级 1-包含
  34856. in: query
  34857. name: includesub
  34858. type: integer
  34859. produces:
  34860. - application/json
  34861. responses:
  34862. "200":
  34863. description: OK
  34864. schema:
  34865. items:
  34866. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  34867. type: array
  34868. "500":
  34869. description: Internal Server Error
  34870. schema:
  34871. $ref: '#/definitions/app.Response'
  34872. security:
  34873. - ApiKeyAuth: []
  34874. summary: 查询委托明细
  34875. tags:
  34876. - 大连千海金(PCWeb)
  34877. /QhjMgr/QueryTradePayOrder:
  34878. get:
  34879. parameters:
  34880. - description: 用户ID
  34881. in: query
  34882. name: userid
  34883. required: true
  34884. type: integer
  34885. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34886. in: query
  34887. name: payflag
  34888. type: string
  34889. - description: 用户类型 1-个人 2-企业
  34890. in: query
  34891. name: userinfotype
  34892. type: integer
  34893. - description: 交易模式
  34894. in: query
  34895. name: trademode
  34896. type: integer
  34897. - description: 商品id
  34898. in: query
  34899. name: goodsid
  34900. type: integer
  34901. - description: 名称(模糊搜索账户)
  34902. in: query
  34903. name: filtername
  34904. type: string
  34905. - description: 开始交易日(yyyymmdd)
  34906. in: query
  34907. name: begindate
  34908. type: string
  34909. - description: 结束交易日(yyyymmdd)
  34910. in: query
  34911. name: enddate
  34912. type: string
  34913. - description: 是否包含子级 1-包含
  34914. in: query
  34915. name: includesub
  34916. type: integer
  34917. produces:
  34918. - application/json
  34919. responses:
  34920. "200":
  34921. description: OK
  34922. schema:
  34923. items:
  34924. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  34925. type: array
  34926. "500":
  34927. description: Internal Server Error
  34928. schema:
  34929. $ref: '#/definitions/app.Response'
  34930. security:
  34931. - ApiKeyAuth: []
  34932. summary: 查询待付款单
  34933. tags:
  34934. - 大连千海金(PCWeb)
  34935. /QhjMgr/QueryTradePosition:
  34936. get:
  34937. parameters:
  34938. - description: 用户ID
  34939. in: query
  34940. name: userid
  34941. required: true
  34942. type: integer
  34943. - description: 用户类型 1-个人 2-企业
  34944. in: query
  34945. name: userinfotype
  34946. type: integer
  34947. - description: 交易模式
  34948. in: query
  34949. name: trademode
  34950. type: integer
  34951. - description: 商品id
  34952. in: query
  34953. name: goodsid
  34954. type: integer
  34955. - description: 名称(模糊搜索账户)
  34956. in: query
  34957. name: filtername
  34958. type: string
  34959. - description: 是否包含子级 1-包含
  34960. in: query
  34961. name: includesub
  34962. type: integer
  34963. produces:
  34964. - application/json
  34965. responses:
  34966. "200":
  34967. description: OK
  34968. schema:
  34969. items:
  34970. $ref: '#/definitions/models.QhjMgrPositionRsp'
  34971. type: array
  34972. "500":
  34973. description: Internal Server Error
  34974. schema:
  34975. $ref: '#/definitions/app.Response'
  34976. security:
  34977. - ApiKeyAuth: []
  34978. summary: 查询持仓汇总
  34979. tags:
  34980. - 大连千海金(PCWeb)
  34981. /QhjSys/QueryAgreementChangeLog:
  34982. get:
  34983. parameters:
  34984. - description: 协议ID
  34985. in: query
  34986. name: agreementid
  34987. type: integer
  34988. - description: 协议版本号
  34989. in: query
  34990. name: agreementversion
  34991. type: integer
  34992. - description: 协议类型 - 1:注册 2:登录 3:交易
  34993. in: query
  34994. name: agreementtype
  34995. type: integer
  34996. - description: 协议编号(模糊匹配)
  34997. in: query
  34998. name: agreementno
  34999. type: string
  35000. - description: 协议名称(模糊匹配)
  35001. in: query
  35002. name: agreementname
  35003. type: string
  35004. produces:
  35005. - application/json
  35006. responses:
  35007. "200":
  35008. description: OK
  35009. schema:
  35010. items:
  35011. $ref: '#/definitions/models.QhjAgreementChangeLog'
  35012. type: array
  35013. "500":
  35014. description: Internal Server Error
  35015. schema:
  35016. $ref: '#/definitions/app.Response'
  35017. security:
  35018. - ApiKeyAuth: []
  35019. summary: 查询协议配置变更流水
  35020. tags:
  35021. - 大连千海金(协议和签约信息)
  35022. /QhjSys/QueryAgreementConfig:
  35023. get:
  35024. parameters:
  35025. - description: 协议ID
  35026. in: query
  35027. name: agreementid
  35028. type: integer
  35029. - description: 协议版本号
  35030. in: query
  35031. name: agreementversion
  35032. type: integer
  35033. - description: 协议类型 - 1:注册 2:登录 3:交易
  35034. in: query
  35035. name: agreementtype
  35036. type: integer
  35037. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  35038. in: query
  35039. name: isvalid
  35040. type: integer
  35041. - description: 协议编号(模糊匹配)
  35042. in: query
  35043. name: agreementno
  35044. type: string
  35045. - description: 协议名称(模糊匹配)
  35046. in: query
  35047. name: agreementname
  35048. type: string
  35049. produces:
  35050. - application/json
  35051. responses:
  35052. "200":
  35053. description: OK
  35054. schema:
  35055. items:
  35056. $ref: '#/definitions/models.QhjAgreementConfig'
  35057. type: array
  35058. "500":
  35059. description: Internal Server Error
  35060. schema:
  35061. $ref: '#/definitions/app.Response'
  35062. security:
  35063. - ApiKeyAuth: []
  35064. summary: 查询协议配置
  35065. tags:
  35066. - 大连千海金(协议和签约信息)
  35067. /QhjSys/QueryCustomerSignStatus:
  35068. get:
  35069. parameters:
  35070. - description: 客户ID
  35071. in: query
  35072. name: userid
  35073. type: integer
  35074. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  35075. in: query
  35076. name: nodetype
  35077. type: integer
  35078. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35079. in: query
  35080. name: goodsid
  35081. type: integer
  35082. - description: 创建交易日(yyyyMMdd)
  35083. in: query
  35084. name: tradedate
  35085. type: string
  35086. - description: 用户名称(模糊匹配)
  35087. in: query
  35088. name: username
  35089. type: string
  35090. produces:
  35091. - application/json
  35092. responses:
  35093. "200":
  35094. description: OK
  35095. schema:
  35096. items:
  35097. $ref: '#/definitions/models.QhjCustomerSignStatus'
  35098. type: array
  35099. "500":
  35100. description: Internal Server Error
  35101. schema:
  35102. $ref: '#/definitions/app.Response'
  35103. security:
  35104. - ApiKeyAuth: []
  35105. summary: 查询客户协议签约状态
  35106. tags:
  35107. - 大连千海金(协议和签约信息)
  35108. /QhjSys/QueryNodeAgreementConfig:
  35109. get:
  35110. parameters:
  35111. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35112. in: query
  35113. name: configid
  35114. type: integer
  35115. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35116. in: query
  35117. name: nodetype
  35118. type: integer
  35119. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35120. in: query
  35121. name: goodsid
  35122. type: integer
  35123. - description: 协议ID
  35124. in: query
  35125. name: agreementid
  35126. type: integer
  35127. - description: 协议类型 - 1:注册 2:登录 3:交易
  35128. in: query
  35129. name: agreementtype
  35130. type: integer
  35131. - description: 协议版本号
  35132. in: query
  35133. name: agreementversion
  35134. type: integer
  35135. - description: 协议编号(模糊匹配)
  35136. in: query
  35137. name: agreementno
  35138. type: string
  35139. - description: 协议名称(模糊匹配)
  35140. in: query
  35141. name: agreementname
  35142. type: string
  35143. produces:
  35144. - application/json
  35145. responses:
  35146. "200":
  35147. description: OK
  35148. schema:
  35149. items:
  35150. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  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. - 大连千海金(协议和签约信息)
  35161. /QhjSys/QueryQhjCustomerSignLog:
  35162. get:
  35163. parameters:
  35164. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  35165. in: query
  35166. name: logid
  35167. type: integer
  35168. - description: 客户ID
  35169. in: query
  35170. name: userid
  35171. type: integer
  35172. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35173. in: query
  35174. name: nodetype
  35175. type: integer
  35176. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35177. in: query
  35178. name: goodsid
  35179. type: integer
  35180. - description: 协议ID
  35181. in: query
  35182. name: agreementid
  35183. type: integer
  35184. - description: 用户名称(模糊匹配)
  35185. in: query
  35186. name: username
  35187. type: string
  35188. - description: 协议编号(模糊匹配)
  35189. in: query
  35190. name: agreementno
  35191. type: string
  35192. - description: 协议名称(模糊匹配)
  35193. in: query
  35194. name: agreementname
  35195. type: string
  35196. produces:
  35197. - application/json
  35198. responses:
  35199. "200":
  35200. description: OK
  35201. schema:
  35202. items:
  35203. $ref: '#/definitions/models.QhjCustomerSignLog'
  35204. type: array
  35205. "500":
  35206. description: Internal Server Error
  35207. schema:
  35208. $ref: '#/definitions/app.Response'
  35209. security:
  35210. - ApiKeyAuth: []
  35211. summary: 查询客户协议签约流水
  35212. tags:
  35213. - 大连千海金(协议和签约信息)
  35214. /QhjSys/QueryUserNodeCfgAndStatus:
  35215. get:
  35216. parameters:
  35217. - description: 客户ID
  35218. in: query
  35219. name: userid
  35220. type: integer
  35221. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35222. in: query
  35223. name: configid
  35224. type: integer
  35225. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35226. in: query
  35227. name: nodetype
  35228. type: string
  35229. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35230. in: query
  35231. name: goodsid
  35232. type: integer
  35233. - description: 协议ID
  35234. in: query
  35235. name: agreementid
  35236. type: integer
  35237. - description: 协议类型 - 1:注册 2:登录 3:交易
  35238. in: query
  35239. name: agreementtype
  35240. type: integer
  35241. - description: 协议版本号
  35242. in: query
  35243. name: agreementversion
  35244. type: integer
  35245. - description: 协议编号(模糊匹配)
  35246. in: query
  35247. name: agreementno
  35248. type: string
  35249. - description: 协议名称(模糊匹配)
  35250. in: query
  35251. name: agreementname
  35252. type: string
  35253. produces:
  35254. - application/json
  35255. responses:
  35256. "200":
  35257. description: OK
  35258. schema:
  35259. items:
  35260. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  35261. type: array
  35262. "500":
  35263. description: Internal Server Error
  35264. schema:
  35265. $ref: '#/definitions/app.Response'
  35266. security:
  35267. - ApiKeyAuth: []
  35268. summary: 查询用户协议节点配置和状态
  35269. tags:
  35270. - 大连千海金(协议和签约信息)
  35271. /Quote/QueryHistoryDatas:
  35272. get:
  35273. parameters:
  35274. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  35275. 日线 12:周线 13:月线 14:年线'
  35276. in: query
  35277. name: cycleType
  35278. required: true
  35279. type: integer
  35280. - description: 商品代码
  35281. in: query
  35282. name: goodsCode
  35283. required: true
  35284. type: string
  35285. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35286. in: query
  35287. name: startTime
  35288. type: string
  35289. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35290. in: query
  35291. name: endTime
  35292. type: string
  35293. - description: 条数
  35294. in: query
  35295. name: count
  35296. type: integer
  35297. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35298. in: query
  35299. name: isAsc
  35300. type: boolean
  35301. produces:
  35302. - application/json
  35303. responses:
  35304. "200":
  35305. description: OK
  35306. schema:
  35307. $ref: '#/definitions/quote.HistoryData'
  35308. "500":
  35309. description: Internal Server Error
  35310. schema:
  35311. $ref: '#/definitions/app.Response'
  35312. security:
  35313. - ApiKeyAuth: []
  35314. summary: 查询行情历史数据
  35315. tags:
  35316. - 行情服务
  35317. /Quote/QueryHistoryTikDatas:
  35318. get:
  35319. parameters:
  35320. - description: 商品代码
  35321. in: query
  35322. name: goodsCode
  35323. required: true
  35324. type: string
  35325. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35326. in: query
  35327. name: startTime
  35328. type: string
  35329. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35330. in: query
  35331. name: endTime
  35332. type: string
  35333. - description: 条数
  35334. in: query
  35335. name: count
  35336. type: integer
  35337. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35338. in: query
  35339. name: isAsc
  35340. type: boolean
  35341. produces:
  35342. - application/json
  35343. responses:
  35344. "200":
  35345. description: OK
  35346. schema:
  35347. $ref: '#/definitions/quote.HistoryTikData'
  35348. "500":
  35349. description: Internal Server Error
  35350. schema:
  35351. $ref: '#/definitions/app.Response'
  35352. security:
  35353. - ApiKeyAuth: []
  35354. summary: 查询行情Tik数据
  35355. tags:
  35356. - 行情服务
  35357. /Quote/QueryQuoteDay:
  35358. get:
  35359. parameters:
  35360. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  35361. in: query
  35362. name: goodsCodes
  35363. type: string
  35364. produces:
  35365. - application/json
  35366. responses:
  35367. "200":
  35368. description: OK
  35369. schema:
  35370. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  35371. "500":
  35372. description: Internal Server Error
  35373. schema:
  35374. $ref: '#/definitions/app.Response'
  35375. security:
  35376. - ApiKeyAuth: []
  35377. summary: 获取商品盘面信息
  35378. tags:
  35379. - 行情服务
  35380. /Quote/QueryTSData:
  35381. get:
  35382. parameters:
  35383. - description: 商品代码
  35384. in: query
  35385. name: goodsCode
  35386. required: true
  35387. type: string
  35388. produces:
  35389. - application/json
  35390. responses:
  35391. "200":
  35392. description: OK
  35393. schema:
  35394. $ref: '#/definitions/quote.QueryTSDataRsp'
  35395. "500":
  35396. description: Internal Server Error
  35397. schema:
  35398. $ref: '#/definitions/app.Response'
  35399. security:
  35400. - ApiKeyAuth: []
  35401. summary: 分时图数据查询
  35402. tags:
  35403. - 行情服务
  35404. /SZDZ/QueryConvertConfig:
  35405. get:
  35406. parameters:
  35407. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  35408. 6:交易转花生米(不设置)
  35409. in: query
  35410. name: convertType
  35411. type: integer
  35412. - description: 外部商品代码[JD\PD]
  35413. in: query
  35414. name: outerGoodsCode
  35415. type: string
  35416. - description: 内部商品ID列表[交易],格式:1,2,3
  35417. in: query
  35418. name: innerGoodsIDs
  35419. type: string
  35420. produces:
  35421. - application/json
  35422. responses:
  35423. "200":
  35424. description: OK
  35425. schema:
  35426. $ref: '#/definitions/models.Szdz3convertconfig'
  35427. "500":
  35428. description: Internal Server Error
  35429. schema:
  35430. $ref: '#/definitions/app.Response'
  35431. security:
  35432. - ApiKeyAuth: []
  35433. summary: 查询交易系统转换设置
  35434. tags:
  35435. - 定制【尚志大宗】
  35436. /SZDZ/QueryConvertLog:
  35437. get:
  35438. parameters:
  35439. - description: 资金账户 - 格式:1,2,3
  35440. in: query
  35441. name: accountID
  35442. required: true
  35443. type: string
  35444. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35445. in: query
  35446. name: startDate
  35447. type: string
  35448. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35449. in: query
  35450. name: endDate
  35451. type: string
  35452. produces:
  35453. - application/json
  35454. responses:
  35455. "200":
  35456. description: OK
  35457. schema:
  35458. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  35459. "500":
  35460. description: Internal Server Error
  35461. schema:
  35462. $ref: '#/definitions/app.Response'
  35463. security:
  35464. - ApiKeyAuth: []
  35465. summary: 交易系统转换流水查询
  35466. tags:
  35467. - 定制【尚志大宗】
  35468. /SZDZ/QueryGoodsPickup:
  35469. get:
  35470. parameters:
  35471. - description: 资金账户 - 格式:1,2,3
  35472. in: query
  35473. name: accountID
  35474. required: true
  35475. type: string
  35476. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  35477. in: query
  35478. name: takeOrderStatus
  35479. type: integer
  35480. produces:
  35481. - application/json
  35482. responses:
  35483. "200":
  35484. description: OK
  35485. schema:
  35486. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  35487. "500":
  35488. description: Internal Server Error
  35489. schema:
  35490. $ref: '#/definitions/app.Response'
  35491. security:
  35492. - ApiKeyAuth: []
  35493. summary: 商品提货单查询
  35494. tags:
  35495. - 定制【尚志大宗】
  35496. /SZDZ/QueryRecieptOrder:
  35497. get:
  35498. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35499. parameters:
  35500. - description: 页码
  35501. in: query
  35502. name: page
  35503. type: integer
  35504. - description: 每页条数
  35505. in: query
  35506. name: pagesize
  35507. type: integer
  35508. - description: 商品ID
  35509. in: query
  35510. name: goodsID
  35511. required: true
  35512. type: integer
  35513. - description: 所属账户名称
  35514. in: query
  35515. name: accountName
  35516. type: string
  35517. - description: 市场ID
  35518. in: query
  35519. name: marketID
  35520. type: integer
  35521. - description: 方向 - 0:买 1:卖
  35522. in: query
  35523. name: buyorsell
  35524. required: true
  35525. type: integer
  35526. produces:
  35527. - application/json
  35528. responses:
  35529. "200":
  35530. description: OK
  35531. schema:
  35532. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  35533. "500":
  35534. description: Internal Server Error
  35535. schema:
  35536. $ref: '#/definitions/app.Response'
  35537. security:
  35538. - ApiKeyAuth: []
  35539. summary: 点选挂牌委托单据查询(摘牌大厅)
  35540. tags:
  35541. - 定制【尚志大宗】
  35542. /SZDZ/QuerySZDZTradePosition:
  35543. get:
  35544. parameters:
  35545. - description: 资金账户
  35546. in: query
  35547. name: accountID
  35548. required: true
  35549. type: integer
  35550. produces:
  35551. - application/json
  35552. responses:
  35553. "200":
  35554. description: OK
  35555. schema:
  35556. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  35557. "500":
  35558. description: Internal Server Error
  35559. schema:
  35560. $ref: '#/definitions/app.Response'
  35561. security:
  35562. - ApiKeyAuth: []
  35563. summary: 持仓汇总查询(尚志大宗)
  35564. tags:
  35565. - 定制【尚志大宗】
  35566. /SZDZ/SearchWhite:
  35567. get:
  35568. parameters:
  35569. - description: 用户ID
  35570. in: query
  35571. name: userID
  35572. required: true
  35573. type: integer
  35574. produces:
  35575. - application/json
  35576. responses:
  35577. "200":
  35578. description: OK
  35579. schema:
  35580. $ref: '#/definitions/models.Szdz3searchwhitelist'
  35581. "500":
  35582. description: Internal Server Error
  35583. schema:
  35584. $ref: '#/definitions/app.Response'
  35585. security:
  35586. - ApiKeyAuth: []
  35587. summary: 搜索白名单
  35588. tags:
  35589. - 定制【尚志大宗】
  35590. /Search/SearchGoodses:
  35591. get:
  35592. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  35593. parameters:
  35594. - description: 检索内容
  35595. in: query
  35596. name: content
  35597. required: true
  35598. type: string
  35599. - description: 交易模式,格式:1,2,3
  35600. in: query
  35601. name: tradeModes
  35602. type: string
  35603. produces:
  35604. - application/json
  35605. responses:
  35606. "200":
  35607. description: OK
  35608. schema:
  35609. $ref: '#/definitions/models.SearchGoods'
  35610. "500":
  35611. description: Internal Server Error
  35612. schema:
  35613. $ref: '#/definitions/app.Response'
  35614. summary: 检索商品信息
  35615. tags:
  35616. - 检索服务
  35617. /TaAccount/GetTaAccounts:
  35618. get:
  35619. parameters:
  35620. - description: 登录账户
  35621. in: query
  35622. name: loginID
  35623. required: true
  35624. type: integer
  35625. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  35626. in: query
  35627. name: taAccountType
  35628. type: integer
  35629. produces:
  35630. - application/json
  35631. responses:
  35632. "200":
  35633. description: OK
  35634. schema:
  35635. $ref: '#/definitions/models.Taaccount'
  35636. "500":
  35637. description: Internal Server Error
  35638. schema:
  35639. $ref: '#/definitions/app.Response'
  35640. security:
  35641. - ApiKeyAuth: []
  35642. summary: 获取资金账户信息
  35643. tags:
  35644. - 资金账户
  35645. /TaAccount/QueryAmountLog:
  35646. get:
  35647. parameters:
  35648. - description: 页码
  35649. in: query
  35650. name: page
  35651. type: integer
  35652. - description: 每页条数
  35653. in: query
  35654. name: pagesize
  35655. type: integer
  35656. - description: 分页标志 0-page从0开始 1-page从1开始
  35657. in: query
  35658. name: pageflag
  35659. type: integer
  35660. - description: 资金账户 - 格式:1,2,3
  35661. in: query
  35662. name: accountID
  35663. required: true
  35664. type: string
  35665. - description: 资金操作类型 - 格式:1,2,3
  35666. in: query
  35667. name: OperateType
  35668. type: string
  35669. produces:
  35670. - application/json
  35671. responses:
  35672. "200":
  35673. description: OK
  35674. schema:
  35675. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  35676. "500":
  35677. description: Internal Server Error
  35678. schema:
  35679. $ref: '#/definitions/app.Response'
  35680. security:
  35681. - ApiKeyAuth: []
  35682. summary: 资金流水查询(当前)
  35683. tags:
  35684. - 资金账户
  35685. /TaAccount/QueryHisAmountLog:
  35686. get:
  35687. parameters:
  35688. - description: 页码
  35689. in: query
  35690. name: page
  35691. type: integer
  35692. - description: 每页条数
  35693. in: query
  35694. name: pagesize
  35695. type: integer
  35696. - description: 分页标志 0-page从0开始 1-page从1开始
  35697. in: query
  35698. name: pageflag
  35699. type: integer
  35700. - description: 资金账户 - 格式:1,2,3
  35701. in: query
  35702. name: accountID
  35703. required: true
  35704. type: string
  35705. - description: 资金操作类型 - 格式:1,2,3
  35706. in: query
  35707. name: OperateType
  35708. type: string
  35709. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  35710. in: query
  35711. name: startDate
  35712. type: string
  35713. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  35714. in: query
  35715. name: endDate
  35716. type: string
  35717. produces:
  35718. - application/json
  35719. responses:
  35720. "200":
  35721. description: OK
  35722. schema:
  35723. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  35724. "500":
  35725. description: Internal Server Error
  35726. schema:
  35727. $ref: '#/definitions/app.Response'
  35728. security:
  35729. - ApiKeyAuth: []
  35730. summary: 资金流水查询(历史)
  35731. tags:
  35732. - 资金账户
  35733. /TaAccount/QueryRelatedTaAccount:
  35734. get:
  35735. parameters:
  35736. - description: 关联UserID
  35737. in: query
  35738. name: relateduserid
  35739. required: true
  35740. type: integer
  35741. produces:
  35742. - application/json
  35743. responses:
  35744. "200":
  35745. description: OK
  35746. schema:
  35747. items:
  35748. $ref: '#/definitions/models.RelatedTaAccount'
  35749. type: array
  35750. "500":
  35751. description: Internal Server Error
  35752. schema:
  35753. $ref: '#/definitions/app.Response'
  35754. security:
  35755. - ApiKeyAuth: []
  35756. summary: 查询关联资金账户信息
  35757. tags:
  35758. - 资金账户
  35759. /Tjmd/QueryQuoteGoodsList:
  35760. get:
  35761. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  35762. parameters:
  35763. - description: 用户类型
  35764. in: query
  35765. name: usertype
  35766. required: true
  35767. type: integer
  35768. - description: 市场id, 格式 1,2,3
  35769. in: query
  35770. name: marketids
  35771. type: string
  35772. - description: 商品组id
  35773. in: query
  35774. name: goodsgroupid
  35775. type: integer
  35776. - description: 商品id
  35777. in: query
  35778. name: goodsid
  35779. type: integer
  35780. produces:
  35781. - application/json
  35782. responses:
  35783. "200":
  35784. description: OK
  35785. schema:
  35786. items:
  35787. $ref: '#/definitions/models.TjmdQuoteGoods'
  35788. type: array
  35789. "500":
  35790. description: Internal Server Error
  35791. schema:
  35792. $ref: '#/definitions/app.Response'
  35793. security:
  35794. - ApiKeyAuth: []
  35795. summary: 查询掉期报价列表
  35796. tags:
  35797. - 天津麦顿
  35798. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  35799. get:
  35800. parameters:
  35801. - description: 成交单号
  35802. in: query
  35803. name: tradeid
  35804. required: true
  35805. type: string
  35806. produces:
  35807. - application/json
  35808. responses:
  35809. "200":
  35810. description: OK
  35811. schema:
  35812. items:
  35813. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  35814. type: array
  35815. "500":
  35816. description: Internal Server Error
  35817. schema:
  35818. $ref: '#/definitions/app.Response'
  35819. security:
  35820. - ApiKeyAuth: []
  35821. summary: 掉期商品订单详情(交易确认书)
  35822. tags:
  35823. - 天津麦顿
  35824. /Tjmd/QueryTjmdMarketSection:
  35825. get:
  35826. produces:
  35827. - application/json
  35828. responses:
  35829. "200":
  35830. description: OK
  35831. schema:
  35832. items:
  35833. $ref: '#/definitions/models.TjmdMarketSection'
  35834. type: array
  35835. "500":
  35836. description: Internal Server Error
  35837. schema:
  35838. $ref: '#/definitions/app.Response'
  35839. security:
  35840. - ApiKeyAuth: []
  35841. summary: 查询市场板块
  35842. tags:
  35843. - 天津麦顿
  35844. /Tjmd/QueryTjmdTodayAccountMargin:
  35845. get:
  35846. parameters:
  35847. - description: 市场id
  35848. in: query
  35849. name: marketid
  35850. type: string
  35851. - description: 商品id
  35852. in: query
  35853. name: goodsid
  35854. type: string
  35855. - description: 资金账号
  35856. in: query
  35857. name: accountid
  35858. type: string
  35859. produces:
  35860. - application/json
  35861. responses:
  35862. "200":
  35863. description: OK
  35864. schema:
  35865. items:
  35866. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  35867. type: array
  35868. "500":
  35869. description: Internal Server Error
  35870. schema:
  35871. $ref: '#/definitions/app.Response'
  35872. security:
  35873. - ApiKeyAuth: []
  35874. summary: 查询今日账户保证金配置
  35875. tags:
  35876. - 天津麦顿
  35877. /Tjmd/QueryTjmdTradeOrderDetail:
  35878. get:
  35879. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  35880. parameters:
  35881. - description: 页码
  35882. in: query
  35883. name: page
  35884. type: integer
  35885. - description: 每页条数
  35886. in: query
  35887. name: pagesize
  35888. type: integer
  35889. - description: 用户id
  35890. in: query
  35891. name: userid
  35892. required: true
  35893. type: integer
  35894. - description: 用户类型
  35895. in: query
  35896. name: usertype
  35897. required: true
  35898. type: integer
  35899. - description: 市场id, 格式 1,2,3
  35900. in: query
  35901. name: marketids
  35902. type: string
  35903. - description: 商品id
  35904. in: query
  35905. name: goodsid
  35906. required: true
  35907. type: integer
  35908. - description: 买卖方向 0-买 1-卖
  35909. in: query
  35910. name: buyorsell
  35911. required: true
  35912. type: integer
  35913. produces:
  35914. - application/json
  35915. responses:
  35916. "200":
  35917. description: OK
  35918. schema:
  35919. items:
  35920. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  35921. type: array
  35922. "500":
  35923. description: Internal Server Error
  35924. schema:
  35925. $ref: '#/definitions/app.Response'
  35926. security:
  35927. - ApiKeyAuth: []
  35928. summary: 查询掉期买卖大厅
  35929. tags:
  35930. - 天津麦顿
  35931. /Tjmd/QueryTjmdTransferApply:
  35932. get:
  35933. parameters:
  35934. - description: 类型 1-我的申请 2-对方申请
  35935. in: query
  35936. name: applytype
  35937. required: true
  35938. type: integer
  35939. - description: 市场id, 格式 1,2,3
  35940. in: query
  35941. name: marketids
  35942. type: string
  35943. - description: 资金账号, 格式 25000000001,25000000003
  35944. in: query
  35945. name: accountids
  35946. type: string
  35947. - description: 开始交易日(yyyymmdd)
  35948. in: query
  35949. name: begindate
  35950. type: string
  35951. - description: 结束交易日(yyyymmdd)
  35952. in: query
  35953. name: enddate
  35954. type: string
  35955. produces:
  35956. - application/json
  35957. responses:
  35958. "200":
  35959. description: OK
  35960. schema:
  35961. items:
  35962. $ref: '#/definitions/models.TjmdTransferApply'
  35963. type: array
  35964. "500":
  35965. description: Internal Server Error
  35966. schema:
  35967. $ref: '#/definitions/app.Response'
  35968. security:
  35969. - ApiKeyAuth: []
  35970. summary: 查询掉期协议单
  35971. tags:
  35972. - 天津麦顿
  35973. /Trade/QueryRecieptOrder:
  35974. get:
  35975. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35976. parameters:
  35977. - description: 页码
  35978. in: query
  35979. name: page
  35980. type: integer
  35981. - description: 每页条数
  35982. in: query
  35983. name: pagesize
  35984. type: integer
  35985. - description: 商品ID
  35986. in: query
  35987. name: goodsID
  35988. required: true
  35989. type: integer
  35990. - description: 所属账户名称
  35991. in: query
  35992. name: accountName
  35993. type: string
  35994. - description: 市场ID
  35995. in: query
  35996. name: marketID
  35997. type: integer
  35998. - description: 方向 - 0:买 1:卖
  35999. in: query
  36000. name: buyorsell
  36001. required: true
  36002. type: integer
  36003. produces:
  36004. - application/json
  36005. responses:
  36006. "200":
  36007. description: OK
  36008. schema:
  36009. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  36010. "500":
  36011. description: Internal Server Error
  36012. schema:
  36013. $ref: '#/definitions/app.Response'
  36014. security:
  36015. - ApiKeyAuth: []
  36016. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  36017. tags:
  36018. - 通用交易
  36019. /User/AddMessageBoard:
  36020. post:
  36021. parameters:
  36022. - description: 用户ID
  36023. in: query
  36024. name: userID
  36025. required: true
  36026. type: integer
  36027. - description: 留言信息
  36028. in: query
  36029. name: message
  36030. required: true
  36031. type: string
  36032. - description: 联系电话
  36033. in: query
  36034. name: contactNum
  36035. required: true
  36036. type: string
  36037. produces:
  36038. - application/json
  36039. responses:
  36040. "200":
  36041. description: OK
  36042. schema:
  36043. $ref: '#/definitions/app.Response'
  36044. "500":
  36045. description: Internal Server Error
  36046. schema:
  36047. $ref: '#/definitions/app.Response'
  36048. security:
  36049. - ApiKeyAuth: []
  36050. summary: 添加用户留言板信息
  36051. tags:
  36052. - 用户信息
  36053. /User/AddUserFavoriteGoods:
  36054. post:
  36055. parameters:
  36056. - description: 用户ID
  36057. in: query
  36058. name: userID
  36059. required: true
  36060. type: integer
  36061. - description: 商品ID
  36062. in: query
  36063. name: goodsID
  36064. required: true
  36065. type: integer
  36066. produces:
  36067. - application/json
  36068. responses:
  36069. "200":
  36070. description: OK
  36071. schema:
  36072. $ref: '#/definitions/app.Response'
  36073. "500":
  36074. description: Internal Server Error
  36075. schema:
  36076. $ref: '#/definitions/app.Response'
  36077. security:
  36078. - ApiKeyAuth: []
  36079. summary: 添加用户商品收藏信息
  36080. tags:
  36081. - 用户信息
  36082. /User/GetLoginID:
  36083. get:
  36084. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  36085. parameters:
  36086. - description: 登录代码
  36087. in: query
  36088. name: username
  36089. required: true
  36090. type: string
  36091. produces:
  36092. - application/json
  36093. responses:
  36094. "200":
  36095. description: OK
  36096. schema:
  36097. $ref: '#/definitions/app.Response'
  36098. "500":
  36099. description: Internal Server Error
  36100. schema:
  36101. $ref: '#/definitions/app.Response'
  36102. summary: 获取登录ID
  36103. tags:
  36104. - 用户信息
  36105. /User/GetUserAccount:
  36106. get:
  36107. parameters:
  36108. - description: 用户ID
  36109. in: query
  36110. name: userID
  36111. required: true
  36112. type: integer
  36113. produces:
  36114. - application/json
  36115. responses:
  36116. "200":
  36117. description: OK
  36118. schema:
  36119. $ref: '#/definitions/models.Useraccount'
  36120. "500":
  36121. description: Internal Server Error
  36122. schema:
  36123. $ref: '#/definitions/app.Response'
  36124. security:
  36125. - ApiKeyAuth: []
  36126. summary: 获取用户账号信息
  36127. tags:
  36128. - 用户信息
  36129. /User/GetUserAuthStatus:
  36130. get:
  36131. parameters:
  36132. - description: 用户ID
  36133. in: query
  36134. name: userID
  36135. required: true
  36136. type: integer
  36137. produces:
  36138. - application/json
  36139. responses:
  36140. "200":
  36141. description: OK
  36142. schema:
  36143. $ref: '#/definitions/app.Response'
  36144. "500":
  36145. description: Internal Server Error
  36146. schema:
  36147. $ref: '#/definitions/app.Response'
  36148. security:
  36149. - ApiKeyAuth: []
  36150. summary: 获取用户实名认证状态
  36151. tags:
  36152. - 用户信息
  36153. /User/LoginQuery:
  36154. get:
  36155. parameters:
  36156. - description: 登录账号
  36157. in: query
  36158. name: loginID
  36159. required: true
  36160. type: integer
  36161. produces:
  36162. - application/json
  36163. responses:
  36164. "200":
  36165. description: OK
  36166. schema:
  36167. $ref: '#/definitions/user.LoginQueryRsp'
  36168. "500":
  36169. description: Internal Server Error
  36170. schema:
  36171. $ref: '#/definitions/app.Response'
  36172. security:
  36173. - ApiKeyAuth: []
  36174. summary: 账户登录后信息查询
  36175. tags:
  36176. - 用户信息
  36177. /User/QueryMessageBoard:
  36178. get:
  36179. parameters:
  36180. - description: 用户ID
  36181. in: query
  36182. name: userID
  36183. required: true
  36184. type: integer
  36185. produces:
  36186. - application/json
  36187. responses:
  36188. "200":
  36189. description: OK
  36190. schema:
  36191. $ref: '#/definitions/models.Messageboard'
  36192. "500":
  36193. description: Internal Server Error
  36194. schema:
  36195. $ref: '#/definitions/app.Response'
  36196. security:
  36197. - ApiKeyAuth: []
  36198. summary: 获取用户留言板信息
  36199. tags:
  36200. - 用户信息
  36201. /User/QueryUserFavoriteGoodses:
  36202. get:
  36203. parameters:
  36204. - description: 用户ID
  36205. in: query
  36206. name: userID
  36207. required: true
  36208. type: integer
  36209. produces:
  36210. - application/json
  36211. responses:
  36212. "200":
  36213. description: OK
  36214. schema:
  36215. $ref: '#/definitions/models.Userfavoritegoods'
  36216. "500":
  36217. description: Internal Server Error
  36218. schema:
  36219. $ref: '#/definitions/app.Response'
  36220. security:
  36221. - ApiKeyAuth: []
  36222. summary: 获取用户商品收藏信息
  36223. tags:
  36224. - 用户信息
  36225. /User/QueryUserInfo:
  36226. get:
  36227. parameters:
  36228. - description: 用户ID
  36229. in: query
  36230. name: userID
  36231. required: true
  36232. type: integer
  36233. - description: 是否解密
  36234. in: query
  36235. name: isDecrypt
  36236. type: boolean
  36237. produces:
  36238. - application/json
  36239. responses:
  36240. "200":
  36241. description: OK
  36242. schema:
  36243. $ref: '#/definitions/models.Userinfo'
  36244. "500":
  36245. description: Internal Server Error
  36246. schema:
  36247. $ref: '#/definitions/app.Response'
  36248. security:
  36249. - ApiKeyAuth: []
  36250. summary: 获取用户信息
  36251. tags:
  36252. - 用户信息
  36253. /User/QueryUserReferNum:
  36254. get:
  36255. parameters:
  36256. - description: 用户ID
  36257. in: query
  36258. name: userID
  36259. required: true
  36260. type: integer
  36261. produces:
  36262. - application/json
  36263. responses:
  36264. "200":
  36265. description: OK
  36266. schema:
  36267. $ref: '#/definitions/app.Response'
  36268. "500":
  36269. description: Internal Server Error
  36270. schema:
  36271. $ref: '#/definitions/app.Response'
  36272. summary: 获取用户邀请码
  36273. tags:
  36274. - 用户信息
  36275. /User/RemoveUserFavoriteGoods:
  36276. post:
  36277. parameters:
  36278. - description: 用户ID
  36279. in: query
  36280. name: userID
  36281. required: true
  36282. type: integer
  36283. - description: 商品ID
  36284. in: query
  36285. name: goodsID
  36286. required: true
  36287. type: integer
  36288. produces:
  36289. - application/json
  36290. responses:
  36291. "200":
  36292. description: OK
  36293. schema:
  36294. $ref: '#/definitions/app.Response'
  36295. "500":
  36296. description: Internal Server Error
  36297. schema:
  36298. $ref: '#/definitions/app.Response'
  36299. security:
  36300. - ApiKeyAuth: []
  36301. summary: 移除用户商品收藏信息
  36302. tags:
  36303. - 用户信息
  36304. /User/UpdateUserAccountStatus:
  36305. post:
  36306. parameters:
  36307. - description: 用户ID
  36308. in: query
  36309. name: userID
  36310. required: true
  36311. type: integer
  36312. - description: 账户状态 - 4:正常 6:注销(停用)
  36313. in: query
  36314. name: accountStatus
  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/UpdateUserHeadUrl:
  36334. post:
  36335. parameters:
  36336. - description: 入参
  36337. in: body
  36338. name: data
  36339. required: true
  36340. schema:
  36341. $ref: '#/definitions/user.UpdateUserHeadUrlReq'
  36342. produces:
  36343. - application/json
  36344. responses:
  36345. "200":
  36346. description: OK
  36347. schema:
  36348. $ref: '#/definitions/app.Response'
  36349. "500":
  36350. description: Internal Server Error
  36351. schema:
  36352. $ref: '#/definitions/app.Response'
  36353. security:
  36354. - ApiKeyAuth: []
  36355. summary: 更新用户头像
  36356. tags:
  36357. - 用户信息
  36358. /WRTrade/GetAllDeliveryGoods:
  36359. get:
  36360. produces:
  36361. - application/json
  36362. responses:
  36363. "200":
  36364. description: OK
  36365. schema:
  36366. $ref: '#/definitions/app.Response'
  36367. "500":
  36368. description: Internal Server Error
  36369. schema:
  36370. $ref: '#/definitions/app.Response'
  36371. security:
  36372. - ApiKeyAuth: []
  36373. summary: 获取带仓单分类的种类信息
  36374. tags:
  36375. - 仓单贸易
  36376. - 仓单贸易
  36377. /WrTrade2/InsertXhcpSellBackApply:
  36378. post:
  36379. parameters:
  36380. - description: 回收申请
  36381. in: body
  36382. name: jsonBody
  36383. required: true
  36384. schema:
  36385. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  36386. produces:
  36387. - application/json
  36388. responses:
  36389. "200":
  36390. description: OK
  36391. schema:
  36392. $ref: '#/definitions/app.Response'
  36393. "500":
  36394. description: Internal Server Error
  36395. schema:
  36396. $ref: '#/definitions/app.Response'
  36397. security:
  36398. - ApiKeyAuth: []
  36399. summary: 新增回收申请(新会陈皮)
  36400. tags:
  36401. - 仓单贸易v2
  36402. /WrTrade2/QueryDeliveryGoodsSection:
  36403. get:
  36404. produces:
  36405. - application/json
  36406. responses:
  36407. "200":
  36408. description: OK
  36409. schema:
  36410. items:
  36411. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  36412. type: array
  36413. "500":
  36414. description: Internal Server Error
  36415. schema:
  36416. $ref: '#/definitions/app.Response'
  36417. security:
  36418. - ApiKeyAuth: []
  36419. summary: 查询板块(分类)
  36420. tags:
  36421. - 仓单贸易v2
  36422. /WrTrade2/QueryFaProductDetail:
  36423. get:
  36424. description: 页面 买卖大厅 -> 选择融资方案
  36425. parameters:
  36426. - description: 仓单要素id
  36427. in: query
  36428. name: wrfactortypeid
  36429. required: true
  36430. type: integer
  36431. produces:
  36432. - application/json
  36433. responses:
  36434. "200":
  36435. description: OK
  36436. schema:
  36437. items:
  36438. $ref: '#/definitions/models.WrFAProductDetail'
  36439. type: array
  36440. "500":
  36441. description: Internal Server Error
  36442. schema:
  36443. $ref: '#/definitions/app.Response'
  36444. security:
  36445. - ApiKeyAuth: []
  36446. summary: 查询融资产品列表
  36447. tags:
  36448. - 仓单贸易v2
  36449. /WrTrade2/QueryFilterItem:
  36450. get:
  36451. parameters:
  36452. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  36453. in: query
  36454. name: itype
  36455. required: true
  36456. type: string
  36457. produces:
  36458. - application/json
  36459. responses:
  36460. "200":
  36461. description: OK
  36462. schema:
  36463. items:
  36464. $ref: '#/definitions/models.WrFilterItem'
  36465. type: array
  36466. "500":
  36467. description: Internal Server Error
  36468. schema:
  36469. $ref: '#/definitions/app.Response'
  36470. security:
  36471. - ApiKeyAuth: []
  36472. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  36473. tags:
  36474. - 仓单贸易v2
  36475. /WrTrade2/QueryFtDeliveryGoods:
  36476. get:
  36477. produces:
  36478. - application/json
  36479. responses:
  36480. "200":
  36481. description: OK
  36482. schema:
  36483. items:
  36484. $ref: '#/definitions/models.WrFtDeliveryGoods'
  36485. type: array
  36486. "500":
  36487. description: Internal Server Error
  36488. schema:
  36489. $ref: '#/definitions/app.Response'
  36490. security:
  36491. - ApiKeyAuth: []
  36492. summary: 查询品种品类筛选框列表
  36493. tags:
  36494. - 仓单贸易v2
  36495. /WrTrade2/QueryHoldLB:
  36496. get:
  36497. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  36498. parameters:
  36499. - description: 资金账号
  36500. in: query
  36501. name: accountid
  36502. required: true
  36503. type: integer
  36504. - description: 仓库id
  36505. in: query
  36506. name: warehouseid
  36507. type: integer
  36508. - description: 品种id
  36509. in: query
  36510. name: deliverygoodsid
  36511. type: integer
  36512. - description: 品类id
  36513. in: query
  36514. name: wrstandardid
  36515. type: integer
  36516. - description: 仓单要素id
  36517. in: query
  36518. name: wrfactortypeid
  36519. type: integer
  36520. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36521. in: query
  36522. name: dgitemname
  36523. type: string
  36524. produces:
  36525. - application/json
  36526. responses:
  36527. "200":
  36528. description: OK
  36529. schema:
  36530. items:
  36531. $ref: '#/definitions/models.WrHoldLB'
  36532. type: array
  36533. "500":
  36534. description: Internal Server Error
  36535. schema:
  36536. $ref: '#/definitions/app.Response'
  36537. security:
  36538. - ApiKeyAuth: []
  36539. summary: 查询仓单持有记录
  36540. tags:
  36541. - 仓单贸易v2
  36542. /WrTrade2/QueryOrderQuote:
  36543. get:
  36544. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  36545. 唯一确定1条记录
  36546. parameters:
  36547. - description: 页码
  36548. in: query
  36549. name: page
  36550. type: integer
  36551. - description: 每页条数
  36552. in: query
  36553. name: pagesize
  36554. type: integer
  36555. - description: 仓单贸易市场id
  36556. in: query
  36557. name: marketid
  36558. type: integer
  36559. - description: 价格方式 - 1:固定价 2-浮动价
  36560. in: query
  36561. name: wrpricetype
  36562. required: true
  36563. type: integer
  36564. - description: 0:仓单预售 1:仓单贸易
  36565. in: query
  36566. name: haswr
  36567. type: integer
  36568. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36569. in: query
  36570. name: dgitemname
  36571. type: string
  36572. - description: 仓库id(筛选条件)
  36573. in: query
  36574. name: warehouseid
  36575. type: integer
  36576. - description: 品种id
  36577. in: query
  36578. name: deliverygoodsid
  36579. type: integer
  36580. - description: 品类id
  36581. in: query
  36582. name: wrstandardid
  36583. type: integer
  36584. - description: 品牌id(dgfactoryitemid)
  36585. in: query
  36586. name: brandid
  36587. type: integer
  36588. - description: 年份id(dgfactoryitemid)
  36589. in: query
  36590. name: yearsid
  36591. type: integer
  36592. - description: 仓单要素id
  36593. in: query
  36594. name: wrfactortypeid
  36595. type: integer
  36596. - description: 交收月(yyyy-mm) 仓单预售填写
  36597. in: query
  36598. name: deliverymonth
  36599. type: string
  36600. produces:
  36601. - application/json
  36602. responses:
  36603. "200":
  36604. description: OK
  36605. schema:
  36606. items:
  36607. $ref: '#/definitions/models.WrOrderQuote'
  36608. type: array
  36609. "500":
  36610. description: Internal Server Error
  36611. schema:
  36612. $ref: '#/definitions/app.Response'
  36613. security:
  36614. - ApiKeyAuth: []
  36615. summary: 查询大厅行情列表
  36616. tags:
  36617. - 仓单贸易v2
  36618. /WrTrade2/QueryOrderQuoteDetail:
  36619. get:
  36620. parameters:
  36621. - description: 页码
  36622. in: query
  36623. name: page
  36624. type: integer
  36625. - description: 每页条数
  36626. in: query
  36627. name: pagesize
  36628. type: integer
  36629. - description: 仓单贸易市场id
  36630. in: query
  36631. name: marketid
  36632. type: integer
  36633. - description: 价格方式 - 1:固定价 2-浮动价
  36634. in: query
  36635. name: wrpricetype
  36636. required: true
  36637. type: integer
  36638. - description: 0:仓单预售 1:仓单贸易
  36639. in: query
  36640. name: haswr
  36641. type: integer
  36642. - description: 仓单要素id
  36643. in: query
  36644. name: wrfactortypeid
  36645. required: true
  36646. type: integer
  36647. - description: 期货商品id(浮动价方式时填)
  36648. in: query
  36649. name: goodsid
  36650. type: integer
  36651. - description: 买卖方向 0-买 1-卖
  36652. in: query
  36653. name: buyorsell
  36654. required: true
  36655. type: integer
  36656. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  36657. in: query
  36658. name: deliverymonth
  36659. type: string
  36660. produces:
  36661. - application/json
  36662. responses:
  36663. "200":
  36664. description: OK
  36665. schema:
  36666. items:
  36667. $ref: '#/definitions/models.WrOrderQuoteDetail'
  36668. type: array
  36669. "500":
  36670. description: Internal Server Error
  36671. schema:
  36672. $ref: '#/definitions/app.Response'
  36673. security:
  36674. - ApiKeyAuth: []
  36675. summary: 查询买卖大厅
  36676. tags:
  36677. - 仓单贸易v2
  36678. /WrTrade2/QueryOrderQuoteMyq:
  36679. get:
  36680. parameters:
  36681. - description: 页码
  36682. in: query
  36683. name: page
  36684. type: integer
  36685. - description: 每页条数
  36686. in: query
  36687. name: pagesize
  36688. type: integer
  36689. - description: 用户id
  36690. in: query
  36691. name: userid
  36692. required: true
  36693. type: integer
  36694. - description: 仓单贸易市场id
  36695. in: query
  36696. name: marketid
  36697. type: integer
  36698. - description: 0:仓单预售 1:仓单贸易
  36699. in: query
  36700. name: haswr
  36701. type: integer
  36702. - description: 买卖方向 0-买 1-卖
  36703. in: query
  36704. name: buyorsell
  36705. required: true
  36706. type: integer
  36707. - description: 品种id
  36708. in: query
  36709. name: deliverygoodsid
  36710. type: integer
  36711. - description: 品类id
  36712. in: query
  36713. name: wrstandardid
  36714. type: integer
  36715. - description: 交收月(yyyy-mm) 仓单预售填写
  36716. in: query
  36717. name: deliverymonth
  36718. type: string
  36719. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36720. in: query
  36721. name: dgitemname
  36722. type: string
  36723. produces:
  36724. - application/json
  36725. responses:
  36726. "200":
  36727. description: OK
  36728. schema:
  36729. items:
  36730. $ref: '#/definitions/models.WrQuoteOrderMyq'
  36731. type: array
  36732. "500":
  36733. description: Internal Server Error
  36734. schema:
  36735. $ref: '#/definitions/app.Response'
  36736. security:
  36737. - ApiKeyAuth: []
  36738. summary: 查询贸易圈挂牌大厅
  36739. tags:
  36740. - 仓单贸易v2
  36741. /WrTrade2/QueryPerformancePlan:
  36742. get:
  36743. parameters:
  36744. - description: 用户id
  36745. in: query
  36746. name: userid
  36747. required: true
  36748. type: integer
  36749. - description: 买卖方向 0-买 1-卖
  36750. in: query
  36751. name: buyorsell
  36752. required: true
  36753. type: integer
  36754. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  36755. 8:释放冻结失败 9:超时待处理 10:超时关闭
  36756. in: query
  36757. name: status
  36758. type: string
  36759. - description: 开始交易日(yyyymmdd)
  36760. in: query
  36761. name: begindate
  36762. type: string
  36763. - description: 结束交易日(yyyymmdd)
  36764. in: query
  36765. name: enddate
  36766. type: string
  36767. produces:
  36768. - application/json
  36769. responses:
  36770. "200":
  36771. description: OK
  36772. schema:
  36773. items:
  36774. $ref: '#/definitions/models.WrPerformancePlan'
  36775. type: array
  36776. "500":
  36777. description: Internal Server Error
  36778. schema:
  36779. $ref: '#/definitions/app.Response'
  36780. security:
  36781. - ApiKeyAuth: []
  36782. summary: 查询履约信息
  36783. tags:
  36784. - 仓单贸易v2
  36785. /WrTrade2/QueryPermancePlanTmp:
  36786. get:
  36787. description: |-
  36788. 返回指定用户的模板和公共模板(用户id为空)
  36789. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  36790. parameters:
  36791. - description: 用户id
  36792. in: query
  36793. name: userid
  36794. type: integer
  36795. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  36796. (无仓单) 5:挂牌期权 6:竞拍-降价式
  36797. in: query
  36798. name: tmptype
  36799. type: string
  36800. - description: 是否包含公共模板(用户id为空的) 1-包含
  36801. in: query
  36802. name: includepub
  36803. type: integer
  36804. - description: 市场id(天津麦顿指定此参数,其它不用)
  36805. in: query
  36806. name: marketid
  36807. type: integer
  36808. produces:
  36809. - application/json
  36810. responses:
  36811. "200":
  36812. description: OK
  36813. schema:
  36814. items:
  36815. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  36816. type: array
  36817. "500":
  36818. description: Internal Server Error
  36819. schema:
  36820. $ref: '#/definitions/app.Response'
  36821. security:
  36822. - ApiKeyAuth: []
  36823. summary: 查询履约模板
  36824. tags:
  36825. - 仓单贸易v2
  36826. /WrTrade2/QuerySiteColumnConfig:
  36827. get:
  36828. parameters:
  36829. - description: 页码
  36830. in: query
  36831. name: page
  36832. type: integer
  36833. - description: 每页条数
  36834. in: query
  36835. name: pagesize
  36836. type: integer
  36837. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  36838. in: query
  36839. name: columntype
  36840. type: integer
  36841. produces:
  36842. - application/json
  36843. responses:
  36844. "200":
  36845. description: OK
  36846. schema:
  36847. items:
  36848. $ref: '#/definitions/models.Sitecolumnconfig'
  36849. type: array
  36850. "500":
  36851. description: Internal Server Error
  36852. schema:
  36853. $ref: '#/definitions/app.Response'
  36854. security:
  36855. - ApiKeyAuth: []
  36856. summary: 查询资讯栏目配置
  36857. tags:
  36858. - 仓单贸易v2
  36859. /WrTrade2/QuerySiteColumnDetail:
  36860. get:
  36861. parameters:
  36862. - description: 页码
  36863. in: query
  36864. name: page
  36865. type: integer
  36866. - description: 每页条数
  36867. in: query
  36868. name: pagesize
  36869. type: integer
  36870. - description: 所属栏目id
  36871. in: query
  36872. name: columnid
  36873. type: integer
  36874. produces:
  36875. - application/json
  36876. responses:
  36877. "200":
  36878. description: OK
  36879. schema:
  36880. items:
  36881. $ref: '#/definitions/models.WrSiteColumnDetail'
  36882. type: array
  36883. "500":
  36884. description: Internal Server Error
  36885. schema:
  36886. $ref: '#/definitions/app.Response'
  36887. security:
  36888. - ApiKeyAuth: []
  36889. summary: 查询资讯
  36890. tags:
  36891. - 仓单贸易v2
  36892. /WrTrade2/QuerySpotGroupTradeSum:
  36893. get:
  36894. produces:
  36895. - application/json
  36896. responses:
  36897. "200":
  36898. description: OK
  36899. schema:
  36900. items:
  36901. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  36902. type: array
  36903. "500":
  36904. description: Internal Server Error
  36905. schema:
  36906. $ref: '#/definitions/app.Response'
  36907. security:
  36908. - ApiKeyAuth: []
  36909. summary: 查询指数
  36910. tags:
  36911. - 仓单贸易v2
  36912. /WrTrade2/QuerySpotGroupTradeSumDetail:
  36913. get:
  36914. description: 查询的结果将会按日期 从小到大 排序
  36915. parameters:
  36916. - description: 现货商品id
  36917. in: query
  36918. name: deliverygoodsid
  36919. required: true
  36920. type: integer
  36921. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  36922. in: query
  36923. name: lastnum
  36924. type: integer
  36925. produces:
  36926. - application/json
  36927. responses:
  36928. "200":
  36929. description: OK
  36930. schema:
  36931. items:
  36932. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  36933. type: array
  36934. "500":
  36935. description: Internal Server Error
  36936. schema:
  36937. $ref: '#/definitions/app.Response'
  36938. security:
  36939. - ApiKeyAuth: []
  36940. summary: 查询指数详细(价格走势图)
  36941. tags:
  36942. - 仓单贸易v2
  36943. /WrTrade2/QueryWrAverageTradePrice:
  36944. get:
  36945. parameters:
  36946. - description: 页码
  36947. in: query
  36948. name: page
  36949. type: integer
  36950. - description: 每页条数
  36951. in: query
  36952. name: pagesize
  36953. type: integer
  36954. - description: 0:仓单预售 1:仓单贸易
  36955. in: query
  36956. name: haswr
  36957. required: true
  36958. type: integer
  36959. - description: 仓单要素id
  36960. in: query
  36961. name: wrfactortypeid
  36962. required: true
  36963. type: integer
  36964. produces:
  36965. - application/json
  36966. responses:
  36967. "200":
  36968. description: OK
  36969. schema:
  36970. items:
  36971. $ref: '#/definitions/models.WrAverageTradePrice'
  36972. type: array
  36973. "500":
  36974. description: Internal Server Error
  36975. schema:
  36976. $ref: '#/definitions/app.Response'
  36977. security:
  36978. - ApiKeyAuth: []
  36979. summary: 查询成交价(历史走势)
  36980. tags:
  36981. - 仓单贸易v2
  36982. /WrTrade2/QueryWrBrandAndYears:
  36983. get:
  36984. produces:
  36985. - application/json
  36986. responses:
  36987. "200":
  36988. description: OK
  36989. schema:
  36990. items:
  36991. $ref: '#/definitions/models.WrBrandAndYears'
  36992. type: array
  36993. "500":
  36994. description: Internal Server Error
  36995. schema:
  36996. $ref: '#/definitions/app.Response'
  36997. security:
  36998. - ApiKeyAuth: []
  36999. summary: 查询品牌和年份
  37000. tags:
  37001. - 仓单贸易v2
  37002. /WrTrade2/QueryWrBsGoodsInfo:
  37003. get:
  37004. description: 合约交易/买卖大厅/详情
  37005. parameters:
  37006. - description: 商品id
  37007. in: query
  37008. name: goodsid
  37009. required: true
  37010. type: integer
  37011. produces:
  37012. - application/json
  37013. responses:
  37014. "200":
  37015. description: OK
  37016. schema:
  37017. items:
  37018. $ref: '#/definitions/models.WrBsGoodsInfo'
  37019. type: array
  37020. "500":
  37021. description: Internal Server Error
  37022. schema:
  37023. $ref: '#/definitions/app.Response'
  37024. security:
  37025. - ApiKeyAuth: []
  37026. summary: 查询合约交易买卖大厅详情
  37027. tags:
  37028. - 仓单贸易v2
  37029. /WrTrade2/QueryWrBuybackDetail:
  37030. get:
  37031. parameters:
  37032. - description: 融资合同id
  37033. in: query
  37034. name: scfcontractid
  37035. type: integer
  37036. produces:
  37037. - application/json
  37038. responses:
  37039. "200":
  37040. description: OK
  37041. schema:
  37042. items:
  37043. $ref: '#/definitions/models.WrBuybackDetail'
  37044. type: array
  37045. "500":
  37046. description: Internal Server Error
  37047. schema:
  37048. $ref: '#/definitions/app.Response'
  37049. security:
  37050. - ApiKeyAuth: []
  37051. summary: 查询仓单回购明细
  37052. tags:
  37053. - 仓单贸易v2
  37054. /WrTrade2/QueryWrClientAdSpaceConfig:
  37055. get:
  37056. produces:
  37057. - application/json
  37058. responses:
  37059. "200":
  37060. description: OK
  37061. schema:
  37062. items:
  37063. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  37064. type: array
  37065. "500":
  37066. description: Internal Server Error
  37067. schema:
  37068. $ref: '#/definitions/app.Response'
  37069. security:
  37070. - ApiKeyAuth: []
  37071. summary: 查询固定广告配置
  37072. tags:
  37073. - 仓单贸易v2
  37074. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  37075. get:
  37076. parameters:
  37077. - description: 资金账号
  37078. in: query
  37079. name: accountid
  37080. required: true
  37081. type: integer
  37082. - description: 商品id
  37083. in: query
  37084. name: goodsid
  37085. required: true
  37086. type: integer
  37087. produces:
  37088. - application/json
  37089. responses:
  37090. "200":
  37091. description: OK
  37092. schema:
  37093. items:
  37094. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  37095. type: array
  37096. "500":
  37097. description: Internal Server Error
  37098. schema:
  37099. $ref: '#/definitions/app.Response'
  37100. security:
  37101. - ApiKeyAuth: []
  37102. summary: 查询合约交收可点选仓单
  37103. tags:
  37104. - 仓单贸易v2
  37105. /WrTrade2/QueryWrDeliveryDetail:
  37106. get:
  37107. parameters:
  37108. - description: 用户id
  37109. in: query
  37110. name: userid
  37111. required: true
  37112. type: integer
  37113. - description: 资金账号id
  37114. in: query
  37115. name: accountid
  37116. type: integer
  37117. - description: 开始交易日(yyyymmdd)
  37118. in: query
  37119. name: begindate
  37120. type: string
  37121. - description: 结束交易日(yyyymmdd)
  37122. in: query
  37123. name: enddate
  37124. type: string
  37125. produces:
  37126. - application/json
  37127. responses:
  37128. "200":
  37129. description: OK
  37130. schema:
  37131. items:
  37132. $ref: '#/definitions/models.WrDeliveryDetail'
  37133. type: array
  37134. "500":
  37135. description: Internal Server Error
  37136. schema:
  37137. $ref: '#/definitions/app.Response'
  37138. security:
  37139. - ApiKeyAuth: []
  37140. summary: 查询交收
  37141. tags:
  37142. - 仓单贸易v2
  37143. /WrTrade2/QueryWrDraftUserInfo:
  37144. get:
  37145. parameters:
  37146. - description: 用户ID
  37147. in: query
  37148. name: userid
  37149. required: true
  37150. type: integer
  37151. - description: 用户状态 1:正常 2:注销
  37152. in: query
  37153. name: userstatus
  37154. type: integer
  37155. produces:
  37156. - application/json
  37157. responses:
  37158. "200":
  37159. description: OK
  37160. schema:
  37161. items:
  37162. $ref: '#/definitions/models.WrDraftUserInfo'
  37163. type: array
  37164. "500":
  37165. description: Internal Server Error
  37166. schema:
  37167. $ref: '#/definitions/app.Response'
  37168. security:
  37169. - ApiKeyAuth: []
  37170. summary: 查询实名认证信息
  37171. tags:
  37172. - 仓单贸易v2
  37173. /WrTrade2/QueryWrFactorTypeInfo:
  37174. get:
  37175. parameters:
  37176. - description: 仓单要素id
  37177. in: query
  37178. name: wrfactortypeid
  37179. required: true
  37180. type: integer
  37181. produces:
  37182. - application/json
  37183. responses:
  37184. "200":
  37185. description: OK
  37186. schema:
  37187. items:
  37188. $ref: '#/definitions/models.WrFactorTypeInfo'
  37189. type: array
  37190. "500":
  37191. description: Internal Server Error
  37192. schema:
  37193. $ref: '#/definitions/app.Response'
  37194. security:
  37195. - ApiKeyAuth: []
  37196. summary: 查询仓单要素详细信息
  37197. tags:
  37198. - 仓单贸易v2
  37199. /WrTrade2/QueryWrFactorTypeInfoEx:
  37200. get:
  37201. parameters:
  37202. - description: 仓单要素id
  37203. in: query
  37204. name: wrfactortypeid
  37205. required: true
  37206. type: integer
  37207. produces:
  37208. - application/json
  37209. responses:
  37210. "200":
  37211. description: OK
  37212. schema:
  37213. items:
  37214. $ref: '#/definitions/models.WrTypeItem'
  37215. type: array
  37216. "500":
  37217. description: Internal Server Error
  37218. schema:
  37219. $ref: '#/definitions/app.Response'
  37220. security:
  37221. - ApiKeyAuth: []
  37222. summary: 查询仓单要素详细信息列表项
  37223. tags:
  37224. - 仓单贸易v2
  37225. /WrTrade2/QueryWrFinanceBuyApply:
  37226. get:
  37227. description: 页面 融资信息+ / 申请单
  37228. parameters:
  37229. - description: 用户id
  37230. in: query
  37231. name: userid
  37232. required: true
  37233. type: integer
  37234. produces:
  37235. - application/json
  37236. responses:
  37237. "200":
  37238. description: OK
  37239. schema:
  37240. items:
  37241. $ref: '#/definitions/models.WrFinanceBuyApply'
  37242. type: array
  37243. "500":
  37244. description: Internal Server Error
  37245. schema:
  37246. $ref: '#/definitions/app.Response'
  37247. security:
  37248. - ApiKeyAuth: []
  37249. summary: 查询融资购买申请
  37250. tags:
  37251. - 仓单贸易v2
  37252. /WrTrade2/QueryWrFriendApply:
  37253. get:
  37254. parameters:
  37255. - description: 用户id
  37256. in: query
  37257. name: userid
  37258. required: true
  37259. type: integer
  37260. produces:
  37261. - application/json
  37262. responses:
  37263. "200":
  37264. description: OK
  37265. schema:
  37266. items:
  37267. $ref: '#/definitions/models.WrFriendApply'
  37268. type: array
  37269. "500":
  37270. description: Internal Server Error
  37271. schema:
  37272. $ref: '#/definitions/app.Response'
  37273. security:
  37274. - ApiKeyAuth: []
  37275. summary: 查询好友申请记录
  37276. tags:
  37277. - 仓单贸易v2
  37278. /WrTrade2/QueryWrGoodsInfo:
  37279. get:
  37280. parameters:
  37281. - description: 仓单贸易市场id
  37282. in: query
  37283. name: marketid
  37284. type: integer
  37285. - description: 0:仓单预售 1:仓单贸易
  37286. in: query
  37287. name: haswr
  37288. required: true
  37289. type: integer
  37290. - description: 仓单要素id
  37291. in: query
  37292. name: wrfactortypeid
  37293. required: true
  37294. type: integer
  37295. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  37296. in: query
  37297. name: tmplateid
  37298. type: integer
  37299. produces:
  37300. - application/json
  37301. responses:
  37302. "200":
  37303. description: OK
  37304. schema:
  37305. items:
  37306. $ref: '#/definitions/models.WrGoodsInfo'
  37307. type: array
  37308. "500":
  37309. description: Internal Server Error
  37310. schema:
  37311. $ref: '#/definitions/app.Response'
  37312. security:
  37313. - ApiKeyAuth: []
  37314. summary: 查询仓单商品信息
  37315. tags:
  37316. - 仓单贸易v2
  37317. /WrTrade2/QueryWrMarketTradeConfig:
  37318. get:
  37319. parameters:
  37320. - description: 市场id
  37321. in: query
  37322. name: marketid
  37323. type: integer
  37324. produces:
  37325. - application/json
  37326. responses:
  37327. "200":
  37328. description: OK
  37329. schema:
  37330. items:
  37331. $ref: '#/definitions/models.WrMarketTradeConfig'
  37332. type: array
  37333. "500":
  37334. description: Internal Server Error
  37335. schema:
  37336. $ref: '#/definitions/app.Response'
  37337. security:
  37338. - ApiKeyAuth: []
  37339. summary: 查询市场交易参数配置
  37340. tags:
  37341. - 仓单贸易v2
  37342. /WrTrade2/QueryWrOrderDetail:
  37343. get:
  37344. description: 页面 现货仓单 | 预售仓单 -> 委托单
  37345. parameters:
  37346. - description: 页码
  37347. in: query
  37348. name: page
  37349. type: integer
  37350. - description: 每页条数
  37351. in: query
  37352. name: pagesize
  37353. type: integer
  37354. - description: 用户id
  37355. in: query
  37356. name: userid
  37357. required: true
  37358. type: integer
  37359. - description: 仓单贸易市场id
  37360. in: query
  37361. name: marketid
  37362. type: integer
  37363. - description: 0:仓单预售 1:仓单贸易
  37364. in: query
  37365. name: haswr
  37366. required: true
  37367. type: integer
  37368. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  37369. in: query
  37370. name: bcancel
  37371. type: integer
  37372. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  37373. in: query
  37374. name: wrtradetype
  37375. type: integer
  37376. - description: 开始交易日(yyyymmdd)
  37377. in: query
  37378. name: begindate
  37379. type: string
  37380. - description: 结束交易日(yyyymmdd)
  37381. in: query
  37382. name: enddate
  37383. type: string
  37384. produces:
  37385. - application/json
  37386. responses:
  37387. "200":
  37388. description: OK
  37389. schema:
  37390. items:
  37391. $ref: '#/definitions/models.WrOrderDetail'
  37392. type: array
  37393. "500":
  37394. description: Internal Server Error
  37395. schema:
  37396. $ref: '#/definitions/app.Response'
  37397. security:
  37398. - ApiKeyAuth: []
  37399. summary: 查询仓单委托单
  37400. tags:
  37401. - 仓单贸易v2
  37402. /WrTrade2/QueryWrOutInApply:
  37403. get:
  37404. parameters:
  37405. - description: 页码
  37406. in: query
  37407. name: page
  37408. type: integer
  37409. - description: 每页条数
  37410. in: query
  37411. name: pagesize
  37412. type: integer
  37413. - description: 用户id
  37414. in: query
  37415. name: userid
  37416. required: true
  37417. type: integer
  37418. - description: 开始交易日(yyyymmdd)
  37419. in: query
  37420. name: begindate
  37421. type: string
  37422. - description: 结束交易日(yyyymmdd)
  37423. in: query
  37424. name: enddate
  37425. type: string
  37426. produces:
  37427. - application/json
  37428. responses:
  37429. "200":
  37430. description: OK
  37431. schema:
  37432. items:
  37433. $ref: '#/definitions/models.WrOutInApply'
  37434. type: array
  37435. "500":
  37436. description: Internal Server Error
  37437. schema:
  37438. $ref: '#/definitions/app.Response'
  37439. security:
  37440. - ApiKeyAuth: []
  37441. summary: 查询提货申请
  37442. tags:
  37443. - 仓单贸易v2
  37444. /WrTrade2/QueryWrPerformancePlanStep:
  37445. get:
  37446. parameters:
  37447. - description: 履约计划id(performanceplanid)
  37448. in: query
  37449. name: planid
  37450. required: true
  37451. type: integer
  37452. - description: 当前步骤id
  37453. in: query
  37454. name: curstepid
  37455. type: integer
  37456. produces:
  37457. - application/json
  37458. responses:
  37459. "200":
  37460. description: OK
  37461. schema:
  37462. items:
  37463. $ref: '#/definitions/models.WrPerformancePlanStep'
  37464. type: array
  37465. "500":
  37466. description: Internal Server Error
  37467. schema:
  37468. $ref: '#/definitions/app.Response'
  37469. security:
  37470. - ApiKeyAuth: []
  37471. summary: 查询履约信息详情
  37472. tags:
  37473. - 仓单贸易v2
  37474. /WrTrade2/QueryWrPerformanceStepType:
  37475. get:
  37476. produces:
  37477. - application/json
  37478. responses:
  37479. "200":
  37480. description: OK
  37481. schema:
  37482. items:
  37483. $ref: '#/definitions/models.WrPerformanceStepType'
  37484. type: array
  37485. "500":
  37486. description: Internal Server Error
  37487. schema:
  37488. $ref: '#/definitions/app.Response'
  37489. security:
  37490. - ApiKeyAuth: []
  37491. summary: 查询履约步骤枚举
  37492. tags:
  37493. - 仓单贸易v2
  37494. /WrTrade2/QueryWrPosition:
  37495. get:
  37496. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  37497. parameters:
  37498. - description: 用户id
  37499. in: query
  37500. name: userid
  37501. required: true
  37502. type: integer
  37503. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  37504. in: query
  37505. name: querytype
  37506. required: true
  37507. type: integer
  37508. - description: 0:仓单预售 1:仓单贸易
  37509. in: query
  37510. name: haswr
  37511. required: true
  37512. type: integer
  37513. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  37514. in: query
  37515. name: dgitemname
  37516. type: string
  37517. - description: 仓库id(筛选条件)
  37518. in: query
  37519. name: warehouseid
  37520. type: integer
  37521. - description: 品种id
  37522. in: query
  37523. name: deliverygoodsid
  37524. type: integer
  37525. - description: 品类id
  37526. in: query
  37527. name: wrstandardid
  37528. type: integer
  37529. produces:
  37530. - application/json
  37531. responses:
  37532. "200":
  37533. description: OK
  37534. schema:
  37535. items:
  37536. $ref: '#/definitions/models.WrPosition'
  37537. type: array
  37538. "500":
  37539. description: Internal Server Error
  37540. schema:
  37541. $ref: '#/definitions/app.Response'
  37542. security:
  37543. - ApiKeyAuth: []
  37544. summary: 查询现货(预售)仓单持仓
  37545. tags:
  37546. - 仓单贸易v2
  37547. /WrTrade2/QueryWrPreSaleInfo:
  37548. get:
  37549. parameters:
  37550. - description: 市场id
  37551. in: query
  37552. name: marketid
  37553. type: integer
  37554. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  37555. in: query
  37556. name: presalestatus
  37557. type: string
  37558. - description: 摇号标识 - 0:未摇号 1:已摇号
  37559. in: query
  37560. name: lotteryflag
  37561. type: integer
  37562. - description: 最近多少条记录(按创建时间倒序)
  37563. in: query
  37564. name: lastnum
  37565. type: integer
  37566. produces:
  37567. - application/json
  37568. responses:
  37569. "200":
  37570. description: OK
  37571. schema:
  37572. items:
  37573. $ref: '#/definitions/models.WrPreSaleInfo'
  37574. type: array
  37575. "500":
  37576. description: Internal Server Error
  37577. schema:
  37578. $ref: '#/definitions/app.Response'
  37579. security:
  37580. - ApiKeyAuth: []
  37581. summary: 查询新品发布
  37582. tags:
  37583. - 仓单贸易v2
  37584. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  37585. get:
  37586. parameters:
  37587. - description: 市场id
  37588. in: query
  37589. name: marketid
  37590. required: true
  37591. type: integer
  37592. - description: 现货商品id
  37593. in: query
  37594. name: wrstandardid
  37595. required: true
  37596. type: integer
  37597. - description: 开始交易日(yyyymmdd)
  37598. in: query
  37599. name: begindate
  37600. type: string
  37601. - description: 结束交易日(yyyymmdd)
  37602. in: query
  37603. name: enddate
  37604. type: string
  37605. - description: 最近多少条记录(按交易日倒序)
  37606. in: query
  37607. name: lastnum
  37608. type: integer
  37609. - description: 是否今日
  37610. in: query
  37611. name: istoday
  37612. type: boolean
  37613. produces:
  37614. - application/json
  37615. responses:
  37616. "200":
  37617. description: OK
  37618. schema:
  37619. items:
  37620. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  37621. type: array
  37622. "500":
  37623. description: Internal Server Error
  37624. schema:
  37625. $ref: '#/definitions/app.Response'
  37626. security:
  37627. - ApiKeyAuth: []
  37628. summary: 查询价格走势
  37629. tags:
  37630. - 仓单贸易v2
  37631. /WrTrade2/QueryWrScfContract:
  37632. get:
  37633. parameters:
  37634. - description: 用户id
  37635. in: query
  37636. name: userid
  37637. required: true
  37638. type: integer
  37639. - description: 融资合同id
  37640. in: query
  37641. name: scfcontractid
  37642. type: integer
  37643. produces:
  37644. - application/json
  37645. responses:
  37646. "200":
  37647. description: OK
  37648. schema:
  37649. items:
  37650. $ref: '#/definitions/models.WrScfContract'
  37651. type: array
  37652. "500":
  37653. description: Internal Server Error
  37654. schema:
  37655. $ref: '#/definitions/app.Response'
  37656. security:
  37657. - ApiKeyAuth: []
  37658. summary: 查询仓单贸易融资合同
  37659. tags:
  37660. - 仓单贸易v2
  37661. /WrTrade2/QueryWrScfContractInterest:
  37662. get:
  37663. parameters:
  37664. - description: 融资合同id
  37665. in: query
  37666. name: scfcontractid
  37667. type: integer
  37668. produces:
  37669. - application/json
  37670. responses:
  37671. "200":
  37672. description: OK
  37673. schema:
  37674. items:
  37675. $ref: '#/definitions/models.WrScfContractInterest'
  37676. type: array
  37677. "500":
  37678. description: Internal Server Error
  37679. schema:
  37680. $ref: '#/definitions/app.Response'
  37681. security:
  37682. - ApiKeyAuth: []
  37683. summary: 查询融资合同费用明细
  37684. tags:
  37685. - 仓单贸易v2
  37686. /WrTrade2/QueryWrSearchUser:
  37687. get:
  37688. parameters:
  37689. - description: 用户名称(模糊匹配)
  37690. in: query
  37691. name: username
  37692. required: true
  37693. type: string
  37694. produces:
  37695. - application/json
  37696. responses:
  37697. "200":
  37698. description: OK
  37699. schema:
  37700. items:
  37701. $ref: '#/definitions/models.WrSearchUser'
  37702. type: array
  37703. "500":
  37704. description: Internal Server Error
  37705. schema:
  37706. $ref: '#/definitions/app.Response'
  37707. security:
  37708. - ApiKeyAuth: []
  37709. summary: 查询用户
  37710. tags:
  37711. - 仓单贸易v2
  37712. /WrTrade2/QueryWrSpecialMatchOrder:
  37713. get:
  37714. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  37715. parameters:
  37716. - description: 页码
  37717. in: query
  37718. name: page
  37719. type: integer
  37720. - description: 每页条数
  37721. in: query
  37722. name: pagesize
  37723. type: integer
  37724. - description: 用户id
  37725. in: query
  37726. name: userid
  37727. required: true
  37728. type: integer
  37729. - description: 仓单贸易市场id
  37730. in: query
  37731. name: marketid
  37732. type: integer
  37733. - description: 0:仓单预售 1:仓单贸易
  37734. in: query
  37735. name: haswr
  37736. required: true
  37737. type: integer
  37738. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  37739. in: query
  37740. name: isspecified
  37741. type: integer
  37742. produces:
  37743. - application/json
  37744. responses:
  37745. "200":
  37746. description: OK
  37747. schema:
  37748. items:
  37749. $ref: '#/definitions/models.WrSpecialMatchOrder'
  37750. type: array
  37751. "500":
  37752. description: Internal Server Error
  37753. schema:
  37754. $ref: '#/definitions/app.Response'
  37755. security:
  37756. - ApiKeyAuth: []
  37757. summary: 查询指定成交
  37758. tags:
  37759. - 仓单贸易v2
  37760. /WrTrade2/QueryWrStandardFactoryItem:
  37761. get:
  37762. parameters:
  37763. - description: 品类id
  37764. in: query
  37765. name: wrstandardid
  37766. required: true
  37767. type: integer
  37768. produces:
  37769. - application/json
  37770. responses:
  37771. "200":
  37772. description: OK
  37773. schema:
  37774. items:
  37775. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  37776. type: array
  37777. "500":
  37778. description: Internal Server Error
  37779. schema:
  37780. $ref: '#/definitions/app.Response'
  37781. security:
  37782. - ApiKeyAuth: []
  37783. summary: 查询品类要素定义项
  37784. tags:
  37785. - 仓单贸易v2
  37786. /WrTrade2/QueryWrTradeBargainApply:
  37787. get:
  37788. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  37789. 议价->对方议价 填写matchuserid=登录用户id
  37790. parameters:
  37791. - description: 议价人id(摘牌方)
  37792. in: query
  37793. name: userid
  37794. type: integer
  37795. - description: 挂牌方id(查对方议价时,填写此项)
  37796. in: query
  37797. name: matchuserid
  37798. type: integer
  37799. - description: 关联委托单id
  37800. in: query
  37801. name: wrtradeorderid
  37802. type: integer
  37803. - description: 0:仓单预售 1:仓单贸易
  37804. in: query
  37805. name: haswr
  37806. required: true
  37807. type: integer
  37808. - description: 开始交易日(yyyymmdd)
  37809. in: query
  37810. name: begindate
  37811. type: string
  37812. - description: 结束交易日(yyyymmdd)
  37813. in: query
  37814. name: enddate
  37815. type: string
  37816. produces:
  37817. - application/json
  37818. responses:
  37819. "200":
  37820. description: OK
  37821. schema:
  37822. items:
  37823. $ref: '#/definitions/models.WRTradeBargainApply'
  37824. type: array
  37825. "500":
  37826. description: Internal Server Error
  37827. schema:
  37828. $ref: '#/definitions/app.Response'
  37829. security:
  37830. - ApiKeyAuth: []
  37831. summary: 查询议价单
  37832. tags:
  37833. - 仓单贸易v2
  37834. /WrTrade2/QueryWrTradeDetail:
  37835. get:
  37836. parameters:
  37837. - description: 页码
  37838. in: query
  37839. name: page
  37840. type: integer
  37841. - description: 每页条数
  37842. in: query
  37843. name: pagesize
  37844. type: integer
  37845. - description: 用户id
  37846. in: query
  37847. name: userid
  37848. required: true
  37849. type: integer
  37850. - description: 仓单贸易市场id
  37851. in: query
  37852. name: marketid
  37853. type: integer
  37854. - description: 0:仓单预售 1:仓单贸易
  37855. in: query
  37856. name: haswr
  37857. required: true
  37858. type: integer
  37859. - description: 开始交易日(yyyymmdd)
  37860. in: query
  37861. name: begindate
  37862. type: string
  37863. - description: 结束交易日(yyyymmdd)
  37864. in: query
  37865. name: enddate
  37866. type: string
  37867. produces:
  37868. - application/json
  37869. responses:
  37870. "200":
  37871. description: OK
  37872. schema:
  37873. items:
  37874. $ref: '#/definitions/models.WrTradeDetail'
  37875. type: array
  37876. "500":
  37877. description: Internal Server Error
  37878. schema:
  37879. $ref: '#/definitions/app.Response'
  37880. security:
  37881. - ApiKeyAuth: []
  37882. summary: 查询仓单成交明细
  37883. tags:
  37884. - 仓单贸易v2
  37885. /WrTrade2/QueryWrTradeOrderDetail:
  37886. get:
  37887. parameters:
  37888. - description: 页码
  37889. in: query
  37890. name: page
  37891. type: integer
  37892. - description: 每页条数
  37893. in: query
  37894. name: pagesize
  37895. type: integer
  37896. - description: 商品id
  37897. in: query
  37898. name: goodsid
  37899. required: true
  37900. type: integer
  37901. - description: 买卖方向 0-买 1-卖
  37902. in: query
  37903. name: buyorsell
  37904. required: true
  37905. type: integer
  37906. produces:
  37907. - application/json
  37908. responses:
  37909. "200":
  37910. description: OK
  37911. schema:
  37912. items:
  37913. $ref: '#/definitions/models.WrTradeOrderDetail'
  37914. type: array
  37915. "500":
  37916. description: Internal Server Error
  37917. schema:
  37918. $ref: '#/definitions/app.Response'
  37919. security:
  37920. - ApiKeyAuth: []
  37921. summary: 查询合约交易买卖大厅
  37922. tags:
  37923. - 仓单贸易v2
  37924. /WrTrade2/QueryWrTradeQuote:
  37925. get:
  37926. parameters:
  37927. - description: 现货商品id
  37928. in: query
  37929. name: wrstandardid
  37930. required: true
  37931. type: integer
  37932. - description: 开始日期(yyyymmdd)
  37933. in: query
  37934. name: begindate
  37935. required: true
  37936. type: string
  37937. - description: 结束日期(yyyymmdd)
  37938. in: query
  37939. name: enddate
  37940. required: true
  37941. type: string
  37942. - description: 市场id
  37943. in: query
  37944. name: marketid
  37945. type: integer
  37946. produces:
  37947. - application/json
  37948. responses:
  37949. "200":
  37950. description: OK
  37951. schema:
  37952. items:
  37953. $ref: '#/definitions/models.Wrtradetradequote'
  37954. type: array
  37955. "500":
  37956. description: Internal Server Error
  37957. schema:
  37958. $ref: '#/definitions/app.Response'
  37959. security:
  37960. - ApiKeyAuth: []
  37961. summary: 查询仓单贸易成交行情
  37962. tags:
  37963. - 仓单贸易v2
  37964. /WrTrade2/QueryWrUserFriend:
  37965. get:
  37966. parameters:
  37967. - description: 用户id
  37968. in: query
  37969. name: userid
  37970. required: true
  37971. type: integer
  37972. - description: 新朋友userid, 如果填写了此项则查找新朋友
  37973. in: query
  37974. name: newuserid
  37975. type: integer
  37976. produces:
  37977. - application/json
  37978. responses:
  37979. "200":
  37980. description: OK
  37981. schema:
  37982. items:
  37983. $ref: '#/definitions/models.WrUserFriend'
  37984. type: array
  37985. "500":
  37986. description: Internal Server Error
  37987. schema:
  37988. $ref: '#/definitions/app.Response'
  37989. security:
  37990. - ApiKeyAuth: []
  37991. summary: 查询我的朋友
  37992. tags:
  37993. - 仓单贸易v2
  37994. /WrTrade2/QueryWrUserReceiptInfo:
  37995. get:
  37996. parameters:
  37997. - description: 用户id
  37998. in: query
  37999. name: userid
  38000. type: integer
  38001. - description: 发票类型 - 1:个人 2:企业
  38002. in: query
  38003. name: receipttype
  38004. type: integer
  38005. produces:
  38006. - application/json
  38007. responses:
  38008. "200":
  38009. description: OK
  38010. schema:
  38011. items:
  38012. $ref: '#/definitions/models.WrUserReceiptInfo'
  38013. type: array
  38014. "500":
  38015. description: Internal Server Error
  38016. schema:
  38017. $ref: '#/definitions/app.Response'
  38018. security:
  38019. - ApiKeyAuth: []
  38020. summary: 查询发票信息
  38021. tags:
  38022. - 仓单贸易v2
  38023. /WrTrade2/QueryXhcpSellBackApply:
  38024. get:
  38025. parameters:
  38026. - description: 用户ID
  38027. in: query
  38028. name: userid
  38029. required: true
  38030. type: integer
  38031. produces:
  38032. - application/json
  38033. responses:
  38034. "200":
  38035. description: OK
  38036. schema:
  38037. items:
  38038. $ref: '#/definitions/models.Xhcpsellbackapply'
  38039. type: array
  38040. "500":
  38041. description: Internal Server Error
  38042. schema:
  38043. $ref: '#/definitions/app.Response'
  38044. security:
  38045. - ApiKeyAuth: []
  38046. summary: 查询我的回收申请(新会陈皮)
  38047. tags:
  38048. - 仓单贸易v2
  38049. /ZJ/GetBankTip:
  38050. get:
  38051. produces:
  38052. - application/json
  38053. responses:
  38054. "200":
  38055. description: OK
  38056. schema:
  38057. type: string
  38058. "500":
  38059. description: Internal Server Error
  38060. schema:
  38061. $ref: '#/definitions/app.Response'
  38062. summary: 获取中江网银端出入金提示信息
  38063. tags:
  38064. - 中江
  38065. /ZJ/GetCusBankChannels:
  38066. get:
  38067. produces:
  38068. - application/json
  38069. responses:
  38070. "200":
  38071. description: OK
  38072. schema:
  38073. items:
  38074. type: string
  38075. type: array
  38076. "500":
  38077. description: Internal Server Error
  38078. schema:
  38079. $ref: '#/definitions/app.Response'
  38080. summary: 获取中江出入金渠道显示列表
  38081. tags:
  38082. - 中江
  38083. securityDefinitions:
  38084. ApiKeyAuth:
  38085. in: header
  38086. name: Authorization
  38087. type: apiKey
  38088. Group:
  38089. in: header
  38090. name: Group
  38091. type: apiKey
  38092. LoginID:
  38093. in: header
  38094. name: LoginID
  38095. type: apiKey
  38096. swagger: "2.0"