swagger.yaml 965 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. models.Arearole:
  3746. properties:
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人ID
  3752. type: integer
  3753. fromuserid:
  3754. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3755. type: integer
  3756. isreturnscore:
  3757. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3758. type: integer
  3759. modifierid:
  3760. description: 修改人ID
  3761. type: integer
  3762. modifytime:
  3763. description: 修改时间
  3764. type: string
  3765. orgtype:
  3766. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3767. type: integer
  3768. outuserid:
  3769. description: 外部账户[场外期权做市商]
  3770. type: string
  3771. parentuserid:
  3772. description: 上级组织机构(组织机构)
  3773. type: integer
  3774. roletype:
  3775. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3776. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3777. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3778. type: integer
  3779. rootuserid:
  3780. description: 顶级组织机构用户ID(组织机构)
  3781. type: integer
  3782. shoppassword:
  3783. description: 商城店铺登陆密码(商城店铺角色使用)
  3784. type: string
  3785. sublevelpath:
  3786. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3787. type: string
  3788. suborgtype:
  3789. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3790. type: integer
  3791. tradeaccountid:
  3792. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3793. type: integer
  3794. transurl:
  3795. description: 物流地址(物流机构)
  3796. type: string
  3797. userid:
  3798. description: 机构用户ID其他做市关系,都设置为 1
  3799. type: integer
  3800. required:
  3801. - roletype
  3802. - userid
  3803. type: object
  3804. models.BuyOrder:
  3805. properties:
  3806. accountid:
  3807. description: 资金账户ID
  3808. type: integer
  3809. buyusername:
  3810. description: 买方
  3811. type: string
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. ordertime:
  3816. description: 委托时间
  3817. type: string
  3818. origin:
  3819. description: 原产地
  3820. type: string
  3821. performancetemplateid:
  3822. description: 履约计划模板ID
  3823. type: integer
  3824. remark:
  3825. description: 备注
  3826. type: string
  3827. userid:
  3828. description: 用户ID
  3829. type: integer
  3830. validtime:
  3831. description: 有效期限
  3832. type: string
  3833. warehouseids:
  3834. description: 仓库ID - 多个, 逗号分隔
  3835. type: string
  3836. warehouseinfosdisplay:
  3837. type: string
  3838. wrtradeorderid:
  3839. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3840. type: string
  3841. wrtradeorderstatus:
  3842. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3843. type: integer
  3844. zscategory:
  3845. description: 钻石分类 - 枚举”ZSCategory“
  3846. type: integer
  3847. zscategorydisplay:
  3848. type: string
  3849. zsclaritytype:
  3850. description: 净度 - 两个, 逗号分隔
  3851. type: string
  3852. zsclaritytypedisplay:
  3853. type: string
  3854. zscolortype:
  3855. description: 颜色 - 两个, 逗号分隔
  3856. type: string
  3857. zscolortypedisplay:
  3858. type: string
  3859. zscrystaltype:
  3860. description: 晶型 - 多个,逗号分隔
  3861. type: string
  3862. zscrystaltypedisplay:
  3863. type: string
  3864. zscurrencytype:
  3865. description: 货币类型 - 多个, 逗号分隔
  3866. type: string
  3867. zscurrencytypedisplay:
  3868. type: string
  3869. zscuttype:
  3870. description: 切工 - 两个, 逗号分隔
  3871. type: string
  3872. zscuttypedisplay:
  3873. type: string
  3874. zsczcolor1type:
  3875. description: 彩钻颜色1, 逗号分隔
  3876. type: string
  3877. zsczcolor1typedisplay:
  3878. type: string
  3879. zsczcolor2type:
  3880. description: 彩钻颜色2, 逗号分隔
  3881. type: string
  3882. zsczcolor2typedisplay:
  3883. type: string
  3884. zsczcolor3type:
  3885. description: 彩钻颜色3, 逗号分隔
  3886. type: string
  3887. zsczcolor3typedisplay:
  3888. type: string
  3889. zsfluorescencetype:
  3890. description: 荧光 - 多个, 逗号分隔
  3891. type: string
  3892. zsfluorescencetypedisplay:
  3893. type: string
  3894. zspolishtype:
  3895. description: 抛光度 - 两个, 逗号分隔
  3896. type: string
  3897. zspolishtypedisplay:
  3898. type: string
  3899. zsshapetype:
  3900. description: 形状 - 多个, 逗号分隔
  3901. type: string
  3902. zsshapetypedisplay:
  3903. type: string
  3904. zssize:
  3905. description: 尺寸 - 两个小数, 逗号分隔
  3906. type: string
  3907. zsstyletype:
  3908. description: 款式 - 多个, 逗号分隔
  3909. type: string
  3910. zsstyletypedisplay:
  3911. type: string
  3912. zssymmetrytype:
  3913. description: 对称度 - 两个, 逗号分隔
  3914. type: string
  3915. zssymmetrytypedisplay:
  3916. type: string
  3917. zstabledisplay:
  3918. description: 求购信息
  3919. type: string
  3920. type: object
  3921. models.DgFactoryItem:
  3922. properties:
  3923. dgfactoryitemid:
  3924. description: 选择项ID(SEQ_DGFACTORYITEM)
  3925. type: integer
  3926. dgfactoryitemtypeid:
  3927. description: 要素项类型
  3928. type: integer
  3929. dgfactoryitemvalue:
  3930. description: 要素项值(类型为仓库时填写仓库名称)
  3931. type: string
  3932. orderindex:
  3933. description: 顺序
  3934. type: integer
  3935. type: object
  3936. models.Division:
  3937. properties:
  3938. autoid:
  3939. description: 自增ID
  3940. type: integer
  3941. divisioncode:
  3942. description: 行政代码
  3943. type: string
  3944. divisionlevel:
  3945. description: 行政级别
  3946. type: string
  3947. divisionname:
  3948. description: 行政名称
  3949. type: string
  3950. modifierid:
  3951. description: 修改人
  3952. type: integer
  3953. modifytime:
  3954. description: 修改时间
  3955. type: string
  3956. parentcode:
  3957. description: 上级行政代码
  3958. type: string
  3959. pathname:
  3960. description: 路径名称
  3961. type: string
  3962. postcode:
  3963. description: 邮政编码
  3964. type: string
  3965. separablename:
  3966. description: 可拆分的全称
  3967. type: string
  3968. shortcode:
  3969. description: 地区简码
  3970. type: string
  3971. required:
  3972. - autoid
  3973. - divisioncode
  3974. type: object
  3975. models.Enumdicitem:
  3976. properties:
  3977. autoid:
  3978. description: 自增ID
  3979. type: integer
  3980. bankmappedvalue:
  3981. description: 银行服务对应值
  3982. type: string
  3983. enumdiccode:
  3984. description: 所属枚举代码
  3985. type: string
  3986. enumdicid:
  3987. description: 所属枚举ID
  3988. type: integer
  3989. enumdicname:
  3990. description: 枚举项名称
  3991. type: string
  3992. enumitemname:
  3993. description: 枚举项值
  3994. type: integer
  3995. enumitemstatus:
  3996. description: 枚举项状态 - 1.启用 2.不启用
  3997. type: integer
  3998. enumitemvalue:
  3999. description: 通用值 - [币种通用简写]
  4000. type: string
  4001. param1:
  4002. description: 参数1[币种:币种小数位]
  4003. type: string
  4004. param2:
  4005. description: 参数1[币种:币种显示单位]
  4006. type: string
  4007. remark:
  4008. description: 备注
  4009. type: string
  4010. required:
  4011. - autoid
  4012. - enumdiccode
  4013. - enumdicid
  4014. - enumitemname
  4015. type: object
  4016. models.Ermcp2AreaExposure:
  4017. properties:
  4018. areauserid:
  4019. description: 所属机构
  4020. type: integer
  4021. enumdicname:
  4022. description: 单位
  4023. type: string
  4024. futureqty:
  4025. description: 期货套期量
  4026. type: number
  4027. futureqtychange:
  4028. description: 期货变动量 = FutureQty - OriFutureQty
  4029. type: number
  4030. goodsunitid:
  4031. description: 单位ID
  4032. type: integer
  4033. hedgedspotexposure:
  4034. description: 被套期现货敞口量
  4035. type: number
  4036. hedgedspratio:
  4037. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4038. type: number
  4039. hedgedtotalexposourechange:
  4040. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4041. type: number
  4042. hedgedtotalexposure:
  4043. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4044. type: number
  4045. hedgeplanqty:
  4046. description: 套期计划量
  4047. type: number
  4048. hedgeplanqtychange:
  4049. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4050. type: number
  4051. hedgespotqty:
  4052. description: 被套期现货量
  4053. type: number
  4054. middlegoodsid:
  4055. description: 套保品种
  4056. type: integer
  4057. middlegoodsname:
  4058. description: 套保品种名称
  4059. type: string
  4060. orifutureqty:
  4061. description: 期初期货套期量
  4062. type: number
  4063. orihedgedspotexposure:
  4064. description: 期初被套期现货敞口量
  4065. type: number
  4066. orihedgedtotalexposure:
  4067. description: 期初套期敞口量
  4068. type: number
  4069. orihedgeplanqty:
  4070. description: 期初套期计划量
  4071. type: number
  4072. orihedgespotqty:
  4073. description: 期初被套期现货量
  4074. type: number
  4075. orispotexposure:
  4076. description: 期初现货敞口量
  4077. type: number
  4078. orispotqty:
  4079. description: 期初现货总量
  4080. type: number
  4081. oritotalexposure:
  4082. description: 期初总敞口量
  4083. type: number
  4084. spotexposure:
  4085. description: 现货敞口量
  4086. type: number
  4087. spotqty:
  4088. description: 现货总量
  4089. type: number
  4090. spotqtychange:
  4091. description: 现货变动量 = SpotQty - OriSpotQty
  4092. type: number
  4093. spratio:
  4094. description: 总期现比例 = 期货套期量/现货敞口量
  4095. type: number
  4096. totalexposure:
  4097. description: 总敞口量 = 现货敞口量 + 期货套期量
  4098. type: number
  4099. totalexposurechange:
  4100. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4101. type: number
  4102. updatetime:
  4103. description: 更新时间 --DATE
  4104. type: string
  4105. type: object
  4106. models.Ermcp2hedgeditem:
  4107. properties:
  4108. accountname:
  4109. description: 套期主体
  4110. type: string
  4111. applyid:
  4112. description: 申请人
  4113. type: integer
  4114. applysrc:
  4115. description: 申请来源 - 1:管理端 2:终端
  4116. type: integer
  4117. areauserid:
  4118. description: 企业ID
  4119. type: integer
  4120. auditid:
  4121. description: 审核人
  4122. type: integer
  4123. auditremark:
  4124. description: 审核备注
  4125. type: string
  4126. auditsrc:
  4127. description: 审核来源 - 1:管理端 2:终端
  4128. type: integer
  4129. audittime:
  4130. description: 审核时间
  4131. type: string
  4132. audittradedate:
  4133. description: 审核交易日(yyyyMMdd)
  4134. type: string
  4135. createtime:
  4136. description: 申请时间
  4137. type: string
  4138. curprice:
  4139. description: 当前市场价
  4140. type: number
  4141. curstock:
  4142. description: 期末库存量 = 采购总量 - 销售总量
  4143. type: number
  4144. deliverygoodsid:
  4145. description: 现货品种ID
  4146. type: integer
  4147. enddate:
  4148. description: 完成日期
  4149. type: string
  4150. endtradedate:
  4151. description: 完成交易日
  4152. type: string
  4153. enumdicname:
  4154. description: 单位
  4155. type: string
  4156. exeamount:
  4157. description: 执行市价总额
  4158. type: number
  4159. exeavgprice:
  4160. description: 执行市场均价= 执行市价总额 / 执行现货量
  4161. type: number
  4162. execontractamount:
  4163. description: 执行定价总额
  4164. type: number
  4165. exeqty:
  4166. description: 执行现货量
  4167. type: number
  4168. exerestamount:
  4169. description: 执行剩余市价总额【现货贸易】
  4170. type: number
  4171. futurefloatpl:
  4172. description: 期货浮动损益
  4173. type: number
  4174. futurehedgepl:
  4175. description: 期货实际损益
  4176. type: number
  4177. futurehedgeplchange:
  4178. description: 期货实际损益变动
  4179. type: number
  4180. futurepl:
  4181. description: 期货套期损益
  4182. type: number
  4183. futureplchange:
  4184. description: 期货套期损益变动
  4185. type: number
  4186. hedgeamount:
  4187. description: 套期市价总额
  4188. type: number
  4189. hedgecontractamount:
  4190. description: 套期定价总额 【定价采购合同】【现货贸易】
  4191. type: number
  4192. hedgeditemid:
  4193. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4194. type: string
  4195. hedgeditemname:
  4196. description: 项目名称
  4197. type: string
  4198. hedgeditemnum:
  4199. description: 项目编号
  4200. type: string
  4201. hedgeditemstatus:
  4202. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4203. type: integer
  4204. hedgedtype:
  4205. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4206. type: integer
  4207. hedgeqty:
  4208. description: 套期现货量
  4209. type: number
  4210. hedgerate:
  4211. description: 套保比率
  4212. type: number
  4213. hedgerestamount:
  4214. description: 套期剩余市价总额【现货贸易】
  4215. type: number
  4216. hedgesumpl:
  4217. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4218. type: number
  4219. middlegoodslist:
  4220. description: 套期商品列表
  4221. items:
  4222. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4223. type: array
  4224. oriavgprice:
  4225. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4226. type: number
  4227. orifuturehedgepl:
  4228. description: 期初期货实际损益
  4229. type: number
  4230. orifuturepl:
  4231. description: 期初期货套期损益
  4232. type: number
  4233. orispothedgepl:
  4234. description: 期初现货实际损益
  4235. type: number
  4236. orispotpl:
  4237. description: 期初现货套期损益
  4238. type: number
  4239. planenddate:
  4240. description: 计划结束日期
  4241. type: string
  4242. planstartdate:
  4243. description: 计划开始日期
  4244. type: string
  4245. remark:
  4246. description: 备注
  4247. type: string
  4248. spotbookamount:
  4249. description: 现货账面总额
  4250. type: number
  4251. spotfloatpl:
  4252. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgepl:
  4255. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4256. type: number
  4257. spothedgeplchange:
  4258. description: 现货实际损益变动
  4259. type: number
  4260. spotpl:
  4261. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4262. type: number
  4263. spotplchange:
  4264. description: 现货套期损益变动
  4265. type: number
  4266. spottradepl:
  4267. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4268. type: number
  4269. sumobspl:
  4270. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4271. type: number
  4272. tradeuserid:
  4273. description: 交易用户ID
  4274. type: integer
  4275. unexeqty:
  4276. description: 未执行现货量 = 套期现货量 - 执行现货量
  4277. type: number
  4278. updatetime:
  4279. description: 更新时间
  4280. type: string
  4281. vatpl:
  4282. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4283. type: number
  4284. vatrate:
  4285. description: 增值税
  4286. type: number
  4287. wrstandardid:
  4288. description: 现货商品ID
  4289. type: integer
  4290. wrstandardname:
  4291. description: 商品名称
  4292. type: string
  4293. type: object
  4294. models.Ermcp2hedgeditemlink:
  4295. properties:
  4296. areauserid:
  4297. description: 企业ID
  4298. type: integer
  4299. createtime:
  4300. description: '[关联时间]创建时间'
  4301. type: string
  4302. customeruserid:
  4303. description: 对手方 【3:采购合同 4:销售合同】
  4304. type: integer
  4305. deliverygoodsid:
  4306. description: 现货品种ID
  4307. type: integer
  4308. enumdicname:
  4309. description: 单位
  4310. type: string
  4311. hedgeditemid:
  4312. description: 被套期项目ID
  4313. type: integer
  4314. hedgeditemlinkid:
  4315. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4316. type: integer
  4317. hedgeditemnum:
  4318. description: 项目编号
  4319. type: string
  4320. hedgedtype:
  4321. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4322. type: integer
  4323. relatedamount:
  4324. description: 市价总额 = 关联数量 * 期初市场价
  4325. type: number
  4326. relatedhedgeplanid:
  4327. description: 关联计划ID 【1:采购计划 2:销售计划】
  4328. type: integer
  4329. relatedqty:
  4330. description: 关联数量
  4331. type: number
  4332. relatedspotcontractid:
  4333. description: 关联合同ID 【3:采购合同 4:销售合同】
  4334. type: integer
  4335. relatedtype:
  4336. description: 关联类型 - 1:套期关联 2:执行关联
  4337. type: integer
  4338. spotgoodsbrandid:
  4339. description: 现货品牌ID
  4340. type: integer
  4341. spotpricedamount:
  4342. description: '[关联定价总额]定价总额'
  4343. type: number
  4344. spotpricedavgprice:
  4345. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4346. type: number
  4347. spottype:
  4348. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4349. type: integer
  4350. tradeuserid:
  4351. description: 交易用户ID
  4352. type: integer
  4353. unexeqty:
  4354. description: 未执行现货量【项目关联时值】
  4355. type: number
  4356. wrstandardid:
  4357. description: 现货商品ID
  4358. type: integer
  4359. wrstandardname:
  4360. description: 现货商品
  4361. type: string
  4362. required:
  4363. - relatedspotcontractid
  4364. type: object
  4365. models.Ermcp2hedgeditemsDetail:
  4366. properties:
  4367. accountname:
  4368. description: 套期主体
  4369. type: string
  4370. areauserid:
  4371. description: 企业ID
  4372. type: integer
  4373. createtime:
  4374. description: '[日期时间]创建时间'
  4375. type: string
  4376. customeruserid:
  4377. description: 对手方 【3:采购合同 4:销售合同】
  4378. type: integer
  4379. deliverygoodsid:
  4380. description: 现货品种ID
  4381. type: integer
  4382. enumdicname:
  4383. description: 单位
  4384. type: string
  4385. hedgeditemid:
  4386. description: 被套期项目ID
  4387. type: string
  4388. hedgeditemspotid:
  4389. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4390. type: string
  4391. hedgedtype:
  4392. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4393. type: integer
  4394. hedgeplanno:
  4395. description: 计划编号
  4396. type: string
  4397. middlegoodschange:
  4398. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4399. type: number
  4400. oriavgprice:
  4401. description: 期初市场价[当初市场价]
  4402. type: number
  4403. relatedamount:
  4404. description: 市价总额 = 关联数量 * 期初市场价
  4405. type: number
  4406. relatedhedgeplanid:
  4407. description: 关联计划ID 【1:采购计划 2:销售计划】
  4408. type: integer
  4409. relatedqty:
  4410. description: '[期间变化量]关联数量'
  4411. type: number
  4412. relatedspotcontractid:
  4413. description: 关联合同ID 【3:采购合同 4:销售合同】
  4414. type: integer
  4415. relatedtype:
  4416. description: 关联类型 - 1:套期关联 2:执行关联
  4417. type: integer
  4418. spotgoodsbrandid:
  4419. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4420. type: integer
  4421. spotpricedamount:
  4422. description: 定价总额
  4423. type: number
  4424. spotpricedavgprice:
  4425. description: 现货均价 = 定价总额 / 关联数量
  4426. type: number
  4427. spottype:
  4428. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4429. type: integer
  4430. tradeuserid:
  4431. description: 交易用户ID
  4432. type: integer
  4433. unexeqty:
  4434. description: 未执行现货量 = 套期现货量 - 执行现货量
  4435. type: number
  4436. wrstandardid:
  4437. description: 现货商品ID
  4438. type: integer
  4439. wrstandardname:
  4440. description: 现货商品
  4441. type: string
  4442. type: object
  4443. models.Ermcp2hedgeditemspot:
  4444. properties:
  4445. areauserid:
  4446. description: 企业ID
  4447. type: integer
  4448. createtime:
  4449. description: 创建时间
  4450. type: string
  4451. customeruserid:
  4452. description: 对手方 【3:采购合同 4:销售合同】
  4453. type: integer
  4454. deliverygoodsid:
  4455. description: 现货品种ID
  4456. type: integer
  4457. enumdicname:
  4458. description: 单位
  4459. type: string
  4460. hedgeditemid:
  4461. description: 被套期项目ID
  4462. type: string
  4463. hedgeditemspotid:
  4464. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4465. type: string
  4466. hedgedtype:
  4467. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4468. type: integer
  4469. hedgeplanno:
  4470. description: 计划编号
  4471. type: string
  4472. oriavgprice:
  4473. description: 期初市场价[当初市场价]
  4474. type: number
  4475. relatedamount:
  4476. description: 市价总额 = 关联数量 * 期初市场价
  4477. type: number
  4478. relatedhedgeplanid:
  4479. description: 关联计划ID 【1:采购计划 2:销售计划】
  4480. type: integer
  4481. relatedqty:
  4482. description: 关联数量[数量]
  4483. type: number
  4484. relatedspotcontractid:
  4485. description: 关联合同ID 【3:采购合同 4:销售合同】
  4486. type: integer
  4487. relatedtype:
  4488. description: 关联类型 - 1:套期关联 2:执行关联
  4489. type: integer
  4490. spotgoodsbrandid:
  4491. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4492. type: integer
  4493. spotpricedamount:
  4494. description: 定价总额
  4495. type: number
  4496. spotpricedavgprice:
  4497. description: 现货均价 = 定价总额 / 关联数量
  4498. type: number
  4499. spottype:
  4500. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4501. type: integer
  4502. tradeuserid:
  4503. description: 交易用户ID
  4504. type: integer
  4505. wrstandardid:
  4506. description: 现货商品ID
  4507. type: integer
  4508. wrstandardname:
  4509. description: 现货商品
  4510. type: string
  4511. required:
  4512. - hedgeditemid
  4513. type: object
  4514. models.Ermcp2hedgeditemspotDetail:
  4515. properties:
  4516. accountname:
  4517. description: 对手方
  4518. type: string
  4519. areauserid:
  4520. description: 企业ID
  4521. type: integer
  4522. brandname:
  4523. description: 品牌
  4524. type: string
  4525. contractno:
  4526. description: 合同编号
  4527. type: string
  4528. createtime:
  4529. description: 创建时间
  4530. type: string
  4531. customeruserid:
  4532. description: 对手方 【3:采购合同 4:销售合同】
  4533. type: integer
  4534. deliverygoodsid:
  4535. description: 现货品种ID
  4536. type: integer
  4537. enumdicname:
  4538. description: 单位
  4539. type: string
  4540. hedgeditemid:
  4541. description: 被套期项目ID
  4542. type: string
  4543. hedgeditemspotid:
  4544. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4545. type: string
  4546. hedgedtype:
  4547. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4548. type: integer
  4549. oriavgprice:
  4550. description: 期初市场价[当初市场价]
  4551. type: number
  4552. relatedamount:
  4553. description: 市价总额 = 关联数量 * 期初市场价
  4554. type: number
  4555. relatedhedgeplanid:
  4556. description: 关联计划ID 【1:采购计划 2:销售计划】
  4557. type: integer
  4558. relatedqty:
  4559. description: 关联数量[数量]
  4560. type: number
  4561. relatedspotcontractid:
  4562. description: 关联合同ID 【3:采购合同 4:销售合同】
  4563. type: integer
  4564. relatedtype:
  4565. description: 关联类型 - 1:套期关联 2:执行关联
  4566. type: integer
  4567. spotgoodsbrandid:
  4568. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4569. type: integer
  4570. spotpricedamount:
  4571. description: 定价总额[金额]
  4572. type: number
  4573. spotpricedavgprice:
  4574. description: 现货均价 = 定价总额 / 关联数量
  4575. type: number
  4576. spottype:
  4577. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4578. type: integer
  4579. tradeuserid:
  4580. description: 交易用户ID
  4581. type: integer
  4582. wrstandardid:
  4583. description: 现货商品ID
  4584. type: integer
  4585. wrstandardname:
  4586. description: 现货商品
  4587. type: string
  4588. required:
  4589. - hedgeditemid
  4590. type: object
  4591. models.Ermcp2himiddlegoods:
  4592. properties:
  4593. futurehedgeqty:
  4594. description: 期货持仓套期量
  4595. type: number
  4596. hedgeditemid:
  4597. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4598. type: integer
  4599. hiexpsoure:
  4600. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4601. type: number
  4602. middlegoodscode:
  4603. description: 套保商品代码
  4604. type: string
  4605. middlegoodsid:
  4606. description: 套保品种ID
  4607. type: integer
  4608. middlegoodsname:
  4609. description: 套保商品名称
  4610. type: string
  4611. unexehedgeqty:
  4612. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4613. type: number
  4614. required:
  4615. - hedgeditemid
  4616. - middlegoodsid
  4617. type: object
  4618. models.Ermcp2stockspotchangelog:
  4619. properties:
  4620. accountname:
  4621. description: 套期主体
  4622. type: string
  4623. aftervalue:
  4624. description: 现货量
  4625. type: number
  4626. beforevalue:
  4627. description: 变更前现货量
  4628. type: number
  4629. contractno:
  4630. description: '[编号]现货合同编号'
  4631. type: string
  4632. contracttype:
  4633. description: 现货合同类型 - 1:采购 -1:销售
  4634. type: integer
  4635. createtime:
  4636. description: 创建时间
  4637. type: string
  4638. customerusername:
  4639. description: 对手方
  4640. type: string
  4641. deliverygoodsid:
  4642. description: 现货品种ID
  4643. type: integer
  4644. exetype:
  4645. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4646. type: integer
  4647. logid:
  4648. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4649. type: string
  4650. logvalue:
  4651. description: '[期间变化量]现货量变更值'
  4652. type: number
  4653. middlegoodschange:
  4654. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4655. type: number
  4656. operatelogtype:
  4657. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4658. 27:生产出库
  4659. type: integer
  4660. relatedid:
  4661. description: 现货合同ID
  4662. type: integer
  4663. spotgoodsbrandid:
  4664. description: 现货品牌ID
  4665. type: integer
  4666. tradedate:
  4667. description: 交易日(yyyyMMdd)
  4668. type: string
  4669. userid:
  4670. description: 机构ID
  4671. type: integer
  4672. warehouseinfoid:
  4673. description: 仓库ID
  4674. type: integer
  4675. wrfactortypeid:
  4676. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4677. type: integer
  4678. wrstandardid:
  4679. description: 现货商品ID
  4680. type: integer
  4681. wrstandardname:
  4682. description: 商品名称
  4683. type: string
  4684. type: object
  4685. models.Ermcp3AreaSpot:
  4686. properties:
  4687. areauserid:
  4688. description: 所属机构
  4689. type: integer
  4690. convertratio:
  4691. description: 套保系数
  4692. type: number
  4693. decreaseqty:
  4694. description: 减少数量=-(销售已定价数量+采购计划数量)
  4695. type: number
  4696. enumdicname:
  4697. description: 单位名称
  4698. type: string
  4699. increaseqty:
  4700. description: 增加数量=销售计划数量+采购已定价数量
  4701. type: number
  4702. oritoalspotqty:
  4703. description: 昨日数量
  4704. type: number
  4705. totalspotqty:
  4706. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4707. type: number
  4708. unitid:
  4709. description: 现货商品单位id
  4710. type: integer
  4711. updatetime:
  4712. description: 更新时间
  4713. type: string
  4714. wrstandardcode:
  4715. description: 现货商品代码
  4716. type: string
  4717. wrstandardid:
  4718. description: 现货商品ID(SEQ_WRSTANDARD)
  4719. type: integer
  4720. wrstandardname:
  4721. description: 现货商品名称
  4722. type: string
  4723. type: object
  4724. models.Ermcp3AreaSpotDetail:
  4725. properties:
  4726. contracttype:
  4727. description: 合同类型 1-采购 -1-销售
  4728. type: integer
  4729. createtime:
  4730. description: 创建时间
  4731. type: string
  4732. enumdicname:
  4733. description: 现货商品单位名称
  4734. type: string
  4735. logtype:
  4736. description: 记录类型 1-套保 2-现货合同
  4737. type: integer
  4738. qty:
  4739. description: 数量
  4740. type: number
  4741. recordname:
  4742. description: 类型名称
  4743. type: string
  4744. relatedid:
  4745. description: 套保计划ID/现货合同ID
  4746. type: string
  4747. relatedno:
  4748. description: 编号
  4749. type: string
  4750. strtime:
  4751. description: 时间
  4752. type: string
  4753. wrstandardcode:
  4754. description: 现货商品代码
  4755. type: string
  4756. wrstandardid:
  4757. description: 现货商品ID(SEQ_WRSTANDARD)
  4758. type: integer
  4759. wrstandardname:
  4760. description: 现货商品名称
  4761. type: string
  4762. type: object
  4763. models.Ermcp3AreaSpotPLReport:
  4764. properties:
  4765. accountid:
  4766. description: 期货账户ID (作废, 默认为0)
  4767. type: integer
  4768. accountname:
  4769. description: 机构名称
  4770. type: string
  4771. actualpl:
  4772. description: 现货损益
  4773. type: number
  4774. areauserid:
  4775. description: 所属机构\交易用户ID
  4776. type: integer
  4777. begindate:
  4778. description: 开始交易日
  4779. type: string
  4780. biztype:
  4781. description: 业务类型 - 1:套保 2:套利
  4782. type: integer
  4783. brandname:
  4784. description: 品牌名称
  4785. type: string
  4786. curamount:
  4787. description: 期末额
  4788. type: number
  4789. curaverageprice:
  4790. description: 期初均价
  4791. type: number
  4792. curbuyamount:
  4793. description: 期末采购总额
  4794. type: number
  4795. curbuyqty:
  4796. description: 期末采购总量
  4797. type: number
  4798. curmarketvalue:
  4799. description: 期初均价
  4800. type: number
  4801. curqty:
  4802. description: 期末量
  4803. type: number
  4804. currencyid:
  4805. description: 结算币种ID【原值】
  4806. type: integer
  4807. currencyname:
  4808. description: 币种名称
  4809. type: string
  4810. cursellamount:
  4811. description: 期末销售总额
  4812. type: number
  4813. cursellqty:
  4814. description: 期末销售总量
  4815. type: number
  4816. curspotprice:
  4817. description: 期初均价
  4818. type: number
  4819. cycletime:
  4820. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4821. type: string
  4822. cycletype:
  4823. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4824. type: integer
  4825. deliverygoodscode:
  4826. description: 现货品种代码
  4827. type: string
  4828. deliverygoodsid:
  4829. description: 现货品种ID
  4830. type: integer
  4831. deliverygoodsname:
  4832. description: 现货品种名称
  4833. type: string
  4834. enddate:
  4835. description: 结束交易日
  4836. type: string
  4837. enumdicname:
  4838. description: 现货品种单位名称(作废)
  4839. type: string
  4840. floatpl:
  4841. description: 期初均价
  4842. type: number
  4843. goodsunitid:
  4844. description: 现货品种单位id(作废)
  4845. type: integer
  4846. oriamount:
  4847. description: 期初额
  4848. type: number
  4849. oriaverageprice:
  4850. description: 期初均价
  4851. type: number
  4852. oribuyamount:
  4853. description: 期初采购总额
  4854. type: number
  4855. oribuyqty:
  4856. description: 期初采购总量
  4857. type: number
  4858. oriqty:
  4859. description: 期初量
  4860. type: number
  4861. orisellamount:
  4862. description: 期初销售总额
  4863. type: number
  4864. orisellqty:
  4865. description: 期初销售总量
  4866. type: number
  4867. reckondate:
  4868. description: 日照时期(yyyyMMdd)
  4869. type: string
  4870. spotgoodsbrandid:
  4871. description: 现货品牌ID
  4872. type: integer
  4873. todaybuyamount:
  4874. description: 今日采购额(今采购额)
  4875. type: number
  4876. todaybuyaverageprice:
  4877. description: 期初均价
  4878. type: number
  4879. todaybuyqty:
  4880. description: 今日采购量(今采购量)
  4881. type: number
  4882. todayinqty:
  4883. description: 今日入库量(今入库量)
  4884. type: number
  4885. todayoutqty:
  4886. description: 今日出库量(今出库量)
  4887. type: number
  4888. todaysellamount:
  4889. description: 今日销售额(今销售额)
  4890. type: number
  4891. todaysellaverageprice:
  4892. description: 期初均价
  4893. type: number
  4894. todaysellqty:
  4895. description: 今日销售量(今销售量)
  4896. type: number
  4897. unitid:
  4898. description: 品类单位id
  4899. type: integer
  4900. unitidname:
  4901. description: 品类单位名称
  4902. type: string
  4903. updatetime:
  4904. description: 更新时间
  4905. type: string
  4906. wrfactortypeid:
  4907. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4908. type: integer
  4909. wrstandardcode:
  4910. description: 现货商品(品类)代码
  4911. type: string
  4912. wrstandardid:
  4913. description: 现货品类ID
  4914. type: integer
  4915. wrstandardname:
  4916. description: 现货商品(品类)名称
  4917. type: string
  4918. type: object
  4919. models.Ermcp3AreaStock:
  4920. properties:
  4921. brandname:
  4922. description: 品牌名称
  4923. type: string
  4924. curstock:
  4925. description: 期末库存量(今日量)
  4926. type: number
  4927. deliverygoodscode:
  4928. description: 现货品种代码
  4929. type: string
  4930. deliverygoodsid:
  4931. description: 现货品种id
  4932. type: integer
  4933. deliverygoodsname:
  4934. description: 现货品种名称
  4935. type: string
  4936. enumdicname:
  4937. description: 单位名称
  4938. type: string
  4939. goodsunitid:
  4940. description: 现货商品单位id
  4941. type: integer
  4942. oristock:
  4943. description: 期初库存量(昨日量)
  4944. type: number
  4945. spotgoodsbrandid:
  4946. description: 现货品牌ID
  4947. type: integer
  4948. todaybuyinqty:
  4949. description: 今日采购入库量
  4950. type: number
  4951. todayproduceinqty:
  4952. description: 今日生产入库量
  4953. type: number
  4954. todayproduceoutqty:
  4955. description: 今日生产出库量
  4956. type: number
  4957. todayselloutqty:
  4958. description: 今日销售出库量
  4959. type: number
  4960. unitid:
  4961. description: 单位id
  4962. type: integer
  4963. updatetime:
  4964. description: 更新时间
  4965. type: string
  4966. userid:
  4967. description: 机构ID
  4968. type: integer
  4969. username:
  4970. description: 机构名称
  4971. type: string
  4972. warehousecode:
  4973. description: 仓库代码
  4974. type: string
  4975. warehouseinfoid:
  4976. description: 仓库ID
  4977. type: string
  4978. warehousename:
  4979. description: 仓库名称
  4980. type: string
  4981. warehousetype:
  4982. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4983. type: integer
  4984. wrstandardcode:
  4985. description: 品类代码
  4986. type: string
  4987. wrstandardid:
  4988. description: 品类ID
  4989. type: string
  4990. wrstandardname:
  4991. description: 品类名称
  4992. type: string
  4993. required:
  4994. - userid
  4995. type: object
  4996. models.Ermcp3AreaStockApply:
  4997. properties:
  4998. applyid:
  4999. description: 申请人
  5000. type: integer
  5001. applyname:
  5002. description: 申请人名称
  5003. type: string
  5004. applyremark:
  5005. description: 申请备注
  5006. type: string
  5007. applysrc:
  5008. description: 申请来源 - 1:管理端 2:终端
  5009. type: integer
  5010. applystatus:
  5011. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5012. type: integer
  5013. applytime:
  5014. description: 申请时间
  5015. type: string
  5016. auditid:
  5017. description: 审核人
  5018. type: integer
  5019. auditname:
  5020. description: 审核人名称
  5021. type: string
  5022. auditremark:
  5023. description: 审核备注
  5024. type: string
  5025. auditsrc:
  5026. description: 审核来源 - 1:管理端 2:终端
  5027. type: integer
  5028. audittime:
  5029. description: 审核时间
  5030. type: string
  5031. audittradedate:
  5032. description: 审核交易日(yyyyMMdd)
  5033. type: string
  5034. brandname:
  5035. description: 品牌名称
  5036. type: string
  5037. buynickname:
  5038. description: 采购方昵称
  5039. type: string
  5040. buyuserid:
  5041. description: 采购方userid
  5042. type: integer
  5043. buyusername:
  5044. description: 采购方名称
  5045. type: string
  5046. contractno:
  5047. description: 合同编号
  5048. type: string
  5049. contractqty:
  5050. description: 合同量
  5051. type: number
  5052. contracttype:
  5053. description: 现货合同类型 - 1:采购 -1:销售
  5054. type: integer
  5055. deliverygoodscode:
  5056. description: 现货品种代码
  5057. type: string
  5058. deliverygoodsid:
  5059. description: 现货品种id
  5060. type: integer
  5061. deliverygoodsname:
  5062. description: 现货品种名称
  5063. type: string
  5064. detailjson:
  5065. description: 明细数据
  5066. type: string
  5067. enumdicname:
  5068. description: 现货商品单位名称
  5069. type: string
  5070. inoutapplyid:
  5071. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5072. type: string
  5073. inouttype:
  5074. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5075. type: integer
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. qty:
  5080. description: 数量
  5081. type: number
  5082. sellnickname:
  5083. description: 销售方昵称
  5084. type: string
  5085. selluserid:
  5086. description: 销售方userid
  5087. type: integer
  5088. sellusername:
  5089. description: 销售方名称
  5090. type: string
  5091. spotcontractid:
  5092. description: 关联现货合同ID
  5093. type: string
  5094. spotgoodsbrandid:
  5095. description: 现货品牌ID
  5096. type: integer
  5097. unitid:
  5098. description: 单位id
  5099. type: integer
  5100. userid:
  5101. description: 机构ID
  5102. type: integer
  5103. warehousecode:
  5104. description: 仓库代码
  5105. type: string
  5106. warehouseinfoid:
  5107. description: 现货仓库ID
  5108. type: string
  5109. warehousename:
  5110. description: 仓库名称
  5111. type: string
  5112. warehousetype:
  5113. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5114. type: integer
  5115. wrstandardcode:
  5116. description: 品类代码
  5117. type: string
  5118. wrstandardid:
  5119. description: 品类ID
  5120. type: integer
  5121. wrstandardname:
  5122. description: 品类名称
  5123. type: string
  5124. type: object
  5125. models.Ermcp3AreaStockApplySum:
  5126. properties:
  5127. brandname:
  5128. description: 品牌名称
  5129. type: string
  5130. inouttype:
  5131. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5132. type: integer
  5133. spotcontractid:
  5134. description: 关联现货合同ID
  5135. type: string
  5136. spotgoodsbrandid:
  5137. description: 品牌id
  5138. type: integer
  5139. totalqty:
  5140. description: 总数量
  5141. type: number
  5142. wrstandardid:
  5143. description: 品类id
  5144. type: integer
  5145. wrstandardname:
  5146. description: 品类名称
  5147. type: string
  5148. type: object
  5149. models.Ermcp3AreaStockReportEx:
  5150. properties:
  5151. begindate:
  5152. description: 开始交易日
  5153. type: string
  5154. brandname:
  5155. description: 品牌名称
  5156. type: string
  5157. curstock:
  5158. description: 期末库存量
  5159. type: number
  5160. cycletime:
  5161. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5162. type: string
  5163. cycletype:
  5164. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5165. type: integer
  5166. deliverygoodscode:
  5167. description: 现货品种代码
  5168. type: string
  5169. deliverygoodsid:
  5170. description: 现货品种id
  5171. type: integer
  5172. deliverygoodsname:
  5173. description: 现货品种名称
  5174. type: string
  5175. diffqty:
  5176. description: 库存变化量 = 期末 - 期初
  5177. type: number
  5178. enddate:
  5179. description: 结束交易日
  5180. type: string
  5181. enumdicname:
  5182. description: 单位名称
  5183. type: string
  5184. goodsunitid:
  5185. description: 现货单位id
  5186. type: integer
  5187. oristock:
  5188. description: 期初库存量
  5189. type: number
  5190. reckondate:
  5191. description: 日照时期(yyyyMMdd)
  5192. type: string
  5193. spotgoodsbrandid:
  5194. description: 现货品牌ID
  5195. type: integer
  5196. todaybuyinqty:
  5197. description: 今采购入库量
  5198. type: number
  5199. todayproduceinqty:
  5200. description: 今内部入库量
  5201. type: number
  5202. todayproduceoutqty:
  5203. description: 今内部出库量
  5204. type: number
  5205. todayselloutqty:
  5206. description: 今销售出库量
  5207. type: number
  5208. unbuyinqty:
  5209. description: 采购未入库量(数据库未找到相关字段?)
  5210. type: number
  5211. unitid:
  5212. description: 品类单位id
  5213. type: integer
  5214. unselloutqty:
  5215. description: 销售未出库量(数据库未找到相关字段?)
  5216. type: number
  5217. updatetime:
  5218. description: 更新时间
  5219. type: string
  5220. userid:
  5221. description: 机构ID
  5222. type: integer
  5223. username:
  5224. description: 机构名称
  5225. type: string
  5226. warehousecode:
  5227. description: 仓库代码
  5228. type: string
  5229. warehouseinfoid:
  5230. description: 仓库ID
  5231. type: string
  5232. warehousename:
  5233. description: 仓库名称
  5234. type: string
  5235. warehousetype:
  5236. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5237. type: integer
  5238. wrstandardcode:
  5239. description: 品类代码
  5240. type: string
  5241. wrstandardid:
  5242. description: 品类ID
  5243. type: integer
  5244. wrstandardname:
  5245. description: 品类名称
  5246. type: string
  5247. type: object
  5248. models.Ermcp3ArealSumPL:
  5249. properties:
  5250. accountname:
  5251. description: 机构名称
  5252. type: string
  5253. areauserid:
  5254. description: 所属机构\交易用户ID
  5255. type: integer
  5256. begindate:
  5257. description: 开始交易日
  5258. type: string
  5259. currencyid:
  5260. description: 结算币种ID
  5261. type: integer
  5262. currencyname:
  5263. description: 币种名称
  5264. type: string
  5265. cycletime:
  5266. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5267. type: string
  5268. cycletype:
  5269. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5270. type: integer
  5271. enddate:
  5272. description: 结束交易日
  5273. type: string
  5274. enumdicname:
  5275. description: 单位名称(套保品种)
  5276. type: string
  5277. futureactualpl:
  5278. description: 期货损益
  5279. type: number
  5280. futurefloatpl:
  5281. description: 期货浮动损益
  5282. type: number
  5283. futurespotratio:
  5284. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5285. type: number
  5286. goodsunitid:
  5287. description: 套保品种单位id
  5288. type: integer
  5289. hedgeexposurepl:
  5290. description: 套保敞口损益
  5291. type: number
  5292. middlegoodscode:
  5293. description: 套保品种代码
  5294. type: string
  5295. middlegoodsid:
  5296. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5297. type: integer
  5298. middlegoodsname:
  5299. description: 套保品种名称
  5300. type: string
  5301. reckondate:
  5302. description: 日照时期(yyyyMMdd)
  5303. type: string
  5304. spotactualpl:
  5305. description: 现货损益
  5306. type: number
  5307. spotfloatpl:
  5308. description: 现货浮动损益
  5309. type: number
  5310. sumactualpl:
  5311. description: 实际损益 = (ActualPL + FutureActualPL)
  5312. type: number
  5313. sumpl:
  5314. description: 总敞口损益 | 汇总损益
  5315. type: number
  5316. totalfutureqty:
  5317. description: 期货头寸总量
  5318. type: number
  5319. totalneedhedgeqty:
  5320. description: 应套保总量
  5321. type: number
  5322. totalspotqty:
  5323. description: 现货头寸总量
  5324. type: number
  5325. updatetime:
  5326. description: 更新时间
  5327. type: string
  5328. type: object
  5329. models.Ermcp3Brand:
  5330. properties:
  5331. areauserid:
  5332. description: 用户id
  5333. type: integer
  5334. brandid:
  5335. description: 品牌id
  5336. type: integer
  5337. brandname:
  5338. description: 品牌名称
  5339. type: string
  5340. deliverygoodsid:
  5341. description: 品种ID
  5342. type: integer
  5343. isvalid:
  5344. description: 是否有效
  5345. type: integer
  5346. type: object
  5347. models.Ermcp3Contract:
  5348. properties:
  5349. accountid:
  5350. description: 期货账户id
  5351. type: string
  5352. amount:
  5353. description: 金额 [1:一口价、3:暂定价]
  5354. type: number
  5355. attachment:
  5356. description: 附件
  5357. type: string
  5358. auditremark:
  5359. description: 审核意见
  5360. type: string
  5361. audittime:
  5362. description: 审核时间
  5363. type: string
  5364. biztype:
  5365. description: 业务类型 1-套保 2-套利
  5366. type: integer
  5367. brandname:
  5368. description: 品牌名称
  5369. type: string
  5370. buynickname:
  5371. description: 销售方昵称
  5372. type: string
  5373. buyuserid:
  5374. description: 采购方ID
  5375. type: integer
  5376. buyusername:
  5377. description: 采购方名称
  5378. type: string
  5379. contracctstatus:
  5380. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5381. type: integer
  5382. contractmargin:
  5383. description: 合同保证金
  5384. type: number
  5385. contractno:
  5386. description: 现货合同编号
  5387. type: string
  5388. contracttype:
  5389. description: 现货合同类型 - 1:采购 -1:销售
  5390. type: integer
  5391. convertfactor:
  5392. description: 标仓系数(品类)
  5393. type: number
  5394. createtime:
  5395. description: 创建时间
  5396. type: string
  5397. currencyid:
  5398. description: 币种id
  5399. type: integer
  5400. currencyname:
  5401. description: 币种名称
  5402. type: string
  5403. deliveryenddate:
  5404. description: 交收期(结束)
  5405. type: string
  5406. deliverygoodscode:
  5407. description: 现货品种代码
  5408. type: string
  5409. deliverygoodsid:
  5410. description: 现货品种ID
  5411. type: integer
  5412. deliverygoodsname:
  5413. description: 现货品种名称
  5414. type: string
  5415. deliverystartdate:
  5416. description: 交收期(开始)
  5417. type: string
  5418. enddate:
  5419. description: 点价结束日期 [2:点价 3:暂定价]
  5420. type: string
  5421. enumdicname:
  5422. description: 单位名称
  5423. type: string
  5424. goodscode:
  5425. description: 点价合约代码
  5426. type: string
  5427. goodsid:
  5428. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5429. type: integer
  5430. goodsname:
  5431. description: 点价商品名称
  5432. type: string
  5433. margin:
  5434. description: 当前保证金
  5435. type: number
  5436. meruserid:
  5437. description: 跟单员id
  5438. type: integer
  5439. meruserlogincode:
  5440. description: 跟单员登录代码
  5441. type: string
  5442. merusername:
  5443. description: 跟单员名称
  5444. type: string
  5445. pointdesc:
  5446. description: 点价备注
  5447. type: string
  5448. price:
  5449. description: 价格\暂定价 [1:一口价、3:暂定价]
  5450. type: number
  5451. pricemove:
  5452. description: 升贴水 [2:点价 3:暂定价]
  5453. type: number
  5454. pricetype:
  5455. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5456. type: integer
  5457. producttype:
  5458. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5459. type: integer
  5460. qty:
  5461. description: 数量
  5462. type: number
  5463. remark:
  5464. description: 备注
  5465. type: string
  5466. saleuserid:
  5467. description: 业务员id
  5468. type: integer
  5469. saleuserlogincode:
  5470. description: 业务员登录代码
  5471. type: string
  5472. saleusername:
  5473. description: 业务员名称
  5474. type: string
  5475. sellnickname:
  5476. description: 采购方昵称
  5477. type: string
  5478. selluserid:
  5479. description: 销售方ID
  5480. type: integer
  5481. sellusername:
  5482. description: 销售方名称
  5483. type: string
  5484. spotcontractid:
  5485. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5486. type: string
  5487. spotgoodsbrandid:
  5488. description: 现货品牌ID(DGFactoryItem表的ID)
  5489. type: integer
  5490. spotgoodsdesc:
  5491. description: 商品型号
  5492. type: string
  5493. startdate:
  5494. description: 点价开始日期 [2:点价 3:暂定价]
  5495. type: string
  5496. subjectid:
  5497. description: 交易主体ID
  5498. type: integer
  5499. subjectname:
  5500. description: 交易主体名称
  5501. type: string
  5502. tradeuserid:
  5503. description: 交易员id
  5504. type: integer
  5505. tradeuserlogincode:
  5506. description: 交易员登录代码
  5507. type: string
  5508. tradeusername:
  5509. description: 交易员名称
  5510. type: string
  5511. unitid:
  5512. description: 单位id(取品类上的单位id)
  5513. type: integer
  5514. updatetime:
  5515. description: 更新时间
  5516. type: string
  5517. userid:
  5518. description: 所属机构ID
  5519. type: integer
  5520. vatrate:
  5521. description: 增值税率
  5522. type: number
  5523. wrstandardcode:
  5524. description: 品类代码
  5525. type: string
  5526. wrstandardid:
  5527. description: 品类ID
  5528. type: integer
  5529. wrstandardname:
  5530. description: 品类名称
  5531. type: string
  5532. type: object
  5533. models.Ermcp3ContractMiddleGoodsCfg:
  5534. properties:
  5535. agreeunit:
  5536. description: 合约乘数
  5537. type: number
  5538. convertratio:
  5539. description: 期货品种系数
  5540. type: number
  5541. covertqty:
  5542. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5543. type: integer
  5544. middlegoodsid:
  5545. description: 套保品种ID
  5546. type: integer
  5547. middlegoodspricedqty3:
  5548. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5549. example: "0"
  5550. type: string
  5551. pendingpricedqty:
  5552. description: 待点价量
  5553. example: "0"
  5554. type: string
  5555. relatedmiddlegoodsqty:
  5556. description: 已关联量(套保品种-期货)
  5557. example: "0"
  5558. type: string
  5559. spotcontractid:
  5560. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5561. type: string
  5562. type: object
  5563. models.Ermcp3ExposureContractDetail:
  5564. properties:
  5565. biztype:
  5566. description: 业务类型 1-套保 2-套利
  5567. type: integer
  5568. brandname:
  5569. description: 品牌名称
  5570. type: string
  5571. buyuserid:
  5572. description: 采购方id
  5573. type: integer
  5574. buyusername:
  5575. description: 采购方名称
  5576. type: string
  5577. contractno:
  5578. description: 合同编号
  5579. type: string
  5580. contracttype:
  5581. description: 现货合同类型 - 1:采购 -1:销售
  5582. type: integer
  5583. convertfactor:
  5584. description: 标仓系数
  5585. type: number
  5586. convertratio:
  5587. description: 折算系数(套保品种)
  5588. type: number
  5589. curqty:
  5590. description: 今定价量
  5591. type: number
  5592. deliverygoodscode:
  5593. description: 现货品种代码
  5594. type: string
  5595. deliverygoodsid:
  5596. description: 现货品种id
  5597. type: integer
  5598. deliverygoodsname:
  5599. description: 现货品种名称
  5600. type: string
  5601. diffhedgeqty:
  5602. description: 套保变动量
  5603. type: number
  5604. diffneedhedgeqty:
  5605. description: 应套保变动量
  5606. type: number
  5607. diffqty:
  5608. description: 套保品种今变动量
  5609. type: number
  5610. enumdicname:
  5611. description: 单位名称
  5612. type: string
  5613. mgunitname:
  5614. description: 套保品种单位名称
  5615. type: string
  5616. middlegoodscode:
  5617. description: 套保品种代码
  5618. type: string
  5619. middlegoodsid:
  5620. description: 套保品种id
  5621. type: integer
  5622. middlegoodsname:
  5623. description: 套保品种名称
  5624. type: string
  5625. needarbitrageratio:
  5626. description: 应套利比例
  5627. type: number
  5628. needhedgeratio:
  5629. description: 应套保比例
  5630. type: number
  5631. pricedqty:
  5632. description: 已定价量
  5633. type: number
  5634. qty:
  5635. description: 合同量
  5636. type: number
  5637. reckondate:
  5638. description: 交易日(reckondate)
  5639. type: string
  5640. selluserid:
  5641. description: 销售方id
  5642. type: integer
  5643. sellusername:
  5644. description: 销售方名称
  5645. type: string
  5646. spotcontractid:
  5647. description: 合同id
  5648. type: string
  5649. todaypricedqty:
  5650. description: 今定价量
  5651. type: number
  5652. tradedate:
  5653. description: 交易日
  5654. type: string
  5655. unitid:
  5656. description: 品类单位id
  5657. type: integer
  5658. userid:
  5659. description: 机构id
  5660. type: integer
  5661. username:
  5662. description: 交易用户
  5663. type: string
  5664. wrstandardcode:
  5665. description: 现货商品代码
  5666. type: string
  5667. wrstandardid:
  5668. description: 现货商品id
  5669. type: integer
  5670. wrstandardname:
  5671. description: 现货商品名称
  5672. type: string
  5673. type: object
  5674. models.Ermcp3ExposureDetail:
  5675. properties:
  5676. areauserid:
  5677. description: 机构ID
  5678. type: integer
  5679. changeQty:
  5680. description: 套保变动量
  5681. type: number
  5682. contracttype:
  5683. description: 现货合同类型 - 1:采购 -1:销售
  5684. type: integer
  5685. convertfactor:
  5686. description: 标仓系数
  5687. type: number
  5688. convertratio:
  5689. description: 折算系数
  5690. type: number
  5691. createtime:
  5692. description: 时间
  5693. type: string
  5694. enumdicname:
  5695. description: 现货商品单位名称
  5696. type: string
  5697. logtype:
  5698. description: 类型 - 1:套保计划 2:现货合同
  5699. type: integer
  5700. mgunitid:
  5701. description: 套保品种单位id
  5702. type: integer
  5703. mgunitidname:
  5704. description: 套保品种单位名称
  5705. type: string
  5706. middlegoodsId:
  5707. description: 套保商品id
  5708. type: integer
  5709. middlegoodscode:
  5710. description: 套保商品代码
  5711. type: string
  5712. middlegoodsname:
  5713. description: 套保商品名称
  5714. type: string
  5715. qty:
  5716. description: 数量
  5717. type: number
  5718. relateNo:
  5719. description: 现货合同/套保计划编号
  5720. type: string
  5721. unitid:
  5722. description: 现货商品单位id
  5723. type: integer
  5724. wrstandardcode:
  5725. description: 现货商品代码
  5726. type: string
  5727. wrstandardid:
  5728. description: 现货商品ID(SEQ_WRSTANDARD)
  5729. type: integer
  5730. wrstandardname:
  5731. description: 现货商品名称
  5732. type: string
  5733. type: object
  5734. models.Ermcp3ExposureFutuDetail:
  5735. properties:
  5736. accountid:
  5737. description: 交易账户id
  5738. type: integer
  5739. accountname:
  5740. description: 交易账户
  5741. type: string
  5742. begindate:
  5743. description: 开始交易日
  5744. type: string
  5745. buyorsell:
  5746. description: 方向 0-买 1-卖
  5747. type: integer
  5748. diffmgqty:
  5749. description: 套保品种今变化量
  5750. type: number
  5751. diffneedqty:
  5752. description: 应套保总量变化量
  5753. type: number
  5754. difftradeqty:
  5755. description: 交易品种今变化量
  5756. type: number
  5757. enddate:
  5758. description: 结束交易日
  5759. type: string
  5760. enumdicname:
  5761. description: 单位名称
  5762. type: string
  5763. goodscode:
  5764. description: 商品代码
  5765. type: string
  5766. goodsid:
  5767. description: 商品id
  5768. type: integer
  5769. goodsname:
  5770. description: 商品名称
  5771. type: string
  5772. holdqty:
  5773. description: 期末持仓量
  5774. type: number
  5775. middlegoodscode:
  5776. description: 套保商品代码
  5777. type: string
  5778. middlegoodsid:
  5779. description: 套保商品id
  5780. type: integer
  5781. middlegoodsname:
  5782. description: 套保商品名称
  5783. type: string
  5784. oriholdqty:
  5785. description: 期初持仓量
  5786. type: number
  5787. reckondate:
  5788. description: 交易日(RECKONDATE)
  5789. type: string
  5790. todaycloseqty:
  5791. description: 今平仓量
  5792. type: number
  5793. todayopenqty:
  5794. description: 今开仓量
  5795. type: number
  5796. tradedate:
  5797. description: 交易日(RECKONDATE)
  5798. type: string
  5799. username:
  5800. description: 用户名称(交易用户)
  5801. type: string
  5802. type: object
  5803. models.Ermcp3ExposureHedgeplanDetail:
  5804. properties:
  5805. biztype:
  5806. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5807. type: integer
  5808. changqty:
  5809. description: 应套保总量变化量
  5810. type: number
  5811. contracttype:
  5812. description: 计划类型 - 1:采购 -1:销售
  5813. type: integer
  5814. convertratio:
  5815. description: 折算系数(套保品种)
  5816. type: number
  5817. deliverygoodscode:
  5818. description: 现货商品代码
  5819. type: string
  5820. deliverygoodsid:
  5821. description: 现货商品id
  5822. type: integer
  5823. deliverygoodsname:
  5824. description: 现货商吕名称
  5825. type: string
  5826. dgunitid:
  5827. description: 现货商品单位id
  5828. type: integer
  5829. dgunitidname:
  5830. description: 单位名称(现货商品)
  5831. type: string
  5832. diffqty:
  5833. description: 套保品种今变动量
  5834. type: number
  5835. enumdicname:
  5836. description: 单位名称(品类)
  5837. type: string
  5838. hedgeplanid:
  5839. description: 套保计划id
  5840. type: string
  5841. hedgeplanno:
  5842. description: 套保计划名称
  5843. type: string
  5844. hedgeplanstatus:
  5845. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5846. type: integer
  5847. mgunitidname:
  5848. description: 单位名称(套保商品)
  5849. type: string
  5850. middlegoodscode:
  5851. description: 套保品种代码
  5852. type: string
  5853. middlegoodsid:
  5854. description: 套保品种id
  5855. type: integer
  5856. middlegoodsname:
  5857. description: 套保品种名称
  5858. type: string
  5859. needarbitrageratio:
  5860. description: 应套利比例
  5861. type: number
  5862. needhedgeratio:
  5863. description: 应套保比例
  5864. type: number
  5865. pricedqty:
  5866. description: 已定价量
  5867. type: number
  5868. qty:
  5869. description: 合同量
  5870. type: number
  5871. reckondate:
  5872. description: 交易日(reckondate)
  5873. type: string
  5874. tradedate:
  5875. description: 交易日(登记日)
  5876. type: string
  5877. unitid:
  5878. description: 品类单位id
  5879. type: integer
  5880. userid:
  5881. description: 机构id
  5882. type: integer
  5883. wrstandardcode:
  5884. description: 品类代码
  5885. type: string
  5886. wrstandardid:
  5887. description: 品类id
  5888. type: integer
  5889. wrstandardname:
  5890. description: 品类名称
  5891. type: string
  5892. type: object
  5893. models.Ermcp3ExposureParamChLog:
  5894. properties:
  5895. accountid:
  5896. description: 期货账户ID (作废, 默认为0)
  5897. type: integer
  5898. aftervalue:
  5899. description: 应套保\套利量变更后(调整后应套保总量)
  5900. type: number
  5901. areauserid:
  5902. description: 所属机构\交易用户ID
  5903. type: integer
  5904. beforevalue:
  5905. description: 应套保\套利量变更前(调整前应套保总量)
  5906. type: number
  5907. begindate:
  5908. description: 开始交易日
  5909. type: string
  5910. changelogtype:
  5911. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5912. type: integer
  5913. curvalue:
  5914. description: 当前套保\套利量(套保总量|套利总量)
  5915. type: number
  5916. diffvalue:
  5917. description: 应套保总量变化量
  5918. type: number
  5919. enddate:
  5920. description: 结束交易日
  5921. type: string
  5922. logdatetime:
  5923. description: 流水日期
  5924. type: string
  5925. logid:
  5926. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5927. type: string
  5928. middlegoodscode:
  5929. description: 套保品种代码
  5930. type: string
  5931. middlegoodsid:
  5932. description: 套保品种
  5933. type: integer
  5934. middlegoodsname:
  5935. description: 套保品种名称
  5936. type: string
  5937. paramaftervalue:
  5938. description: 参数变更后(调整后参数值)
  5939. type: number
  5940. parambeforevalue:
  5941. description: 参数变更前(调整前参数值)
  5942. type: number
  5943. reckondate:
  5944. description: 交易日(reckondate)
  5945. type: string
  5946. tradedate:
  5947. description: 交易日(yyyyMMdd)
  5948. type: string
  5949. type: object
  5950. models.Ermcp3ExpourseReport:
  5951. properties:
  5952. accountid:
  5953. description: 期货账户ID (作废, 默认为0)
  5954. type: integer
  5955. accountname:
  5956. description: 机构名称
  5957. type: string
  5958. arbitrageqty:
  5959. description: 套利量
  5960. type: number
  5961. areauserid:
  5962. description: 所属机构\交易用户ID
  5963. type: integer
  5964. begindate:
  5965. description: 开始交易日
  5966. type: string
  5967. buyfutureqty:
  5968. description: 买入期货数量
  5969. type: number
  5970. buyplanqty:
  5971. description: 采购计划数量
  5972. type: number
  5973. buypricedqty:
  5974. description: 采购合同已定价数量
  5975. type: number
  5976. cycletime:
  5977. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5978. type: string
  5979. cycletype:
  5980. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5981. type: integer
  5982. diffexposure:
  5983. description: 变动量(套保敞口)
  5984. type: number
  5985. difffutuqty:
  5986. description: 变动量(期货)
  5987. type: number
  5988. diffhedgeqty:
  5989. description: 变动量(现货应套保总量)
  5990. type: number
  5991. diffmgqtya:
  5992. description: 套保变动量
  5993. type: number
  5994. diffmgqtyb:
  5995. description: 套利变动量
  5996. type: number
  5997. diffneedqty:
  5998. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5999. type: number
  6000. diffqty:
  6001. description: 变动量(总敞口)
  6002. type: number
  6003. diffspotqty:
  6004. description: 变动量(现货) | 除税变动量
  6005. type: number
  6006. enddate:
  6007. description: 结束交易日
  6008. type: string
  6009. enumdicname:
  6010. description: 单位名称
  6011. type: string
  6012. hedgeqty:
  6013. description: 套保量
  6014. type: number
  6015. mgneedhedgeratio:
  6016. description: 套保比例(套保品的)
  6017. type: number
  6018. middlegoodsid:
  6019. description: 套保品种ID
  6020. type: integer
  6021. middlegoodsname:
  6022. description: 套保商品名称
  6023. type: string
  6024. middlgoodscode:
  6025. description: 套保商品代码
  6026. type: string
  6027. needarbitrageqty:
  6028. description: 应套利量
  6029. type: number
  6030. needarbitrageratio:
  6031. description: 套利比例(套保品的)
  6032. type: number
  6033. needhedgeexposoure:
  6034. description: 应套保敞口(套保敞口)
  6035. type: number
  6036. needhedgeqty:
  6037. description: 应套保量
  6038. type: number
  6039. needhedgeratio:
  6040. description: 应套保敞口比例
  6041. type: number
  6042. needqty:
  6043. description: 应套总量 = 应套保量 + 应套利量
  6044. type: number
  6045. oriarbitrageqty:
  6046. description: 期初套利量
  6047. type: number
  6048. oribuyfutureqty:
  6049. description: 期初买入期货数量
  6050. type: number
  6051. oribuyplanqty:
  6052. description: 期初采购计划数量
  6053. type: number
  6054. oribuypricedqty:
  6055. description: 期初采购合同已定价数量
  6056. type: number
  6057. orihedgeqty:
  6058. description: 期初套保量
  6059. type: number
  6060. orineedarbitrageqty:
  6061. description: 期初应套利量
  6062. type: number
  6063. orineedhedgeexposoure:
  6064. description: 期初应套保敞口
  6065. type: number
  6066. orineedhedgeqty:
  6067. description: 期初应套保量
  6068. type: number
  6069. orisellfutureqty:
  6070. description: 期初卖出期货数量
  6071. type: number
  6072. orisellplanqty:
  6073. description: 期初销售计划数量
  6074. type: number
  6075. orisellpricedqty:
  6076. description: 期初销售合同已定价数量
  6077. type: number
  6078. oritotalexposure:
  6079. description: 期初实时总敞口
  6080. type: number
  6081. oritotalfutureqty:
  6082. description: 期初期货头寸总量
  6083. type: number
  6084. oritotalneedhedgeqty:
  6085. description: 期初应套保总量
  6086. type: number
  6087. oritotalspotqty:
  6088. description: 期初现货头寸总量
  6089. type: number
  6090. reckondate:
  6091. description: 日照时期(yyyyMMdd)
  6092. type: string
  6093. sellfutureqty:
  6094. description: 卖出期货数量
  6095. type: number
  6096. sellplanqty:
  6097. description: 销售计划数量
  6098. type: number
  6099. sellpricedqty:
  6100. description: 销售合同已定价数量
  6101. type: number
  6102. totalexposure:
  6103. description: 实时总敞口(总敞口)
  6104. type: number
  6105. totalfutureqty:
  6106. description: 期货头寸总量(期货总量)
  6107. type: number
  6108. totalhedgeratio:
  6109. description: 敞口比例
  6110. type: number
  6111. totalneedhedgeqty:
  6112. description: 应套保总量(现货应套保总量)
  6113. type: number
  6114. totalspotqty:
  6115. description: 现货头寸总量 | 除税总量
  6116. type: number
  6117. unitid:
  6118. description: 单位id
  6119. type: integer
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. type: object
  6124. models.Ermcp3FinanceReport:
  6125. properties:
  6126. accountname:
  6127. description: 机构名称
  6128. type: string
  6129. areauserid:
  6130. description: 所属机构\交易用户ID
  6131. type: integer
  6132. begindate:
  6133. description: 开始交易日
  6134. type: string
  6135. biztype:
  6136. description: 业务类型 - 1:套保 2:套利
  6137. type: integer
  6138. brandname:
  6139. description: 品牌名称
  6140. type: string
  6141. buypreinvoicedamount:
  6142. description: 采购预收票额(预收票额)
  6143. type: number
  6144. buyprepaidamount:
  6145. description: 采购预付款额(预付货款额)
  6146. type: number
  6147. buytodayinvoiceamount:
  6148. description: 采购今收票额(今收票额)
  6149. type: number
  6150. buytodayrefundamount:
  6151. description: 采购今收退款额(今收退款额)
  6152. type: number
  6153. buytodaysettleamount:
  6154. description: 采购今付款额(今付货款额)
  6155. type: number
  6156. buyuninvoicedamount:
  6157. description: 采购应收票额(应收票额)
  6158. type: number
  6159. buyunpaidamount:
  6160. description: 采购应付款额(应付货款额)
  6161. type: number
  6162. currencyid:
  6163. description: 结算币种ID
  6164. type: integer
  6165. currencyname:
  6166. description: 币种名称
  6167. type: string
  6168. cycletime:
  6169. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6170. type: string
  6171. cycletype:
  6172. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6173. type: integer
  6174. deliverygoodscode:
  6175. description: 现货品种代码
  6176. type: string
  6177. deliverygoodsid:
  6178. description: 现货品种ID
  6179. type: integer
  6180. deliverygoodsname:
  6181. description: 现货品种名称
  6182. type: string
  6183. enddate:
  6184. description: 结束交易日
  6185. type: string
  6186. reckondate:
  6187. description: 日照时期(yyyyMMdd)
  6188. type: string
  6189. sellpreinvoicedamount:
  6190. description: 销售预开票额(预开票额)
  6191. type: number
  6192. sellprepaidamount:
  6193. description: 销售预收款额(预收货款额)
  6194. type: number
  6195. selltodayinvoiceamount:
  6196. description: 销售今开票额(今开票额)
  6197. type: number
  6198. selltodayrefundamount:
  6199. description: 销售今付退款额(今付退款额)
  6200. type: number
  6201. selltodaysettleamount:
  6202. description: 销售今收款额(今收货款额)
  6203. type: number
  6204. selluninvoicedamount:
  6205. description: 销售应开票额(应开票额)
  6206. type: number
  6207. sellunpaidamount:
  6208. description: 销售应收款额(应收货款额)
  6209. type: number
  6210. spotgoodsbrandid:
  6211. description: 现货品牌ID
  6212. type: integer
  6213. todaypaysum:
  6214. description: 今付款合计
  6215. type: number
  6216. todayreceivesum:
  6217. description: 今收款合计
  6218. type: number
  6219. updatetime:
  6220. description: 更新时间
  6221. type: string
  6222. wrfactortypeid:
  6223. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6224. type: integer
  6225. wrstandardcode:
  6226. description: 品类代码
  6227. type: string
  6228. wrstandardid:
  6229. description: 现货商品ID
  6230. type: integer
  6231. wrstandardname:
  6232. description: 品类名称
  6233. type: string
  6234. type: object
  6235. models.Ermcp3GoodsGroup:
  6236. properties:
  6237. agreeunit:
  6238. description: 合约单位
  6239. type: number
  6240. areauserid:
  6241. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6242. type: integer
  6243. canshort:
  6244. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6245. type: integer
  6246. closepricemode:
  6247. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6248. type: integer
  6249. createtime:
  6250. description: 创建时间
  6251. type: string
  6252. creatorid:
  6253. description: 创建人
  6254. type: integer
  6255. currencyid:
  6256. description: 报价货币ID
  6257. type: integer
  6258. decimalplace:
  6259. description: 报价小数位
  6260. type: integer
  6261. enumdicname:
  6262. description: 单位名称
  6263. type: string
  6264. exchangefullname:
  6265. description: 交易所全称
  6266. type: string
  6267. excludecfg:
  6268. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6269. type: integer
  6270. exexchangecode:
  6271. description: 交易所代码
  6272. type: string
  6273. exexchangeid:
  6274. description: 外部交易所ID[通道交易]
  6275. type: integer
  6276. exexchangename:
  6277. description: 交易所名称
  6278. type: string
  6279. goodsgroupid:
  6280. description: 商品组ID(自增ID)
  6281. type: integer
  6282. goodsgroupname:
  6283. description: 商品组名称
  6284. type: string
  6285. goodsgroupstatus:
  6286. description: 商品组状态 - 1:正常 2:注销
  6287. type: integer
  6288. goodunitid:
  6289. description: 报价单位ID
  6290. type: integer
  6291. groupcategroyid:
  6292. description: 品种分类ID
  6293. type: integer
  6294. innerdealmode:
  6295. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6296. type: integer
  6297. marketid:
  6298. description: 所属市场ID
  6299. type: integer
  6300. modifierid:
  6301. description: 修改人
  6302. type: integer
  6303. modifytime:
  6304. description: 修改时间
  6305. type: string
  6306. outerdealmode:
  6307. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6308. type: integer
  6309. outergroupcode:
  6310. description: 外部商品组代码[通道交易]
  6311. type: string
  6312. quoteminunit:
  6313. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6314. type: integer
  6315. quotesourcegroupid:
  6316. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6317. type: integer
  6318. syncgoodsqty:
  6319. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6320. type: integer
  6321. required:
  6322. - areauserid
  6323. type: object
  6324. models.Ermcp3HPMiddleGoods:
  6325. properties:
  6326. biztype:
  6327. description: 业务类型 1:套保 2:套利
  6328. type: integer
  6329. contracttype:
  6330. description: 合同类型 1:采购 -1:销售
  6331. type: integer
  6332. convertratio:
  6333. description: 折算系数
  6334. type: number
  6335. customername:
  6336. description: 对手手名称
  6337. type: string
  6338. customeruserid:
  6339. description: 对手id
  6340. type: integer
  6341. enumdicname:
  6342. description: 现货单位名称
  6343. type: string
  6344. hedgeplanid:
  6345. description: 计划id
  6346. type: string
  6347. hedgeplanno:
  6348. description: 计划编号
  6349. type: string
  6350. middlegoodsid:
  6351. description: 套保品种ID
  6352. type: integer
  6353. middlegoodsplanqty3:
  6354. description: 应套保计划量
  6355. type: number
  6356. needhedgeratio:
  6357. description: 套保比例
  6358. type: number
  6359. pricedqty:
  6360. description: 已定价量
  6361. type: number
  6362. relatedmiddlegoodsqty:
  6363. description: 已关联量(套保品种)(期货)
  6364. type: number
  6365. unitid:
  6366. description: 现货单位id
  6367. type: integer
  6368. userid:
  6369. description: 用户id
  6370. type: integer
  6371. vatrate:
  6372. description: 增值税率
  6373. type: number
  6374. wrstandardcode:
  6375. description: 现货商品代码
  6376. type: string
  6377. wrstandardid:
  6378. description: 现货商品id
  6379. type: integer
  6380. wrstandardname:
  6381. description: 现货商品名称
  6382. type: string
  6383. type: object
  6384. models.Ermcp3HedgePlan:
  6385. properties:
  6386. accountid:
  6387. description: 资金账号
  6388. type: integer
  6389. areauserid:
  6390. description: 用户ID
  6391. type: integer
  6392. auditid:
  6393. description: 审核id
  6394. type: integer
  6395. auditname:
  6396. description: 审核人名称
  6397. type: string
  6398. auditremark:
  6399. description: 审核备注
  6400. type: string
  6401. auditsrc:
  6402. description: 审核来源 1-管理端 2-终端
  6403. type: integer
  6404. audittime:
  6405. description: 审核时间
  6406. type: string
  6407. contracttype:
  6408. description: 计划类型 - 1:采购 -1:销售
  6409. type: integer
  6410. convertfactor:
  6411. description: 标仓系数
  6412. type: number
  6413. createtime:
  6414. description: 创建时间
  6415. type: string
  6416. currencyid:
  6417. description: 币种id
  6418. type: integer
  6419. currencyname:
  6420. description: 币种名称
  6421. type: string
  6422. deliverygoodscode:
  6423. description: 现货品种代码
  6424. type: string
  6425. deliverygoodsid:
  6426. description: 现货品种ID
  6427. type: integer
  6428. deliverygoodsname:
  6429. description: 现货品种名称
  6430. type: string
  6431. enumdicname:
  6432. description: 单位名称(现货商品)
  6433. type: string
  6434. hedgeplanid:
  6435. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6436. type: string
  6437. hedgeplanno:
  6438. description: 套保计划编号(名称)
  6439. type: string
  6440. hedgeplanstatus:
  6441. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6442. type: integer
  6443. planqty:
  6444. description: 计划数量
  6445. type: number
  6446. plantime:
  6447. description: 计划时间
  6448. type: string
  6449. producttype:
  6450. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6451. type: integer
  6452. remark:
  6453. description: 备注
  6454. type: string
  6455. spotgoodsdesc:
  6456. description: 商品型号
  6457. type: string
  6458. taaccountname:
  6459. description: 资金账号名称
  6460. type: string
  6461. tradeuserid:
  6462. description: 交易用户id
  6463. type: integer
  6464. tradeusername:
  6465. description: 交易用户名称
  6466. type: string
  6467. unitid:
  6468. description: 单位id(现货商品)
  6469. type: integer
  6470. updatetime:
  6471. description: 更新时间
  6472. type: string
  6473. vatrate:
  6474. description: 增值税率
  6475. type: number
  6476. wrstandardcode:
  6477. description: 品类代码
  6478. type: string
  6479. wrstandardid:
  6480. description: 品类id
  6481. type: integer
  6482. wrstandardname:
  6483. description: 品类名称
  6484. type: string
  6485. wrunitid:
  6486. description: 品类单位id
  6487. type: integer
  6488. wrunitidame:
  6489. description: 品类单位名称
  6490. type: string
  6491. type: object
  6492. models.Ermcp3InnerTradeLink:
  6493. properties:
  6494. accountid:
  6495. description: 期货账号代码 | 资金账号ID
  6496. type: integer
  6497. buyorsell:
  6498. description: 方向 - 0:买 1:卖
  6499. type: integer
  6500. channelbuildtype:
  6501. description: 委托单据类型 0:无 1:建仓 2:平仓
  6502. type: integer
  6503. currencyid:
  6504. description: 币种id
  6505. type: integer
  6506. currencyname:
  6507. description: 结算币种 名称
  6508. type: string
  6509. goodscode:
  6510. description: 商品代码
  6511. type: string
  6512. goodsid:
  6513. description: 商品ID
  6514. type: integer
  6515. goodsname:
  6516. description: 商品名称
  6517. type: string
  6518. outtradeid:
  6519. description: 外部成交单号
  6520. type: string
  6521. taname:
  6522. description: 期货账户名称
  6523. type: string
  6524. tradeid:
  6525. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6526. type: string
  6527. tradeprice:
  6528. description: 成交价格
  6529. type: number
  6530. tradeqty:
  6531. description: 期货成交数量
  6532. type: integer
  6533. tradetime:
  6534. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6535. type: string
  6536. username:
  6537. description: 用户名称
  6538. type: string
  6539. type: object
  6540. models.Ermcp3OutTradeLink:
  6541. properties:
  6542. buyorsell:
  6543. description: 买卖方向 - 0:买 1:卖
  6544. type: integer
  6545. channelbuildtype:
  6546. description: 开平标志- 0:无 1:建仓 2:平仓
  6547. type: integer
  6548. currencyname:
  6549. description: 币种名称
  6550. type: string
  6551. exexchangecode:
  6552. description: 交易所代码
  6553. type: string
  6554. exexchangename:
  6555. description: 交易所名称
  6556. type: string
  6557. goodscode:
  6558. description: 合约代码
  6559. type: string
  6560. goodsid:
  6561. description: 合约id
  6562. type: integer
  6563. goodsname:
  6564. description: 合约名称
  6565. type: string
  6566. hasinnerorder:
  6567. description: 是否有内部单关联 - 0:无 1:有
  6568. type: integer
  6569. hedgeaccountcode:
  6570. description: 外部账号 | 对冲账号
  6571. type: string
  6572. outtradeid:
  6573. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6574. type: string
  6575. tradeprice:
  6576. description: 成交价格
  6577. type: number
  6578. tradeqty:
  6579. description: 成交数量
  6580. type: integer
  6581. tradetime:
  6582. description: 成交时间
  6583. type: string
  6584. type: object
  6585. models.Ermcp3PaAreaAuditCfg:
  6586. properties:
  6587. areauserid:
  6588. description: 用户ID
  6589. type: integer
  6590. buyinauditflag:
  6591. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. costratioauditflag:
  6594. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. customerauditflag:
  6597. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. deliveryauditflag:
  6600. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. invoiceauditflag:
  6603. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. mgneedhedgeratioauditflag:
  6606. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. moneyauditflag:
  6609. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6610. type: integer
  6611. operatorid:
  6612. description: 操作人
  6613. type: integer
  6614. operatorsrc:
  6615. description: 操作来源 - 1:管理端 2:终端
  6616. type: integer
  6617. pointpriceauditflag:
  6618. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceinauditflag:
  6621. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. produceoutauditflag:
  6624. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. selloutauditflag:
  6627. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgconvertratioauditflag:
  6630. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. sgvtaratioauditflag:
  6633. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. spotcontractauditflag:
  6636. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6637. type: integer
  6638. updatetime:
  6639. description: 更新时间
  6640. type: string
  6641. type: object
  6642. models.Ermcp3PaAreaSubject:
  6643. properties:
  6644. areauserid:
  6645. description: 所属机构
  6646. type: integer
  6647. canmodify:
  6648. description: 是否可修改 - 0:否 1:是
  6649. type: integer
  6650. createtime:
  6651. description: 创建时间
  6652. type: string
  6653. creatorid:
  6654. description: 创建人ID
  6655. type: string
  6656. creatorsrc:
  6657. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6658. type: integer
  6659. modifierid:
  6660. description: 修改人
  6661. type: string
  6662. modifiersrc:
  6663. description: 修改人来源 - 1:管理端 2:终端
  6664. type: integer
  6665. modifytime:
  6666. description: 修改时间
  6667. type: string
  6668. parentsubjectid:
  6669. description: 上级主体ID
  6670. type: string
  6671. remark:
  6672. description: 备注
  6673. type: string
  6674. subjectid:
  6675. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6676. type: integer
  6677. subjectname:
  6678. description: 主体名称
  6679. type: string
  6680. subjectstatus:
  6681. description: '主体状态 - 1:正常 2: 停用'
  6682. type: integer
  6683. subjecttype:
  6684. description: 主体类型 - 1:交易主体 2:业务部门
  6685. type: integer
  6686. type: object
  6687. models.Ermcp3PaTradeLink:
  6688. properties:
  6689. accountid:
  6690. description: 期货账户代码 | 账号ID
  6691. type: integer
  6692. agreeunit:
  6693. description: 合约乘数
  6694. type: number
  6695. buyorsell:
  6696. description: 方向 - 0:买 1:卖
  6697. type: integer
  6698. channelbuildtype:
  6699. description: 委托单据类型 0:无 1:建仓 2:平仓
  6700. type: integer
  6701. charge:
  6702. description: 手续费
  6703. type: number
  6704. closepl:
  6705. description: 平仓盈亏
  6706. type: number
  6707. closetype:
  6708. description: 平仓方式 - 0:无 1:平今 2:平昨
  6709. type: integer
  6710. convertratio:
  6711. description: 折算系数
  6712. type: number
  6713. enumdicname:
  6714. description: 单位名称
  6715. type: string
  6716. executeprice:
  6717. description: 执行价 [期权]
  6718. type: integer
  6719. goodscode:
  6720. description: 合约代码
  6721. type: string
  6722. goodsgroupid:
  6723. description: 对冲品种ID[期货合约商品组ID]
  6724. type: integer
  6725. goodsid:
  6726. description: 商品ID
  6727. type: integer
  6728. goodsname:
  6729. description: 合约名称
  6730. type: string
  6731. goodunitid:
  6732. description: 单位id
  6733. type: integer
  6734. hedgeflag:
  6735. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6736. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6737. type: integer
  6738. marketid:
  6739. description: 市场ID
  6740. type: integer
  6741. middlegoodsid:
  6742. description: 套保品种ID
  6743. type: integer
  6744. middlegoodsqty:
  6745. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6746. type: number
  6747. optioncode:
  6748. description: 期权代码 [期权]
  6749. type: string
  6750. ordertype:
  6751. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6752. type: integer
  6753. ordertypename:
  6754. description: 订单类型
  6755. type: string
  6756. parentaccountid:
  6757. description: 所属母账户
  6758. type: integer
  6759. premium:
  6760. description: 权利金 [期权]
  6761. type: number
  6762. relatedlot:
  6763. description: 已关联数量(已关联数量手) | db:关联手数
  6764. type: number
  6765. relatedouttradeid:
  6766. description: 关联外部成交单ID
  6767. type: string
  6768. relatedqty:
  6769. description: 关联数量
  6770. type: number
  6771. spotcontractid:
  6772. description: 现货合同ID [4:套期保值\10\11]
  6773. type: string
  6774. taname:
  6775. description: 期货账户名称
  6776. type: string
  6777. tradeamount:
  6778. description: 成交金额(账户)
  6779. type: number
  6780. tradedate:
  6781. description: 交易日(yyyyMMdd)
  6782. type: string
  6783. tradeid:
  6784. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6785. type: string
  6786. tradelot:
  6787. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6788. type: integer
  6789. tradeprice:
  6790. description: 成交价格
  6791. type: number
  6792. tradetime:
  6793. description: 时间 | db:成交时间
  6794. type: string
  6795. tradetype:
  6796. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6797. type: integer
  6798. userid:
  6799. description: 所属机构 - 所属母账户的UserID
  6800. type: string
  6801. username:
  6802. description: 用户名称
  6803. type: string
  6804. type: object
  6805. models.Ermcp3ParamChangeApp:
  6806. properties:
  6807. aftervalue:
  6808. description: 变更后
  6809. type: number
  6810. applicationid:
  6811. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6812. type: string
  6813. applyid:
  6814. description: 申请人
  6815. type: string
  6816. applyname:
  6817. description: 申请人名称(代码)
  6818. type: string
  6819. applyremark:
  6820. description: 申请备注
  6821. type: string
  6822. applysrc:
  6823. description: 申请来源 - 1:管理端 2:终端
  6824. type: integer
  6825. applystatus:
  6826. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6827. type: integer
  6828. applytime:
  6829. description: 申请时间
  6830. type: string
  6831. areauserid:
  6832. description: 所属机构用户ID
  6833. type: integer
  6834. auditid:
  6835. description: 审核人
  6836. type: string
  6837. auditname:
  6838. description: 审核人名称(代码)
  6839. type: string
  6840. auditremark:
  6841. description: 审核备注
  6842. type: string
  6843. auditsrc:
  6844. description: 审核来源 - 1:管理端 2:终端
  6845. type: integer
  6846. audittime:
  6847. description: 审核时间
  6848. type: string
  6849. audittradedate:
  6850. description: 审核交易日(yyyyMMdd)
  6851. type: string
  6852. beforevalue:
  6853. description: 变更前
  6854. type: number
  6855. deliverygoodscode:
  6856. description: 品种代码
  6857. type: string
  6858. deliverygoodsid:
  6859. description: 品种id
  6860. type: integer
  6861. deliverygoodsname:
  6862. description: 品种名称
  6863. type: string
  6864. middlegoodscode:
  6865. description: 套保品种代码
  6866. type: string
  6867. middlegoodsid:
  6868. description: 套保品种ID [ParamChangeType = 2,3,4]
  6869. type: integer
  6870. middlegoodsname:
  6871. description: 套保品种名称
  6872. type: string
  6873. operatetype:
  6874. description: 操作类型 - 1:新增 2:修改
  6875. type: integer
  6876. paramchangetype:
  6877. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6878. type: integer
  6879. wrstandardcode:
  6880. description: 现货商品代码
  6881. type: string
  6882. wrstandardid:
  6883. description: 现货商品ID [ParamChangeType = 1,2,3]
  6884. type: integer
  6885. wrstandardname:
  6886. description: 现货商品名称
  6887. type: string
  6888. type: object
  6889. models.Ermcp3RootUserAccount:
  6890. properties:
  6891. accountname:
  6892. description: 账户名称(机构名称)
  6893. type: string
  6894. accountstatus:
  6895. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6896. type: integer
  6897. applysrc:
  6898. description: 申请来源 - 1:管理端 2:终端
  6899. type: integer
  6900. auditremark:
  6901. description: 审核备注
  6902. type: string
  6903. auditsrc:
  6904. description: 审核来源 - 1:管理端 2:终端
  6905. type: integer
  6906. audittime:
  6907. description: 审核时间
  6908. type: string
  6909. audituserid:
  6910. description: 审核人
  6911. type: integer
  6912. broker:
  6913. description: 所属经纪人ID
  6914. type: integer
  6915. canceltime:
  6916. description: 销户时间
  6917. type: string
  6918. canceluserid:
  6919. description: 销户人
  6920. type: integer
  6921. canrecommend:
  6922. description: 是否可推荐 - 0:不可 1;可
  6923. type: integer
  6924. createtime:
  6925. description: 创建时间
  6926. type: string
  6927. creatorid:
  6928. description: 创建人
  6929. type: integer
  6930. hasauth:
  6931. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6932. type: integer
  6933. isanonymous:
  6934. description: 是否匿名下单 - 0:否 1:是
  6935. type: integer
  6936. maxinvestornum:
  6937. description: 最大用户数(经纪会员下投资者个数)
  6938. type: integer
  6939. memberuserid:
  6940. description: 所属会员ID
  6941. type: integer
  6942. modifierid:
  6943. description: 修改人
  6944. type: integer
  6945. modifyremark:
  6946. description: 变更备注
  6947. type: string
  6948. modifystatus:
  6949. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6950. type: integer
  6951. modifytime:
  6952. description: 修改时间
  6953. type: string
  6954. nickname:
  6955. description: 昵称
  6956. type: string
  6957. parenttopuser:
  6958. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6959. type: string
  6960. parentuserid:
  6961. description: 所属机构ID
  6962. type: integer
  6963. reckonaccountid:
  6964. description: 默认结算资金账号ID(机构分润使用) 作废
  6965. type: integer
  6966. refercount:
  6967. description: 推荐总人数
  6968. type: integer
  6969. refereeuserid:
  6970. description: 推荐人ID
  6971. type: integer
  6972. refernum:
  6973. description: 推荐码
  6974. type: string
  6975. rootuserid:
  6976. description: 根用户ID
  6977. type: integer
  6978. subaccountlevel:
  6979. description: 子账户层数
  6980. type: integer
  6981. subarealevelpath:
  6982. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6983. type: string
  6984. userid:
  6985. description: 用户ID
  6986. type: integer
  6987. usertype:
  6988. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6989. type: integer
  6990. type: object
  6991. models.Ermcp3SCMiddleGoods:
  6992. properties:
  6993. biztype:
  6994. description: 业务类型 1:套保 2:套利
  6995. type: integer
  6996. contractno:
  6997. description: 合同编号
  6998. type: string
  6999. contracttype:
  7000. description: 合同类型 1:采购 -1:销售
  7001. type: integer
  7002. convertratio:
  7003. description: 折算系数
  7004. type: number
  7005. customername:
  7006. description: 对手手名称
  7007. type: string
  7008. customeruserid:
  7009. description: 对手id
  7010. type: integer
  7011. deliverygoodscode:
  7012. description: 现货品种代码
  7013. type: string
  7014. deliverygoodsid:
  7015. description: 现货品种ID
  7016. type: integer
  7017. deliverygoodsname:
  7018. description: 现货品种名称
  7019. type: string
  7020. enumdicname:
  7021. description: 现货单位名称
  7022. type: string
  7023. middlegoodsid:
  7024. description: 套保品种ID
  7025. type: integer
  7026. middlegoodspricedqty3:
  7027. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7028. type: number
  7029. needhedgeratio:
  7030. description: 套保比例
  7031. type: number
  7032. pricedqty:
  7033. description: 已定价量
  7034. type: number
  7035. relatedmiddlegoodsqty:
  7036. description: 已关联量(套保品种)(期货)
  7037. type: number
  7038. spotcontractid:
  7039. description: 合同编号
  7040. type: string
  7041. unitid:
  7042. description: 现货单位id
  7043. type: integer
  7044. userid:
  7045. description: 用户id
  7046. type: integer
  7047. vatrate:
  7048. description: 增值税率
  7049. type: number
  7050. wrstandardcode:
  7051. description: 现货商品代码
  7052. type: string
  7053. wrstandardid:
  7054. description: 现货商品id
  7055. type: integer
  7056. wrstandardname:
  7057. description: 现货商品名称
  7058. type: string
  7059. type: object
  7060. models.Ermcp3SCMiddleGoodsReport:
  7061. properties:
  7062. begindate:
  7063. description: 开始交易日
  7064. type: string
  7065. contractno:
  7066. description: 合同编号
  7067. type: string
  7068. contracttype:
  7069. description: 合同类型 1:采购 -1:销售
  7070. type: integer
  7071. convertratio:
  7072. description: 期初均价
  7073. type: number
  7074. cycletime:
  7075. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7076. type: string
  7077. cycletype:
  7078. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7079. type: integer
  7080. deliverygoodscode:
  7081. description: 品种代码
  7082. type: string
  7083. deliverygoodsid:
  7084. description: 现货品种ID
  7085. type: integer
  7086. deliverygoodsname:
  7087. description: 品种名称
  7088. type: string
  7089. diffprice:
  7090. description: 期初均价
  7091. type: number
  7092. diffqty:
  7093. description: 期初均价
  7094. type: number
  7095. enddate:
  7096. description: 结束交易日
  7097. type: string
  7098. hedgeplanqty:
  7099. description: 期初均价
  7100. type: number
  7101. matchname:
  7102. description: 交易对手方(个人:用户名称 企业:简称)
  7103. type: string
  7104. matchnickname:
  7105. description: 交易对手方昵称
  7106. type: string
  7107. middlegoodscode:
  7108. description: 套保品种代码
  7109. type: string
  7110. middlegoodsid:
  7111. description: 套保品种ID
  7112. type: integer
  7113. middlegoodsname:
  7114. description: 套保品种名称
  7115. type: string
  7116. middlegoodspricedqty:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty2:
  7120. description: 期初均价
  7121. type: number
  7122. middlegoodspricedqty3:
  7123. description: 期初均价
  7124. type: number
  7125. needhedgeratio:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount:
  7129. description: 期初均价
  7130. type: number
  7131. pricedamount2:
  7132. description: 期初均价
  7133. type: number
  7134. pricedqty:
  7135. description: 期初均价
  7136. type: number
  7137. reckondate:
  7138. description: 日照时期(yyyyMMdd)
  7139. type: string
  7140. relatedmiddlegoodsamount:
  7141. description: 期初均价
  7142. type: number
  7143. relatedmiddlegoodsqty:
  7144. description: 期初均价
  7145. type: number
  7146. spotcontractid:
  7147. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7148. type: string
  7149. todayavgfutuprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice:
  7153. description: 期初均价
  7154. type: number
  7155. todayavgprice2:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedamount2:
  7162. description: 期初均价
  7163. type: number
  7164. todaypricedqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedfutureqty:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsamount:
  7171. description: 期初均价
  7172. type: number
  7173. todayrelatedmiddlegoodsqty:
  7174. description: 期初均价
  7175. type: number
  7176. updatetime:
  7177. description: 更新时间
  7178. type: string
  7179. userid:
  7180. description: 合同所属用户id
  7181. type: integer
  7182. vatrate:
  7183. description: 期初均价
  7184. type: number
  7185. wrstandardcode:
  7186. description: 商品(品类) 代码
  7187. type: string
  7188. wrstandardid:
  7189. description: 现货商品ID
  7190. type: integer
  7191. wrstandardname:
  7192. description: 商品(品类) 名称
  7193. type: string
  7194. type: object
  7195. models.Ermcp3SellBuyContract:
  7196. properties:
  7197. accountid:
  7198. description: 期货账户id
  7199. type: string
  7200. accountname:
  7201. description: 账户名称
  7202. type: string
  7203. attachment:
  7204. description: 附件
  7205. type: string
  7206. audittime:
  7207. description: 审核时间
  7208. type: string
  7209. bizsubjectid:
  7210. description: 归属业务部门ID - SubjectID
  7211. type: integer
  7212. biztype:
  7213. description: 业务类型 1-套保 2-套利
  7214. type: integer
  7215. brandname:
  7216. description: 品牌名称
  7217. type: string
  7218. contracctstatus:
  7219. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7220. type: integer
  7221. contractmargin:
  7222. description: 合同保证金
  7223. type: number
  7224. contractno:
  7225. description: 合同编号
  7226. type: string
  7227. contracttype:
  7228. description: 合同类型 1-采购, -1-销售
  7229. type: integer
  7230. convertfactor:
  7231. description: 标仓系数(品类)
  7232. type: number
  7233. createtime:
  7234. description: 创建时间
  7235. type: string
  7236. currencyid:
  7237. description: 币种id
  7238. type: integer
  7239. currencyname:
  7240. description: 币种名称
  7241. type: string
  7242. daikaiamount:
  7243. description: 应收(开)票额 | 未收票额
  7244. type: number
  7245. deliveryenddate:
  7246. description: 交割结束日
  7247. type: string
  7248. deliverygoodscode:
  7249. description: 现货品种代码
  7250. type: string
  7251. deliverygoodsid:
  7252. description: 现货商品ID
  7253. type: integer
  7254. deliverygoodsname:
  7255. description: 现货品种名称
  7256. type: string
  7257. deliverystartdate:
  7258. description: 交割开始日
  7259. type: string
  7260. enddate:
  7261. description: 点价结束日
  7262. type: string
  7263. enumdicname:
  7264. description: 单位名称
  7265. type: string
  7266. goodscode:
  7267. description: 点价商品代码
  7268. type: string
  7269. goodsgroupid:
  7270. description: 点价商品组id
  7271. type: integer
  7272. goodsid:
  7273. description: 点价商品ID
  7274. type: integer
  7275. goodsname:
  7276. description: 点价商品名称
  7277. type: string
  7278. invoiceamount:
  7279. description: 已开票额
  7280. type: number
  7281. loanamount:
  7282. description: 贷款总额=已定价额+调整金额
  7283. type: number
  7284. margin:
  7285. description: 保证金
  7286. type: number
  7287. meruserid:
  7288. description: 跟单员id
  7289. type: integer
  7290. meruserlogincode:
  7291. description: 跟单员登录代码
  7292. type: string
  7293. merusername:
  7294. description: 跟单员名称
  7295. type: string
  7296. nickname:
  7297. description: 账户昵称
  7298. type: string
  7299. orireckonrealqty:
  7300. description: 应交收量
  7301. type: number
  7302. payamount:
  7303. description: 已收付额(收款或付款)
  7304. type: number
  7305. preinvoiceamount:
  7306. description: 预收(开)票额
  7307. type: number
  7308. prepayamount:
  7309. description: 预收付额
  7310. type: number
  7311. price:
  7312. description: 价格
  7313. type: number
  7314. pricedamount:
  7315. description: 已定价额
  7316. type: number
  7317. pricedavg:
  7318. description: 已点均价
  7319. type: number
  7320. pricedqty:
  7321. description: 已定价量
  7322. type: number
  7323. pricemove:
  7324. description: 升贴水
  7325. type: number
  7326. pricetype:
  7327. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7328. type: integer
  7329. producttype:
  7330. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7331. type: integer
  7332. qty:
  7333. description: 合同量
  7334. type: number
  7335. reckonadjustamount:
  7336. description: 调整金额
  7337. type: number
  7338. reckonedamount:
  7339. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7340. type: number
  7341. reckonotheramount:
  7342. description: 其它费用
  7343. type: number
  7344. reckonrealqty:
  7345. description: 已交收量
  7346. type: number
  7347. remark:
  7348. description: 备注
  7349. type: string
  7350. saleuserid:
  7351. description: 业务员id
  7352. type: integer
  7353. saleuserlogincode:
  7354. description: 业务员登录代码
  7355. type: string
  7356. saleusername:
  7357. description: 业务员名称
  7358. type: string
  7359. spotcontractid:
  7360. description: 合同ID
  7361. type: string
  7362. spotgoodsbrandid:
  7363. description: 现货品牌ID(DGFactoryItem表的ID)
  7364. type: integer
  7365. spotgoodsdesc:
  7366. description: 商品型号(商品规格)
  7367. type: string
  7368. startdate:
  7369. description: 点价开始日
  7370. type: string
  7371. subjectid:
  7372. description: 交易主体ID
  7373. type: integer
  7374. subjectname:
  7375. description: 交易主体名称
  7376. type: string
  7377. totalamount:
  7378. description: 合计总额
  7379. type: number
  7380. tradeuserid:
  7381. description: 交易员id
  7382. type: integer
  7383. tradeuserlogincode:
  7384. description: 交易员登录代码
  7385. type: string
  7386. tradeusername:
  7387. description: 交易员名称
  7388. type: string
  7389. unpayamount:
  7390. description: 应收付款额(应支付或应收款) | 未付款额
  7391. type: number
  7392. unpricedqty:
  7393. description: 未定价量
  7394. type: number
  7395. unsureqty:
  7396. description: 未确定量 | 未交收量
  7397. type: number
  7398. userid:
  7399. description: 机构ID
  7400. type: integer
  7401. vatrate:
  7402. description: 增值税率
  7403. type: number
  7404. wrstandardcode:
  7405. description: 品类代码
  7406. type: string
  7407. wrstandardid:
  7408. description: 品类ID
  7409. type: integer
  7410. wrstandardname:
  7411. description: 品类名称
  7412. type: string
  7413. type: object
  7414. models.Ermcp3SpotGoodsPrice:
  7415. properties:
  7416. areauserid:
  7417. description: 所属机构id
  7418. type: integer
  7419. brandname:
  7420. description: 品牌名称
  7421. type: string
  7422. currencyid:
  7423. description: 报价货币ID
  7424. type: integer
  7425. currencyname:
  7426. description: 币种名称
  7427. type: string
  7428. deliverygoodscode:
  7429. description: 现货商品代码
  7430. type: string
  7431. deliverygoodsid:
  7432. description: 现货商品id
  7433. type: integer
  7434. deliverygoodsname:
  7435. description: 现货商品名称
  7436. type: string
  7437. enumdicname:
  7438. description: 现货商品单位名称
  7439. type: string
  7440. gbenumdicname:
  7441. description: 品类单位名称
  7442. type: string
  7443. gmunitid:
  7444. description: 品类单位id
  7445. type: integer
  7446. isvalid:
  7447. description: 是否有效 - 0:无效 1:有效
  7448. type: integer
  7449. operateid:
  7450. description: 最后操作人
  7451. type: integer
  7452. operatesrc:
  7453. description: 最后操作来源 - 1:管理端 2:终端
  7454. type: integer
  7455. operatetime:
  7456. description: 最后操作时间
  7457. type: string
  7458. operatorname:
  7459. description: 操作人名称
  7460. type: string
  7461. spotgoodsbrandid:
  7462. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7463. type: integer
  7464. spotgoodsprice:
  7465. description: 现货价格
  7466. type: number
  7467. tradedate:
  7468. description: 交易日(yyyyMMdd)
  7469. type: string
  7470. unitid:
  7471. description: 现货商品单位id
  7472. type: integer
  7473. wrstandardcode:
  7474. description: 品类代码
  7475. type: string
  7476. wrstandardid:
  7477. description: 现货品类ID(通用则为0)
  7478. type: integer
  7479. wrstandardname:
  7480. description: 品类名称
  7481. type: string
  7482. type: object
  7483. models.Ermcp3SpotGoodsPriceLog:
  7484. properties:
  7485. areauserid:
  7486. description: 所属机构id
  7487. type: integer
  7488. brandname:
  7489. description: 品牌名称
  7490. type: string
  7491. currencyid:
  7492. description: 报价货币ID
  7493. type: integer
  7494. deliverygoodscode:
  7495. description: 现货商品代码
  7496. type: string
  7497. deliverygoodsid:
  7498. description: 现货商品id
  7499. type: integer
  7500. deliverygoodsname:
  7501. description: 现货商品名称
  7502. type: string
  7503. enumdicname:
  7504. description: 现货商品单位名称
  7505. type: string
  7506. gbenumdicname:
  7507. description: 品类单位名称
  7508. type: string
  7509. gmunitid:
  7510. description: 品类单位id
  7511. type: integer
  7512. logid:
  7513. description: 日志id
  7514. type: integer
  7515. operateid:
  7516. description: 最后操作人
  7517. type: integer
  7518. operatesrc:
  7519. description: 最后操作来源 - 1:管理端 2:终端
  7520. type: integer
  7521. operatetime:
  7522. description: 最后操作时间
  7523. type: string
  7524. operatorname:
  7525. description: 操作人名称
  7526. type: string
  7527. spotgoodsbrandid:
  7528. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7529. type: integer
  7530. spotgoodsprice:
  7531. description: 现货价格
  7532. type: number
  7533. tradedate:
  7534. description: 交易日(yyyyMMdd)
  7535. type: string
  7536. unitid:
  7537. description: 现货商品单位id
  7538. type: integer
  7539. wrstandardcode:
  7540. description: 品类代码
  7541. type: string
  7542. wrstandardid:
  7543. description: 现货品类ID(通用则为0)
  7544. type: integer
  7545. wrstandardname:
  7546. description: 品类名称
  7547. type: string
  7548. type: object
  7549. models.Ermcp3SubTaaccount:
  7550. properties:
  7551. accountid:
  7552. description: 资金账户ID
  7553. type: integer
  7554. parentaccountcode:
  7555. description: 所属根账号代码(母账号代码)
  7556. type: string
  7557. parentaccountid:
  7558. description: 所属根账号(母账号)
  7559. type: integer
  7560. taname:
  7561. description: 资金账号名称
  7562. type: string
  7563. tradestatus:
  7564. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7565. type: integer
  7566. username:
  7567. description: 交易用户
  7568. type: string
  7569. type: object
  7570. models.Ermcp3TaFutuReDataReport:
  7571. properties:
  7572. accountid:
  7573. description: 交易账户
  7574. type: integer
  7575. accountname:
  7576. description: 交易账号名称
  7577. type: string
  7578. agreeunit:
  7579. description: 商品合约单位
  7580. type: number
  7581. begindate:
  7582. description: 开始交易日
  7583. type: string
  7584. buyorsell:
  7585. description: 持仓方向
  7586. type: integer
  7587. charge:
  7588. description: 手续费
  7589. type: number
  7590. closeavgprice:
  7591. description: 期初均价
  7592. type: number
  7593. closepl:
  7594. description: 平仓损益
  7595. type: number
  7596. currencyid:
  7597. description: 结算币种ID
  7598. type: integer
  7599. currencyname:
  7600. description: 币种名称
  7601. type: string
  7602. cycletime:
  7603. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7604. type: string
  7605. cycletype:
  7606. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7607. type: integer
  7608. enddate:
  7609. description: 结束交易日
  7610. type: string
  7611. enumdicname:
  7612. description: 单位名称
  7613. type: string
  7614. floatpl:
  7615. description: 浮动损益
  7616. type: number
  7617. goodscode:
  7618. description: 交易合约代码
  7619. type: string
  7620. goodsgroupid:
  7621. description: 交易品种
  7622. type: integer
  7623. goodsgroupname:
  7624. description: 交易品种名称
  7625. type: string
  7626. goodsgroupspotqty:
  7627. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7628. type: number
  7629. goodsid:
  7630. description: 交易合约
  7631. type: integer
  7632. goodsname:
  7633. description: 交易合约名称
  7634. type: string
  7635. goodunitid:
  7636. description: 交易合约单位id
  7637. type: integer
  7638. holdamount:
  7639. description: 期末持仓额
  7640. type: number
  7641. holdqty:
  7642. description: 期初均价
  7643. type: number
  7644. lastholdamount:
  7645. description: 当前持仓额
  7646. type: number
  7647. lastprice:
  7648. description: 最新价
  7649. type: number
  7650. middlegoodsid:
  7651. description: 套保品种id
  7652. type: integer
  7653. middlegoodsname:
  7654. description: 套保商品名称
  7655. type: string
  7656. middlegoodsqty:
  7657. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7658. type: number
  7659. middlgoodscode:
  7660. description: 套保商品代码
  7661. type: string
  7662. openamount:
  7663. description: 期末开仓额
  7664. type: number
  7665. openavgprice:
  7666. description: 期初均价
  7667. type: number
  7668. oriholdamount:
  7669. description: 期初持仓额
  7670. type: number
  7671. oriholdqty:
  7672. description: 期初均价
  7673. type: number
  7674. oriopenamount:
  7675. description: 期初开仓额
  7676. type: number
  7677. outergroupcode:
  7678. description: 交易品种代码
  7679. type: string
  7680. qtydecimalplace:
  7681. description: 成交量小数位
  7682. type: integer
  7683. reckondate:
  7684. description: 日照时期(yyyyMMdd)
  7685. type: string
  7686. reckonholdamount:
  7687. description: 结算持仓额
  7688. type: number
  7689. reckonpl:
  7690. description: 结算损益
  7691. type: number
  7692. reckonpl2:
  7693. description: 结算逐笔盈亏
  7694. type: number
  7695. reckonprice:
  7696. description: 结算价
  7697. type: number
  7698. relateduserid:
  7699. description: 账户关联用户ID
  7700. type: integer
  7701. todaycloseamount:
  7702. description: 今平仓额
  7703. type: number
  7704. todaycloseqty:
  7705. description: 期初均价
  7706. type: number
  7707. todaygoodsgroupspotqty:
  7708. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7709. type: number
  7710. todaymiddlegoodsqty:
  7711. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7712. type: number
  7713. todayopenamount:
  7714. description: 今开仓额
  7715. type: number
  7716. todayopenqty:
  7717. description: 期初均价
  7718. type: number
  7719. userid:
  7720. description: 账户所属用户ID
  7721. type: integer
  7722. type: object
  7723. models.Ermcp3TradeLinkDetail:
  7724. properties:
  7725. accountid:
  7726. description: 资金账号
  7727. type: integer
  7728. agreeunit:
  7729. description: 合约乘数
  7730. type: number
  7731. areauserid:
  7732. description: 所属机构
  7733. type: string
  7734. bizsubjectid:
  7735. description: 归属业务部门ID - SubjectID
  7736. type: string
  7737. buyorsell:
  7738. description: 方向 - 0:买 1:卖
  7739. type: integer
  7740. channelbuildtype:
  7741. description: 委托单据类型 0:无 1:建仓 2:平仓
  7742. type: integer
  7743. contractno:
  7744. description: 现货编号 (合同编号)
  7745. type: string
  7746. convertratio:
  7747. description: 折算系数
  7748. type: number
  7749. createtime:
  7750. description: 关联时间 | 创建时间
  7751. type: string
  7752. creatorid:
  7753. description: 创建人ID
  7754. type: string
  7755. creatorsrc:
  7756. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7757. type: integer
  7758. enumdicname:
  7759. description: 单位名称
  7760. type: string
  7761. goodscode:
  7762. description: 合约代码
  7763. type: string
  7764. goodsgroupid:
  7765. description: 对冲品种ID[期货合约商品组ID]
  7766. type: integer
  7767. goodsid:
  7768. description: 商品ID
  7769. type: integer
  7770. goodsname:
  7771. description: 合约名称
  7772. type: string
  7773. hedgeflag:
  7774. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7775. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7776. type: integer
  7777. linkdetailid:
  7778. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7779. type: string
  7780. linkstatus:
  7781. description: 关联状态 - 1:成功 2:失败 3:解绑
  7782. type: integer
  7783. middlegoodscode:
  7784. description: 套保品种代码
  7785. type: string
  7786. middlegoodsid:
  7787. description: 套保品种ID
  7788. type: integer
  7789. middlegoodsname:
  7790. description: 套保品种名称
  7791. type: string
  7792. relatedlot:
  7793. description: 关联手数
  7794. type: number
  7795. relatedmode:
  7796. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7797. type: integer
  7798. relatedqty:
  7799. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7800. type: number
  7801. retcode:
  7802. description: 返回码
  7803. type: integer
  7804. saleuserid:
  7805. description: 业务员ID
  7806. type: string
  7807. spotcontractid:
  7808. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7809. type: string
  7810. taname:
  7811. description: 期货账户
  7812. type: string
  7813. tradedate:
  7814. description: 关联交易日(yyyyMMdd)
  7815. type: string
  7816. tradeid:
  7817. description: 期货订单号 | 内部成交单ID
  7818. type: string
  7819. tradelot:
  7820. description: 成交数量 | 成交手数
  7821. type: integer
  7822. tradeprice:
  7823. description: 成交价格
  7824. type: number
  7825. tradetime:
  7826. description: 期货成交时间
  7827. type: string
  7828. tradetradedate:
  7829. description: 成交交易日(yyyyMMdd)
  7830. type: string
  7831. username:
  7832. description: 用户名称
  7833. type: string
  7834. type: object
  7835. models.Ermcp3Wrstandard:
  7836. properties:
  7837. areauserid:
  7838. description: 所属机构
  7839. type: integer
  7840. cantrade:
  7841. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7842. type: integer
  7843. convertfactor:
  7844. description: 标仓系数
  7845. type: number
  7846. createtime:
  7847. description: 创建时间
  7848. type: string
  7849. creatorid:
  7850. description: 创建人
  7851. type: integer
  7852. deliverygoodsid:
  7853. description: 现货品种ID
  7854. type: integer
  7855. enumdicname:
  7856. description: 品类单位名称
  7857. type: string
  7858. isvalid:
  7859. description: 是否有效 0-无效(停用) 1-有效(正常)
  7860. type: integer
  7861. minivalue:
  7862. description: 最小变动值
  7863. type: integer
  7864. minivaluedp:
  7865. description: 最小变动值小数位
  7866. type: integer
  7867. realminivalue:
  7868. description: 实际最小变动值
  7869. type: integer
  7870. realminivaluedp:
  7871. description: 实际最小变动值小数位
  7872. type: integer
  7873. remark:
  7874. description: 备注
  7875. type: string
  7876. unitid:
  7877. description: 品类单位ID
  7878. type: integer
  7879. updatetime:
  7880. description: 更新时间
  7881. type: string
  7882. wrstandardcode:
  7883. description: 品类代码
  7884. type: string
  7885. wrstandardid:
  7886. description: 品类ID(SEQ_WRSTANDARD)
  7887. type: integer
  7888. wrstandardname:
  7889. description: 品类名称
  7890. type: string
  7891. type: object
  7892. models.Ermcp8EnableHedgeditem:
  7893. properties:
  7894. accountname:
  7895. description: 套期主体
  7896. type: string
  7897. hedgeditemid:
  7898. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7899. type: string
  7900. hedgeditemname:
  7901. description: 项目名称
  7902. type: string
  7903. hedgeditemnum:
  7904. description: 项目编号
  7905. type: string
  7906. hedgedtype:
  7907. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7908. type: integer
  7909. planenddate:
  7910. description: 计划结束日期
  7911. type: string
  7912. planstartdate:
  7913. description: 计划开始日期
  7914. type: string
  7915. wrstandardid:
  7916. description: 现货商品ID
  7917. type: integer
  7918. wrstandardname:
  7919. description: 现货商品
  7920. type: string
  7921. type: object
  7922. models.Ermcp8HedgeditemReport:
  7923. properties:
  7924. accountname:
  7925. description: 套期主体
  7926. type: string
  7927. areauserid:
  7928. description: 企业ID
  7929. type: integer
  7930. curprice:
  7931. description: '[当日现货市场价]当前市场价'
  7932. type: number
  7933. enumdicname:
  7934. description: 单位
  7935. type: string
  7936. exeamount:
  7937. description: '[执行现货金额]执行市价总额'
  7938. type: number
  7939. exeavgprice:
  7940. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7941. type: number
  7942. exeqty:
  7943. description: '[执行数量]执行现货量'
  7944. type: number
  7945. futurehedgepl:
  7946. description: 期货实际损益
  7947. type: number
  7948. futurehedgeplchange:
  7949. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7950. type: number
  7951. futurepl:
  7952. description: 期货套期损益
  7953. type: number
  7954. futureplchange:
  7955. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7956. type: number
  7957. hedgeamount:
  7958. description: '[套期现货金额]套期市价总额'
  7959. type: number
  7960. hedgeditemnum:
  7961. description: 项目编号,模糊查询
  7962. type: string
  7963. hedgeditemstatus:
  7964. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7965. type: integer
  7966. hedgedtype:
  7967. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7968. type: integer
  7969. hedgeqty:
  7970. description: '[套期数量]套期现货量'
  7971. type: number
  7972. oriavgprice:
  7973. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7974. type: number
  7975. orifuturehedgepl:
  7976. description: 期初期货实际损益
  7977. type: number
  7978. orifuturepl:
  7979. description: 期初期货套期损益
  7980. type: number
  7981. orispothedgepl:
  7982. description: 期初现货实际损益
  7983. type: number
  7984. orispotpl:
  7985. description: 期初现货套期损益
  7986. type: number
  7987. planenddate:
  7988. description: 计划结束日期
  7989. type: string
  7990. planstartdate:
  7991. description: 计划开始日期
  7992. type: string
  7993. spothedgepl:
  7994. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7995. type: number
  7996. spothedgeplchange:
  7997. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7998. type: number
  7999. spotpl:
  8000. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8001. type: number
  8002. spotplchange:
  8003. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8004. type: number
  8005. tradeuserid:
  8006. description: 交易用户ID
  8007. type: integer
  8008. unexeqty:
  8009. description: 未执行现货量 = 套期现货量 - 执行现货量
  8010. type: number
  8011. wrstandardcode:
  8012. description: 现货品类代码
  8013. type: string
  8014. wrstandardid:
  8015. description: 现货商品ID
  8016. type: integer
  8017. wrstandardname:
  8018. description: '[现货商品]现货品类名称'
  8019. type: string
  8020. type: object
  8021. models.Ermcp8RunningHedgeditem:
  8022. properties:
  8023. accountname:
  8024. description: 套期主体
  8025. type: string
  8026. applyid:
  8027. description: 申请人
  8028. type: integer
  8029. applysrc:
  8030. description: 申请来源 - 1:管理端 2:终端
  8031. type: integer
  8032. areauserid:
  8033. description: 企业ID
  8034. type: integer
  8035. auditid:
  8036. description: 审核人
  8037. type: integer
  8038. auditremark:
  8039. description: 审核备注
  8040. type: string
  8041. auditsrc:
  8042. description: 审核来源 - 1:管理端 2:终端
  8043. type: integer
  8044. audittime:
  8045. description: 审核时间
  8046. type: string
  8047. audittradedate:
  8048. description: 审核交易日(yyyyMMdd)
  8049. type: string
  8050. createtime:
  8051. description: 申请时间
  8052. type: string
  8053. curprice:
  8054. description: 当前市场价
  8055. type: number
  8056. curstock:
  8057. description: 期末库存量 = 采购总量 - 销售总量
  8058. type: number
  8059. deliverygoodsid:
  8060. description: 现货品种ID
  8061. type: integer
  8062. enddate:
  8063. description: 完成日期
  8064. type: string
  8065. endtradedate:
  8066. description: 完成交易日
  8067. type: string
  8068. enumdicname:
  8069. description: 单位
  8070. type: string
  8071. exeamount:
  8072. description: 执行市价总额
  8073. type: number
  8074. exeavgprice:
  8075. description: 执行市场均价= 执行市价总额 / 执行现货量
  8076. type: number
  8077. execontractamount:
  8078. description: 执行定价总额
  8079. type: number
  8080. exeqty:
  8081. description: 执行现货量
  8082. type: number
  8083. exerestamount:
  8084. description: 执行剩余市价总额【现货贸易】
  8085. type: number
  8086. futurefloatpl:
  8087. description: 期货浮动损益
  8088. type: number
  8089. futurehedgepl:
  8090. description: 期货实际损益
  8091. type: number
  8092. futurehedgeplchange:
  8093. description: 期货实际损益变动
  8094. type: number
  8095. futurepl:
  8096. description: 期货套期损益
  8097. type: number
  8098. futureplchange:
  8099. description: 期货套期损益变动
  8100. type: number
  8101. hedgeamount:
  8102. description: 套期市价总额
  8103. type: number
  8104. hedgecontractamount:
  8105. description: 套期定价总额 【定价采购合同】【现货贸易】
  8106. type: number
  8107. hedgeditemid:
  8108. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8109. type: string
  8110. hedgeditemname:
  8111. description: 项目名称
  8112. type: string
  8113. hedgeditemnum:
  8114. description: 项目编号
  8115. type: string
  8116. hedgeditemstatus:
  8117. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8118. type: integer
  8119. hedgedtype:
  8120. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8121. type: integer
  8122. hedgeqty:
  8123. description: 套期现货量
  8124. type: number
  8125. hedgerate:
  8126. description: 套保比率
  8127. type: number
  8128. hedgerestamount:
  8129. description: 套期剩余市价总额【现货贸易】
  8130. type: number
  8131. hedgesumpl:
  8132. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8133. type: number
  8134. middlegoodslist:
  8135. description: 套期商品列表
  8136. items:
  8137. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8138. type: array
  8139. oriavgprice:
  8140. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8141. type: number
  8142. orifuturehedgepl:
  8143. description: 期初期货实际损益
  8144. type: number
  8145. orifuturepl:
  8146. description: 期初期货套期损益
  8147. type: number
  8148. orispothedgepl:
  8149. description: 期初现货实际损益
  8150. type: number
  8151. orispotpl:
  8152. description: 期初现货套期损益
  8153. type: number
  8154. planenddate:
  8155. description: 计划结束日期
  8156. type: string
  8157. planstartdate:
  8158. description: 计划开始日期
  8159. type: string
  8160. remark:
  8161. description: 备注
  8162. type: string
  8163. spotbookamount:
  8164. description: 现货账面总额
  8165. type: number
  8166. spotfloatpl:
  8167. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgepl:
  8170. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8171. type: number
  8172. spothedgeplchange:
  8173. description: 现货实际损益变动
  8174. type: number
  8175. spotpl:
  8176. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8177. type: number
  8178. spotplchange:
  8179. description: 现货套期损益变动
  8180. type: number
  8181. spottradepl:
  8182. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8183. type: number
  8184. sumobspl:
  8185. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8186. type: number
  8187. tradeuserid:
  8188. description: 交易用户ID
  8189. type: integer
  8190. unexeqty:
  8191. description: 未执行现货量 = 套期现货量 - 执行现货量
  8192. type: number
  8193. updatetime:
  8194. description: 更新时间
  8195. type: string
  8196. vatpl:
  8197. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8198. type: number
  8199. vatrate:
  8200. description: 增值税
  8201. type: number
  8202. wrstandardid:
  8203. description: 现货商品ID
  8204. type: integer
  8205. wrstandardname:
  8206. description: 商品名称
  8207. type: string
  8208. type: object
  8209. models.ErmcpBizGroupEx:
  8210. properties:
  8211. acclist:
  8212. description: 账号列表
  8213. items:
  8214. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8215. type: array
  8216. bizgroupid:
  8217. description: 业务分组id
  8218. type: integer
  8219. biztype:
  8220. description: 业务类型 1-套保 2-套利
  8221. type: integer
  8222. wrlist:
  8223. description: 现货商品表
  8224. items:
  8225. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8226. type: array
  8227. type: object
  8228. models.ErmcpBizGroupSpotGoods:
  8229. properties:
  8230. areauserid:
  8231. description: 所属机构id
  8232. type: integer
  8233. bizgroupid:
  8234. description: 分组id
  8235. type: integer
  8236. biztype:
  8237. description: 业务类型 1-套保 2-套利
  8238. type: integer
  8239. deliverygoodscode:
  8240. description: 现货商品代码
  8241. type: string
  8242. deliverygoodsid:
  8243. description: 现货商品id
  8244. type: integer
  8245. deliverygoodsname:
  8246. description: 现货商品名称
  8247. type: string
  8248. unitid:
  8249. description: 现货商品单位id
  8250. type: integer
  8251. type: object
  8252. models.ErmcpBizGroupTaAccount:
  8253. properties:
  8254. accountid:
  8255. description: 账号id
  8256. type: integer
  8257. accountname:
  8258. description: 账号名称
  8259. type: string
  8260. areauserid:
  8261. description: 所属机构id
  8262. type: integer
  8263. bizgroupid:
  8264. description: 业务分组id
  8265. type: integer
  8266. ismain:
  8267. description: 是否主账号 1-是 0-否
  8268. type: integer
  8269. type: object
  8270. models.ErmcpDGFactoryItem:
  8271. properties:
  8272. areauserid:
  8273. description: 用户id
  8274. type: integer
  8275. deliverygoodsid:
  8276. description: 现货品种ID
  8277. type: integer
  8278. dgfactoryitemid:
  8279. description: 选择项ID(SEQ_DGFACTORYITEM)
  8280. type: integer
  8281. dgfactoryitemtypeid:
  8282. description: 要素项类型
  8283. type: integer
  8284. dgfactoryitemvalue:
  8285. description: 要素项值(类型为仓库时填写仓库名称)
  8286. type: string
  8287. isvalid:
  8288. description: 是否有效 - 0:无效 1:有效
  8289. type: integer
  8290. orderindex:
  8291. description: 顺序
  8292. type: integer
  8293. warehouseid:
  8294. description: 仓库ID(类型为仓库时填写)
  8295. type: integer
  8296. type: object
  8297. models.ErmcpDeliveryGoods:
  8298. properties:
  8299. agreeunit:
  8300. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8301. type: integer
  8302. areauserid:
  8303. description: 所属机构
  8304. type: integer
  8305. auditflag:
  8306. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8307. type: integer
  8308. categoryid:
  8309. description: 类别ID(SEQ_WRCATEGORY)
  8310. type: integer
  8311. deliverygoodscode:
  8312. description: 现货品种代码
  8313. type: string
  8314. deliverygoodsid:
  8315. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8316. type: integer
  8317. deliverygoodsname:
  8318. description: 现货品种名称
  8319. type: string
  8320. deliverygoodstype:
  8321. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8322. type: integer
  8323. dgstatus:
  8324. description: 品种状态 - 作废 - 0:未激活 1:正常
  8325. type: integer
  8326. enumdicname:
  8327. description: 现货品种单位名称
  8328. type: string
  8329. goodsunitid:
  8330. description: 现货品种单位ID
  8331. type: integer
  8332. isvalid:
  8333. description: 是否有效 - 0:无效 1:有效
  8334. type: integer
  8335. qtydecimalplace:
  8336. description: 成交量小数位
  8337. type: integer
  8338. remark:
  8339. description: 备注
  8340. type: string
  8341. standardqty:
  8342. description: 标准数量(库位数量) [标准品特有]
  8343. type: integer
  8344. standardqtyrange:
  8345. description: 标准数量偏差范围 [标准品特有]
  8346. type: integer
  8347. type: object
  8348. models.ErmcpFuturesCompany:
  8349. properties:
  8350. brokerid:
  8351. description: 经纪公司代码
  8352. type: string
  8353. channeladdress:
  8354. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8355. type: string
  8356. channelid:
  8357. description: 对冲渠道ID
  8358. type: string
  8359. createtime:
  8360. description: 创建时间
  8361. type: string
  8362. creatorid:
  8363. description: 创建人
  8364. type: string
  8365. fcid:
  8366. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8367. type: integer
  8368. fcname:
  8369. description: 期货公司名称
  8370. type: string
  8371. isvalid:
  8372. description: 是否有效 - 0:无效 1:有效
  8373. type: integer
  8374. mhpaddress:
  8375. description: MHP服务地址(IP:Port)
  8376. type: string
  8377. riskrulegroupid:
  8378. description: 风控规则组ID
  8379. type: string
  8380. tradefeetmpid:
  8381. description: 手续费模板ID[TradeConfigTmpType为2]
  8382. type: string
  8383. trademargintmpid:
  8384. description: 保证金模板ID [TradeConfigTmpType为1]
  8385. type: string
  8386. traderatetmpid:
  8387. description: 汇率模板ID[TradeConfigTmpType为3]
  8388. type: string
  8389. updatetime:
  8390. description: 更新时间
  8391. type: string
  8392. updatorid:
  8393. description: 更新人
  8394. type: string
  8395. type: object
  8396. models.ErmcpGGConvertCfg:
  8397. properties:
  8398. convertratio:
  8399. description: 折算系数
  8400. type: number
  8401. destgoodsgroupid:
  8402. description: 目标品种ID
  8403. type: integer
  8404. dstcode:
  8405. description: 目录品种代码
  8406. type: string
  8407. dstexchangecode:
  8408. description: 目标期货交易所
  8409. type: string
  8410. dstname:
  8411. description: 目标品种名称
  8412. type: string
  8413. dstunitid:
  8414. description: 目标品种单位ID
  8415. type: integer
  8416. dstunitidname:
  8417. description: 目标品种单位名称
  8418. type: string
  8419. modifytime:
  8420. description: 修改时间
  8421. type: string
  8422. srccode:
  8423. description: 源品种代码
  8424. type: string
  8425. srcexchangecode:
  8426. description: 源期货交易所
  8427. type: string
  8428. srcgoodsgroupid:
  8429. description: 源品种ID
  8430. type: integer
  8431. srcname:
  8432. description: 源品种名称
  8433. type: string
  8434. srcunitid:
  8435. description: 源品种单位ID
  8436. type: integer
  8437. srcunitidname:
  8438. description: 源品种单位名称
  8439. type: string
  8440. type: object
  8441. models.ErmcpGoods:
  8442. properties:
  8443. agreeunit:
  8444. description: 合约单位
  8445. type: number
  8446. areauserid:
  8447. description: 所属机构
  8448. type: integer
  8449. auditaccountid:
  8450. description: 审核操作员账号
  8451. type: integer
  8452. audittime:
  8453. description: 审核时间
  8454. type: string
  8455. cancelaccountid:
  8456. description: 注销操作员账号
  8457. type: integer
  8458. canceltime:
  8459. description: 注销时间
  8460. type: string
  8461. closepricemode:
  8462. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8463. type: integer
  8464. closepriceparam:
  8465. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8466. type: number
  8467. createtime:
  8468. description: 创建时间
  8469. type: string
  8470. creatorid:
  8471. description: 创建人
  8472. type: integer
  8473. currencyid:
  8474. description: 报价货币ID
  8475. type: integer
  8476. cutmode:
  8477. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8478. type: integer
  8479. decimalplace:
  8480. description: 报价小数位
  8481. type: integer
  8482. delistingdate:
  8483. description: 商品退市时间(状态:退市) -- 已作废
  8484. type: string
  8485. delistingmode:
  8486. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8487. type: integer
  8488. deliveryflag:
  8489. description: 交割标志 - 0:不可交割 1:可交割
  8490. type: integer
  8491. enumdicname:
  8492. description: 单位名称
  8493. type: string
  8494. forceclosemode:
  8495. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8496. type: integer
  8497. forceclosevalue:
  8498. description: 定期强平参数 [收益权]
  8499. type: integer
  8500. goodscode:
  8501. description: 商品代码(内部)
  8502. type: string
  8503. goodscurrencyid:
  8504. description: 合约货币ID
  8505. type: integer
  8506. goodsgroupid:
  8507. description: 所属商品组ID
  8508. type: integer
  8509. goodsid:
  8510. description: 商品ID(自增ID SEQ_GOODS)
  8511. type: integer
  8512. goodsname:
  8513. description: 商品名称
  8514. type: string
  8515. goodsquotetype:
  8516. description: '合约报价类型: 1-直接报价 2-间接报价'
  8517. type: integer
  8518. goodsstatus:
  8519. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8520. type: integer
  8521. goodstradetype:
  8522. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8523. type: integer
  8524. goodunitid:
  8525. description: 报价单位ID
  8526. type: integer
  8527. hasquoter:
  8528. description: 是否有报价商 - 0:无报价商 1:有报价商
  8529. type: integer
  8530. hqprotecttime:
  8531. description: 行情保护时间(秒)
  8532. type: integer
  8533. innerdealmode:
  8534. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8535. type: integer
  8536. isbuylimited:
  8537. description: 是否限制建仓量 - 0:不限制 1:限制
  8538. type: integer
  8539. isvisible:
  8540. description: 游客是否可见 - 0:不可见 1:可见
  8541. type: integer
  8542. lasttradedate:
  8543. description: 最后交易日期(状态:待退市)
  8544. type: string
  8545. listingdate:
  8546. description: 交易开始日期
  8547. type: string
  8548. marketid:
  8549. description: 所属市场ID
  8550. type: integer
  8551. modifierid:
  8552. description: 修改人
  8553. type: integer
  8554. modifystatus:
  8555. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8556. type: integer
  8557. modifytime:
  8558. description: 修改时间
  8559. type: string
  8560. outerdealmode:
  8561. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8562. type: integer
  8563. outgoodscode:
  8564. description: 商品代码(外部)
  8565. type: string
  8566. pictureurl:
  8567. description: 商品图片
  8568. type: string
  8569. qtydecimalplace:
  8570. description: 成交量小数位
  8571. type: integer
  8572. quotegear:
  8573. description: 行情档位(1-10)
  8574. type: integer
  8575. quoteminunit:
  8576. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8577. type: integer
  8578. quoteshowtype:
  8579. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8580. type: integer
  8581. quoteshowtypeinterval:
  8582. description: 行情报价间隔时间(秒)(成交价时为0)
  8583. type: integer
  8584. relatedgoodsid:
  8585. description: 关联参考商品ID
  8586. type: integer
  8587. remark:
  8588. description: 备注
  8589. type: string
  8590. trademode:
  8591. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8592. 21:竞拍-大宗式 22:受托竞价
  8593. type: integer
  8594. required:
  8595. - goodscode
  8596. - goodsid
  8597. - goodsname
  8598. - marketid
  8599. type: object
  8600. models.ErmcpGoodsBrand:
  8601. properties:
  8602. areauserid:
  8603. description: 所属机构
  8604. type: integer
  8605. brandid:
  8606. description: BrandID(SEQ_SPOTGOODSBRAND)
  8607. type: integer
  8608. brandname:
  8609. description: 品牌名称
  8610. type: string
  8611. createtime:
  8612. description: 创建时间
  8613. type: string
  8614. creatorid:
  8615. description: 创建人
  8616. type: integer
  8617. creatorsrc:
  8618. description: 创建人来源 - 1:管理端 2:终端
  8619. type: integer
  8620. deliverygoodsid:
  8621. description: 现货品种ID
  8622. type: integer
  8623. isvalid:
  8624. description: 是否有效 - 0:无效 1:有效
  8625. type: integer
  8626. updatetime:
  8627. description: 更新时间
  8628. type: string
  8629. updatorid:
  8630. description: 更新人
  8631. type: integer
  8632. updatorsrc:
  8633. description: 更新人来源 - 1:管理端 2:终端
  8634. type: integer
  8635. wrstandardid:
  8636. description: 现货商品ID
  8637. type: integer
  8638. type: object
  8639. models.ErmcpGoodsModel:
  8640. properties:
  8641. areauserid:
  8642. description: 所属机构
  8643. type: integer
  8644. convertfactor:
  8645. description: 标仓系数
  8646. type: number
  8647. createtime:
  8648. description: 创建时间
  8649. type: string
  8650. creatorid:
  8651. description: 创建人
  8652. type: integer
  8653. creatorsrc:
  8654. description: 创建人来源 - 1:管理端 2:终端
  8655. type: integer
  8656. deliverygoodsid:
  8657. description: 现货品种ID
  8658. type: integer
  8659. isvalid:
  8660. description: 是否有效 - 0:无效 1:有效
  8661. type: integer
  8662. modelid:
  8663. description: ModelID(SEQ_SPOTGOODSMODEL)
  8664. type: integer
  8665. modelname:
  8666. description: 型号名称
  8667. type: string
  8668. updatetime:
  8669. description: 更新时间
  8670. type: string
  8671. updatorid:
  8672. description: 更新人
  8673. type: integer
  8674. updatorsrc:
  8675. description: 更新人来源 - 1:管理端 2:终端
  8676. type: integer
  8677. wrstandardid:
  8678. description: 现货商品ID
  8679. type: integer
  8680. type: object
  8681. models.ErmcpHisExposure:
  8682. properties:
  8683. needhedgeexposoure:
  8684. description: 应套保敞口
  8685. type: number
  8686. reckondate:
  8687. description: 日照时期(yyyyMMdd)
  8688. type: string
  8689. totalexposure:
  8690. description: 总敞口
  8691. type: number
  8692. type: object
  8693. models.ErmcpLoginTaAccount:
  8694. properties:
  8695. accountid:
  8696. description: 账号id
  8697. type: integer
  8698. accountname:
  8699. description: 账号名称
  8700. type: string
  8701. type: object
  8702. models.ErmcpLoginUser:
  8703. properties:
  8704. acclist:
  8705. description: 关联资金账号
  8706. items:
  8707. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8708. type: array
  8709. accountname:
  8710. description: 用户名称
  8711. type: string
  8712. clientroleid:
  8713. description: 角色id(usertype=2)
  8714. type: integer
  8715. createtime:
  8716. description: 创建时间
  8717. type: string
  8718. logincode:
  8719. description: 登录代码
  8720. type: string
  8721. loginid:
  8722. description: 登录id(LOGINID)
  8723. type: integer
  8724. loginname:
  8725. description: 登录名称(loginaccount表中的accountname字段)
  8726. type: string
  8727. loginstatus:
  8728. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8729. type: integer
  8730. memberuserid:
  8731. description: 所属会员id
  8732. type: integer
  8733. mobile:
  8734. description: 手机号
  8735. type: string
  8736. modifytime:
  8737. description: 修改时间
  8738. type: string
  8739. password:
  8740. description: 密码(不可解密)
  8741. type: string
  8742. rolename:
  8743. description: 角色名称
  8744. type: string
  8745. rolestatus:
  8746. description: 角色状态 1-启用 2-停用
  8747. type: integer
  8748. roletype:
  8749. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8750. type: string
  8751. userid:
  8752. description: 用户id
  8753. type: integer
  8754. usertype:
  8755. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8756. type: integer
  8757. type: object
  8758. models.ErmcpLoginUserEx:
  8759. properties:
  8760. accountstatus:
  8761. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8762. type: integer
  8763. mobile:
  8764. description: 手机号
  8765. type: string
  8766. querytype:
  8767. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8768. type: integer
  8769. roleid:
  8770. description: 角色id(交易账户->用户id)
  8771. type: integer
  8772. rolename:
  8773. description: 角色名称(交易账户->用户名称)
  8774. type: string
  8775. userlist:
  8776. description: 用户列表
  8777. items:
  8778. $ref: '#/definitions/models.ErmcpLoginUser'
  8779. type: array
  8780. usertype:
  8781. description: 用户类型 2-机构 7-企业成员(云平台)
  8782. type: integer
  8783. type: object
  8784. models.ErmcpMiddleGoodsModel:
  8785. properties:
  8786. areauserid:
  8787. description: 机构用户ID
  8788. type: integer
  8789. createtime:
  8790. description: 修改时间
  8791. type: string
  8792. enumdicname:
  8793. description: 单位名称
  8794. type: string
  8795. evaluateratio:
  8796. description: 估价系数
  8797. type: number
  8798. goodsgroupid:
  8799. description: 关联期货品种ID
  8800. type: integer
  8801. goodsunitid:
  8802. description: 单位ID
  8803. type: integer
  8804. isvalid:
  8805. description: 状态 0-无效(停用) 1-有效(正常)
  8806. type: integer
  8807. middlegoodscode:
  8808. description: 套保品种代码
  8809. type: string
  8810. middlegoodsid:
  8811. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8812. type: integer
  8813. middlegoodsname:
  8814. description: 套保品种名称
  8815. type: string
  8816. modifytime:
  8817. description: 修改时间
  8818. type: string
  8819. needarbitrageratio:
  8820. description: 套利比例
  8821. type: number
  8822. needhedgeratio:
  8823. description: 套保比率
  8824. type: number
  8825. qtydecimalplace:
  8826. description: 数量小数位
  8827. type: integer
  8828. relatedgoodsid:
  8829. description: 关联交易商品ID
  8830. type: integer
  8831. relatedgoodstype:
  8832. description: 关联商品类型 - 1:期货合约 2:现货品种
  8833. type: integer
  8834. remark:
  8835. description: 备注
  8836. type: string
  8837. type: object
  8838. models.ErmcpMiddlegoodsRelateGoods:
  8839. properties:
  8840. agreeunit:
  8841. description: 合约乘数
  8842. type: number
  8843. convertratio:
  8844. description: 折算系数
  8845. type: number
  8846. enumdicname:
  8847. description: 单位名称(交易商品)
  8848. type: string
  8849. goodscode:
  8850. description: 交易商品代码
  8851. type: string
  8852. goodsgroupid:
  8853. description: 交易品种id
  8854. type: integer
  8855. goodsid:
  8856. description: 商品Id
  8857. type: integer
  8858. goodsname:
  8859. description: 交易商品名称
  8860. type: string
  8861. goodunitid:
  8862. description: 交易商品单位id
  8863. type: integer
  8864. middlegoodsid:
  8865. description: 套保商品id
  8866. type: integer
  8867. middlegoodsname:
  8868. description: 套保商品名称
  8869. type: string
  8870. middlegoodsswcode:
  8871. description: 套保商品代码
  8872. type: string
  8873. needarbitrageratio:
  8874. description: 应套利比例
  8875. type: number
  8876. needhedgeratio:
  8877. description: 应套保比例
  8878. type: number
  8879. type: object
  8880. models.ErmcpRole:
  8881. properties:
  8882. areauserid:
  8883. description: 所属机构
  8884. type: integer
  8885. autoid:
  8886. description: 角色ID(自增ID)
  8887. type: integer
  8888. modifierid:
  8889. description: 修改人(创建人)
  8890. type: integer
  8891. modifiername:
  8892. description: 修改人名称
  8893. type: string
  8894. modifytime:
  8895. description: 修改时间(创建时间)
  8896. type: string
  8897. rolename:
  8898. description: 角色名称
  8899. type: string
  8900. rolestatus:
  8901. description: 角色状态 - 1:启用 2:停用
  8902. type: integer
  8903. roletype:
  8904. description: 角色类型 - 1- 管理端 2- 交易端
  8905. type: integer
  8906. type: object
  8907. models.ErmcpRoleMenu:
  8908. properties:
  8909. iconame:
  8910. description: 菜单图标
  8911. type: string
  8912. ishadrole:
  8913. description: 是否有权限
  8914. type: boolean
  8915. menutype:
  8916. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8917. type: integer
  8918. parentcode:
  8919. description: 上级资源代码
  8920. type: string
  8921. remark:
  8922. description: 菜单备注
  8923. type: string
  8924. resourcecode:
  8925. description: 菜单代码
  8926. type: string
  8927. resourcelevel:
  8928. description: 级别
  8929. type: integer
  8930. resourcename:
  8931. description: 菜单名称
  8932. type: string
  8933. roleid:
  8934. description: 角色id
  8935. type: integer
  8936. sort:
  8937. description: 排序
  8938. type: integer
  8939. url:
  8940. description: URL
  8941. type: string
  8942. userid:
  8943. description: 用户id
  8944. type: integer
  8945. type: object
  8946. models.ErmcpRoleMenuEx:
  8947. properties:
  8948. menu:
  8949. $ref: '#/definitions/models.ErmcpRoleMenu'
  8950. description: 父级菜单
  8951. subMenu:
  8952. description: 子级菜单
  8953. items:
  8954. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8955. type: array
  8956. type: object
  8957. models.ErmcpSpotContractModelEx:
  8958. properties:
  8959. accountname:
  8960. description: 套期主体
  8961. type: string
  8962. amount:
  8963. description: 金额 [1:一口价、3:暂定价]
  8964. type: number
  8965. attachment:
  8966. description: 附件
  8967. type: string
  8968. auditremark:
  8969. description: 审核意见
  8970. type: string
  8971. audittime:
  8972. description: 审核时间
  8973. type: string
  8974. avgprice:
  8975. description: 定价均价 = 已定价金额 / 已定价量
  8976. type: number
  8977. brandname:
  8978. description: 品牌名称
  8979. type: string
  8980. buyuserid:
  8981. description: 采购方ID
  8982. type: integer
  8983. buyusername:
  8984. description: 采购方名称
  8985. type: string
  8986. contracctstatus:
  8987. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8988. type: integer
  8989. contractmargin:
  8990. description: 合同保证金
  8991. type: number
  8992. contractno:
  8993. description: '[合同编号]现货合同编号'
  8994. type: string
  8995. contracttype:
  8996. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8997. type: integer
  8998. convertfactor:
  8999. description: 标仓系数
  9000. type: number
  9001. createtime:
  9002. description: 创建时间
  9003. type: string
  9004. customername:
  9005. description: 对手方
  9006. type: string
  9007. customeruserid:
  9008. description: 客户ID
  9009. type: integer
  9010. deliveryenddate:
  9011. description: 交收期(结束)
  9012. type: string
  9013. deliverygoodscode:
  9014. description: 现货品种代码
  9015. type: string
  9016. deliverygoodsid:
  9017. description: 现货品种ID
  9018. type: integer
  9019. deliverygoodsname:
  9020. description: 现货品种名称
  9021. type: string
  9022. deliverystartdate:
  9023. description: 交收期(开始)
  9024. type: string
  9025. enddate:
  9026. description: 点价结束日期 [2:点价 3:暂定价]
  9027. type: string
  9028. enumdicname:
  9029. description: 单位名称
  9030. type: string
  9031. goodscode:
  9032. description: 点价合约代码
  9033. type: string
  9034. goodsid:
  9035. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9036. type: integer
  9037. goodsname:
  9038. description: 点价商品名称
  9039. type: string
  9040. isrelated:
  9041. description: 是否已关联计划项目 - 0:否 1:是
  9042. type: integer
  9043. isrelated2:
  9044. description: 是否已关联现货项目 - 0:否 1:是
  9045. type: integer
  9046. margin:
  9047. description: 当前保证金
  9048. type: number
  9049. modelname:
  9050. description: 型号名称
  9051. type: string
  9052. price:
  9053. description: 价格\暂定价 [1:一口价、3:暂定价]
  9054. type: number
  9055. pricedamount:
  9056. description: 已定价金额 = (点价价格+升贴水) * 数量
  9057. type: number
  9058. pricedqty:
  9059. description: 已定价量
  9060. type: number
  9061. pricemove:
  9062. description: 升贴水 [2:点价 3:暂定价]
  9063. type: number
  9064. pricetype:
  9065. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9066. type: integer
  9067. producttype:
  9068. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9069. type: integer
  9070. qty:
  9071. description: '[合同数量]数量'
  9072. type: number
  9073. remark:
  9074. description: 备注
  9075. type: string
  9076. selluserid:
  9077. description: 销售方ID
  9078. type: integer
  9079. sellusername:
  9080. description: 销售方名称
  9081. type: string
  9082. spotamount:
  9083. description: 合同现货金额 [不含升贴水]
  9084. type: number
  9085. spotavgprice:
  9086. description: 现货均价 = 合同现货金额 / 已定价量
  9087. type: number
  9088. spotcontractid:
  9089. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9090. type: string
  9091. spotgoodsbrandid:
  9092. description: 现货品牌ID
  9093. type: integer
  9094. spotgoodsdesc:
  9095. description: 商品型号
  9096. type: string
  9097. spotgoodsmodelid:
  9098. description: 现货型号ID
  9099. type: integer
  9100. startdate:
  9101. description: 点价开始日期 [2:点价 3:暂定价]
  9102. type: string
  9103. tradeuserid:
  9104. description: 交易用户ID
  9105. type: integer
  9106. unpricedqty:
  9107. description: 未定价量 = 合同数量 - 已定价量
  9108. type: number
  9109. updatetime:
  9110. description: 更新时间
  9111. type: string
  9112. userid:
  9113. description: 机构ID
  9114. type: integer
  9115. wrstandardcode:
  9116. description: 现货商品代码
  9117. type: string
  9118. wrstandardid:
  9119. description: 现货商品ID
  9120. type: integer
  9121. wrstandardname:
  9122. description: '[现货商品]现货商品名称'
  9123. type: string
  9124. type: object
  9125. models.ErmcpTaAccount:
  9126. properties:
  9127. accountid:
  9128. description: 账户id
  9129. type: integer
  9130. accountname:
  9131. description: 账户名称
  9132. type: string
  9133. currencyid:
  9134. description: 币种id
  9135. type: integer
  9136. hedgeaccountcode:
  9137. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9138. type: string
  9139. ismain:
  9140. description: 是否主账户 0-否 1-是
  9141. type: integer
  9142. parentaccountid:
  9143. description: 父账户id
  9144. type: integer
  9145. relateduserid:
  9146. description: 关联userid
  9147. type: integer
  9148. tradefeetmpid:
  9149. description: 手续费模板id
  9150. type: integer
  9151. tradefeetmpname:
  9152. description: 手续费模板名称
  9153. type: string
  9154. trademargintmpid:
  9155. description: 保证金模板id
  9156. type: integer
  9157. trademargintmpname:
  9158. description: 保证金模板名称
  9159. type: string
  9160. traderatetmpid:
  9161. description: 汇率模板id
  9162. type: integer
  9163. traderatetmpname:
  9164. description: 汇率模板名称
  9165. type: string
  9166. tradestatus:
  9167. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9168. type: integer
  9169. userid:
  9170. description: 用户id
  9171. type: integer
  9172. type: object
  9173. models.ErmcpTaAccountEx:
  9174. properties:
  9175. mainAcc:
  9176. $ref: '#/definitions/models.ErmcpTaAccountM'
  9177. description: 主账号
  9178. subacclist:
  9179. description: 子账号列表
  9180. items:
  9181. $ref: '#/definitions/models.ErmcpTaAccount'
  9182. type: array
  9183. type: object
  9184. models.ErmcpTaAccountInfo:
  9185. properties:
  9186. accountid:
  9187. description: 资金账户ID
  9188. type: integer
  9189. accountname:
  9190. description: 账户名称
  9191. type: string
  9192. balance:
  9193. description: 期初余额
  9194. type: number
  9195. capitalbalance:
  9196. description: 本金余额[外部子账户实际出入金余额]
  9197. type: number
  9198. closepl:
  9199. description: 今日平仓盈亏
  9200. type: number
  9201. creditdecrease:
  9202. description: 今日授信减少
  9203. type: number
  9204. creditincrease:
  9205. description: 今日授信增加
  9206. type: number
  9207. curdebt:
  9208. description: 期末欠款
  9209. type: number
  9210. currencyid:
  9211. description: 货币ID
  9212. type: integer
  9213. currentbalance:
  9214. description: 期末余额
  9215. type: number
  9216. freezecharge:
  9217. description: 手续费冻结
  9218. type: number
  9219. freezemargin:
  9220. description: 冻结保证金
  9221. type: number
  9222. fromaccountid:
  9223. description: 所属上级账户
  9224. type: integer
  9225. inamount:
  9226. description: 今日入金金额(包括三方入金)
  9227. type: number
  9228. ismain:
  9229. description: 是否母账号 0:不是母账户 1:是母账户
  9230. type: integer
  9231. mortgagecredit:
  9232. description: 授信金额
  9233. type: number
  9234. oridebt:
  9235. description: 期初欠款
  9236. type: number
  9237. orifreezecharge:
  9238. description: 期初手续费冻结
  9239. type: number
  9240. orifreezemargin:
  9241. description: 期初冻结保证金
  9242. type: number
  9243. orimortgagecredit:
  9244. description: 期初授信金额
  9245. type: number
  9246. oriothercredit:
  9247. description: 期初其它授信金额
  9248. type: number
  9249. oriotherfreezemargin:
  9250. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9251. type: number
  9252. orioutamountfreeze:
  9253. description: 期初出金冻结
  9254. type: number
  9255. oriusedmargin:
  9256. description: 期初占用保证金
  9257. type: number
  9258. othercredit:
  9259. description: 其它授信金额
  9260. type: number
  9261. othercreditdecrease:
  9262. description: 今日其它授信减少
  9263. type: number
  9264. othercreditincrease:
  9265. description: 今日其它授信增加
  9266. type: number
  9267. otherfreezemargin:
  9268. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9269. type: number
  9270. outamount:
  9271. description: 今日出金金额(包括三方出金)
  9272. type: number
  9273. outamountfreeze:
  9274. description: 出金冻结
  9275. type: number
  9276. outthreshold:
  9277. description: 出金阈值
  9278. type: number
  9279. parentaccountid:
  9280. description: 所属根账号
  9281. type: integer
  9282. paycharge:
  9283. description: 今日手续费支出
  9284. type: number
  9285. relateduserid:
  9286. description: 关联用户
  9287. type: integer
  9288. signstatus:
  9289. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9290. type: integer
  9291. sublevelpath:
  9292. description: 账号层级路径(逗号分隔,首尾加逗号)
  9293. type: string
  9294. taaccounttype:
  9295. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9296. type: integer
  9297. thirdinamount:
  9298. description: 今日三方入金
  9299. type: number
  9300. thirdoutamount:
  9301. description: 今日三方出金
  9302. type: number
  9303. tradestatus:
  9304. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9305. type: integer
  9306. transferamount:
  9307. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9308. type: number
  9309. usedmargin:
  9310. description: 占用保证金
  9311. type: number
  9312. userid:
  9313. description: 用户ID
  9314. type: integer
  9315. type: object
  9316. models.ErmcpTaAccountM:
  9317. properties:
  9318. accountid:
  9319. description: 账户id
  9320. type: integer
  9321. accountname:
  9322. description: 账户名称
  9323. type: string
  9324. currencyid:
  9325. description: 币种id
  9326. type: integer
  9327. fcid:
  9328. description: 期货公司id
  9329. type: integer
  9330. fcname:
  9331. description: 期货公司代码
  9332. type: string
  9333. hedgeaccountcode:
  9334. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9335. type: string
  9336. ismain:
  9337. description: 是否主账户 0-否 1-是
  9338. type: integer
  9339. parentaccountid:
  9340. description: 父账户id
  9341. type: integer
  9342. relateduserid:
  9343. description: 关联userid
  9344. type: integer
  9345. tradefeetmpid:
  9346. description: 手续费模板id
  9347. type: integer
  9348. tradefeetmpname:
  9349. description: 手续费模板名称
  9350. type: string
  9351. trademargintmpid:
  9352. description: 保证金模板id
  9353. type: integer
  9354. trademargintmpname:
  9355. description: 保证金模板名称
  9356. type: string
  9357. traderatetmpid:
  9358. description: 汇率模板id
  9359. type: integer
  9360. traderatetmpname:
  9361. description: 汇率模板名称
  9362. type: string
  9363. tradestatus:
  9364. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9365. type: integer
  9366. userid:
  9367. description: 用户id
  9368. type: integer
  9369. type: object
  9370. models.ErmcpTradeConfigTMP:
  9371. properties:
  9372. areauserid:
  9373. description: 所属机构
  9374. type: integer
  9375. basiccurrencyid:
  9376. description: 基本币种ID[汇率] - 目标币种
  9377. type: integer
  9378. mainaccountid:
  9379. description: 主账户ID
  9380. type: integer
  9381. modifierid:
  9382. description: 修改人
  9383. type: integer
  9384. remark:
  9385. description: 备注
  9386. type: string
  9387. tradeconfigtmpid:
  9388. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9389. type: integer
  9390. tradeconfigtmpname:
  9391. description: 交易配置模板名称
  9392. type: string
  9393. tradeconfigtmptype:
  9394. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9395. type: integer
  9396. updatetime:
  9397. description: 更新时间
  9398. type: string
  9399. type: object
  9400. models.Ermcpjrlinkpos:
  9401. properties:
  9402. areauserid:
  9403. description: 所属企业
  9404. type: integer
  9405. averageprice:
  9406. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9407. type: number
  9408. closepl:
  9409. description: 总平仓盈亏 [期货损益]
  9410. type: number
  9411. executeprice:
  9412. description: 执行价 - 1:期货单 为 0
  9413. type: integer
  9414. futurehedgeqty:
  9415. description: 期货套期量
  9416. type: number
  9417. goodsid:
  9418. description: 期货合约
  9419. type: integer
  9420. middlegoodscode:
  9421. description: 套保商品代码
  9422. type: string
  9423. middlegoodsname:
  9424. description: 套保商品名称
  9425. type: string
  9426. netqty:
  9427. description: 净头寸
  9428. type: number
  9429. optioncode:
  9430. description: 期权代码
  9431. type: string
  9432. ordertype:
  9433. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9434. type: integer
  9435. reckonpl:
  9436. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9437. type: number
  9438. spotcontractid:
  9439. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9440. type: string
  9441. todayfutureclosepl:
  9442. description: 今日平仓盈亏
  9443. type: number
  9444. totalbuyamount:
  9445. description: 买金额 [期货]
  9446. type: number
  9447. totalbuyholdamount:
  9448. description: 买持仓总金额[期货]
  9449. type: number
  9450. totalbuyqty:
  9451. description: 买数量
  9452. type: number
  9453. totalcharge:
  9454. description: 手续费
  9455. type: number
  9456. totalpremium:
  9457. description: 权利金 [期权]
  9458. type: number
  9459. totalsellamount:
  9460. description: 卖金额 [期货]
  9461. type: number
  9462. totalsellholdamount:
  9463. description: 卖持仓总金额[期货]
  9464. type: number
  9465. totalsellqty:
  9466. description: 卖数量
  9467. type: number
  9468. updatetime:
  9469. description: 更新时间
  9470. type: string
  9471. required:
  9472. - spotcontractid
  9473. type: object
  9474. models.Ermcppatradelinkdetail:
  9475. properties:
  9476. agreeunit:
  9477. description: 合约乘数
  9478. type: number
  9479. amount:
  9480. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9481. type: number
  9482. areauserid:
  9483. description: 所属机构
  9484. type: integer
  9485. bizsubjectid:
  9486. description: 归属业务部门ID - SubjectID
  9487. type: integer
  9488. buyorsell:
  9489. description: 方向 - 0:买 1:卖
  9490. type: integer
  9491. convertratio:
  9492. description: 品种系数
  9493. type: number
  9494. createtime:
  9495. description: 创建时间
  9496. type: string
  9497. creatorid:
  9498. description: 创建人ID
  9499. type: integer
  9500. creatorsrc:
  9501. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9502. type: integer
  9503. goodsgroupid:
  9504. description: 对冲品种ID[期货合约商品组ID]
  9505. type: integer
  9506. goodsid:
  9507. description: 商品ID
  9508. type: integer
  9509. hedgeditemid:
  9510. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9511. type: integer
  9512. hedgeflag:
  9513. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9514. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9515. type: integer
  9516. linkdetailid:
  9517. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9518. type: string
  9519. linkstatus:
  9520. description: 关联状态 - 1:成功 2:失败 3:解绑
  9521. type: integer
  9522. middlegoodsid:
  9523. description: 套保品种ID
  9524. type: integer
  9525. name:
  9526. description: 账户名/子账户
  9527. type: string
  9528. optioncode:
  9529. description: '[期货合约]期权代码 [期权]'
  9530. type: string
  9531. ordertype:
  9532. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9533. type: integer
  9534. relatedlot:
  9535. description: '[数量]关联手数'
  9536. type: number
  9537. relatedmode:
  9538. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9539. type: integer
  9540. relatedqty:
  9541. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9542. type: number
  9543. retcode:
  9544. description: 返回码
  9545. type: integer
  9546. saleuserid:
  9547. description: 业务员ID
  9548. type: integer
  9549. tradedate:
  9550. description: 关联交易日(yyyyMMdd)
  9551. type: string
  9552. tradeid:
  9553. description: '[成交单号]内部成交单ID'
  9554. type: string
  9555. tradelot:
  9556. description: 成交手数
  9557. type: integer
  9558. tradeprice:
  9559. description: '[价格]成交价格'
  9560. type: number
  9561. tradetime:
  9562. description: 日期时间
  9563. type: string
  9564. tradetradedate:
  9565. description: 成交交易日(yyyyMMdd)
  9566. type: string
  9567. required:
  9568. - hedgeditemid
  9569. type: object
  9570. models.Exchangerateconfig:
  9571. properties:
  9572. descurrencyid:
  9573. description: 目标币种ID
  9574. type: integer
  9575. exchangerate:
  9576. description: 汇率
  9577. type: number
  9578. oricurrencyid:
  9579. description: 源币种ID
  9580. type: integer
  9581. remark:
  9582. description: 备注
  9583. type: string
  9584. type: object
  9585. models.Externalexchange:
  9586. properties:
  9587. autoid:
  9588. description: AutoID - SEQ_EXTERNALEXCHANGE
  9589. type: integer
  9590. exchangefullname:
  9591. description: 外部交易所全称
  9592. type: string
  9593. exexchangecode:
  9594. description: 外部交易所代码
  9595. type: string
  9596. exexchangename:
  9597. description: 外部交易所名称(简称)
  9598. type: string
  9599. ismarketprice:
  9600. description: 是否支持市价 - 0:不支持 1:支持
  9601. type: integer
  9602. quotegear:
  9603. description: 行情档位(1-10)
  9604. type: integer
  9605. showbrokerflag:
  9606. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9607. type: integer
  9608. updatetime:
  9609. description: 更新时间
  9610. type: string
  9611. required:
  9612. - autoid
  9613. type: object
  9614. models.Funcmenulist:
  9615. properties:
  9616. iconame:
  9617. description: 菜单图标
  9618. type: string
  9619. menutype:
  9620. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9621. type: integer
  9622. parentcode:
  9623. description: 上级资源代码
  9624. type: string
  9625. remark:
  9626. description: 备注
  9627. type: string
  9628. resourcecode:
  9629. description: 资源代码
  9630. type: string
  9631. resourcelevel:
  9632. description: 级别 1-一级 2-二级 3-三级 4-四级
  9633. type: integer
  9634. resourcename:
  9635. description: 资源名
  9636. type: string
  9637. sort:
  9638. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9639. type: integer
  9640. url:
  9641. description: URL
  9642. type: string
  9643. required:
  9644. - resourcecode
  9645. type: object
  9646. models.GErmcpspotgoodsprice:
  9647. properties:
  9648. chg:
  9649. description: 涨跌幅
  9650. type: string
  9651. currencyid:
  9652. description: 报价货币ID
  9653. type: integer
  9654. deliverygoodsid:
  9655. description: 现货品种ID
  9656. type: integer
  9657. prespotgoodsprice:
  9658. description: 上日价格
  9659. type: number
  9660. spotgoodsbrandid:
  9661. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  9662. type: integer
  9663. spotgoodsprice:
  9664. description: 【最新价】当前价格
  9665. type: number
  9666. srcmarketname:
  9667. description: 来源市场名称
  9668. type: string
  9669. todaypricedtotalamount:
  9670. description: 今日定价金额
  9671. type: number
  9672. todaypricedtotalqty:
  9673. description: 今日定价总量
  9674. type: number
  9675. todayspotgoodsprice:
  9676. description: 今日指定价
  9677. type: number
  9678. tradedate:
  9679. description: 【日期】交易日
  9680. type: string
  9681. wrstandardcode:
  9682. description: 现货商品代码
  9683. type: string
  9684. wrstandardid:
  9685. description: 现货商品ID(通用则为0)
  9686. type: integer
  9687. wrstandardname:
  9688. description: 【名称】现货商品名称
  9689. type: string
  9690. ystspotgoodsprice:
  9691. description: 昨价
  9692. type: number
  9693. type: object
  9694. models.GThjuserscorelog:
  9695. properties:
  9696. createtime:
  9697. description: 记账时间
  9698. type: string
  9699. redpacketvalue:
  9700. description: 红包值【抽奖】
  9701. type: number
  9702. score:
  9703. description: 变动积分
  9704. type: number
  9705. scoreconfigtype:
  9706. description: 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分
  9707. 7:抽奖配置
  9708. type: integer
  9709. stype:
  9710. description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  9711. 6:自己供求下单积分 7:抽奖配置'
  9712. type: string
  9713. type: object
  9714. models.GZGoods:
  9715. properties:
  9716. address:
  9717. description: 详细地址
  9718. type: string
  9719. cerno:
  9720. description: 证书编号 - 类型:2,4,5
  9721. type: string
  9722. cityname:
  9723. description: 城市名称
  9724. type: string
  9725. countryname:
  9726. description: 国家名称
  9727. type: string
  9728. cpcertno:
  9729. description: 金伯利证书编号 - 类型:3
  9730. type: string
  9731. districtname:
  9732. description: 地区名称
  9733. type: string
  9734. goodsno:
  9735. description: 商品编号
  9736. type: string
  9737. imagepath:
  9738. description: 商品照片(相对地址)
  9739. type: string
  9740. isvalid:
  9741. description: 是否有效 - 0:无效 1:有效
  9742. type: integer
  9743. kppath:
  9744. description: 金伯利证书图片(相对地址) - 类型:3
  9745. type: string
  9746. kpweight:
  9747. description: 金伯利证书重量 - 类型:3
  9748. type: string
  9749. marketprice:
  9750. description: 市场价
  9751. type: string
  9752. mobile:
  9753. description: 手机号码
  9754. type: string
  9755. origin:
  9756. description: 原产地 - 类型:3
  9757. type: string
  9758. performancetemplateid:
  9759. description: 履约计划模板ID
  9760. type: integer
  9761. price:
  9762. description: 总价(价格) - 类型:1,2,3,4,5
  9763. type: number
  9764. priceper:
  9765. description: 克拉单价 - 类型:1,2,3,5
  9766. type: string
  9767. provincename:
  9768. description: 省名称
  9769. type: string
  9770. remainqty:
  9771. description: 剩余重量
  9772. type: number
  9773. remark:
  9774. description: 备注
  9775. type: string
  9776. sellusername:
  9777. description: 账户名称(机构名称)
  9778. type: string
  9779. settingmaterial:
  9780. description: 镶嵌材料 - 类型:4
  9781. type: string
  9782. size1:
  9783. description: 尺寸1 - 类型:2,4,5
  9784. type: string
  9785. size2:
  9786. description: 尺寸2 - 类型:2,4,5
  9787. type: string
  9788. size3:
  9789. description: 尺寸3 - 类型:2,4,5
  9790. type: string
  9791. sizedisplay:
  9792. description: 尺寸
  9793. type: string
  9794. stonedesc:
  9795. description: 配石描述 - 类型:4
  9796. type: string
  9797. userid:
  9798. description: 用户ID
  9799. type: integer
  9800. warehouseid:
  9801. description: 仓库ID
  9802. type: integer
  9803. warehousenamedisplay:
  9804. type: string
  9805. weight:
  9806. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9807. type: number
  9808. weightavg:
  9809. description: 平均单颗重量 - 类型:1,3
  9810. type: number
  9811. wrpath:
  9812. description: 仓单扫描件(相对地址)
  9813. type: string
  9814. wrstandardid:
  9815. description: 现货商品ID
  9816. type: integer
  9817. wrtradeorderid:
  9818. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9819. type: string
  9820. zscategory:
  9821. description: 钻石分类 - 枚举”ZSCategory“
  9822. type: integer
  9823. zscategorydisplay:
  9824. type: string
  9825. zscerttype:
  9826. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9827. type: integer
  9828. zscerttypedisplay:
  9829. type: string
  9830. zsclaritytype1:
  9831. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9832. type: integer
  9833. zsclaritytype1display:
  9834. type: string
  9835. zsclaritytype2:
  9836. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9837. type: integer
  9838. zsclaritytype2display:
  9839. type: string
  9840. zscolortype1:
  9841. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9842. type: integer
  9843. zscolortype1display:
  9844. type: string
  9845. zscolortype2:
  9846. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9847. type: integer
  9848. zscolortype2display:
  9849. type: string
  9850. zscrystaltype:
  9851. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9852. type: string
  9853. zscrystaltypedisplay:
  9854. type: string
  9855. zscurrencytype:
  9856. description: 货币类型 - 枚举“ZSCurrencyType”
  9857. type: integer
  9858. zscurrencytypedisplay:
  9859. type: string
  9860. zscurrencytypedisplayunit:
  9861. type: string
  9862. zscuttype1:
  9863. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9864. type: integer
  9865. zscuttype1display:
  9866. type: string
  9867. zscuttype2:
  9868. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9869. type: integer
  9870. zscuttype2display:
  9871. type: string
  9872. zsczcolor1type:
  9873. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9874. type: integer
  9875. zsczcolor1typedisplay:
  9876. type: string
  9877. zsczcolor2type:
  9878. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9879. type: integer
  9880. zsczcolor2typedisplay:
  9881. type: string
  9882. zsczcolor3type:
  9883. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9884. type: integer
  9885. zsczcolor3typedisplay:
  9886. type: string
  9887. zsfluorescencetype1:
  9888. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9889. type: integer
  9890. zsfluorescencetype1display:
  9891. type: string
  9892. zsfluorescencetype2:
  9893. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9894. type: integer
  9895. zsfluorescencetype2display:
  9896. type: string
  9897. zspolishtype1:
  9898. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9899. type: integer
  9900. zspolishtype1display:
  9901. type: string
  9902. zspolishtype2:
  9903. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9904. type: integer
  9905. zspolishtype2display:
  9906. type: string
  9907. zsshapetype:
  9908. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9909. type: string
  9910. zsshapetypedisplay:
  9911. type: string
  9912. zsstyletype:
  9913. description: 款式 - 类型:4
  9914. type: integer
  9915. zsstyletypedisplay:
  9916. type: string
  9917. zssymmetrytype1:
  9918. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9919. type: integer
  9920. zssymmetrytype1display:
  9921. type: string
  9922. zssymmetrytype2:
  9923. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9924. type: integer
  9925. zssymmetrytype2display:
  9926. type: string
  9927. required:
  9928. - goodsno
  9929. type: object
  9930. models.GZHomeData:
  9931. properties:
  9932. purchasedtransactions:
  9933. description: 已购买的交易
  9934. type: integer
  9935. transactioninpurchase:
  9936. description: 求购中的交易
  9937. type: integer
  9938. transactionsonsale:
  9939. description: 出售中的交易
  9940. type: integer
  9941. transactionssold:
  9942. description: 已卖出的交易
  9943. type: integer
  9944. unhandledmessage:
  9945. description: 未处理消息
  9946. type: integer
  9947. type: object
  9948. models.GZWarehouseinfo:
  9949. properties:
  9950. address:
  9951. description: 详细地址
  9952. type: string
  9953. areauserid:
  9954. description: 所属机构
  9955. type: integer
  9956. autoid:
  9957. description: 自增ID
  9958. type: integer
  9959. cityid:
  9960. description: 市
  9961. type: integer
  9962. cityname:
  9963. description: 城市名称
  9964. type: string
  9965. contactname:
  9966. description: 联系人
  9967. type: string
  9968. contactnum:
  9969. description: 联系电话
  9970. type: string
  9971. countryid:
  9972. description: 国家
  9973. type: integer
  9974. countryname:
  9975. description: 国家名称
  9976. type: string
  9977. createtime:
  9978. description: 创建时间
  9979. type: string
  9980. districtid:
  9981. description: 区
  9982. type: integer
  9983. districtname:
  9984. description: 地区名称
  9985. type: string
  9986. hasvideo:
  9987. description: 是否有视频 - 0:无 1:有
  9988. type: integer
  9989. provinceid:
  9990. description: 省
  9991. type: integer
  9992. provincename:
  9993. description: 省名称
  9994. type: string
  9995. remark:
  9996. description: 审核备注
  9997. type: string
  9998. videourl:
  9999. description: 视频地址
  10000. type: string
  10001. warehousecode:
  10002. description: 仓库代码
  10003. type: string
  10004. warehousename:
  10005. description: 仓库名称
  10006. type: string
  10007. warehousestatus:
  10008. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10009. type: integer
  10010. warehousetype:
  10011. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10012. type: integer
  10013. type: object
  10014. models.Goods:
  10015. properties:
  10016. agreeunit:
  10017. description: 合约单位
  10018. type: number
  10019. areauserid:
  10020. description: 所属机构
  10021. type: integer
  10022. auditaccountid:
  10023. description: 审核操作员账号
  10024. type: integer
  10025. audittime:
  10026. description: 审核时间
  10027. type: string
  10028. cancelaccountid:
  10029. description: 注销操作员账号
  10030. type: integer
  10031. canceltime:
  10032. description: 注销时间
  10033. type: string
  10034. closepricemode:
  10035. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10036. type: integer
  10037. closepriceparam:
  10038. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  10039. type: number
  10040. createtime:
  10041. description: 创建时间
  10042. type: string
  10043. creatorid:
  10044. description: 创建人
  10045. type: integer
  10046. currencyid:
  10047. description: 报价货币ID
  10048. type: integer
  10049. cutmode:
  10050. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  10051. type: integer
  10052. decimalplace:
  10053. description: 报价小数位
  10054. type: integer
  10055. delistingdate:
  10056. description: 商品退市时间(状态:退市) -- 已作废
  10057. type: string
  10058. delistingmode:
  10059. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  10060. type: integer
  10061. deliveryflag:
  10062. description: 交割标志 - 0:不可交割 1:可交割
  10063. type: integer
  10064. forceclosemode:
  10065. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  10066. type: integer
  10067. forceclosevalue:
  10068. description: 定期强平参数 [收益权]
  10069. type: integer
  10070. goodscode:
  10071. description: 商品代码(内部)
  10072. type: string
  10073. goodscurrencyid:
  10074. description: 合约货币ID
  10075. type: integer
  10076. goodsgroupid:
  10077. description: 所属商品组ID
  10078. type: integer
  10079. goodsid:
  10080. description: 商品ID(自增ID SEQ_GOODS)
  10081. type: integer
  10082. goodsname:
  10083. description: 商品名称
  10084. type: string
  10085. goodsquotetype:
  10086. description: '合约报价类型: 1-直接报价 2-间接报价'
  10087. type: integer
  10088. goodsstatus:
  10089. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10090. type: integer
  10091. goodstradetype:
  10092. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10093. type: integer
  10094. goodunitid:
  10095. description: 报价单位ID
  10096. type: integer
  10097. hasquoter:
  10098. description: 是否有报价商 - 0:无报价商 1:有报价商
  10099. type: integer
  10100. hqprotecttime:
  10101. description: 行情保护时间(秒)
  10102. type: integer
  10103. innerdealmode:
  10104. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10105. type: integer
  10106. isbuylimited:
  10107. description: 是否限制建仓量 - 0:不限制 1:限制
  10108. type: integer
  10109. isvisible:
  10110. description: 游客是否可见 - 0:不可见 1:可见
  10111. type: integer
  10112. lasttradedate:
  10113. description: 最后交易日期(状态:待退市)
  10114. type: string
  10115. listingdate:
  10116. description: 交易开始日期
  10117. type: string
  10118. marketid:
  10119. description: 所属市场ID
  10120. type: integer
  10121. modifierid:
  10122. description: 修改人
  10123. type: integer
  10124. modifystatus:
  10125. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10126. type: integer
  10127. modifytime:
  10128. description: 修改时间
  10129. type: string
  10130. outerdealmode:
  10131. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10132. type: integer
  10133. outgoodscode:
  10134. description: 商品代码(外部)
  10135. type: string
  10136. pictureurl:
  10137. description: 商品图片
  10138. type: string
  10139. qtydecimalplace:
  10140. description: 成交量小数位
  10141. type: integer
  10142. quotegear:
  10143. description: 行情档位(1-10)
  10144. type: integer
  10145. quoteminunit:
  10146. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10147. type: integer
  10148. quoteshowtype:
  10149. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10150. type: integer
  10151. quoteshowtypeinterval:
  10152. description: 行情报价间隔时间(秒)(成交价时为0)
  10153. type: integer
  10154. remark:
  10155. description: 备注
  10156. type: string
  10157. required:
  10158. - goodscode
  10159. - goodsid
  10160. - goodsname
  10161. - marketid
  10162. type: object
  10163. models.GoodsIDAndName:
  10164. properties:
  10165. goodscode:
  10166. description: 商品代码(内部)
  10167. type: string
  10168. goodsid:
  10169. description: 商品ID(自增ID SEQ_GOODS)
  10170. type: integer
  10171. goodsname:
  10172. description: 商品名称
  10173. type: string
  10174. marketid:
  10175. description: 所属市场ID
  10176. type: integer
  10177. required:
  10178. - goodscode
  10179. - goodsid
  10180. - goodsname
  10181. - marketid
  10182. type: object
  10183. models.Goodsgroup:
  10184. properties:
  10185. agreeunit:
  10186. description: 合约单位
  10187. type: number
  10188. canshort:
  10189. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10190. type: integer
  10191. closepricemode:
  10192. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10193. type: integer
  10194. closepriceparam:
  10195. description: 强平最新价浮动比例 - 方式为2时使用
  10196. type: number
  10197. createtime:
  10198. description: 创建时间
  10199. type: string
  10200. creatorid:
  10201. description: 创建人
  10202. type: integer
  10203. currencyid:
  10204. description: 报价货币ID
  10205. type: integer
  10206. decimalplace:
  10207. description: 报价小数位
  10208. type: integer
  10209. exercisetype:
  10210. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10211. type: integer
  10212. exexchangeid:
  10213. description: 外部交易所ID[通道交易]
  10214. type: integer
  10215. goodsgroupid:
  10216. description: 商品组ID(自增ID)
  10217. type: integer
  10218. goodsgroupname:
  10219. description: 商品组名称
  10220. type: string
  10221. goodsgroupstatus:
  10222. description: 商品组状态 - 1:正常 2:注销
  10223. type: integer
  10224. goodunitid:
  10225. description: 报价单位ID
  10226. type: integer
  10227. innerdealmode:
  10228. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10229. type: integer
  10230. isbuylimited:
  10231. description: 是否限制建仓量 - 0:不限制 1:限制
  10232. type: integer
  10233. marketid:
  10234. description: 所属市场ID
  10235. type: integer
  10236. modifierid:
  10237. description: 修改人
  10238. type: integer
  10239. modifytime:
  10240. description: 修改时间
  10241. type: string
  10242. outerdealmode:
  10243. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10244. type: integer
  10245. outergroupcode:
  10246. description: 外部商品组代码[通道交易]
  10247. type: string
  10248. premiumdecimalplace:
  10249. description: 权利金小数位[场外期权]
  10250. type: integer
  10251. premiumspreadalgorithm:
  10252. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10253. type: integer
  10254. premiumspreadvalue:
  10255. description: 权利金点差值[场外期权]
  10256. type: number
  10257. qtydecimalplace:
  10258. description: 成交量小数位
  10259. type: integer
  10260. quotegear:
  10261. description: 行情档位(1-10)
  10262. type: integer
  10263. quoteminunit:
  10264. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10265. type: integer
  10266. quoterid:
  10267. description: 报价商ID[场外期权]
  10268. type: integer
  10269. quotesourcegroupid:
  10270. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10271. type: integer
  10272. syncgoodsqty:
  10273. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10274. type: integer
  10275. required:
  10276. - goodsgroupid
  10277. - goodsgroupname
  10278. - goodsgroupstatus
  10279. - marketid
  10280. type: object
  10281. models.Goodssortbypreposition:
  10282. properties:
  10283. goodscode:
  10284. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10285. type: string
  10286. goodsgroupcode:
  10287. description: 品种代码
  10288. type: string
  10289. prepositionqty:
  10290. description: 昨持仓量
  10291. type: integer
  10292. sortindex:
  10293. description: 排序
  10294. type: integer
  10295. tradedate:
  10296. description: 交易日
  10297. type: string
  10298. updatetime:
  10299. description: 更新时间
  10300. type: string
  10301. required:
  10302. - goodscode
  10303. - tradedate
  10304. type: object
  10305. models.GzbsfworderM:
  10306. properties:
  10307. accountid:
  10308. description: 资金账户ID
  10309. type: integer
  10310. addresscn:
  10311. description: 地址(中文)
  10312. type: string
  10313. addressen:
  10314. description: 地址(英文)
  10315. type: string
  10316. advanceamount:
  10317. description: 总预付款
  10318. type: number
  10319. colorrange:
  10320. description: 颜色范围
  10321. type: string
  10322. companynamecn:
  10323. description: 收货人(中文)
  10324. type: string
  10325. companynameen:
  10326. description: 收货人(英文)
  10327. type: string
  10328. contactfax:
  10329. description: 收货人传真
  10330. type: string
  10331. contactname:
  10332. description: 收货人姓名
  10333. type: string
  10334. contactphoneno:
  10335. description: 收货人电话
  10336. type: string
  10337. contentrange:
  10338. description: 【内容】内容范围
  10339. type: string
  10340. createtime:
  10341. description: 创建时间
  10342. type: string
  10343. executestatus:
  10344. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10345. type: integer
  10346. gzbsdeliverytype:
  10347. description: 收货方式 - 枚举"GZBSDeliveryType"
  10348. type: integer
  10349. gzbsstatus:
  10350. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10351. type: integer
  10352. gzbsstatusdisplay:
  10353. description: 单据状态
  10354. type: string
  10355. handlestatus:
  10356. description: 处理状态
  10357. type: integer
  10358. orderdate:
  10359. description: 单据日期
  10360. type: string
  10361. orderid:
  10362. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10363. type: integer
  10364. orderno:
  10365. description: 单据编号 - GZDEBSFW+单据流水号
  10366. type: string
  10367. ordersn:
  10368. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10369. type: string
  10370. origincountry:
  10371. description: 原产国
  10372. type: string
  10373. otherlogistics:
  10374. description: 指定其它物流
  10375. type: string
  10376. priceper:
  10377. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10378. type: number
  10379. settleamount:
  10380. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10381. type: number
  10382. shaperange:
  10383. description: 形状范围
  10384. type: string
  10385. taxmargin:
  10386. description: 税费保证金 - 确认结算费用时退回
  10387. type: number
  10388. totalamount:
  10389. description: 总值(美元)
  10390. type: number
  10391. totalgrossweightgm:
  10392. description: 总毛重(克)
  10393. type: number
  10394. totalnetweightgm:
  10395. description: 总净重(克)
  10396. type: number
  10397. totalnetweigthct:
  10398. description: 总净重(克拉)
  10399. type: number
  10400. totalnumber:
  10401. description: 总粒数
  10402. type: integer
  10403. userid:
  10404. description: 用户ID
  10405. type: integer
  10406. weightrange:
  10407. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10408. type: string
  10409. required:
  10410. - userid
  10411. type: object
  10412. models.GzbsfworderdetailM:
  10413. properties:
  10414. colorinfo:
  10415. description: 彩钻信息
  10416. type: string
  10417. createtime:
  10418. description: 创建时间
  10419. type: string
  10420. grossweightgm:
  10421. description: 毛重(克)
  10422. type: number
  10423. gzcjshape:
  10424. description: 形状(字符)
  10425. type: string
  10426. netweigthct:
  10427. description: 净重(克拉)
  10428. type: number
  10429. netweigthgm:
  10430. description: 净重(克)
  10431. type: number
  10432. ordercontent:
  10433. description: 内容
  10434. type: string
  10435. orderdetailid:
  10436. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10437. type: integer
  10438. orderid:
  10439. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10440. type: integer
  10441. orderindex:
  10442. description: 顺序
  10443. type: integer
  10444. perprice:
  10445. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10446. type: number
  10447. remark:
  10448. description: 备注(其它)
  10449. type: string
  10450. totalamount:
  10451. description: 总值(美元)
  10452. type: number
  10453. type: object
  10454. models.Gzbsfworderoperate:
  10455. properties:
  10456. advanceproofaddr:
  10457. description: 预付款收款凭证(确认结算费用时)
  10458. type: string
  10459. bankfee:
  10460. description: 汇款银行手续费
  10461. type: number
  10462. bankproofaddr:
  10463. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10464. type: string
  10465. customsproofaddr:
  10466. description: 海关税费保证金收据(确认结算费用时)
  10467. type: string
  10468. gzbsstatus:
  10469. description: 操作后单据状态 - 枚举"GZBSStatus"
  10470. type: integer
  10471. logisticsfee:
  10472. description: 代缴物流保险费
  10473. type: number
  10474. logisticsproofaddr:
  10475. description: 代缴物流保险费凭证(确认结算费用时)
  10476. type: string
  10477. operatetime:
  10478. description: 操作时间
  10479. type: string
  10480. operatoraccount:
  10481. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10482. type: string
  10483. operatorid:
  10484. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10485. type: integer
  10486. operatorname:
  10487. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10488. type: string
  10489. operatorsrc:
  10490. description: 操作人来源 - 1:管理端 2:终端
  10491. type: integer
  10492. orderid:
  10493. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10494. type: integer
  10495. otherfee:
  10496. description: 其它费用
  10497. type: number
  10498. remark:
  10499. description: 操作备注
  10500. type: string
  10501. servicefee:
  10502. description: 综合服务费
  10503. type: number
  10504. taxmargin:
  10505. description: 税费保证金
  10506. type: number
  10507. totalfee:
  10508. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10509. type: number
  10510. required:
  10511. - orderid
  10512. type: object
  10513. models.Gzcertaddressconfig:
  10514. properties:
  10515. certregion:
  10516. description: 证书地域 - 1:国内 2:国际
  10517. type: integer
  10518. certtype:
  10519. description: 证书类型
  10520. type: string
  10521. orderindex:
  10522. description: 显示顺序
  10523. type: integer
  10524. orgcnname:
  10525. description: 机构名称(中文)
  10526. type: string
  10527. orgenname:
  10528. description: 机构名称(英文)
  10529. type: string
  10530. queryaddress:
  10531. description: 查询地址
  10532. type: string
  10533. remark:
  10534. description: 备注
  10535. type: string
  10536. updatetime:
  10537. description: 更新时间
  10538. type: string
  10539. type: object
  10540. models.Gzcertaddressparam:
  10541. properties:
  10542. certtype:
  10543. description: 证书类型
  10544. type: string
  10545. orderindex:
  10546. description: 参数顺序
  10547. type: integer
  10548. paramkey:
  10549. description: 参数Key
  10550. type: string
  10551. paramname:
  10552. description: 参数名称
  10553. type: string
  10554. updatetime:
  10555. description: 更新时间
  10556. type: string
  10557. type: object
  10558. models.GzcjbsorderfileM:
  10559. properties:
  10560. canmembervisit:
  10561. description: 会员是否可访问 - 1:可 2:不可
  10562. type: integer
  10563. fileaddress:
  10564. description: 文件地址
  10565. type: string
  10566. filegentype:
  10567. description: 文件生成类型 - 1:系统生成 2:手动上传
  10568. type: integer
  10569. filename:
  10570. description: 文件名称
  10571. type: string
  10572. operatetime:
  10573. description: 操作时间
  10574. type: string
  10575. operatoraccount:
  10576. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10577. type: string
  10578. operatorid:
  10579. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10580. type: integer
  10581. operatorsrc:
  10582. description: 操作人来源 - 1:管理端 2:终端
  10583. type: integer
  10584. orderfileid:
  10585. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10586. type: integer
  10587. orderid:
  10588. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10589. type: integer
  10590. required:
  10591. - orderid
  10592. type: object
  10593. models.GzcjjcorderM:
  10594. properties:
  10595. accountid:
  10596. description: 资金账户ID
  10597. type: integer
  10598. addresscn:
  10599. description: 地址(中文)
  10600. type: string
  10601. addressen:
  10602. description: 地址(英文)
  10603. type: string
  10604. advanceamount:
  10605. description: 总预付款
  10606. type: number
  10607. colorrange:
  10608. description: 颜色范围
  10609. type: string
  10610. companynamecn:
  10611. description: 公司名称(中文)
  10612. type: string
  10613. companynameen:
  10614. description: 公司名称(英文)
  10615. type: string
  10616. contactname:
  10617. description: 联系人姓名
  10618. type: string
  10619. contactphoneno:
  10620. description: 联系人电话
  10621. type: string
  10622. contactposition:
  10623. description: 联系人职位
  10624. type: string
  10625. createtime:
  10626. description: 创建时间
  10627. type: string
  10628. email:
  10629. description: 邮箱
  10630. type: string
  10631. executestatus:
  10632. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10633. type: integer
  10634. gzcjaccount:
  10635. description: 送检账户
  10636. type: string
  10637. gzcjaccounttype:
  10638. description: 检测账户类型 - 枚举"GZCJAccountType"
  10639. type: integer
  10640. gzcjcategorytype:
  10641. description: 货物品类 - 枚举"GZCJCategoryType"
  10642. type: integer
  10643. gzcjcategorytypedisplay:
  10644. description: 货物品类
  10645. type: string
  10646. gzcjdeliverytype:
  10647. description: 收货方式 - 枚举"GZCJDeliveryType"
  10648. type: integer
  10649. gzcjdeliverytypedisplay:
  10650. description: 收货方式
  10651. type: string
  10652. gzcjstatus:
  10653. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10654. type: integer
  10655. gzcjstatusdisplay:
  10656. description: 单据状态(出境检测)
  10657. type: string
  10658. handlestatus:
  10659. description: 处理状态
  10660. type: integer
  10661. invoiceremark:
  10662. description: 复核备注 - 发票装箱单使用
  10663. type: string
  10664. orderid:
  10665. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10666. type: integer
  10667. orderno:
  10668. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10669. type: string
  10670. ordersn:
  10671. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10672. type: string
  10673. origincountry:
  10674. description: 原产国
  10675. type: string
  10676. processingcountry:
  10677. description: 成品钻石加工国
  10678. type: string
  10679. realservicefee:
  10680. description: 应收综合服务费
  10681. type: number
  10682. servicefeesum:
  10683. description: 汇总综合服务费 - 明细上值汇总
  10684. type: number
  10685. settleamount:
  10686. description: 总结算费用
  10687. type: number
  10688. shaperange:
  10689. description: 形状范围
  10690. type: string
  10691. totalamount:
  10692. description: 总金额(美元)
  10693. type: number
  10694. totalgrossweight:
  10695. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10696. * 200
  10697. type: number
  10698. totalnumber:
  10699. description: 总粒数
  10700. type: integer
  10701. totalweight:
  10702. description: 总克拉数(保留3位小数)
  10703. type: number
  10704. totalweightgm:
  10705. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10706. type: number
  10707. userid:
  10708. description: 用户ID
  10709. type: integer
  10710. weightrange:
  10711. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10712. type: string
  10713. zsorigin:
  10714. description: 天然钻石毛坯原产地
  10715. type: string
  10716. required:
  10717. - userid
  10718. type: object
  10719. models.GzcjjcorderdetailM:
  10720. properties:
  10721. amount:
  10722. description: 参考货值(USD)
  10723. type: number
  10724. colorinfo:
  10725. description: 彩钻信息
  10726. type: string
  10727. createtime:
  10728. description: 创建时间
  10729. type: string
  10730. gzcjmarktype:
  10731. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10732. type: integer
  10733. gzcjpublishtype:
  10734. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10735. type: integer
  10736. gzcjpublishtypestring:
  10737. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10738. type: string
  10739. gzcjservicetype:
  10740. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10741. type: integer
  10742. gzcjservicetypestring:
  10743. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10744. type: string
  10745. gzcjshapetype:
  10746. description: 形状 - 枚举"GZCJShapeType"
  10747. type: integer
  10748. gzcjshapetypestring:
  10749. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10750. type: string
  10751. gzno:
  10752. description: 货物编号
  10753. type: string
  10754. orderdetailid:
  10755. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10756. type: integer
  10757. orderid:
  10758. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10759. type: integer
  10760. orderindex:
  10761. description: 顺序
  10762. type: integer
  10763. origincertno:
  10764. description: 原证书号【送检账户为“广钻账户”】
  10765. type: string
  10766. remark:
  10767. description: 备注(其它)
  10768. type: string
  10769. servicefee:
  10770. description: 综合服务费 - 根据市场配置计算
  10771. type: number
  10772. weight:
  10773. description: 重量(CT)
  10774. type: number
  10775. type: object
  10776. models.Gzrapaportprice:
  10777. properties:
  10778. dollar:
  10779. description: 美元
  10780. type: string
  10781. rmb:
  10782. description: 人民币
  10783. type: string
  10784. type: object
  10785. models.Hedgeinnerholderdetail:
  10786. properties:
  10787. accountid:
  10788. description: 账号ID
  10789. type: integer
  10790. buyorsell:
  10791. description: 方向 - 0:买 1:卖
  10792. type: integer
  10793. freezeqty:
  10794. description: 冻结数量 - 按单平使用
  10795. type: integer
  10796. goodsid:
  10797. description: 商品ID
  10798. type: integer
  10799. holderamount:
  10800. description: 持仓金额 [商品币种]
  10801. type: number
  10802. holderdays:
  10803. description: 剩余冻结天数
  10804. type: integer
  10805. holderprice:
  10806. description: 持仓价格
  10807. type: number
  10808. holderqty:
  10809. description: 持仓数量
  10810. type: integer
  10811. marketid:
  10812. description: 市场ID
  10813. type: integer
  10814. openprice:
  10815. description: 建仓价格
  10816. type: number
  10817. openqty:
  10818. description: 建仓数量
  10819. type: integer
  10820. parentaccountid:
  10821. description: 所属母账户
  10822. type: integer
  10823. releaseamount:
  10824. description: 释放持仓金额[商品币种]
  10825. type: number
  10826. tradeamount:
  10827. description: 成交金额[账户]
  10828. type: number
  10829. tradedate:
  10830. description: 交易日(yyyyMMdd)
  10831. type: string
  10832. tradeid:
  10833. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10834. type: string
  10835. tradetime:
  10836. description: 交易时间
  10837. type: string
  10838. required:
  10839. - buyorsell
  10840. - tradeid
  10841. type: object
  10842. models.Hedgemarketopenlog:
  10843. properties:
  10844. accountid:
  10845. description: 资金账号[外部母账户]
  10846. type: integer
  10847. fcname:
  10848. description: 期货公司名称
  10849. type: string
  10850. handlestatus:
  10851. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10852. type: integer
  10853. marketid:
  10854. description: 市场ID
  10855. type: integer
  10856. status:
  10857. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10858. type: integer
  10859. tradedate:
  10860. description: 交易日(yyyyMMdd)
  10861. type: string
  10862. updatetime:
  10863. description: 更新时间
  10864. type: string
  10865. required:
  10866. - accountid
  10867. type: object
  10868. models.InternalEnableTradeDetail:
  10869. properties:
  10870. agreeunit:
  10871. description: 合约乘数
  10872. type: number
  10873. areauserid:
  10874. description: 企业ID
  10875. type: integer
  10876. convertratio:
  10877. description: 品种系数
  10878. type: number
  10879. deliverygoodscode:
  10880. description: 现货品种代码
  10881. type: string
  10882. deliverygoodsid:
  10883. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10884. type: integer
  10885. deliverygoodsname:
  10886. description: 现货品种名称
  10887. type: string
  10888. futurehedgeqty:
  10889. description: '[已关联数量]期货持仓套期量'
  10890. type: number
  10891. goodsid:
  10892. description: 期货合约ID
  10893. type: integer
  10894. hedgeditemid:
  10895. description: 被套期项目ID
  10896. type: string
  10897. hedgeditemnum:
  10898. description: 项目编号
  10899. type: string
  10900. tradeuserid:
  10901. description: 交易用户ID
  10902. type: integer
  10903. unexehedgeqty:
  10904. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10905. type: number
  10906. unexespotqty:
  10907. description: 未执行现货量
  10908. type: number
  10909. wrstandardcode:
  10910. description: 现货品类代码
  10911. type: string
  10912. wrstandardid:
  10913. description: 现货品类ID(SEQ_WRSTANDARD)
  10914. type: integer
  10915. wrstandardname:
  10916. description: 现货品类名称
  10917. type: string
  10918. required:
  10919. - areauserid
  10920. - goodsid
  10921. - tradeuserid
  10922. type: object
  10923. models.InternalUncorrelatedTradeDetail:
  10924. properties:
  10925. accountid:
  10926. description: 账号ID
  10927. type: integer
  10928. accountname:
  10929. description: 套期主体
  10930. type: string
  10931. agreeunit:
  10932. description: 合约乘数
  10933. type: number
  10934. areauserid:
  10935. description: 所属机构
  10936. type: integer
  10937. bizsubjectid:
  10938. description: 归属业务部门ID - SubjectID
  10939. type: integer
  10940. buyorsell:
  10941. description: 方向 - 0:买 1:卖
  10942. type: integer
  10943. channelbuildtype:
  10944. description: 委托单据类型 0:无 1:建仓 2:平仓
  10945. type: integer
  10946. convertratio:
  10947. description: 品种系数
  10948. type: number
  10949. createtime:
  10950. description: 创建时间
  10951. type: string
  10952. creatorid:
  10953. description: 创建人ID
  10954. type: integer
  10955. creatorsrc:
  10956. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10957. type: integer
  10958. enableqty:
  10959. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10960. type: number
  10961. enumdicname:
  10962. description: 单位
  10963. type: string
  10964. goodscode:
  10965. description: 合约代码
  10966. type: string
  10967. goodsgroupid:
  10968. description: 对冲品种ID[期货合约商品组ID]
  10969. type: integer
  10970. goodsid:
  10971. description: 商品ID
  10972. type: integer
  10973. goodsname:
  10974. description: 合约名称
  10975. type: string
  10976. hedgeditemid:
  10977. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10978. type: integer
  10979. hedgeflag:
  10980. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10981. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10982. type: integer
  10983. linkdetailid:
  10984. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10985. type: string
  10986. linkstatus:
  10987. description: 关联状态 - 1:成功 2:失败 3:解绑
  10988. type: integer
  10989. middlegoodsid:
  10990. description: 套保品种ID
  10991. type: integer
  10992. middlegoodsqty:
  10993. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10994. type: number
  10995. relatedlot:
  10996. description: '[数量]关联手数'
  10997. type: number
  10998. relatedmode:
  10999. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11000. type: integer
  11001. relatedqty:
  11002. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11003. type: number
  11004. retcode:
  11005. description: 返回码
  11006. type: integer
  11007. saleuserid:
  11008. description: 业务员ID
  11009. type: integer
  11010. tradedate:
  11011. description: 关联交易日(yyyyMMdd)
  11012. type: string
  11013. tradeid:
  11014. description: 成交单号
  11015. type: string
  11016. tradelot:
  11017. description: 成交手数
  11018. type: integer
  11019. tradeprice:
  11020. description: 成交价
  11021. type: number
  11022. tradetime:
  11023. description: 成交时间
  11024. type: string
  11025. tradetradedate:
  11026. description: 成交交易日(yyyyMMdd)
  11027. type: string
  11028. tradeuserid:
  11029. description: 交易用户ID
  11030. type: integer
  11031. type: object
  11032. models.Loginaccount:
  11033. properties:
  11034. accountname:
  11035. description: 账户名称
  11036. type: string
  11037. canoutin:
  11038. description: 是否可出入金 - 0:不可 1:可
  11039. type: integer
  11040. clientroleid:
  11041. description: 终端角色ID
  11042. type: integer
  11043. haslogined:
  11044. description: 是否已登录 - 0:未登录 1:已登录
  11045. type: integer
  11046. hasupdatedpwd:
  11047. description: 是否已更改密码 - 0:未修改 1:已修改
  11048. type: integer
  11049. lastloginip:
  11050. description: 最新登录地址
  11051. type: string
  11052. lastloginmode:
  11053. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11054. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11055. type: integer
  11056. lastloginremark:
  11057. description: 最新登录描述
  11058. type: string
  11059. lastlogintime:
  11060. description: 最新登录时间
  11061. type: string
  11062. logincode:
  11063. description: 登录代码
  11064. type: string
  11065. loginfailnum:
  11066. description: 连续登录失败次数(登录成功时清零)
  11067. type: integer
  11068. loginid:
  11069. description: 登陆账号
  11070. type: integer
  11071. loginport:
  11072. description: 最新登录端口
  11073. type: integer
  11074. loginstatus:
  11075. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11076. type: integer
  11077. loginusertype:
  11078. description: 登录账号类型 - 1:投资者 2:机构交易员
  11079. type: integer
  11080. mobile:
  11081. description: 手机号码(加密存储)
  11082. type: string
  11083. modifierid:
  11084. description: 修改人
  11085. type: integer
  11086. modifysrc:
  11087. description: 审核来源 - 1:管理端 2:终端
  11088. type: integer
  11089. modifytime:
  11090. description: 修改时间
  11091. type: string
  11092. pwdwrongcount:
  11093. description: 密码错误次数
  11094. type: integer
  11095. relateduserid:
  11096. description: 关联用户ID(机构)
  11097. type: integer
  11098. taaccountrighttype:
  11099. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11100. type: integer
  11101. unfreezetime:
  11102. description: 账户解冻时间
  11103. type: string
  11104. userid:
  11105. description: 用户ID
  11106. type: integer
  11107. required:
  11108. - loginid
  11109. type: object
  11110. models.MainAccountInfo:
  11111. properties:
  11112. accountid:
  11113. description: 账号id
  11114. type: integer
  11115. accountname:
  11116. description: 账号名称(taaccount表中的名称)
  11117. type: string
  11118. appid:
  11119. description: AppID
  11120. type: string
  11121. authcode:
  11122. description: 授权码
  11123. type: string
  11124. brokerid:
  11125. description: 经纪商id
  11126. type: string
  11127. fcid:
  11128. description: 期货公司id
  11129. type: integer
  11130. fcname:
  11131. description: 期货公司代码
  11132. type: string
  11133. hedgeaccountcode:
  11134. description: 外部账号代码(主账号登录代码)
  11135. type: string
  11136. hedgeaccountpwd:
  11137. description: 密码
  11138. type: string
  11139. ismain:
  11140. description: 是否主账号
  11141. type: integer
  11142. relateduserid:
  11143. description: 关联用户id
  11144. type: integer
  11145. userid:
  11146. description: 关联用户id
  11147. type: integer
  11148. type: object
  11149. models.Market:
  11150. properties:
  11151. auctionwrtype:
  11152. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11153. type: integer
  11154. canacceptquote:
  11155. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11156. type: integer
  11157. cangoodsexercise:
  11158. description: '[期权]是否可现货行权- 0:否 1:是'
  11159. type: integer
  11160. cangoodsexercisetype:
  11161. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11162. type: integer
  11163. canmanualquotestrike:
  11164. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11165. type: integer
  11166. canmutistage:
  11167. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11168. type: integer
  11169. canpreexercise:
  11170. description: '[期权]是否可预申报- 0:否 1:是'
  11171. type: integer
  11172. clearinterval:
  11173. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11174. type: integer
  11175. contracttmp:
  11176. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11177. type: string
  11178. exchareaid:
  11179. description: 所属交易所,可以没有
  11180. type: integer
  11181. goodstype:
  11182. description: 商品类型 - 1:交易商品 2:仓单商品
  11183. type: integer
  11184. hasrebate:
  11185. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11186. type: integer
  11187. hastradecredit:
  11188. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11189. type: integer
  11190. haswr:
  11191. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11192. type: integer
  11193. isdeductmargin:
  11194. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11195. type: integer
  11196. isrecordsource:
  11197. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11198. type: integer
  11199. isreleasemargin:
  11200. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11201. type: integer
  11202. marginformula:
  11203. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11204. type: integer
  11205. marginformula2:
  11206. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11207. type: integer
  11208. marketid:
  11209. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11210. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11211. type: integer
  11212. marketname:
  11213. description: 市场名称
  11214. type: string
  11215. marketserviceid:
  11216. description: 市场服务ID
  11217. type: integer
  11218. marketstatus:
  11219. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11220. type: integer
  11221. markettype:
  11222. description: 市场类型- 1:非交易服务 2:交易服务
  11223. type: integer
  11224. matchermode:
  11225. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11226. type: integer
  11227. openmethod:
  11228. description: 开盘模式 - 0 自动 1手动
  11229. type: integer
  11230. otcuserid:
  11231. description: 场外期权做市商[场外期权]
  11232. type: integer
  11233. outersynctime:
  11234. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11235. type: string
  11236. pendingflag:
  11237. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11238. type: integer
  11239. pendingtime:
  11240. description: 待开市时间[通道交易-对冲](HH:mm)
  11241. type: string
  11242. performancetempid:
  11243. description: 履约计划模板ID - 作废
  11244. type: integer
  11245. premiumquotemode:
  11246. description: 权利金报价方式 - 1:自动 2:手动
  11247. type: integer
  11248. rebateratio:
  11249. description: 返利比率[竞价式]
  11250. type: number
  11251. reckonorder:
  11252. description: 结算顺序
  11253. type: integer
  11254. reckonpricealgorithm:
  11255. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11256. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11257. type: integer
  11258. reckonpriceparam:
  11259. description: 结算价参数
  11260. type: integer
  11261. reckontime:
  11262. description: 结算时间[通道交易-对冲](HH:mm)
  11263. type: string
  11264. roleprioritytype:
  11265. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11266. type: integer
  11267. selllistingauditflag:
  11268. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11269. type: integer
  11270. trademarkettype:
  11271. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11272. type: integer
  11273. trademode:
  11274. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11275. 21:竞拍-大宗式 22:受托竞价
  11276. type: integer
  11277. tradeproperty:
  11278. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11279. 8:场外期权
  11280. type: integer
  11281. tradetype:
  11282. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11283. type: integer
  11284. required:
  11285. - marketid
  11286. - marketstatus
  11287. - openmethod
  11288. - reckonpricealgorithm
  11289. - trademode
  11290. - tradeproperty
  11291. type: object
  11292. models.Marketcalendar:
  11293. properties:
  11294. holidaydate:
  11295. description: 节假日期(yyyy-MM-dd)
  11296. type: string
  11297. marketid:
  11298. description: 市场ID
  11299. type: integer
  11300. type: object
  11301. models.Marketrun:
  11302. properties:
  11303. afternexttradedate:
  11304. description: 下下交易日
  11305. type: string
  11306. clearquoteflag:
  11307. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11308. type: integer
  11309. lastreckondate:
  11310. description: 最新交易日(结算成功)
  11311. type: string
  11312. machinedate:
  11313. description: 机器时间
  11314. type: string
  11315. manualflag:
  11316. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11317. type: integer
  11318. marketid:
  11319. description: 市场ID
  11320. type: integer
  11321. nexttradedate:
  11322. description: 下一交易日
  11323. type: string
  11324. pretradedate:
  11325. description: 上一交易日
  11326. type: string
  11327. reckonflag:
  11328. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11329. type: integer
  11330. runstatus:
  11331. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11332. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11333. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11334. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11335. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11336. 62.今日免清算
  11337. type: integer
  11338. sectionid:
  11339. description: 时间段号[多时段时用]
  11340. type: integer
  11341. tradedate:
  11342. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11343. type: string
  11344. tradedate2:
  11345. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11346. type: string
  11347. updatetime:
  11348. description: 更新时间
  11349. type: string
  11350. required:
  11351. - marketid
  11352. - nexttradedate
  11353. - reckonflag
  11354. - runstatus
  11355. - tradedate
  11356. - tradedate2
  11357. type: object
  11358. models.Messageboard:
  11359. properties:
  11360. contactnum:
  11361. description: 联系电话
  11362. type: string
  11363. createtime:
  11364. description: 创建时间
  11365. type: string
  11366. message:
  11367. description: 留言信息
  11368. type: string
  11369. messageboardid:
  11370. description: 留言簿ID(SEQ_MessageBoard)
  11371. type: integer
  11372. userid:
  11373. description: 用户ID
  11374. type: integer
  11375. required:
  11376. - messageboardid
  11377. type: object
  11378. models.MyBargainApply:
  11379. properties:
  11380. accountid:
  11381. description: 摘牌资金账号
  11382. type: integer
  11383. applyprice:
  11384. description: 申请价格
  11385. type: string
  11386. applyremark:
  11387. description: 申请备注
  11388. type: string
  11389. applystatus:
  11390. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11391. type: integer
  11392. applytime:
  11393. description: 申请时间
  11394. type: string
  11395. buyorsell:
  11396. description: 买卖 - 0:买 1:卖
  11397. type: integer
  11398. buyusername:
  11399. description: 买方
  11400. type: string
  11401. confirmprice:
  11402. description: 可接受价格(拒绝时填写)-作废
  11403. type: number
  11404. confirmqty:
  11405. description: 可接受数量(拒绝时填写)-作废
  11406. type: integer
  11407. confirmremark:
  11408. description: 确认备注
  11409. type: string
  11410. confirmtime:
  11411. description: 确认时间
  11412. type: string
  11413. confirmuserid:
  11414. description: 确认人
  11415. type: integer
  11416. goodsno:
  11417. description: 商品编号
  11418. type: string
  11419. handlestatus:
  11420. description: 处理状态
  11421. type: integer
  11422. ladingbillid:
  11423. description: 摘牌方提单ID [卖]
  11424. type: integer
  11425. marketid:
  11426. description: 市场ID
  11427. type: integer
  11428. matchaccountid:
  11429. description: 挂牌方资金账号
  11430. type: integer
  11431. matchuserid:
  11432. description: 挂牌方用户ID
  11433. type: integer
  11434. performancetemplateid:
  11435. description: 履约计划模板ID
  11436. type: integer
  11437. price:
  11438. description: 价格
  11439. type: number
  11440. priceper:
  11441. description: 克拉单价 - 类型:1,2,3,5
  11442. type: string
  11443. qty:
  11444. description: 申请数量
  11445. type: number
  11446. refprice:
  11447. description: 参考价格
  11448. type: string
  11449. retcode:
  11450. description: 委托返回代码
  11451. type: integer
  11452. sellusername:
  11453. description: 卖方
  11454. type: string
  11455. sizedisplay:
  11456. description: 尺寸
  11457. type: string
  11458. subnum:
  11459. description: 摘牌方提单子单号 [卖]
  11460. type: integer
  11461. tradedate:
  11462. description: 交易日(yyyyMMdd)
  11463. type: string
  11464. userid:
  11465. description: 摘牌人用户ID
  11466. type: integer
  11467. warehousenamedisplay:
  11468. type: string
  11469. wrbargainid:
  11470. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  11471. type: string
  11472. wrtradeorderid:
  11473. description: 关联委托单ID
  11474. type: string
  11475. zscerttypedisplay:
  11476. type: string
  11477. zsclaritytype1display:
  11478. type: string
  11479. zsclaritytype2display:
  11480. type: string
  11481. zscolortype1display:
  11482. type: string
  11483. zscolortype2display:
  11484. type: string
  11485. zscrystaltypedisplay:
  11486. type: string
  11487. zscurrencytypedisplay:
  11488. type: string
  11489. zscurrencytypedisplayunit:
  11490. type: string
  11491. zscuttype1display:
  11492. type: string
  11493. zscuttype2display:
  11494. type: string
  11495. zsczcolor1typedisplay:
  11496. type: string
  11497. zsczcolor2typedisplay:
  11498. type: string
  11499. zsczcolor3typedisplay:
  11500. type: string
  11501. zsfluorescencetype1display:
  11502. type: string
  11503. zsfluorescencetype2display:
  11504. type: string
  11505. zspolishtype1display:
  11506. type: string
  11507. zspolishtype2display:
  11508. type: string
  11509. zsshapetypedisplay:
  11510. type: string
  11511. zsstyletypedisplay:
  11512. type: string
  11513. zssymmetrytype1display:
  11514. type: string
  11515. zssymmetrytype2display:
  11516. type: string
  11517. required:
  11518. - userid
  11519. type: object
  11520. models.MyBuyOrder:
  11521. properties:
  11522. accountid:
  11523. description: 资金账户ID
  11524. type: integer
  11525. marketid:
  11526. description: 市场ID
  11527. type: integer
  11528. ordertime:
  11529. description: 委托时间
  11530. type: string
  11531. origin:
  11532. description: 原产地
  11533. type: string
  11534. performancetemplateid:
  11535. description: 履约计划模板ID
  11536. type: integer
  11537. remark:
  11538. description: 备注
  11539. type: string
  11540. userid:
  11541. description: 用户ID
  11542. type: integer
  11543. validtime:
  11544. description: 有效期限
  11545. type: string
  11546. warehouseids:
  11547. description: 仓库ID - 多个, 逗号分隔
  11548. type: string
  11549. warehouseinfosdisplay:
  11550. type: string
  11551. wrtradeorderid:
  11552. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  11553. type: string
  11554. wrtradeorderstatus:
  11555. 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、
  11556. type: integer
  11557. zscategory:
  11558. description: 钻石分类 - 枚举”ZSCategory“
  11559. type: integer
  11560. zscategorydisplay:
  11561. type: string
  11562. zsclaritytype:
  11563. description: 净度 - 两个, 逗号分隔
  11564. type: string
  11565. zsclaritytypedisplay:
  11566. type: string
  11567. zscolortype:
  11568. description: 颜色 - 两个, 逗号分隔
  11569. type: string
  11570. zscolortypedisplay:
  11571. type: string
  11572. zscrystaltype:
  11573. description: 晶型 - 多个,逗号分隔
  11574. type: string
  11575. zscrystaltypedisplay:
  11576. type: string
  11577. zscurrencytype:
  11578. description: 货币类型 - 多个, 逗号分隔
  11579. type: string
  11580. zscurrencytypedisplay:
  11581. type: string
  11582. zscuttype:
  11583. description: 切工 - 两个, 逗号分隔
  11584. type: string
  11585. zscuttypedisplay:
  11586. type: string
  11587. zsczcolor1type:
  11588. description: 彩钻颜色1, 逗号分隔
  11589. type: string
  11590. zsczcolor1typedisplay:
  11591. type: string
  11592. zsczcolor2type:
  11593. description: 彩钻颜色2, 逗号分隔
  11594. type: string
  11595. zsczcolor2typedisplay:
  11596. type: string
  11597. zsczcolor3type:
  11598. description: 彩钻颜色3, 逗号分隔
  11599. type: string
  11600. zsczcolor3typedisplay:
  11601. type: string
  11602. zsfluorescencetype:
  11603. description: 荧光 - 多个, 逗号分隔
  11604. type: string
  11605. zsfluorescencetypedisplay:
  11606. type: string
  11607. zspolishtype:
  11608. description: 抛光度 - 两个, 逗号分隔
  11609. type: string
  11610. zspolishtypedisplay:
  11611. type: string
  11612. zsshapetype:
  11613. description: 形状 - 多个, 逗号分隔
  11614. type: string
  11615. zsshapetypedisplay:
  11616. type: string
  11617. zssize:
  11618. description: 尺寸 - 两个小数, 逗号分隔
  11619. type: string
  11620. zsstyletype:
  11621. description: 款式 - 多个, 逗号分隔
  11622. type: string
  11623. zsstyletypedisplay:
  11624. type: string
  11625. zssymmetrytype:
  11626. description: 对称度 - 两个, 逗号分隔
  11627. type: string
  11628. zssymmetrytypedisplay:
  11629. type: string
  11630. zstabledisplay:
  11631. description: 求购信息
  11632. type: string
  11633. required:
  11634. - userid
  11635. type: object
  11636. models.MyDeListing:
  11637. properties:
  11638. buyaccountid:
  11639. description: 买方账号ID
  11640. type: integer
  11641. buychargevalue:
  11642. description: 买方手续费
  11643. type: number
  11644. buyuserid:
  11645. description: 买方用户ID
  11646. type: integer
  11647. deliverygoodsid:
  11648. description: 现货品种ID
  11649. type: integer
  11650. exchangerate:
  11651. description: 汇率
  11652. type: number
  11653. goodsno:
  11654. description: 商品编号
  11655. type: string
  11656. marketid:
  11657. description: 市场ID
  11658. type: integer
  11659. matchusername:
  11660. description: 对手方
  11661. type: string
  11662. oritradeamount:
  11663. description: 成交金额[商品币种]
  11664. type: number
  11665. performanceplanid:
  11666. description: 履约计划ID/合同ID
  11667. type: string
  11668. price:
  11669. description: 价格
  11670. type: number
  11671. qty:
  11672. description: 成交重量
  11673. type: number
  11674. sellaccountid:
  11675. description: 卖方账号ID
  11676. type: integer
  11677. sellchargevalue:
  11678. description: 卖方手续费
  11679. type: number
  11680. selluserid:
  11681. description: 卖方用户ID
  11682. type: integer
  11683. sizedisplay:
  11684. description: 尺寸
  11685. type: string
  11686. tradeamount:
  11687. description: 成交金额
  11688. type: number
  11689. tradedate:
  11690. description: 交易日(yyyyMMdd)
  11691. type: string
  11692. tradeprice:
  11693. description: 成交价格
  11694. type: number
  11695. tradetime:
  11696. description: 成交时间
  11697. type: string
  11698. userid:
  11699. description: 用户ID
  11700. type: integer
  11701. warehousenamedisplay:
  11702. type: string
  11703. wrfactortypeid:
  11704. description: 仓单要素类型ID
  11705. type: integer
  11706. wrstandardid:
  11707. description: 现货商品ID
  11708. type: integer
  11709. wrtradedetailid:
  11710. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11711. type: string
  11712. zscategory:
  11713. description: 钻石分类 - 枚举”ZSCategory“
  11714. type: integer
  11715. zscategorydisplay:
  11716. type: string
  11717. zscerttypedisplay:
  11718. type: string
  11719. zsclaritytype1display:
  11720. type: string
  11721. zsclaritytype2display:
  11722. type: string
  11723. zscolortype1display:
  11724. type: string
  11725. zscolortype2display:
  11726. type: string
  11727. zscrystaltypedisplay:
  11728. type: string
  11729. zscurrencytype:
  11730. description: 货币类型 - 枚举“ZSCurrencyType”
  11731. type: integer
  11732. zscurrencytypedisplay:
  11733. type: string
  11734. zscurrencytypedisplayunit:
  11735. type: string
  11736. zscuttype1display:
  11737. type: string
  11738. zscuttype2display:
  11739. type: string
  11740. zsczcolor1typedisplay:
  11741. type: string
  11742. zsczcolor2typedisplay:
  11743. type: string
  11744. zsczcolor3typedisplay:
  11745. type: string
  11746. zsfluorescencetype1display:
  11747. type: string
  11748. zsfluorescencetype2display:
  11749. type: string
  11750. zspolishtype1display:
  11751. type: string
  11752. zspolishtype2display:
  11753. type: string
  11754. zsshapetypedisplay:
  11755. type: string
  11756. zsstyletypedisplay:
  11757. type: string
  11758. zssymmetrytype1display:
  11759. type: string
  11760. zssymmetrytype2display:
  11761. type: string
  11762. required:
  11763. - userid
  11764. type: object
  11765. models.MyDelistingApply:
  11766. properties:
  11767. applyprice:
  11768. description: 申请价格
  11769. type: number
  11770. applyqty:
  11771. description: 申请数量
  11772. type: number
  11773. applyremark:
  11774. description: 申请备注
  11775. type: string
  11776. applystatus:
  11777. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11778. type: integer
  11779. applytime:
  11780. description: 申请时间
  11781. type: string
  11782. auditremark:
  11783. description: 确认备注
  11784. type: string
  11785. audittime:
  11786. description: 确认时间
  11787. type: string
  11788. buyuserid:
  11789. description: 买方用户ID
  11790. type: integer
  11791. buyusername:
  11792. description: 买方
  11793. type: string
  11794. buywrtradeorderid:
  11795. description: 买委托单ID
  11796. type: string
  11797. goodsno:
  11798. description: 商品编号
  11799. type: string
  11800. ladingbillid:
  11801. description: 卖方提单ID
  11802. type: string
  11803. marketid:
  11804. description: 市场ID
  11805. type: integer
  11806. performancetemplateid:
  11807. description: 履约计划模板ID
  11808. type: integer
  11809. price:
  11810. description: 价格
  11811. type: number
  11812. sellaccountid:
  11813. description: 卖方账户ID
  11814. type: integer
  11815. selldelistingapplyid:
  11816. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11817. type: string
  11818. selltradeorderid:
  11819. description: 卖方委托ID(买方确认成交后更新)
  11820. type: string
  11821. selluserid:
  11822. description: 卖方用户ID
  11823. type: integer
  11824. sellusername:
  11825. description: 卖方
  11826. type: string
  11827. sizedisplay:
  11828. description: 尺寸
  11829. type: string
  11830. subnum:
  11831. description: 卖方提单子单号
  11832. type: integer
  11833. warehouseinfosdisplay:
  11834. type: string
  11835. weight:
  11836. description: 克拉重量
  11837. type: number
  11838. wrfactortypeid:
  11839. description: 仓单要素类型ID
  11840. type: string
  11841. wrstandardid:
  11842. description: 现货商品ID
  11843. type: integer
  11844. zsallproperties:
  11845. type: string
  11846. zscategorydisplay:
  11847. type: string
  11848. zsclaritytypedisplay:
  11849. type: string
  11850. zscolortypedisplay:
  11851. type: string
  11852. zscrystaltypedisplay:
  11853. type: string
  11854. zscurrencytypedisplay:
  11855. type: string
  11856. zscurrencytypedisplayunit:
  11857. description: 价格单位
  11858. type: string
  11859. zscuttypedisplay:
  11860. type: string
  11861. zsczcolor1typedisplay:
  11862. type: string
  11863. zsczcolor2typedisplay:
  11864. type: string
  11865. zsczcolor3typedisplay:
  11866. type: string
  11867. zsfluorescencetypedisplay:
  11868. type: string
  11869. zspolishtypedisplay:
  11870. type: string
  11871. zsshapetypedisplay:
  11872. type: string
  11873. zssizedisplay:
  11874. type: string
  11875. zsstyletypedisplay:
  11876. type: string
  11877. zssymmetrytypedisplay:
  11878. type: string
  11879. zstabledisplay:
  11880. type: string
  11881. required:
  11882. - selluserid
  11883. type: object
  11884. models.MyFavorite:
  11885. properties:
  11886. accountname:
  11887. description: 账户名称(机构名称)
  11888. type: string
  11889. buyorsell:
  11890. description: 买卖 - 0:买 1:卖
  11891. type: integer
  11892. favoritestatus:
  11893. description: 收藏状态 - 1:正常 2:失效
  11894. type: integer
  11895. goodsno:
  11896. description: 商品编号
  11897. type: string
  11898. marketid:
  11899. description: 市场ID
  11900. type: integer
  11901. marketprice:
  11902. description: 市场价
  11903. type: string
  11904. price:
  11905. description: 价格
  11906. type: number
  11907. priceper:
  11908. description: 克拉单价
  11909. type: string
  11910. sellusername:
  11911. description: 卖家
  11912. type: string
  11913. sizedisplay:
  11914. description: 尺寸
  11915. type: string
  11916. userid:
  11917. description: 用户ID
  11918. type: integer
  11919. warehousenamedisplay:
  11920. description: 仓库名称
  11921. type: string
  11922. weight:
  11923. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11924. type: number
  11925. weightavg:
  11926. description: 平均单颗重量 - 类型:1,3
  11927. type: number
  11928. wrfactortypeid:
  11929. description: 仓单要素类型ID/商品ID(77)
  11930. type: string
  11931. wrstandardid:
  11932. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11933. type: integer
  11934. wrtradeorderid:
  11935. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11936. type: string
  11937. zscategory:
  11938. description: 钻石分类 - 枚举”ZSCategory“
  11939. type: integer
  11940. zscategorydisplay:
  11941. type: string
  11942. zscerttypedisplay:
  11943. type: string
  11944. zsclaritytype1display:
  11945. type: string
  11946. zsclaritytype2display:
  11947. type: string
  11948. zscolortype1display:
  11949. type: string
  11950. zscolortype2display:
  11951. type: string
  11952. zscrystaltypedisplay:
  11953. type: string
  11954. zscurrencytypedisplay:
  11955. type: string
  11956. zscurrencytypedisplayunit:
  11957. type: string
  11958. zscuttype1display:
  11959. type: string
  11960. zscuttype2display:
  11961. type: string
  11962. zsczcolor1typedisplay:
  11963. type: string
  11964. zsczcolor2typedisplay:
  11965. type: string
  11966. zsczcolor3typedisplay:
  11967. type: string
  11968. zsfluorescencetype1display:
  11969. type: string
  11970. zsfluorescencetype2display:
  11971. type: string
  11972. zspolishtype1display:
  11973. type: string
  11974. zspolishtype2display:
  11975. type: string
  11976. zsshapetypedisplay:
  11977. type: string
  11978. zsstyletypedisplay:
  11979. type: string
  11980. zssymmetrytype1display:
  11981. type: string
  11982. zssymmetrytype2display:
  11983. type: string
  11984. required:
  11985. - userid
  11986. type: object
  11987. models.MyPerformanc:
  11988. properties:
  11989. accountname:
  11990. description: '[对手方]账户名称(机构名称)'
  11991. type: string
  11992. amount:
  11993. description: 履约金额
  11994. type: number
  11995. buyaccountid:
  11996. description: 买方账号
  11997. type: integer
  11998. buyerfreezeamount:
  11999. description: 买方履约前冻结资金
  12000. type: number
  12001. buyerfreezeamountremain:
  12002. description: 买方履约前冻结资金剩余
  12003. type: number
  12004. buyerinfo:
  12005. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  12006. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  12007. type: string
  12008. buyorsell:
  12009. description: 方向 - 0:买 1:卖
  12010. type: integer
  12011. buypaidamount:
  12012. description: 买方已冻/已扣金额
  12013. type: number
  12014. buytodayamount:
  12015. description: 买方今日扣/冻金额 (待开市时清零)
  12016. type: number
  12017. curstepid:
  12018. description: 当前步骤ID
  12019. type: string
  12020. goodsno:
  12021. description: 商品编号
  12022. type: string
  12023. overshortamount:
  12024. description: 溢短金额
  12025. type: number
  12026. paymenttype:
  12027. description: 买方支付方式 - 1:冻结 2:扣款
  12028. type: integer
  12029. performanceplanid:
  12030. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  12031. type: string
  12032. performancestatus:
  12033. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  12034. 9:超时待处理 10:超时关闭
  12035. type: integer
  12036. price:
  12037. description: 价格
  12038. type: number
  12039. priceper:
  12040. description: 克拉单价
  12041. type: string
  12042. relatedorderid:
  12043. description: 关联单号(履约类型的关联单号)
  12044. type: string
  12045. remaindays:
  12046. description: 剩余天数
  12047. type: integer
  12048. sellerfreezeamount:
  12049. description: 卖方履约前冻结资金
  12050. type: number
  12051. sellerfreezeamountremain:
  12052. description: 卖方履约前冻结资金剩余
  12053. type: number
  12054. sellerinfo:
  12055. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  12056. "xxxxxxxx"}'
  12057. type: string
  12058. sellreceivedamount:
  12059. description: 卖方已收金额
  12060. type: number
  12061. selltodayamount:
  12062. description: 卖方今日收取金额(待开市时清零)
  12063. type: number
  12064. sizedisplay:
  12065. description: 尺寸
  12066. type: string
  12067. steptypeid:
  12068. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  12069. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  12070. type: integer
  12071. warehousenamedisplay:
  12072. type: string
  12073. zscategorydisplay:
  12074. type: string
  12075. zscerttypedisplay:
  12076. type: string
  12077. zsclaritytype1display:
  12078. type: string
  12079. zsclaritytype2display:
  12080. type: string
  12081. zscolortype1display:
  12082. type: string
  12083. zscolortype2display:
  12084. type: string
  12085. zscrystaltypedisplay:
  12086. type: string
  12087. zscurrencytypedisplay:
  12088. type: string
  12089. zscurrencytypedisplayunit:
  12090. type: string
  12091. zscuttype1display:
  12092. type: string
  12093. zscuttype2display:
  12094. type: string
  12095. zsczcolor1typedisplay:
  12096. type: string
  12097. zsczcolor2typedisplay:
  12098. type: string
  12099. zsczcolor3typedisplay:
  12100. type: string
  12101. zsfluorescencetype1display:
  12102. type: string
  12103. zsfluorescencetype2display:
  12104. type: string
  12105. zspolishtype1display:
  12106. type: string
  12107. zspolishtype2display:
  12108. type: string
  12109. zsshapetypedisplay:
  12110. type: string
  12111. zsstyletypedisplay:
  12112. type: string
  12113. zssymmetrytype1display:
  12114. type: string
  12115. zssymmetrytype2display:
  12116. type: string
  12117. type: object
  12118. models.MyRefer:
  12119. properties:
  12120. accountname:
  12121. description: 用户名(脱敏)
  12122. type: string
  12123. createtime:
  12124. description: 时间(yyyy-mm-dd)
  12125. type: string
  12126. score:
  12127. description: 积分
  12128. type: number
  12129. type: object
  12130. models.MySellOrder:
  12131. properties:
  12132. accountid:
  12133. description: 资金账号
  12134. type: integer
  12135. applyid:
  12136. description: 申请单ID
  12137. type: integer
  12138. attachment1:
  12139. description: 附件1
  12140. type: string
  12141. attachment2:
  12142. description: 附件2
  12143. type: string
  12144. buyorsell:
  12145. description: 买卖 - 0:买 1:卖
  12146. type: integer
  12147. canbargain:
  12148. description: 是否可议价 - 0:不可 1:可
  12149. type: integer
  12150. cancelqty:
  12151. description: 撤销数量
  12152. type: integer
  12153. canceltime:
  12154. description: 撤销时间
  12155. type: string
  12156. cerno:
  12157. type: string
  12158. chargealgorithm:
  12159. description: 手续费收取方式 1:比率 2:固定
  12160. type: integer
  12161. chargealgorithmvalue:
  12162. description: 手续费设置值(交易所部分)
  12163. type: number
  12164. chargealgorithmvalue2:
  12165. description: 手续费设置值(会员部分)
  12166. type: number
  12167. clientordertime:
  12168. description: 客户端委托时间
  12169. type: string
  12170. cpcertno:
  12171. type: string
  12172. exchangerate:
  12173. description: 汇率[67]
  12174. type: number
  12175. firstratio:
  12176. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12177. type: number
  12178. fixedprice:
  12179. description: '[克拉单价]固定价格 - [挂牌]'
  12180. type: number
  12181. freezecharge:
  12182. description: 冻结手续费
  12183. type: number
  12184. freezefirstamount:
  12185. description: 冻结首付金额 - [摘牌]
  12186. type: number
  12187. freezemargin:
  12188. description: 冻结保证金
  12189. type: number
  12190. goodsno:
  12191. description: 商品编号
  12192. type: string
  12193. imagepath:
  12194. type: string
  12195. isspecified:
  12196. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12197. type: integer
  12198. kppath:
  12199. type: string
  12200. kpweight:
  12201. type: string
  12202. marginalgorithm:
  12203. description: 保证金方式 - 1:比率 2:固定
  12204. type: integer
  12205. marginvalue:
  12206. description: 保证金设置值
  12207. type: number
  12208. marketid:
  12209. description: 市场ID
  12210. type: integer
  12211. marketprice:
  12212. type: string
  12213. orderamount:
  12214. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12215. type: number
  12216. ordertime:
  12217. description: 委托时间
  12218. type: string
  12219. performancetemplateid:
  12220. description: 履约计划模板ID
  12221. type: integer
  12222. price:
  12223. description: 价格
  12224. type: number
  12225. pricefactor:
  12226. description: 价格系数(浮动价时填写) - [挂牌]
  12227. type: number
  12228. pricemove:
  12229. description: 升贴水(浮动价时填写) - [挂牌]
  12230. type: number
  12231. priceper:
  12232. type: string
  12233. relatedwrtradeorderid:
  12234. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12235. type: integer
  12236. remark:
  12237. type: string
  12238. retcode:
  12239. description: 错误代码
  12240. type: integer
  12241. selledqty:
  12242. description: 成交重量
  12243. type: number
  12244. settingmaterial:
  12245. type: string
  12246. size1:
  12247. type: string
  12248. size2:
  12249. type: string
  12250. size3:
  12251. type: string
  12252. sizedisplay:
  12253. description: 尺寸
  12254. type: string
  12255. stonedesc:
  12256. type: string
  12257. totalqty:
  12258. description: 总重量
  12259. type: number
  12260. tradedate:
  12261. description: 交易日(yyyyMMdd)
  12262. type: string
  12263. tradeprice:
  12264. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12265. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12266. type: number
  12267. unfreezecharge:
  12268. description: 解冻手续费
  12269. type: number
  12270. unfreezefirstamount:
  12271. description: 解冻首付金额 - [摘牌]
  12272. type: number
  12273. unfreezemargin:
  12274. description: 解冻保证金
  12275. type: number
  12276. userid:
  12277. description: 用户ID
  12278. type: integer
  12279. uuid:
  12280. description: 发起端唯一id
  12281. type: string
  12282. validtime:
  12283. description: 有效期限
  12284. type: string
  12285. validtype:
  12286. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12287. type: integer
  12288. warehousenamedisplay:
  12289. type: string
  12290. wrbargainid:
  12291. description: 议价申请单ID
  12292. type: integer
  12293. wrfactortypeid:
  12294. description: 仓单要素类型ID/商品ID(77)
  12295. type: integer
  12296. wrpath:
  12297. type: string
  12298. wrpricetype:
  12299. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12300. type: integer
  12301. wrstandardid:
  12302. description: 现货商品ID
  12303. type: integer
  12304. wrtradeorderid:
  12305. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12306. type: string
  12307. wrtradeorderstatus:
  12308. 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:撤单解冻贷款失败
  12309. type: integer
  12310. wrtradetype:
  12311. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12312. type: integer
  12313. wrtransferuserid:
  12314. description: 仓单受让用户 - [摘牌]
  12315. type: integer
  12316. zscategory:
  12317. description: 钻石分类 - 枚举”ZSCategory“
  12318. type: integer
  12319. zscategorydisplay:
  12320. description: 钻石分类 - 描述
  12321. type: string
  12322. zscerttypedisplay:
  12323. type: string
  12324. zsclaritytype1display:
  12325. type: string
  12326. zsclaritytype2display:
  12327. type: string
  12328. zscolortype1display:
  12329. type: string
  12330. zscolortype2display:
  12331. type: string
  12332. zscrystaltype:
  12333. type: string
  12334. zscrystaltypedisplay:
  12335. type: string
  12336. zscurrencytype:
  12337. description: 货币类型 - 枚举“ZSCurrencyType”
  12338. type: integer
  12339. zscurrencytypedisplay:
  12340. type: string
  12341. zscurrencytypedisplayunit:
  12342. type: string
  12343. zscuttype1display:
  12344. type: string
  12345. zscuttype2display:
  12346. type: string
  12347. zsczcolor1typedisplay:
  12348. type: string
  12349. zsczcolor2typedisplay:
  12350. type: string
  12351. zsczcolor3typedisplay:
  12352. type: string
  12353. zsfluorescencetype1display:
  12354. type: string
  12355. zsfluorescencetype2display:
  12356. type: string
  12357. zspolishtype1display:
  12358. type: string
  12359. zspolishtype2display:
  12360. type: string
  12361. zsshapetypedisplay:
  12362. type: string
  12363. zsstyletypedisplay:
  12364. type: string
  12365. zssymmetrytype1display:
  12366. type: string
  12367. zssymmetrytype2display:
  12368. type: string
  12369. required:
  12370. - userid
  12371. type: object
  12372. models.MyWRPosition:
  12373. properties:
  12374. cerno:
  12375. description: 证书编号 - 类型:2,4,5
  12376. type: string
  12377. cpcertno:
  12378. description: 金伯利证书编号 - 类型:3
  12379. type: string
  12380. ffreezeqty:
  12381. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  12382. type: number
  12383. ftotalqty:
  12384. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  12385. type: number
  12386. goodsno:
  12387. description: 商品编号
  12388. type: string
  12389. imagepath:
  12390. description: 商品照片(相对地址)
  12391. type: string
  12392. isvalid:
  12393. description: 是否有效 - 0:无效 1:有效
  12394. type: integer
  12395. kppath:
  12396. description: 金伯利证书图片(相对地址) - 类型:3
  12397. type: string
  12398. kpweight:
  12399. description: 金伯利证书重量 - 类型:3
  12400. type: string
  12401. ladingbillid:
  12402. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  12403. type: string
  12404. marketflag:
  12405. description: 是否上架,0-全部 1-是 2-否
  12406. type: integer
  12407. marketprice:
  12408. description: 市场价
  12409. type: string
  12410. origin:
  12411. description: 原产地 - 类型:3
  12412. type: string
  12413. price:
  12414. description: 总价(价格) - 类型:1,2,3,4,5
  12415. type: number
  12416. priceper:
  12417. description: 克拉单价 - 类型:1,2,3,5
  12418. type: string
  12419. remark:
  12420. description: 备注
  12421. type: string
  12422. sellmobile:
  12423. description: 手机号码(加密存储)
  12424. type: string
  12425. sellusername:
  12426. description: 账户名称(机构名称)
  12427. type: string
  12428. settingmaterial:
  12429. description: 镶嵌材料 - 类型:4
  12430. type: string
  12431. size1:
  12432. description: 尺寸1 - 类型:2,4,5
  12433. type: string
  12434. size2:
  12435. description: 尺寸2 - 类型:2,4,5
  12436. type: string
  12437. size3:
  12438. description: 尺寸3 - 类型:2,4,5
  12439. type: string
  12440. sizedisplay:
  12441. description: 尺寸
  12442. type: string
  12443. stonedesc:
  12444. description: 配石描述 - 类型:4
  12445. type: string
  12446. subnum:
  12447. description: 提单子单号
  12448. type: integer
  12449. userid:
  12450. description: 用户ID
  12451. type: integer
  12452. warehouseid:
  12453. description: 仓库ID
  12454. type: integer
  12455. warehousenamedisplay:
  12456. type: string
  12457. weight:
  12458. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  12459. type: number
  12460. weightavg:
  12461. description: 平均单颗重量 - 类型:1,3
  12462. type: number
  12463. wrpath:
  12464. description: 仓单扫描件(相对地址)
  12465. type: string
  12466. wrstandardid:
  12467. description: 现货商品ID
  12468. type: integer
  12469. wrtradeorderid:
  12470. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12471. type: string
  12472. wruserid:
  12473. description: 登录用户ID
  12474. type: integer
  12475. zscategory:
  12476. description: 钻石分类 - 枚举”ZSCategory“
  12477. type: integer
  12478. zscategorydisplay:
  12479. type: string
  12480. zscerttype:
  12481. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  12482. type: integer
  12483. zscerttypedisplay:
  12484. type: string
  12485. zsclaritytype1:
  12486. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  12487. type: integer
  12488. zsclaritytype1display:
  12489. type: string
  12490. zsclaritytype2:
  12491. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  12492. type: integer
  12493. zsclaritytype2display:
  12494. type: string
  12495. zscolortype1:
  12496. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  12497. type: integer
  12498. zscolortype1display:
  12499. type: string
  12500. zscolortype2:
  12501. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  12502. type: integer
  12503. zscolortype2display:
  12504. type: string
  12505. zscrystaltype:
  12506. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  12507. type: string
  12508. zscrystaltypedisplay:
  12509. type: string
  12510. zscurrencytype:
  12511. description: 货币类型 - 枚举“ZSCurrencyType”
  12512. type: integer
  12513. zscurrencytypedisplay:
  12514. type: string
  12515. zscurrencytypedisplayunit:
  12516. type: string
  12517. zscuttype1:
  12518. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  12519. type: integer
  12520. zscuttype1display:
  12521. type: string
  12522. zscuttype2:
  12523. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  12524. type: integer
  12525. zscuttype2display:
  12526. type: string
  12527. zsczcolor1type:
  12528. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  12529. type: integer
  12530. zsczcolor1typedisplay:
  12531. type: string
  12532. zsczcolor2type:
  12533. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  12534. type: integer
  12535. zsczcolor2typedisplay:
  12536. type: string
  12537. zsczcolor3type:
  12538. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  12539. type: integer
  12540. zsczcolor3typedisplay:
  12541. type: string
  12542. zsfluorescencetype1:
  12543. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  12544. type: integer
  12545. zsfluorescencetype1display:
  12546. type: string
  12547. zsfluorescencetype2:
  12548. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  12549. type: integer
  12550. zsfluorescencetype2display:
  12551. type: string
  12552. zspolishtype1:
  12553. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  12554. type: integer
  12555. zspolishtype1display:
  12556. type: string
  12557. zspolishtype2:
  12558. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  12559. type: integer
  12560. zspolishtype2display:
  12561. type: string
  12562. zsshapetype:
  12563. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12564. type: string
  12565. zsshapetypedisplay:
  12566. type: string
  12567. zsstyletype:
  12568. description: 款式 - 类型:4
  12569. type: integer
  12570. zsstyletypedisplay:
  12571. type: string
  12572. zssymmetrytype1:
  12573. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12574. type: integer
  12575. zssymmetrytype1display:
  12576. type: string
  12577. zssymmetrytype2:
  12578. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12579. type: integer
  12580. zssymmetrytype2display:
  12581. type: string
  12582. required:
  12583. - wruserid
  12584. type: object
  12585. models.NewFuncmenulist:
  12586. properties:
  12587. authtype:
  12588. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12589. type: integer
  12590. buttonname:
  12591. description: 按钮名称
  12592. type: string
  12593. buttontype:
  12594. description: 按钮类型 - 存按钮样式
  12595. type: string
  12596. component:
  12597. description: 组件名或组件地址
  12598. type: string
  12599. hidden:
  12600. description: 是否隐藏 - 0:显示 1:隐藏
  12601. type: integer
  12602. iconame:
  12603. description: 菜单图标
  12604. type: string
  12605. menutype:
  12606. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12607. type: integer
  12608. parentcode:
  12609. description: 上级资源代码
  12610. type: string
  12611. remark:
  12612. description: Remark
  12613. type: string
  12614. resourcecode:
  12615. description: 资源代码
  12616. type: string
  12617. resourcelevel:
  12618. description: 级别1-一级 2-二级 3-三级4-四级
  12619. type: integer
  12620. resourcename:
  12621. description: 资源名(Title)
  12622. type: string
  12623. sort:
  12624. description: 排序
  12625. type: integer
  12626. url:
  12627. description: Url
  12628. type: string
  12629. urltype:
  12630. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12631. type: integer
  12632. required:
  12633. - resourcecode
  12634. type: object
  12635. models.OperationPrimaryMenu:
  12636. properties:
  12637. Children:
  12638. description: 二级功能菜单
  12639. items:
  12640. $ref: '#/definitions/models.OperationSecondaryMenu'
  12641. type: array
  12642. Key:
  12643. description: 菜单KEY
  12644. type: string
  12645. Label:
  12646. description: 菜单标题
  12647. type: string
  12648. type: object
  12649. models.OperationSecondaryMenu:
  12650. properties:
  12651. Key:
  12652. description: 菜单KEY
  12653. type: string
  12654. Label:
  12655. description: 菜单标题
  12656. type: string
  12657. TabList:
  12658. description: 三级功能菜单
  12659. items:
  12660. $ref: '#/definitions/models.OperationTabMenu'
  12661. type: array
  12662. type: object
  12663. models.OperationTabMenu:
  12664. properties:
  12665. Key:
  12666. description: 菜单KEY
  12667. type: string
  12668. Label:
  12669. description: 菜单标题
  12670. type: string
  12671. type: object
  12672. models.Patradelinkdetail:
  12673. properties:
  12674. accountname:
  12675. description: 套期主体
  12676. type: string
  12677. agreeunit:
  12678. description: 合约乘数
  12679. type: number
  12680. amount:
  12681. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12682. type: number
  12683. areauserid:
  12684. description: 所属机构
  12685. type: integer
  12686. bizsubjectid:
  12687. description: 归属业务部门ID - SubjectID
  12688. type: integer
  12689. buyorsell:
  12690. description: 方向 - 0:买 1:卖
  12691. type: integer
  12692. convertratio:
  12693. description: 品种系数
  12694. type: number
  12695. convertratiochange:
  12696. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12697. type: number
  12698. createtime:
  12699. description: '[日期时间]创建时间'
  12700. type: string
  12701. creatorid:
  12702. description: 创建人ID
  12703. type: integer
  12704. creatorsrc:
  12705. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12706. type: integer
  12707. goodscode:
  12708. description: 商品代码(内部)
  12709. type: string
  12710. goodsgroupid:
  12711. description: 对冲品种ID[期货合约商品组ID]
  12712. type: integer
  12713. goodsid:
  12714. description: 商品ID
  12715. type: integer
  12716. hedgeditemid:
  12717. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12718. type: integer
  12719. hedgeflag:
  12720. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12721. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12722. type: integer
  12723. linkdetailid:
  12724. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12725. type: string
  12726. linkstatus:
  12727. description: 关联状态 - 1:成功 2:失败 3:解绑
  12728. type: integer
  12729. middlegoodsid:
  12730. description: 套保品种ID
  12731. type: integer
  12732. name:
  12733. description: 账户名/子账户
  12734. type: string
  12735. optioncode:
  12736. description: '[期货合约]期权代码 [期权]'
  12737. type: string
  12738. ordertype:
  12739. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12740. type: integer
  12741. relatedlot:
  12742. description: '[数量]关联手数'
  12743. type: number
  12744. relatedmode:
  12745. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12746. type: integer
  12747. relatedqty:
  12748. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12749. type: number
  12750. retcode:
  12751. description: 返回码
  12752. type: integer
  12753. saleuserid:
  12754. description: 业务员ID
  12755. type: integer
  12756. tradedate:
  12757. description: 关联交易日(yyyyMMdd)
  12758. type: string
  12759. tradeid:
  12760. description: '[成交单号]内部成交单ID'
  12761. type: string
  12762. tradelot:
  12763. description: 成交手数
  12764. type: integer
  12765. tradeprice:
  12766. description: '[价格]成交价格'
  12767. type: number
  12768. tradetradedate:
  12769. description: 成交交易日(yyyyMMdd)
  12770. type: string
  12771. type: object
  12772. models.QhjAccountOutInApply:
  12773. properties:
  12774. accountcode:
  12775. description: 资金账号
  12776. type: string
  12777. accountname:
  12778. description: 用户名称(名称)
  12779. type: string
  12780. accountpwd:
  12781. description: 资金密码
  12782. type: string
  12783. accountticket:
  12784. description: 最新账户服务流水号
  12785. type: string
  12786. amount:
  12787. description: 金额
  12788. type: number
  12789. applyremark:
  12790. description: 申请备注
  12791. type: string
  12792. applystatus:
  12793. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12794. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12795. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12796. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12797. type: integer
  12798. auditid:
  12799. description: 审核人
  12800. type: integer
  12801. audittime:
  12802. description: 审核时间
  12803. type: string
  12804. bank_apply_ticket:
  12805. description: 银行申请流水
  12806. type: string
  12807. bankaccountname:
  12808. description: 银行账户名
  12809. type: string
  12810. bankaccountno:
  12811. description: 银行卡号
  12812. type: string
  12813. bankid:
  12814. description: 银行编号
  12815. type: string
  12816. bankticket:
  12817. description: 银行流水
  12818. type: string
  12819. branchbankid:
  12820. description: 银行支行号
  12821. type: string
  12822. branchbankname:
  12823. description: 银行支行名称
  12824. type: string
  12825. capamountout:
  12826. description: 出金(劣后本金) - 外部子账户
  12827. type: number
  12828. certificatephotourl:
  12829. description: 凭证地址
  12830. type: string
  12831. charge:
  12832. description: 手续费
  12833. type: number
  12834. checkerrorflag:
  12835. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12836. type: integer
  12837. currency:
  12838. description: 币种
  12839. type: string
  12840. cusbankid:
  12841. description: 托管银行编号
  12842. type: string
  12843. cusbankname:
  12844. description: 托管银行名称
  12845. type: string
  12846. cusbankshortname:
  12847. description: 托管银行简称
  12848. type: string
  12849. exchticket:
  12850. description: 银行服务流水号
  12851. type: string
  12852. executetype:
  12853. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12854. 7:外部子账户:入金 8:外部子账户:出金'
  12855. type: integer
  12856. extendinfo:
  12857. description: 扩展信息
  12858. type: string
  12859. extoperateid:
  12860. description: 交易服务流水号
  12861. type: integer
  12862. infamount:
  12863. description: 劣后金额(自有)
  12864. type: number
  12865. logincode:
  12866. description: 登录账号(账号)
  12867. type: string
  12868. netaddr:
  12869. description: 调转网址
  12870. type: string
  12871. priamount:
  12872. description: 优先金额(授信)
  12873. type: number
  12874. reauditid:
  12875. description: 复审人
  12876. type: integer
  12877. reauditremark:
  12878. description: 复审备注
  12879. type: string
  12880. reaudittime:
  12881. description: 复审时间
  12882. type: string
  12883. relatedorderid:
  12884. description: 三方关联ID
  12885. type: string
  12886. remark:
  12887. description: 备注
  12888. type: string
  12889. remark2:
  12890. description: 备注(失败原因)
  12891. type: string
  12892. soucreamount:
  12893. description: 原始出入金金额
  12894. type: number
  12895. soucrecurrencyid:
  12896. description: 原始出入金币种
  12897. type: integer
  12898. tradedate:
  12899. description: 交易日(yyyyMMdd)
  12900. type: string
  12901. updatetime:
  12902. description: 更新时间(申请时间)
  12903. type: string
  12904. userid:
  12905. description: 用户id
  12906. type: integer
  12907. userinfotype:
  12908. description: 账户类型 1-个人 2-企业
  12909. type: integer
  12910. type: object
  12911. models.QhjAgreementChangeLog:
  12912. properties:
  12913. agreementcontent:
  12914. description: 协议内容
  12915. type: string
  12916. agreementfrequency:
  12917. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12918. type: integer
  12919. agreementid:
  12920. description: 协议ID
  12921. type: integer
  12922. agreementname:
  12923. description: 协议名称
  12924. type: string
  12925. agreementno:
  12926. description: 协议编号
  12927. type: string
  12928. agreementtype:
  12929. description: 协议类型 - 1:注册 2:登录 3:交易
  12930. type: integer
  12931. agreementversion:
  12932. description: 协议版本号
  12933. type: integer
  12934. logid:
  12935. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12936. type: integer
  12937. reviserid:
  12938. description: 修改人
  12939. type: integer
  12940. revisersrc:
  12941. description: 修改来源 - 1:管理端 2:终端
  12942. type: integer
  12943. updatetime:
  12944. description: 更新时间
  12945. type: string
  12946. type: object
  12947. models.QhjAgreementConfig:
  12948. properties:
  12949. agreementcontent:
  12950. description: 协议内容
  12951. type: string
  12952. agreementfrequency:
  12953. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12954. type: integer
  12955. agreementid:
  12956. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12957. type: integer
  12958. agreementname:
  12959. description: 协议名称
  12960. type: string
  12961. agreementno:
  12962. description: 协议编号
  12963. type: string
  12964. agreementtype:
  12965. description: 协议类型 - 1:注册 2:登录 3:交易
  12966. type: integer
  12967. agreementversion:
  12968. description: 协议版本号(从1开始每次修改加1)
  12969. type: integer
  12970. createtime:
  12971. description: 创建时间
  12972. type: string
  12973. creatorid:
  12974. description: 创建人
  12975. type: integer
  12976. creatorsrc:
  12977. description: 创建来源 - 1:管理端 2:终端
  12978. type: integer
  12979. isvalid:
  12980. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12981. type: integer
  12982. reviserid:
  12983. description: 修改人
  12984. type: integer
  12985. revisersrc:
  12986. description: 修改来源 - 1:管理端 2:终端
  12987. type: integer
  12988. updatetime:
  12989. description: 更新时间
  12990. type: string
  12991. type: object
  12992. models.QhjAreaFinanceConfig:
  12993. properties:
  12994. additionalratio:
  12995. description: 追加款比例
  12996. type: number
  12997. advanceratio:
  12998. description: 预付款比例
  12999. type: number
  13000. alarmratio:
  13001. description: 告警比例
  13002. type: number
  13003. consumptiondirectreward:
  13004. description: 消费直推奖励值
  13005. type: number
  13006. consumptionenabled:
  13007. description: 是否启用消费奖励 - 0:不启用 1:启用
  13008. type: integer
  13009. consumptionindirectreward:
  13010. description: 消费间推奖励值
  13011. type: number
  13012. consumptionmodel:
  13013. description: 消费奖励方式 - 1:比率 2:固定
  13014. type: integer
  13015. customerservicenum:
  13016. description: 客服电话
  13017. type: string
  13018. dayinterestrate:
  13019. description: 日利率
  13020. type: number
  13021. disableconsumptiontips:
  13022. description: 关闭消费奖励提示
  13023. type: string
  13024. modifierid:
  13025. description: 修改人ID
  13026. type: integer
  13027. modifysrc:
  13028. description: 审核来源 - 1:管理端 2:终端
  13029. type: integer
  13030. modifytime:
  13031. description: 修改时间
  13032. type: string
  13033. promotionvalue:
  13034. description: 推广奖励值(固定)
  13035. type: number
  13036. scoreconfigvalue1:
  13037. description: 提货积分配置1
  13038. type: integer
  13039. scoreconfigvalue2:
  13040. description: 提货积分配置2
  13041. type: integer
  13042. userid:
  13043. description: 机构用户ID其他做市关系,都设置为 1
  13044. type: integer
  13045. username:
  13046. description: 用户名称
  13047. type: string
  13048. type: object
  13049. models.QhjBankAccountSign:
  13050. properties:
  13051. accountcode:
  13052. description: 资金账号
  13053. type: string
  13054. accountname:
  13055. description: 资金账号对应的账号名(UserName)
  13056. type: string
  13057. accountname2:
  13058. description: 资金账号对应的账号名(UserName) - 密文
  13059. type: string
  13060. accounttype:
  13061. description: 账户类型(UserType)
  13062. type: integer
  13063. applicationtime:
  13064. description: 最后一次更新的时间
  13065. type: string
  13066. applyexchticket:
  13067. description: 申请流水
  13068. type: string
  13069. auditid:
  13070. description: 审核人
  13071. type: integer
  13072. audittime:
  13073. description: 审核时间
  13074. type: string
  13075. bankaccountname:
  13076. description: 签约银行卡账号名
  13077. type: string
  13078. bankaccountname2:
  13079. description: 签约银行卡账号名 - 密文
  13080. type: string
  13081. bankaccountno:
  13082. description: 银行卡号
  13083. type: string
  13084. bankaccountno2:
  13085. description: 银行卡号 - 密文
  13086. type: string
  13087. bankaccounttype:
  13088. description: 银行账户类型 - 1-对私; 2-对公
  13089. type: integer
  13090. bankcardtype:
  13091. description: 银行卡类型
  13092. type: integer
  13093. bankchildaccount:
  13094. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  13095. type: string
  13096. bankcity:
  13097. description: 开户行城市
  13098. type: string
  13099. bankid:
  13100. description: 签约银行ID
  13101. type: string
  13102. bankname:
  13103. description: 签约银行名称
  13104. type: string
  13105. bankprovince:
  13106. description: 开户行省份
  13107. type: string
  13108. branchbankid:
  13109. description: 签约银行支行号
  13110. type: string
  13111. branchbankname:
  13112. description: 签约银行支行名称
  13113. type: string
  13114. cardno:
  13115. description: 证件号码
  13116. type: string
  13117. cardno2:
  13118. description: 证件号码 - 密文
  13119. type: string
  13120. cardtype:
  13121. description: 证件类型
  13122. type: string
  13123. currency:
  13124. description: 币种
  13125. type: string
  13126. cusbankid:
  13127. description: 托管银行编号
  13128. type: string
  13129. direct:
  13130. description: 方向(可以判断那方先发起的签约)
  13131. type: integer
  13132. exchticket:
  13133. description: 最后一次签约成功的流水号
  13134. type: string
  13135. extendinfo:
  13136. description: 扩展信息(JSON字符串)
  13137. type: string
  13138. mobilephone:
  13139. description: 手机号
  13140. type: string
  13141. mobilephone2:
  13142. description: 手机号 - 密文
  13143. type: string
  13144. netaddr:
  13145. description: 调转网址
  13146. type: string
  13147. relateduserid:
  13148. description: 关联使用者userid
  13149. type: integer
  13150. signstatus:
  13151. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13152. 10:审核拒绝 11:换签待审核
  13153. type: integer
  13154. updatetime:
  13155. description: 更新时间(签解约更新时间)
  13156. type: string
  13157. type: object
  13158. models.QhjBankInfo:
  13159. properties:
  13160. bankid:
  13161. description: 银行ID
  13162. type: string
  13163. bankname:
  13164. description: 银行名称
  13165. type: string
  13166. clearbankno:
  13167. description: 清算系统银行编号
  13168. type: string
  13169. orderindex:
  13170. description: 排序顺序
  13171. type: integer
  13172. status:
  13173. description: 状态 - 0:正常 1:注销
  13174. type: integer
  13175. type: object
  13176. models.QhjBrokerApply:
  13177. properties:
  13178. applicantid:
  13179. description: 申请人
  13180. type: integer
  13181. applysrc:
  13182. description: 申请来源 - 1:管理端 2:终端
  13183. type: integer
  13184. applystatus:
  13185. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13186. type: integer
  13187. applytime:
  13188. description: 申请时间
  13189. type: string
  13190. auditorid:
  13191. description: 审核人
  13192. type: integer
  13193. auditremark:
  13194. description: 审核备注
  13195. type: string
  13196. auditsrc:
  13197. description: 审核来源 - 1:管理端 2:终端
  13198. type: integer
  13199. audittime:
  13200. description: 审核时间
  13201. type: string
  13202. audittradedate:
  13203. description: 审核交易日(yyyyMMdd)
  13204. type: string
  13205. brokerapplyid:
  13206. description: 申请ID(SEQ_BROKERAPPLY)
  13207. type: integer
  13208. cardbackphotourl:
  13209. description: 证件背面图片地址
  13210. type: string
  13211. cardfrontphotourl:
  13212. description: 证件正面图片地址
  13213. type: string
  13214. cardnum:
  13215. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13216. type: string
  13217. customername:
  13218. description: 姓名
  13219. type: string
  13220. logincode:
  13221. description: 登录代码
  13222. type: string
  13223. mobile:
  13224. description: 手机号码
  13225. type: string
  13226. parentuserid:
  13227. description: 所属机构id
  13228. type: integer
  13229. parentusername:
  13230. description: 所属机构名称
  13231. type: string
  13232. refereeuserid:
  13233. description: 推荐人id(经纪人)
  13234. type: integer
  13235. refernum:
  13236. description: 推荐码
  13237. type: string
  13238. remark:
  13239. description: 备注
  13240. type: string
  13241. subarealevelpath:
  13242. description: 层级路径
  13243. type: string
  13244. tradedate:
  13245. description: 交易日(yyyyMMdd)
  13246. type: string
  13247. userid:
  13248. description: 申请人用户ID
  13249. type: integer
  13250. userinfotype:
  13251. description: 用户类型 1-个人 2-企业
  13252. type: integer
  13253. username:
  13254. description: 用户名称
  13255. type: string
  13256. type: object
  13257. models.QhjBrokerApplyEx:
  13258. properties:
  13259. applylist:
  13260. description: 经纪人申请记录(只返回最新一条)
  13261. items:
  13262. $ref: '#/definitions/models.QhjBrokerApply'
  13263. type: array
  13264. canrecommend:
  13265. description: 是否经纪人 0-不是 1-是
  13266. type: integer
  13267. refernum:
  13268. description: 推荐码
  13269. type: string
  13270. userid:
  13271. description: 用户id
  13272. type: integer
  13273. userinfotype:
  13274. description: 用户类型 1-个人 2-企业
  13275. type: integer
  13276. type: object
  13277. models.QhjBrokerRewardLog:
  13278. properties:
  13279. accountid:
  13280. description: 资金账号ID
  13281. type: integer
  13282. createtime:
  13283. description: 创建时间(时间)
  13284. type: string
  13285. handlestatus:
  13286. description: 处理状态
  13287. type: integer
  13288. logid:
  13289. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13290. type: string
  13291. marketid:
  13292. description: 市场ID
  13293. type: integer
  13294. mmaccountid:
  13295. description: 做市商资金账号ID
  13296. type: string
  13297. mmuserid:
  13298. description: 做市商用户ID
  13299. type: string
  13300. rewardamount:
  13301. description: 奖励金额
  13302. type: number
  13303. rewardmodel:
  13304. description: 消费奖励方式 - 1:比率 2:固定
  13305. type: integer
  13306. rewardtype:
  13307. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  13308. type: integer
  13309. rewardvalue:
  13310. description: 配置奖励值
  13311. type: number
  13312. srcamount:
  13313. description: 成交金额 [消费奖励] (金额)
  13314. type: number
  13315. srcgoodsid:
  13316. description: 来源商品ID [消费奖励]
  13317. type: string
  13318. srctime:
  13319. description: 来源时间 (成交时间) [消费奖励]
  13320. type: string
  13321. srctradeid:
  13322. description: 来源成交单ID [消费奖励] - 排除提货成交
  13323. type: string
  13324. srcuserid:
  13325. description: 来源用户ID(推广账户)
  13326. type: string
  13327. srcusername:
  13328. description: 推广账户名称
  13329. type: string
  13330. tradedate:
  13331. description: 交易日(yyyyMMdd)
  13332. type: string
  13333. userid:
  13334. description: 经纪人用户ID
  13335. type: integer
  13336. type: object
  13337. models.QhjContract:
  13338. properties:
  13339. contractconfirmtime:
  13340. description: 合同确认时间(时间)
  13341. type: string
  13342. currisklevel:
  13343. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13344. type: integer
  13345. decimalplace:
  13346. description: 商品报价小数位
  13347. type: integer
  13348. enumdicname:
  13349. description: 单位名称
  13350. type: string
  13351. goodscode:
  13352. description: 商品代码
  13353. type: string
  13354. goodsid:
  13355. description: 商品ID [5:融资单]
  13356. type: integer
  13357. goodsname:
  13358. description: 商品名称
  13359. type: string
  13360. goodunitid:
  13361. description: 商品单位id
  13362. type: integer
  13363. initmargin:
  13364. description: 初始保证金(首付款)
  13365. type: number
  13366. lenderamount:
  13367. description: 贷款金额(总额|订单总额)
  13368. type: number
  13369. marginratio:
  13370. description: 保证金比率(首付比例)
  13371. type: number
  13372. payamount:
  13373. description: 已付(已付货款)
  13374. type: number
  13375. reckonrecovermargin:
  13376. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13377. type: number
  13378. recoveredmargin:
  13379. description: 已追缴保证金
  13380. type: number
  13381. remainamount:
  13382. description: 合同剩余金额(融资额)
  13383. type: number
  13384. scfcontractid:
  13385. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13386. type: string
  13387. scfcontractstatus:
  13388. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13389. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13390. type: integer
  13391. scfcontracttype:
  13392. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13393. type: integer
  13394. totalinterest:
  13395. description: 已计总利息(利息)
  13396. type: number
  13397. tradeprice:
  13398. description: 成交价格(成本价格)
  13399. type: number
  13400. userid:
  13401. description: 用户ID
  13402. type: integer
  13403. username:
  13404. description: 用户名称
  13405. type: string
  13406. wrqty:
  13407. description: 仓单数量(数量)
  13408. type: number
  13409. type: object
  13410. models.QhjContractLog:
  13411. properties:
  13412. amount:
  13413. description: 支付金额
  13414. type: number
  13415. amounttype:
  13416. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  13417. type: integer
  13418. logid:
  13419. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13420. type: string
  13421. remainamount:
  13422. description: 剩余货款
  13423. type: number
  13424. scfcontractid:
  13425. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13426. type: integer
  13427. updatetime:
  13428. description: 更新时间
  13429. type: string
  13430. type: object
  13431. models.QhjCusBankSignBankEx:
  13432. properties:
  13433. banklst:
  13434. description: 银行列表
  13435. items:
  13436. $ref: '#/definitions/models.QhjBankInfo'
  13437. type: array
  13438. canallot:
  13439. description: 是否支持跨行调拨 - 0:不支持 1:支持
  13440. type: integer
  13441. canallotquery:
  13442. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  13443. type: integer
  13444. canbindcard:
  13445. description: 是否可绑卡与解卡 - 0:不可 1:可以
  13446. type: integer
  13447. caninamount:
  13448. description: 是否可入金 - 0:不可 1:可以
  13449. type: integer
  13450. caninamount2:
  13451. description: 是否可入金(网银端) - 0:不可 1:可以
  13452. type: integer
  13453. canmodifybankcard:
  13454. description: 是否可修改银行卡号 - 0:不可 1:可以
  13455. type: integer
  13456. canmodifyphone:
  13457. description: 是否可修改手机号 - 0:不可 1:可以
  13458. type: integer
  13459. canmodifysigninfo:
  13460. description: 是否可修改签约信息 - 0:不可 1:可以
  13461. type: integer
  13462. canoutamount:
  13463. description: 是否可出金 - 0:不可 1:可以
  13464. type: integer
  13465. canoutamount2:
  13466. description: 是否可出金(网银端) - 0:不可 1:可以
  13467. type: integer
  13468. canrelease:
  13469. description: 是否可解约 - 0:不可 1:可以
  13470. type: integer
  13471. canrelease2:
  13472. description: 是否可解约(网银端) - 0:不可 1:可以
  13473. type: integer
  13474. cansign:
  13475. description: 是否可签约 - 0:不可 1:可以
  13476. type: integer
  13477. cansign2:
  13478. description: 是否可签约(网银端) - 0:不可 1:可以
  13479. type: integer
  13480. currency:
  13481. description: 币种
  13482. type: string
  13483. cusbankid:
  13484. description: 托管银行编号(对应清算中心TRAN_NO)
  13485. type: string
  13486. cusbankname:
  13487. description: 银行业务名称
  13488. type: string
  13489. cusbankshortname:
  13490. description: 银行业务简称
  13491. type: string
  13492. exchbankid:
  13493. description: 交易所开户银行ID
  13494. type: string
  13495. exchpaybankaccname:
  13496. description: 交易所支出结算账户户名
  13497. type: string
  13498. exchpaybankaccno:
  13499. description: 交易所支出结算账户
  13500. type: string
  13501. isneedcheck:
  13502. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  13503. type: integer
  13504. isneedclear:
  13505. description: 是否需要清算 - 0:不需要 1:需要
  13506. type: integer
  13507. lastcheckstatus:
  13508. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  13509. type: integer
  13510. lastchecktime:
  13511. description: 最后对账时间
  13512. type: string
  13513. lastclearstatus:
  13514. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  13515. type: integer
  13516. lastcleartime:
  13517. description: 最后清算时间
  13518. type: string
  13519. lastsignintime:
  13520. description: 最后签到时间
  13521. type: string
  13522. lastsignouttime:
  13523. description: 最后签退时间
  13524. type: string
  13525. riskinfo:
  13526. description: 签约风险提示书
  13527. type: string
  13528. signstatus:
  13529. description: 当前签到/签退状态 - 1:签到 2:签退
  13530. type: integer
  13531. tradedate:
  13532. description: 交易日(yyyyMMdd)
  13533. type: string
  13534. updatetime:
  13535. description: 当前签到/签退更新时间
  13536. type: string
  13537. type: object
  13538. models.QhjCustomer:
  13539. properties:
  13540. address:
  13541. description: 通讯地址
  13542. type: string
  13543. attachment1:
  13544. description: 附件1
  13545. type: string
  13546. attachment2:
  13547. description: 附件2
  13548. type: string
  13549. audittime:
  13550. description: 审核时间
  13551. type: string
  13552. cardbackphotourl:
  13553. description: 证件反面图片地址
  13554. type: string
  13555. cardfrontphotourl:
  13556. description: 证件正面图片地址
  13557. type: string
  13558. cardnum:
  13559. description: 证件号码
  13560. type: string
  13561. cardtype:
  13562. description: 证件类型
  13563. type: integer
  13564. cardtypename:
  13565. description: 证件类型名称
  13566. type: string
  13567. cityid:
  13568. description: 市
  13569. type: integer
  13570. cityname:
  13571. description: 城市名称
  13572. type: string
  13573. contactname:
  13574. description: 联系人
  13575. type: string
  13576. countryid:
  13577. description: 国家
  13578. type: integer
  13579. countryname:
  13580. description: 国家名称
  13581. type: string
  13582. createtime:
  13583. description: 创建时间
  13584. type: string
  13585. customername:
  13586. description: 客户名称
  13587. type: string
  13588. districtid:
  13589. description: 区域
  13590. type: integer
  13591. districtname:
  13592. description: 地区名称
  13593. type: string
  13594. email:
  13595. description: 邮件
  13596. type: string
  13597. legalpersonname:
  13598. description: 法人姓名(企业)
  13599. type: string
  13600. logincode:
  13601. description: 登录账号(代码)
  13602. type: string
  13603. memberuserid:
  13604. description: 所属机构ID(所属会员)
  13605. type: integer
  13606. memberusername:
  13607. description: 所属会员名称
  13608. type: string
  13609. mobile:
  13610. description: 手机号码
  13611. type: string
  13612. modifytime:
  13613. description: 修改时间
  13614. type: string
  13615. nickname:
  13616. description: 昵称
  13617. type: string
  13618. parentuserid:
  13619. description: 上级机构(所属机构)
  13620. type: integer
  13621. parentusername:
  13622. description: 所属机构名称
  13623. type: string
  13624. provinceid:
  13625. description: 省
  13626. type: integer
  13627. provincename:
  13628. description: 省名称
  13629. type: string
  13630. proxystatementurl:
  13631. description: 授权委托书
  13632. type: string
  13633. remark:
  13634. description: 备注
  13635. type: string
  13636. status:
  13637. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13638. type: integer
  13639. statusdesc:
  13640. description: 账户状态中文描述
  13641. type: string
  13642. taxpayernum:
  13643. description: 纳税人识别号
  13644. type: string
  13645. telphone:
  13646. description: 联系电话
  13647. type: string
  13648. userid:
  13649. description: 用户ID
  13650. type: integer
  13651. userinfotype:
  13652. description: 客户类型 1-个人 2-企业
  13653. type: integer
  13654. username:
  13655. description: 用户名称
  13656. type: string
  13657. type: object
  13658. models.QhjCustomerSignLog:
  13659. properties:
  13660. agreementcontent:
  13661. description: 协议内容
  13662. type: string
  13663. agreementid:
  13664. description: 协议ID
  13665. type: integer
  13666. agreementname:
  13667. description: 协议名称
  13668. type: string
  13669. agreementno:
  13670. description: 协议编号
  13671. type: string
  13672. agreementtype:
  13673. description: 协议类型 - 1:注册 2:登录 3:交易
  13674. type: integer
  13675. agreementversion:
  13676. description: 协议版本号
  13677. type: integer
  13678. createtime:
  13679. description: 创建时间
  13680. type: string
  13681. goodscode:
  13682. description: 商品代码
  13683. type: string
  13684. goodsid:
  13685. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13686. type: integer
  13687. goodsname:
  13688. description: 商品名称
  13689. type: string
  13690. logid:
  13691. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13692. type: integer
  13693. nodetype:
  13694. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13695. type: integer
  13696. signadressurl:
  13697. description: 签约文件地址
  13698. type: string
  13699. signtimestamp:
  13700. description: 签约状态时间戳
  13701. type: string
  13702. userid:
  13703. description: 客户ID
  13704. type: integer
  13705. username:
  13706. description: 客户名称
  13707. type: string
  13708. type: object
  13709. models.QhjCustomerSignStatus:
  13710. properties:
  13711. createtime:
  13712. description: 创建时间
  13713. type: string
  13714. goodscode:
  13715. description: 商品代码
  13716. type: string
  13717. goodsid:
  13718. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13719. type: integer
  13720. goodsname:
  13721. description: 商品名称
  13722. type: string
  13723. nodetype:
  13724. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13725. type: integer
  13726. signtimestamp:
  13727. description: 签约状态时间戳
  13728. type: string
  13729. tradedate:
  13730. description: 创建交易日(yyyyMMdd)
  13731. type: string
  13732. updatetime:
  13733. description: 更新时间
  13734. type: string
  13735. userid:
  13736. description: 客户ID
  13737. type: integer
  13738. username:
  13739. description: 客户名称
  13740. type: string
  13741. type: object
  13742. models.QhjMgrAccountOutInApply:
  13743. properties:
  13744. accountcode:
  13745. description: 资金账号
  13746. type: string
  13747. accountname:
  13748. description: 用户名称(名称)
  13749. type: string
  13750. accountpwd:
  13751. description: 资金密码
  13752. type: string
  13753. accountticket:
  13754. description: 最新账户服务流水号
  13755. type: string
  13756. amount:
  13757. description: 金额
  13758. type: number
  13759. applyremark:
  13760. description: 申请备注
  13761. type: string
  13762. applystatus:
  13763. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13764. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13765. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13766. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13767. type: integer
  13768. auditid:
  13769. description: 审核人
  13770. type: integer
  13771. audittime:
  13772. description: 审核时间
  13773. type: string
  13774. bank_apply_ticket:
  13775. description: 银行申请流水
  13776. type: string
  13777. bankaccountname:
  13778. description: 银行账户名
  13779. type: string
  13780. bankaccountno:
  13781. description: 银行卡号
  13782. type: string
  13783. bankid:
  13784. description: 银行编号
  13785. type: string
  13786. bankname:
  13787. description: 银行名称
  13788. type: string
  13789. bankticket:
  13790. description: 银行流水
  13791. type: string
  13792. branchbankid:
  13793. description: 银行支行号
  13794. type: string
  13795. branchbankname:
  13796. description: 银行支行名称
  13797. type: string
  13798. capamountout:
  13799. description: 出金(劣后本金) - 外部子账户
  13800. type: number
  13801. certificatephotourl:
  13802. description: 凭证地址
  13803. type: string
  13804. charge:
  13805. description: 手续费
  13806. type: number
  13807. checkerrorflag:
  13808. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13809. type: integer
  13810. currency:
  13811. description: 币种
  13812. type: string
  13813. cusbankid:
  13814. description: 托管银行编号
  13815. type: string
  13816. exchticket:
  13817. description: 银行服务流水号
  13818. type: string
  13819. executetype:
  13820. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13821. 7:外部子账户:入金 8:外部子账户:出金'
  13822. type: integer
  13823. extendinfo:
  13824. description: 扩展信息
  13825. type: string
  13826. extoperateid:
  13827. description: 交易服务流水号
  13828. type: integer
  13829. infamount:
  13830. description: 劣后金额(自有)
  13831. type: number
  13832. logincode:
  13833. description: 登录账号(账号)
  13834. type: string
  13835. netaddr:
  13836. description: 调转网址
  13837. type: string
  13838. priamount:
  13839. description: 优先金额(授信)
  13840. type: number
  13841. reauditid:
  13842. description: 复审人
  13843. type: integer
  13844. reauditremark:
  13845. description: 复审备注
  13846. type: string
  13847. reaudittime:
  13848. description: 复审时间
  13849. type: string
  13850. relatedorderid:
  13851. description: 三方关联ID
  13852. type: string
  13853. remark:
  13854. description: 备注
  13855. type: string
  13856. remark2:
  13857. description: 备注(失败原因)
  13858. type: string
  13859. soucreamount:
  13860. description: 原始出入金金额
  13861. type: number
  13862. soucrecurrencyid:
  13863. description: 原始出入金币种
  13864. type: integer
  13865. tradedate:
  13866. description: 交易日(yyyyMMdd)
  13867. type: string
  13868. updatetime:
  13869. description: 更新时间(申请时间)
  13870. type: string
  13871. userid:
  13872. description: 用户id
  13873. type: integer
  13874. userinfotype:
  13875. description: 账户类型 1-个人 2-企业
  13876. type: integer
  13877. type: object
  13878. models.QhjMgrBrokerApply:
  13879. properties:
  13880. applicantid:
  13881. description: 申请人
  13882. type: integer
  13883. applysrc:
  13884. description: 申请来源 - 1:管理端 2:终端
  13885. type: integer
  13886. applystatus:
  13887. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13888. type: integer
  13889. applytime:
  13890. description: 申请时间
  13891. type: string
  13892. auditorid:
  13893. description: 审核人
  13894. type: integer
  13895. auditremark:
  13896. description: 审核备注
  13897. type: string
  13898. auditsrc:
  13899. description: 审核来源 - 1:管理端 2:终端
  13900. type: integer
  13901. audittime:
  13902. description: 审核时间
  13903. type: string
  13904. audittradedate:
  13905. description: 审核交易日(yyyyMMdd)
  13906. type: string
  13907. brokerapplyid:
  13908. description: 申请ID(SEQ_BROKERAPPLY)
  13909. type: integer
  13910. cardbackphotourl:
  13911. description: 证件背面图片地址
  13912. type: string
  13913. cardfrontphotourl:
  13914. description: 证件正面图片地址
  13915. type: string
  13916. cardnum:
  13917. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13918. type: string
  13919. customername:
  13920. description: 姓名
  13921. type: string
  13922. filterstatus:
  13923. description: 筛选条件
  13924. type: string
  13925. logincode:
  13926. description: 登录代码
  13927. type: string
  13928. mobile:
  13929. description: 手机号码
  13930. type: string
  13931. parentuserid:
  13932. description: 所属机构id
  13933. type: integer
  13934. parentusername:
  13935. description: 所属机构名称
  13936. type: string
  13937. refereeuserid:
  13938. description: 推荐人id(经纪人)
  13939. type: integer
  13940. refernum:
  13941. description: 推荐码
  13942. type: string
  13943. remark:
  13944. description: 备注
  13945. type: string
  13946. subarealevelpath:
  13947. description: 层级路径
  13948. type: string
  13949. tradedate:
  13950. description: 交易日(yyyyMMdd)
  13951. type: string
  13952. userid:
  13953. description: 申请人用户ID
  13954. type: integer
  13955. userinfotype:
  13956. description: 用户类型 1-个人 2-企业
  13957. type: integer
  13958. username:
  13959. description: 用户名称
  13960. type: string
  13961. type: object
  13962. models.QhjMgrBrokerRewardReport:
  13963. properties:
  13964. createtime:
  13965. description: 创建时间(注册时间)
  13966. type: string
  13967. cycletime:
  13968. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13969. type: string
  13970. cycletype:
  13971. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13972. type: integer
  13973. directtotalnum:
  13974. description: 直推总人数【期末】
  13975. type: integer
  13976. indirecttotalnum:
  13977. description: 间推总人数【期末】
  13978. type: integer
  13979. mobile:
  13980. description: 电话号码
  13981. type: string
  13982. refereeuserid:
  13983. description: 推荐人id(经纪人id)
  13984. type: integer
  13985. refereeusername:
  13986. description: 推荐人名称(经纪人) 上级经纪人名称
  13987. type: string
  13988. refernum:
  13989. description: 推荐码
  13990. type: string
  13991. subarealevelpath:
  13992. description: 用户层级路径
  13993. type: string
  13994. todayrewardamount:
  13995. description: 奖励总金额【汇总】
  13996. type: number
  13997. updatetime:
  13998. description: 更新时间
  13999. type: string
  14000. userid:
  14001. description: 经纪人用户ID
  14002. type: integer
  14003. userinfotype:
  14004. description: 用户类型 1-个人 2-企业
  14005. type: integer
  14006. username:
  14007. description: 用户名称
  14008. type: string
  14009. type: object
  14010. models.QhjMgrContract:
  14011. properties:
  14012. contractconfirmtime:
  14013. description: 合同确认时间(时间)
  14014. type: string
  14015. currisklevel:
  14016. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14017. type: integer
  14018. decimalplace:
  14019. description: 商品报价小数位
  14020. type: integer
  14021. enumdicname:
  14022. description: 单位名称
  14023. type: string
  14024. goodscode:
  14025. description: 商品代码
  14026. type: string
  14027. goodsid:
  14028. description: 商品ID [5:融资单]
  14029. type: integer
  14030. goodsname:
  14031. description: 商品名称
  14032. type: string
  14033. goodunitid:
  14034. description: 商品单位id
  14035. type: integer
  14036. initmargin:
  14037. description: 初始保证金(首付款)
  14038. type: number
  14039. lenderamount:
  14040. description: 贷款金额(总额|订单总额)
  14041. type: number
  14042. logincode:
  14043. description: 账号(登录代码)
  14044. type: string
  14045. marginratio:
  14046. description: 保证金比率(首付比例)
  14047. type: number
  14048. mobile:
  14049. description: 电话号码(用户资料里的电话)
  14050. type: string
  14051. payamount:
  14052. description: 已付(已付货款)
  14053. type: number
  14054. reckonrecovermargin:
  14055. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  14056. type: number
  14057. recoveredmargin:
  14058. description: 已追缴保证金
  14059. type: number
  14060. remainamount:
  14061. description: 合同剩余金额(融资额)
  14062. type: number
  14063. scfcontractid:
  14064. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14065. type: string
  14066. scfcontractstatus:
  14067. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14068. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14069. type: integer
  14070. scfcontracttype:
  14071. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  14072. type: integer
  14073. totalinterest:
  14074. description: 已计总利息(利息)
  14075. type: number
  14076. tradedate:
  14077. description: 交易日
  14078. type: string
  14079. tradeprice:
  14080. description: 成交价格(成本价格)
  14081. type: number
  14082. userid:
  14083. description: 用户ID
  14084. type: integer
  14085. userinfotype:
  14086. description: 用户类型 1-个人 2-企业
  14087. type: integer
  14088. username:
  14089. description: 用户名称
  14090. type: string
  14091. wrqty:
  14092. description: 仓单数量(数量)
  14093. type: number
  14094. type: object
  14095. models.QhjMgrCustomer:
  14096. properties:
  14097. address:
  14098. description: 通讯地址
  14099. type: string
  14100. attachment1:
  14101. description: 附件1
  14102. type: string
  14103. audittime:
  14104. description: 审核时间
  14105. type: string
  14106. birthday:
  14107. description: 生日
  14108. type: string
  14109. brokerid:
  14110. description: 所属客户经理id
  14111. type: integer
  14112. brokername:
  14113. description: 所属客户经理名称
  14114. type: string
  14115. cardbackphotourl:
  14116. description: 证件反面图片地址
  14117. type: string
  14118. cardfrontphotourl:
  14119. description: 证件正面图片地址
  14120. type: string
  14121. cardnum:
  14122. description: 证件号码
  14123. type: string
  14124. cardtype:
  14125. description: 证件类型
  14126. type: integer
  14127. cardtypename:
  14128. description: 证件类型名称
  14129. type: string
  14130. cityid:
  14131. description: 市
  14132. type: integer
  14133. cityname:
  14134. description: 城市名称
  14135. type: string
  14136. contactname:
  14137. description: 联系人
  14138. type: string
  14139. countryid:
  14140. description: 国家
  14141. type: integer
  14142. countryname:
  14143. description: 国家名称
  14144. type: string
  14145. createtime:
  14146. description: 创建时间
  14147. type: string
  14148. customername:
  14149. description: 客户名称
  14150. type: string
  14151. districtid:
  14152. description: 区域
  14153. type: integer
  14154. districtname:
  14155. description: 地区名称
  14156. type: string
  14157. email:
  14158. description: 邮件
  14159. type: string
  14160. legalpersonname:
  14161. description: 法人姓名(企业)
  14162. type: string
  14163. logincode:
  14164. description: 登录账号(代码)
  14165. type: string
  14166. memberuserid:
  14167. description: 所属机构ID(所属会员)
  14168. type: integer
  14169. memberusername:
  14170. description: 所属会员名称
  14171. type: string
  14172. mobile:
  14173. description: 手机号码
  14174. type: string
  14175. modifytime:
  14176. description: 修改时间
  14177. type: string
  14178. nickname:
  14179. description: 昵称
  14180. type: string
  14181. parentuserid:
  14182. description: 上级机构(所属机构)
  14183. type: integer
  14184. parentusername:
  14185. description: 所属机构名称
  14186. type: string
  14187. provinceid:
  14188. description: 省
  14189. type: integer
  14190. provincename:
  14191. description: 省名称
  14192. type: string
  14193. proxystatementurl:
  14194. description: 授权委托书
  14195. type: string
  14196. querytype:
  14197. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  14198. type: integer
  14199. remark:
  14200. description: 备注
  14201. type: string
  14202. sex:
  14203. description: 性别 0-女 1-男
  14204. type: integer
  14205. status:
  14206. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  14207. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  14208. type: integer
  14209. statusdesc:
  14210. description: 账户状态中文描述
  14211. type: string
  14212. taxpayernum:
  14213. description: 纳税人识别号
  14214. type: string
  14215. telphone:
  14216. description: 联系电话
  14217. type: string
  14218. userid:
  14219. description: 用户ID
  14220. type: integer
  14221. userinfotype:
  14222. description: 客户类型 1-个人 2-企业
  14223. type: integer
  14224. username:
  14225. description: 用户名称
  14226. type: string
  14227. type: object
  14228. models.QhjMgrPickGoods:
  14229. properties:
  14230. enumdicname:
  14231. description: 单位名称(提货商品)
  14232. type: string
  14233. goodsid:
  14234. description: 商品id
  14235. type: integer
  14236. imageaddress:
  14237. description: 图片
  14238. type: string
  14239. modifierid:
  14240. description: 修改人
  14241. type: integer
  14242. modifiername:
  14243. description: 修改人名称
  14244. type: string
  14245. modifysrc:
  14246. description: 修改来源 - 1:管理端 2:终端
  14247. type: integer
  14248. pickupgoodsagreeunit:
  14249. description: 合约乘数
  14250. type: number
  14251. pickupgoodsdesc:
  14252. description: 描述
  14253. type: string
  14254. pickupgoodsid:
  14255. description: 提货商品ID
  14256. type: string
  14257. pickupgoodsname:
  14258. description: 提货商品名称
  14259. type: string
  14260. pickupgoodsstatus:
  14261. description: 状态 - 1:正常 2:停用 3:注销
  14262. type: integer
  14263. pickupgoodsunitid:
  14264. description: 单位ID
  14265. type: integer
  14266. pickupratio:
  14267. description: 提货系数
  14268. type: number
  14269. preparedays:
  14270. description: 备货期(天)
  14271. type: integer
  14272. remark:
  14273. description: 备注
  14274. type: string
  14275. updatetime:
  14276. description: 更新时间
  14277. type: string
  14278. type: object
  14279. models.QhjMgrPositionRsp:
  14280. properties:
  14281. accountid:
  14282. description: 账号Id
  14283. type: integer
  14284. accountname:
  14285. description: 用户名称
  14286. type: string
  14287. agreeunit:
  14288. description: 合约乘数
  14289. type: number
  14290. averageprice:
  14291. description: 均价
  14292. type: number
  14293. avialqty:
  14294. description: 可用数量
  14295. type: number
  14296. decimalplace:
  14297. description: 报价小数位
  14298. type: integer
  14299. enumdicname:
  14300. description: 单位名称(商品)
  14301. type: string
  14302. frozenqty:
  14303. description: 冻结数量
  14304. type: number
  14305. goodscode:
  14306. description: 商品代码(内部)
  14307. type: string
  14308. goodsid:
  14309. description: 商品Id
  14310. type: integer
  14311. goodsname:
  14312. description: 商品名称
  14313. type: string
  14314. goodunitid:
  14315. description: 报价单位ID
  14316. type: integer
  14317. holderamount:
  14318. description: 金额
  14319. type: number
  14320. holderqty:
  14321. description: 持有数量
  14322. type: number
  14323. holdertype:
  14324. description: 持仓类别 - 1:单边持仓 2:双边持仓
  14325. type: integer
  14326. logincode:
  14327. description: 登录代码(账户)
  14328. type: string
  14329. marketid:
  14330. description: 市场id
  14331. type: integer
  14332. qtydecimalplace:
  14333. description: 成交量小数位
  14334. type: integer
  14335. trademode:
  14336. description: 交易模式
  14337. type: integer
  14338. userid:
  14339. description: 用户id
  14340. type: integer
  14341. userinfotype:
  14342. description: 账户类型 1-个人 2-企业
  14343. type: integer
  14344. type: object
  14345. models.QhjMgrSubArea:
  14346. properties:
  14347. accountname:
  14348. description: 账户名称(机构名称)
  14349. type: string
  14350. memberuserid:
  14351. description: 所属会员ID
  14352. type: integer
  14353. parenttopuser:
  14354. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14355. type: string
  14356. parentuserid:
  14357. description: 所属机构ID
  14358. type: integer
  14359. rootuserid:
  14360. description: 根用户ID
  14361. type: string
  14362. subaccountlevel:
  14363. description: 子账户层数
  14364. type: integer
  14365. subarealevelpath:
  14366. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14367. type: string
  14368. userid:
  14369. description: 用户ID
  14370. type: integer
  14371. usertype:
  14372. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14373. type: integer
  14374. type: object
  14375. models.QhjMgrTradeDetailRsp:
  14376. properties:
  14377. accountid:
  14378. description: 资金账号
  14379. type: integer
  14380. accountname:
  14381. description: 用户名称
  14382. type: string
  14383. agreeunit:
  14384. description: 合约乘数
  14385. type: number
  14386. buyorsell:
  14387. description: 成交类型(方向) 0:买 1:卖
  14388. type: integer
  14389. decimalplace:
  14390. description: 报价小数位
  14391. type: integer
  14392. enumdicname:
  14393. description: 单位名称(商品)
  14394. type: string
  14395. goodscode:
  14396. description: 商品代码(内部)
  14397. type: string
  14398. goodsid:
  14399. description: 商品id
  14400. type: integer
  14401. goodsname:
  14402. description: 商品名称
  14403. type: string
  14404. goodunitid:
  14405. description: 报价单位ID
  14406. type: integer
  14407. logincode:
  14408. description: 登录代码(账户)
  14409. type: string
  14410. marketid:
  14411. description: 市场id
  14412. type: integer
  14413. orderid:
  14414. description: 关联委托单号
  14415. type: string
  14416. qtydecimalplace:
  14417. description: 成交量小数位
  14418. type: integer
  14419. tradeamount:
  14420. description: 金额
  14421. type: number
  14422. tradedate:
  14423. description: 交易日
  14424. type: string
  14425. tradeid:
  14426. description: 成交单号
  14427. type: string
  14428. trademode:
  14429. description: 交易模式
  14430. type: integer
  14431. tradeprice:
  14432. description: 价格
  14433. type: number
  14434. tradeqty:
  14435. description: 数量
  14436. type: number
  14437. tradetime:
  14438. description: 成交时间
  14439. type: string
  14440. userid:
  14441. description: 用户id
  14442. type: integer
  14443. userinfotype:
  14444. description: 账户类型 1-个人 2-企业
  14445. type: integer
  14446. type: object
  14447. models.QhjMgrTradeOrderDetailRsp:
  14448. properties:
  14449. accountid:
  14450. description: 资金账号
  14451. type: integer
  14452. accountname:
  14453. description: 用户名称
  14454. type: string
  14455. agreeunit:
  14456. description: 合约乘数
  14457. type: number
  14458. amount:
  14459. description: 金额
  14460. type: number
  14461. decimalplace:
  14462. description: 报价小数位
  14463. type: integer
  14464. enumdicname:
  14465. description: 单位名称(商品)
  14466. type: string
  14467. goodscode:
  14468. description: 商品代码(内部)
  14469. type: string
  14470. goodsid:
  14471. description: 商品id
  14472. type: integer
  14473. goodsname:
  14474. description: 商品名称
  14475. type: string
  14476. goodunitid:
  14477. description: 报价单位ID
  14478. type: integer
  14479. logincode:
  14480. description: 登录代码(账户)
  14481. type: string
  14482. marketid:
  14483. description: 市场id
  14484. type: integer
  14485. orderid:
  14486. description: 关联委托单号
  14487. type: string
  14488. orderprice:
  14489. description: 价格
  14490. type: number
  14491. orderqty:
  14492. description: 数量
  14493. type: number
  14494. orderstatus:
  14495. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14496. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14497. 16:成交失败违约(荷兰式竞拍专用)
  14498. type: integer
  14499. ordertime:
  14500. description: 委托时间
  14501. type: string
  14502. qtydecimalplace:
  14503. description: 成交量小数位
  14504. type: integer
  14505. tradedate:
  14506. description: 交易日
  14507. type: string
  14508. trademode:
  14509. description: 交易模式
  14510. type: integer
  14511. userid:
  14512. description: 用户id
  14513. type: integer
  14514. userinfotype:
  14515. description: 账户类型 1-个人 2-企业
  14516. type: integer
  14517. type: object
  14518. models.QhjMgrTradePayOrder:
  14519. properties:
  14520. accountname:
  14521. description: 用户名称
  14522. type: string
  14523. advanceratio:
  14524. description: 首付比率
  14525. type: number
  14526. agreeunit:
  14527. description: 合约乘数
  14528. type: number
  14529. buyaccountid:
  14530. description: 买方账号ID[报价币种]
  14531. type: integer
  14532. buyorderid:
  14533. description: 买方委托单号(关联单号)
  14534. type: string
  14535. createtime:
  14536. description: 创建时间
  14537. type: string
  14538. decimalplace:
  14539. description: 报价小数位
  14540. type: integer
  14541. enumdicname:
  14542. description: 单位名称(商品)
  14543. type: string
  14544. goodscode:
  14545. description: 商品代码(内部)
  14546. type: string
  14547. goodsid:
  14548. description: 商品ID
  14549. type: integer
  14550. goodsname:
  14551. description: 商品名称
  14552. type: string
  14553. goodunitid:
  14554. description: 报价单位ID
  14555. type: integer
  14556. logincode:
  14557. description: 登录代码(账户)
  14558. type: string
  14559. marketid:
  14560. description: 市场id
  14561. type: integer
  14562. offamount:
  14563. description: 优惠金额
  14564. type: number
  14565. operatetype:
  14566. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14567. type: integer
  14568. payamount:
  14569. description: 支付金额(金额)
  14570. type: number
  14571. payflag:
  14572. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14573. type: integer
  14574. paylimitedtime:
  14575. description: 支付期限
  14576. type: string
  14577. paytime:
  14578. description: 付款时间
  14579. type: string
  14580. qtydecimalplace:
  14581. description: 成交量小数位
  14582. type: integer
  14583. sellaccountid:
  14584. description: 卖方账号ID[报价币种]
  14585. type: integer
  14586. sellorderid:
  14587. description: 卖方委托单号
  14588. type: string
  14589. tradeamount:
  14590. description: 成交金额(优惠后金额)
  14591. type: number
  14592. tradecharge:
  14593. description: 成交手续费(买方)
  14594. type: number
  14595. tradedate:
  14596. description: 交易日(yyyyMMdd)
  14597. type: string
  14598. tradeid:
  14599. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14600. type: string
  14601. trademode:
  14602. description: 交易模式
  14603. type: integer
  14604. tradeprice:
  14605. description: 成交价格(价格)
  14606. type: number
  14607. tradeqty:
  14608. description: 成交数量(数量)
  14609. type: number
  14610. tradetime:
  14611. description: 成交时间
  14612. type: string
  14613. userid:
  14614. description: 用户id
  14615. type: integer
  14616. userinfotype:
  14617. description: 账户类型 1-个人 2-企业
  14618. type: integer
  14619. type: object
  14620. models.QhjMyTeamEx:
  14621. properties:
  14622. accountname:
  14623. description: 用户名称
  14624. type: string
  14625. accountstatus:
  14626. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14627. type: integer
  14628. createtime:
  14629. description: 创建时间
  14630. type: string
  14631. mobile:
  14632. description: 手机号码
  14633. type: string
  14634. refereeuserid:
  14635. description: 推荐人id
  14636. type: integer
  14637. refernum:
  14638. description: 推荐码
  14639. type: string
  14640. subList:
  14641. items:
  14642. $ref: '#/definitions/models.QhjMyTeamEx'
  14643. type: array
  14644. userid:
  14645. description: 用户id
  14646. type: integer
  14647. userinfotype:
  14648. description: 用户类型 1-个人 2-企业
  14649. type: integer
  14650. type: object
  14651. models.QhjNodeAgreementConfig:
  14652. properties:
  14653. agreementcontent:
  14654. description: 协议内容
  14655. type: string
  14656. agreementid:
  14657. description: 协议ID
  14658. type: integer
  14659. agreementname:
  14660. description: 协议名称
  14661. type: string
  14662. agreementno:
  14663. description: 协议编号
  14664. type: string
  14665. agreementtype:
  14666. description: 协议类型 - 1:注册 2:登录 3:交易
  14667. type: integer
  14668. agreementversion:
  14669. description: 协议版本号
  14670. type: integer
  14671. configid:
  14672. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14673. type: integer
  14674. createtime:
  14675. description: 创建时间
  14676. type: string
  14677. goodsid:
  14678. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14679. type: integer
  14680. nodetype:
  14681. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14682. type: integer
  14683. type: object
  14684. models.QhjParentAreaList:
  14685. properties:
  14686. accountname:
  14687. description: 账户名称(机构名称)
  14688. type: string
  14689. userid:
  14690. description: 用户ID
  14691. type: integer
  14692. usertype:
  14693. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14694. type: integer
  14695. type: object
  14696. models.QhjPayOrder:
  14697. properties:
  14698. advanceratio:
  14699. description: 首付比率
  14700. type: number
  14701. buyaccountid:
  14702. description: 买方账号ID[报价币种]
  14703. type: integer
  14704. buyorderid:
  14705. description: 买方委托单号
  14706. type: string
  14707. createtime:
  14708. description: 创建时间
  14709. type: string
  14710. decimalplace:
  14711. description: 商品报价小数位
  14712. type: integer
  14713. enumdicname:
  14714. description: 单位名称
  14715. type: string
  14716. goodscode:
  14717. description: 商品代码
  14718. type: string
  14719. goodsid:
  14720. description: 商品ID
  14721. type: integer
  14722. goodsname:
  14723. description: 商品名称
  14724. type: string
  14725. goodunitid:
  14726. description: 商品单位id
  14727. type: integer
  14728. marketid:
  14729. description: 市场ID
  14730. type: integer
  14731. offamount:
  14732. description: 优惠金额
  14733. type: number
  14734. operatetype:
  14735. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14736. type: integer
  14737. payamount:
  14738. description: 支付金额
  14739. type: number
  14740. payflag:
  14741. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14742. type: integer
  14743. paylimitedtime:
  14744. description: 支付期限
  14745. type: string
  14746. paytime:
  14747. description: 付款时间
  14748. type: string
  14749. qtydecimalplace:
  14750. description: 成交量小数位
  14751. type: integer
  14752. sellaccountid:
  14753. description: 卖方账号ID[报价币种]
  14754. type: integer
  14755. sellorderid:
  14756. description: 卖方委托单号
  14757. type: string
  14758. tradeamount:
  14759. description: 成交金额(优惠后金额)
  14760. type: number
  14761. tradecharge:
  14762. description: 成交手续费(买方)
  14763. type: number
  14764. tradedate:
  14765. description: 交易日(yyyyMMdd)
  14766. type: string
  14767. tradeid:
  14768. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14769. type: string
  14770. tradeprice:
  14771. description: 成交价格
  14772. type: number
  14773. tradeqty:
  14774. description: 成交数量
  14775. type: number
  14776. type: object
  14777. models.QhjPickArea:
  14778. properties:
  14779. address:
  14780. description: 详细地址
  14781. type: string
  14782. cityid:
  14783. description: 市
  14784. type: integer
  14785. cityname:
  14786. description: 城市名称
  14787. type: string
  14788. countryid:
  14789. description: 国家
  14790. type: integer
  14791. countryname:
  14792. description: 国家名称
  14793. type: string
  14794. districtid:
  14795. description: 地区
  14796. type: integer
  14797. districtname:
  14798. description: 地区名称
  14799. type: string
  14800. fromuserid:
  14801. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14802. type: integer
  14803. fromusername:
  14804. description: 所属机构名称
  14805. type: string
  14806. provinceid:
  14807. description: 省
  14808. type: integer
  14809. provincename:
  14810. description: 省名称
  14811. type: string
  14812. suborgtype:
  14813. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14814. type: integer
  14815. userid:
  14816. description: 机构用户ID 其他做市关系,都设置为 1
  14817. type: integer
  14818. username:
  14819. description: 机构用户名称(门店门称)
  14820. type: string
  14821. type: object
  14822. models.QhjPickGoods:
  14823. properties:
  14824. enumdicname:
  14825. description: 单位名称(提货商品)
  14826. type: string
  14827. goodsid:
  14828. description: 商品id
  14829. type: integer
  14830. imageaddress:
  14831. description: 图片
  14832. type: string
  14833. modifierid:
  14834. description: 修改人
  14835. type: integer
  14836. modifiername:
  14837. description: 修改人名称
  14838. type: string
  14839. modifysrc:
  14840. description: 修改来源 - 1:管理端 2:终端
  14841. type: integer
  14842. pickupgoodsagreeunit:
  14843. description: 合约乘数
  14844. type: number
  14845. pickupgoodsdesc:
  14846. description: 描述
  14847. type: string
  14848. pickupgoodsid:
  14849. description: 提货商品ID
  14850. type: string
  14851. pickupgoodsname:
  14852. description: 提货商品名称
  14853. type: string
  14854. pickupgoodsstatus:
  14855. description: 状态 - 1:正常 2:停用 3:注销
  14856. type: integer
  14857. pickupgoodsunitid:
  14858. description: 单位ID
  14859. type: integer
  14860. pickupratio:
  14861. description: 提货系数
  14862. type: number
  14863. preparedays:
  14864. description: 备货期(天)
  14865. type: integer
  14866. remark:
  14867. description: 备注
  14868. type: string
  14869. updatetime:
  14870. description: 更新时间
  14871. type: string
  14872. type: object
  14873. models.QhjRSTriggerLog:
  14874. properties:
  14875. accountid:
  14876. description: 用户资金账户
  14877. type: integer
  14878. accountname:
  14879. description: 账号名称(ACCOUNTID对应的名称)
  14880. type: string
  14881. currencyid:
  14882. description: 币种id
  14883. type: integer
  14884. currencyname:
  14885. description: 币种名称
  14886. type: string
  14887. decimalplace:
  14888. description: 商品报价小数位
  14889. type: integer
  14890. enumdicname:
  14891. description: 单位名称
  14892. type: string
  14893. goodscode:
  14894. description: 定投商品代码
  14895. type: string
  14896. goodsid:
  14897. description: 定投商品ID
  14898. type: integer
  14899. goodsname:
  14900. description: 定投商品名称
  14901. type: string
  14902. goodunitid:
  14903. description: 定投商品单位id
  14904. type: integer
  14905. logid:
  14906. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14907. type: string
  14908. logincode:
  14909. description: 账号(登录代码)
  14910. type: string
  14911. qtydecimalplace:
  14912. description: 成交量小数位
  14913. type: integer
  14914. regularlycycle:
  14915. description: 定投频率 - 1:每周 2:每月
  14916. type: integer
  14917. regularlycyclevalue:
  14918. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14919. type: string
  14920. regularlymode:
  14921. description: 定投方式 - 1:按数量 2:按金额
  14922. type: integer
  14923. regularlymodevalue:
  14924. description: 定投方式值 - 数量或金额
  14925. type: number
  14926. regularlystrategyid:
  14927. description: 定投策略ID
  14928. type: integer
  14929. retcode:
  14930. description: 错误码
  14931. type: string
  14932. tradeid:
  14933. description: 成交单ID
  14934. type: string
  14935. triggeramount:
  14936. description: 触发金额
  14937. type: number
  14938. triggerqty:
  14939. description: 触发数量
  14940. type: number
  14941. triggerstatus:
  14942. description: 触发状态 - 1:成功 2:失败
  14943. type: integer
  14944. triggertime:
  14945. description: 触发时间
  14946. type: string
  14947. triggertradedate:
  14948. description: 触发交易日
  14949. type: string
  14950. userid:
  14951. description: 所属用户ID
  14952. type: integer
  14953. userinfotype:
  14954. description: 用户类型 1-个人 2-企业
  14955. type: integer
  14956. username:
  14957. description: 用户名称(userid对应的名称)
  14958. type: string
  14959. type: object
  14960. models.QhjRStrategy:
  14961. properties:
  14962. accountid:
  14963. description: 用户资金账户
  14964. type: integer
  14965. accountname:
  14966. description: 账号名称(ACCOUNTID对应的名称)
  14967. type: string
  14968. currencyid:
  14969. description: 币种id
  14970. type: integer
  14971. currencyname:
  14972. description: 币种名称
  14973. type: string
  14974. decimalplace:
  14975. description: 商品报价小数位
  14976. type: integer
  14977. enumdicname:
  14978. description: 单位名称
  14979. type: string
  14980. goodscode:
  14981. description: 定投商品代码
  14982. type: string
  14983. goodsid:
  14984. description: 定投商品ID
  14985. type: integer
  14986. goodsname:
  14987. description: 定投商品名称
  14988. type: string
  14989. goodunitid:
  14990. description: 定投商品单位id
  14991. type: integer
  14992. lasteffecttradedate:
  14993. description: 最新生效交易日
  14994. type: string
  14995. laststoptradedate:
  14996. description: 最新暂停交易日
  14997. type: string
  14998. lasttriggertradedate:
  14999. description: 最新触发交易日
  15000. type: string
  15001. logincode:
  15002. description: 账号(登录代码)
  15003. type: string
  15004. nexttriggeramount:
  15005. description: 下次触发金额
  15006. type: number
  15007. nexttriggerdate:
  15008. description: 下次触发日期
  15009. type: string
  15010. nexttriggerqty:
  15011. description: 下次触发数量 [按小数位放大值]
  15012. type: number
  15013. qtydecimalplace:
  15014. description: 成交量小数位
  15015. type: integer
  15016. regularlycycle:
  15017. description: 定投频率 - 1:每周 2:每月
  15018. type: integer
  15019. regularlycyclevalue:
  15020. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  15021. type: string
  15022. regularlymode:
  15023. description: 定投方式 - 1:按数量 2:按金额
  15024. type: integer
  15025. regularlymodevalue:
  15026. description: 定投方式值 - 数量或金额
  15027. type: number
  15028. regularlystrategyid:
  15029. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  15030. type: integer
  15031. regularlystrategystatus:
  15032. description: 策略状态 - 1:正常 2:暂停 3:终止
  15033. type: integer
  15034. remark:
  15035. description: 备注
  15036. type: string
  15037. triggersuccesstimes:
  15038. description: 累计定投成功次数
  15039. type: string
  15040. triggertotalamount:
  15041. description: 累计定投金额(成功)
  15042. type: number
  15043. triggertotalqty:
  15044. description: 累计定投数量(成功) [按小数位放大值]
  15045. type: number
  15046. triggertotaltimes:
  15047. description: 累计定投总次数
  15048. type: string
  15049. updatesrc:
  15050. description: 更新来源 - 1:管理端 2:终端
  15051. type: integer
  15052. updatetime:
  15053. description: 更新时间
  15054. type: string
  15055. updatorid:
  15056. description: 更新人
  15057. type: string
  15058. userid:
  15059. description: 所属用户ID
  15060. type: integer
  15061. userinfotype:
  15062. description: 用户类型 1-个人 2-企业
  15063. type: integer
  15064. username:
  15065. description: 用户名称(userid对应的名称)
  15066. type: string
  15067. type: object
  15068. models.QhjReckonPriceLog:
  15069. properties:
  15070. decimalplace:
  15071. description: 商品报价小数位
  15072. type: integer
  15073. goodscode:
  15074. description: 商品代码
  15075. type: string
  15076. goodsid:
  15077. description: 商品ID
  15078. type: integer
  15079. goodsname:
  15080. description: 商品名称
  15081. type: string
  15082. lastreckonprice:
  15083. description: 上日结算价
  15084. type: number
  15085. nextdnlimitprice:
  15086. description: 下个交易日跌停价
  15087. type: number
  15088. nexttrade:
  15089. description: 下个交易日
  15090. type: string
  15091. nextuplimitprice:
  15092. description: 下个交易日涨停价
  15093. type: number
  15094. reckonprice:
  15095. description: 今日结算价(定投价)
  15096. type: number
  15097. reckontime:
  15098. description: 结算时间
  15099. type: string
  15100. totalholderqty:
  15101. description: 总持仓数
  15102. type: integer
  15103. totalstock:
  15104. description: 总库存
  15105. type: integer
  15106. tradedate:
  15107. description: 交易日
  15108. type: string
  15109. updowncount:
  15110. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  15111. type: integer
  15112. updownflag:
  15113. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  15114. type: integer
  15115. updownrate:
  15116. description: 今日涨跌幅
  15117. type: number
  15118. updownrate_2d:
  15119. description: 连续两日涨跌幅
  15120. type: number
  15121. updownrate_3d:
  15122. description: 连续三日涨跌幅
  15123. type: number
  15124. type: object
  15125. models.QhjScoreLog:
  15126. properties:
  15127. accountid:
  15128. description: 账户ID
  15129. type: integer
  15130. createtime:
  15131. description: 创建时间(时间)
  15132. type: string
  15133. goodsid:
  15134. description: 商品ID
  15135. type: integer
  15136. hasuploaded:
  15137. description: 是否已同步(千海金) 0:未同步 1;已同步
  15138. type: integer
  15139. logid:
  15140. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15141. type: string
  15142. marketid:
  15143. description: 市场ID
  15144. type: integer
  15145. relatedamount:
  15146. description: 关联金额
  15147. type: number
  15148. relatedorderid:
  15149. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  15150. type: string
  15151. scoreconfigvalue1:
  15152. description: 积分配置1
  15153. type: integer
  15154. scoreconfigvalue2:
  15155. description: 积分配置1
  15156. type: integer
  15157. scoretype:
  15158. description: 积分类型 - 1:提货积分
  15159. type: integer
  15160. scorevalue:
  15161. description: 积分
  15162. type: number
  15163. tradedate:
  15164. description: 交易日(yyyyMMdd)
  15165. type: string
  15166. uploadedtime:
  15167. description: 同步时间
  15168. type: string
  15169. userid:
  15170. description: 用户ID
  15171. type: integer
  15172. type: object
  15173. models.QhjSiteColumnDetail:
  15174. properties:
  15175. author:
  15176. description: 作者
  15177. type: string
  15178. brief:
  15179. description: 简介
  15180. type: string
  15181. columnid:
  15182. description: 所属栏目
  15183. type: integer
  15184. context:
  15185. description: 内容
  15186. type: string
  15187. coverimage:
  15188. description: 封面图片
  15189. type: string
  15190. creaedate:
  15191. description: 创建时间
  15192. type: string
  15193. creatorid:
  15194. description: 创建人
  15195. type: integer
  15196. hits:
  15197. description: 点击数
  15198. type: integer
  15199. id:
  15200. description: ID(SEQ_SITE_COLUMNDETAIL)
  15201. type: integer
  15202. isshow:
  15203. description: 是否展示 - 0:不展示 1:展示
  15204. type: integer
  15205. istop:
  15206. description: 是否置顶 - 0:不置 1:置顶
  15207. type: integer
  15208. modifierid:
  15209. description: 操作人
  15210. type: integer
  15211. publishdate:
  15212. description: 发布日期
  15213. type: string
  15214. status:
  15215. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  15216. type: integer
  15217. title:
  15218. description: 标题
  15219. type: string
  15220. updatedate:
  15221. description: 修改时间
  15222. type: string
  15223. userid:
  15224. description: 用户ID(默认为0, 核心为为机构用户ID)
  15225. type: integer
  15226. username:
  15227. description: 用户名称
  15228. type: string
  15229. type: object
  15230. models.QhjTeamOrder:
  15231. properties:
  15232. accountid:
  15233. description: 账户ID[报价币种]
  15234. type: integer
  15235. accountname:
  15236. description: 账户名称
  15237. type: string
  15238. agreeunit:
  15239. description: 合约乘数
  15240. type: number
  15241. buyorsell:
  15242. description: 方向 - 0:买 1:卖
  15243. type: integer
  15244. decimalplace:
  15245. description: 报价小数位
  15246. type: integer
  15247. enumdicname:
  15248. description: 单位名称
  15249. type: string
  15250. goodscode:
  15251. description: 商品代码(内部)
  15252. type: string
  15253. goodsid:
  15254. description: 商品ID
  15255. type: integer
  15256. goodsname:
  15257. description: 商品名称
  15258. type: string
  15259. goodunitid:
  15260. description: 报价单位ID
  15261. type: integer
  15262. marketid:
  15263. description: 市场ID
  15264. type: integer
  15265. marketname:
  15266. description: 市场名称
  15267. type: string
  15268. qtydecimalplace:
  15269. description: 成交量小数位
  15270. type: integer
  15271. refereeuserid:
  15272. description: 推荐人ID
  15273. type: integer
  15274. tradeamount:
  15275. description: 成交金额[账户币种,用于所有权]
  15276. type: number
  15277. tradedate:
  15278. description: 交易日(yyyyMMdd)
  15279. type: string
  15280. trademode:
  15281. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15282. 21:竞拍-大宗式 22:受托竞价
  15283. type: integer
  15284. tradeprice:
  15285. description: 成交价格
  15286. type: number
  15287. tradeqty:
  15288. description: 成交数量
  15289. type: number
  15290. tradetime:
  15291. description: 成交时间
  15292. type: string
  15293. userid:
  15294. description: 用户ID
  15295. type: integer
  15296. type: object
  15297. models.QhjTradeGoodsPickup:
  15298. properties:
  15299. accountid:
  15300. description: 账户ID
  15301. type: integer
  15302. address:
  15303. description: 提货人详细地址
  15304. type: string
  15305. amount:
  15306. description: 提货金额
  15307. type: number
  15308. artradedate:
  15309. description: 自动收货交易日(yyyyMMdd)
  15310. type: string
  15311. auditer:
  15312. description: 审核人
  15313. type: integer
  15314. auditsrc:
  15315. description: 更新来源 - 1:管理端 2:终端
  15316. type: integer
  15317. audittime:
  15318. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  15319. type: string
  15320. audittradedate:
  15321. description: 审核交易日(yyyyMMdd)
  15322. type: string
  15323. cardnum:
  15324. description: 提货人证件号码
  15325. type: string
  15326. cardtypeid:
  15327. description: 提货人证件类型
  15328. type: integer
  15329. checkremark:
  15330. description: 审核备注
  15331. type: string
  15332. cityid:
  15333. description: 市
  15334. type: integer
  15335. cityname:
  15336. description: 城市名称
  15337. type: string
  15338. confirmtime:
  15339. description: 取货时间 或 收货时间
  15340. type: string
  15341. countryid:
  15342. description: 国家
  15343. type: integer
  15344. countryname:
  15345. description: 国家名称
  15346. type: string
  15347. decimalplace:
  15348. description: 商品报价小数位
  15349. type: integer
  15350. districtid:
  15351. description: 地区
  15352. type: integer
  15353. districtname:
  15354. description: 地区名称
  15355. type: string
  15356. enumdicname:
  15357. description: 单位名称(提货商品)
  15358. type: string
  15359. expresscompany:
  15360. description: 物流公司
  15361. type: string
  15362. expressnum:
  15363. description: 物流单号
  15364. type: string
  15365. goodsagreeunit:
  15366. description: 交易商品乘数
  15367. type: number
  15368. goodscode:
  15369. description: 商品代码
  15370. type: string
  15371. goodsid:
  15372. description: 商品ID
  15373. type: integer
  15374. goodsname:
  15375. description: 商品名称
  15376. type: string
  15377. goodsqty:
  15378. description: 交易商品手数(69模式按成交量小数位放大取整)
  15379. type: number
  15380. handlestatus:
  15381. description: 处理状态
  15382. type: integer
  15383. logincode:
  15384. description: 账号(登录代码, 有可能为空)
  15385. type: string
  15386. marketid:
  15387. description: 市场ID
  15388. type: integer
  15389. phonenum:
  15390. description: 提货人联系方式
  15391. type: string
  15392. pickupgoodsagreeunit:
  15393. description: 提货商品合约乘数
  15394. type: number
  15395. pickupgoodsid:
  15396. description: 提货商品ID
  15397. type: string
  15398. pickupgoodsname:
  15399. description: 提货商品名称
  15400. type: string
  15401. pickupgoodsqty:
  15402. description: 提货商品手数(数量)
  15403. type: number
  15404. pickupgoodsunitid:
  15405. description: 单位ID(提货商品)
  15406. type: integer
  15407. pickupratio:
  15408. description: 提货系数
  15409. type: number
  15410. preparedays:
  15411. description: 备货期(天)-提货单明细表
  15412. type: integer
  15413. provinceid:
  15414. description: 省
  15415. type: integer
  15416. provincename:
  15417. description: 省名称
  15418. type: string
  15419. qty:
  15420. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  15421. type: number
  15422. qtydecimalplace:
  15423. description: 商品数量小数位
  15424. type: integer
  15425. recivername:
  15426. description: 提货人姓名
  15427. type: string
  15428. reqtime:
  15429. description: 提货申请时间
  15430. type: string
  15431. storeuserid:
  15432. description: 门店用户ID (千海金)
  15433. type: integer
  15434. storeusername:
  15435. description: 门店用户名称
  15436. type: string
  15437. takemode:
  15438. description: 提货方式 - 2:自提 3:配送(邮寄)
  15439. type: integer
  15440. takeorderid:
  15441. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15442. type: string
  15443. takeorderstatus:
  15444. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  15445. 7:已拒绝 8:已撤销
  15446. type: integer
  15447. takeremark:
  15448. description: 提货备注
  15449. type: string
  15450. tradedate:
  15451. description: 交易日(yyyyMMdd)
  15452. type: string
  15453. updatetime:
  15454. description: 更新时间
  15455. type: string
  15456. userid:
  15457. description: 用户ID
  15458. type: integer
  15459. userinfotype:
  15460. description: 客户类型 1-个人 2-企业
  15461. type: integer
  15462. username:
  15463. description: 用户名称
  15464. type: string
  15465. type: object
  15466. models.QhjUserNodeCfgAndStatus:
  15467. properties:
  15468. agreementcontent:
  15469. description: 协议内容
  15470. type: string
  15471. agreementid:
  15472. description: 协议ID
  15473. type: integer
  15474. agreementname:
  15475. description: 协议名称
  15476. type: string
  15477. agreementno:
  15478. description: 协议编号
  15479. type: string
  15480. agreementtype:
  15481. description: 协议类型 - 1:注册 2:登录 3:交易
  15482. type: integer
  15483. agreementversion:
  15484. description: 协议版本号
  15485. type: integer
  15486. configid:
  15487. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  15488. type: integer
  15489. createtime:
  15490. description: 创建时间
  15491. type: string
  15492. goodsid:
  15493. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15494. type: integer
  15495. nodetype:
  15496. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15497. type: integer
  15498. signtimestamp:
  15499. description: 签约状态时间戳(最近一次)
  15500. type: string
  15501. tradedate:
  15502. description: 签约交易日(yyyyMMdd)
  15503. type: string
  15504. userid:
  15505. description: 客户ID
  15506. type: integer
  15507. type: object
  15508. models.Qhjgoodsex:
  15509. properties:
  15510. canfinance:
  15511. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  15512. type: integer
  15513. canregularlybuy:
  15514. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  15515. type: integer
  15516. defaulttradeuserid:
  15517. description: 默认交易用户ID
  15518. type: integer
  15519. deliverygoodsid:
  15520. description: 现货品种ID
  15521. type: integer
  15522. goodsid:
  15523. description: 商品ID(自增ID SEQ_GOODS)
  15524. type: integer
  15525. minamount:
  15526. description: 最小购买金额
  15527. type: number
  15528. regularlybuyminamount:
  15529. description: 定投最小金额
  15530. type: number
  15531. regularlybuyminqty:
  15532. description: 定投最小数量
  15533. type: number
  15534. spotgoodsbrandid:
  15535. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  15536. type: integer
  15537. visibilityforenterprise:
  15538. description: 企业客户是否可见 - 0:不可见 1:可见
  15539. type: integer
  15540. visibilityforpersonal:
  15541. description: 个人客户是否可见 - 0:不可见 1:可见
  15542. type: integer
  15543. wrstandardid:
  15544. description: 现货商品ID
  15545. type: integer
  15546. type: object
  15547. models.QueryErrorInfosRsp:
  15548. properties:
  15549. description:
  15550. description: 异常描述
  15551. type: string
  15552. errorcode:
  15553. description: 异常代码
  15554. type: string
  15555. errorid:
  15556. description: 异常ID
  15557. type: integer
  15558. modulecode:
  15559. description: 所属模块
  15560. type: string
  15561. operatecode:
  15562. description: 所属操作
  15563. type: string
  15564. rownumber:
  15565. description: 行号
  15566. type: string
  15567. required:
  15568. - errorid
  15569. type: object
  15570. models.QueryHedgeOrderDetailRsp:
  15571. properties:
  15572. accountid:
  15573. description: 账户ID
  15574. type: integer
  15575. buyorsell:
  15576. description: 买卖 - 0:买 1:卖
  15577. type: integer
  15578. cancellogincode:
  15579. description: 撤单人
  15580. type: string
  15581. channelbuildtype:
  15582. description: 开平标志 - 0:无 1:建仓 2:平仓
  15583. type: integer
  15584. channelinnerorderstatus:
  15585. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15586. 9:全部成交
  15587. type: integer
  15588. channeloperatetype:
  15589. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15590. type: integer
  15591. closetype:
  15592. description: 平仓方式 - 0:无 1:平今 2:平昨
  15593. type: integer
  15594. curexchangerate:
  15595. description: 当前汇率
  15596. type: number
  15597. decimalplace:
  15598. description: 商品报价小数位
  15599. type: integer
  15600. exchangefullname:
  15601. description: 外部交易所全称
  15602. type: string
  15603. goodscode:
  15604. description: 商品代码(内部)
  15605. type: string
  15606. goodsid:
  15607. description: 商品ID
  15608. type: integer
  15609. goodsname:
  15610. description: 商品名称
  15611. type: string
  15612. marketid:
  15613. description: 市场ID
  15614. type: integer
  15615. openfreezemargin:
  15616. description: 冻结保证金(冻结交易金额)
  15617. type: number
  15618. orderid:
  15619. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15620. type: string
  15621. orderlogincode:
  15622. description: 委托人
  15623. type: string
  15624. orderprice:
  15625. description: 委托价格(账户)
  15626. type: number
  15627. orderqty:
  15628. description: 委托数量
  15629. type: integer
  15630. ordertime:
  15631. description: 委托时间
  15632. type: string
  15633. pricemode:
  15634. description: '取价方式 - 1:市价 2: 限价'
  15635. type: integer
  15636. tradedate:
  15637. description: 交易日(yyyyMMdd)
  15638. type: string
  15639. tradeqty:
  15640. description: 成交数量
  15641. type: integer
  15642. type: object
  15643. models.QueryHedgeTradeDetailRsp:
  15644. properties:
  15645. accountid:
  15646. description: 账号ID
  15647. type: integer
  15648. buyorsell:
  15649. description: 方向 - 0:买 1:卖
  15650. type: integer
  15651. channelbuildtype:
  15652. description: 委托单据类型 0:无 1:建仓 2:平仓
  15653. type: integer
  15654. closecharge:
  15655. description: 平仓手续费(账户)
  15656. type: number
  15657. closecharge2:
  15658. description: 平仓手续费(商品)
  15659. type: number
  15660. closepl:
  15661. description: 平仓盈亏(账户)
  15662. type: number
  15663. closepl2:
  15664. description: 平仓盈亏(商品)
  15665. type: number
  15666. closepl3:
  15667. description: 平仓盈亏(账户)(逐笔)
  15668. type: number
  15669. closepl4:
  15670. description: 平仓盈亏(商品)(逐笔)
  15671. type: number
  15672. closetype:
  15673. description: 平仓方式 - 0:无 1:平今 2:平昨
  15674. type: integer
  15675. curexchangerate:
  15676. description: 当前汇率
  15677. type: number
  15678. decimalplace:
  15679. description: 商品报价小数位
  15680. type: integer
  15681. exchangefullname:
  15682. description: 外部交易所全称
  15683. type: string
  15684. goodscode:
  15685. description: 商品代码(内部)
  15686. type: string
  15687. goodsid:
  15688. description: 商品ID
  15689. type: integer
  15690. goodsname:
  15691. description: 商品名称
  15692. type: string
  15693. marketid:
  15694. description: 市场ID
  15695. type: integer
  15696. opencharge:
  15697. description: 建仓手续费(账户)
  15698. type: number
  15699. opencharge2:
  15700. description: 建仓手续费(商品)
  15701. type: number
  15702. orderid:
  15703. description: 委托单号
  15704. type: string
  15705. orderlogincode:
  15706. description: 委托人
  15707. type: string
  15708. tradeamount:
  15709. description: 成交金额(账户)
  15710. type: number
  15711. tradedate:
  15712. description: 交易日(yyyyMMdd)
  15713. type: string
  15714. tradeid:
  15715. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15716. type: string
  15717. tradeprice:
  15718. description: 成交价格
  15719. type: number
  15720. tradeqty:
  15721. description: 成交数量
  15722. type: integer
  15723. tradetime:
  15724. description: 成交时间
  15725. type: string
  15726. tradetype:
  15727. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15728. type: integer
  15729. type: object
  15730. models.QuotePrimaryMenu:
  15731. properties:
  15732. Index:
  15733. description: 序号
  15734. type: integer
  15735. Key:
  15736. description: 键名
  15737. type: string
  15738. Name:
  15739. description: 菜单名称
  15740. type: string
  15741. SubMenus:
  15742. description: 子菜单
  15743. items:
  15744. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15745. type: array
  15746. SubTitleType:
  15747. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15748. type: integer
  15749. TradeModes:
  15750. description: 包含市场交易类型
  15751. type: string
  15752. type: object
  15753. models.QuoteSecondaryMenu:
  15754. properties:
  15755. ExExchangeCode:
  15756. description: 外部交易所代码
  15757. type: string
  15758. ExExchangeID:
  15759. description: 外部交易所ID
  15760. type: integer
  15761. GoodsGroupIDs:
  15762. description: 商品组ID列表
  15763. items:
  15764. type: integer
  15765. type: array
  15766. Index:
  15767. description: 序号
  15768. type: integer
  15769. MarketID:
  15770. description: 市场ID
  15771. type: integer
  15772. MenuTitle:
  15773. description: 菜单标题(市场名称或外部交易所名称)
  15774. type: string
  15775. TradeMode:
  15776. description: 交易模式
  15777. type: integer
  15778. type: object
  15779. models.Reckondaytaaccount:
  15780. properties:
  15781. accountid:
  15782. description: 资金账户ID
  15783. type: integer
  15784. accountname:
  15785. description: 账户名称
  15786. type: string
  15787. accountpl:
  15788. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  15789. type: number
  15790. avaiablemoney:
  15791. description: 可用资金
  15792. type: number
  15793. avaiableoutmoney:
  15794. description: 可出资金
  15795. type: number
  15796. balance:
  15797. description: 期初余额
  15798. type: number
  15799. capitalbalance:
  15800. description: 本金余额[外部子账户实际出入金余额]
  15801. type: number
  15802. changeflag:
  15803. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15804. type: integer
  15805. clearbalance:
  15806. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  15807. type: number
  15808. clearpl:
  15809. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  15810. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  15811. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  15812. type: number
  15813. closepl:
  15814. description: 今日平仓盈亏
  15815. type: number
  15816. closepl2:
  15817. description: 平仓盈亏(逐笔)
  15818. type: number
  15819. creditdecrease:
  15820. description: 今日授信减少
  15821. type: number
  15822. creditincrease:
  15823. description: 今日授信增加
  15824. type: number
  15825. curdebt:
  15826. description: 期末欠款
  15827. type: number
  15828. currencyid:
  15829. description: 货币ID
  15830. type: integer
  15831. currentbalance:
  15832. description: 期末余额
  15833. type: number
  15834. cycletype:
  15835. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  15836. type: integer
  15837. defercharge:
  15838. description: 今日递延费2支出[111, 112]
  15839. type: number
  15840. deliveryamountin:
  15841. description: 今日交收货款收入
  15842. type: number
  15843. deliveryamountout:
  15844. description: 今日交收货款支出
  15845. type: number
  15846. deliverycharge:
  15847. description: 今日交收手续费支出 [105,106]
  15848. type: number
  15849. deliverycompensationfeein:
  15850. description: 今日交收补偿费收入
  15851. type: number
  15852. deliverycompensationfeeout:
  15853. description: 今日交收补偿费支出
  15854. type: number
  15855. dividedcharge:
  15856. description: 今日已收手续费分成
  15857. type: number
  15858. floatnetvalue:
  15859. description: 浮动净值 = 净值 + 浮动盈亏
  15860. type: number
  15861. floatpl:
  15862. description: 浮动盈亏 - 每日有负债类商品
  15863. type: number
  15864. freezecharge:
  15865. description: 手续费冻结
  15866. type: number
  15867. freezemargin:
  15868. description: 冻结保证金
  15869. type: number
  15870. fromaccountid:
  15871. description: 所属上级账户
  15872. type: integer
  15873. holdcharge:
  15874. description: 今日持仓过夜费支出[108,109,110]
  15875. type: number
  15876. inamount:
  15877. description: 今日入金金额
  15878. type: number
  15879. interestcharge:
  15880. description: 今日递延费支出[103, 104]
  15881. type: number
  15882. ismain:
  15883. description: 是否账号 0:不是母账户 1:是母账户
  15884. type: integer
  15885. ismarketaccount:
  15886. description: 是否机构接单账号 0:不是 1:是
  15887. type: integer
  15888. isreckonaccount:
  15889. description: 是否机构分润账号 0:不是 1:是
  15890. type: integer
  15891. mortgagecredit:
  15892. description: 授信金额
  15893. type: number
  15894. netvalue:
  15895. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  15896. type: number
  15897. oridebt:
  15898. description: 期初欠款
  15899. type: number
  15900. orifreezecharge:
  15901. description: 期初手续费冻结
  15902. type: number
  15903. orifreezemargin:
  15904. description: 期初冻结保证金
  15905. type: number
  15906. orimortgagecredit:
  15907. description: 期初授信金额
  15908. type: number
  15909. oriothercredit:
  15910. description: 期初其它授信金额
  15911. type: number
  15912. oriotherfreezemargin:
  15913. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15914. type: number
  15915. orioutamountfreeze:
  15916. description: 期初出金冻结
  15917. type: number
  15918. oriusedmargin:
  15919. description: 期初占用保证金
  15920. type: number
  15921. othercredit:
  15922. description: 其它授信金额
  15923. type: number
  15924. othercreditdecrease:
  15925. description: 今日其它授信减少
  15926. type: number
  15927. othercreditincrease:
  15928. description: 今日其它授信增加
  15929. type: number
  15930. otherfreezemargin:
  15931. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15932. type: number
  15933. otherincome:
  15934. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15935. type: number
  15936. otherpay:
  15937. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15938. type: number
  15939. outamount:
  15940. description: 今日出金金额
  15941. type: number
  15942. outamountfreeze:
  15943. description: 出金冻结
  15944. type: number
  15945. outthreshold:
  15946. description: 出金阈值
  15947. type: number
  15948. ownershipvalue:
  15949. description: 所有权市值
  15950. type: number
  15951. parentaccountid:
  15952. description: 所属根账户
  15953. type: integer
  15954. password:
  15955. description: 资金密码
  15956. type: string
  15957. paycharge:
  15958. description: 今日手续费支出
  15959. type: number
  15960. paycharge2:
  15961. description: 今日手续费支出(外部配置)
  15962. type: number
  15963. payexchcharge:
  15964. description: 今日应付交易所手续费
  15965. type: number
  15966. reckondate:
  15967. description: 日照日期(yyyyMMdd)
  15968. type: string
  15969. reckonpl:
  15970. description: 今日结算盈亏
  15971. type: number
  15972. reckonpl2:
  15973. description: 结算盈亏(逐笔) - 汇总取期末
  15974. type: number
  15975. relatedaccountstatus:
  15976. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15977. type: integer
  15978. relateuserid:
  15979. description: 关联用户
  15980. type: integer
  15981. riskrate:
  15982. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  15983. type: number
  15984. signstatus:
  15985. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  15986. type: integer
  15987. spotvalue:
  15988. description: 现货市值-统计服务更新
  15989. type: number
  15990. sublevelpath:
  15991. description: 账号层级路径(逗号分隔,首尾加逗号)
  15992. type: string
  15993. taaccounttype:
  15994. description: 外部/内部账号 - 1:外部账号 2:内部账号
  15995. type: integer
  15996. thirdinamount:
  15997. description: 今日三方入金
  15998. type: number
  15999. thirdoutamount:
  16000. description: 今日三方出金
  16001. type: number
  16002. tradeamount:
  16003. description: 今日成交金额
  16004. type: number
  16005. tradecharge:
  16006. description: 今日交易手续费支出 [101,102]
  16007. type: number
  16008. tradeqty:
  16009. description: 今日成交量
  16010. type: integer
  16011. tradestatus:
  16012. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  16013. type: integer
  16014. transferamount:
  16015. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  16016. type: number
  16017. usedmargin:
  16018. description: 占用保证金
  16019. type: number
  16020. userid:
  16021. description: 用户ID
  16022. type: integer
  16023. required:
  16024. - userid
  16025. type: object
  16026. models.Reckongzmemtradesum:
  16027. properties:
  16028. buylistingamount:
  16029. description: 买挂牌金额 - 无数据,预留
  16030. type: number
  16031. buylistinglot:
  16032. description: 买挂牌宗数
  16033. type: integer
  16034. buylistingqty:
  16035. description: 买挂牌数量 - 无数据,预留
  16036. type: number
  16037. buytradeamount:
  16038. description: 购买金额
  16039. type: number
  16040. buytradelot:
  16041. description: 购买宗数
  16042. type: integer
  16043. buytradeqty:
  16044. description: 购买数量
  16045. type: number
  16046. marketid:
  16047. description: 市场ID
  16048. type: integer
  16049. reckondate:
  16050. description: 日照日期(yyyyMMdd)
  16051. type: string
  16052. selllistingamount:
  16053. description: 卖挂牌金额
  16054. type: number
  16055. selllistinglot:
  16056. description: 卖挂牌宗数
  16057. type: integer
  16058. selllistingqty:
  16059. description: 卖挂牌数量
  16060. type: number
  16061. selltradeamount:
  16062. description: 销售金额
  16063. type: number
  16064. selltradelot:
  16065. description: 销售宗数
  16066. type: integer
  16067. selltradeqty:
  16068. description: 销售数量
  16069. type: number
  16070. updatetime:
  16071. description: 更新时间
  16072. type: string
  16073. userid:
  16074. description: 用户ID
  16075. type: integer
  16076. zscategory:
  16077. description: 钻石分类 - 枚举”ZSCategory“
  16078. type: integer
  16079. zscategorydisplay:
  16080. type: string
  16081. zscurrencytype:
  16082. description: 货币类型 - 枚举“ZSCurrencyType”
  16083. type: integer
  16084. zscurrencytypedisplay:
  16085. type: string
  16086. zscurrencytypedisplayunit:
  16087. type: string
  16088. required:
  16089. - userid
  16090. type: object
  16091. models.RegisterMoney:
  16092. properties:
  16093. amount:
  16094. description: 红包
  16095. type: number
  16096. type: object
  16097. models.RelatedTaAccount:
  16098. properties:
  16099. accountid:
  16100. description: 资金账户ID
  16101. type: integer
  16102. type: object
  16103. models.RoleMenu:
  16104. properties:
  16105. hasright:
  16106. description: 是否有权限 0-没有权限 1-有权限
  16107. type: integer
  16108. iconame:
  16109. description: 菜单图标
  16110. type: string
  16111. menutype:
  16112. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  16113. type: integer
  16114. parentcode:
  16115. description: 上级资源代码
  16116. type: string
  16117. remark:
  16118. description: 菜单备注
  16119. type: string
  16120. resourcecode:
  16121. description: 菜单代码
  16122. type: string
  16123. resourcelevel:
  16124. description: 级别
  16125. type: integer
  16126. resourcename:
  16127. description: 菜单名称
  16128. type: string
  16129. roleid:
  16130. description: 角色id
  16131. type: integer
  16132. sort:
  16133. description: 排序
  16134. type: integer
  16135. subMenu:
  16136. description: 子级菜单(结构同上层一样, swag解析不出来)
  16137. items:
  16138. $ref: '#/definitions/models.RoleMenu'
  16139. type: array
  16140. url:
  16141. description: URL
  16142. type: string
  16143. userid:
  16144. description: 用户id
  16145. type: integer
  16146. type: object
  16147. models.SearchGoods:
  16148. properties:
  16149. goodscode:
  16150. description: 商品代码(内部)
  16151. type: string
  16152. goodsid:
  16153. description: 商品ID(自增ID SEQ_GOODS)
  16154. type: integer
  16155. goodsname:
  16156. description: 商品名称
  16157. type: string
  16158. marketid:
  16159. description: 所属市场ID
  16160. type: integer
  16161. marketname:
  16162. description: 市场名称
  16163. type: string
  16164. trademode:
  16165. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16166. 21:竞拍-大宗式 22:受托竞价
  16167. type: integer
  16168. required:
  16169. - goodscode
  16170. - goodsid
  16171. - goodsname
  16172. - marketid
  16173. - trademode
  16174. type: object
  16175. models.SellOrder:
  16176. properties:
  16177. accountid:
  16178. description: 资金账号
  16179. type: integer
  16180. applyid:
  16181. description: 申请单ID
  16182. type: integer
  16183. attachment1:
  16184. description: 附件1
  16185. type: string
  16186. attachment2:
  16187. description: 附件2
  16188. type: string
  16189. buyorsell:
  16190. description: 买卖 - 0:买 1:卖
  16191. type: integer
  16192. canbargain:
  16193. description: 是否可议价 - 0:不可 1:可
  16194. type: integer
  16195. cancelqty:
  16196. description: 撤销数量
  16197. type: integer
  16198. canceltime:
  16199. description: 撤销时间
  16200. type: string
  16201. cerno:
  16202. type: string
  16203. chargealgorithm:
  16204. description: 手续费收取方式 1:比率 2:固定
  16205. type: integer
  16206. chargealgorithmvalue:
  16207. description: 手续费设置值(交易所部分)
  16208. type: number
  16209. chargealgorithmvalue2:
  16210. description: 手续费设置值(会员部分)
  16211. type: number
  16212. clientordertime:
  16213. description: 客户端委托时间
  16214. type: string
  16215. cpcertno:
  16216. type: string
  16217. exchangerate:
  16218. description: 汇率[67]
  16219. type: number
  16220. firstratio:
  16221. description: 首付比率 - [挂牌时指定,摘牌时使用]
  16222. type: number
  16223. fixedprice:
  16224. description: '[克拉单价]固定价格 - [挂牌]'
  16225. type: number
  16226. freezecharge:
  16227. description: 冻结手续费
  16228. type: number
  16229. freezefirstamount:
  16230. description: 冻结首付金额 - [摘牌]
  16231. type: number
  16232. freezemargin:
  16233. description: 冻结保证金
  16234. type: number
  16235. goodsno:
  16236. description: 商品编号
  16237. type: string
  16238. imagepath:
  16239. type: string
  16240. isQueryDiamond:
  16241. description: 是否钻石查询
  16242. type: boolean
  16243. isspecified:
  16244. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16245. type: integer
  16246. kppath:
  16247. type: string
  16248. kpweight:
  16249. type: string
  16250. marginalgorithm:
  16251. description: 保证金方式 - 1:比率 2:固定
  16252. type: integer
  16253. marginvalue:
  16254. description: 保证金设置值
  16255. type: number
  16256. marketid:
  16257. description: 市场ID
  16258. type: integer
  16259. marketprice:
  16260. type: string
  16261. orderamount:
  16262. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  16263. type: number
  16264. ordertime:
  16265. description: 委托时间
  16266. type: string
  16267. performancetemplateid:
  16268. description: 履约计划模板ID
  16269. type: integer
  16270. price:
  16271. description: 价格
  16272. type: number
  16273. pricefactor:
  16274. description: 价格系数(浮动价时填写) - [挂牌]
  16275. type: number
  16276. pricemove:
  16277. description: 升贴水(浮动价时填写) - [挂牌]
  16278. type: number
  16279. priceper:
  16280. type: string
  16281. relatedwrtradeorderid:
  16282. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  16283. type: integer
  16284. remainqty:
  16285. description: 剩余重量
  16286. type: number
  16287. remark:
  16288. type: string
  16289. retcode:
  16290. description: 错误代码
  16291. type: integer
  16292. sellusername:
  16293. description: 卖方(查询字段-模糊查询)
  16294. type: string
  16295. settingmaterial:
  16296. description: 镶嵌材料
  16297. type: string
  16298. size1:
  16299. type: string
  16300. size2:
  16301. type: string
  16302. size3:
  16303. type: string
  16304. sizedisplay:
  16305. description: 尺寸
  16306. type: string
  16307. stonedesc:
  16308. description: 配石描述
  16309. type: string
  16310. totalqty:
  16311. description: 总重量
  16312. type: number
  16313. tradedate:
  16314. description: 交易日(yyyyMMdd)
  16315. type: string
  16316. tradeprice:
  16317. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16318. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16319. type: number
  16320. unfreezecharge:
  16321. description: 解冻手续费
  16322. type: number
  16323. unfreezefirstamount:
  16324. description: 解冻首付金额 - [摘牌]
  16325. type: number
  16326. unfreezemargin:
  16327. description: 解冻保证金
  16328. type: number
  16329. userid:
  16330. description: 用户ID
  16331. type: integer
  16332. uuid:
  16333. description: 发起端唯一id
  16334. type: string
  16335. validtime:
  16336. description: 有效期限
  16337. type: string
  16338. validtype:
  16339. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16340. type: integer
  16341. warehousenamedisplay:
  16342. type: string
  16343. wrbargainid:
  16344. description: 议价申请单ID
  16345. type: integer
  16346. wrfactortypeid:
  16347. description: 仓单要素类型ID/商品ID(77)
  16348. type: integer
  16349. wrpath:
  16350. type: string
  16351. wrpricetype:
  16352. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16353. type: integer
  16354. wrstandardid:
  16355. description: 现货商品ID
  16356. type: integer
  16357. wrtradeorderid:
  16358. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16359. type: string
  16360. wrtradeorderstatus:
  16361. 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:撤单解冻贷款失败
  16362. type: integer
  16363. wrtradetype:
  16364. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16365. type: integer
  16366. wrtransferuserid:
  16367. description: 仓单受让用户 - [摘牌]
  16368. type: integer
  16369. zscategory:
  16370. description: 钻石分类 - 枚举”ZSCategory“
  16371. type: integer
  16372. zscategorydisplay:
  16373. description: 钻石分类 - 描述
  16374. type: string
  16375. zscerttypedisplay:
  16376. type: string
  16377. zsclaritytype1display:
  16378. type: string
  16379. zsclaritytype2display:
  16380. type: string
  16381. zscolortype1display:
  16382. type: string
  16383. zscolortype2display:
  16384. type: string
  16385. zscrystaltype:
  16386. type: string
  16387. zscrystaltypedisplay:
  16388. type: string
  16389. zscurrencytype:
  16390. description: 货币类型 - 枚举“ZSCurrencyType”
  16391. type: integer
  16392. zscurrencytypedisplay:
  16393. type: string
  16394. zscurrencytypedisplayunit:
  16395. type: string
  16396. zscuttype1display:
  16397. type: string
  16398. zscuttype2display:
  16399. type: string
  16400. zsczcolor1typedisplay:
  16401. type: string
  16402. zsczcolor2typedisplay:
  16403. type: string
  16404. zsczcolor3typedisplay:
  16405. type: string
  16406. zsfluorescencetype1display:
  16407. type: string
  16408. zsfluorescencetype2display:
  16409. type: string
  16410. zspolishtype1display:
  16411. type: string
  16412. zspolishtype2display:
  16413. type: string
  16414. zsshapetypedisplay:
  16415. type: string
  16416. zsstyletypedisplay:
  16417. type: string
  16418. zssymmetrytype1display:
  16419. type: string
  16420. zssymmetrytype2display:
  16421. type: string
  16422. type: object
  16423. models.SellOrderQueryReq:
  16424. properties:
  16425. origin:
  16426. description: 原产地
  16427. type: string
  16428. page:
  16429. description: 页码
  16430. type: integer
  16431. pagesize:
  16432. description: 每页大小
  16433. type: integer
  16434. total:
  16435. description: 总条数
  16436. type: integer
  16437. warehouseid:
  16438. description: 仓库ID
  16439. type: integer
  16440. weight1:
  16441. description: 总重量(克拉重量)-从
  16442. type: number
  16443. weight2:
  16444. description: 总重量(克拉重量)-至
  16445. type: number
  16446. weightavg1:
  16447. description: 平均单颗重量-从
  16448. type: number
  16449. weightavg2:
  16450. description: 平均单颗重量-至
  16451. type: number
  16452. zscategory:
  16453. description: 钻石分类 - 枚举”ZSCategory“
  16454. type: integer
  16455. zscerttype:
  16456. description: 证书类型
  16457. items:
  16458. type: string
  16459. type: array
  16460. zsclaritytype:
  16461. description: 净度
  16462. items:
  16463. type: integer
  16464. type: array
  16465. zscolortype:
  16466. description: 颜色
  16467. items:
  16468. type: integer
  16469. type: array
  16470. zscurrencytype:
  16471. description: 货币类型 - 枚举“ZSCurrencyType”
  16472. items:
  16473. type: string
  16474. type: array
  16475. zscuttype:
  16476. description: 切工
  16477. items:
  16478. type: integer
  16479. type: array
  16480. zsczcolor1type:
  16481. description: 彩钻颜色1
  16482. items:
  16483. type: string
  16484. type: array
  16485. zsfluorescencetype:
  16486. description: 荧光
  16487. items:
  16488. type: integer
  16489. type: array
  16490. zspolishtype:
  16491. description: 抛光度
  16492. items:
  16493. type: integer
  16494. type: array
  16495. zsshapetype:
  16496. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  16497. items:
  16498. type: string
  16499. type: array
  16500. zsstyletype:
  16501. description: 款式
  16502. items:
  16503. type: string
  16504. type: array
  16505. zssymmetrytype:
  16506. description: 对称度
  16507. items:
  16508. type: integer
  16509. type: array
  16510. required:
  16511. - zscategory
  16512. type: object
  16513. models.Systemparam:
  16514. properties:
  16515. loginid:
  16516. description: 更新用户账号,登录账号
  16517. type: string
  16518. modifyflag:
  16519. description: 修改标志0 不允许修改 1 允许修改
  16520. type: integer
  16521. paramcode:
  16522. description: 参数代码
  16523. type: string
  16524. paramname:
  16525. description: 参数名
  16526. type: string
  16527. paramtype:
  16528. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  16529. type: integer
  16530. paramvalue:
  16531. description: 参数值
  16532. type: string
  16533. paramvalue2:
  16534. description: 参数值(CLOB)
  16535. type: string
  16536. regexpress:
  16537. description: 正则表达式
  16538. type: string
  16539. remark:
  16540. description: 备注
  16541. type: string
  16542. serverip:
  16543. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  16544. type: string
  16545. showflag:
  16546. description: 是否显示0 不显示 1 显示
  16547. type: integer
  16548. updatetime:
  16549. description: 更新时间
  16550. type: string
  16551. userid:
  16552. description: 更新用户ID
  16553. type: integer
  16554. required:
  16555. - paramcode
  16556. type: object
  16557. models.Szdz3convertconfig:
  16558. properties:
  16559. canin:
  16560. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  16561. type: integer
  16562. canout:
  16563. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  16564. type: integer
  16565. converttype:
  16566. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16567. 6:交易转花生米(不设置)
  16568. type: integer
  16569. createtime:
  16570. description: 创建时间
  16571. type: string
  16572. creatorid:
  16573. description: 创建人
  16574. type: integer
  16575. daymaxvalue:
  16576. description: 当日最大转入限制
  16577. type: number
  16578. freezedays:
  16579. description: 冻结天数 [5:花生米转交易]
  16580. type: integer
  16581. innergoodsid:
  16582. description: 内部商品ID[交易]
  16583. type: integer
  16584. inratio:
  16585. description: 目标值
  16586. type: integer
  16587. modifierid:
  16588. description: 修改人
  16589. type: integer
  16590. modifytime:
  16591. description: 修改时间
  16592. type: string
  16593. outergoodscode:
  16594. description: 外部商品代码[JD\PD]
  16595. type: string
  16596. outratio:
  16597. description: 源值
  16598. type: integer
  16599. pddecimalplace:
  16600. description: PD小数位
  16601. type: integer
  16602. timemaxvalue:
  16603. description: 单次最大转入限制
  16604. type: number
  16605. timeminvalue:
  16606. description: 单次最小转入限制
  16607. type: number
  16608. required:
  16609. - converttype
  16610. - innergoodsid
  16611. - outergoodscode
  16612. type: object
  16613. models.Szdz3searchwhitelist:
  16614. properties:
  16615. createtime:
  16616. description: 创建时间
  16617. type: string
  16618. creatorid:
  16619. description: 创建人
  16620. type: integer
  16621. modifierid:
  16622. description: 修改人
  16623. type: integer
  16624. modifytime:
  16625. description: 修改时间
  16626. type: string
  16627. userid:
  16628. description: 用户ID
  16629. type: integer
  16630. required:
  16631. - userid
  16632. type: object
  16633. models.TBGoods:
  16634. properties:
  16635. agreeunit:
  16636. description: 合约乘数
  16637. type: number
  16638. enumdicname:
  16639. description: 单位名称
  16640. type: string
  16641. goodscode:
  16642. description: 商品代码(内部)
  16643. type: string
  16644. goodsid:
  16645. description: 商品ID(自增ID SEQ_GOODS)
  16646. type: integer
  16647. goodsname:
  16648. description: 商品名称
  16649. type: string
  16650. type: object
  16651. models.TBGoodsGroup:
  16652. properties:
  16653. GDLST:
  16654. description: 商品列表
  16655. items:
  16656. $ref: '#/definitions/models.TBGoods'
  16657. type: array
  16658. convertratio:
  16659. description: 折算系数
  16660. type: number
  16661. enumdicname:
  16662. description: 单位名称
  16663. type: string
  16664. exexchangecode:
  16665. description: 交易所代码
  16666. type: string
  16667. exexchangename:
  16668. description: 交易所名称
  16669. type: string
  16670. goodsgroupid:
  16671. description: 商品组ID(自增ID)
  16672. type: integer
  16673. goodsgroupname:
  16674. description: 商品组名称
  16675. type: string
  16676. goodunitid:
  16677. description: 报价单位ID
  16678. type: integer
  16679. type: object
  16680. models.TBMiddleGoods:
  16681. properties:
  16682. GPLST:
  16683. description: 期货品种列表
  16684. items:
  16685. $ref: '#/definitions/models.TBGoodsGroup'
  16686. type: array
  16687. WDLST:
  16688. description: 商品信息列表(现货品类)
  16689. items:
  16690. $ref: '#/definitions/models.TBWrstandard'
  16691. type: array
  16692. areauserid:
  16693. description: 机构用户ID
  16694. type: integer
  16695. enumdicname:
  16696. description: 单位名称
  16697. type: string
  16698. goodsunitid:
  16699. description: 套保品种单位id
  16700. type: integer
  16701. middlegoodscode:
  16702. description: 套保品种代码
  16703. type: string
  16704. middlegoodsid:
  16705. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  16706. type: integer
  16707. middlegoodsname:
  16708. description: 套保品种名称
  16709. type: string
  16710. needarbitrageratio:
  16711. description: 套利比率
  16712. type: number
  16713. needhedgeratio:
  16714. description: 套保比率
  16715. type: number
  16716. type: object
  16717. models.TBWrstandard:
  16718. properties:
  16719. convertratio:
  16720. description: 折算系数
  16721. type: number
  16722. deliverygoodsname:
  16723. description: 品种名称
  16724. type: string
  16725. enumdicname:
  16726. description: 单位名称
  16727. type: string
  16728. vatrate:
  16729. description: 增值税率
  16730. type: number
  16731. wrstandardcode:
  16732. description: 现货商品代码
  16733. type: string
  16734. wrstandardid:
  16735. description: 现货商品ID(SEQ_WRSTANDARD)
  16736. type: integer
  16737. wrstandardname:
  16738. description: 现货商品名称
  16739. type: string
  16740. type: object
  16741. models.THJDeliveryMode:
  16742. properties:
  16743. enumdicname:
  16744. description: 枚举项名称
  16745. type: string
  16746. enumitemname:
  16747. description: 枚举项值
  16748. type: integer
  16749. type: object
  16750. models.THJDeliveryMonth:
  16751. properties:
  16752. enddate:
  16753. description: 预售结束日期(yyyy-mm-dd)
  16754. type: string
  16755. endmonth:
  16756. description: 预售结束月份(yyyy-mm)
  16757. type: string
  16758. orderqty:
  16759. description: 委托数量
  16760. type: integer
  16761. presaleapplyid:
  16762. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16763. type: string
  16764. remainqty:
  16765. description: 可用数量
  16766. type: integer
  16767. tradeqty:
  16768. description: 成交数量
  16769. type: integer
  16770. unitprice:
  16771. description: '[参考价]商品单价'
  16772. type: number
  16773. type: object
  16774. models.THJGoodsDetailRsp:
  16775. properties:
  16776. goodsinfo:
  16777. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  16778. description: 商品信息
  16779. spotgoodspricelogs:
  16780. description: 历史价格走势
  16781. items:
  16782. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  16783. type: array
  16784. type: object
  16785. models.THJPresaleApplyDeposit:
  16786. properties:
  16787. depositid:
  16788. description: 自增ID autoid
  16789. type: integer
  16790. depositrate:
  16791. description: 定金比例
  16792. type: number
  16793. discountamount:
  16794. description: 优惠金额(每吨)
  16795. type: number
  16796. presaleapplyid:
  16797. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16798. type: string
  16799. type: object
  16800. models.THJProduct:
  16801. properties:
  16802. bannerpicurl:
  16803. description: Banner图(逗号分隔)
  16804. type: string
  16805. pictureurls:
  16806. description: 详情图片(逗号分隔)
  16807. type: string
  16808. wrstandardcode:
  16809. description: 现货商品代码
  16810. type: string
  16811. wrstandardid:
  16812. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16813. type: string
  16814. wrstandardname:
  16815. description: 现货商品名称
  16816. type: string
  16817. type: object
  16818. models.THJSigninReq:
  16819. properties:
  16820. userid:
  16821. description: 用户ID
  16822. type: integer
  16823. required:
  16824. - userid
  16825. type: object
  16826. models.THJSigninRsp:
  16827. properties:
  16828. signinstatus:
  16829. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  16830. type: integer
  16831. type: object
  16832. models.THJSpotGoodsPriceLog:
  16833. properties:
  16834. spotgoodsprice:
  16835. description: 现货价格
  16836. type: number
  16837. tradedate:
  16838. description: 交易日(yyyyMMdd)
  16839. type: string
  16840. type: object
  16841. models.THJTradeData:
  16842. properties:
  16843. accountname:
  16844. description: 被推荐人
  16845. type: string
  16846. buytradelot:
  16847. description: 购买笔数
  16848. type: integer
  16849. buytradeqty:
  16850. description: 购买数量
  16851. type: number
  16852. marketid:
  16853. description: 市场ID 采购-64201 供求-65201
  16854. type: integer
  16855. reckondate:
  16856. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  16857. type: string
  16858. selltradelot:
  16859. description: 销售笔数
  16860. type: integer
  16861. selltradeqty:
  16862. description: 销售数量
  16863. type: number
  16864. userid:
  16865. description: 用户ID
  16866. type: integer
  16867. wrstandardname:
  16868. description: 现货商品名称
  16869. type: string
  16870. required:
  16871. - marketid
  16872. - userid
  16873. type: object
  16874. models.THJWrstandard:
  16875. properties:
  16876. thumurls:
  16877. description: 缩略图片(1:1)(逗号分隔)
  16878. type: string
  16879. wrstandardcode:
  16880. description: 现货商品代码
  16881. type: string
  16882. wrstandardid:
  16883. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16884. type: integer
  16885. wrstandardname:
  16886. description: 现货商品名称(模糊查询)
  16887. type: string
  16888. type: object
  16889. models.THJWrstandardDetail_GoodsInfo:
  16890. properties:
  16891. pictureurls:
  16892. description: 详情图片(逗号分隔)
  16893. type: string
  16894. spotgoodsprice:
  16895. description: 现货价格
  16896. type: number
  16897. unitid:
  16898. description: 现货商品单位ID
  16899. type: integer
  16900. wrstandardcode:
  16901. description: 现货商品代码
  16902. type: string
  16903. wrstandardid:
  16904. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16905. type: integer
  16906. wrstandardname:
  16907. description: 现货商品名称
  16908. type: string
  16909. type: object
  16910. models.THJWrstandardDetailRsp:
  16911. properties:
  16912. deliverymodes:
  16913. description: 交割方式
  16914. items:
  16915. $ref: '#/definitions/models.THJDeliveryMode'
  16916. type: array
  16917. deliverymonth:
  16918. description: 交割月份
  16919. items:
  16920. $ref: '#/definitions/models.THJDeliveryMonth'
  16921. type: array
  16922. goodsinfo:
  16923. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  16924. description: 商品信息
  16925. presaleapplydeposits:
  16926. description: 支付方式
  16927. items:
  16928. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  16929. type: array
  16930. spotgoodspricelogs:
  16931. description: 历史价格走势
  16932. items:
  16933. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  16934. type: array
  16935. type: object
  16936. models.Taaccount:
  16937. properties:
  16938. accountflag:
  16939. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  16940. type: integer
  16941. accountid:
  16942. description: 资金账户ID
  16943. type: integer
  16944. accountname:
  16945. description: 账户名称
  16946. type: string
  16947. balance:
  16948. description: 期初余额
  16949. type: number
  16950. capitalbalance:
  16951. description: 本金余额[外部子账户实际出入金余额]
  16952. type: number
  16953. changeflag:
  16954. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  16955. type: integer
  16956. changetime:
  16957. description: 账户状态变更时间
  16958. type: string
  16959. closepl:
  16960. description: 今日平仓盈亏
  16961. type: number
  16962. creditdecrease:
  16963. description: 今日授信减少
  16964. type: number
  16965. creditincrease:
  16966. description: 今日授信增加
  16967. type: number
  16968. curamount:
  16969. description: 总市值(从持仓中统计)
  16970. type: number
  16971. currencyid:
  16972. description: 货币ID
  16973. type: integer
  16974. currentbalance:
  16975. description: 期末余额
  16976. type: number
  16977. freezecharge:
  16978. description: 手续费冻结
  16979. type: number
  16980. freezemargin:
  16981. description: 冻结保证金
  16982. type: number
  16983. fromaccountid:
  16984. description: 所属上级账户
  16985. type: integer
  16986. inamount:
  16987. description: 今日入金金额(包括三方入金)
  16988. type: number
  16989. ismain:
  16990. description: 是否母账号 0:不是母账户 1:是母账户
  16991. type: integer
  16992. ismarketaccount:
  16993. description: 是否机构接单账号 0:不是 1:是
  16994. type: integer
  16995. isreckonaccount:
  16996. description: 是否机构分润账号 0:不是 1:是
  16997. type: integer
  16998. mortgagecredit:
  16999. description: 授信金额
  17000. type: number
  17001. orifreezecharge:
  17002. description: 期初手续费冻结
  17003. type: number
  17004. orifreezemargin:
  17005. description: 期初冻结保证金
  17006. type: number
  17007. orimortgagecredit:
  17008. description: 期初授信金额
  17009. type: number
  17010. oriothercredit:
  17011. description: 期初其它授信金额
  17012. type: number
  17013. oriotherfreezemargin:
  17014. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17015. type: number
  17016. orioutamountfreeze:
  17017. description: 期初出金冻结
  17018. type: number
  17019. oriusedmargin:
  17020. description: 期初占用保证金
  17021. type: number
  17022. othercredit:
  17023. description: 其它授信金额
  17024. type: number
  17025. othercreditdecrease:
  17026. description: 今日其它授信减少
  17027. type: number
  17028. othercreditincrease:
  17029. description: 今日其它授信增加
  17030. type: number
  17031. otherfreezemargin:
  17032. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  17033. type: number
  17034. otherincome:
  17035. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  17036. type: number
  17037. otherpay:
  17038. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  17039. type: number
  17040. outamount:
  17041. description: 今日出金金额(包括三方出金)
  17042. type: number
  17043. outamountfreeze:
  17044. description: 出金冻结
  17045. type: number
  17046. outthreshold:
  17047. description: 出金阈值
  17048. type: number
  17049. parentaccountid:
  17050. description: 所属根账号
  17051. type: integer
  17052. paycharge:
  17053. description: 今日手续费支出
  17054. type: number
  17055. relatedaccountstatus:
  17056. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  17057. type: integer
  17058. relateduserid:
  17059. description: 关联用户
  17060. type: integer
  17061. remainamount:
  17062. description: 融资额(从融资合同中统计)
  17063. type: number
  17064. serivcegroup:
  17065. description: 服务分组
  17066. type: integer
  17067. signstatus:
  17068. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  17069. type: integer
  17070. sublevelpath:
  17071. description: 账号层级路径(逗号分隔,首尾加逗号)
  17072. type: string
  17073. taaccounttype:
  17074. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17075. type: integer
  17076. thirdinamount:
  17077. description: 今日三方入金
  17078. type: number
  17079. thirdoutamount:
  17080. description: 今日三方出金
  17081. type: number
  17082. tradestatus:
  17083. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  17084. type: integer
  17085. tradestatuschangetime:
  17086. description: 激活时间
  17087. type: string
  17088. transferamount:
  17089. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  17090. type: number
  17091. usedmargin:
  17092. description: 占用保证金
  17093. type: number
  17094. userid:
  17095. description: 用户ID
  17096. type: integer
  17097. required:
  17098. - accountid
  17099. - userid
  17100. type: object
  17101. models.Tablecolumnconfig:
  17102. properties:
  17103. aligntype:
  17104. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  17105. type: integer
  17106. autoid:
  17107. description: AutoID
  17108. type: integer
  17109. columnfield:
  17110. description: 列字段
  17111. type: string
  17112. columntitle:
  17113. description: 列Title
  17114. type: string
  17115. columnwidth:
  17116. description: 列宽
  17117. type: string
  17118. fixed:
  17119. description: 固定类型 - 空 | left | right
  17120. type: string
  17121. formatterstring:
  17122. description: 格式化字符
  17123. type: string
  17124. formattertype:
  17125. description: 格式化类型
  17126. type: string
  17127. groupname:
  17128. description: 表头分组名称
  17129. type: string
  17130. ismerge:
  17131. description: 是否合并显示 - 0:不合并 1:合并
  17132. type: integer
  17133. isshow:
  17134. description: 是否显示 - 0:不显示 1:显示
  17135. type: integer
  17136. needsummary:
  17137. description: 是否需要汇总 - 0:不需要 1:需要
  17138. type: integer
  17139. orderindex:
  17140. description: 顺序
  17141. type: integer
  17142. remark:
  17143. description: 备注
  17144. type: string
  17145. summarytype:
  17146. description: 汇总类型 - 1:加总 2:最后一个
  17147. type: integer
  17148. tablekey:
  17149. description: 列表Key
  17150. type: string
  17151. required:
  17152. - autoid
  17153. type: object
  17154. models.Thjpurchasetradedetail:
  17155. properties:
  17156. buyaccountid:
  17157. description: 买方账号ID
  17158. type: integer
  17159. buychargevalue:
  17160. description: 买方到期手续费
  17161. type: number
  17162. buyconfirmremark:
  17163. description: 买方确认备注
  17164. type: string
  17165. buyconfirmtime:
  17166. description: 买方确认时间
  17167. type: string
  17168. buyfreezecharge:
  17169. description: 买方摘牌冻结手续费
  17170. type: number
  17171. buyuserid:
  17172. description: 买方用户ID
  17173. type: integer
  17174. contactinfo:
  17175. description: 联系方式
  17176. type: string
  17177. contactname:
  17178. description: 联系人姓名
  17179. type: string
  17180. contractaddrbuy:
  17181. description: 贸易合同地址(买家)
  17182. type: string
  17183. contractaddrsell:
  17184. description: 贸易合同地址(卖家)
  17185. type: string
  17186. deliverygoodsid:
  17187. description: 现货品种ID
  17188. type: integer
  17189. depositrate:
  17190. description: 定金比例
  17191. type: number
  17192. desaddress:
  17193. description: 目的地地址
  17194. type: string
  17195. discountamount:
  17196. description: 优惠总金额(优惠金额*TradeQty)
  17197. type: number
  17198. handlestatus:
  17199. description: 处理状态
  17200. type: integer
  17201. lastamount:
  17202. description: 到期总货款 = 到期价格 * 摘牌数量
  17203. type: number
  17204. lastprice:
  17205. description: '[实际价]到期价格'
  17206. type: number
  17207. lastpricedate:
  17208. description: 到期价格日期 - 暂不使用
  17209. type: string
  17210. marketid:
  17211. description: 市场ID
  17212. type: integer
  17213. orderstatus:
  17214. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  17215. (枚举:THJOrderStatus)
  17216. type: integer
  17217. payeddeposit:
  17218. description: '[定金]买方已付定金'
  17219. type: number
  17220. payedtradedate:
  17221. description: 支付尾款成功交易日
  17222. type: string
  17223. presaleapplyid:
  17224. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17225. type: integer
  17226. receiptinfo:
  17227. description: 发票信息
  17228. type: string
  17229. remainamount:
  17230. description: '[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额'
  17231. type: number
  17232. sellaccountid:
  17233. description: 卖方账号ID
  17234. type: integer
  17235. sellchargevalue:
  17236. description: 卖方到期手续费
  17237. type: number
  17238. sellconfirmattach:
  17239. description: 卖方确认附件
  17240. type: string
  17241. sellconfirmremark:
  17242. description: 卖方确认备注
  17243. type: string
  17244. sellconfirmtime:
  17245. description: 卖方确认时间
  17246. type: string
  17247. sellconfirmtradedate:
  17248. description: 卖方确认交易日
  17249. type: string
  17250. selluserid:
  17251. description: 卖方用户ID
  17252. type: integer
  17253. thjdeliverymode:
  17254. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  17255. type: integer
  17256. thjdeliverymodedisplay:
  17257. description: 提货方式
  17258. type: string
  17259. thjorderstatusdisplay:
  17260. description: 状态
  17261. type: string
  17262. tradeamount:
  17263. description: 摘牌总货款
  17264. type: number
  17265. tradedate:
  17266. description: 交易日(yyyyMMdd)
  17267. type: string
  17268. tradeprice:
  17269. description: 摘牌价格
  17270. type: number
  17271. tradeqty:
  17272. description: '[预售价]摘牌数量'
  17273. type: integer
  17274. tradetime:
  17275. description: 摘牌时间
  17276. type: string
  17277. warehouseid:
  17278. description: 仓库ID
  17279. type: integer
  17280. warehousename:
  17281. description: 仓库名称
  17282. type: string
  17283. wrfactortypeid:
  17284. description: 仓单要素类型ID
  17285. type: integer
  17286. wrstandardid:
  17287. description: 现货商品ID
  17288. type: integer
  17289. wrstandardname:
  17290. description: 现货商品名称
  17291. type: string
  17292. wrtradedetailid:
  17293. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17294. type: integer
  17295. required:
  17296. - buyuserid
  17297. type: object
  17298. models.Thjscoreconfig:
  17299. properties:
  17300. parma1:
  17301. description: 参数1
  17302. type: integer
  17303. parma2:
  17304. description: 参数2
  17305. type: integer
  17306. parma3:
  17307. description: 参数3
  17308. type: integer
  17309. parma4:
  17310. description: 参数4
  17311. type: integer
  17312. parma5:
  17313. description: 参数5
  17314. type: integer
  17315. parma6:
  17316. description: 参数6
  17317. type: integer
  17318. parma7:
  17319. description: 参数6
  17320. type: integer
  17321. scoreconfigtype:
  17322. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  17323. 7:抽奖得红包
  17324. type: integer
  17325. type: object
  17326. models.TjmdHolderDetailTradeInfo:
  17327. properties:
  17328. agreeunit:
  17329. description: 合约乘数
  17330. type: number
  17331. buyaccountid:
  17332. description: 买方账户
  17333. type: string
  17334. buyusername:
  17335. description: 买方
  17336. type: string
  17337. delistingdate:
  17338. description: 最后结算日
  17339. type: string
  17340. expiredate:
  17341. description: 到期结算价定价日
  17342. type: string
  17343. exprieprice:
  17344. description: 到期清算价格
  17345. type: string
  17346. goodscode:
  17347. description: 商品代码
  17348. type: string
  17349. goodsid:
  17350. description: 商品ID
  17351. type: integer
  17352. goodsname:
  17353. description: 商品名称(交易标的)
  17354. type: string
  17355. lasttradedate:
  17356. description: 最后交易日
  17357. type: string
  17358. listingdate:
  17359. description: 开始交易日
  17360. type: string
  17361. openprice:
  17362. description: 成交价
  17363. type: number
  17364. openqty:
  17365. description: 交易数量
  17366. type: integer
  17367. sellaccountid:
  17368. description: 卖方账户
  17369. type: string
  17370. sellusername:
  17371. description: 卖方
  17372. type: string
  17373. tradeamount:
  17374. description: 初始名义价值
  17375. type: number
  17376. tradedate:
  17377. description: 成交日期
  17378. type: string
  17379. tradeid:
  17380. description: 成交编号
  17381. type: string
  17382. type: object
  17383. models.TjmdMarketSection:
  17384. properties:
  17385. marketsectionid:
  17386. description: 市场版块ID(SEQ_MARKETSECTION)
  17387. type: integer
  17388. marketsectionname:
  17389. description: 市场版块名称
  17390. type: string
  17391. mlist:
  17392. description: 市场列表(板块下面有多少个市场)
  17393. items:
  17394. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  17395. type: array
  17396. orderindex:
  17397. description: 排序
  17398. type: integer
  17399. pictureurl:
  17400. description: 图片url, 规格(90*90)
  17401. type: string
  17402. remark:
  17403. description: 备注
  17404. type: string
  17405. type: object
  17406. models.TjmdMarketSectionConfig:
  17407. properties:
  17408. auctionwrtype:
  17409. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  17410. type: integer
  17411. canacceptquote:
  17412. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  17413. type: integer
  17414. cangoodsexercise:
  17415. description: '[期权]是否可现货行权- 0:否 1:是'
  17416. type: integer
  17417. cangoodsexercisetype:
  17418. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  17419. type: integer
  17420. canmanualquotestrike:
  17421. description: 是否可手动报行权价- 0:否 1:是 [期权]
  17422. type: integer
  17423. canmutistage:
  17424. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  17425. type: integer
  17426. canpreexercise:
  17427. description: '[期权]是否可预申报- 0:否 1:是'
  17428. type: integer
  17429. clearinterval:
  17430. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  17431. type: integer
  17432. contracttmp:
  17433. description: 合同模板[荷兰式][竞价式][仓单贸易]
  17434. type: string
  17435. exchareaid:
  17436. description: 所属交易所,可以没有
  17437. type: integer
  17438. financemarketid:
  17439. description: 融资回购市场ID [仓单贸易]
  17440. type: integer
  17441. goodstype:
  17442. description: 商品类型 - 1:交易商品 2:仓单商品
  17443. type: integer
  17444. hasrebate:
  17445. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  17446. type: integer
  17447. hastradecredit:
  17448. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  17449. type: integer
  17450. haswr:
  17451. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  17452. type: integer
  17453. isdeductmargin:
  17454. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  17455. type: integer
  17456. isrecordsource:
  17457. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  17458. type: integer
  17459. isreleasemargin:
  17460. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  17461. type: integer
  17462. isupdatereckonprice:
  17463. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  17464. type: integer
  17465. listingmode:
  17466. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17467. type: integer
  17468. marginformula:
  17469. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17470. type: integer
  17471. marginformula2:
  17472. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17473. type: integer
  17474. marketid:
  17475. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  17476. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  17477. type: integer
  17478. marketname:
  17479. description: 市场名称
  17480. type: string
  17481. marketsectionid:
  17482. description: 市场版块ID(SEQ_MARKETSECTION)
  17483. type: integer
  17484. marketserviceid:
  17485. description: 市场服务ID
  17486. type: integer
  17487. marketstatus:
  17488. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  17489. type: integer
  17490. markettype:
  17491. description: 市场类型- 1:非交易服务 2:交易服务
  17492. type: integer
  17493. matchermode:
  17494. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  17495. type: integer
  17496. nowrquotaflag:
  17497. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  17498. type: integer
  17499. openmethod:
  17500. description: 开盘模式 - 0 自动 1手动
  17501. type: integer
  17502. orderindex:
  17503. description: 排序
  17504. type: integer
  17505. otcuserid:
  17506. description: 场外期权做市商[场外期权]
  17507. type: integer
  17508. outersynctime:
  17509. description: 外部同步时间点(h24:mi:ss)[场外期权]
  17510. type: string
  17511. paylaterflag:
  17512. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  17513. type: integer
  17514. pendingflag:
  17515. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  17516. type: integer
  17517. pendingtime:
  17518. description: 待开市时间[通道交易-对冲](HH:mm)
  17519. type: string
  17520. performancetempid:
  17521. description: 履约计划模板ID - 作废
  17522. type: integer
  17523. premiumquotemode:
  17524. description: 权利金报价方式 - 1:自动 2:手动
  17525. type: integer
  17526. rebateratio:
  17527. description: 返利比率[竞价式]
  17528. type: number
  17529. reckonorder:
  17530. description: 结算顺序
  17531. type: integer
  17532. reckonpricealgorithm:
  17533. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  17534. 6.卖一价 7.买一卖一均价 8.外部结算价'
  17535. type: integer
  17536. reckonpriceparam:
  17537. description: 结算价参数
  17538. type: integer
  17539. reckontime:
  17540. description: 结算时间[通道交易-对冲](HH:mm)
  17541. type: string
  17542. roleprioritytype:
  17543. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  17544. type: integer
  17545. selllistingauditflag:
  17546. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  17547. type: integer
  17548. trademarkettype:
  17549. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  17550. type: integer
  17551. trademode:
  17552. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17553. 21:竞拍-大宗式 22:受托竞价
  17554. type: integer
  17555. tradeproperty:
  17556. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  17557. 8:场外期权
  17558. type: integer
  17559. tradetype:
  17560. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  17561. type: integer
  17562. updatereckonpriceinterval:
  17563. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  17564. type: integer
  17565. type: object
  17566. models.TjmdQuoteGoods:
  17567. properties:
  17568. buyqty:
  17569. description: 买量(暂不做, 无值, 保留字段)
  17570. type: number
  17571. decimalplace:
  17572. description: 报价小数位
  17573. type: integer
  17574. goodscode:
  17575. description: 合约代码
  17576. type: string
  17577. goodsgroupid:
  17578. description: 商品组ID(自增ID)
  17579. type: integer
  17580. goodsgroupname:
  17581. description: 商品组名称
  17582. type: string
  17583. goodsid:
  17584. description: 合约id
  17585. type: integer
  17586. goodsname:
  17587. description: 合约名称
  17588. type: string
  17589. refgoodscode:
  17590. description: 标的合约代码
  17591. type: string
  17592. refgoodsid:
  17593. description: 标的合约id
  17594. type: integer
  17595. refgoodsname:
  17596. description: 标的合约名称
  17597. type: string
  17598. sellqty:
  17599. description: 卖量(暂不做, 无值, 保留字段)
  17600. type: number
  17601. type: object
  17602. models.TjmdTodayAccountMargin:
  17603. properties:
  17604. accountid:
  17605. description: 账号ID
  17606. type: integer
  17607. goodsid:
  17608. description: 商品ID
  17609. type: integer
  17610. infoc:
  17611. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  17612. description: 配置参数
  17613. marketid:
  17614. description: 市场ID
  17615. type: integer
  17616. type: object
  17617. models.TjmdTradeOrderDetail:
  17618. properties:
  17619. buyorsell:
  17620. description: 买卖方向 0-买 1-卖
  17621. type: integer
  17622. goodsid:
  17623. description: 商品id
  17624. type: integer
  17625. marketmaxsub:
  17626. description: 市价最大偏移范围 [浮动价 - 点差]
  17627. type: number
  17628. orderid:
  17629. description: 委托单号
  17630. type: string
  17631. orderprice:
  17632. description: 期初均价
  17633. type: number
  17634. orderqty:
  17635. description: 委托数量
  17636. type: integer
  17637. pricemode:
  17638. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  17639. type: integer
  17640. userid:
  17641. description: 用户id
  17642. type: integer
  17643. username:
  17644. description: 用户名称(已脱敏)
  17645. type: string
  17646. type: object
  17647. models.TjmdTransferApply:
  17648. properties:
  17649. applyid:
  17650. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  17651. type: integer
  17652. applystatus:
  17653. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  17654. type: integer
  17655. applytime:
  17656. description: 申请时间(时间)
  17657. type: string
  17658. auditremark:
  17659. description: 审核备注(拒绝原因?)
  17660. type: string
  17661. begindate:
  17662. description: 开始交易日(yyyymmdd)
  17663. type: string
  17664. buyorsell:
  17665. description: 买卖 - 0:买 1:卖
  17666. type: integer
  17667. enddate:
  17668. description: 结束交易日(yyyymmdd)
  17669. type: string
  17670. goodscode:
  17671. description: 商品代码
  17672. type: string
  17673. goodsid:
  17674. description: 商品ID
  17675. type: integer
  17676. goodsname:
  17677. description: 商品名称
  17678. type: string
  17679. marketid:
  17680. description: 市场ID
  17681. type: integer
  17682. qty:
  17683. description: 期初均价
  17684. type: number
  17685. tradeid:
  17686. description: 成交单号(关联持仓)
  17687. type: string
  17688. transferamount:
  17689. description: 转让总金额(金额)
  17690. type: number
  17691. transferprice:
  17692. description: 转让价格(协议价格)
  17693. type: number
  17694. type: object
  17695. models.TradeHolderDetail:
  17696. properties:
  17697. accountid:
  17698. description: 账号ID
  17699. type: integer
  17700. agreeunit:
  17701. description: 合约乘数
  17702. type: number
  17703. buyorsell:
  17704. description: 方向 - 0:买 1:卖
  17705. type: integer
  17706. currencyid:
  17707. description: 商品币种id
  17708. type: integer
  17709. currencyname:
  17710. description: 币种名称
  17711. type: string
  17712. decimalplace:
  17713. description: 商品价格小数位
  17714. type: integer
  17715. enumdicname:
  17716. description: 商品单位名称
  17717. type: string
  17718. expirecycle:
  17719. description: 行权周期(天) - 1:滚动行权时填写
  17720. type: integer
  17721. expiredate:
  17722. description: 行权日(yyyyMMdd) - 到期日
  17723. type: string
  17724. expiretype:
  17725. description: 行权日类型 - 1:滚动行权 2:固定日行权
  17726. type: integer
  17727. freezeqty:
  17728. description: 期初均价
  17729. type: number
  17730. goodscode:
  17731. description: 商品代码
  17732. type: string
  17733. goodsid:
  17734. description: 商品ID
  17735. type: integer
  17736. goodsname:
  17737. description: 商品名称
  17738. type: string
  17739. goodunitid:
  17740. description: 商品单位id
  17741. type: integer
  17742. holderamount:
  17743. description: 持仓金额
  17744. type: number
  17745. holdercredit:
  17746. description: 持仓授信金额
  17747. type: number
  17748. holderdays:
  17749. description: 剩余冻结天数
  17750. type: integer
  17751. holderprice:
  17752. description: 持仓价格
  17753. type: number
  17754. holderqty:
  17755. description: 期初均价
  17756. type: number
  17757. isconfirmexercise:
  17758. description: 是否确认行权- 0:否 1:是
  17759. type: integer
  17760. ispreexercise:
  17761. description: 是否预申报- 0:否 1:是 2:不可行权
  17762. type: integer
  17763. marketid:
  17764. description: 市场id
  17765. type: integer
  17766. marketname:
  17767. description: 市场名称
  17768. type: string
  17769. openprice:
  17770. description: 建仓价格
  17771. type: number
  17772. openqty:
  17773. description: 期初均价
  17774. type: number
  17775. optiontype:
  17776. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17777. type: integer
  17778. preexerciseprice:
  17779. description: 预申报价格
  17780. type: number
  17781. premium:
  17782. description: 权利金
  17783. type: number
  17784. qtydecimalplace:
  17785. description: 商品成交量小数位
  17786. type: integer
  17787. refgoodscode:
  17788. description: 标的合约代码
  17789. type: string
  17790. refgoodsid:
  17791. description: 标的合约id
  17792. type: integer
  17793. releaseamount:
  17794. description: 释放持仓金额
  17795. type: number
  17796. releaseholdercredit:
  17797. description: 释放持仓授信金额
  17798. type: number
  17799. taname:
  17800. description: 资金账号名称
  17801. type: string
  17802. tradeamount:
  17803. description: 成交金额
  17804. type: number
  17805. tradedate:
  17806. description: 交易日(yyyyMMdd)
  17807. type: string
  17808. tradeid:
  17809. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17810. type: string
  17811. trademode:
  17812. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17813. 21:竞拍-大宗式 22:受托竞价 46:掉期
  17814. type: integer
  17815. tradeproperty:
  17816. description: 交易属性
  17817. type: integer
  17818. tradetime:
  17819. description: 交易时间
  17820. type: string
  17821. userid:
  17822. description: 用户id
  17823. type: integer
  17824. username:
  17825. description: 用户名称
  17826. type: string
  17827. type: object
  17828. models.Unlinkermcphedgeplan:
  17829. properties:
  17830. accountid:
  17831. description: 期货账户ID - 作废
  17832. type: integer
  17833. accountname:
  17834. description: 交易用户
  17835. type: string
  17836. applyid:
  17837. description: 申请人
  17838. type: integer
  17839. applysrc:
  17840. description: 申请来源 - 1:管理端 2:终端
  17841. type: integer
  17842. applytime:
  17843. description: 申请时间
  17844. type: string
  17845. areauserid:
  17846. description: '[企业ID]机构ID'
  17847. type: integer
  17848. auditid:
  17849. description: 审核人
  17850. type: integer
  17851. auditremark:
  17852. description: 审核备注
  17853. type: string
  17854. auditsrc:
  17855. description: 审核来源 - 1:管理端 2:终端
  17856. type: integer
  17857. audittime:
  17858. description: 审核时间
  17859. type: string
  17860. audittradedate:
  17861. description: 审核交易日(yyyyMMdd)
  17862. type: string
  17863. biztype:
  17864. description: 业务类型 - 1:套保
  17865. type: integer
  17866. contracttype:
  17867. description: 计划类型 - 1:采购 -1:销售
  17868. type: integer
  17869. convertfactor:
  17870. description: 标仓系数 - 作废
  17871. type: number
  17872. createtime:
  17873. description: 创建时间
  17874. type: string
  17875. currencyid:
  17876. description: 结算币种ID - 作废
  17877. type: integer
  17878. deliverygoodsid:
  17879. description: 现货品种ID
  17880. type: integer
  17881. enumdicname:
  17882. description: 结算币种
  17883. type: string
  17884. hedgeplanid:
  17885. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  17886. type: string
  17887. hedgeplanno:
  17888. description: '[计划编号]套保计划编号,模糊查询'
  17889. type: string
  17890. hedgeplanstatus:
  17891. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  17892. type: integer
  17893. isrelated:
  17894. description: 是否已关联计划项目 - 0:否 1:是
  17895. type: integer
  17896. planqty:
  17897. description: '[计划量]计划数量'
  17898. type: number
  17899. plantime:
  17900. description: 计划时间
  17901. type: string
  17902. producttype:
  17903. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  17904. type: integer
  17905. remark:
  17906. description: 备注
  17907. type: string
  17908. spotgoodsdesc:
  17909. description: 商品型号
  17910. type: string
  17911. tradedate:
  17912. description: 交易日(yyyyMMdd)
  17913. type: string
  17914. tradeuserid:
  17915. description: 交易用户ID
  17916. type: integer
  17917. updatetime:
  17918. description: 更新时间
  17919. type: string
  17920. wrstandardid:
  17921. description: 现货商品ID
  17922. type: integer
  17923. wrstandardname:
  17924. description: 现货商品,模糊查询
  17925. type: string
  17926. required:
  17927. - areauserid
  17928. type: object
  17929. models.UserCollectConfig:
  17930. properties:
  17931. accountstatus:
  17932. description: 账户状态 - 1:正常 2:停用 3:注销
  17933. type: integer
  17934. collectaccountname:
  17935. description: 收款人账户名称
  17936. type: string
  17937. collectaccountno:
  17938. description: 收款人账户
  17939. type: string
  17940. collectbankname:
  17941. description: 收款人开户行
  17942. type: string
  17943. collectbranchbankname:
  17944. description: 收款人开户支行
  17945. type: string
  17946. collectconfigid:
  17947. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  17948. type: string
  17949. remark:
  17950. description: 备注
  17951. type: string
  17952. userid:
  17953. description: 收款人用户ID
  17954. type: integer
  17955. type: object
  17956. models.UserReceiveInfo:
  17957. properties:
  17958. address:
  17959. description: 提货人详细地址
  17960. type: string
  17961. autoid:
  17962. description: AutoID
  17963. type: integer
  17964. cardnum:
  17965. description: 证件号码(加密存储)
  17966. type: string
  17967. cardtypeid:
  17968. description: 证件类型
  17969. type: integer
  17970. cityid:
  17971. description: 市
  17972. type: integer
  17973. cityname:
  17974. description: 城市名称
  17975. type: string
  17976. countryid:
  17977. description: 国家
  17978. type: integer
  17979. countryname:
  17980. description: 国家名称
  17981. type: string
  17982. districtid:
  17983. description: 地区
  17984. type: integer
  17985. districtname:
  17986. description: 地区名称
  17987. type: string
  17988. hasencrypt:
  17989. description: 数据是否已加密 - 0:未加密 1:已加密
  17990. type: integer
  17991. isdefault:
  17992. description: 是否默认地址 - 0:否 1:是
  17993. type: integer
  17994. phonenum:
  17995. description: 提货人联系方式(加密存储)
  17996. type: string
  17997. provinceid:
  17998. description: 省
  17999. type: integer
  18000. provincename:
  18001. description: 省名称
  18002. type: string
  18003. receivername:
  18004. description: 提货人姓名
  18005. type: string
  18006. takeremark:
  18007. description: 提货备注
  18008. type: string
  18009. userid:
  18010. description: 用户ID
  18011. type: integer
  18012. type: object
  18013. models.Useraccount:
  18014. properties:
  18015. accountname:
  18016. description: 账户名称(机构名称)
  18017. type: string
  18018. accountstatus:
  18019. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  18020. type: integer
  18021. applysrc:
  18022. description: 申请来源 - 1:管理端 2:终端
  18023. type: integer
  18024. auditremark:
  18025. description: 审核备注
  18026. type: string
  18027. auditsrc:
  18028. description: 审核来源 - 1:管理端 2:终端
  18029. type: integer
  18030. audittime:
  18031. description: 审核时间
  18032. type: string
  18033. audituserid:
  18034. description: 审核人
  18035. type: integer
  18036. broker:
  18037. description: 所属经纪人ID
  18038. type: integer
  18039. canceltime:
  18040. description: 销户时间
  18041. type: string
  18042. canceluserid:
  18043. description: 销户人
  18044. type: integer
  18045. canrecommend:
  18046. description: 是否可推荐 - 0:不可 1;可
  18047. type: integer
  18048. createtime:
  18049. description: 创建时间
  18050. type: string
  18051. creatorid:
  18052. description: 创建人
  18053. type: integer
  18054. curscore:
  18055. description: 积分
  18056. type: integer
  18057. hasauth:
  18058. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  18059. type: integer
  18060. isanonymous:
  18061. description: 是否匿名下单 - 0:否 1:是
  18062. type: integer
  18063. issigned:
  18064. description: 今日是否已签到
  18065. type: boolean
  18066. maxinvestornum:
  18067. description: 最大用户数(经纪会员下投资者个数)
  18068. type: integer
  18069. memberuserid:
  18070. description: 所属会员ID
  18071. type: integer
  18072. modifierid:
  18073. description: 修改人
  18074. type: integer
  18075. modifyremark:
  18076. description: 变更备注
  18077. type: string
  18078. modifystatus:
  18079. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  18080. type: integer
  18081. modifytime:
  18082. description: 修改时间
  18083. type: string
  18084. parenttopuser:
  18085. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  18086. type: string
  18087. parentuserid:
  18088. description: 所属机构ID
  18089. type: integer
  18090. reckonaccountid:
  18091. description: 默认结算资金账号ID(机构分润使用) 作废
  18092. type: integer
  18093. refercount:
  18094. description: 推荐总人数
  18095. type: integer
  18096. refereeuserid:
  18097. description: 推荐人ID
  18098. type: integer
  18099. refernum:
  18100. description: 推荐码
  18101. type: string
  18102. rootuserid:
  18103. description: 根用户ID
  18104. type: integer
  18105. subaccountlevel:
  18106. description: 子账户层数
  18107. type: integer
  18108. subarealevelpath:
  18109. description: 子机构层级路径(逗号分隔,首尾加逗号)
  18110. type: string
  18111. todayrefercount:
  18112. description: 今日推荐人数
  18113. type: integer
  18114. userid:
  18115. description: 用户ID
  18116. type: integer
  18117. usertype:
  18118. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18119. type: integer
  18120. required:
  18121. - userid
  18122. type: object
  18123. models.Userfavoritegoods:
  18124. properties:
  18125. goodsid:
  18126. description: 商品ID
  18127. type: integer
  18128. required:
  18129. - goodsid
  18130. type: object
  18131. models.Userinfo:
  18132. properties:
  18133. address:
  18134. description: 地址
  18135. type: string
  18136. attachment1:
  18137. description: 附件1
  18138. type: string
  18139. attachment2:
  18140. description: 附件2
  18141. type: string
  18142. bankaccount:
  18143. description: 银行帐号 (加密存储)
  18144. type: string
  18145. bankaccountname:
  18146. description: 收款人名称
  18147. type: string
  18148. bankcardfrontphotourl:
  18149. description: 银行卡正面照地址
  18150. type: string
  18151. bankid:
  18152. description: 银行编码
  18153. type: string
  18154. bankname:
  18155. description: 银行名称
  18156. type: string
  18157. biznature:
  18158. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18159. type: integer
  18160. bizscope:
  18161. description: 企业经营范围(企业)
  18162. type: string
  18163. cardbackphotourl:
  18164. description: 证件背面图片地址
  18165. type: string
  18166. cardfrontphotourl:
  18167. description: 证件正面图片地址
  18168. type: string
  18169. cardnum:
  18170. description: 证件号码(加密存储)
  18171. type: string
  18172. cardtypeid:
  18173. description: 证件类型ID
  18174. type: integer
  18175. cityid:
  18176. description: 市
  18177. type: integer
  18178. company:
  18179. description: 公司(个人)
  18180. type: string
  18181. contactname:
  18182. description: 联系人
  18183. type: string
  18184. countryid:
  18185. description: 国家
  18186. type: integer
  18187. createtime:
  18188. description: 创建时间
  18189. type: string
  18190. creatorid:
  18191. description: 创建人
  18192. type: integer
  18193. customername:
  18194. description: 客户名称(企业名称)
  18195. type: string
  18196. districtid:
  18197. description: 地区
  18198. type: integer
  18199. email:
  18200. description: 邮件(加密存储)
  18201. type: string
  18202. fax:
  18203. description: 传真(加密存储)
  18204. type: string
  18205. halfbodyphotourl:
  18206. description: 半身照地址
  18207. type: string
  18208. hasencrypt:
  18209. description: 数据是否已加密 - 0:未加密 1:已加密
  18210. type: integer
  18211. headurl:
  18212. description: 头像地址
  18213. type: string
  18214. legalcardbackphotourl:
  18215. description: 法人身份证背面照地址
  18216. type: string
  18217. legalcardfrontphotourl:
  18218. description: 法人身份证正面照地址
  18219. type: string
  18220. legalpersonname:
  18221. description: 法人姓名(企业)
  18222. type: string
  18223. mobile:
  18224. description: 手机号码(加密存储)
  18225. type: string
  18226. mobile2:
  18227. description: 手机号码[明文-尚志]
  18228. type: string
  18229. modifierid:
  18230. description: 修改人
  18231. type: integer
  18232. modifiertime:
  18233. description: 修改时间
  18234. type: string
  18235. needinvoice:
  18236. description: 是否需要发票 - 0:不需要 1:需要
  18237. type: integer
  18238. nickname:
  18239. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18240. type: string
  18241. openmode:
  18242. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  18243. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  18244. type: integer
  18245. otherurl:
  18246. description: 其它图片地址[使用分号分隔]
  18247. type: string
  18248. postalcode:
  18249. description: 邮政编码
  18250. type: string
  18251. provinceid:
  18252. description: 省
  18253. type: integer
  18254. qq:
  18255. description: QQ(加密存储
  18256. type: string
  18257. remark:
  18258. description: 备注
  18259. type: string
  18260. sex:
  18261. description: '用户性别 0: 女 1: 男'
  18262. type: integer
  18263. signpdfurl:
  18264. description: 签约pdf文件
  18265. type: string
  18266. telphone:
  18267. description: 联系电话(加密存储)
  18268. type: string
  18269. userid:
  18270. description: 用户ID
  18271. type: integer
  18272. userinfotype:
  18273. description: 用户信息类型 - 1:个人 2:企业
  18274. type: integer
  18275. userstatus:
  18276. description: 用户状态 - 1:正常 2:注销
  18277. type: integer
  18278. usertype:
  18279. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  18280. type: integer
  18281. wechat:
  18282. description: 微信(加密存储)
  18283. type: string
  18284. wskhinfo:
  18285. description: 开户申请信息(JSON)
  18286. type: string
  18287. required:
  18288. - userid
  18289. type: object
  18290. models.WRPositionReport:
  18291. properties:
  18292. accountid:
  18293. description: 帐户ID
  18294. type: integer
  18295. brandid:
  18296. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  18297. type: integer
  18298. buylistinglot:
  18299. description: 买挂牌宗数
  18300. type: integer
  18301. buytradeamount:
  18302. description: 购买金额
  18303. type: number
  18304. buytradelot:
  18305. description: 购买宗数
  18306. type: integer
  18307. buytradeqty:
  18308. description: 购买数量
  18309. type: number
  18310. creditcurqty:
  18311. description: 授信当前数量
  18312. type: integer
  18313. creditfreezeqty:
  18314. description: 授信冻结数量
  18315. type: integer
  18316. credittotalqty:
  18317. description: 授信总数量
  18318. type: integer
  18319. credittradeqty:
  18320. description: 授信成交数量
  18321. type: integer
  18322. decreaseqty:
  18323. description: 今日减少数量
  18324. type: integer
  18325. deliverygoodsid:
  18326. description: 交割商品ID
  18327. type: integer
  18328. deliverymonthid:
  18329. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  18330. type: integer
  18331. freezeqty:
  18332. description: 总冻结数量
  18333. type: integer
  18334. increaseqty:
  18335. description: 今日增加数量
  18336. type: integer
  18337. marketvalue:
  18338. description: 市值
  18339. type: number
  18340. pickupqty:
  18341. description: 今日提货数量
  18342. type: integer
  18343. qualityid:
  18344. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  18345. type: integer
  18346. reckondate:
  18347. description: 日照时期(yyyyMMdd)
  18348. type: string
  18349. relatedqty:
  18350. description: 关联数量
  18351. type: integer
  18352. selllistingamount:
  18353. description: 卖挂牌金额
  18354. type: number
  18355. selllistinglot:
  18356. description: 卖挂牌宗数
  18357. type: integer
  18358. selllistingqty:
  18359. description: 卖挂牌数量
  18360. type: number
  18361. selltradeamount:
  18362. description: 销售金额
  18363. type: number
  18364. selltradelot:
  18365. description: 销售宗数
  18366. type: integer
  18367. selltradeqty:
  18368. description: 销售数量
  18369. type: number
  18370. specid:
  18371. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  18372. type: integer
  18373. totalprice:
  18374. description: 销售金额(¥)
  18375. type: number
  18376. totalqty:
  18377. description: 总数量
  18378. type: integer
  18379. totalweight:
  18380. description: 销售重量(ct)
  18381. type: number
  18382. tradewrqty:
  18383. description: 订单仓单头寸总数量
  18384. type: integer
  18385. transfertradewrqty:
  18386. description: 今日转订单数量
  18387. type: integer
  18388. warehouseid:
  18389. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  18390. type: integer
  18391. wrfactortypeid:
  18392. description: 仓单要素类型ID
  18393. type: integer
  18394. wrpositionid:
  18395. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18396. type: integer
  18397. wrstandardcode:
  18398. description: 现货商品代码
  18399. type: string
  18400. wrstandardid:
  18401. description: 现货商品ID
  18402. type: integer
  18403. wruserid:
  18404. description: 持有人ID
  18405. type: integer
  18406. zscategory:
  18407. description: 商品分类
  18408. type: integer
  18409. zscategorydisplay:
  18410. type: string
  18411. zscurrencytype:
  18412. description: 商品币种
  18413. type: integer
  18414. zscurrencytypedisplay:
  18415. type: string
  18416. zscurrencytypedisplayunit:
  18417. type: string
  18418. type: object
  18419. models.WRSConverTDetail:
  18420. properties:
  18421. convertratio:
  18422. description: 套保系数
  18423. type: number
  18424. deliverygoodscode:
  18425. description: 现货商品代码
  18426. type: string
  18427. deliverygoodsid:
  18428. description: 现货品种ID
  18429. type: integer
  18430. deliverygoodsname:
  18431. description: 现货商品名称
  18432. type: string
  18433. enumdicname:
  18434. description: 单位名称
  18435. type: string
  18436. goodsunitid:
  18437. description: 套保品种单位id
  18438. type: integer
  18439. middlegoodscode:
  18440. description: 套保品种代码
  18441. type: string
  18442. middlegoodsid:
  18443. description: 套保品种ID
  18444. type: integer
  18445. middlegoodsname:
  18446. description: 套保品种名称
  18447. type: string
  18448. modifytime:
  18449. description: 修改时间
  18450. type: string
  18451. wrstandardid:
  18452. description: 品类ID
  18453. type: integer
  18454. type: object
  18455. models.WRStandardInfo:
  18456. properties:
  18457. areauserid:
  18458. description: 所属机构
  18459. type: integer
  18460. convertfactor:
  18461. description: 标仓系数
  18462. type: number
  18463. createtime:
  18464. description: 创建时间
  18465. type: string
  18466. creatorid:
  18467. description: 创建人
  18468. type: integer
  18469. deliverygoodsid:
  18470. description: 品种ID
  18471. type: integer
  18472. deliverygoodsname:
  18473. description: 交割商品名称
  18474. type: string
  18475. factoryitemjson:
  18476. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  18477. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  18478. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  18479. 逗号分隔'
  18480. type: string
  18481. isvalid:
  18482. description: 是否有效 - 0:无效 1:有效
  18483. type: integer
  18484. minivalue:
  18485. description: 最小变动值
  18486. type: integer
  18487. minivaluedp:
  18488. description: 最小变动值小数位
  18489. type: integer
  18490. realminivalue:
  18491. description: 实际最小变动值
  18492. type: integer
  18493. realminivaluedp:
  18494. description: 实际最小变动值小数位
  18495. type: integer
  18496. remark:
  18497. description: 备注
  18498. type: string
  18499. unitid:
  18500. description: 单位ID
  18501. type: integer
  18502. unitname:
  18503. description: 单位
  18504. type: string
  18505. updatetime:
  18506. description: 更新时间
  18507. type: string
  18508. updatorid:
  18509. description: 更新人
  18510. type: integer
  18511. wrsstatus:
  18512. description: 状态 - 作废 - 0:未激活 1:正常
  18513. type: integer
  18514. wrstandardcode:
  18515. description: 现货品类代码
  18516. type: string
  18517. wrstandardid:
  18518. description: 现货品类ID(SEQ_WRSTANDARD)
  18519. type: integer
  18520. wrstandardname:
  18521. description: 现货品类名称
  18522. type: string
  18523. required:
  18524. - wrstandardid
  18525. type: object
  18526. models.WRTradeBargainApply:
  18527. properties:
  18528. accountid:
  18529. description: 摘牌资金账号
  18530. type: integer
  18531. applyprice:
  18532. description: 申请价格(议价价格)
  18533. type: string
  18534. applyqty:
  18535. description: 摘牌数量(议价数量)
  18536. type: number
  18537. applyremark:
  18538. description: 申请备注
  18539. type: string
  18540. applystatus:
  18541. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  18542. type: integer
  18543. applytime:
  18544. description: 申请时间(议价时间)
  18545. type: string
  18546. begindate:
  18547. description: 开始交易日(yyyymmdd)
  18548. type: string
  18549. buyorsell:
  18550. description: 买卖(挂牌类型) - 0:买 1:卖
  18551. type: integer
  18552. confirmremark:
  18553. description: 确认备注
  18554. type: string
  18555. confirmtime:
  18556. description: 确认时间
  18557. type: string
  18558. confirmuserid:
  18559. description: 确认人
  18560. type: integer
  18561. deliverygoodscode:
  18562. description: 品种代码
  18563. type: string
  18564. deliverygoodsid:
  18565. description: 品种ID
  18566. type: integer
  18567. deliverygoodsname:
  18568. description: 品种名称
  18569. type: string
  18570. deliverymonth:
  18571. description: 交收月
  18572. type: string
  18573. enddate:
  18574. description: 结束交易日(yyyymmdd)
  18575. type: string
  18576. enumdicname:
  18577. description: 单位名称
  18578. type: string
  18579. fixedprice:
  18580. description: 期初均价
  18581. type: number
  18582. handlestatus:
  18583. description: 处理状态
  18584. type: integer
  18585. marginvalue:
  18586. description: 期初均价
  18587. type: number
  18588. marketid:
  18589. description: 市场ID
  18590. type: integer
  18591. matchaccountid:
  18592. description: 挂牌方资金账号
  18593. type: integer
  18594. matchuserid:
  18595. description: 挂牌方用户id
  18596. type: integer
  18597. matchusername:
  18598. description: 挂牌方用户名称(已脱敏)
  18599. type: string
  18600. minivalue:
  18601. description: 现货商品最小变动值
  18602. type: integer
  18603. optioncompare:
  18604. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18605. type: string
  18606. orderqty:
  18607. description: 挂牌数量
  18608. type: integer
  18609. refprice:
  18610. description: 参考价格
  18611. type: string
  18612. retcode:
  18613. description: 委托返回代码
  18614. type: integer
  18615. templatename:
  18616. description: 履约方式(履约模板名称)
  18617. type: string
  18618. tradedate:
  18619. description: 交易日(yyyyMMdd)
  18620. type: string
  18621. userid:
  18622. description: 摘牌人用户ID(议价人ID)
  18623. type: integer
  18624. username:
  18625. description: 议价人名字(已脱敏)
  18626. type: string
  18627. validtime:
  18628. description: 有效期限
  18629. type: string
  18630. warehouseid:
  18631. description: 仓库ID
  18632. type: integer
  18633. warehousename:
  18634. description: 仓库名称
  18635. type: string
  18636. wrbargainid:
  18637. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  18638. type: string
  18639. wrfactortypeid:
  18640. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18641. type: string
  18642. wrfactortypename:
  18643. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18644. type: string
  18645. wrstandardcode:
  18646. description: 现货商品代码
  18647. type: string
  18648. wrstandardid:
  18649. description: 现货商品ID
  18650. type: integer
  18651. wrstandardname:
  18652. description: 商品名称
  18653. type: string
  18654. wrtradeorderid:
  18655. description: 关联委托单ID
  18656. type: string
  18657. wrtypename:
  18658. description: 商品
  18659. type: string
  18660. type: object
  18661. models.Warehouseinfo:
  18662. properties:
  18663. address:
  18664. description: 详细地址
  18665. type: string
  18666. areauserid:
  18667. description: 所属机构
  18668. type: integer
  18669. autoid:
  18670. description: 自增ID
  18671. type: integer
  18672. cityid:
  18673. description: 市
  18674. type: integer
  18675. contactname:
  18676. description: 联系人
  18677. type: string
  18678. contactnum:
  18679. description: 联系电话
  18680. type: string
  18681. countryid:
  18682. description: 国家
  18683. type: integer
  18684. createtime:
  18685. description: 创建时间
  18686. type: string
  18687. districtid:
  18688. description: 区
  18689. type: integer
  18690. hasvideo:
  18691. description: 是否有视频 - 0:无 1:有
  18692. type: integer
  18693. provinceid:
  18694. description: 省
  18695. type: integer
  18696. remark:
  18697. description: 审核备注
  18698. type: string
  18699. videourl:
  18700. description: 视频地址
  18701. type: string
  18702. warehousecode:
  18703. description: 仓库代码
  18704. type: string
  18705. warehousename:
  18706. description: 仓库名称
  18707. type: string
  18708. warehousestatus:
  18709. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  18710. type: integer
  18711. warehousetype:
  18712. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  18713. type: integer
  18714. required:
  18715. - autoid
  18716. - warehousecode
  18717. type: object
  18718. models.WrAverageTradePrice:
  18719. properties:
  18720. averageprice:
  18721. description: 期初均价
  18722. type: number
  18723. tradedate:
  18724. description: 交易日yyyymm
  18725. type: string
  18726. type: object
  18727. models.WrBrandAndYears:
  18728. properties:
  18729. brandlst:
  18730. description: 品牌列表
  18731. items:
  18732. $ref: '#/definitions/models.DgFactoryItem'
  18733. type: array
  18734. yearslst:
  18735. description: 年份列表
  18736. items:
  18737. $ref: '#/definitions/models.DgFactoryItem'
  18738. type: array
  18739. type: object
  18740. models.WrBsGoodsInfo:
  18741. properties:
  18742. buyorsell:
  18743. description: 买卖方向 0-买 1-卖
  18744. type: integer
  18745. goodsid:
  18746. description: 交易合约ID
  18747. type: integer
  18748. lstitem:
  18749. description: 商品信息项
  18750. items:
  18751. $ref: '#/definitions/models.WrTypeItem'
  18752. type: array
  18753. lststep:
  18754. description: 履约规则
  18755. items:
  18756. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18757. type: array
  18758. type: object
  18759. models.WrBuybackDetail:
  18760. properties:
  18761. buybackamount:
  18762. description: 回购金额
  18763. type: number
  18764. buybackqty:
  18765. description: 回购数量
  18766. type: number
  18767. buybackreleasemargin:
  18768. description: 回购释放保证金
  18769. type: number
  18770. buybacktime:
  18771. description: 回购时间
  18772. type: string
  18773. errordesc:
  18774. description: 错误描述
  18775. type: string
  18776. handlestatus:
  18777. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  18778. type: integer
  18779. relatedwrid:
  18780. description: 关联仓单ID
  18781. type: integer
  18782. scfcontractid:
  18783. description: SCF合同ID
  18784. type: string
  18785. scfwrbuybackid:
  18786. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  18787. type: integer
  18788. tradedate:
  18789. description: 交易日(yyyyMMdd)
  18790. type: string
  18791. type: object
  18792. models.WrClientAdSpaceConfig:
  18793. properties:
  18794. adspaceid:
  18795. description: 广告位ID
  18796. type: integer
  18797. adspacename:
  18798. description: 广告位名称
  18799. type: string
  18800. adspacetype:
  18801. description: 广告位类型 - 1:固定广告位
  18802. type: integer
  18803. areauserid:
  18804. description: 所属机构ID
  18805. type: integer
  18806. createdate:
  18807. description: 创建时间
  18808. type: string
  18809. imagepath:
  18810. description: 图片
  18811. type: string
  18812. modifierid:
  18813. description: 操作人
  18814. type: integer
  18815. recsize:
  18816. description: 推荐尺寸
  18817. type: string
  18818. title:
  18819. description: 标题
  18820. type: string
  18821. updatedate:
  18822. description: 更新时间
  18823. type: string
  18824. urlcontent:
  18825. description: 链接(地址\商品ID\功能菜单Key\appid)
  18826. type: string
  18827. urltype:
  18828. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  18829. type: integer
  18830. type: object
  18831. models.WrDeliveryAvalidHoldLB:
  18832. properties:
  18833. accountid:
  18834. description: 资金账号
  18835. type: integer
  18836. avalidqty:
  18837. description: 数量(可点选数量)
  18838. type: number
  18839. deliverygoodsid:
  18840. description: 品种id
  18841. type: integer
  18842. enumdicname:
  18843. description: 单位名称
  18844. type: string
  18845. goodsid:
  18846. description: x合约商品id
  18847. type: integer
  18848. ladingbillid:
  18849. description: 提单id
  18850. type: string
  18851. pgoodscode:
  18852. description: p商品代码(点价合约)
  18853. type: string
  18854. pgoodsid:
  18855. description: p商品id(点价合约)
  18856. type: integer
  18857. pgoodsname:
  18858. description: p商品名称(点价合约)
  18859. type: string
  18860. pricemove:
  18861. description: 升贴水
  18862. type: number
  18863. subnum:
  18864. description: 提单子id
  18865. type: integer
  18866. userid:
  18867. description: 用户id
  18868. type: integer
  18869. username:
  18870. description: 仓单持有人
  18871. type: string
  18872. warehousecode:
  18873. description: 仓库代码
  18874. type: string
  18875. warehouseid:
  18876. description: 仓库id
  18877. type: integer
  18878. warehousename:
  18879. description: 仓库名称
  18880. type: string
  18881. wrfactortypeid:
  18882. description: 仓单要素id
  18883. type: string
  18884. wrstandardcode:
  18885. description: 品代码
  18886. type: string
  18887. wrstandardid:
  18888. description: 品类d
  18889. type: integer
  18890. wrstandardname:
  18891. description: 品类名称
  18892. type: string
  18893. wrtypename:
  18894. description: 商品
  18895. type: string
  18896. xgoodscode:
  18897. description: x合约代码
  18898. type: string
  18899. xgoodsname:
  18900. description: x合约名称
  18901. type: string
  18902. type: object
  18903. models.WrDeliveryDetail:
  18904. properties:
  18905. accountid:
  18906. description: 账号ID
  18907. type: integer
  18908. averageprice:
  18909. description: 期初均价
  18910. type: number
  18911. begindate:
  18912. description: 开始交易日(yyyymmdd)
  18913. type: string
  18914. buyorsell:
  18915. description: 方向 - 0:买 1:卖
  18916. type: integer
  18917. deliveryamount:
  18918. description: 货款金额(X总货款+P总货款)
  18919. type: number
  18920. deliveryid:
  18921. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  18922. type: string
  18923. deliveryorderid:
  18924. description: 申报单号
  18925. type: string
  18926. deliverypricemove:
  18927. description: 升贴水(升贴水总额)
  18928. type: number
  18929. deliveryqty:
  18930. description: 交收数量(点选数量)
  18931. type: number
  18932. deliverystatus:
  18933. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  18934. type: integer
  18935. deliverytime:
  18936. description: 交割时间
  18937. type: string
  18938. deliverytotalamount:
  18939. description: 交收金额
  18940. type: number
  18941. enddate:
  18942. description: 结束交易日(yyyymmdd)
  18943. type: string
  18944. enumdicname:
  18945. description: 单位名称
  18946. type: string
  18947. matchaccountid:
  18948. description: 对手账号ID
  18949. type: integer
  18950. matchusername:
  18951. description: 对手方名称(仓单持有人)
  18952. type: string
  18953. p1goodsremainamount:
  18954. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  18955. type: number
  18956. pdeliverycloseqty:
  18957. description: p合约平仓数量
  18958. type: number
  18959. pdeliveryprice:
  18960. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  18961. type: number
  18962. pgoodscode:
  18963. description: 商品代码
  18964. type: string
  18965. pgoodsid:
  18966. description: p点选合约id
  18967. type: integer
  18968. pgoodsname:
  18969. description: 商品名称
  18970. type: string
  18971. ppricemode:
  18972. description: 点价价格方式 - 1:商品价 2:固定值
  18973. type: integer
  18974. tradedate:
  18975. description: 交易日(yyyymmdd)
  18976. type: string
  18977. userid:
  18978. description: 用户id
  18979. type: integer
  18980. username:
  18981. description: 用户名称
  18982. type: string
  18983. warehousename:
  18984. description: 仓库名称
  18985. type: string
  18986. wrfactortypeid:
  18987. description: 仓单要素类型ID
  18988. type: string
  18989. wrtypename:
  18990. description: 商品
  18991. type: string
  18992. xdeliverycloseqty:
  18993. description: 合约数量
  18994. type: number
  18995. xgoodsamount:
  18996. description: 期初均价
  18997. type: number
  18998. xgoodscode:
  18999. description: 商品代码
  19000. type: string
  19001. xgoodsid:
  19002. description: x交易合约ID
  19003. type: integer
  19004. xgoodsname:
  19005. description: 商品名称
  19006. type: string
  19007. type: object
  19008. models.WrDeliveryGoodsSection:
  19009. properties:
  19010. dglst:
  19011. description: 板块商品列表
  19012. items:
  19013. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  19014. type: array
  19015. imagepath:
  19016. description: 图片地址
  19017. type: string
  19018. orderindex:
  19019. description: 排序
  19020. type: integer
  19021. sectionid:
  19022. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  19023. = 1的版块1 - 云融指数
  19024. type: integer
  19025. sectionname:
  19026. description: 版块名称
  19027. type: string
  19028. sectiontype:
  19029. description: 版块类型 - 1:指数版块 2:普通版块
  19030. type: integer
  19031. type: object
  19032. models.WrDeliveryGoodsSectionConfig:
  19033. properties:
  19034. deliverygoodscode:
  19035. description: 现货商品代码
  19036. type: string
  19037. deliverygoodsid:
  19038. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19039. type: integer
  19040. deliverygoodsname:
  19041. description: 现货商品名称
  19042. type: string
  19043. orderindex:
  19044. description: 排序
  19045. type: integer
  19046. type: object
  19047. models.WrDraftUserInfo:
  19048. properties:
  19049. address:
  19050. description: 地址
  19051. type: string
  19052. attachment1:
  19053. description: 附件1
  19054. type: string
  19055. attachment2:
  19056. description: 附件2
  19057. type: string
  19058. attachment3:
  19059. description: 附件3
  19060. type: string
  19061. attachment4:
  19062. description: 附件4
  19063. type: string
  19064. attachment5:
  19065. description: 附件5
  19066. type: string
  19067. bankaccount:
  19068. description: 银行帐号 (加密存储)
  19069. type: string
  19070. bankaccountname:
  19071. description: 收款人名称
  19072. type: string
  19073. bankcardfrontphotourl:
  19074. description: 银行卡正面照地址
  19075. type: string
  19076. bankid:
  19077. description: 银行编码
  19078. type: string
  19079. bankname:
  19080. description: 银行名称
  19081. type: string
  19082. birthday:
  19083. description: 生日(个人:年月日)
  19084. type: string
  19085. biznature:
  19086. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  19087. type: integer
  19088. bizscope:
  19089. description: 企业经营范围(企业)
  19090. type: string
  19091. biztype:
  19092. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  19093. type: integer
  19094. cardbackphotourl:
  19095. description: 证件背面图片地址
  19096. type: string
  19097. cardfrontphotourl:
  19098. description: 证件正面图片地址
  19099. type: string
  19100. cardnum:
  19101. description: 证件号码(加密存储)
  19102. type: string
  19103. cardtypeid:
  19104. description: 证件类型ID
  19105. type: integer
  19106. cityid:
  19107. description: 市
  19108. type: integer
  19109. company:
  19110. description: 公司(个人)
  19111. type: string
  19112. contactcardbackphotourl:
  19113. description: 联系人证件背面图片地址
  19114. type: string
  19115. contactcardfrontphotourl:
  19116. description: 联系人证件正面图片地址
  19117. type: string
  19118. contactname:
  19119. description: 联系人
  19120. type: string
  19121. countryid:
  19122. description: 国家
  19123. type: integer
  19124. createtime:
  19125. description: 创建时间
  19126. type: string
  19127. creatorid:
  19128. description: 创建人
  19129. type: integer
  19130. creditquota:
  19131. description: 授信额度(金瑞)
  19132. type: number
  19133. customername:
  19134. description: 客户名称(企业名称)
  19135. type: string
  19136. districtid:
  19137. description: 地区
  19138. type: integer
  19139. email:
  19140. description: 邮件(加密存储)
  19141. type: string
  19142. fax:
  19143. description: 传真(加密存储)
  19144. type: string
  19145. halfbodyphotourl:
  19146. description: 半身照地址
  19147. type: string
  19148. hasencrypt:
  19149. description: 数据是否已加密 - 0:未加密 1:已加密
  19150. type: integer
  19151. headurl:
  19152. description: 头像地址
  19153. type: string
  19154. legalcardbackphotourl:
  19155. description: 法人身份证背面照地址
  19156. type: string
  19157. legalcardfrontphotourl:
  19158. description: 法人身份证正面照地址
  19159. type: string
  19160. legalpersonname:
  19161. description: 法人姓名(企业)
  19162. type: string
  19163. mobile:
  19164. description: 手机号码(加密存储)
  19165. type: string
  19166. mobile2:
  19167. description: 手机号码[明文-尚志]
  19168. type: string
  19169. modifierid:
  19170. description: 修改人
  19171. type: integer
  19172. modifiertime:
  19173. description: 修改时间
  19174. type: string
  19175. needinvoice:
  19176. description: 是否需要发票 - 0:不需要 1:需要
  19177. type: integer
  19178. nickname:
  19179. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  19180. type: string
  19181. openmode:
  19182. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  19183. 6:苹果手机端注册 7:PC交易端注册"
  19184. type: integer
  19185. otherurl:
  19186. description: 其它图片地址[使用分号分隔]
  19187. type: string
  19188. postalcode:
  19189. description: 邮政编码
  19190. type: string
  19191. provinceid:
  19192. description: 省
  19193. type: integer
  19194. proxystatementurl:
  19195. description: 授权委托书
  19196. type: string
  19197. qq:
  19198. description: QQ(加密存储
  19199. type: string
  19200. remark:
  19201. description: 备注
  19202. type: string
  19203. sex:
  19204. description: '用户性别 0: 女 1: 男'
  19205. type: integer
  19206. signpdfurl:
  19207. description: 签约pdf文件
  19208. type: string
  19209. taxpayernum:
  19210. description: 纳税人识别号
  19211. type: string
  19212. telphone:
  19213. description: 联系电话(加密存储)
  19214. type: string
  19215. userid:
  19216. description: 用户ID
  19217. type: integer
  19218. userinfotype:
  19219. description: 用户信息类型 - 1:个人 2:企业
  19220. type: integer
  19221. userstatus:
  19222. description: 用户状态 - 1:正常 2:注销
  19223. type: integer
  19224. usertype:
  19225. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  19226. type: integer
  19227. wechat:
  19228. description: 微信(加密存储)
  19229. type: string
  19230. wskhinfo:
  19231. description: 开户申请信息(JSON)
  19232. type: string
  19233. type: object
  19234. models.WrFAProductDetail:
  19235. properties:
  19236. accountid:
  19237. description: 资金账号
  19238. type: integer
  19239. areauserid:
  19240. description: 金融机构ID
  19241. type: integer
  19242. financingdays:
  19243. description: 天数(天)
  19244. type: integer
  19245. interestminlen:
  19246. description: 最小起息天数
  19247. type: integer
  19248. interestrate:
  19249. description: 利率
  19250. type: number
  19251. interestratemode:
  19252. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19253. type: integer
  19254. interestsettlemode:
  19255. description: 结息方式 - 1:按日结息 3:按月结息
  19256. type: integer
  19257. interestsettlevalue:
  19258. description: 结息方式值
  19259. type: integer
  19260. isautoloan:
  19261. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  19262. type: integer
  19263. loantag:
  19264. description: '放款标识: "放款快" 或者为空'
  19265. type: string
  19266. marginratio:
  19267. description: 保证金比率质押率 - [仓单质押]
  19268. type: number
  19269. productdetailid:
  19270. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  19271. type: integer
  19272. productid:
  19273. description: 金融产品ID
  19274. type: integer
  19275. productname:
  19276. description: 产品名称
  19277. type: string
  19278. updatetime:
  19279. description: 更新时间
  19280. type: string
  19281. username:
  19282. description: 融出方
  19283. type: string
  19284. type: object
  19285. models.WrFactorTypeInfo:
  19286. properties:
  19287. deliverygoodscode:
  19288. description: 品种代码
  19289. type: string
  19290. deliverygoodsname:
  19291. description: 品种名称
  19292. type: string
  19293. dgfactoryitemid:
  19294. description: 选择项id
  19295. type: integer
  19296. dgfactoryitemtypeid:
  19297. description: 要素选择项ID (1-仓库 2-品牌)
  19298. type: integer
  19299. dgfactoryitemvalue:
  19300. description: 要素项值
  19301. type: string
  19302. itemtypename:
  19303. description: 要素项名称
  19304. type: string
  19305. optioncompare:
  19306. description: 选择比较串
  19307. type: string
  19308. warehouseid:
  19309. description: 仓库id
  19310. type: integer
  19311. wrfactortypeid:
  19312. description: 仓单要素ID
  19313. type: string
  19314. wrfactortypename:
  19315. description: 要素名称
  19316. type: string
  19317. wrfactortypename2:
  19318. description: 要素名称(不含仓库)
  19319. type: string
  19320. wrstandardcode:
  19321. description: 品类代码
  19322. type: string
  19323. wrstandardid:
  19324. description: 品类id
  19325. type: integer
  19326. wrstandardname:
  19327. description: 品类名称
  19328. type: string
  19329. type: object
  19330. models.WrFilterItem:
  19331. properties:
  19332. itemcode:
  19333. description: 代码
  19334. type: string
  19335. itemid:
  19336. description: 项id
  19337. type: integer
  19338. itemname:
  19339. description: 名称
  19340. type: string
  19341. itemtype:
  19342. description: 类型 1-品种 2-品类(商品) 3-仓库
  19343. type: integer
  19344. type: object
  19345. models.WrFinanceBuyApply:
  19346. properties:
  19347. applydate:
  19348. description: 申请时间
  19349. type: string
  19350. applystatus:
  19351. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  19352. type: integer
  19353. applyuserid:
  19354. description: 申请人
  19355. type: integer
  19356. auditdate:
  19357. description: 审核时间
  19358. type: string
  19359. auditremark:
  19360. description: 审核备注
  19361. type: string
  19362. audituserid:
  19363. description: 审核人
  19364. type: integer
  19365. buyaccountid:
  19366. description: 买方资金账号
  19367. type: integer
  19368. buyorsell:
  19369. description: 买卖 - 0:买 1:卖
  19370. type: integer
  19371. buyuserid:
  19372. description: 买方用户ID
  19373. type: integer
  19374. buyusername:
  19375. description: 买方名称
  19376. type: string
  19377. buywrtradeorderid:
  19378. description: 融资方买委托单ID
  19379. type: string
  19380. deliverygoodscode:
  19381. description: 品种代码
  19382. type: string
  19383. deliverygoodsid:
  19384. description: 品种ID
  19385. type: integer
  19386. deliverygoodsname:
  19387. description: 品种名称
  19388. type: string
  19389. deliverymonth:
  19390. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  19391. type: string
  19392. enumdicname:
  19393. description: 单位名称
  19394. type: string
  19395. financeaccountid:
  19396. description: 融资方资金帐户ID
  19397. type: integer
  19398. financeapplyid:
  19399. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19400. type: string
  19401. financeareauserid:
  19402. description: 融资方用户ID
  19403. type: string
  19404. financename:
  19405. description: 融出方名称
  19406. type: string
  19407. financetype:
  19408. description: 融资类型 1-融资回购
  19409. type: integer
  19410. financingdays:
  19411. description: 天数(天)
  19412. type: integer
  19413. freezebuymargin:
  19414. description: 冻结融资保证金(买方)
  19415. type: number
  19416. handleremark:
  19417. description: 处理备注
  19418. type: string
  19419. handlestatus:
  19420. description: 处理状态
  19421. type: integer
  19422. interestminlen:
  19423. description: 最小起息天数
  19424. type: integer
  19425. interestrate:
  19426. description: 利率
  19427. type: number
  19428. interestratemode:
  19429. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19430. type: integer
  19431. interestsettlemode:
  19432. description: 结息方式 - 1:按日结息 3:按月结息
  19433. type: integer
  19434. interestsettlevalue:
  19435. description: 结息方式值
  19436. type: integer
  19437. isautoloan:
  19438. description: 是否自动放款 - 0:手动 1:自动
  19439. type: integer
  19440. marginratio:
  19441. description: 保证金比率质押率 - [仓单质押]
  19442. type: number
  19443. marketid:
  19444. description: 市场ID
  19445. type: integer
  19446. minivalue:
  19447. description: 现货商品最小变动值
  19448. type: integer
  19449. optioncompare:
  19450. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19451. type: string
  19452. orderqty:
  19453. description: 委托数量(商品数量)
  19454. type: number
  19455. productdetailid:
  19456. description: 产品组合ID
  19457. type: integer
  19458. productid:
  19459. description: 金融产品ID
  19460. type: integer
  19461. productname:
  19462. description: 产品名称
  19463. type: string
  19464. remark:
  19465. description: 备注
  19466. type: string
  19467. scfcontractid:
  19468. description: 仓单回购合同ID
  19469. type: string
  19470. sellaccountid:
  19471. description: 卖方资金账号
  19472. type: integer
  19473. selluserid:
  19474. description: 卖方用户ID
  19475. type: integer
  19476. sellwrtradeorderid:
  19477. description: 卖方委托单ID
  19478. type: string
  19479. tradeamount:
  19480. description: 成交金额(借款金额)
  19481. type: number
  19482. tradedate:
  19483. description: 交易日(yyyyMMdd)
  19484. type: string
  19485. tradeprice:
  19486. description: 成交价格
  19487. type: number
  19488. warehouseid:
  19489. description: 仓库ID
  19490. type: integer
  19491. warehousename:
  19492. description: 仓库名称
  19493. type: string
  19494. wrfactortypeid:
  19495. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19496. type: string
  19497. wrfactortypename:
  19498. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19499. type: string
  19500. wrpricetype:
  19501. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  19502. type: integer
  19503. wrstandardcode:
  19504. description: 现货商品代码
  19505. type: string
  19506. wrstandardid:
  19507. description: 现货商品ID
  19508. type: integer
  19509. wrstandardname:
  19510. description: 商品名称
  19511. type: string
  19512. wrtypename:
  19513. description: 商品
  19514. type: string
  19515. type: object
  19516. models.WrFriendApply:
  19517. properties:
  19518. applicantid:
  19519. description: 申请人
  19520. type: integer
  19521. applyname:
  19522. description: 申请人名称
  19523. type: string
  19524. applysrc:
  19525. description: 申请来源 - 1:管理端 2:终端
  19526. type: integer
  19527. applystatus:
  19528. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19529. type: integer
  19530. applytime:
  19531. description: 申请时间
  19532. type: string
  19533. auditname:
  19534. description: 审核人名称
  19535. type: string
  19536. auditorid:
  19537. description: 审核人
  19538. type: integer
  19539. auditremark:
  19540. description: 审核备注
  19541. type: string
  19542. auditsrc:
  19543. description: 审核来源 - 1:管理端 2:终端
  19544. type: integer
  19545. audittime:
  19546. description: 审核时间
  19547. type: string
  19548. friendapplyid:
  19549. description: 申请ID(SEQ_FRIENDAPPLY)
  19550. type: string
  19551. friendname:
  19552. description: 好友名字(已脱敏)
  19553. type: string
  19554. frienduserid:
  19555. description: 好友用户ID
  19556. type: string
  19557. remark:
  19558. description: 备注
  19559. type: string
  19560. userid:
  19561. description: 申请人用户ID
  19562. type: integer
  19563. type: object
  19564. models.WrFtDeliveryGoods:
  19565. properties:
  19566. deliverygoodscode:
  19567. description: 品种代码
  19568. type: string
  19569. deliverygoodsid:
  19570. description: 品种ID
  19571. type: integer
  19572. deliverygoodsname:
  19573. description: 品种名称
  19574. type: string
  19575. wdlst:
  19576. description: 商品列表
  19577. items:
  19578. $ref: '#/definitions/models.WrFtWrstandard'
  19579. type: array
  19580. type: object
  19581. models.WrFtWrstandard:
  19582. properties:
  19583. enumdicname:
  19584. description: 单位名称
  19585. type: string
  19586. minivalue:
  19587. description: 最小变动值
  19588. type: integer
  19589. wrstandardcode:
  19590. description: 现货商品代码
  19591. type: string
  19592. wrstandardid:
  19593. description: 现货商品ID
  19594. type: integer
  19595. wrstandardname:
  19596. description: 商品名称
  19597. type: string
  19598. type: object
  19599. models.WrGoodsInfo:
  19600. properties:
  19601. haswr:
  19602. description: 0:仓单预售 1:仓单贸易
  19603. type: integer
  19604. lstitem:
  19605. description: 商品信息项
  19606. items:
  19607. $ref: '#/definitions/models.WrTypeItem'
  19608. type: array
  19609. lststep:
  19610. description: 履约规则
  19611. items:
  19612. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19613. type: array
  19614. marketid:
  19615. description: 市场id
  19616. type: integer
  19617. type: object
  19618. models.WrGoodsPerformanceStep:
  19619. properties:
  19620. autoid:
  19621. description: AutoID
  19622. type: integer
  19623. isauto:
  19624. description: 是否自动 - 0:不自动 1:自动
  19625. type: integer
  19626. remark:
  19627. description: 备注
  19628. type: string
  19629. stepdate:
  19630. description: 天数信息(T+N)
  19631. type: string
  19632. stepdays:
  19633. description: 距离上一步天数
  19634. type: integer
  19635. stepindex:
  19636. description: 步骤序号
  19637. type: integer
  19638. stepinfo:
  19639. description: 步骤信息(步骤名称+步骤值)
  19640. type: string
  19641. steptypeid:
  19642. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19643. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19644. type: integer
  19645. steptypename:
  19646. description: 步骤名称
  19647. type: string
  19648. stepvalue:
  19649. description: 期初均价
  19650. type: number
  19651. templateid:
  19652. description: 履约计划模板ID
  19653. type: integer
  19654. type: object
  19655. models.WrHoldLB:
  19656. properties:
  19657. accountid:
  19658. description: 持有人帐户ID
  19659. type: integer
  19660. bannerpicurl:
  19661. description: Banner图
  19662. type: string
  19663. createtime:
  19664. description: 创建时间(过户时间)
  19665. type: string
  19666. deliverygoodscode:
  19667. description: 品种代码
  19668. type: string
  19669. deliverygoodsid:
  19670. description: 品种ID
  19671. type: integer
  19672. deliverygoodsname:
  19673. description: 品种名称
  19674. type: string
  19675. enableqty:
  19676. description: 可用数量
  19677. type: number
  19678. enumdicname:
  19679. description: 单位名称
  19680. type: string
  19681. freezerqty:
  19682. description: 冻结数量
  19683. type: number
  19684. ladingbillid:
  19685. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19686. type: string
  19687. minivalue:
  19688. description: 现货商品最小变动值
  19689. type: integer
  19690. optioncompare:
  19691. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19692. type: string
  19693. parentsubnum:
  19694. description: 拆分父子单号
  19695. type: integer
  19696. pledgeqty:
  19697. description: 质押数量
  19698. type: number
  19699. qty:
  19700. description: 数量
  19701. type: number
  19702. subnum:
  19703. description: 提单子单号
  19704. type: integer
  19705. thumurls:
  19706. description: 缩略图
  19707. type: string
  19708. tradedate:
  19709. description: 交易日(yyyyMMdd)
  19710. type: string
  19711. userid:
  19712. description: 持有人ID
  19713. type: integer
  19714. warehouseid:
  19715. description: 仓库ID
  19716. type: integer
  19717. warehousename:
  19718. description: 仓库名称
  19719. type: string
  19720. wrfactortypeid:
  19721. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19722. type: string
  19723. wrfactortypename:
  19724. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19725. type: string
  19726. wrholdeno:
  19727. description: 仓单编号
  19728. type: string
  19729. wrid:
  19730. description: 仓单变更ID
  19731. type: string
  19732. wrstandardcode:
  19733. description: 现货商品代码
  19734. type: string
  19735. wrstandardid:
  19736. description: 现货商品ID
  19737. type: integer
  19738. wrstandardname:
  19739. description: 商品名称
  19740. type: string
  19741. wrtypename:
  19742. description: 商品
  19743. type: string
  19744. type: object
  19745. models.WrMarketTradeConfig:
  19746. properties:
  19747. basisdownratio:
  19748. description: 浮动价基差下限比例(仓单贸易)
  19749. type: number
  19750. basisupratio:
  19751. description: 浮动价基差上限比例(仓单贸易)
  19752. type: number
  19753. buychargealgorithm:
  19754. description: 买方手续费收取方式 1:比率 2:固定
  19755. type: integer
  19756. buychargealgorithm2:
  19757. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  19758. type: integer
  19759. buychargealgorithmvalue:
  19760. description: 买方手续费设置值(交易所部分)
  19761. type: number
  19762. buychargealgorithmvalue2:
  19763. description: 买方手续费设置值(会员部分)
  19764. type: number
  19765. buychargealgorithmvalue3:
  19766. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  19767. type: number
  19768. buychargealgorithmvalue4:
  19769. description: 回购买方手续费设置值(会员部分) --77:现货商城
  19770. type: number
  19771. buyfirstmarginalgorithm:
  19772. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  19773. type: integer
  19774. buyfirstmarginvalue:
  19775. description: 买方出价保证金设置值 - [竞拍]
  19776. type: number
  19777. buymarginalgorithm:
  19778. description: 买方保证金方式 - 1:比率 2:固定
  19779. type: integer
  19780. buymarginvalue:
  19781. description: 买方保证金设置值
  19782. type: number
  19783. buyreleaseratio:
  19784. description: 买方释放比率[2:分步履约]
  19785. type: number
  19786. executemode:
  19787. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  19788. type: integer
  19789. executeside:
  19790. description: 执行方[2:分步履约] - 1:买方 2:卖方
  19791. type: integer
  19792. failedchargealgorithm:
  19793. description: 流拍手续费收取方式 1:比率 2:固定
  19794. type: integer
  19795. failedchargevalue:
  19796. description: 流拍手续费设置值
  19797. type: number
  19798. failedchargevalue2:
  19799. description: 流拍卖方手续费设置值
  19800. type: number
  19801. holddays:
  19802. description: 合同期限[2:分步履约]
  19803. type: integer
  19804. listingmode:
  19805. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19806. type: integer
  19807. marketid:
  19808. description: 市场ID-仓单贸易、竞拍、预售
  19809. type: integer
  19810. minqty:
  19811. description: 最小执行量[2:分步履约]
  19812. type: number
  19813. modifierid:
  19814. description: 修改人
  19815. type: integer
  19816. nowrquotaflag:
  19817. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  19818. type: integer
  19819. performancetempid:
  19820. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19821. 立即执行(-1)
  19822. type: integer
  19823. performancetempid2:
  19824. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19825. 立即执行
  19826. type: integer
  19827. performancetempid2s:
  19828. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19829. - 履约方式: 立即执行
  19830. type: string
  19831. performancetempids:
  19832. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19833. - 履约方式: 立即执行(-1)
  19834. type: string
  19835. performanceway:
  19836. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  19837. type: integer
  19838. sellchargealgorithm:
  19839. description: 卖方手续费收取方式 1:比率 2:固定
  19840. type: integer
  19841. sellchargealgorithm2:
  19842. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  19843. type: integer
  19844. sellchargealgorithmvalue:
  19845. description: 卖方手续费设置值(交易所部分)
  19846. type: number
  19847. sellchargealgorithmvalue2:
  19848. description: 卖方手续费设置值(会员部分)
  19849. type: number
  19850. sellchargealgorithmvalue3:
  19851. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  19852. type: number
  19853. sellchargealgorithmvalue4:
  19854. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  19855. type: number
  19856. sellmarginalgorithm:
  19857. description: 卖方保证金方式 - 1:比率 2:固定
  19858. type: integer
  19859. sellmarginvalue:
  19860. description: 卖方保证金设置值
  19861. type: number
  19862. sellmarginvalue2:
  19863. description: 卖方保证金设置值(无仓单)
  19864. type: number
  19865. sellreleaseratio:
  19866. description: 卖方释放比率[2:分步履约]
  19867. type: number
  19868. updatetime:
  19869. description: 更新时间
  19870. type: string
  19871. type: object
  19872. models.WrOrderDetail:
  19873. properties:
  19874. accountid:
  19875. description: 交易账号(资金账号)
  19876. type: integer
  19877. allfriendsflag:
  19878. description: 是否全好友可见 - 0:否 1:是
  19879. type: integer
  19880. amount:
  19881. description: 期初均价
  19882. type: number
  19883. bannerpicurl:
  19884. description: Banner图
  19885. type: string
  19886. begindate:
  19887. description: 开始交易日(yyyymmdd)
  19888. type: string
  19889. buyorsell:
  19890. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19891. type: integer
  19892. canbargain:
  19893. description: 是否可议价 - 0:不可 1:可
  19894. type: integer
  19895. cancelqty:
  19896. description: 撤销数量
  19897. type: number
  19898. canpart:
  19899. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  19900. type: integer
  19901. delistminqty:
  19902. description: 起摘数量
  19903. type: integer
  19904. deliverygoodscode:
  19905. description: 品种代码
  19906. type: string
  19907. deliverygoodsid:
  19908. description: 品种ID
  19909. type: integer
  19910. deliverygoodsname:
  19911. description: 品种名称
  19912. type: string
  19913. deliverymonth:
  19914. description: 交收月
  19915. type: string
  19916. enddate:
  19917. description: 结束交易日(yyyymmdd)
  19918. type: string
  19919. enumdicname:
  19920. description: 单位名称
  19921. type: string
  19922. fixedprice:
  19923. description: 固定价格 - [挂牌]
  19924. type: number
  19925. freezecharge:
  19926. description: 期初均价
  19927. type: number
  19928. freezemargin:
  19929. description: 期初均价
  19930. type: number
  19931. futupricemove:
  19932. description: 期货升贴水
  19933. type: number
  19934. futushow:
  19935. description: 期货合约/升贴水
  19936. type: string
  19937. goodscode:
  19938. description: 期货合约
  19939. type: string
  19940. goodsid:
  19941. description: 期货商品id
  19942. type: integer
  19943. goodsname:
  19944. description: 商品名称
  19945. type: string
  19946. haswr:
  19947. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19948. type: integer
  19949. isspecified:
  19950. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  19951. type: integer
  19952. ladingbillid:
  19953. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19954. type: string
  19955. marginvalue:
  19956. description: 期初均价
  19957. type: number
  19958. marketid:
  19959. description: 市场ID
  19960. type: integer
  19961. matchusername:
  19962. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  19963. type: string
  19964. minivalue:
  19965. description: 现货商品最小变动值
  19966. type: integer
  19967. optioncompare:
  19968. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19969. type: string
  19970. orderqty:
  19971. description: 委托数量
  19972. type: number
  19973. ordertime:
  19974. description: 委托时间(挂牌时间)
  19975. type: string
  19976. performancetemplateid:
  19977. description: 履约模板id
  19978. type: integer
  19979. pricemove:
  19980. description: 升贴水(浮动价时填写) - [挂牌]
  19981. type: number
  19982. taname:
  19983. description: 交易用户名称(资金账号名称)
  19984. type: string
  19985. thumurls:
  19986. description: 缩略图
  19987. type: string
  19988. tradedate:
  19989. description: 交易日(yyyyMMdd)
  19990. type: string
  19991. tradeprice:
  19992. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  19993. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  19994. type: number
  19995. tradeqty:
  19996. description: 成交数量
  19997. type: number
  19998. userid:
  19999. description: 用户ID
  20000. type: integer
  20001. validtime:
  20002. description: 挂牌有效期
  20003. type: string
  20004. validtype:
  20005. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  20006. type: integer
  20007. warehouseid:
  20008. description: 仓库ID
  20009. type: integer
  20010. warehousename:
  20011. description: 仓库名称
  20012. type: string
  20013. wrfactortypeid:
  20014. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20015. type: string
  20016. wrfactortypename:
  20017. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20018. type: string
  20019. wrpricetype:
  20020. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20021. type: integer
  20022. wrstandardcode:
  20023. description: 现货商品代码
  20024. type: string
  20025. wrstandardid:
  20026. description: 现货商品ID
  20027. type: integer
  20028. wrstandardname:
  20029. description: 商品名称
  20030. type: string
  20031. wrtradeorderid:
  20032. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20033. type: string
  20034. wrtradeorderstatus:
  20035. 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:撤单解冻贷款失败
  20036. type: integer
  20037. wrtradetype:
  20038. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20039. type: integer
  20040. wrtypename:
  20041. description: 商品
  20042. type: string
  20043. type: object
  20044. models.WrOrderQuote:
  20045. properties:
  20046. bannerpicurl:
  20047. description: Banner图
  20048. type: string
  20049. buyprice:
  20050. description: 买价
  20051. type: number
  20052. buypricemove:
  20053. description: 买升贴水(基差)
  20054. type: number
  20055. buyqty:
  20056. description: 买量
  20057. type: number
  20058. deliverygoodscode:
  20059. description: 品种代码
  20060. type: string
  20061. deliverygoodsid:
  20062. description: 品种id
  20063. type: integer
  20064. deliverygoodsname:
  20065. description: 品种名称
  20066. type: string
  20067. deliverymonth:
  20068. description: 交收月
  20069. type: string
  20070. enumdicname:
  20071. description: 单位名称
  20072. type: string
  20073. goodscode:
  20074. description: 商品合约(浮动价列表才有)
  20075. type: string
  20076. goodsid:
  20077. description: 商品id(浮动价列表才有)
  20078. type: integer
  20079. minivalue:
  20080. description: 现货商品最小变动值
  20081. type: integer
  20082. pictureurls:
  20083. description: 详情图片(逗号分隔)
  20084. type: string
  20085. sellprice:
  20086. description: 卖价
  20087. type: number
  20088. sellpricemove:
  20089. description: 卖升贴水(基差)
  20090. type: number
  20091. sellqty:
  20092. description: 卖量
  20093. type: number
  20094. thumurls:
  20095. description: 缩略图片(1:1)(逗号分隔)
  20096. type: string
  20097. warehousecode:
  20098. description: 仓库代码
  20099. type: string
  20100. warehouseid:
  20101. description: 仓库id
  20102. type: integer
  20103. warehousename:
  20104. description: 仓库名称
  20105. type: string
  20106. wrfactortypeid:
  20107. description: 仓单要素id
  20108. type: string
  20109. wrfactortypename:
  20110. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20111. type: string
  20112. wrgoodsname:
  20113. description: 商品(商品名称+仓库要素名称 拼接)
  20114. type: string
  20115. wrstandardcode:
  20116. description: 商品代码
  20117. type: string
  20118. wrstandardid:
  20119. description: 商品id
  20120. type: integer
  20121. wrstandardname:
  20122. description: 商品名称
  20123. type: string
  20124. type: object
  20125. models.WrOrderQuoteDetail:
  20126. properties:
  20127. buyorsell:
  20128. description: 买卖 - 0:买 1:卖
  20129. type: integer
  20130. delistminqty:
  20131. description: 期初均价
  20132. type: number
  20133. deliverymonth:
  20134. description: 交收月
  20135. type: string
  20136. enumdicname:
  20137. description: 单位名称
  20138. type: string
  20139. fixedprice:
  20140. description: 买(卖)价
  20141. type: number
  20142. marketid:
  20143. description: 市场id
  20144. type: integer
  20145. minivalue:
  20146. description: 现货商品最小变动值
  20147. type: integer
  20148. orderqty:
  20149. description: 买(卖)量(=委托量-成交量)
  20150. type: number
  20151. ordertime:
  20152. description: 委托时间
  20153. type: string
  20154. pricemove:
  20155. description: 买(卖)升贴水- 基差
  20156. type: number
  20157. userid:
  20158. description: 购买方(销售方)用户ID
  20159. type: integer
  20160. username:
  20161. description: 购买方(销售方)
  20162. type: string
  20163. wrtradeorderid:
  20164. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20165. type: string
  20166. type: object
  20167. models.WrOutInApply:
  20168. properties:
  20169. applyid:
  20170. description: 申请单id
  20171. type: string
  20172. applystatus:
  20173. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  20174. 8:已撤销
  20175. type: integer
  20176. applytime:
  20177. description: 申请时间
  20178. type: string
  20179. applytype:
  20180. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  20181. type: integer
  20182. bannerpicurl:
  20183. description: Banner图
  20184. type: string
  20185. begindate:
  20186. description: 开始交易日(yyyymmdd)
  20187. type: string
  20188. deliverygoodscode:
  20189. description: 品种代码
  20190. type: string
  20191. deliverygoodsid:
  20192. description: 品种ID
  20193. type: integer
  20194. deliverygoodsname:
  20195. description: 品种名称
  20196. type: string
  20197. enddate:
  20198. description: 结束交易日(yyyymmdd)
  20199. type: string
  20200. enumdicname:
  20201. description: 单位名称
  20202. type: string
  20203. expresscompany:
  20204. description: 物流公司
  20205. type: string
  20206. expressnum:
  20207. description: 物流单号
  20208. type: string
  20209. minivalue:
  20210. description: 现货商品最小变动值
  20211. type: integer
  20212. optioncompare:
  20213. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20214. type: string
  20215. qty:
  20216. description: 数量
  20217. type: integer
  20218. userid:
  20219. description: 用户id
  20220. type: integer
  20221. warehouseid:
  20222. description: 仓库ID
  20223. type: integer
  20224. warehousename:
  20225. description: 仓库名称
  20226. type: string
  20227. wrfactortypeid:
  20228. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20229. type: string
  20230. wrfactortypename:
  20231. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20232. type: string
  20233. wrstandardcode:
  20234. description: 现货商品代码
  20235. type: string
  20236. wrstandardid:
  20237. description: 现货商品ID
  20238. type: integer
  20239. wrstandardname:
  20240. description: 商品名称
  20241. type: string
  20242. wrtypename:
  20243. description: 商品
  20244. type: string
  20245. type: object
  20246. models.WrPerformancePlan:
  20247. properties:
  20248. activatemonth:
  20249. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  20250. type: string
  20251. amount:
  20252. description: 履约金额(总金额)
  20253. type: number
  20254. begindate:
  20255. description: 开始交易日(yyyymmdd)
  20256. type: string
  20257. buyaccountid:
  20258. description: 买方账号
  20259. type: integer
  20260. buyerfreezeamount:
  20261. description: 履约冻结(买履约)
  20262. type: number
  20263. buyerfreezeamountremain:
  20264. description: 履约冻结剩余(买履约)
  20265. type: number
  20266. buyorsell:
  20267. description: 买卖方向 0-买 1-卖
  20268. type: integer
  20269. buypaidamount:
  20270. description: 买方已冻/已扣金额 (已付金额)
  20271. type: number
  20272. buyusername:
  20273. description: 买方名字
  20274. type: string
  20275. contractid:
  20276. description: 合同ID
  20277. type: integer
  20278. createtime:
  20279. description: 创建时间
  20280. type: string
  20281. creatorid:
  20282. description: 创建人
  20283. type: integer
  20284. curstepdeadline:
  20285. description: 当前步骤到期时间
  20286. type: string
  20287. curstepid:
  20288. description: 当前步骤ID
  20289. type: string
  20290. curstepname:
  20291. description: 当前步骤名称
  20292. type: string
  20293. deliverygoodscode:
  20294. description: 品种代码
  20295. type: string
  20296. deliverygoodsid:
  20297. description: 品种ID
  20298. type: integer
  20299. deliverygoodsname:
  20300. description: 品种名称
  20301. type: string
  20302. enddate:
  20303. description: 结束交易日(yyyymmdd)
  20304. type: string
  20305. enumdicname:
  20306. description: 单位名称
  20307. type: string
  20308. expressfee:
  20309. description: 运费
  20310. type: number
  20311. expressfeeconfirmed:
  20312. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  20313. type: integer
  20314. hasovershort:
  20315. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  20316. type: integer
  20317. haswr:
  20318. description: 类型 0-仓单预售 1-仓单贸易
  20319. type: integer
  20320. marketid:
  20321. description: 市场ID
  20322. type: integer
  20323. middleaccountid:
  20324. description: 中间商资金账号ID
  20325. type: integer
  20326. middleuserid:
  20327. description: 中间商用户ID
  20328. type: integer
  20329. minivalue:
  20330. description: 现货商品最小变动值
  20331. type: integer
  20332. optioncompare:
  20333. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20334. type: string
  20335. overshortamount:
  20336. description: 溢短金额
  20337. type: number
  20338. overshortqty:
  20339. description: 溢短数量
  20340. type: number
  20341. paymenttype:
  20342. description: 付款方式 - 1:冻结 2:扣款
  20343. type: integer
  20344. performanceplanid:
  20345. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  20346. type: string
  20347. performancestatus:
  20348. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  20349. 9:超时待处理 10:超时关闭
  20350. type: integer
  20351. performancetype:
  20352. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  20353. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  20354. type: integer
  20355. qty:
  20356. description: 履约数量
  20357. type: number
  20358. relatedorderid:
  20359. description: 关联单号(履约类型的关联单号)
  20360. type: string
  20361. remark:
  20362. description: 备注
  20363. type: string
  20364. sellaccountid:
  20365. description: 卖方账号
  20366. type: integer
  20367. sellerfreezeamount:
  20368. description: 履约冻结(卖履约)
  20369. type: number
  20370. sellerfreezeamountremain:
  20371. description: 履约冻结剩余(卖履约)
  20372. type: number
  20373. sellreceivedamount:
  20374. description: 卖方已收金额
  20375. type: number
  20376. sellusername:
  20377. description: 卖方名字
  20378. type: string
  20379. shipremark:
  20380. description: 发货备注[物流单号]
  20381. type: string
  20382. starttime:
  20383. description: 开始时间
  20384. type: string
  20385. steptypeid:
  20386. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20387. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20388. type: integer
  20389. typename:
  20390. description: 履约类型 名称
  20391. type: string
  20392. unpaidamount:
  20393. description: 期初均价
  20394. type: number
  20395. userid:
  20396. description: 用户id
  20397. type: integer
  20398. warehouseid:
  20399. description: 仓库ID
  20400. type: integer
  20401. warehousename:
  20402. description: 仓库名称
  20403. type: string
  20404. wrfactortypeid:
  20405. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20406. type: string
  20407. wrfactortypename:
  20408. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20409. type: string
  20410. wrstandardcode:
  20411. description: 现货商品代码
  20412. type: string
  20413. wrstandardid:
  20414. description: 现货商品ID
  20415. type: integer
  20416. wrstandardname:
  20417. description: 商品名称
  20418. type: string
  20419. wrtransferuserid:
  20420. description: 仓单受让用户
  20421. type: integer
  20422. wrtypename:
  20423. description: 商品
  20424. type: string
  20425. required:
  20426. - userid
  20427. type: object
  20428. models.WrPerformancePlanStep:
  20429. properties:
  20430. delaydays:
  20431. description: 延期申请天数
  20432. type: integer
  20433. deliverygoodscode:
  20434. description: 品种代码
  20435. type: string
  20436. deliverygoodsid:
  20437. description: 品种ID
  20438. type: integer
  20439. deliverygoodsname:
  20440. description: 品种名称
  20441. type: string
  20442. endtime:
  20443. description: 结束日期
  20444. type: string
  20445. enumdicname:
  20446. description: 单位名称
  20447. type: string
  20448. executeside:
  20449. description: 步骤执行方 - 1:买方 2:卖方
  20450. type: integer
  20451. handlestatus:
  20452. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  20453. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  20454. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  20455. type: integer
  20456. isauto:
  20457. description: 是否自动 - 0:不自动 1:自动
  20458. type: integer
  20459. islastreceivestep:
  20460. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  20461. type: integer
  20462. minivalue:
  20463. description: 现货商品最小变动值
  20464. type: integer
  20465. optioncompare:
  20466. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20467. type: string
  20468. overdays:
  20469. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  20470. type: integer
  20471. performancestepid:
  20472. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  20473. type: string
  20474. planid:
  20475. description: 所属履约计划ID
  20476. type: string
  20477. realamount:
  20478. description: 实际完成金额
  20479. type: number
  20480. relatedorderid:
  20481. description: 关联单号
  20482. type: string
  20483. remaindays:
  20484. description: 剩余天数
  20485. type: integer
  20486. remark:
  20487. description: 错误备注
  20488. type: string
  20489. starttime:
  20490. description: 开始日期
  20491. type: string
  20492. stepamount:
  20493. description: 步骤金额
  20494. type: number
  20495. stepdays:
  20496. description: 距离上一步天数(分钟)
  20497. type: integer
  20498. stepindex:
  20499. description: 步骤序号
  20500. type: integer
  20501. steplanchtype:
  20502. description: 步骤启动类型 - 1:系统自动 2:手动
  20503. type: integer
  20504. stepremark:
  20505. description: 步骤备注
  20506. type: string
  20507. stepstatus:
  20508. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  20509. type: integer
  20510. steptypeid:
  20511. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20512. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20513. type: integer
  20514. steptypename:
  20515. description: 步骤名称
  20516. type: string
  20517. stepvalue:
  20518. description: 步骤值
  20519. type: number
  20520. warehouseid:
  20521. description: 仓库ID
  20522. type: integer
  20523. warehousename:
  20524. description: 仓库名称
  20525. type: string
  20526. wrfactortypeid:
  20527. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20528. type: string
  20529. wrfactortypename:
  20530. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20531. type: string
  20532. wrstandardcode:
  20533. description: 现货商品代码
  20534. type: string
  20535. wrstandardid:
  20536. description: 现货商品ID
  20537. type: integer
  20538. wrstandardname:
  20539. description: 商品名称
  20540. type: string
  20541. wrtypename:
  20542. description: 商品
  20543. type: string
  20544. type: object
  20545. models.WrPerformanceStepType:
  20546. properties:
  20547. canauto:
  20548. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  20549. type: integer
  20550. steptypeid:
  20551. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  20552. type: integer
  20553. steptypename:
  20554. description: 步骤类型名称
  20555. type: string
  20556. type: object
  20557. models.WrPerformanceTemplateEx:
  20558. properties:
  20559. autoid:
  20560. description: AutoID 模板id
  20561. type: integer
  20562. createtime:
  20563. description: 创建时间
  20564. type: string
  20565. creatorid:
  20566. description: 创建人
  20567. type: integer
  20568. lstStep:
  20569. description: 步骤信息列表
  20570. items:
  20571. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20572. type: array
  20573. paymenttype:
  20574. description: 支付方式 - 1:冻结 2:扣款
  20575. type: integer
  20576. takemode:
  20577. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  20578. type: integer
  20579. templatename:
  20580. description: 模板名称
  20581. type: string
  20582. templatetype:
  20583. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  20584. (无仓单) 5:挂牌期权 6:竞拍-降价式
  20585. type: integer
  20586. userid:
  20587. description: 所属用户
  20588. type: integer
  20589. type: object
  20590. models.WrPosition:
  20591. properties:
  20592. accountid:
  20593. description: 帐户ID
  20594. type: integer
  20595. buyexcuteqty:
  20596. description: 采购履约中数量
  20597. type: number
  20598. creditcurqty:
  20599. description: 授信当前数量(预售仓单:预售当前量)
  20600. type: number
  20601. creditenableqty:
  20602. description: '授信可用数量(预售仓单: 可用数量)'
  20603. type: number
  20604. creditfreezeqty:
  20605. description: '授信冻结数量(预售仓单: 当前数量)'
  20606. type: number
  20607. credittotalqty:
  20608. description: 授信总数量(预售仓单:预售总量)
  20609. type: number
  20610. credittradeqty:
  20611. description: 授信成交数量(预售仓单:成交总量)
  20612. type: number
  20613. deliverygoodscode:
  20614. description: 品种代码
  20615. type: string
  20616. deliverygoodsid:
  20617. description: 品种ID
  20618. type: integer
  20619. deliverygoodsname:
  20620. description: 品种名称
  20621. type: string
  20622. enalbeqty:
  20623. description: 可用数量
  20624. type: number
  20625. enumdicname:
  20626. description: 单位名称
  20627. type: string
  20628. freezeqty:
  20629. description: 总冻结数量
  20630. type: number
  20631. haswr:
  20632. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20633. type: integer
  20634. minivalue:
  20635. description: 现货商品最小变动值
  20636. type: integer
  20637. modifytime:
  20638. description: 修改时间(过户时间)
  20639. type: string
  20640. optioncompare:
  20641. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20642. type: string
  20643. pledgeqty:
  20644. description: 质押数量
  20645. type: number
  20646. querytype:
  20647. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  20648. type: integer
  20649. sellexcuteqty:
  20650. description: 销售履约中数量
  20651. type: number
  20652. totalqty:
  20653. description: 总数量(库存数量)
  20654. type: number
  20655. warehouseid:
  20656. description: 仓库ID
  20657. type: integer
  20658. warehousename:
  20659. description: 仓库名称
  20660. type: string
  20661. wrfactortypeid:
  20662. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20663. type: string
  20664. wrfactortypename:
  20665. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20666. type: string
  20667. wrpositionid:
  20668. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20669. type: string
  20670. wrpositionno:
  20671. description: 仓单编号
  20672. type: string
  20673. wrstandardcode:
  20674. description: 现货商品代码
  20675. type: string
  20676. wrstandardid:
  20677. description: 现货商品ID
  20678. type: integer
  20679. wrstandardname:
  20680. description: 商品名称
  20681. type: string
  20682. wrtypename:
  20683. description: 商品
  20684. type: string
  20685. wruserid:
  20686. description: 持有人ID
  20687. type: integer
  20688. type: object
  20689. models.WrPreSaleInfo:
  20690. properties:
  20691. bannerpicurl:
  20692. description: Banner图
  20693. type: string
  20694. baseqty:
  20695. description: 中签基数
  20696. type: number
  20697. createtime:
  20698. description: 创建时间
  20699. type: string
  20700. deliverygoodsid:
  20701. description: 现货品种ID
  20702. type: integer
  20703. enddate:
  20704. description: 预售结束日期
  20705. type: string
  20706. enumdicname:
  20707. description: 单位名称
  20708. type: string
  20709. lotteryflag:
  20710. description: 摇号标识 - 0:未摇号 1:已摇号
  20711. type: integer
  20712. lotteryqty:
  20713. description: 摇号总量
  20714. type: number
  20715. luckyqty:
  20716. description: 已中签量
  20717. type: number
  20718. marketid:
  20719. description: 市场ID
  20720. type: integer
  20721. maxbuyqty:
  20722. description: 单人最大申购量
  20723. type: number
  20724. maxluckyqty:
  20725. description: 单人最大中签量
  20726. type: number
  20727. pictureurls:
  20728. description: 详情图片(逗号分隔)
  20729. type: string
  20730. placeqty:
  20731. description: 已配售量
  20732. type: number
  20733. presaleapplyid:
  20734. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  20735. example: "0"
  20736. type: string
  20737. presaleqty:
  20738. description: 预售总量
  20739. type: number
  20740. presalestatus:
  20741. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  20742. type: integer
  20743. sellaccountid:
  20744. description: 发行方资金账户ID
  20745. type: integer
  20746. selluserid:
  20747. description: 发行方用户ID
  20748. type: integer
  20749. sellwrtradeorderid:
  20750. description: 发行方卖委托单ID
  20751. type: string
  20752. startdate:
  20753. description: 预售开始日期
  20754. type: string
  20755. takestartdate:
  20756. description: 提货开始日期
  20757. type: string
  20758. thumurls:
  20759. description: 缩略图片(1:1)(逗号分隔)
  20760. type: string
  20761. tradedate:
  20762. description: 交易日
  20763. type: string
  20764. unitid:
  20765. description: 单位ID
  20766. type: integer
  20767. unitprice:
  20768. description: 商品单价
  20769. type: number
  20770. username:
  20771. description: 发行方用户名称
  20772. type: string
  20773. warehousecode:
  20774. description: 仓库代码(仓库简称)
  20775. type: string
  20776. warehouseid:
  20777. description: 仓库ID
  20778. type: integer
  20779. warehousename:
  20780. description: 仓库名称
  20781. type: string
  20782. wrfactortypeid:
  20783. description: 仓单要素类型ID - 根据现货商品\仓库生成
  20784. example: "0"
  20785. type: string
  20786. wrstandardid:
  20787. description: 现货商品ID
  20788. type: integer
  20789. wrstandardname:
  20790. description: 现货商品名称
  20791. type: string
  20792. type: object
  20793. models.WrQuoteOrderMyq:
  20794. properties:
  20795. buyorsell:
  20796. description: 买卖 - 0:买 1:卖
  20797. type: integer
  20798. canbargain:
  20799. description: 是否可议价 - 0:不可 1:可
  20800. type: integer
  20801. canpart:
  20802. description: 是否允许部份摘牌 - 0:不允许 1:允许
  20803. type: integer
  20804. delistminqty:
  20805. description: 期初均价
  20806. type: number
  20807. deliverygoodscode:
  20808. description: 品种代码
  20809. type: string
  20810. deliverygoodsid:
  20811. description: 品种ID
  20812. type: integer
  20813. deliverygoodsname:
  20814. description: 品种名称
  20815. type: string
  20816. deliverymonth:
  20817. description: 交收月
  20818. type: string
  20819. enumdicname:
  20820. description: 单位名称
  20821. type: string
  20822. fixedprice:
  20823. description: 买(卖)价
  20824. type: number
  20825. goodscode:
  20826. description: 商品合约代码
  20827. type: string
  20828. marginflag:
  20829. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  20830. type: integer
  20831. marginvalue:
  20832. description: 保证金设置值
  20833. type: number
  20834. minivalue:
  20835. description: 现货商品最小变动值
  20836. type: integer
  20837. orderqty:
  20838. description: 买(卖)量(=委托量-成交量)
  20839. type: number
  20840. ordertime:
  20841. description: 委托时间
  20842. type: string
  20843. performancetemplateid:
  20844. description: 履约模板id
  20845. type: integer
  20846. pricemove:
  20847. description: 买(卖)升贴水- 基差
  20848. type: number
  20849. templatename:
  20850. description: 履约模板名称
  20851. type: string
  20852. userid:
  20853. description: 购买方(销售方)用户ID
  20854. type: integer
  20855. username:
  20856. description: 购买方(销售方)
  20857. type: string
  20858. validtime:
  20859. description: 有效期限
  20860. type: string
  20861. validtype:
  20862. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  20863. type: integer
  20864. warehousename:
  20865. description: 仓库名称
  20866. type: string
  20867. wrfactortypeid:
  20868. description: 仓单要素id
  20869. type: string
  20870. wrstandardcode:
  20871. description: 现货商品代码
  20872. type: string
  20873. wrstandardid:
  20874. description: 现货商品ID
  20875. type: integer
  20876. wrstandardname:
  20877. description: 商品名称
  20878. type: string
  20879. wrtradeorderid:
  20880. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20881. type: string
  20882. wrtypename:
  20883. description: 商品
  20884. type: string
  20885. type: object
  20886. models.WrReckonSpotGoodsTradeSum:
  20887. properties:
  20888. begindate:
  20889. description: 开始日期(结果含开始日期) yyyymmdd
  20890. type: string
  20891. enddate:
  20892. description: 结束日期(结果含结束日期) yyyymmdd
  20893. type: string
  20894. istoday:
  20895. description: 是否当日
  20896. type: boolean
  20897. marketid:
  20898. description: 市场ID
  20899. type: integer
  20900. price:
  20901. description: 价格 = 日成交金额 / 日成交数量
  20902. type: string
  20903. reckondate:
  20904. description: 日期 格式 yyyymmdd
  20905. type: string
  20906. tradeamount:
  20907. description: 期初均价
  20908. type: number
  20909. tradeqty:
  20910. description: 期初均价
  20911. type: number
  20912. wrstandardid:
  20913. description: 现货商品ID
  20914. type: integer
  20915. type: object
  20916. models.WrScfContract:
  20917. properties:
  20918. borroweruserid:
  20919. description: 借款用户ID
  20920. type: integer
  20921. buybackwrpositionqty:
  20922. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  20923. type: number
  20924. closeinterest:
  20925. description: 已结利息 -> 已结费用
  20926. type: number
  20927. currisklevel:
  20928. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  20929. type: integer
  20930. deadline:
  20931. description: 截止日期(yyyyMMdd) -> 借款到期时间
  20932. type: string
  20933. deliverygoodscode:
  20934. description: 品种代码
  20935. type: string
  20936. deliverygoodsid:
  20937. description: 品种ID
  20938. type: integer
  20939. deliverygoodsname:
  20940. description: 品种名称
  20941. type: string
  20942. enumdicname:
  20943. description: 单位名称
  20944. type: string
  20945. financingdays:
  20946. description: 天数(天)
  20947. type: integer
  20948. initmargin:
  20949. description: 保证金 - [仓单回购]
  20950. type: number
  20951. interestamount:
  20952. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  20953. type: number
  20954. interestdebt:
  20955. description: 利息欠款(记录负数) -> 费用欠款
  20956. type: number
  20957. interestminlen:
  20958. description: 最小起息天数
  20959. type: integer
  20960. interestrate:
  20961. description: 利率
  20962. type: number
  20963. interestratemode:
  20964. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20965. type: integer
  20966. interestsettlemode:
  20967. description: 结息方式 - 1:按日结息 3:按月结息
  20968. type: integer
  20969. interestsettlevalue:
  20970. description: 结息方式值
  20971. type: integer
  20972. isautoloan:
  20973. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  20974. type: integer
  20975. lastcloseinterestday:
  20976. description: 最近结息日(yyyyMMdd)
  20977. type: string
  20978. lenderamount:
  20979. description: 贷款金额 -> 借款金额
  20980. type: number
  20981. lenderuserid:
  20982. description: 贷款方用户ID -> 融出方用户ID
  20983. type: integer
  20984. lenderusername:
  20985. description: 融出方
  20986. type: string
  20987. marginratio:
  20988. description: 保证金比率质押率 - [仓单质押]
  20989. type: number
  20990. marketid:
  20991. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  20992. type: integer
  20993. minivalue:
  20994. description: 现货商品最小变动值
  20995. type: integer
  20996. optioncompare:
  20997. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20998. type: string
  20999. pricemove:
  21000. description: 估值升贴水值
  21001. type: number
  21002. productdetailid:
  21003. description: 产品组合ID
  21004. type: integer
  21005. productid:
  21006. description: 金融产品ID
  21007. type: integer
  21008. productname:
  21009. description: 产品名称
  21010. type: string
  21011. remainamount:
  21012. description: 合同剩余金额 -> 剩余金额
  21013. type: number
  21014. remainwrpositionqty:
  21015. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  21016. type: number
  21017. remark:
  21018. description: 备注
  21019. type: string
  21020. scfcontractid:
  21021. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  21022. type: string
  21023. scfcontractstatus:
  21024. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  21025. 9:违约结束 10:已注销 11:已关闭 99:未提交
  21026. type: integer
  21027. scfcontracttype:
  21028. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  21029. type: integer
  21030. startinterestday:
  21031. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  21032. type: string
  21033. totalinterest:
  21034. description: 已计利息 -> 已计费用
  21035. type: number
  21036. unpaidinterest:
  21037. description: 期初均价
  21038. type: number
  21039. updatetime:
  21040. description: 更新时间
  21041. type: string
  21042. warehouseid:
  21043. description: 仓库ID
  21044. type: integer
  21045. warehousename:
  21046. description: 仓库名称
  21047. type: string
  21048. wrfactortypeid:
  21049. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21050. type: string
  21051. wrfactortypename:
  21052. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21053. type: string
  21054. wrqty:
  21055. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  21056. type: number
  21057. wrstandardcode:
  21058. description: 现货商品代码
  21059. type: string
  21060. wrstandardid:
  21061. description: 现货商品ID
  21062. type: integer
  21063. wrstandardname:
  21064. description: 商品名称
  21065. type: string
  21066. wrtypename:
  21067. description: 商品
  21068. type: string
  21069. type: object
  21070. models.WrScfContractInterest:
  21071. properties:
  21072. closeinterest:
  21073. description: 已结利息
  21074. type: number
  21075. closeintereststatus:
  21076. description: 结息状态 - 1:未结 2:已结
  21077. type: integer
  21078. closetime:
  21079. description: 结息时间
  21080. type: string
  21081. closetradedate:
  21082. description: 结息交易日
  21083. type: string
  21084. creatorid:
  21085. description: 操作人ID
  21086. type: integer
  21087. dayrate:
  21088. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  21089. type: number
  21090. interest:
  21091. description: 利息
  21092. type: number
  21093. interestamount:
  21094. description: 计息金额
  21095. type: number
  21096. interestday:
  21097. description: 计息日(yyyyMMdd)
  21098. type: string
  21099. scfcontractid:
  21100. description: SCF合同ID
  21101. type: string
  21102. scfcontractinterestid:
  21103. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  21104. type: integer
  21105. updatetime:
  21106. description: 更新时间
  21107. type: string
  21108. type: object
  21109. models.WrSearchUser:
  21110. properties:
  21111. userid:
  21112. description: 用户ID
  21113. type: integer
  21114. username:
  21115. description: 用户名称(已脱敏)
  21116. type: string
  21117. username2:
  21118. description: 用户名称(未脱敏)
  21119. type: string
  21120. usertype:
  21121. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  21122. type: integer
  21123. required:
  21124. - username
  21125. type: object
  21126. models.WrSiteColumnDetail:
  21127. properties:
  21128. author:
  21129. description: 作者
  21130. type: string
  21131. brief:
  21132. description: 简介
  21133. type: string
  21134. context:
  21135. description: 内容
  21136. type: string
  21137. coverimage:
  21138. description: 封面图片
  21139. type: string
  21140. creaedate:
  21141. description: 创建时间
  21142. type: string
  21143. id:
  21144. description: ID(SEQ_SITE_COLUMNDETAIL)
  21145. type: integer
  21146. istop:
  21147. description: 是否置顶 - 0:不置 1:置顶
  21148. type: integer
  21149. publishdate:
  21150. description: 发布日期
  21151. type: string
  21152. title:
  21153. description: 标题
  21154. type: string
  21155. updatedate:
  21156. description: 修改时间
  21157. type: string
  21158. type: object
  21159. models.WrSpecialMatchOrder:
  21160. properties:
  21161. amount:
  21162. description: 金额 = 数量 * 价格
  21163. type: number
  21164. buyorsell:
  21165. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21166. type: integer
  21167. cancelqty:
  21168. description: 撤销数量
  21169. type: number
  21170. deliverygoodscode:
  21171. description: 品种代码
  21172. type: string
  21173. deliverygoodsid:
  21174. description: 品种ID
  21175. type: integer
  21176. deliverygoodsname:
  21177. description: 品种名称
  21178. type: string
  21179. enumdicname:
  21180. description: 单位名称
  21181. type: string
  21182. fixedprice:
  21183. description: 固定价格(价格)
  21184. type: number
  21185. haswr:
  21186. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21187. type: integer
  21188. isspecified:
  21189. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  21190. type: integer
  21191. marketid:
  21192. description: 市场ID
  21193. type: integer
  21194. matchuserid:
  21195. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  21196. type: integer
  21197. matchusername:
  21198. description: 指定方
  21199. type: string
  21200. minivalue:
  21201. description: 现货商品最小变动值
  21202. type: integer
  21203. optioncompare:
  21204. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21205. type: string
  21206. orderqty:
  21207. description: 委托数量
  21208. type: number
  21209. ordertime:
  21210. description: 委托时间
  21211. type: string
  21212. pricemove:
  21213. description: 升贴水(浮动价时填写) - [挂牌]
  21214. type: number
  21215. tradedate:
  21216. description: 交易日(yyyyMMdd)
  21217. type: string
  21218. tradeprice:
  21219. description: 成交价格
  21220. type: number
  21221. tradeqty:
  21222. description: 成交数量
  21223. type: number
  21224. userid:
  21225. description: 用户ID
  21226. type: integer
  21227. username:
  21228. description: 发起方
  21229. type: string
  21230. warehouseid:
  21231. description: 仓库ID
  21232. type: integer
  21233. warehousename:
  21234. description: 仓库名称
  21235. type: string
  21236. wrfactortypeid:
  21237. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21238. type: string
  21239. wrfactortypename:
  21240. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21241. type: string
  21242. wrpricetype:
  21243. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  21244. type: integer
  21245. wrstandardcode:
  21246. description: 现货商品代码
  21247. type: string
  21248. wrstandardid:
  21249. description: 现货商品ID
  21250. type: integer
  21251. wrstandardname:
  21252. description: 商品名称
  21253. type: string
  21254. wrtradeorderid:
  21255. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21256. type: string
  21257. wrtradeorderstatus:
  21258. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  21259. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  21260. type: integer
  21261. wrtradetype:
  21262. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21263. type: integer
  21264. wrtypename:
  21265. description: 商品
  21266. type: string
  21267. type: object
  21268. models.WrSpotGroupTradeSum:
  21269. properties:
  21270. deliverygoodscode:
  21271. description: 现货品种代码
  21272. type: string
  21273. deliverygoodsid:
  21274. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21275. type: integer
  21276. deliverygoodsname:
  21277. description: 现货品种名称
  21278. type: string
  21279. lastavgprice:
  21280. description: 上上个交易日价格(前2天价格)
  21281. type: string
  21282. lastreckondate:
  21283. description: 上上个交易日(前2天交易日)
  21284. type: string
  21285. reckondate:
  21286. description: 上个交易日(前1天交易日)
  21287. type: string
  21288. todayavgprice:
  21289. description: 上个交易日价格(前1天价格)
  21290. type: string
  21291. updown:
  21292. description: 涨跌
  21293. type: string
  21294. updownratio:
  21295. description: 涨幅(已格式化, 直接显示即可)
  21296. type: string
  21297. type: object
  21298. models.WrSpotGroupTradeSumDetail:
  21299. properties:
  21300. deliverygoodsid:
  21301. description: 现货商品id
  21302. type: integer
  21303. price:
  21304. description: 价格
  21305. type: number
  21306. reckondate:
  21307. description: 日期(yyymmdd, 如:20211031)
  21308. type: string
  21309. type: object
  21310. models.WrSpotGroupTradeSumEx:
  21311. properties:
  21312. lst:
  21313. description: 指数列表
  21314. items:
  21315. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  21316. type: array
  21317. prereckondate:
  21318. description: 上上个交易日(yyymmdd)
  21319. type: string
  21320. reckondate:
  21321. description: 上个交易日(yyyymmdd)
  21322. type: string
  21323. type: object
  21324. models.WrStandardFactoryItem:
  21325. properties:
  21326. dgfactoryitemid:
  21327. description: 选择项id
  21328. type: integer
  21329. dgfactoryitemvalue:
  21330. description: 要素项值
  21331. type: string
  21332. warehouseid:
  21333. description: 仓库id
  21334. type: integer
  21335. type: object
  21336. models.WrStandardFactoryItemEx:
  21337. properties:
  21338. dgfactoryitemtypeid:
  21339. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  21340. type: integer
  21341. itemlst:
  21342. description: 要素项列表
  21343. items:
  21344. $ref: '#/definitions/models.WrStandardFactoryItem'
  21345. type: array
  21346. itemtypename:
  21347. description: 要素项类型名称
  21348. type: string
  21349. wrstandardid:
  21350. description: 品类
  21351. type: integer
  21352. type: object
  21353. models.WrTradeDetail:
  21354. properties:
  21355. accountid:
  21356. description: 资金账号
  21357. type: integer
  21358. bannerpicurl:
  21359. description: Banner图
  21360. type: string
  21361. begindate:
  21362. description: 开始交易日(yyyymmdd)
  21363. type: string
  21364. buyorsell:
  21365. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21366. type: integer
  21367. chargevalue:
  21368. description: 手续费
  21369. type: number
  21370. deliverygoodscode:
  21371. description: 品种代码
  21372. type: string
  21373. deliverygoodsid:
  21374. description: 品种ID
  21375. type: integer
  21376. deliverygoodsname:
  21377. description: 品种名称
  21378. type: string
  21379. deliverymonth:
  21380. description: 交收月
  21381. type: string
  21382. enddate:
  21383. description: 结束交易日(yyyymmdd)
  21384. type: string
  21385. enumdicname:
  21386. description: 单位名称
  21387. type: string
  21388. haswr:
  21389. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21390. type: integer
  21391. marketid:
  21392. description: 市场ID
  21393. type: integer
  21394. matchaccountid:
  21395. description: 对手账号
  21396. type: integer
  21397. matchusername:
  21398. description: 对手方
  21399. type: string
  21400. minivalue:
  21401. description: 现货商品最小变动值
  21402. type: integer
  21403. optioncompare:
  21404. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21405. type: string
  21406. thumurls:
  21407. description: 缩略图
  21408. type: string
  21409. tradedate:
  21410. description: 交易日(yyyyMMdd)
  21411. type: string
  21412. tradeprice:
  21413. description: 成交价格
  21414. type: number
  21415. tradeqty:
  21416. description: 成交数量
  21417. type: number
  21418. tradetime:
  21419. description: 成交时间
  21420. type: string
  21421. userid:
  21422. description: 用户ID
  21423. type: integer
  21424. warehouseid:
  21425. description: 仓库ID
  21426. type: integer
  21427. warehousename:
  21428. description: 仓库名称
  21429. type: string
  21430. wrfactortypeid:
  21431. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21432. type: string
  21433. wrfactortypename:
  21434. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21435. type: string
  21436. wrstandardcode:
  21437. description: 现货商品代码
  21438. type: string
  21439. wrstandardid:
  21440. description: 现货商品ID
  21441. type: integer
  21442. wrstandardname:
  21443. description: 商品名称
  21444. type: string
  21445. wrtradedetailid:
  21446. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21447. type: string
  21448. wrtradetype:
  21449. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21450. type: integer
  21451. wrtypename:
  21452. description: 商品
  21453. type: string
  21454. type: object
  21455. models.WrTradeOrderDetail:
  21456. properties:
  21457. buyorsell:
  21458. description: 买卖方向 0-买 1-卖
  21459. type: integer
  21460. goodsid:
  21461. description: 商品id
  21462. type: integer
  21463. orderid:
  21464. description: 委托单号
  21465. type: string
  21466. orderprice:
  21467. description: 期初均价
  21468. type: number
  21469. orderqty:
  21470. description: 委托数量
  21471. type: integer
  21472. userid:
  21473. description: 用户id
  21474. type: integer
  21475. username:
  21476. description: 用户名称(已脱敏)
  21477. type: string
  21478. type: object
  21479. models.WrTypeItem:
  21480. properties:
  21481. name:
  21482. description: 名称
  21483. type: string
  21484. value:
  21485. description: 值
  21486. type: string
  21487. type: object
  21488. models.WrUserFriend:
  21489. properties:
  21490. friendname:
  21491. description: 朋友名称(已脱敏)
  21492. type: string
  21493. frienduserid:
  21494. description: 朋友id
  21495. type: integer
  21496. isfriend:
  21497. description: 是否好友 0-不是 1-是
  21498. type: integer
  21499. userid:
  21500. description: 用户id
  21501. type: integer
  21502. type: object
  21503. models.WrUserReceiptInfo:
  21504. properties:
  21505. address:
  21506. description: 地址[发票类型:企业]
  21507. type: string
  21508. autoid:
  21509. description: AutoID
  21510. type: integer
  21511. contactinfo:
  21512. description: 联系方式
  21513. type: string
  21514. idnum:
  21515. description: 身份证号码[发票类型:个人]
  21516. type: string
  21517. isdefault:
  21518. description: 是否默认地址 - 0:否 1:是
  21519. type: integer
  21520. receiptaccount:
  21521. description: 发票帐号[发票类型:企业]
  21522. type: string
  21523. receiptbank:
  21524. description: 发票开户行[发票类型:企业]
  21525. type: string
  21526. receipttype:
  21527. description: 发票类型 - 1:个人 2:企业
  21528. type: integer
  21529. taxpayerid:
  21530. description: 纳税人识别号
  21531. type: string
  21532. userid:
  21533. description: 用户ID
  21534. type: integer
  21535. username:
  21536. description: 户名(个人姓名或企业名称)
  21537. type: string
  21538. type: object
  21539. models.Wrtradetradequote:
  21540. properties:
  21541. buyaccountid:
  21542. description: 买方账号ID
  21543. type: integer
  21544. buychargevalue:
  21545. description: 买方手续费
  21546. type: number
  21547. buyuserid:
  21548. description: 买方用户ID
  21549. type: integer
  21550. deliverygoodsid:
  21551. description: 现货品种ID
  21552. type: integer
  21553. exchangerate:
  21554. description: 汇率
  21555. type: number
  21556. marketid:
  21557. description: 市场ID
  21558. type: integer
  21559. oritradeamount:
  21560. description: 成交金额[商品币种]
  21561. type: number
  21562. performanceplanid:
  21563. description: 履约计划ID/合同ID
  21564. type: integer
  21565. sellaccountid:
  21566. description: 卖方账号ID
  21567. type: integer
  21568. sellchargevalue:
  21569. description: 卖方手续费
  21570. type: number
  21571. selluserid:
  21572. description: 卖方用户ID
  21573. type: integer
  21574. tradeamount:
  21575. description: 成交金额
  21576. type: number
  21577. tradedate:
  21578. description: 交易日(yyyyMMdd)
  21579. type: string
  21580. tradeprice:
  21581. description: 成交价格
  21582. type: number
  21583. tradeqty:
  21584. description: 成交数量
  21585. type: integer
  21586. tradetime:
  21587. description: 成交时间
  21588. type: string
  21589. wrfactortypeid:
  21590. description: 仓单要素类型ID
  21591. type: integer
  21592. wrstandardid:
  21593. description: 现货商品ID
  21594. type: integer
  21595. wrtradedetailid:
  21596. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21597. type: integer
  21598. type: object
  21599. models.XHBRAND:
  21600. properties:
  21601. brandid:
  21602. description: 品牌id
  21603. type: integer
  21604. brandname:
  21605. description: 品牌名称
  21606. type: string
  21607. isvalid:
  21608. description: 是否有效 0-无效 1-有效
  21609. type: integer
  21610. type: object
  21611. models.XHDeliveryGoods:
  21612. properties:
  21613. areauserid:
  21614. description: 所属机构
  21615. type: integer
  21616. bdlst:
  21617. description: 品牌列表
  21618. items:
  21619. $ref: '#/definitions/models.XHBRAND'
  21620. type: array
  21621. deliverygoodscode:
  21622. description: 现货品种代码
  21623. type: string
  21624. deliverygoodsid:
  21625. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21626. type: integer
  21627. deliverygoodsname:
  21628. description: 现货品种名称
  21629. type: string
  21630. dgstatus:
  21631. description: 品种状态 - 作废 - 0:未激活 1:正常
  21632. type: integer
  21633. filterSubEmpty:
  21634. description: 过滤下级为空的
  21635. type: integer
  21636. isvalid:
  21637. description: 是否有效 - 0:无效 1:有效
  21638. type: integer
  21639. remark:
  21640. description: 备注
  21641. type: string
  21642. unitid:
  21643. description: 单位id(目前看,数据库中是空值)
  21644. type: integer
  21645. wdlst:
  21646. description: 品类(现货商品)列表
  21647. items:
  21648. $ref: '#/definitions/models.XHWrstandard'
  21649. type: array
  21650. type: object
  21651. models.XHMiddleGoods:
  21652. properties:
  21653. GPLST:
  21654. description: 期货品种列表
  21655. items:
  21656. $ref: '#/definitions/models.TBGoodsGroup'
  21657. type: array
  21658. convertratio:
  21659. description: 拆算系数
  21660. type: number
  21661. costratio:
  21662. description: 成本权重
  21663. type: number
  21664. deliverygoodsid:
  21665. description: 现货商品id
  21666. type: integer
  21667. enumdicname:
  21668. description: 单位名称
  21669. type: string
  21670. middlegoodscode:
  21671. description: 套保品种代码
  21672. type: string
  21673. middlegoodsid:
  21674. description: 套保品种id
  21675. type: integer
  21676. middlegoodsname:
  21677. description: 套保品种名称
  21678. type: string
  21679. unitid:
  21680. description: 单位id
  21681. type: integer
  21682. type: object
  21683. models.XHWrstandard:
  21684. properties:
  21685. bannerpicurl:
  21686. description: banner图
  21687. type: string
  21688. deliverygoodsid:
  21689. description: 品种ID
  21690. type: integer
  21691. enumdicname:
  21692. description: 单位名称
  21693. type: string
  21694. mglst:
  21695. description: 套保品列表
  21696. items:
  21697. $ref: '#/definitions/models.XHMiddleGoods'
  21698. type: array
  21699. pictureurls:
  21700. description: 详情图片(逗号分隔)
  21701. type: string
  21702. thumurls:
  21703. description: 缩略图片(1:1)(逗号分隔)
  21704. type: string
  21705. unitid:
  21706. description: 单位id
  21707. type: integer
  21708. vatrate:
  21709. description: 增值税率
  21710. type: number
  21711. wrstandardcode:
  21712. description: 现货商品代码
  21713. type: string
  21714. wrstandardid:
  21715. description: 现货商品ID(SEQ_WRSTANDARD)
  21716. type: integer
  21717. wrstandardname:
  21718. description: 现货商品名称
  21719. type: string
  21720. type: object
  21721. models.XhcpSellBackApplyEx:
  21722. properties:
  21723. applyremark:
  21724. description: 申请备注
  21725. type: string
  21726. expirytype:
  21727. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21728. type: integer
  21729. goodsspec:
  21730. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21731. type: integer
  21732. holeflag:
  21733. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21734. type: integer
  21735. isunopened:
  21736. description: 是否原封 - 1:否 2:是
  21737. type: integer
  21738. mpflag:
  21739. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21740. type: integer
  21741. openflag:
  21742. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21743. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21744. type: integer
  21745. phonenum:
  21746. description: 联系电话
  21747. type: string
  21748. userid:
  21749. description: 所属用户ID
  21750. type: integer
  21751. zpflag:
  21752. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21753. type: integer
  21754. required:
  21755. - userid
  21756. type: object
  21757. models.Xhcpsellbackapply:
  21758. properties:
  21759. applyid:
  21760. description: 申请人
  21761. type: integer
  21762. applyremark:
  21763. description: 申请备注
  21764. type: string
  21765. applysrc:
  21766. description: 申请来源 - 1:管理端 2:终端
  21767. type: integer
  21768. applystatus:
  21769. description: 申请状态 - 1:待确认 2:已处理
  21770. type: integer
  21771. applytime:
  21772. description: 申请时间
  21773. type: string
  21774. auditremark:
  21775. description: 审核备注
  21776. type: string
  21777. auditsrc:
  21778. description: 审核来源 - 1:管理端 2:终端
  21779. type: integer
  21780. expirytype:
  21781. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21782. type: integer
  21783. goodsspec:
  21784. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21785. type: integer
  21786. holeflag:
  21787. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21788. type: integer
  21789. isunopened:
  21790. description: 是否原封 - 1:否 2:是
  21791. type: integer
  21792. mpflag:
  21793. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21794. type: integer
  21795. openflag:
  21796. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21797. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21798. type: integer
  21799. phonenum:
  21800. description: 联系电话
  21801. type: string
  21802. sellbackapplyid:
  21803. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  21804. type: string
  21805. userid:
  21806. description: 所属用户ID
  21807. type: integer
  21808. zpflag:
  21809. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21810. type: integer
  21811. required:
  21812. - userid
  21813. type: object
  21814. order.QueryHisTradeDetailRsp:
  21815. properties:
  21816. accountid:
  21817. description: 账户ID[报价币种]
  21818. type: integer
  21819. advanceratio:
  21820. description: 首付比率
  21821. type: number
  21822. buildtype:
  21823. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21824. type: integer
  21825. buyorsell:
  21826. description: 方向 - 0:买 1:卖
  21827. type: integer
  21828. charge:
  21829. description: 手续费
  21830. type: number
  21831. closecharge:
  21832. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21833. type: number
  21834. closeexchagechargevalue:
  21835. description: 平仓交易所手续费设置值
  21836. type: number
  21837. closefeealgorithm:
  21838. description: 平仓手续费收取方式 1:比率 2:固定
  21839. type: integer
  21840. closememberchargevalue:
  21841. description: 平仓会员手续费设置值
  21842. type: number
  21843. closepl:
  21844. description: 平仓盈亏
  21845. type: number
  21846. closepl2:
  21847. description: 平仓盈亏[逐笔]
  21848. type: number
  21849. closeqty:
  21850. description: 平仓数量(先建后平操作 需要记录)
  21851. type: number
  21852. creditamount:
  21853. description: 授信金额
  21854. type: number
  21855. decimalplace:
  21856. description: 商品报价小数位
  21857. type: integer
  21858. enumdicname:
  21859. description: 单位名称
  21860. type: string
  21861. gcaccountid:
  21862. description: 账户ID[合约币种]
  21863. type: integer
  21864. goodscode:
  21865. description: 商品代码
  21866. type: string
  21867. goodsid:
  21868. description: 商品ID
  21869. type: integer
  21870. goodsname:
  21871. description: 商品名称
  21872. type: string
  21873. goodunitid:
  21874. description: 商品单位id
  21875. type: integer
  21876. histradedate:
  21877. description: 历史交易日
  21878. type: string
  21879. intclosepl:
  21880. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21881. type: integer
  21882. isconfirmexercise:
  21883. description: 是否确认行权- 0:否 1:是
  21884. type: integer
  21885. ismain:
  21886. description: 是否主单 - 0:不是 1:是
  21887. type: integer
  21888. ispreexercise:
  21889. description: 是否预申报- 0:否 1:是
  21890. type: integer
  21891. isreckoned:
  21892. description: 是否结算 - 0:未结算 1:已结算
  21893. type: integer
  21894. isvaliddata:
  21895. description: 是否有效 - 0:无效 1:有效
  21896. type: integer
  21897. listingselecttype:
  21898. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21899. type: integer
  21900. marketid:
  21901. description: 市场ID
  21902. type: integer
  21903. marketname:
  21904. description: 市场名称
  21905. type: string
  21906. matchaccountid:
  21907. description: 对手账号id
  21908. type: integer
  21909. memberuserid:
  21910. description: 会员id 个人投资者 需要填写
  21911. type: integer
  21912. opencharge:
  21913. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21914. type: number
  21915. openexchagechargevalue:
  21916. description: 建仓交易所手续费设置值
  21917. type: number
  21918. openfeealgorithm:
  21919. description: 建仓手续费收取方式 1:比率 2:固定
  21920. type: integer
  21921. openmemberchargevalue:
  21922. description: 建仓会员手续费设置值
  21923. type: number
  21924. openqty:
  21925. description: 开仓数量(先建后平操作 需要记录)
  21926. type: number
  21927. optiontype:
  21928. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21929. type: integer
  21930. orderid:
  21931. description: 委托单号
  21932. type: string
  21933. payamount:
  21934. description: 支付金额(付款金额)
  21935. type: number
  21936. performanceplanid:
  21937. description: 履约计划ID[期权]
  21938. type: integer
  21939. performancestatus:
  21940. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21941. type: integer
  21942. preexerciseprice:
  21943. description: 预申报价格
  21944. type: number
  21945. premium:
  21946. description: 权利金 - [持仓单的权利金]
  21947. type: number
  21948. qtydecimalplace:
  21949. description: 商品报价小数位
  21950. type: integer
  21951. recvamount:
  21952. description: 到账金额 = 成交金额 - 手续费
  21953. type: number
  21954. relatedouttradeid:
  21955. description: 关联外部成交单ID
  21956. type: integer
  21957. status:
  21958. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21959. type: integer
  21960. totalamount:
  21961. description: 订单总额 = 成交金额 + 手续费
  21962. type: number
  21963. tradeamount:
  21964. description: 成交金额[账户币种,用于所有权]
  21965. type: number
  21966. tradedate:
  21967. description: 交易日(yyyyMMdd)
  21968. type: string
  21969. tradeid:
  21970. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21971. type: string
  21972. trademode:
  21973. description: 交易模式
  21974. type: integer
  21975. tradeprice:
  21976. description: 成交价格
  21977. type: number
  21978. tradeproperty:
  21979. description: 交易属性
  21980. type: integer
  21981. tradeqty:
  21982. description: 成交数量
  21983. type: number
  21984. tradetime:
  21985. description: 成交时间
  21986. type: string
  21987. tradetype:
  21988. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21989. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21990. type: integer
  21991. required:
  21992. - accountid
  21993. - buyorsell
  21994. - goodsid
  21995. - histradedate
  21996. - marketid
  21997. - memberuserid
  21998. - orderid
  21999. - tradeamount
  22000. - tradedate
  22001. - tradeid
  22002. - tradeprice
  22003. - tradeqty
  22004. - tradetime
  22005. type: object
  22006. order.QueryHisTradeOrderDetailRsp:
  22007. properties:
  22008. accountid:
  22009. description: 账户ID[报价币种]
  22010. type: integer
  22011. buildtype:
  22012. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22013. type: integer
  22014. buyorsell:
  22015. description: 买卖 - 0:买 1:卖
  22016. type: integer
  22017. cancelorderid:
  22018. description: 撤单单号(撤单时填写)
  22019. type: string
  22020. cancelqty:
  22021. description: 撤单数量
  22022. type: number
  22023. clientordertime:
  22024. description: 客户端委托时间
  22025. type: string
  22026. clientticket:
  22027. description: 客户端流水号
  22028. type: string
  22029. clienttype:
  22030. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22031. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22032. type: integer
  22033. closeexchagechargevalue:
  22034. description: 平仓交易所手续费设置值
  22035. type: number
  22036. closefeealgorithm:
  22037. description: 平仓手续费收取方式 1:比率 2:固定
  22038. type: integer
  22039. closefreezecharge:
  22040. description: 平仓冻结手续费(先建后平操作,需要记录)
  22041. type: number
  22042. closememberchargevalue:
  22043. description: 平仓会员手续费设置值
  22044. type: number
  22045. closeqty:
  22046. description: 平仓数量(先建后平操作 需要记录)
  22047. type: number
  22048. closetradeqty:
  22049. description: 平仓成交数量(先建后平操作,需要记录)
  22050. type: number
  22051. closeunfreezecharge:
  22052. description: 平仓解冻手续费(先建后平操作,需要记录)
  22053. type: number
  22054. decimalplace:
  22055. description: 商品报价小数位
  22056. type: integer
  22057. delistingtype:
  22058. description: 摘牌类型 - 1:价格最优 2:点选成交
  22059. type: integer
  22060. enumdicname:
  22061. description: 单位名称
  22062. type: string
  22063. freezecharge:
  22064. description: 冻结手续费
  22065. type: number
  22066. freezemargin:
  22067. description: 冻结保证金(冻结交易金额)
  22068. type: number
  22069. gcaccountid:
  22070. description: 账户ID[合约币种]
  22071. type: integer
  22072. goodscode:
  22073. description: 商品代码
  22074. type: string
  22075. goodsid:
  22076. description: 商品ID
  22077. type: integer
  22078. goodsname:
  22079. description: 商品名称
  22080. type: string
  22081. goodunitid:
  22082. description: 商品单位id
  22083. type: integer
  22084. histradedate:
  22085. description: 历史交易日
  22086. type: string
  22087. isconfirmexercise:
  22088. description: 是否确认行权- 0:否 1:是
  22089. type: integer
  22090. ispreexercise:
  22091. description: 是否预申报- 0:否 1:是
  22092. type: integer
  22093. isvaliddata:
  22094. description: 是否有效 - 0:无效 1:有效
  22095. type: integer
  22096. listingselecttype:
  22097. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22098. type: integer
  22099. marginalgorithm:
  22100. description: 保证金收取方式 1:比率 2:固定
  22101. type: integer
  22102. marginvalue:
  22103. description: 即市保证金设置值
  22104. type: number
  22105. marketid:
  22106. description: 市场ID
  22107. type: integer
  22108. marketmaxsub:
  22109. description: 市价最大偏移范围
  22110. type: number
  22111. marketname:
  22112. description: 市场名称
  22113. type: string
  22114. memberuserid:
  22115. description: 所属会员UserID
  22116. type: integer
  22117. openexchagechargevalue:
  22118. description: 建仓交易所手续费设置值
  22119. type: number
  22120. openfeealgorithm:
  22121. description: 建仓手续费收取方式 1:比率 2:固定
  22122. type: integer
  22123. openfreezecharge:
  22124. description: 开仓冻结手续费(先建后平操作,需要记录)
  22125. type: number
  22126. openmemberchargevalue:
  22127. description: 建仓会员手续费设置值
  22128. type: number
  22129. openqty:
  22130. description: 开仓数量(先建后平操作,需要记录)
  22131. type: number
  22132. opentradeqty:
  22133. description: 开仓成交数量(先建后平操作,需要记录)
  22134. type: number
  22135. openunfreezecharge:
  22136. description: 开仓解冻手续费(先建后平操作,需要记录)
  22137. type: number
  22138. operatetype:
  22139. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22140. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22141. 15:管理端协议转让
  22142. type: integer
  22143. operatorid:
  22144. description: 登录账号(LoginID)
  22145. type: integer
  22146. optiontype:
  22147. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22148. type: integer
  22149. orderid:
  22150. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22151. type: string
  22152. orderprice:
  22153. description: 委托价格
  22154. type: number
  22155. orderqty:
  22156. description: 委托数量
  22157. type: number
  22158. ordersrc:
  22159. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22160. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22161. type: integer
  22162. orderstatus:
  22163. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22164. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22165. 16:成交失败违约(荷兰式竞拍专用)
  22166. type: integer
  22167. ordertime:
  22168. description: 委托时间
  22169. type: string
  22170. preexerciseprice:
  22171. description: 预申报价格
  22172. type: number
  22173. premium:
  22174. description: 权利金
  22175. type: number
  22176. preorderid:
  22177. description: 关联预埋单号(止盈止损单时填写)
  22178. type: string
  22179. pricemode:
  22180. description: '取价方式 - 1:市价 2: 限价'
  22181. type: integer
  22182. qtydecimalplace:
  22183. description: 成交量小数位
  22184. type: integer
  22185. quoteid:
  22186. description: 报价单ID
  22187. type: integer
  22188. relatedid:
  22189. description: 关联单号(交割单)
  22190. type: string
  22191. retcode:
  22192. description: 错误代码
  22193. type: integer
  22194. sessionid:
  22195. description: 会话ID
  22196. type: integer
  22197. tradedate:
  22198. description: 交易日(yyyyMMdd)
  22199. type: string
  22200. trademode:
  22201. description: 交易模式
  22202. type: integer
  22203. tradeproperty:
  22204. description: 交易属性
  22205. type: integer
  22206. tradeqty:
  22207. description: 成交数量
  22208. type: number
  22209. unfreezecharge:
  22210. description: 解冻手续费
  22211. type: number
  22212. unfreezemargin:
  22213. description: 解冻保证金
  22214. type: number
  22215. updatetime:
  22216. description: 更新时间
  22217. type: string
  22218. uuid:
  22219. description: 发起端唯一id
  22220. type: string
  22221. validtime:
  22222. description: 有效期限
  22223. type: string
  22224. validtype:
  22225. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22226. type: integer
  22227. volumetype:
  22228. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22229. type: integer
  22230. required:
  22231. - accountid
  22232. - buildtype
  22233. - buyorsell
  22234. - goodsid
  22235. - histradedate
  22236. - marketid
  22237. - memberuserid
  22238. - operatetype
  22239. - orderid
  22240. - orderqty
  22241. - ordertime
  22242. - pricemode
  22243. - tradedate
  22244. - validtype
  22245. type: object
  22246. order.QueryTradeDetailRsp:
  22247. properties:
  22248. accountid:
  22249. description: 账户ID[报价币种]
  22250. type: integer
  22251. advanceratio:
  22252. description: 首付比率
  22253. type: number
  22254. buildtype:
  22255. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  22256. type: integer
  22257. buyorsell:
  22258. description: 方向 - 0:买 1:卖
  22259. type: integer
  22260. charge:
  22261. description: 手续费
  22262. type: number
  22263. closecharge:
  22264. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22265. type: number
  22266. closeexchagechargevalue:
  22267. description: 平仓交易所手续费设置值
  22268. type: number
  22269. closefeealgorithm:
  22270. description: 平仓手续费收取方式 1:比率 2:固定
  22271. type: integer
  22272. closememberchargevalue:
  22273. description: 平仓会员手续费设置值
  22274. type: number
  22275. closepl:
  22276. description: 平仓盈亏
  22277. type: number
  22278. closepl2:
  22279. description: 平仓盈亏[逐笔]
  22280. type: number
  22281. closeqty:
  22282. description: 平仓数量(先建后平操作 需要记录)
  22283. type: number
  22284. creditamount:
  22285. description: 授信金额
  22286. type: number
  22287. decimalplace:
  22288. description: 商品报价小数位
  22289. type: integer
  22290. enumdicname:
  22291. description: 单位名称
  22292. type: string
  22293. gcaccountid:
  22294. description: 账户ID[合约币种]
  22295. type: integer
  22296. goodscode:
  22297. description: 商品代码
  22298. type: string
  22299. goodsid:
  22300. description: 商品ID
  22301. type: integer
  22302. goodsname:
  22303. description: 商品名称
  22304. type: string
  22305. goodunitid:
  22306. description: 商品单位id
  22307. type: integer
  22308. intclosepl:
  22309. description: 整型盈亏(用于交易结算试算平衡-收益权)
  22310. type: integer
  22311. isconfirmexercise:
  22312. description: 是否确认行权- 0:否 1:是
  22313. type: integer
  22314. ismain:
  22315. description: 是否主单 - 0:不是 1:是
  22316. type: integer
  22317. ispreexercise:
  22318. description: 是否预申报- 0:否 1:是
  22319. type: integer
  22320. isreckoned:
  22321. description: 是否结算 - 0:未结算 1:已结算
  22322. type: integer
  22323. listingselecttype:
  22324. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22325. type: integer
  22326. marketid:
  22327. description: 市场ID
  22328. type: integer
  22329. marketname:
  22330. description: 市场名称
  22331. type: string
  22332. matchaccountid:
  22333. description: 对手账号id
  22334. type: integer
  22335. memberuserid:
  22336. description: 会员id 个人投资者 需要填写
  22337. type: integer
  22338. opencharge:
  22339. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22340. type: number
  22341. openexchagechargevalue:
  22342. description: 建仓交易所手续费设置值
  22343. type: number
  22344. openfeealgorithm:
  22345. description: 建仓手续费收取方式 1:比率 2:固定
  22346. type: integer
  22347. openmemberchargevalue:
  22348. description: 建仓会员手续费设置值
  22349. type: number
  22350. openqty:
  22351. description: 开仓数量(先建后平操作 需要记录)
  22352. type: number
  22353. optiontype:
  22354. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22355. type: integer
  22356. orderid:
  22357. description: 委托单号
  22358. type: string
  22359. payamount:
  22360. description: 支付金额(付款金额)
  22361. type: number
  22362. performanceplanid:
  22363. description: 履约计划ID[期权]
  22364. type: integer
  22365. performancestatus:
  22366. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  22367. type: integer
  22368. preexerciseprice:
  22369. description: 预申报价格
  22370. type: number
  22371. premium:
  22372. description: 权利金 - [持仓单的权利金]
  22373. type: number
  22374. qtydecimalplace:
  22375. description: 商品报价小数位
  22376. type: integer
  22377. recvamount:
  22378. description: 到账金额 = 成交金额 - 手续费
  22379. type: number
  22380. relatedouttradeid:
  22381. description: 关联外部成交单ID
  22382. type: integer
  22383. status:
  22384. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  22385. type: integer
  22386. totalamount:
  22387. description: 订单总额 = 成交金额 + 手续费
  22388. type: number
  22389. tradeamount:
  22390. description: 成交金额[账户币种,用于所有权]
  22391. type: number
  22392. tradedate:
  22393. description: 交易日(yyyyMMdd)
  22394. type: string
  22395. tradeid:
  22396. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22397. type: string
  22398. trademode:
  22399. description: 交易模式
  22400. type: integer
  22401. tradeprice:
  22402. description: 成交价格
  22403. type: number
  22404. tradeproperty:
  22405. description: 交易属性
  22406. type: integer
  22407. tradeqty:
  22408. description: 成交数量
  22409. type: number
  22410. tradetime:
  22411. description: 成交时间
  22412. type: string
  22413. tradetype:
  22414. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  22415. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  22416. type: integer
  22417. required:
  22418. - accountid
  22419. - buyorsell
  22420. - goodsid
  22421. - marketid
  22422. - memberuserid
  22423. - orderid
  22424. - tradeamount
  22425. - tradedate
  22426. - tradeid
  22427. - tradeprice
  22428. - tradeqty
  22429. - tradetime
  22430. type: object
  22431. order.QueryTradeOrderDetailRsp:
  22432. properties:
  22433. accountid:
  22434. description: 账户ID[报价币种]
  22435. type: integer
  22436. buildtype:
  22437. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22438. type: integer
  22439. buyorsell:
  22440. description: 买卖 - 0:买 1:卖
  22441. type: integer
  22442. cancelorderid:
  22443. description: 撤单单号(撤单时填写)
  22444. type: string
  22445. cancelqty:
  22446. description: 撤单数量
  22447. type: number
  22448. clienttype:
  22449. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22450. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22451. type: integer
  22452. closefreezecharge:
  22453. description: 平仓冻结手续费(先建后平操作,需要记录)
  22454. type: number
  22455. closeqty:
  22456. description: 平仓数量(先建后平操作 需要记录)
  22457. type: number
  22458. closetradeqty:
  22459. description: 平仓成交数量(先建后平操作,需要记录)
  22460. type: number
  22461. closeunfreezecharge:
  22462. description: 平仓解冻手续费(先建后平操作,需要记录)
  22463. type: number
  22464. decimalplace:
  22465. description: 商品报价小数位
  22466. type: integer
  22467. delistingtype:
  22468. description: 摘牌类型 - 1:价格最优 2:点选成交
  22469. type: integer
  22470. enableqty:
  22471. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  22472. type: number
  22473. enumdicname:
  22474. description: 单位名称
  22475. type: string
  22476. freezecharge:
  22477. description: 冻结手续费
  22478. type: number
  22479. freezemargin:
  22480. description: 冻结保证金(冻结交易金额)
  22481. type: number
  22482. goodscode:
  22483. description: 商品代码
  22484. type: string
  22485. goodsid:
  22486. description: 商品ID
  22487. type: integer
  22488. goodsname:
  22489. description: 商品名称
  22490. type: string
  22491. goodunitid:
  22492. description: 商品单位id
  22493. type: integer
  22494. listingselecttype:
  22495. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22496. type: integer
  22497. marketid:
  22498. description: 市场ID
  22499. type: integer
  22500. marketname:
  22501. description: 市场名称
  22502. type: string
  22503. openfreezecharge:
  22504. description: 开仓冻结手续费(先建后平操作,需要记录)
  22505. type: number
  22506. openqty:
  22507. description: 开仓数量(先建后平操作,需要记录)
  22508. type: number
  22509. opentradeqty:
  22510. description: 开仓成交数量(先建后平操作,需要记录)
  22511. type: number
  22512. openunfreezecharge:
  22513. description: 开仓解冻手续费(先建后平操作,需要记录)
  22514. type: number
  22515. operatetype:
  22516. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22517. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22518. 15:管理端协议转让
  22519. type: integer
  22520. operatorid:
  22521. description: 登录账号(LoginID)
  22522. type: integer
  22523. orderid:
  22524. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22525. type: string
  22526. orderprice:
  22527. description: 委托价格
  22528. type: number
  22529. orderqty:
  22530. description: 委托数量
  22531. type: number
  22532. ordersrc:
  22533. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22534. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22535. type: integer
  22536. orderstatus:
  22537. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22538. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22539. 16:成交失败违约(荷兰式竞拍专用)
  22540. type: integer
  22541. ordertime:
  22542. description: 委托时间
  22543. type: string
  22544. preorderid:
  22545. description: 关联预埋单号(止盈止损单时填写)
  22546. type: string
  22547. pricemode:
  22548. description: '取价方式 - 1:市价 2: 限价'
  22549. type: integer
  22550. qtydecimalplace:
  22551. description: 商品报价小数位
  22552. type: integer
  22553. relatedid:
  22554. description: 关联单号(交割单)
  22555. type: string
  22556. tradedate:
  22557. description: 交易日(yyyyMMdd)
  22558. type: string
  22559. trademode:
  22560. description: 交易模式
  22561. type: integer
  22562. tradeqty:
  22563. description: 成交数量
  22564. type: number
  22565. unfreezecharge:
  22566. description: 解冻手续费
  22567. type: number
  22568. unfreezemargin:
  22569. description: 解冻保证金
  22570. type: number
  22571. validtime:
  22572. description: 有效期限
  22573. type: string
  22574. validtype:
  22575. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22576. type: integer
  22577. volumetype:
  22578. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22579. type: integer
  22580. required:
  22581. - accountid
  22582. - buildtype
  22583. - buyorsell
  22584. - goodsid
  22585. - marketid
  22586. - operatetype
  22587. - orderqty
  22588. - ordertime
  22589. - pricemode
  22590. - tradedate
  22591. - validtype
  22592. type: object
  22593. order.QueryTradePositionRsp:
  22594. properties:
  22595. accountid:
  22596. description: 资金账户
  22597. type: integer
  22598. agreeunit:
  22599. description: 合约单位
  22600. type: number
  22601. averageprice:
  22602. description: 持仓均价
  22603. type: number
  22604. buyorsell:
  22605. description: 方向 - 0:买 1:卖
  22606. type: integer
  22607. closetotalqty:
  22608. description: 平仓总数量
  22609. type: number
  22610. curholderamount:
  22611. description: 当前持仓总金额[商品币种]
  22612. type: number
  22613. curpositionqty:
  22614. description: 当前持仓总数量
  22615. type: number
  22616. currencyid:
  22617. description: 报价货币ID
  22618. type: integer
  22619. curtdposition:
  22620. description: 期末今日头寸
  22621. type: number
  22622. decimalplace:
  22623. description: 报价小数位
  22624. type: integer
  22625. enableqty:
  22626. description: 可用量
  22627. type: number
  22628. fretdposition:
  22629. description: 冻结今日头寸
  22630. type: number
  22631. frozenqty:
  22632. description: 持仓冻结数量
  22633. type: number
  22634. goodscode:
  22635. description: 商品代码
  22636. type: string
  22637. goodsid:
  22638. description: 商品Id
  22639. type: integer
  22640. goodsname:
  22641. description: 商品名称
  22642. type: string
  22643. goodunit:
  22644. description: 报价单位
  22645. type: string
  22646. goodunitid:
  22647. description: 报价单位ID
  22648. type: integer
  22649. holderamount:
  22650. description: 期初持仓总金额[商品币种]
  22651. type: number
  22652. lastprice:
  22653. description: 最新价
  22654. type: number
  22655. marketamount:
  22656. description: 市值
  22657. type: number
  22658. marketid:
  22659. description: 所属市场ID
  22660. type: integer
  22661. openreqqty:
  22662. description: 开仓申请数量(用于比较最大持仓数量)
  22663. type: number
  22664. opentotalqty:
  22665. description: 开仓总数量
  22666. type: number
  22667. otherfrozenqty:
  22668. description: 持仓其他冻结数量(交割冻结)
  22669. type: number
  22670. positionpl:
  22671. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  22672. * 合约单位
  22673. type: number
  22674. positionplrate:
  22675. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  22676. type: number
  22677. positionqty:
  22678. description: 期初持仓数量
  22679. type: number
  22680. qtydecimalplace:
  22681. description: 成交量小数位
  22682. type: integer
  22683. refgoodscode:
  22684. description: 参考商品代码
  22685. type: string
  22686. refgoodsid:
  22687. description: 参考商品ID
  22688. type: integer
  22689. tnqty:
  22690. description: T+N冻结总量
  22691. type: number
  22692. tnusedqty:
  22693. description: T+N使用量(可以使用T+N的冻结数量)
  22694. type: number
  22695. trademode:
  22696. description: 交易模式
  22697. type: integer
  22698. tradeproperty:
  22699. description: 交易属性
  22700. type: integer
  22701. usedmargin:
  22702. description: 占用保证金[商品币种]
  22703. type: number
  22704. required:
  22705. - goodsid
  22706. type: object
  22707. pb.GoodsMarginCfgStruct:
  22708. properties:
  22709. CustomerTypeID:
  22710. description: 投资者客户类型
  22711. type: integer
  22712. GoodsID:
  22713. description: 商品ID
  22714. type: integer
  22715. IsDefault:
  22716. description: 是否默认标志位
  22717. type: integer
  22718. LockMarginValue:
  22719. description: 锁仓保证金
  22720. type: number
  22721. MarginAlgorithm:
  22722. description: 保证金计算方式
  22723. type: integer
  22724. MarketMarginValue:
  22725. description: 即市保证金值
  22726. type: number
  22727. RealMarginAlgorithm:
  22728. description: 实付保证金计算方式
  22729. type: integer
  22730. RealMarginValue:
  22731. description: 实付比例
  22732. type: number
  22733. ReckonMarginValue:
  22734. description: 结算保证金值
  22735. type: number
  22736. type: object
  22737. quote.HistoryData:
  22738. properties:
  22739. c:
  22740. description: 收盘价
  22741. type: number
  22742. f:
  22743. description: 是否补充数据
  22744. type: boolean
  22745. h:
  22746. description: 最高价
  22747. type: number
  22748. hv:
  22749. description: 持仓量
  22750. type: integer
  22751. l:
  22752. description: 最低价
  22753. type: number
  22754. o:
  22755. description: 开盘价
  22756. type: number
  22757. s:
  22758. description: 结算价,日线周期(包括)以上才有
  22759. type: number
  22760. ts:
  22761. description: 时间
  22762. type: string
  22763. tt:
  22764. description: 总金额
  22765. type: number
  22766. tv:
  22767. description: 总量(成交量)
  22768. type: integer
  22769. type: object
  22770. quote.HistoryTikData:
  22771. properties:
  22772. AV:
  22773. description: 卖量
  22774. type: integer
  22775. Ask:
  22776. description: 卖价
  22777. type: number
  22778. BV:
  22779. description: 买量
  22780. type: integer
  22781. Bid:
  22782. description: 买价
  22783. type: number
  22784. HI:
  22785. description: 单笔持仓
  22786. type: integer
  22787. HV:
  22788. description: 持仓量
  22789. type: integer
  22790. PE:
  22791. description: 现价
  22792. type: number
  22793. TDR:
  22794. description: 交易方向,0:买 1:卖
  22795. type: integer
  22796. TK:
  22797. description: 交易类型
  22798. type: integer
  22799. TS:
  22800. description: 行情时间文本
  22801. type: string
  22802. TT:
  22803. description: 现金额
  22804. type: number
  22805. Vol:
  22806. description: 现量
  22807. type: integer
  22808. type: object
  22809. quote.QueryQuoteDayRsp:
  22810. properties:
  22811. ask:
  22812. description: 卖1
  22813. type: number
  22814. ask2:
  22815. description: 卖2
  22816. type: number
  22817. ask3:
  22818. description: 卖3
  22819. type: number
  22820. ask4:
  22821. description: 卖4
  22822. type: number
  22823. ask5:
  22824. description: 卖5
  22825. type: number
  22826. ask6:
  22827. description: 卖6
  22828. type: number
  22829. ask7:
  22830. description: 卖7
  22831. type: number
  22832. ask8:
  22833. description: 卖8
  22834. type: number
  22835. ask9:
  22836. description: 卖9
  22837. type: number
  22838. ask10:
  22839. description: 卖10
  22840. type: number
  22841. askorderid:
  22842. description: 卖单号1
  22843. type: integer
  22844. askorderid2:
  22845. description: 卖单号2
  22846. type: integer
  22847. askorderid3:
  22848. description: 卖单号3
  22849. type: integer
  22850. askorderid4:
  22851. description: 卖单号4
  22852. type: integer
  22853. askorderid5:
  22854. description: 卖单号5
  22855. type: integer
  22856. askordervolume:
  22857. description: 卖单量1
  22858. type: integer
  22859. askordervolume2:
  22860. description: 卖单量2
  22861. type: integer
  22862. askordervolume3:
  22863. description: 卖单量3
  22864. type: integer
  22865. askordervolume4:
  22866. description: 卖单量4
  22867. type: integer
  22868. askordervolume5:
  22869. description: 卖单量5
  22870. type: integer
  22871. askordervolume6:
  22872. description: 卖单量6
  22873. type: integer
  22874. askordervolume7:
  22875. description: 卖单量7
  22876. type: integer
  22877. askordervolume8:
  22878. description: 卖单量8
  22879. type: integer
  22880. askordervolume9:
  22881. description: 卖单量9
  22882. type: integer
  22883. askordervolume10:
  22884. description: 卖单量10
  22885. type: integer
  22886. askqueueinfo:
  22887. description: 大利市卖港股用
  22888. type: string
  22889. askvolume:
  22890. description: 卖量1
  22891. type: integer
  22892. askvolume2:
  22893. description: 卖量2
  22894. type: integer
  22895. askvolume3:
  22896. description: 卖量3
  22897. type: integer
  22898. askvolume4:
  22899. description: 卖量4
  22900. type: integer
  22901. askvolume5:
  22902. description: 卖量5
  22903. type: integer
  22904. askvolume6:
  22905. description: 卖量6
  22906. type: integer
  22907. askvolume7:
  22908. description: 卖量7
  22909. type: integer
  22910. askvolume8:
  22911. description: 卖量8
  22912. type: integer
  22913. askvolume9:
  22914. description: 卖量9
  22915. type: integer
  22916. askvolume10:
  22917. description: 卖量10
  22918. type: integer
  22919. averageprice:
  22920. description: 均价
  22921. type: number
  22922. bid:
  22923. description: 买1
  22924. type: number
  22925. bid2:
  22926. description: 买2
  22927. type: number
  22928. bid3:
  22929. description: 买3
  22930. type: number
  22931. bid4:
  22932. description: 买4
  22933. type: number
  22934. bid5:
  22935. description: 买5
  22936. type: number
  22937. bid6:
  22938. description: 买6
  22939. type: number
  22940. bid7:
  22941. description: 买7
  22942. type: number
  22943. bid8:
  22944. description: 买8
  22945. type: number
  22946. bid9:
  22947. description: 买9
  22948. type: number
  22949. bid10:
  22950. description: 买10
  22951. type: number
  22952. bidorderid:
  22953. description: 买单号1
  22954. type: integer
  22955. bidorderid2:
  22956. description: 买单号2
  22957. type: integer
  22958. bidorderid3:
  22959. description: 买单号3
  22960. type: integer
  22961. bidorderid4:
  22962. description: 买单号4
  22963. type: integer
  22964. bidorderid5:
  22965. description: 买单号5
  22966. type: integer
  22967. bidordervolume:
  22968. description: 买单量1
  22969. type: integer
  22970. bidordervolume2:
  22971. description: 买单量2
  22972. type: integer
  22973. bidordervolume3:
  22974. description: 买单量3
  22975. type: integer
  22976. bidordervolume4:
  22977. description: 买单量4
  22978. type: integer
  22979. bidordervolume5:
  22980. description: 买单量5
  22981. type: integer
  22982. bidordervolume6:
  22983. description: 买单量6
  22984. type: integer
  22985. bidordervolume7:
  22986. description: 买单量7
  22987. type: integer
  22988. bidordervolume8:
  22989. description: 买单量8
  22990. type: integer
  22991. bidordervolume9:
  22992. description: 买单量9
  22993. type: integer
  22994. bidordervolume10:
  22995. description: 买单量10
  22996. type: integer
  22997. bidqueueinfo:
  22998. description: 大利市买港股用
  22999. type: string
  23000. bidvolume:
  23001. description: 买量1
  23002. type: integer
  23003. bidvolume2:
  23004. description: 买量2
  23005. type: integer
  23006. bidvolume3:
  23007. description: 买量3
  23008. type: integer
  23009. bidvolume4:
  23010. description: 买量4
  23011. type: integer
  23012. bidvolume5:
  23013. description: 买量5
  23014. type: integer
  23015. bidvolume6:
  23016. description: 买量6
  23017. type: integer
  23018. bidvolume7:
  23019. description: 买量7
  23020. type: integer
  23021. bidvolume8:
  23022. description: 买量8
  23023. type: integer
  23024. bidvolume9:
  23025. description: 买量9
  23026. type: integer
  23027. bidvolume10:
  23028. description: 买量10
  23029. type: integer
  23030. calloptionpremiums:
  23031. description: 认购期权1
  23032. type: integer
  23033. calloptionpremiums2:
  23034. description: 认购期权2
  23035. type: integer
  23036. calloptionpremiums3:
  23037. description: 认购期权3
  23038. type: integer
  23039. calloptionpremiums4:
  23040. description: 认购期权4
  23041. type: integer
  23042. calloptionpremiums5:
  23043. description: 认购期权5
  23044. type: integer
  23045. cleartime:
  23046. description: 清盘时间
  23047. type: integer
  23048. exchangecode:
  23049. description: 交易所代码
  23050. type: integer
  23051. exchangedate:
  23052. description: 交易日
  23053. type: integer
  23054. goodscode:
  23055. description: 商品代码
  23056. type: string
  23057. grepmarketprice:
  23058. description: 暗盘价 港股专用
  23059. type: number
  23060. highest:
  23061. description: 最高价
  23062. type: number
  23063. holdincrement:
  23064. description: 单笔持仓
  23065. type: integer
  23066. holdvolume:
  23067. description: 持仓
  23068. type: integer
  23069. iep:
  23070. description: 平衡价 港股专用
  23071. type: number
  23072. iev:
  23073. description: 平衡量 港股专用
  23074. type: number
  23075. inventory:
  23076. description: 库存
  23077. type: integer
  23078. iscleared:
  23079. description: 是否清盘标志
  23080. type: integer
  23081. issettled:
  23082. description: 是否结算标志
  23083. type: integer
  23084. last:
  23085. description: 最新价
  23086. type: number
  23087. lastlot:
  23088. description: 最新成交手数
  23089. type: integer
  23090. lasttime:
  23091. description: 行情时间(只有现价变化行情时间才变化)
  23092. type: string
  23093. lastturnover:
  23094. description: 最新成交金额
  23095. type: number
  23096. lastvolume:
  23097. description: 最新成交量
  23098. type: integer
  23099. limitdown:
  23100. description: 跌停价
  23101. type: number
  23102. limitup:
  23103. description: 涨停价
  23104. type: number
  23105. lowest:
  23106. description: 最低价
  23107. type: number
  23108. nontotalholdervolume:
  23109. description: 非交易持仓量
  23110. type: integer
  23111. nontotallot:
  23112. description: 非交易总手数
  23113. type: integer
  23114. nontotalturnover:
  23115. description: 非交易总金额
  23116. type: integer
  23117. nontotalvolume:
  23118. description: 非交易总量
  23119. type: integer
  23120. opened:
  23121. description: 开盘价
  23122. type: number
  23123. opentime:
  23124. description: 开盘时间
  23125. type: string
  23126. orderid:
  23127. description: 序号
  23128. type: integer
  23129. preclose:
  23130. description: 昨收
  23131. type: number
  23132. preholdvolume:
  23133. description: 昨持仓
  23134. type: integer
  23135. presettle:
  23136. description: 昨结价
  23137. type: number
  23138. publictradetype:
  23139. description: 公共交易标志类型 港股专用
  23140. type: string
  23141. putoptionpremiums:
  23142. description: 认沽期权1
  23143. type: integer
  23144. putoptionpremiums2:
  23145. description: 认沽期权2
  23146. type: integer
  23147. putoptionpremiums3:
  23148. description: 认沽期权3
  23149. type: integer
  23150. putoptionpremiums4:
  23151. description: 认沽期权4
  23152. type: integer
  23153. putoptionpremiums5:
  23154. description: 认沽期权5
  23155. type: integer
  23156. settle:
  23157. description: 结算价
  23158. type: number
  23159. strikeprice:
  23160. description: 发行价
  23161. type: number
  23162. totalaskvolume:
  23163. description: 内盘
  23164. type: integer
  23165. totalbidvolume:
  23166. description: 外盘
  23167. type: integer
  23168. totallot:
  23169. description: 总手数
  23170. type: integer
  23171. totalturnover:
  23172. description: 总金额
  23173. type: number
  23174. totalvolume:
  23175. description: 总量
  23176. type: integer
  23177. utclasttime:
  23178. description: utc的行情时间
  23179. type: string
  23180. type: object
  23181. quote.QueryTSDataRsp:
  23182. properties:
  23183. Count:
  23184. description: 交易日应有数据个数
  23185. type: integer
  23186. decimalPlace:
  23187. description: 小数位
  23188. type: integer
  23189. endTime:
  23190. description: 结束时间
  23191. type: string
  23192. goodsCode:
  23193. description: 商品代码
  23194. type: string
  23195. historyDatas:
  23196. description: 历史数据
  23197. items:
  23198. $ref: '#/definitions/quote.HistoryData'
  23199. type: array
  23200. outGoodsCode:
  23201. description: 外部商品代码
  23202. type: string
  23203. preSettle:
  23204. description: 昨结价
  23205. type: number
  23206. runSteps:
  23207. description: 交易日开休市计划
  23208. items:
  23209. $ref: '#/definitions/quote.TSDataRunStep'
  23210. type: array
  23211. startTime:
  23212. description: 开始时间
  23213. type: string
  23214. tradeDate:
  23215. description: 交易日
  23216. type: string
  23217. type: object
  23218. quote.TSDataRunStep:
  23219. properties:
  23220. end:
  23221. description: 真实结束时间
  23222. type: string
  23223. endflag:
  23224. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  23225. type: integer
  23226. endtime:
  23227. description: 结束时间(HH:mm)
  23228. type: string
  23229. endweekday:
  23230. description: 结束周几
  23231. type: integer
  23232. groupid:
  23233. description: 分组ID
  23234. type: integer
  23235. runstep:
  23236. description: 运行阶段 - 2:连续交易
  23237. type: integer
  23238. sectionid:
  23239. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  23240. 结束时间=结算时间 结束周几=结算周几
  23241. type: integer
  23242. start:
  23243. description: 真实开始时间
  23244. type: string
  23245. startflag:
  23246. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  23247. type: integer
  23248. starttime:
  23249. description: 起始时间(HH:mm)
  23250. type: string
  23251. startweekday:
  23252. description: 起始周几
  23253. type: integer
  23254. tradeweekday:
  23255. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  23256. type: integer
  23257. type: object
  23258. szdz.QueryConvertLogRsp:
  23259. properties:
  23260. accountid:
  23261. description: 资金账户ID
  23262. type: integer
  23263. clientticket:
  23264. description: 客户端流水号
  23265. type: string
  23266. converttype:
  23267. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  23268. type: integer
  23269. createtime:
  23270. description: 记账时间
  23271. type: string
  23272. daymaxvalue:
  23273. description: 配置当日最大转入限制
  23274. type: number
  23275. daymaxvalue2:
  23276. description: 配置当日最大转入限制(转入)
  23277. type: number
  23278. goodscode:
  23279. description: 商品代码
  23280. type: string
  23281. goodsname:
  23282. description: 商品名称
  23283. type: string
  23284. handlestatus:
  23285. description: 处理状态
  23286. type: integer
  23287. innergoodsid:
  23288. description: 内部商品ID
  23289. type: integer
  23290. inratio:
  23291. description: 配置转入比值
  23292. type: integer
  23293. invalue:
  23294. description: 目标值
  23295. type: number
  23296. logid:
  23297. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  23298. type: integer
  23299. mobile:
  23300. description: 手机号码(加密存储)
  23301. type: string
  23302. outergoodscode:
  23303. description: 外部商品代码[JD\PD]
  23304. type: string
  23305. outratio:
  23306. description: 配置转出比值
  23307. type: integer
  23308. outvalue:
  23309. description: 源值
  23310. type: number
  23311. pddecimalplace:
  23312. description: PD小数位
  23313. type: integer
  23314. qty:
  23315. description: 数量
  23316. type: string
  23317. remark:
  23318. description: 备注
  23319. type: string
  23320. sessionid:
  23321. description: 会话ID
  23322. type: integer
  23323. timemaxvalue:
  23324. description: 配置单次最大转入限制
  23325. type: number
  23326. timemaxvalue2:
  23327. description: 配置单次最大转入限制(转入)
  23328. type: number
  23329. timeminvalue:
  23330. description: 配置单次最小数量限制
  23331. type: number
  23332. timeminvalue2:
  23333. description: 配置单次最小数量限制(转入)
  23334. type: number
  23335. tradedate:
  23336. description: 交易日(yyyyMMdd)
  23337. type: string
  23338. userid:
  23339. description: 用户ID
  23340. type: integer
  23341. required:
  23342. - logid
  23343. type: object
  23344. szdz.QueryGoodsPickupRsp:
  23345. properties:
  23346. accountid:
  23347. description: 账户ID
  23348. type: integer
  23349. address:
  23350. description: 提货人详细地址
  23351. type: string
  23352. auditer:
  23353. description: 审核人
  23354. type: integer
  23355. audittime:
  23356. description: 审核时间
  23357. type: string
  23358. cardnum:
  23359. description: 提货人证件号码
  23360. type: string
  23361. cardtypeid:
  23362. description: 提货人证件类型
  23363. type: integer
  23364. checkremark:
  23365. description: 审核备注
  23366. type: string
  23367. goodscode:
  23368. description: 商品代码
  23369. type: string
  23370. goodsid:
  23371. description: 商品ID
  23372. type: integer
  23373. goodsname:
  23374. description: 商品名称
  23375. type: string
  23376. handlestatus:
  23377. description: 处理状态
  23378. type: integer
  23379. marketid:
  23380. description: 市场ID
  23381. type: integer
  23382. phonenum:
  23383. description: 提货人联系方式
  23384. type: string
  23385. qty:
  23386. description: 提货数量
  23387. type: number
  23388. recivername:
  23389. description: 提货人姓名
  23390. type: string
  23391. reqtime:
  23392. description: 更新时间
  23393. type: string
  23394. takemode:
  23395. description: 提货方式 - 2:自提 3:配送
  23396. type: integer
  23397. takeorderid:
  23398. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  23399. type: string
  23400. takeorderstatus:
  23401. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23402. type: integer
  23403. takeremark:
  23404. description: 提货备注
  23405. type: string
  23406. tradedate:
  23407. description: 交易日(yyyyMMdd)
  23408. type: string
  23409. userid:
  23410. description: 用户ID
  23411. type: integer
  23412. required:
  23413. - takeorderid
  23414. type: object
  23415. szdz.QueryRecieptOrderRsp:
  23416. properties:
  23417. accountName:
  23418. description: 所属账号名称(已脱敏)
  23419. type: string
  23420. accountid:
  23421. description: 资金账号
  23422. type: integer
  23423. buyorsell:
  23424. description: 方向 - 0:买 1:卖
  23425. type: integer
  23426. enableqty:
  23427. description: 可摘数量
  23428. type: integer
  23429. goodscode:
  23430. description: 商品代码
  23431. type: string
  23432. goodsid:
  23433. description: 商品ID
  23434. type: integer
  23435. goodsname:
  23436. description: 商品名称
  23437. type: string
  23438. orderid:
  23439. description: 委托单号
  23440. type: string
  23441. orderprice:
  23442. description: 委托价格
  23443. type: number
  23444. ordertime:
  23445. description: 委托时间
  23446. type: string
  23447. tradedate:
  23448. description: 交易日(yyyyMMdd)
  23449. type: string
  23450. required:
  23451. - ordertime
  23452. type: object
  23453. szdz.QuerySZDZTradePositionRsp:
  23454. properties:
  23455. accountid:
  23456. description: 账号Id
  23457. type: integer
  23458. agreeunit:
  23459. description: 合约单位
  23460. type: number
  23461. averageprice:
  23462. description: 持仓均价
  23463. type: number
  23464. buyorsell:
  23465. description: 方向 - 0:买 1:卖
  23466. type: integer
  23467. closetotalqty:
  23468. description: 平仓总数量
  23469. type: integer
  23470. curholderamount:
  23471. description: 当前持仓总金额
  23472. type: number
  23473. curpositionqty:
  23474. description: 当前持仓总数量
  23475. type: integer
  23476. currencyid:
  23477. description: 报价货币ID
  23478. type: integer
  23479. curtdposition:
  23480. description: 期末今日头寸
  23481. type: integer
  23482. decimalplace:
  23483. description: 报价小数位
  23484. type: integer
  23485. enableqty:
  23486. description: 可用量
  23487. type: integer
  23488. fretdposition:
  23489. description: 冻结今日头寸
  23490. type: integer
  23491. frozenqty:
  23492. description: 持仓冻结数量
  23493. type: integer
  23494. goodscode:
  23495. description: 商品代码(内部)
  23496. type: string
  23497. goodsid:
  23498. description: 商品Id
  23499. type: integer
  23500. goodsname:
  23501. description: 商品名称
  23502. type: string
  23503. goodunit:
  23504. description: 报价单位
  23505. type: string
  23506. goodunitid:
  23507. description: 报价单位ID
  23508. type: integer
  23509. holderamount:
  23510. description: 期初持仓总金额
  23511. type: number
  23512. marketid:
  23513. description: 市场ID
  23514. type: integer
  23515. openreqqty:
  23516. description: 开仓申请数量
  23517. type: integer
  23518. opentotalqty:
  23519. description: 开仓总数量
  23520. type: integer
  23521. otherfrozenqty:
  23522. description: 持仓其他冻结数量(交割冻结)
  23523. type: integer
  23524. positionqty:
  23525. description: 期初持仓数量
  23526. type: integer
  23527. szdz3freezqty:
  23528. description: 尚志大宗转换冻结总数量
  23529. type: integer
  23530. tnqty:
  23531. description: T+N冻结总量
  23532. type: integer
  23533. tnusedqty:
  23534. description: T+N使用量
  23535. type: integer
  23536. trademode:
  23537. description: 交易模式
  23538. type: integer
  23539. usedmargin:
  23540. description: 占用保证金
  23541. type: number
  23542. type: object
  23543. taaccount.QueryAmountLogRsp:
  23544. properties:
  23545. accountid:
  23546. description: 资金账户ID
  23547. type: integer
  23548. agoodscode:
  23549. description: 竞拍商品代码
  23550. type: string
  23551. agoodsname:
  23552. description: 竞拍商品名称
  23553. type: string
  23554. amount:
  23555. description: 资金金额
  23556. type: number
  23557. amountadjusttype:
  23558. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23559. type: integer
  23560. autoid:
  23561. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23562. type: integer
  23563. balance:
  23564. description: 期初余额
  23565. type: number
  23566. businesscode:
  23567. description: 业务编号
  23568. type: integer
  23569. createtime:
  23570. description: 发生时间
  23571. type: string
  23572. currencyid:
  23573. description: 币种ID
  23574. type: integer
  23575. currentbalance:
  23576. description: 期末余额(变动后金额)
  23577. type: number
  23578. dgoodscode:
  23579. description: 交割商品代码
  23580. type: string
  23581. dgoodsname:
  23582. description: 交割商品名称
  23583. type: string
  23584. goodscode:
  23585. description: 商品代码
  23586. type: string
  23587. goodsid:
  23588. description: 商品ID
  23589. type: integer
  23590. goodsname:
  23591. description: 商品名称
  23592. type: string
  23593. marketid:
  23594. description: 市场ID
  23595. type: integer
  23596. marketname:
  23597. description: 市场名称
  23598. type: string
  23599. moneyticket:
  23600. description: 资金流水号:银行端流水号
  23601. type: integer
  23602. operatetype:
  23603. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23604. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23605. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23606. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23607. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23608. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23609. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23610. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23611. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23612. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23613. type: integer
  23614. relationorderid:
  23615. description: 关联单号
  23616. type: string
  23617. remark:
  23618. description: 备注
  23619. type: string
  23620. trademode:
  23621. description: 交易模式
  23622. type: integer
  23623. required:
  23624. - accountid
  23625. - amount
  23626. - amountadjusttype
  23627. - autoid
  23628. - balance
  23629. - createtime
  23630. - currentbalance
  23631. - operatetype
  23632. type: object
  23633. taaccount.QueryHisAmountLogRsp:
  23634. properties:
  23635. accountid:
  23636. description: 资金账户ID
  23637. type: integer
  23638. agoodscode:
  23639. description: 竞拍商品代码
  23640. type: string
  23641. agoodsname:
  23642. description: 竞拍商品名称
  23643. type: string
  23644. amount:
  23645. description: 资金金额
  23646. type: number
  23647. amountadjusttype:
  23648. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23649. type: integer
  23650. autoid:
  23651. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23652. type: integer
  23653. balance:
  23654. description: 期初余额
  23655. type: number
  23656. businesscode:
  23657. description: 业务编号
  23658. type: integer
  23659. createtime:
  23660. description: 发生时间
  23661. type: string
  23662. currencyid:
  23663. description: 币种ID
  23664. type: integer
  23665. currentbalance:
  23666. description: 期末余额(变动后金额)
  23667. type: number
  23668. dgoodscode:
  23669. description: 交割商品代码
  23670. type: string
  23671. dgoodsname:
  23672. description: 交割商品名称
  23673. type: string
  23674. goodscode:
  23675. description: 商品代码
  23676. type: string
  23677. goodsid:
  23678. description: 商品ID
  23679. type: integer
  23680. goodsname:
  23681. description: 商品名称
  23682. type: string
  23683. histradedate:
  23684. description: 历史交易日
  23685. type: string
  23686. isvaliddata:
  23687. description: 是否有效 - 0:无效 1:有效
  23688. type: integer
  23689. marketid:
  23690. description: 市场ID
  23691. type: integer
  23692. marketname:
  23693. description: 市场名称
  23694. type: string
  23695. moneyticket:
  23696. description: 资金流水号:银行端流水号
  23697. type: integer
  23698. operatetype:
  23699. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23700. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23701. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23702. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23703. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23704. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23705. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23706. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23707. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23708. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23709. type: integer
  23710. relationorderid:
  23711. description: 关联单号
  23712. type: string
  23713. remark:
  23714. description: 备注
  23715. type: string
  23716. trademode:
  23717. description: 交易模式
  23718. type: integer
  23719. required:
  23720. - accountid
  23721. - amount
  23722. - amountadjusttype
  23723. - autoid
  23724. - balance
  23725. - createtime
  23726. - currentbalance
  23727. - histradedate
  23728. - operatetype
  23729. type: object
  23730. trade.QueryRecieptOrderRsp:
  23731. properties:
  23732. accountName:
  23733. description: 所属账号名称(已脱敏)
  23734. type: string
  23735. accountid:
  23736. description: 资金账号
  23737. type: integer
  23738. buyorsell:
  23739. description: 方向 - 0:买 1:卖
  23740. type: integer
  23741. enableqty:
  23742. description: 可摘数量
  23743. type: integer
  23744. goodscode:
  23745. description: 商品代码
  23746. type: string
  23747. goodsid:
  23748. description: 商品ID
  23749. type: integer
  23750. goodsname:
  23751. description: 商品名称
  23752. type: string
  23753. orderid:
  23754. description: 委托单号
  23755. type: string
  23756. orderprice:
  23757. description: 委托价格
  23758. type: number
  23759. ordertime:
  23760. description: 委托时间
  23761. type: string
  23762. tradedate:
  23763. description: 交易日(yyyyMMdd)
  23764. type: string
  23765. required:
  23766. - ordertime
  23767. type: object
  23768. user.LoginQueryRsp:
  23769. properties:
  23770. areaRoles:
  23771. description: 所属角色信息
  23772. items:
  23773. $ref: '#/definitions/models.Arearole'
  23774. type: array
  23775. exchangeRateConfigs:
  23776. description: 汇率信息
  23777. items:
  23778. $ref: '#/definitions/models.Exchangerateconfig'
  23779. type: array
  23780. externalExchanges:
  23781. description: 外部交易所
  23782. items:
  23783. $ref: '#/definitions/models.Externalexchange'
  23784. type: array
  23785. goodsgroups:
  23786. description: 商品组
  23787. items:
  23788. $ref: '#/definitions/models.Goodsgroup'
  23789. type: array
  23790. loginAccount:
  23791. $ref: '#/definitions/models.Loginaccount'
  23792. description: 登录账号
  23793. markets:
  23794. description: 市场
  23795. items:
  23796. $ref: '#/definitions/models.Market'
  23797. type: array
  23798. systemParams:
  23799. description: 系统参数
  23800. items:
  23801. $ref: '#/definitions/models.Systemparam'
  23802. type: array
  23803. userAccount:
  23804. $ref: '#/definitions/models.Useraccount'
  23805. description: 用户账号
  23806. userInfo:
  23807. $ref: '#/definitions/models.Userinfo'
  23808. description: 用户信息
  23809. username:
  23810. description: 用户姓名
  23811. type: string
  23812. type: object
  23813. info:
  23814. contact: {}
  23815. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  23816. termsOfService: http://www.muchinfo.cn
  23817. title: MTP2.0 查询服务 API
  23818. version: "1.0"
  23819. paths:
  23820. /CPTrade/QueryCPTradeMyBidInfos:
  23821. get:
  23822. parameters:
  23823. - description: 资金账户
  23824. in: query
  23825. name: accountid
  23826. required: true
  23827. type: integer
  23828. - description: 预售市场ID
  23829. in: query
  23830. name: marketid
  23831. type: integer
  23832. - description: 预售商品ID
  23833. in: query
  23834. name: goodsid
  23835. type: integer
  23836. produces:
  23837. - application/json
  23838. responses:
  23839. "200":
  23840. description: OK
  23841. schema:
  23842. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  23843. "500":
  23844. description: Internal Server Error
  23845. schema:
  23846. $ref: '#/definitions/app.Response'
  23847. security:
  23848. - ApiKeyAuth: []
  23849. summary: 查询产能预售我的出价信息
  23850. tags:
  23851. - 产能预售
  23852. /CPTrade/QueryCPTradeOrderDetail:
  23853. get:
  23854. parameters:
  23855. - description: 预售商品ID
  23856. in: query
  23857. name: goodsid
  23858. type: integer
  23859. - description: 预售市场ID
  23860. in: query
  23861. name: marketid
  23862. type: integer
  23863. - description: 预售商品ID列表 - 格式:1,2,3
  23864. in: query
  23865. name: goodsids
  23866. type: string
  23867. produces:
  23868. - application/json
  23869. responses:
  23870. "200":
  23871. description: OK
  23872. schema:
  23873. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  23874. "500":
  23875. description: Internal Server Error
  23876. schema:
  23877. $ref: '#/definitions/app.Response'
  23878. security:
  23879. - ApiKeyAuth: []
  23880. summary: 查询产能预售委托单信息
  23881. tags:
  23882. - 产能预售
  23883. /CPTrade/QueryMyCPTradeGoods:
  23884. get:
  23885. parameters:
  23886. - description: 资金账户
  23887. in: query
  23888. name: accountid
  23889. required: true
  23890. type: integer
  23891. produces:
  23892. - application/json
  23893. responses:
  23894. "200":
  23895. description: OK
  23896. schema:
  23897. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  23898. "500":
  23899. description: Internal Server Error
  23900. schema:
  23901. $ref: '#/definitions/app.Response'
  23902. security:
  23903. - ApiKeyAuth: []
  23904. summary: 查询我的预售信息
  23905. tags:
  23906. - 产能预售
  23907. /CPTrade/QueryPositionCancel:
  23908. get:
  23909. parameters:
  23910. - description: 账户ID
  23911. in: query
  23912. name: userid
  23913. required: true
  23914. type: integer
  23915. - description: 注销ID
  23916. in: query
  23917. name: cancelid
  23918. type: integer
  23919. - description: 资金账户ID
  23920. in: query
  23921. name: accountid
  23922. type: integer
  23923. produces:
  23924. - application/json
  23925. responses:
  23926. "200":
  23927. description: OK
  23928. schema:
  23929. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  23930. "500":
  23931. description: Internal Server Error
  23932. schema:
  23933. $ref: '#/definitions/app.Response'
  23934. security:
  23935. - ApiKeyAuth: []
  23936. summary: 查询远期订单注销申请信息
  23937. tags:
  23938. - 产能预售
  23939. /CPTrade/QueryPreasleApply:
  23940. get:
  23941. parameters:
  23942. - description: 账户ID
  23943. in: query
  23944. name: userid
  23945. required: true
  23946. type: integer
  23947. - description: 申请ID
  23948. in: query
  23949. name: applyid
  23950. type: integer
  23951. - description: 资金账户ID
  23952. in: query
  23953. name: accountid
  23954. type: integer
  23955. produces:
  23956. - application/json
  23957. responses:
  23958. "200":
  23959. description: OK
  23960. schema:
  23961. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  23962. "500":
  23963. description: Internal Server Error
  23964. schema:
  23965. $ref: '#/definitions/app.Response'
  23966. security:
  23967. - ApiKeyAuth: []
  23968. summary: 查询产能预售申请信息
  23969. tags:
  23970. - 产能预售
  23971. /CPTrade/QueryPresaleGoodsEx:
  23972. get:
  23973. parameters:
  23974. - description: 预售商品ID
  23975. in: query
  23976. name: goodsid
  23977. type: integer
  23978. - description: 预售市场ID
  23979. in: query
  23980. name: marketid
  23981. type: integer
  23982. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  23983. in: query
  23984. name: presalemode
  23985. type: integer
  23986. - description: 预售商品ID列表 - 格式:1,2,3
  23987. in: query
  23988. name: goodsids
  23989. type: string
  23990. - description: 预售商品代码
  23991. in: query
  23992. name: goodscode
  23993. type: string
  23994. produces:
  23995. - application/json
  23996. responses:
  23997. "200":
  23998. description: OK
  23999. schema:
  24000. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  24001. "500":
  24002. description: Internal Server Error
  24003. schema:
  24004. $ref: '#/definitions/app.Response'
  24005. security:
  24006. - ApiKeyAuth: []
  24007. summary: 查询产能预售商品扩展信息
  24008. tags:
  24009. - 产能预售
  24010. /CPTrade/QueryUserGoodsData:
  24011. get:
  24012. parameters:
  24013. - description: 资金账户ID
  24014. in: query
  24015. name: accountid
  24016. required: true
  24017. type: integer
  24018. produces:
  24019. - application/json
  24020. responses:
  24021. "200":
  24022. description: OK
  24023. schema:
  24024. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  24025. "500":
  24026. description: Internal Server Error
  24027. schema:
  24028. $ref: '#/definitions/app.Response'
  24029. security:
  24030. - ApiKeyAuth: []
  24031. summary: 查询远期订单信息
  24032. tags:
  24033. - 产能预售
  24034. /Common/DeleteNewFuncmenu:
  24035. delete:
  24036. consumes:
  24037. - application/json
  24038. parameters:
  24039. - description: 菜单表数据,只需要resourcecode字段即可
  24040. in: body
  24041. name: data
  24042. required: true
  24043. schema:
  24044. $ref: '#/definitions/models.NewFuncmenulist'
  24045. produces:
  24046. - application/json
  24047. responses:
  24048. "200":
  24049. description: OK
  24050. schema:
  24051. $ref: '#/definitions/app.Response'
  24052. "500":
  24053. description: Internal Server Error
  24054. schema:
  24055. $ref: '#/definitions/app.Response'
  24056. security:
  24057. - ApiKeyAuth: []
  24058. summary: 删除菜单表数据
  24059. tags:
  24060. - 通用服务
  24061. /Common/FindNewFuncmenu:
  24062. get:
  24063. parameters:
  24064. - description: 资源代码
  24065. in: query
  24066. name: resourcecode
  24067. type: string
  24068. - description: 上级资源代码
  24069. in: query
  24070. name: parentcode
  24071. type: string
  24072. - description: 资源名(Title), 模糊查询
  24073. in: query
  24074. name: resourcename
  24075. type: string
  24076. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  24077. in: query
  24078. name: menutype
  24079. type: string
  24080. produces:
  24081. - application/json
  24082. responses:
  24083. "200":
  24084. description: OK
  24085. schema:
  24086. items:
  24087. $ref: '#/definitions/models.NewFuncmenulist'
  24088. type: array
  24089. "500":
  24090. description: Internal Server Error
  24091. schema:
  24092. $ref: '#/definitions/app.Response'
  24093. security:
  24094. - ApiKeyAuth: []
  24095. summary: 获取菜单表数据
  24096. tags:
  24097. - 通用服务
  24098. /Common/GetAllEnums:
  24099. get:
  24100. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  24101. parameters:
  24102. - description: 起始自增ID
  24103. in: query
  24104. name: autoid
  24105. type: integer
  24106. produces:
  24107. - application/json
  24108. responses:
  24109. "200":
  24110. description: OK
  24111. schema:
  24112. $ref: '#/definitions/models.Enumdicitem'
  24113. "500":
  24114. description: Internal Server Error
  24115. schema:
  24116. $ref: '#/definitions/app.Response'
  24117. summary: 获取所有枚举信息
  24118. tags:
  24119. - 通用服务
  24120. /Common/GetClientMenus:
  24121. get:
  24122. parameters:
  24123. - description: 登录账号
  24124. in: query
  24125. name: loginID
  24126. required: true
  24127. type: integer
  24128. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  24129. in: query
  24130. name: clientType
  24131. type: integer
  24132. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  24133. in: query
  24134. name: name
  24135. type: string
  24136. produces:
  24137. - application/json
  24138. responses:
  24139. "200":
  24140. description: OK
  24141. schema:
  24142. items:
  24143. $ref: '#/definitions/common.ClientMenu'
  24144. type: array
  24145. "500":
  24146. description: Internal Server Error
  24147. schema:
  24148. $ref: '#/definitions/app.Response'
  24149. security:
  24150. - ApiKeyAuth: []
  24151. summary: 获取交易端菜单
  24152. tags:
  24153. - 通用服务
  24154. /Common/GetClientNewFuncmenu:
  24155. get:
  24156. parameters:
  24157. - description: 登录账号
  24158. in: query
  24159. name: loginid
  24160. required: true
  24161. type: integer
  24162. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  24163. in: query
  24164. name: menutype
  24165. required: true
  24166. type: integer
  24167. produces:
  24168. - application/json
  24169. responses:
  24170. "200":
  24171. description: OK
  24172. schema:
  24173. items:
  24174. $ref: '#/definitions/models.NewFuncmenulist'
  24175. type: array
  24176. "500":
  24177. description: Internal Server Error
  24178. schema:
  24179. $ref: '#/definitions/app.Response'
  24180. security:
  24181. - ApiKeyAuth: []
  24182. summary: 获取终端菜单
  24183. tags:
  24184. - 通用服务
  24185. /Common/GetDivisions:
  24186. get:
  24187. produces:
  24188. - application/json
  24189. responses:
  24190. "200":
  24191. description: OK
  24192. schema:
  24193. $ref: '#/definitions/models.Division'
  24194. "500":
  24195. description: Internal Server Error
  24196. schema:
  24197. $ref: '#/definitions/app.Response'
  24198. summary: 查询区域信息
  24199. tags:
  24200. - 通用服务
  24201. /Common/GetPCWebMenus:
  24202. get:
  24203. parameters:
  24204. - description: 登录账号
  24205. in: query
  24206. name: loginID
  24207. required: true
  24208. type: integer
  24209. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  24210. in: query
  24211. name: name
  24212. type: string
  24213. produces:
  24214. - application/json
  24215. responses:
  24216. "200":
  24217. description: OK
  24218. schema:
  24219. items:
  24220. $ref: '#/definitions/common.PCWebMenu'
  24221. type: array
  24222. "500":
  24223. description: Internal Server Error
  24224. schema:
  24225. $ref: '#/definitions/app.Response'
  24226. security:
  24227. - ApiKeyAuth: []
  24228. summary: 获取PCWeb交易端菜单
  24229. tags:
  24230. - 通用服务
  24231. /Common/GetServerTime:
  24232. get:
  24233. produces:
  24234. - application/json
  24235. responses:
  24236. "200":
  24237. description: OK
  24238. schema:
  24239. $ref: '#/definitions/app.Response'
  24240. "500":
  24241. description: Internal Server Error
  24242. schema:
  24243. $ref: '#/definitions/app.Response'
  24244. summary: 获取服务器时间
  24245. tags:
  24246. - 通用服务
  24247. /Common/InsertNewFuncmenu:
  24248. post:
  24249. consumes:
  24250. - application/json
  24251. parameters:
  24252. - description: 菜单表数据
  24253. in: body
  24254. name: data
  24255. required: true
  24256. schema:
  24257. $ref: '#/definitions/models.NewFuncmenulist'
  24258. produces:
  24259. - application/json
  24260. responses:
  24261. "200":
  24262. description: OK
  24263. schema:
  24264. $ref: '#/definitions/app.Response'
  24265. "500":
  24266. description: Internal Server Error
  24267. schema:
  24268. $ref: '#/definitions/app.Response'
  24269. security:
  24270. - ApiKeyAuth: []
  24271. summary: 插入菜单表数据
  24272. tags:
  24273. - 通用服务
  24274. /Common/NoticeReaded:
  24275. post:
  24276. parameters:
  24277. - description: 登录账号
  24278. in: query
  24279. name: loginID
  24280. required: true
  24281. type: integer
  24282. - description: 通知公告ID
  24283. in: query
  24284. name: noticeID
  24285. required: true
  24286. type: integer
  24287. produces:
  24288. - application/json
  24289. responses:
  24290. "200":
  24291. description: OK
  24292. schema:
  24293. $ref: '#/definitions/app.Response'
  24294. "500":
  24295. description: Internal Server Error
  24296. schema:
  24297. $ref: '#/definitions/app.Response'
  24298. security:
  24299. - ApiKeyAuth: []
  24300. summary: 通知公告设置已读请求
  24301. tags:
  24302. - 通用服务
  24303. /Common/QueryErrorInfos:
  24304. get:
  24305. description: 如果传入rowNumber,则返回此rowNumber后的数据
  24306. parameters:
  24307. - description: 起始行号前索引
  24308. in: query
  24309. name: rowNumber
  24310. type: string
  24311. produces:
  24312. - application/json
  24313. responses:
  24314. "200":
  24315. description: OK
  24316. schema:
  24317. $ref: '#/definitions/models.QueryErrorInfosRsp'
  24318. "500":
  24319. description: Internal Server Error
  24320. schema:
  24321. $ref: '#/definitions/app.Response'
  24322. summary: 获取数据库错误信息
  24323. tags:
  24324. - 通用服务
  24325. /Common/QueryImageConfigs:
  24326. get:
  24327. parameters:
  24328. - description: 用户id
  24329. in: query
  24330. name: userId
  24331. type: integer
  24332. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  24333. in: query
  24334. name: imageType
  24335. type: integer
  24336. produces:
  24337. - application/json
  24338. responses:
  24339. "200":
  24340. description: OK
  24341. schema:
  24342. $ref: '#/definitions/common.QueryImageConfigsRsp'
  24343. "500":
  24344. description: Internal Server Error
  24345. schema:
  24346. $ref: '#/definitions/app.Response'
  24347. summary: 查询轮播图配置信息
  24348. tags:
  24349. - 通用服务
  24350. /Common/QueryNotice:
  24351. get:
  24352. parameters:
  24353. - description: 页码
  24354. in: query
  24355. name: page
  24356. type: integer
  24357. - description: 每页条数
  24358. in: query
  24359. name: pagesize
  24360. type: integer
  24361. - description: 分页标志 0-page从0开始 1-page从1开始
  24362. in: query
  24363. name: pageflag
  24364. type: integer
  24365. - description: 登录账号
  24366. in: query
  24367. name: loginID
  24368. required: true
  24369. type: integer
  24370. - description: 消息类型 - 1:公告通知 2:系统消息
  24371. in: query
  24372. name: msgType
  24373. type: integer
  24374. - description: 是否只获取未读信息
  24375. in: query
  24376. name: onlyUnRead
  24377. type: boolean
  24378. - description: 自增ID,传入后会返回这个ID后面的记录
  24379. in: query
  24380. name: lastID
  24381. type: integer
  24382. produces:
  24383. - application/json
  24384. responses:
  24385. "200":
  24386. description: OK
  24387. schema:
  24388. $ref: '#/definitions/common.QueryNoticeRsp'
  24389. "500":
  24390. description: Internal Server Error
  24391. schema:
  24392. $ref: '#/definitions/app.Response'
  24393. security:
  24394. - ApiKeyAuth: []
  24395. summary: 通知公告系统消息查询
  24396. tags:
  24397. - 通用服务
  24398. /Common/QueryProvincesAndCities:
  24399. get:
  24400. parameters:
  24401. - description: 省ID
  24402. in: query
  24403. name: provinceID
  24404. type: integer
  24405. produces:
  24406. - application/json
  24407. responses:
  24408. "200":
  24409. description: OK
  24410. schema:
  24411. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  24412. "500":
  24413. description: Internal Server Error
  24414. schema:
  24415. $ref: '#/definitions/app.Response'
  24416. summary: 查询省市信息(不包括区)
  24417. tags:
  24418. - 通用服务
  24419. /Common/QueryRates:
  24420. get:
  24421. parameters:
  24422. - description: 页码
  24423. in: query
  24424. name: page
  24425. type: integer
  24426. - description: 每页条数
  24427. in: query
  24428. name: pagesize
  24429. type: integer
  24430. - description: 源币种ID
  24431. in: query
  24432. name: oricurrencyid
  24433. type: integer
  24434. - description: 目标币种ID
  24435. in: query
  24436. name: descurrencyid
  24437. type: integer
  24438. produces:
  24439. - application/json
  24440. responses:
  24441. "200":
  24442. description: OK
  24443. schema:
  24444. items:
  24445. $ref: '#/definitions/models.Exchangerateconfig'
  24446. type: array
  24447. "500":
  24448. description: Internal Server Error
  24449. schema:
  24450. $ref: '#/definitions/app.Response'
  24451. security:
  24452. - ApiKeyAuth: []
  24453. - LoginID: []
  24454. - Group: []
  24455. summary: 查询汇率信息
  24456. tags:
  24457. - 通用服务
  24458. /Common/QueryTableDefine:
  24459. get:
  24460. parameters:
  24461. - description: 表key
  24462. in: query
  24463. name: tableKey
  24464. type: string
  24465. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  24466. in: query
  24467. name: tableType
  24468. type: integer
  24469. produces:
  24470. - application/json
  24471. responses:
  24472. "200":
  24473. description: OK
  24474. schema:
  24475. $ref: '#/definitions/common.QueryTableDefineRsp'
  24476. "500":
  24477. description: Internal Server Error
  24478. schema:
  24479. $ref: '#/definitions/app.Response'
  24480. summary: 查询交易端列表头信息
  24481. tags:
  24482. - 通用服务
  24483. /Common/QueryTraderMenu:
  24484. get:
  24485. parameters:
  24486. - description: 登录账号
  24487. in: query
  24488. name: loginid
  24489. required: true
  24490. type: integer
  24491. produces:
  24492. - application/json
  24493. responses:
  24494. "200":
  24495. description: OK
  24496. schema:
  24497. $ref: '#/definitions/common.QueryTraderMenuRsp'
  24498. "500":
  24499. description: Internal Server Error
  24500. schema:
  24501. $ref: '#/definitions/app.Response'
  24502. summary: 查询交易端菜单
  24503. tags:
  24504. - 通用服务
  24505. /Common/UpdateNewFuncmenu:
  24506. put:
  24507. consumes:
  24508. - application/json
  24509. parameters:
  24510. - description: 菜单表数据
  24511. in: body
  24512. name: data
  24513. required: true
  24514. schema:
  24515. $ref: '#/definitions/models.NewFuncmenulist'
  24516. produces:
  24517. - application/json
  24518. responses:
  24519. "200":
  24520. description: OK
  24521. schema:
  24522. $ref: '#/definitions/app.Response'
  24523. "500":
  24524. description: Internal Server Error
  24525. schema:
  24526. $ref: '#/definitions/app.Response'
  24527. security:
  24528. - ApiKeyAuth: []
  24529. summary: 更新菜单表数据
  24530. tags:
  24531. - 通用服务
  24532. /Delivery/QueryDeliveryRelation:
  24533. get:
  24534. parameters:
  24535. - description: 商品ID
  24536. in: query
  24537. name: goodsid
  24538. type: integer
  24539. - description: 品种ID
  24540. in: query
  24541. name: deliverygoodsid
  24542. type: integer
  24543. - description: 市场ID
  24544. in: query
  24545. name: marketid
  24546. type: integer
  24547. produces:
  24548. - application/json
  24549. responses:
  24550. "200":
  24551. description: OK
  24552. schema:
  24553. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  24554. "500":
  24555. description: Internal Server Error
  24556. schema:
  24557. $ref: '#/definitions/app.Response'
  24558. security:
  24559. - ApiKeyAuth: []
  24560. summary: 查询商品交割关系表
  24561. tags:
  24562. - 交割服务
  24563. /Ermcp/GetErmcpGoods:
  24564. get:
  24565. parameters:
  24566. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  24567. in: query
  24568. name: userid
  24569. type: integer
  24570. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24571. in: query
  24572. name: lastUpdateTime
  24573. type: string
  24574. produces:
  24575. - application/json
  24576. responses:
  24577. "200":
  24578. description: OK
  24579. schema:
  24580. $ref: '#/definitions/models.ErmcpGoods'
  24581. "500":
  24582. description: Internal Server Error
  24583. schema:
  24584. $ref: '#/definitions/app.Response'
  24585. security:
  24586. - ApiKeyAuth: []
  24587. summary: 查询企业风管期货商品信息
  24588. tags:
  24589. - 企业风险管理(app)
  24590. /Ermcp/GetErmcpGoodsSortByPosition:
  24591. get:
  24592. parameters:
  24593. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  24594. in: query
  24595. name: sortIndex
  24596. type: string
  24597. produces:
  24598. - application/json
  24599. responses:
  24600. "200":
  24601. description: OK
  24602. schema:
  24603. $ref: '#/definitions/models.Goodssortbypreposition'
  24604. "500":
  24605. description: Internal Server Error
  24606. schema:
  24607. $ref: '#/definitions/app.Response'
  24608. security:
  24609. - ApiKeyAuth: []
  24610. summary: 查询企业风管期货主力、次主力商品信息
  24611. tags:
  24612. - 企业风险管理(app)
  24613. /Ermcp/GetErmcpOutAccountStatus:
  24614. get:
  24615. parameters:
  24616. - description: 登录账号
  24617. in: query
  24618. name: loginID
  24619. required: true
  24620. type: integer
  24621. produces:
  24622. - application/json
  24623. responses:
  24624. "200":
  24625. description: OK
  24626. schema:
  24627. $ref: '#/definitions/models.Hedgemarketopenlog'
  24628. "500":
  24629. description: Internal Server Error
  24630. schema:
  24631. $ref: '#/definitions/app.Response'
  24632. security:
  24633. - ApiKeyAuth: []
  24634. summary: 获取目标登录账号当前对冲账号在线状态
  24635. tags:
  24636. - 企业风险管理(app)
  24637. /Ermcp/GetErmcpRoleFuncMenuLists:
  24638. get:
  24639. parameters:
  24640. - description: 登录账号
  24641. in: query
  24642. name: loginID
  24643. required: true
  24644. type: integer
  24645. produces:
  24646. - application/json
  24647. responses:
  24648. "200":
  24649. description: OK
  24650. schema:
  24651. $ref: '#/definitions/models.Funcmenulist'
  24652. "500":
  24653. description: Internal Server Error
  24654. schema:
  24655. $ref: '#/definitions/app.Response'
  24656. security:
  24657. - ApiKeyAuth: []
  24658. summary: 获取企业风管终端权限
  24659. tags:
  24660. - 企业风险管理(app)
  24661. /Ermcp/QueryAccMgrBizGroupSet:
  24662. get:
  24663. parameters:
  24664. - description: 用户ID
  24665. in: query
  24666. name: userid
  24667. required: true
  24668. type: integer
  24669. - description: 现货商品id
  24670. in: query
  24671. name: deliverygoodsid
  24672. type: integer
  24673. produces:
  24674. - application/json
  24675. responses:
  24676. "200":
  24677. description: OK
  24678. schema:
  24679. items:
  24680. $ref: '#/definitions/models.ErmcpBizGroupEx'
  24681. type: array
  24682. "500":
  24683. description: Internal Server Error
  24684. schema:
  24685. $ref: '#/definitions/app.Response'
  24686. security:
  24687. - ApiKeyAuth: []
  24688. summary: 查询业务类型分组(账户管理/账户设置)
  24689. tags:
  24690. - 企业风险管理(app)
  24691. /Ermcp/QueryAccMgrLoginUser:
  24692. get:
  24693. parameters:
  24694. - description: 用户ID
  24695. in: query
  24696. name: userid
  24697. required: true
  24698. type: integer
  24699. - description: 用户类型 2-机构 7-企业成员
  24700. in: query
  24701. name: usertype
  24702. type: integer
  24703. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  24704. in: query
  24705. name: querytype
  24706. required: true
  24707. type: integer
  24708. produces:
  24709. - application/json
  24710. responses:
  24711. "200":
  24712. description: OK
  24713. schema:
  24714. items:
  24715. $ref: '#/definitions/models.ErmcpLoginUserEx'
  24716. type: array
  24717. "500":
  24718. description: Internal Server Error
  24719. schema:
  24720. $ref: '#/definitions/app.Response'
  24721. security:
  24722. - ApiKeyAuth: []
  24723. summary: 查询账户管理登录账号(账户管理/登录账号)
  24724. tags:
  24725. - 企业风险管理(app)
  24726. /Ermcp/QueryAccMgrMainAccountInfo:
  24727. get:
  24728. parameters:
  24729. - description: 用户ID
  24730. in: query
  24731. name: userid
  24732. type: integer
  24733. - description: 主账号id
  24734. in: query
  24735. name: accountid
  24736. type: integer
  24737. produces:
  24738. - application/json
  24739. responses:
  24740. "200":
  24741. description: OK
  24742. schema:
  24743. items:
  24744. $ref: '#/definitions/models.MainAccountInfo'
  24745. type: array
  24746. "500":
  24747. description: Internal Server Error
  24748. schema:
  24749. $ref: '#/definitions/app.Response'
  24750. security:
  24751. - ApiKeyAuth: []
  24752. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  24753. tags:
  24754. - 企业风险管理(app)
  24755. /Ermcp/QueryAccMgrRole:
  24756. get:
  24757. parameters:
  24758. - description: 用户ID
  24759. in: query
  24760. name: userid
  24761. required: true
  24762. type: integer
  24763. produces:
  24764. - application/json
  24765. responses:
  24766. "200":
  24767. description: OK
  24768. schema:
  24769. items:
  24770. $ref: '#/definitions/models.ErmcpRole'
  24771. type: array
  24772. "500":
  24773. description: Internal Server Error
  24774. schema:
  24775. $ref: '#/definitions/app.Response'
  24776. security:
  24777. - ApiKeyAuth: []
  24778. summary: 查询账户管理角色设置(账户管理/角色设置)
  24779. tags:
  24780. - 企业风险管理(app)
  24781. /Ermcp/QueryAccMgrRoleMenu:
  24782. get:
  24783. parameters:
  24784. - description: 用户ID
  24785. in: query
  24786. name: userid
  24787. required: true
  24788. type: integer
  24789. - description: 角色id(可多个,逗号隔开)
  24790. in: query
  24791. name: roleid
  24792. type: string
  24793. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  24794. in: query
  24795. name: menutype
  24796. type: integer
  24797. produces:
  24798. - application/json
  24799. responses:
  24800. "200":
  24801. description: OK
  24802. schema:
  24803. items:
  24804. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  24805. type: array
  24806. "500":
  24807. description: Internal Server Error
  24808. schema:
  24809. $ref: '#/definitions/app.Response'
  24810. security:
  24811. - ApiKeyAuth: []
  24812. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  24813. tags:
  24814. - 企业风险管理(app)
  24815. /Ermcp/QueryAccMgrTaAccountInfo:
  24816. get:
  24817. parameters:
  24818. - description: 用户ID
  24819. in: query
  24820. name: userid
  24821. required: true
  24822. type: integer
  24823. - description: 账号id
  24824. in: query
  24825. name: accountid
  24826. type: integer
  24827. produces:
  24828. - application/json
  24829. responses:
  24830. "200":
  24831. description: OK
  24832. schema:
  24833. items:
  24834. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  24835. type: array
  24836. "500":
  24837. description: Internal Server Error
  24838. schema:
  24839. $ref: '#/definitions/app.Response'
  24840. security:
  24841. - ApiKeyAuth: []
  24842. summary: 查询账户管理授信(账户管理/账户设置/授信)
  24843. tags:
  24844. - 企业风险管理(app)
  24845. /Ermcp/QueryAccMgrTaaccount:
  24846. get:
  24847. parameters:
  24848. - description: 用户ID
  24849. in: query
  24850. name: userid
  24851. required: true
  24852. type: integer
  24853. produces:
  24854. - application/json
  24855. responses:
  24856. "200":
  24857. description: OK
  24858. schema:
  24859. items:
  24860. $ref: '#/definitions/models.ErmcpTaAccountEx'
  24861. type: array
  24862. "500":
  24863. description: Internal Server Error
  24864. schema:
  24865. $ref: '#/definitions/app.Response'
  24866. security:
  24867. - ApiKeyAuth: []
  24868. summary: 查询账户管理期货账号(账户管理/期货账号)
  24869. tags:
  24870. - 企业风险管理(app)
  24871. /Ermcp/QueryAvaildGoodsGroup:
  24872. get:
  24873. parameters:
  24874. - description: 所属机构ID
  24875. in: query
  24876. name: userid
  24877. required: true
  24878. type: integer
  24879. produces:
  24880. - application/json
  24881. responses:
  24882. "200":
  24883. description: OK
  24884. schema:
  24885. items:
  24886. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  24887. type: array
  24888. "500":
  24889. description: Internal Server Error
  24890. schema:
  24891. $ref: '#/definitions/app.Response'
  24892. security:
  24893. - ApiKeyAuth: []
  24894. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  24895. tags:
  24896. - 企业风险管理(app)
  24897. /Ermcp/QueryBusinessDj:
  24898. get:
  24899. parameters:
  24900. - description: 用户ID
  24901. in: query
  24902. name: UserId
  24903. required: true
  24904. type: integer
  24905. - description: 用户类型 2-机构 7-企业成员
  24906. in: query
  24907. name: usertype
  24908. type: integer
  24909. - description: 现货合同ID, 不填则查所有
  24910. in: query
  24911. name: relatedid
  24912. type: string
  24913. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24914. in: query
  24915. name: applystatus
  24916. type: string
  24917. produces:
  24918. - application/json
  24919. responses:
  24920. "200":
  24921. description: OK
  24922. schema:
  24923. items:
  24924. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  24925. type: array
  24926. "500":
  24927. description: Internal Server Error
  24928. schema:
  24929. $ref: '#/definitions/app.Response'
  24930. security:
  24931. - ApiKeyAuth: []
  24932. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  24933. tags:
  24934. - 企业风险管理(app)
  24935. /Ermcp/QueryBusinessFp:
  24936. get:
  24937. parameters:
  24938. - description: 用户ID
  24939. in: query
  24940. name: UserId
  24941. required: true
  24942. type: integer
  24943. - description: 用户类型 2-机构 7-企业成员
  24944. in: query
  24945. name: usertype
  24946. type: integer
  24947. - description: 现货合同ID, 不填则查所有
  24948. in: query
  24949. name: relatedid
  24950. type: string
  24951. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24952. in: query
  24953. name: applystatus
  24954. type: string
  24955. produces:
  24956. - application/json
  24957. responses:
  24958. "200":
  24959. description: OK
  24960. schema:
  24961. items:
  24962. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  24963. type: array
  24964. "500":
  24965. description: Internal Server Error
  24966. schema:
  24967. $ref: '#/definitions/app.Response'
  24968. security:
  24969. - ApiKeyAuth: []
  24970. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  24971. tags:
  24972. - 企业风险管理(app)
  24973. /Ermcp/QueryBusinessJs:
  24974. get:
  24975. parameters:
  24976. - description: 用户ID
  24977. in: query
  24978. name: UserId
  24979. required: true
  24980. type: integer
  24981. - description: 用户类型 2-机构 7-企业成员
  24982. in: query
  24983. name: usertype
  24984. type: integer
  24985. - description: 现货合同ID, 不填则查所有
  24986. in: query
  24987. name: relatedid
  24988. type: string
  24989. - description: 操作申请id
  24990. in: query
  24991. name: operateapplyid
  24992. type: string
  24993. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24994. in: query
  24995. name: applystatus
  24996. type: string
  24997. produces:
  24998. - application/json
  24999. responses:
  25000. "200":
  25001. description: OK
  25002. schema:
  25003. items:
  25004. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  25005. type: array
  25006. "500":
  25007. description: Internal Server Error
  25008. schema:
  25009. $ref: '#/definitions/app.Response'
  25010. security:
  25011. - ApiKeyAuth: []
  25012. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  25013. tags:
  25014. - 企业风险管理(app)
  25015. /Ermcp/QueryBusinessJsEx:
  25016. get:
  25017. parameters:
  25018. - description: 用户ID
  25019. in: query
  25020. name: UserId
  25021. required: true
  25022. type: integer
  25023. - description: 用户类型 2-机构 7-企业成员
  25024. in: query
  25025. name: usertype
  25026. type: integer
  25027. - description: 现货合同ID, 不填则查所有
  25028. in: query
  25029. name: relatedid
  25030. type: string
  25031. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25032. in: query
  25033. name: applystatus
  25034. type: string
  25035. produces:
  25036. - application/json
  25037. responses:
  25038. "200":
  25039. description: OK
  25040. schema:
  25041. items:
  25042. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  25043. type: array
  25044. "500":
  25045. description: Internal Server Error
  25046. schema:
  25047. $ref: '#/definitions/app.Response'
  25048. security:
  25049. - ApiKeyAuth: []
  25050. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  25051. tags:
  25052. - 企业风险管理(app)
  25053. /Ermcp/QueryBusinessKx:
  25054. get:
  25055. parameters:
  25056. - description: 用户ID
  25057. in: query
  25058. name: UserId
  25059. required: true
  25060. type: integer
  25061. - description: 用户类型 2-机构 7-企业成员
  25062. in: query
  25063. name: usertype
  25064. type: integer
  25065. - description: 现货合同ID, 不填则查所有
  25066. in: query
  25067. name: relatedid
  25068. type: string
  25069. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25070. in: query
  25071. name: applystatus
  25072. type: string
  25073. produces:
  25074. - application/json
  25075. responses:
  25076. "200":
  25077. description: OK
  25078. schema:
  25079. items:
  25080. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  25081. type: array
  25082. "500":
  25083. description: Internal Server Error
  25084. schema:
  25085. $ref: '#/definitions/app.Response'
  25086. security:
  25087. - ApiKeyAuth: []
  25088. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  25089. tags:
  25090. - 企业风险管理(app)
  25091. /Ermcp/QueryChangeLog:
  25092. get:
  25093. parameters:
  25094. - description: 合同ID
  25095. in: query
  25096. name: RelatedId
  25097. required: true
  25098. type: string
  25099. produces:
  25100. - application/json
  25101. responses:
  25102. "200":
  25103. description: OK
  25104. schema:
  25105. items:
  25106. $ref: '#/definitions/ermcp.QryOPLogRsp'
  25107. type: array
  25108. "500":
  25109. description: Internal Server Error
  25110. schema:
  25111. $ref: '#/definitions/app.Response'
  25112. security:
  25113. - ApiKeyAuth: []
  25114. summary: 查询变更记录
  25115. tags:
  25116. - 企业风险管理(app)
  25117. /Ermcp/QueryErmcpHisOrderDetails:
  25118. get:
  25119. parameters:
  25120. - description: 资金账户ID
  25121. in: query
  25122. name: accountID
  25123. required: true
  25124. type: integer
  25125. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25126. in: query
  25127. name: startDate
  25128. type: string
  25129. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25130. in: query
  25131. name: endDate
  25132. type: string
  25133. produces:
  25134. - application/json
  25135. responses:
  25136. "200":
  25137. description: OK
  25138. schema:
  25139. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  25140. "500":
  25141. description: Internal Server Error
  25142. schema:
  25143. $ref: '#/definitions/app.Response'
  25144. security:
  25145. - ApiKeyAuth: []
  25146. summary: 获取企业风管期货历史委托单信息
  25147. tags:
  25148. - 企业风险管理(app)
  25149. /Ermcp/QueryErmcpHisTradeDetails:
  25150. get:
  25151. parameters:
  25152. - description: 资金账户ID
  25153. in: query
  25154. name: accountID
  25155. required: true
  25156. type: integer
  25157. - description: 商品ID
  25158. in: query
  25159. name: goodsID
  25160. type: integer
  25161. - description: 买卖方向,0:买 1:卖
  25162. in: query
  25163. name: buyOrSell
  25164. type: integer
  25165. - description: 关联委托单号
  25166. in: query
  25167. name: orderID
  25168. type: integer
  25169. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25170. in: query
  25171. name: startDate
  25172. type: string
  25173. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25174. in: query
  25175. name: endDate
  25176. type: string
  25177. produces:
  25178. - application/json
  25179. responses:
  25180. "200":
  25181. description: OK
  25182. schema:
  25183. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25184. "500":
  25185. description: Internal Server Error
  25186. schema:
  25187. $ref: '#/definitions/app.Response'
  25188. security:
  25189. - ApiKeyAuth: []
  25190. summary: 获取企业风管期货历史成交单信息
  25191. tags:
  25192. - 企业风险管理(app)
  25193. /Ermcp/QueryErmcpInnerHolderDetails:
  25194. get:
  25195. parameters:
  25196. - description: 资金账户ID
  25197. in: query
  25198. name: accountID
  25199. required: true
  25200. type: integer
  25201. - description: 商品ID
  25202. in: query
  25203. name: goodsID
  25204. type: integer
  25205. - description: 买卖方向,0:买 1:卖
  25206. in: query
  25207. name: buyOrSell
  25208. type: integer
  25209. produces:
  25210. - application/json
  25211. responses:
  25212. "200":
  25213. description: OK
  25214. schema:
  25215. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  25216. "500":
  25217. description: Internal Server Error
  25218. schema:
  25219. $ref: '#/definitions/app.Response'
  25220. security:
  25221. - ApiKeyAuth: []
  25222. summary: 获取企业风管期货内部持仓单信息
  25223. tags:
  25224. - 企业风险管理(app)
  25225. /Ermcp/QueryErmcpOrderDetails:
  25226. get:
  25227. parameters:
  25228. - description: 资金账户ID
  25229. in: query
  25230. name: accountID
  25231. required: true
  25232. type: integer
  25233. produces:
  25234. - application/json
  25235. responses:
  25236. "200":
  25237. description: OK
  25238. schema:
  25239. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  25240. "500":
  25241. description: Internal Server Error
  25242. schema:
  25243. $ref: '#/definitions/app.Response'
  25244. security:
  25245. - ApiKeyAuth: []
  25246. summary: 获取企业风管期货委托单信息
  25247. tags:
  25248. - 企业风险管理(app)
  25249. /Ermcp/QueryErmcpTradeDetails:
  25250. get:
  25251. parameters:
  25252. - description: 资金账户ID
  25253. in: query
  25254. name: accountID
  25255. required: true
  25256. type: integer
  25257. - description: 商品ID
  25258. in: query
  25259. name: goodsID
  25260. type: integer
  25261. - description: 买卖方向,0:买 1:卖
  25262. in: query
  25263. name: buyOrSell
  25264. type: integer
  25265. - description: 关联委托单号
  25266. in: query
  25267. name: orderID
  25268. type: integer
  25269. produces:
  25270. - application/json
  25271. responses:
  25272. "200":
  25273. description: OK
  25274. schema:
  25275. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25276. "500":
  25277. description: Internal Server Error
  25278. schema:
  25279. $ref: '#/definitions/app.Response'
  25280. security:
  25281. - ApiKeyAuth: []
  25282. summary: 获取企业风管期货成交单信息
  25283. tags:
  25284. - 企业风险管理(app)
  25285. /Ermcp/QueryErmcpTradePosition:
  25286. get:
  25287. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  25288. parameters:
  25289. - description: 资金账户ID
  25290. in: query
  25291. name: accountID
  25292. required: true
  25293. type: integer
  25294. - description: 所属市场ID
  25295. in: query
  25296. name: marketID
  25297. type: integer
  25298. produces:
  25299. - application/json
  25300. responses:
  25301. "200":
  25302. description: OK
  25303. schema:
  25304. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  25305. "500":
  25306. description: Internal Server Error
  25307. schema:
  25308. $ref: '#/definitions/app.Response'
  25309. security:
  25310. - ApiKeyAuth: []
  25311. summary: 获取企业风管期货持仓头寸信息
  25312. tags:
  25313. - 企业风险管理(app)
  25314. /Ermcp/QueryExposureDetail:
  25315. get:
  25316. parameters:
  25317. - description: 所属机构ID
  25318. in: query
  25319. name: areaUserId
  25320. required: true
  25321. type: integer
  25322. - description: 套保商品
  25323. in: query
  25324. name: middleGoodsId
  25325. required: true
  25326. type: integer
  25327. produces:
  25328. - application/json
  25329. responses:
  25330. "200":
  25331. description: OK
  25332. schema:
  25333. items:
  25334. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  25335. type: array
  25336. "500":
  25337. description: Internal Server Error
  25338. schema:
  25339. $ref: '#/definitions/app.Response'
  25340. security:
  25341. - ApiKeyAuth: []
  25342. summary: 查询敞口现货明细
  25343. tags:
  25344. - 企业风险管理(app)
  25345. /Ermcp/QueryExposureGoods:
  25346. get:
  25347. parameters:
  25348. - description: 套保商品id
  25349. in: query
  25350. name: middlegoodsid
  25351. required: true
  25352. type: integer
  25353. produces:
  25354. - application/json
  25355. responses:
  25356. "200":
  25357. description: OK
  25358. schema:
  25359. items:
  25360. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  25361. type: array
  25362. "500":
  25363. description: Internal Server Error
  25364. schema:
  25365. $ref: '#/definitions/app.Response'
  25366. security:
  25367. - ApiKeyAuth: []
  25368. summary: 查询敞口主力合约
  25369. tags:
  25370. - 企业风险管理(app)
  25371. /Ermcp/QueryExposureHedgePosition:
  25372. get:
  25373. parameters:
  25374. - description: 用户id
  25375. in: query
  25376. name: userid
  25377. required: true
  25378. type: integer
  25379. produces:
  25380. - application/json
  25381. responses:
  25382. "200":
  25383. description: OK
  25384. schema:
  25385. items:
  25386. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  25387. type: array
  25388. "500":
  25389. description: Internal Server Error
  25390. schema:
  25391. $ref: '#/definitions/app.Response'
  25392. security:
  25393. - ApiKeyAuth: []
  25394. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  25395. tags:
  25396. - 企业风险管理(app)
  25397. /Ermcp/QueryExposureHedgePositionDetail:
  25398. get:
  25399. parameters:
  25400. - description: 所属机构ID
  25401. in: query
  25402. name: userid
  25403. required: true
  25404. type: integer
  25405. - description: 商品id
  25406. in: query
  25407. name: goodsId
  25408. required: true
  25409. type: integer
  25410. produces:
  25411. - application/json
  25412. responses:
  25413. "200":
  25414. description: OK
  25415. schema:
  25416. items:
  25417. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  25418. type: array
  25419. "500":
  25420. description: Internal Server Error
  25421. schema:
  25422. $ref: '#/definitions/app.Response'
  25423. security:
  25424. - ApiKeyAuth: []
  25425. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  25426. tags:
  25427. - 企业风险管理(app)
  25428. /Ermcp/QueryExposureSpot:
  25429. get:
  25430. parameters:
  25431. - description: 所属机构ID
  25432. in: query
  25433. name: areaUserId
  25434. required: true
  25435. type: integer
  25436. produces:
  25437. - application/json
  25438. responses:
  25439. "200":
  25440. description: OK
  25441. schema:
  25442. items:
  25443. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  25444. type: array
  25445. "500":
  25446. description: Internal Server Error
  25447. schema:
  25448. $ref: '#/definitions/app.Response'
  25449. security:
  25450. - ApiKeyAuth: []
  25451. summary: 查询敞口现货头寸(敞口/现货头寸)
  25452. tags:
  25453. - 企业风险管理(app)
  25454. /Ermcp/QueryExposureSpotDetail:
  25455. get:
  25456. parameters:
  25457. - description: 所属机构ID
  25458. in: query
  25459. name: areaUserId
  25460. required: true
  25461. type: integer
  25462. - description: 现货品种ID
  25463. in: query
  25464. name: wrstandardId
  25465. required: true
  25466. type: integer
  25467. produces:
  25468. - application/json
  25469. responses:
  25470. "200":
  25471. description: OK
  25472. schema:
  25473. items:
  25474. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  25475. type: array
  25476. "500":
  25477. description: Internal Server Error
  25478. schema:
  25479. $ref: '#/definitions/app.Response'
  25480. security:
  25481. - ApiKeyAuth: []
  25482. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25483. tags:
  25484. - 企业风险管理(app)
  25485. /Ermcp/QueryFuturesCompany:
  25486. get:
  25487. produces:
  25488. - application/json
  25489. responses:
  25490. "200":
  25491. description: OK
  25492. schema:
  25493. items:
  25494. $ref: '#/definitions/models.ErmcpFuturesCompany'
  25495. type: array
  25496. "500":
  25497. description: Internal Server Error
  25498. schema:
  25499. $ref: '#/definitions/app.Response'
  25500. security:
  25501. - ApiKeyAuth: []
  25502. summary: 查询期货公司
  25503. tags:
  25504. - 企业风险管理(app)
  25505. /Ermcp/QueryGGConvertConfig:
  25506. get:
  25507. parameters:
  25508. - description: 品种id(不填则查所有)
  25509. in: query
  25510. name: goodsgroupid
  25511. type: integer
  25512. produces:
  25513. - application/json
  25514. responses:
  25515. "200":
  25516. description: OK
  25517. schema:
  25518. items:
  25519. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  25520. type: array
  25521. "500":
  25522. description: Internal Server Error
  25523. schema:
  25524. $ref: '#/definitions/app.Response'
  25525. security:
  25526. - ApiKeyAuth: []
  25527. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  25528. tags:
  25529. - 企业风险管理(app)
  25530. /Ermcp/QueryGoodsBrand:
  25531. get:
  25532. parameters:
  25533. - description: 用户ID
  25534. in: query
  25535. name: userid
  25536. required: true
  25537. type: integer
  25538. - description: 现货商品ID
  25539. in: query
  25540. name: wrstandardid
  25541. type: integer
  25542. produces:
  25543. - application/json
  25544. responses:
  25545. "200":
  25546. description: OK
  25547. schema:
  25548. items:
  25549. $ref: '#/definitions/models.ErmcpGoodsBrand'
  25550. type: array
  25551. "500":
  25552. description: Internal Server Error
  25553. schema:
  25554. $ref: '#/definitions/app.Response'
  25555. security:
  25556. - ApiKeyAuth: []
  25557. summary: 查询商品品牌
  25558. tags:
  25559. - 企业风险管理(app)
  25560. /Ermcp/QueryGoodsModel:
  25561. get:
  25562. parameters:
  25563. - description: 用户ID
  25564. in: query
  25565. name: userid
  25566. required: true
  25567. type: integer
  25568. produces:
  25569. - application/json
  25570. responses:
  25571. "200":
  25572. description: OK
  25573. schema:
  25574. items:
  25575. $ref: '#/definitions/models.ErmcpGoodsModel'
  25576. type: array
  25577. "500":
  25578. description: Internal Server Error
  25579. schema:
  25580. $ref: '#/definitions/app.Response'
  25581. security:
  25582. - ApiKeyAuth: []
  25583. summary: 查询商品型号
  25584. tags:
  25585. - 企业风险管理(app)
  25586. /Ermcp/QueryHisExposure:
  25587. get:
  25588. parameters:
  25589. - description: 用户id
  25590. in: query
  25591. name: userid
  25592. required: true
  25593. type: integer
  25594. - description: 每个品种记录数
  25595. in: query
  25596. name: lastNum
  25597. required: true
  25598. type: integer
  25599. produces:
  25600. - application/json
  25601. responses:
  25602. "200":
  25603. description: OK
  25604. schema:
  25605. items:
  25606. $ref: '#/definitions/ermcp.HisExposureRsp'
  25607. type: array
  25608. "500":
  25609. description: Internal Server Error
  25610. schema:
  25611. $ref: '#/definitions/app.Response'
  25612. security:
  25613. - ApiKeyAuth: []
  25614. summary: 查询历史敞口(菜单:敞口/历史敞口)
  25615. tags:
  25616. - 企业风险管理(app)
  25617. /Ermcp/QueryMiddleGoods:
  25618. get:
  25619. parameters:
  25620. - description: 所属机构ID
  25621. in: query
  25622. name: userid
  25623. required: true
  25624. type: integer
  25625. - description: 状态 0-停用 1-正常
  25626. in: query
  25627. name: status
  25628. required: true
  25629. type: integer
  25630. produces:
  25631. - application/json
  25632. responses:
  25633. "200":
  25634. description: OK
  25635. schema:
  25636. items:
  25637. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  25638. type: array
  25639. "500":
  25640. description: Internal Server Error
  25641. schema:
  25642. $ref: '#/definitions/app.Response'
  25643. security:
  25644. - ApiKeyAuth: []
  25645. summary: 查询套保品种(菜单:套保品种)
  25646. tags:
  25647. - 企业风险管理(app)
  25648. /Ermcp/QueryMiddleGoodsChangeLog:
  25649. get:
  25650. parameters:
  25651. - description: 所属机构ID
  25652. in: query
  25653. name: userid
  25654. required: true
  25655. type: integer
  25656. - description: 套保品种id
  25657. in: query
  25658. name: middlegoodsid
  25659. required: true
  25660. type: integer
  25661. produces:
  25662. - application/json
  25663. responses:
  25664. "200":
  25665. description: OK
  25666. schema:
  25667. items:
  25668. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  25669. type: array
  25670. "500":
  25671. description: Internal Server Error
  25672. schema:
  25673. $ref: '#/definitions/app.Response'
  25674. security:
  25675. - ApiKeyAuth: []
  25676. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  25677. tags:
  25678. - 企业风险管理(app)
  25679. /Ermcp/QueryMiddleGoodsDetail:
  25680. get:
  25681. parameters:
  25682. - description: 所属机构ID
  25683. in: query
  25684. name: userid
  25685. required: true
  25686. type: integer
  25687. - description: 套保品种id
  25688. in: query
  25689. name: middlegoodsid
  25690. type: integer
  25691. produces:
  25692. - application/json
  25693. responses:
  25694. "200":
  25695. description: OK
  25696. schema:
  25697. items:
  25698. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  25699. type: array
  25700. "500":
  25701. description: Internal Server Error
  25702. schema:
  25703. $ref: '#/definitions/app.Response'
  25704. security:
  25705. - ApiKeyAuth: []
  25706. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  25707. tags:
  25708. - 企业风险管理(app)
  25709. /Ermcp/QueryPendingAuditInfo:
  25710. get:
  25711. parameters:
  25712. - description: 用户ID
  25713. in: query
  25714. name: UserId
  25715. required: true
  25716. type: integer
  25717. produces:
  25718. - application/json
  25719. responses:
  25720. "200":
  25721. description: OK
  25722. schema:
  25723. items:
  25724. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  25725. type: array
  25726. "500":
  25727. description: Internal Server Error
  25728. schema:
  25729. $ref: '#/definitions/app.Response'
  25730. security:
  25731. - ApiKeyAuth: []
  25732. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  25733. tags:
  25734. - 企业风险管理(app)
  25735. /Ermcp/QueryRealtimeExposure:
  25736. get:
  25737. parameters:
  25738. - description: 所属机构ID
  25739. in: query
  25740. name: userid
  25741. required: true
  25742. type: integer
  25743. produces:
  25744. - application/json
  25745. responses:
  25746. "200":
  25747. description: OK
  25748. schema:
  25749. items:
  25750. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  25751. type: array
  25752. "500":
  25753. description: Internal Server Error
  25754. schema:
  25755. $ref: '#/definitions/app.Response'
  25756. security:
  25757. - ApiKeyAuth: []
  25758. summary: 查询实时敞口
  25759. tags:
  25760. - 企业风险管理(app)
  25761. /Ermcp/QueryRealtimeExposurePosition:
  25762. get:
  25763. parameters:
  25764. - description: 用户id
  25765. in: query
  25766. name: userid
  25767. required: true
  25768. type: integer
  25769. - description: 套保商品ID
  25770. in: query
  25771. name: middleGoodsId
  25772. required: true
  25773. type: integer
  25774. produces:
  25775. - application/json
  25776. responses:
  25777. "200":
  25778. description: OK
  25779. schema:
  25780. items:
  25781. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  25782. type: array
  25783. "500":
  25784. description: Internal Server Error
  25785. schema:
  25786. $ref: '#/definitions/app.Response'
  25787. security:
  25788. - ApiKeyAuth: []
  25789. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  25790. tags:
  25791. - 企业风险管理(app)
  25792. /Ermcp/QueryRoleMenu:
  25793. get:
  25794. parameters:
  25795. - description: 登录ID
  25796. in: query
  25797. name: loginid
  25798. required: true
  25799. type: integer
  25800. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  25801. in: query
  25802. name: menutype
  25803. type: integer
  25804. produces:
  25805. - application/json
  25806. responses:
  25807. "200":
  25808. description: OK
  25809. schema:
  25810. items:
  25811. $ref: '#/definitions/models.RoleMenu'
  25812. type: array
  25813. "500":
  25814. description: Internal Server Error
  25815. schema:
  25816. $ref: '#/definitions/app.Response'
  25817. security:
  25818. - ApiKeyAuth: []
  25819. summary: 查询角色菜单和权限
  25820. tags:
  25821. - 企业风险管理(app)
  25822. /Ermcp/QueryTradeConfigTMP:
  25823. get:
  25824. parameters:
  25825. - description: 所属机构id
  25826. in: query
  25827. name: areauserid
  25828. type: integer
  25829. produces:
  25830. - application/json
  25831. responses:
  25832. "200":
  25833. description: OK
  25834. schema:
  25835. items:
  25836. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  25837. type: array
  25838. "500":
  25839. description: Internal Server Error
  25840. schema:
  25841. $ref: '#/definitions/app.Response'
  25842. security:
  25843. - ApiKeyAuth: []
  25844. summary: 查询交易模板配置
  25845. tags:
  25846. - 企业风险管理(app)
  25847. /Ermcp/QueryUserInfo:
  25848. get:
  25849. parameters:
  25850. - description: 所属机构用户ID
  25851. in: query
  25852. name: MemberUserID
  25853. required: true
  25854. type: integer
  25855. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  25856. in: query
  25857. name: queryType
  25858. required: true
  25859. type: integer
  25860. produces:
  25861. - application/json
  25862. responses:
  25863. "200":
  25864. description: OK
  25865. schema:
  25866. items:
  25867. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  25868. type: array
  25869. "500":
  25870. description: Internal Server Error
  25871. schema:
  25872. $ref: '#/definitions/app.Response'
  25873. security:
  25874. - ApiKeyAuth: []
  25875. summary: 查询客户资料
  25876. tags:
  25877. - 企业风险管理(app)
  25878. /Ermcp/QueryWarehouseInfo:
  25879. get:
  25880. parameters:
  25881. - description: 用户ID
  25882. in: query
  25883. name: userid
  25884. required: true
  25885. type: integer
  25886. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  25887. in: query
  25888. name: status
  25889. type: string
  25890. produces:
  25891. - application/json
  25892. responses:
  25893. "200":
  25894. description: OK
  25895. schema:
  25896. items:
  25897. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  25898. type: array
  25899. "500":
  25900. description: Internal Server Error
  25901. schema:
  25902. $ref: '#/definitions/app.Response'
  25903. security:
  25904. - ApiKeyAuth: []
  25905. summary: 查询仓库信息
  25906. tags:
  25907. - 企业风险管理(app)
  25908. /Ermcp3/QryAreaExpourseContractDetail:
  25909. get:
  25910. parameters:
  25911. - description: 用户ID
  25912. in: query
  25913. name: userid
  25914. required: true
  25915. type: integer
  25916. - description: 套保商品id
  25917. in: query
  25918. name: middlegoodsid
  25919. required: true
  25920. type: integer
  25921. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25922. in: query
  25923. name: cycletype
  25924. required: true
  25925. type: integer
  25926. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25927. 全(0)【原值】
  25928. in: query
  25929. name: cycletime
  25930. required: true
  25931. type: string
  25932. produces:
  25933. - application/json
  25934. responses:
  25935. "200":
  25936. description: OK
  25937. schema:
  25938. items:
  25939. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  25940. type: array
  25941. "500":
  25942. description: Internal Server Error
  25943. schema:
  25944. $ref: '#/definitions/app.Response'
  25945. security:
  25946. - ApiKeyAuth: []
  25947. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  25948. tags:
  25949. - 企业风险管理v3(app)
  25950. /Ermcp3/QryAreaExpourseFutuDetail:
  25951. get:
  25952. parameters:
  25953. - description: 用户ID
  25954. in: query
  25955. name: userid
  25956. required: true
  25957. type: integer
  25958. - description: 套保商品id
  25959. in: query
  25960. name: middlegoodsid
  25961. required: true
  25962. type: integer
  25963. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25964. in: query
  25965. name: cycletype
  25966. required: true
  25967. type: integer
  25968. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25969. 全(0)【原值】
  25970. in: query
  25971. name: cycletime
  25972. required: true
  25973. type: string
  25974. produces:
  25975. - application/json
  25976. responses:
  25977. "200":
  25978. description: OK
  25979. schema:
  25980. items:
  25981. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  25982. type: array
  25983. "500":
  25984. description: Internal Server Error
  25985. schema:
  25986. $ref: '#/definitions/app.Response'
  25987. security:
  25988. - ApiKeyAuth: []
  25989. summary: 查询敞口期货明细(敞口报表/期货明细)
  25990. tags:
  25991. - 企业风险管理v3(app)
  25992. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  25993. get:
  25994. parameters:
  25995. - description: 用户ID
  25996. in: query
  25997. name: userid
  25998. required: true
  25999. type: integer
  26000. - description: 套保商品id
  26001. in: query
  26002. name: middlegoodsid
  26003. required: true
  26004. type: integer
  26005. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26006. in: query
  26007. name: cycletype
  26008. required: true
  26009. type: integer
  26010. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26011. 全(0)【原值】
  26012. in: query
  26013. name: cycletime
  26014. required: true
  26015. type: string
  26016. produces:
  26017. - application/json
  26018. responses:
  26019. "200":
  26020. description: OK
  26021. schema:
  26022. items:
  26023. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  26024. type: array
  26025. "500":
  26026. description: Internal Server Error
  26027. schema:
  26028. $ref: '#/definitions/app.Response'
  26029. security:
  26030. - ApiKeyAuth: []
  26031. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  26032. tags:
  26033. - 企业风险管理v3(app)
  26034. /Ermcp3/QryAreaExpourseParamChLogDetail:
  26035. get:
  26036. parameters:
  26037. - description: 用户ID
  26038. in: query
  26039. name: userid
  26040. required: true
  26041. type: integer
  26042. - description: 套保商品id
  26043. in: query
  26044. name: middlegoodsid
  26045. required: true
  26046. type: integer
  26047. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26048. in: query
  26049. name: cycletype
  26050. required: true
  26051. type: integer
  26052. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26053. 全(0)【原值】
  26054. in: query
  26055. name: cycletime
  26056. required: true
  26057. type: string
  26058. produces:
  26059. - application/json
  26060. responses:
  26061. "200":
  26062. description: OK
  26063. schema:
  26064. items:
  26065. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  26066. type: array
  26067. "500":
  26068. description: Internal Server Error
  26069. schema:
  26070. $ref: '#/definitions/app.Response'
  26071. security:
  26072. - ApiKeyAuth: []
  26073. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  26074. tags:
  26075. - 企业风险管理v3(app)
  26076. /Ermcp3/QryAreaExpourseReport:
  26077. get:
  26078. parameters:
  26079. - description: 用户ID
  26080. in: query
  26081. name: userid
  26082. required: true
  26083. type: integer
  26084. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  26085. in: query
  26086. name: querytype
  26087. required: true
  26088. type: integer
  26089. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26090. in: query
  26091. name: cycletype
  26092. required: true
  26093. type: integer
  26094. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26095. 全(0)【原值】
  26096. in: query
  26097. name: cycletime
  26098. required: true
  26099. type: string
  26100. produces:
  26101. - application/json
  26102. responses:
  26103. "200":
  26104. description: OK
  26105. schema:
  26106. items:
  26107. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  26108. type: array
  26109. "500":
  26110. description: Internal Server Error
  26111. schema:
  26112. $ref: '#/definitions/app.Response'
  26113. security:
  26114. - ApiKeyAuth: []
  26115. summary: 查询敞口报表
  26116. tags:
  26117. - 企业风险管理v3(app)
  26118. /Ermcp3/QryAreaSpotplReport:
  26119. get:
  26120. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  26121. parameters:
  26122. - description: 用户ID
  26123. in: query
  26124. name: userid
  26125. required: true
  26126. type: integer
  26127. - description: 查询类型 1-报表 2-报表明细
  26128. in: query
  26129. name: querytype
  26130. required: true
  26131. type: integer
  26132. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26133. in: query
  26134. name: cycletype
  26135. required: true
  26136. type: integer
  26137. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26138. 全(0)【原值】
  26139. in: query
  26140. name: cycletime
  26141. required: true
  26142. type: string
  26143. - description: 现货品种id(明细必填)
  26144. in: query
  26145. name: deliverygoodsid
  26146. type: integer
  26147. - description: 币种id(明细必填)
  26148. in: query
  26149. name: currencyid
  26150. type: integer
  26151. - description: 日/周/月报表汇总维度 1:品种+品类
  26152. in: query
  26153. name: sumflag
  26154. type: integer
  26155. produces:
  26156. - application/json
  26157. responses:
  26158. "200":
  26159. description: OK
  26160. schema:
  26161. items:
  26162. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  26163. type: array
  26164. "500":
  26165. description: Internal Server Error
  26166. schema:
  26167. $ref: '#/definitions/app.Response'
  26168. security:
  26169. - ApiKeyAuth: []
  26170. summary: 查询现货报表
  26171. tags:
  26172. - 企业风险管理v3(app)
  26173. /Ermcp3/QryAreaStockReport:
  26174. get:
  26175. parameters:
  26176. - description: 用户ID
  26177. in: query
  26178. name: userid
  26179. required: true
  26180. type: integer
  26181. - description: 查询类型 1-报表 2-报表明细
  26182. in: query
  26183. name: querytype
  26184. required: true
  26185. type: integer
  26186. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26187. in: query
  26188. name: cycletype
  26189. required: true
  26190. type: integer
  26191. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26192. 全(0)【原值】
  26193. in: query
  26194. name: cycletime
  26195. required: true
  26196. type: string
  26197. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  26198. in: query
  26199. name: sumfields
  26200. type: string
  26201. - description: 品种ID
  26202. in: query
  26203. name: deliverygoodsid
  26204. type: integer
  26205. - description: 品类ID
  26206. in: query
  26207. name: wrstandardid
  26208. type: integer
  26209. - description: 品牌ID
  26210. in: query
  26211. name: spotgoodsbrandid
  26212. type: integer
  26213. - description: 仓库ID
  26214. in: query
  26215. name: warehouseinfoid
  26216. type: integer
  26217. produces:
  26218. - application/json
  26219. responses:
  26220. "200":
  26221. description: OK
  26222. schema:
  26223. items:
  26224. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  26225. type: array
  26226. "500":
  26227. description: Internal Server Error
  26228. schema:
  26229. $ref: '#/definitions/app.Response'
  26230. security:
  26231. - ApiKeyAuth: []
  26232. summary: 查询库存报表
  26233. tags:
  26234. - 企业风险管理v3(app)
  26235. /Ermcp3/QryAreaSumPL:
  26236. get:
  26237. parameters:
  26238. - description: 用户ID
  26239. in: query
  26240. name: userid
  26241. required: true
  26242. type: integer
  26243. - description: 查询类型 1-报表 2-报表明细
  26244. in: query
  26245. name: querytype
  26246. required: true
  26247. type: integer
  26248. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26249. in: query
  26250. name: cycletype
  26251. required: true
  26252. type: integer
  26253. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26254. 全(0)【原值】
  26255. in: query
  26256. name: cycletime
  26257. required: true
  26258. type: string
  26259. - description: 币种id(明细必填)
  26260. in: query
  26261. name: currencyid
  26262. type: integer
  26263. - description: 套保品种ID, 查询类型为2时起效
  26264. in: query
  26265. name: middlegoodsid
  26266. type: integer
  26267. produces:
  26268. - application/json
  26269. responses:
  26270. "200":
  26271. description: OK
  26272. schema:
  26273. items:
  26274. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  26275. type: array
  26276. "500":
  26277. description: Internal Server Error
  26278. schema:
  26279. $ref: '#/definitions/app.Response'
  26280. security:
  26281. - ApiKeyAuth: []
  26282. summary: 查询汇总损益表
  26283. tags:
  26284. - 企业风险管理v3(app)
  26285. /Ermcp3/QryFinanceReport:
  26286. get:
  26287. parameters:
  26288. - description: 用户ID
  26289. in: query
  26290. name: userid
  26291. required: true
  26292. type: integer
  26293. - description: 查询类型 1-报表 2-报表明细
  26294. in: query
  26295. name: querytype
  26296. required: true
  26297. type: integer
  26298. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26299. in: query
  26300. name: cycletype
  26301. required: true
  26302. type: integer
  26303. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26304. 全(0)【原值】
  26305. in: query
  26306. name: cycletime
  26307. required: true
  26308. type: string
  26309. - description: 币种id(报表明细必填)
  26310. in: query
  26311. name: currencyid
  26312. type: integer
  26313. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  26314. in: query
  26315. name: sumfields
  26316. type: string
  26317. produces:
  26318. - application/json
  26319. responses:
  26320. "200":
  26321. description: OK
  26322. schema:
  26323. items:
  26324. $ref: '#/definitions/models.Ermcp3FinanceReport'
  26325. type: array
  26326. "500":
  26327. description: Internal Server Error
  26328. schema:
  26329. $ref: '#/definitions/app.Response'
  26330. security:
  26331. - ApiKeyAuth: []
  26332. summary: 查询财务报表
  26333. tags:
  26334. - 企业风险管理v3(app)
  26335. /Ermcp3/QrySCMiddleGoodsReport:
  26336. get:
  26337. parameters:
  26338. - description: 用户ID
  26339. in: query
  26340. name: userid
  26341. required: true
  26342. type: integer
  26343. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26344. in: query
  26345. name: cycletype
  26346. required: true
  26347. type: integer
  26348. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26349. 全(0)【原值】
  26350. in: query
  26351. name: cycletime
  26352. required: true
  26353. type: string
  26354. - description: 合同id
  26355. in: query
  26356. name: spotcontractid
  26357. type: integer
  26358. - description: 套保品种id
  26359. in: query
  26360. name: middlegoodsid
  26361. type: integer
  26362. - description: 现货品种id
  26363. in: query
  26364. name: deliverygoodsid
  26365. type: integer
  26366. - description: 现货商品id
  26367. in: query
  26368. name: wrstandardid
  26369. type: integer
  26370. - description: 合同编号(模糊匹配)
  26371. in: query
  26372. name: contractno
  26373. type: string
  26374. produces:
  26375. - application/json
  26376. responses:
  26377. "200":
  26378. description: OK
  26379. schema:
  26380. items:
  26381. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  26382. type: array
  26383. "500":
  26384. description: Internal Server Error
  26385. schema:
  26386. $ref: '#/definitions/app.Response'
  26387. security:
  26388. - ApiKeyAuth: []
  26389. summary: 查询定价报表
  26390. tags:
  26391. - 企业风险管理v3(app)
  26392. /Ermcp3/QryTaFutureDataReport:
  26393. get:
  26394. parameters:
  26395. - description: 用户ID
  26396. in: query
  26397. name: userid
  26398. required: true
  26399. type: integer
  26400. - description: 查询类型 1-报表 2-报表明细
  26401. in: query
  26402. name: querytype
  26403. required: true
  26404. type: integer
  26405. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26406. in: query
  26407. name: cycletype
  26408. required: true
  26409. type: integer
  26410. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26411. 全(0)【原值】
  26412. in: query
  26413. name: cycletime
  26414. required: true
  26415. type: string
  26416. - description: 币种id(查明细必填)
  26417. in: query
  26418. name: currencyid
  26419. type: integer
  26420. - description: 品种id(查明细必填)
  26421. in: query
  26422. name: goodsgroupid
  26423. type: integer
  26424. - description: 商品id(查明细必填)
  26425. in: query
  26426. name: goodsid
  26427. type: integer
  26428. - description: 买卖方向(查明细必填)
  26429. in: query
  26430. name: buyorsell
  26431. type: integer
  26432. produces:
  26433. - application/json
  26434. responses:
  26435. "200":
  26436. description: OK
  26437. schema:
  26438. items:
  26439. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  26440. type: array
  26441. "500":
  26442. description: Internal Server Error
  26443. schema:
  26444. $ref: '#/definitions/app.Response'
  26445. security:
  26446. - ApiKeyAuth: []
  26447. summary: 查询期货报表
  26448. tags:
  26449. - 企业风险管理v3(app)
  26450. /Ermcp3/QueryAreaStock:
  26451. get:
  26452. parameters:
  26453. - description: 用户ID
  26454. in: query
  26455. name: userid
  26456. required: true
  26457. type: integer
  26458. produces:
  26459. - application/json
  26460. responses:
  26461. "200":
  26462. description: OK
  26463. schema:
  26464. items:
  26465. $ref: '#/definitions/models.Ermcp3AreaStock'
  26466. type: array
  26467. "500":
  26468. description: Internal Server Error
  26469. schema:
  26470. $ref: '#/definitions/app.Response'
  26471. security:
  26472. - ApiKeyAuth: []
  26473. summary: 查询机构库存(库存管理/当前库存)
  26474. tags:
  26475. - 企业风险管理v3(app)
  26476. /Ermcp3/QueryAreaStockApply:
  26477. get:
  26478. parameters:
  26479. - description: 用户ID
  26480. in: query
  26481. name: userid
  26482. required: true
  26483. type: integer
  26484. - description: 用户类型 2-机构 7-企业成员
  26485. in: query
  26486. name: usertype
  26487. type: integer
  26488. - description: 现货商品ID
  26489. in: query
  26490. name: deliverygoodsid
  26491. type: integer
  26492. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  26493. in: query
  26494. name: inouttype
  26495. type: string
  26496. - description: 合同ID
  26497. in: query
  26498. name: spotcontractid
  26499. type: integer
  26500. - description: 品类ID
  26501. in: query
  26502. name: wrstandardid
  26503. type: integer
  26504. - description: 品牌ID
  26505. in: query
  26506. name: spotgoodsbrandid
  26507. type: integer
  26508. - description: 仓库ID
  26509. in: query
  26510. name: warehouseinfoid
  26511. type: integer
  26512. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26513. in: query
  26514. name: applystatus
  26515. type: string
  26516. produces:
  26517. - application/json
  26518. responses:
  26519. "200":
  26520. description: OK
  26521. schema:
  26522. items:
  26523. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  26524. type: array
  26525. "500":
  26526. description: Internal Server Error
  26527. schema:
  26528. $ref: '#/definitions/app.Response'
  26529. security:
  26530. - ApiKeyAuth: []
  26531. summary: 查询库存申请(出入库记录|库存审核)
  26532. tags:
  26533. - 企业风险管理v3(app)
  26534. /Ermcp3/QueryAreaStockApplySum:
  26535. get:
  26536. parameters:
  26537. - description: 合同ID
  26538. in: query
  26539. name: spotcontractid
  26540. required: true
  26541. type: integer
  26542. produces:
  26543. - application/json
  26544. responses:
  26545. "200":
  26546. description: OK
  26547. schema:
  26548. items:
  26549. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  26550. type: array
  26551. "500":
  26552. description: Internal Server Error
  26553. schema:
  26554. $ref: '#/definitions/app.Response'
  26555. security:
  26556. - ApiKeyAuth: []
  26557. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  26558. tags:
  26559. - 企业风险管理v3(app)
  26560. /Ermcp3/QueryDGFactoryItem:
  26561. get:
  26562. parameters:
  26563. - description: 用户id
  26564. in: query
  26565. name: userid
  26566. type: integer
  26567. - description: 用户类型 2-机构 7-企业成员
  26568. in: query
  26569. name: usertype
  26570. type: integer
  26571. - description: 选择项ID(SEQ_DGFACTORYITEM)
  26572. in: query
  26573. name: dgfactoryitemid
  26574. type: integer
  26575. - description: 现货品种ID
  26576. in: query
  26577. name: deliverygoodsid
  26578. type: integer
  26579. - description: 要素项类型
  26580. in: query
  26581. name: dgfactoryitemtypeid
  26582. type: integer
  26583. - description: 顺序
  26584. in: query
  26585. name: orderindex
  26586. type: integer
  26587. produces:
  26588. - application/json
  26589. responses:
  26590. "200":
  26591. description: OK
  26592. schema:
  26593. items:
  26594. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  26595. type: array
  26596. "500":
  26597. description: Internal Server Error
  26598. schema:
  26599. $ref: '#/definitions/app.Response'
  26600. security:
  26601. - ApiKeyAuth: []
  26602. summary: 查询品种要素定义项
  26603. tags:
  26604. - 企业风险管理v3(app)
  26605. /Ermcp3/QueryDeliveryGoods:
  26606. get:
  26607. parameters:
  26608. - description: 用户id
  26609. in: query
  26610. name: userid
  26611. required: true
  26612. type: integer
  26613. - description: 用户类型 2-机构 7-企业成员
  26614. in: query
  26615. name: usertype
  26616. type: integer
  26617. - description: 排除已配置的业务类型商品 1-套保 2-套利
  26618. in: query
  26619. name: excludecfg
  26620. type: integer
  26621. produces:
  26622. - application/json
  26623. responses:
  26624. "200":
  26625. description: OK
  26626. schema:
  26627. items:
  26628. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  26629. type: array
  26630. "500":
  26631. description: Internal Server Error
  26632. schema:
  26633. $ref: '#/definitions/app.Response'
  26634. security:
  26635. - ApiKeyAuth: []
  26636. summary: 查询现货商品
  26637. tags:
  26638. - 企业风险管理v3(app)
  26639. /Ermcp3/QueryDeliveryGoodsDetail:
  26640. get:
  26641. parameters:
  26642. - description: 用户id
  26643. in: query
  26644. name: userid
  26645. required: true
  26646. type: integer
  26647. - description: 用户类型 2-机构 7-企业成员
  26648. in: query
  26649. name: usertype
  26650. type: integer
  26651. - description: 现货商品id
  26652. in: query
  26653. name: deliverygoodsid
  26654. type: integer
  26655. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  26656. in: query
  26657. name: filtersubempty
  26658. type: integer
  26659. produces:
  26660. - application/json
  26661. responses:
  26662. "200":
  26663. description: OK
  26664. schema:
  26665. items:
  26666. $ref: '#/definitions/models.XHDeliveryGoods'
  26667. type: array
  26668. "500":
  26669. description: Internal Server Error
  26670. schema:
  26671. $ref: '#/definitions/app.Response'
  26672. security:
  26673. - ApiKeyAuth: []
  26674. summary: 查询现货商品详情
  26675. tags:
  26676. - 企业风险管理v3(app)
  26677. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  26678. get:
  26679. parameters:
  26680. - description: 合同id
  26681. in: query
  26682. name: spotcontractid
  26683. required: true
  26684. type: string
  26685. produces:
  26686. - application/json
  26687. responses:
  26688. "200":
  26689. description: OK
  26690. schema:
  26691. items:
  26692. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  26693. type: array
  26694. "500":
  26695. description: Internal Server Error
  26696. schema:
  26697. $ref: '#/definitions/app.Response'
  26698. security:
  26699. - ApiKeyAuth: []
  26700. summary: 查询现货合同期现配置信息
  26701. tags:
  26702. - 企业风险管理v3(app)
  26703. /Ermcp3/QueryExposureDetail:
  26704. get:
  26705. parameters:
  26706. - description: 用户id
  26707. in: query
  26708. name: userid
  26709. required: true
  26710. type: integer
  26711. - description: 用户类型 2-机构 7-企业成员
  26712. in: query
  26713. name: usertype
  26714. type: integer
  26715. - description: 套保商品
  26716. in: query
  26717. name: middlegoodsid
  26718. required: true
  26719. type: integer
  26720. produces:
  26721. - application/json
  26722. responses:
  26723. "200":
  26724. description: OK
  26725. schema:
  26726. items:
  26727. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  26728. type: array
  26729. "500":
  26730. description: Internal Server Error
  26731. schema:
  26732. $ref: '#/definitions/app.Response'
  26733. security:
  26734. - ApiKeyAuth: []
  26735. summary: 查询敞口现货明细
  26736. tags:
  26737. - 企业风险管理v3(app)
  26738. /Ermcp3/QueryExposureSpot:
  26739. get:
  26740. parameters:
  26741. - description: 用户id
  26742. in: query
  26743. name: userid
  26744. required: true
  26745. type: integer
  26746. - description: 用户类型 2-机构 7-企业成员
  26747. in: query
  26748. name: usertype
  26749. type: integer
  26750. produces:
  26751. - application/json
  26752. responses:
  26753. "200":
  26754. description: OK
  26755. schema:
  26756. items:
  26757. $ref: '#/definitions/models.Ermcp3AreaSpot'
  26758. type: array
  26759. "500":
  26760. description: Internal Server Error
  26761. schema:
  26762. $ref: '#/definitions/app.Response'
  26763. security:
  26764. - ApiKeyAuth: []
  26765. summary: 查询敞口现货头寸(敞口/现货头寸)
  26766. tags:
  26767. - 企业风险管理v3(app)
  26768. /Ermcp3/QueryExposureSpotDetail:
  26769. get:
  26770. parameters:
  26771. - description: 用户id
  26772. in: query
  26773. name: userid
  26774. required: true
  26775. type: integer
  26776. - description: 用户类型 2-机构 7-企业成员
  26777. in: query
  26778. name: usertype
  26779. type: integer
  26780. - description: 现货商品ID
  26781. in: query
  26782. name: wrstandardid
  26783. required: true
  26784. type: integer
  26785. produces:
  26786. - application/json
  26787. responses:
  26788. "200":
  26789. description: OK
  26790. schema:
  26791. items:
  26792. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  26793. type: array
  26794. "500":
  26795. description: Internal Server Error
  26796. schema:
  26797. $ref: '#/definitions/app.Response'
  26798. security:
  26799. - ApiKeyAuth: []
  26800. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  26801. tags:
  26802. - 企业风险管理v3(app)
  26803. /Ermcp3/QueryGoodsGroup:
  26804. get:
  26805. parameters:
  26806. - description: 用户id
  26807. in: query
  26808. name: userid
  26809. required: true
  26810. type: integer
  26811. - description: 用户类型 2-机构 7-企业成员
  26812. in: query
  26813. name: usertype
  26814. type: integer
  26815. - description: 排除套保品中已关联的商品组 1-排除
  26816. in: query
  26817. name: excludecfg
  26818. type: integer
  26819. produces:
  26820. - application/json
  26821. responses:
  26822. "200":
  26823. description: OK
  26824. schema:
  26825. items:
  26826. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  26827. type: array
  26828. "500":
  26829. description: Internal Server Error
  26830. schema:
  26831. $ref: '#/definitions/app.Response'
  26832. security:
  26833. - ApiKeyAuth: []
  26834. summary: 查询期货商品组
  26835. tags:
  26836. - 企业风险管理v3(app)
  26837. /Ermcp3/QueryGoodsWrstandard:
  26838. get:
  26839. parameters:
  26840. - description: 用户id
  26841. in: query
  26842. name: userid
  26843. required: true
  26844. type: integer
  26845. - description: 用户类型 2-机构 7-企业成员
  26846. in: query
  26847. name: usertype
  26848. type: integer
  26849. - description: 现货商品id
  26850. in: query
  26851. name: deliverygoodsid
  26852. type: integer
  26853. produces:
  26854. - application/json
  26855. responses:
  26856. "200":
  26857. description: OK
  26858. schema:
  26859. items:
  26860. $ref: '#/definitions/models.Ermcp3Wrstandard'
  26861. type: array
  26862. "500":
  26863. description: Internal Server Error
  26864. schema:
  26865. $ref: '#/definitions/app.Response'
  26866. security:
  26867. - ApiKeyAuth: []
  26868. summary: 查询商品品类
  26869. tags:
  26870. - 企业风险管理v3(app)
  26871. /Ermcp3/QueryGoodsbrand:
  26872. get:
  26873. parameters:
  26874. - description: 用户id
  26875. in: query
  26876. name: userid
  26877. required: true
  26878. type: integer
  26879. - description: 用户类型 2-机构 7-企业成员
  26880. in: query
  26881. name: usertype
  26882. type: integer
  26883. produces:
  26884. - application/json
  26885. responses:
  26886. "200":
  26887. description: OK
  26888. schema:
  26889. items:
  26890. $ref: '#/definitions/models.Ermcp3Brand'
  26891. type: array
  26892. "500":
  26893. description: Internal Server Error
  26894. schema:
  26895. $ref: '#/definitions/app.Response'
  26896. security:
  26897. - ApiKeyAuth: []
  26898. summary: 查询商品品牌
  26899. tags:
  26900. - 企业风险管理v3(app)
  26901. /Ermcp3/QueryHPMiddleGoods:
  26902. get:
  26903. parameters:
  26904. - description: 用户ID(填登录用户的userid)
  26905. in: query
  26906. name: userid
  26907. required: true
  26908. type: integer
  26909. - description: 买卖方向 0-买 1-卖
  26910. in: query
  26911. name: buyorsell
  26912. required: true
  26913. type: integer
  26914. - description: 商品组id
  26915. in: query
  26916. name: goodsgroupid
  26917. required: true
  26918. type: integer
  26919. - description: 套保计划编号(模糊匹配)
  26920. in: query
  26921. name: hedgeplanno
  26922. type: string
  26923. - description: 现货商品名称(模糊匹配)
  26924. in: query
  26925. name: wrstandardname
  26926. type: string
  26927. produces:
  26928. - application/json
  26929. responses:
  26930. "200":
  26931. description: OK
  26932. schema:
  26933. items:
  26934. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  26935. type: array
  26936. "500":
  26937. description: Internal Server Error
  26938. schema:
  26939. $ref: '#/definitions/app.Response'
  26940. security:
  26941. - ApiKeyAuth: []
  26942. summary: 查询可关联套保计划
  26943. tags:
  26944. - 企业风险管理v3(app)
  26945. /Ermcp3/QueryHedgePlan:
  26946. get:
  26947. parameters:
  26948. - description: 用户ID
  26949. in: query
  26950. name: userid
  26951. required: true
  26952. type: integer
  26953. - description: 用户类型 2-机构 7-企业成员
  26954. in: query
  26955. name: usertype
  26956. type: integer
  26957. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26958. in: query
  26959. name: hedgeplanstatus
  26960. required: true
  26961. type: string
  26962. produces:
  26963. - application/json
  26964. responses:
  26965. "200":
  26966. description: OK
  26967. schema:
  26968. items:
  26969. $ref: '#/definitions/models.Ermcp3HedgePlan'
  26970. type: array
  26971. "500":
  26972. description: Internal Server Error
  26973. schema:
  26974. $ref: '#/definitions/app.Response'
  26975. security:
  26976. - ApiKeyAuth: []
  26977. summary: 查询套保计划
  26978. tags:
  26979. - 企业风险管理v3(app)
  26980. /Ermcp3/QueryInnerTradeLink:
  26981. get:
  26982. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  26983. parameters:
  26984. - description: 外部成交单号
  26985. in: query
  26986. name: outtradeid
  26987. required: true
  26988. type: integer
  26989. produces:
  26990. - application/json
  26991. responses:
  26992. "200":
  26993. description: OK
  26994. schema:
  26995. items:
  26996. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  26997. type: array
  26998. "500":
  26999. description: Internal Server Error
  27000. schema:
  27001. $ref: '#/definitions/app.Response'
  27002. security:
  27003. - ApiKeyAuth: []
  27004. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  27005. tags:
  27006. - 企业风险管理v3(app)
  27007. /Ermcp3/QueryMiddleGoodsDetail:
  27008. get:
  27009. parameters:
  27010. - description: 用户id
  27011. in: query
  27012. name: userid
  27013. required: true
  27014. type: integer
  27015. - description: 用户类型 2-机构 7-企业成员
  27016. in: query
  27017. name: usertype
  27018. type: integer
  27019. - description: 套保品种id
  27020. in: query
  27021. name: middlegoodsid
  27022. type: integer
  27023. produces:
  27024. - application/json
  27025. responses:
  27026. "200":
  27027. description: OK
  27028. schema:
  27029. items:
  27030. $ref: '#/definitions/models.TBMiddleGoods'
  27031. type: array
  27032. "500":
  27033. description: Internal Server Error
  27034. schema:
  27035. $ref: '#/definitions/app.Response'
  27036. security:
  27037. - ApiKeyAuth: []
  27038. summary: 查询套保品种详情(套保品种/商品详情)
  27039. tags:
  27040. - 企业风险管理v3(app)
  27041. /Ermcp3/QueryOutTradeLink:
  27042. get:
  27043. description: 页面 app 现货->期现关联->外部成交单关联
  27044. parameters:
  27045. - description: 用户ID(填登录用户的userid)
  27046. in: query
  27047. name: userid
  27048. required: true
  27049. type: integer
  27050. - description: 外部订单号(模糊匹配)
  27051. in: query
  27052. name: outtradeid
  27053. type: string
  27054. - description: 合约名称/代码(模糊匹配)
  27055. in: query
  27056. name: goodsname
  27057. type: string
  27058. - description: 关联状态 0-未关联 1-已关联
  27059. in: query
  27060. name: hasinnerorder
  27061. type: integer
  27062. produces:
  27063. - application/json
  27064. responses:
  27065. "200":
  27066. description: OK
  27067. schema:
  27068. items:
  27069. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  27070. type: array
  27071. "500":
  27072. description: Internal Server Error
  27073. schema:
  27074. $ref: '#/definitions/app.Response'
  27075. security:
  27076. - ApiKeyAuth: []
  27077. summary: 查询外部成交单关联
  27078. tags:
  27079. - 企业风险管理v3(app)
  27080. /Ermcp3/QueryPaAreaAuditCfg:
  27081. get:
  27082. parameters:
  27083. - description: 用户id
  27084. in: query
  27085. name: userid
  27086. required: true
  27087. type: integer
  27088. produces:
  27089. - application/json
  27090. responses:
  27091. "200":
  27092. description: OK
  27093. schema:
  27094. items:
  27095. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  27096. type: array
  27097. "500":
  27098. description: Internal Server Error
  27099. schema:
  27100. $ref: '#/definitions/app.Response'
  27101. security:
  27102. - ApiKeyAuth: []
  27103. summary: 查询审核设置
  27104. tags:
  27105. - 企业风险管理v3(app)
  27106. /Ermcp3/QueryPaAreaSubject:
  27107. get:
  27108. parameters:
  27109. - description: 用户id
  27110. in: query
  27111. name: userid
  27112. required: true
  27113. type: integer
  27114. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  27115. in: query
  27116. name: subjectid
  27117. type: integer
  27118. - description: 主体类型 - 1:交易主体 2:业务部门
  27119. in: query
  27120. name: subjecttype
  27121. type: integer
  27122. - description: '主体状态 - 1:正常 2: 停用'
  27123. in: query
  27124. name: subjectstatus
  27125. type: integer
  27126. produces:
  27127. - application/json
  27128. responses:
  27129. "200":
  27130. description: OK
  27131. schema:
  27132. items:
  27133. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  27134. type: array
  27135. "500":
  27136. description: Internal Server Error
  27137. schema:
  27138. $ref: '#/definitions/app.Response'
  27139. security:
  27140. - ApiKeyAuth: []
  27141. summary: 查询交易主体
  27142. tags:
  27143. - 企业风险管理v3(app)
  27144. /Ermcp3/QueryPaTradeLink:
  27145. get:
  27146. description: 页面 app 现货->期现关联->期现单据关联
  27147. parameters:
  27148. - description: 用户ID
  27149. in: query
  27150. name: userid
  27151. required: true
  27152. type: integer
  27153. produces:
  27154. - application/json
  27155. responses:
  27156. "200":
  27157. description: OK
  27158. schema:
  27159. items:
  27160. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  27161. type: array
  27162. "500":
  27163. description: Internal Server Error
  27164. schema:
  27165. $ref: '#/definitions/app.Response'
  27166. security:
  27167. - ApiKeyAuth: []
  27168. summary: 查询期现单据关联
  27169. tags:
  27170. - 企业风险管理v3(app)
  27171. /Ermcp3/QueryPaTradeLinkDetail:
  27172. get:
  27173. description: 页面 app 现货->期现关联->关联记录
  27174. parameters:
  27175. - description: 用户ID(填登录用户的userid)
  27176. in: query
  27177. name: userid
  27178. required: true
  27179. type: integer
  27180. - description: 关联状态 1:成功 2:失败 3:解绑
  27181. in: query
  27182. name: linkstatus
  27183. type: integer
  27184. - description: 期货订单号(模糊匹配)
  27185. in: query
  27186. name: tradeid
  27187. type: string
  27188. - description: 现货编号(模糊匹配)
  27189. in: query
  27190. name: contractno
  27191. type: string
  27192. - description: 期货账户(模糊匹配)
  27193. in: query
  27194. name: taname
  27195. type: string
  27196. produces:
  27197. - application/json
  27198. responses:
  27199. "200":
  27200. description: OK
  27201. schema:
  27202. items:
  27203. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  27204. type: array
  27205. "500":
  27206. description: Internal Server Error
  27207. schema:
  27208. $ref: '#/definitions/app.Response'
  27209. security:
  27210. - ApiKeyAuth: []
  27211. summary: 查询期现关联记录
  27212. tags:
  27213. - 企业风险管理v3(app)
  27214. /Ermcp3/QueryParamChangeApp:
  27215. get:
  27216. description: |-
  27217. 原型页面:
  27218. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  27219. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  27220. parameters:
  27221. - description: 用户ID
  27222. in: query
  27223. name: userid
  27224. required: true
  27225. type: integer
  27226. - description: 现货品种id
  27227. in: query
  27228. name: deliverygoodsid
  27229. type: integer
  27230. - description: 现货商品id
  27231. in: query
  27232. name: wrstandardid
  27233. type: integer
  27234. - description: 套保商品id
  27235. in: query
  27236. name: middlegoodsid
  27237. type: integer
  27238. - description: 操作类型 1:新增 2:修改
  27239. in: query
  27240. name: operatetype
  27241. type: integer
  27242. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  27243. in: query
  27244. name: paramchangetype
  27245. type: integer
  27246. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27247. in: query
  27248. name: ftstatus
  27249. type: string
  27250. produces:
  27251. - application/json
  27252. responses:
  27253. "200":
  27254. description: OK
  27255. schema:
  27256. items:
  27257. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  27258. type: array
  27259. "500":
  27260. description: Internal Server Error
  27261. schema:
  27262. $ref: '#/definitions/app.Response'
  27263. security:
  27264. - ApiKeyAuth: []
  27265. summary: 查询现货商品参数变更申请(流水)
  27266. tags:
  27267. - 企业风险管理v3(app)
  27268. /Ermcp3/QueryRootUserAccount:
  27269. get:
  27270. parameters:
  27271. - description: 用户ID
  27272. in: query
  27273. name: userid
  27274. required: true
  27275. type: integer
  27276. produces:
  27277. - application/json
  27278. responses:
  27279. "200":
  27280. description: OK
  27281. schema:
  27282. items:
  27283. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  27284. type: array
  27285. "500":
  27286. description: Internal Server Error
  27287. schema:
  27288. $ref: '#/definitions/app.Response'
  27289. security:
  27290. - ApiKeyAuth: []
  27291. summary: 查询顶级用户信息
  27292. tags:
  27293. - 企业风险管理v3(app)
  27294. /Ermcp3/QuerySCMiddleGoods:
  27295. get:
  27296. description: |-
  27297. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  27298. 现货编号 即 合同编号
  27299. parameters:
  27300. - description: 用户ID(填登录用户的userid)
  27301. in: query
  27302. name: userid
  27303. required: true
  27304. type: integer
  27305. - description: 买卖方向 0-买 1-卖
  27306. in: query
  27307. name: buyorsell
  27308. required: true
  27309. type: integer
  27310. - description: 商品组id
  27311. in: query
  27312. name: goodsgroupid
  27313. required: true
  27314. type: integer
  27315. - description: 业务类型 1:套保 2:套利
  27316. in: query
  27317. name: biztype
  27318. type: integer
  27319. - description: 现货编号(模糊匹配)
  27320. in: query
  27321. name: contractno
  27322. type: string
  27323. - description: 对手方(模糊匹配)
  27324. in: query
  27325. name: customername
  27326. type: string
  27327. - description: 现货商品名称(模糊匹配)
  27328. in: query
  27329. name: wrstandardname
  27330. type: string
  27331. produces:
  27332. - application/json
  27333. responses:
  27334. "200":
  27335. description: OK
  27336. schema:
  27337. items:
  27338. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  27339. type: array
  27340. "500":
  27341. description: Internal Server Error
  27342. schema:
  27343. $ref: '#/definitions/app.Response'
  27344. security:
  27345. - ApiKeyAuth: []
  27346. summary: 查询现货订单
  27347. tags:
  27348. - 企业风险管理v3(app)
  27349. /Ermcp3/QuerySpotContract:
  27350. get:
  27351. parameters:
  27352. - description: 用户id(当指定contractid, userid可不填)
  27353. in: query
  27354. name: userid
  27355. required: true
  27356. type: integer
  27357. - description: 用户类型 2-机构 7-企业成员
  27358. in: query
  27359. name: usertype
  27360. type: integer
  27361. - description: 合同类型 1-采购, -1-销售
  27362. in: query
  27363. name: contracttype
  27364. type: integer
  27365. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  27366. in: query
  27367. name: querytype
  27368. type: string
  27369. - description: 合同ID(SpotContractId)
  27370. in: query
  27371. name: contractid
  27372. type: string
  27373. - description: 合同编号(模糊匹配)
  27374. in: query
  27375. name: contractno
  27376. type: string
  27377. - description: 商品名称(模糊匹配)
  27378. in: query
  27379. name: wrstandardname
  27380. type: string
  27381. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27382. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27383. in: query
  27384. name: status
  27385. type: string
  27386. - description: 是否只查今日的合同 1-查今日合同
  27387. in: query
  27388. name: istoday
  27389. type: integer
  27390. produces:
  27391. - application/json
  27392. responses:
  27393. "200":
  27394. description: OK
  27395. schema:
  27396. items:
  27397. $ref: '#/definitions/models.Ermcp3Contract'
  27398. type: array
  27399. "500":
  27400. description: Internal Server Error
  27401. schema:
  27402. $ref: '#/definitions/app.Response'
  27403. security:
  27404. - ApiKeyAuth: []
  27405. summary: 查询现货合同
  27406. tags:
  27407. - 企业风险管理v3(app)
  27408. /Ermcp3/QuerySpotContractBS:
  27409. get:
  27410. parameters:
  27411. - description: 用户id
  27412. in: query
  27413. name: userid
  27414. required: true
  27415. type: integer
  27416. - description: 用户类型 2-机构 7-企业成员
  27417. in: query
  27418. name: usertype
  27419. type: integer
  27420. - description: 合同类型 1-采购, -1-销售
  27421. in: query
  27422. name: contracttype
  27423. required: true
  27424. type: integer
  27425. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  27426. in: query
  27427. name: querytype
  27428. type: integer
  27429. - description: 合同ID(SpotContractId)
  27430. in: query
  27431. name: contractid
  27432. type: string
  27433. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27434. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27435. in: query
  27436. name: status
  27437. type: string
  27438. - description: 是否只查今日的合同 1-查今日合同
  27439. in: query
  27440. name: istoday
  27441. type: integer
  27442. produces:
  27443. - application/json
  27444. responses:
  27445. "200":
  27446. description: OK
  27447. schema:
  27448. items:
  27449. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  27450. type: array
  27451. "500":
  27452. description: Internal Server Error
  27453. schema:
  27454. $ref: '#/definitions/app.Response'
  27455. security:
  27456. - ApiKeyAuth: []
  27457. summary: 查询合同(采购/销售)
  27458. tags:
  27459. - 企业风险管理v3(app)
  27460. /Ermcp3/QuerySpotGoodsPrice:
  27461. get:
  27462. parameters:
  27463. - description: 用户ID
  27464. in: query
  27465. name: userid
  27466. required: true
  27467. type: integer
  27468. produces:
  27469. - application/json
  27470. responses:
  27471. "200":
  27472. description: OK
  27473. schema:
  27474. items:
  27475. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  27476. type: array
  27477. "500":
  27478. description: Internal Server Error
  27479. schema:
  27480. $ref: '#/definitions/app.Response'
  27481. security:
  27482. - ApiKeyAuth: []
  27483. summary: 查询现货市价(现货市价)
  27484. tags:
  27485. - 企业风险管理v3(app)
  27486. /Ermcp3/QuerySpotGoodsPriceLog:
  27487. get:
  27488. parameters:
  27489. - description: 用户ID
  27490. in: query
  27491. name: userid
  27492. required: true
  27493. type: integer
  27494. - description: 现货商品ID
  27495. in: query
  27496. name: deliverygoodsid
  27497. required: true
  27498. type: integer
  27499. - description: 品牌ID
  27500. in: query
  27501. name: brandid
  27502. type: integer
  27503. - description: 品类ID
  27504. in: query
  27505. name: wrstandardid
  27506. type: integer
  27507. produces:
  27508. - application/json
  27509. responses:
  27510. "200":
  27511. description: OK
  27512. schema:
  27513. items:
  27514. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  27515. type: array
  27516. "500":
  27517. description: Internal Server Error
  27518. schema:
  27519. $ref: '#/definitions/app.Response'
  27520. security:
  27521. - ApiKeyAuth: []
  27522. summary: 查询现货市价详情(现货市价/详情)
  27523. tags:
  27524. - 企业风险管理v3(app)
  27525. /Ermcp3/QuerySubTaaccount:
  27526. get:
  27527. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  27528. parameters:
  27529. - description: 母账号id
  27530. in: query
  27531. name: parentaccountid
  27532. type: integer
  27533. - description: 母账号代码
  27534. in: query
  27535. name: parentaccountcode
  27536. type: string
  27537. produces:
  27538. - application/json
  27539. responses:
  27540. "200":
  27541. description: OK
  27542. schema:
  27543. items:
  27544. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  27545. type: array
  27546. "500":
  27547. description: Internal Server Error
  27548. schema:
  27549. $ref: '#/definitions/app.Response'
  27550. security:
  27551. - ApiKeyAuth: []
  27552. summary: 查询期货子账户
  27553. tags:
  27554. - 企业风险管理v3(app)
  27555. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  27556. get:
  27557. parameters:
  27558. - description: 套期项目ID
  27559. in: query
  27560. name: hedgeditemid
  27561. required: true
  27562. type: integer
  27563. produces:
  27564. - application/json
  27565. responses:
  27566. "200":
  27567. description: OK
  27568. schema:
  27569. items:
  27570. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  27571. type: array
  27572. "500":
  27573. description: Internal Server Error
  27574. schema:
  27575. $ref: '#/definitions/app.Response'
  27576. security:
  27577. - ApiKeyAuth: []
  27578. summary: 现货成交明细查询
  27579. tags:
  27580. - 企业风险管理v8
  27581. /Ermcp8/QueryERMCP2HedgedItemspot:
  27582. get:
  27583. parameters:
  27584. - description: 套期项目ID
  27585. in: query
  27586. name: hedgeditemid
  27587. required: true
  27588. type: integer
  27589. produces:
  27590. - application/json
  27591. responses:
  27592. "200":
  27593. description: OK
  27594. schema:
  27595. items:
  27596. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  27597. type: array
  27598. "500":
  27599. description: Internal Server Error
  27600. schema:
  27601. $ref: '#/definitions/app.Response'
  27602. security:
  27603. - ApiKeyAuth: []
  27604. summary: 套期计划明细查询
  27605. tags:
  27606. - 企业风险管理v8
  27607. /Ermcp8/QueryERMCPJRLinkPos:
  27608. get:
  27609. parameters:
  27610. - description: 套期项目ID
  27611. in: query
  27612. name: hedgeditemid
  27613. required: true
  27614. type: integer
  27615. produces:
  27616. - application/json
  27617. responses:
  27618. "200":
  27619. description: OK
  27620. schema:
  27621. items:
  27622. $ref: '#/definitions/models.Ermcpjrlinkpos'
  27623. type: array
  27624. "500":
  27625. description: Internal Server Error
  27626. schema:
  27627. $ref: '#/definitions/app.Response'
  27628. security:
  27629. - ApiKeyAuth: []
  27630. summary: 期货持仓明细查询
  27631. tags:
  27632. - 企业风险管理v8
  27633. /Ermcp8/QueryERMCPPatradeLinkDetail:
  27634. get:
  27635. parameters:
  27636. - description: 套期项目ID
  27637. in: query
  27638. name: hedgeditemid
  27639. required: true
  27640. type: integer
  27641. produces:
  27642. - application/json
  27643. responses:
  27644. "200":
  27645. description: OK
  27646. schema:
  27647. items:
  27648. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  27649. type: array
  27650. "500":
  27651. description: Internal Server Error
  27652. schema:
  27653. $ref: '#/definitions/app.Response'
  27654. security:
  27655. - ApiKeyAuth: []
  27656. summary: 期货成交单明细查询
  27657. tags:
  27658. - 企业风险管理v8
  27659. /Ermcp8/QueryErmcp2AreaExposure:
  27660. get:
  27661. parameters:
  27662. - description: 用户ID
  27663. in: query
  27664. name: userid
  27665. required: true
  27666. type: string
  27667. produces:
  27668. - application/json
  27669. responses:
  27670. "200":
  27671. description: OK
  27672. schema:
  27673. items:
  27674. $ref: '#/definitions/models.Ermcp2AreaExposure'
  27675. type: array
  27676. "500":
  27677. description: Internal Server Error
  27678. schema:
  27679. $ref: '#/definitions/app.Response'
  27680. security:
  27681. - ApiKeyAuth: []
  27682. summary: 企业敞口查询
  27683. tags:
  27684. - 企业风险管理v8
  27685. /Ermcp8/QueryErmcp2HedgedItem:
  27686. get:
  27687. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  27688. parameters:
  27689. - description: 用户ID
  27690. in: query
  27691. name: userid
  27692. required: true
  27693. type: string
  27694. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27695. in: query
  27696. name: hedgedtype
  27697. type: integer
  27698. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27699. in: query
  27700. name: hedgeditemstatus
  27701. type: integer
  27702. produces:
  27703. - application/json
  27704. responses:
  27705. "200":
  27706. description: OK
  27707. schema:
  27708. items:
  27709. $ref: '#/definitions/models.Ermcp2hedgeditem'
  27710. type: array
  27711. "500":
  27712. description: Internal Server Error
  27713. schema:
  27714. $ref: '#/definitions/app.Response'
  27715. security:
  27716. - ApiKeyAuth: []
  27717. summary: 查询被套期项目信息
  27718. tags:
  27719. - 企业风险管理v8
  27720. /Ermcp8/QueryErmcp2HedgedItemLink:
  27721. get:
  27722. parameters:
  27723. - description: 现货合同ID
  27724. in: query
  27725. name: spotcontractid
  27726. required: true
  27727. type: integer
  27728. produces:
  27729. - application/json
  27730. responses:
  27731. "200":
  27732. description: OK
  27733. schema:
  27734. items:
  27735. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  27736. type: array
  27737. "500":
  27738. description: Internal Server Error
  27739. schema:
  27740. $ref: '#/definitions/app.Response'
  27741. security:
  27742. - ApiKeyAuth: []
  27743. summary: 现货合同关联被套期项目查询
  27744. tags:
  27745. - 企业风险管理v8
  27746. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  27747. get:
  27748. parameters:
  27749. - description: 用户ID
  27750. in: query
  27751. name: userid
  27752. required: true
  27753. type: integer
  27754. - description: 套保品种ID
  27755. in: query
  27756. name: middlegoodsid
  27757. required: true
  27758. type: integer
  27759. produces:
  27760. - application/json
  27761. responses:
  27762. "200":
  27763. description: OK
  27764. schema:
  27765. items:
  27766. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  27767. type: array
  27768. "500":
  27769. description: Internal Server Error
  27770. schema:
  27771. $ref: '#/definitions/app.Response'
  27772. security:
  27773. - ApiKeyAuth: []
  27774. summary: 敞口明细 - 计划变动明细
  27775. tags:
  27776. - 企业风险管理v8
  27777. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  27778. get:
  27779. parameters:
  27780. - description: 用户ID
  27781. in: query
  27782. name: userid
  27783. required: true
  27784. type: integer
  27785. - description: 套保品种ID
  27786. in: query
  27787. name: middlegoodsid
  27788. required: true
  27789. type: integer
  27790. produces:
  27791. - application/json
  27792. responses:
  27793. "200":
  27794. description: OK
  27795. schema:
  27796. items:
  27797. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  27798. type: array
  27799. "500":
  27800. description: Internal Server Error
  27801. schema:
  27802. $ref: '#/definitions/app.Response'
  27803. security:
  27804. - ApiKeyAuth: []
  27805. summary: 敞口明细 - 现货变动明细查询
  27806. tags:
  27807. - 企业风险管理v8
  27808. /Ermcp8/QueryErmcp8EnableHedgeditem:
  27809. get:
  27810. parameters:
  27811. - description: 用户ID
  27812. in: query
  27813. name: userid
  27814. required: true
  27815. type: integer
  27816. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  27817. in: query
  27818. name: spottype
  27819. required: true
  27820. type: integer
  27821. - description: 现货商品ID
  27822. in: query
  27823. name: wrstandardid
  27824. type: integer
  27825. produces:
  27826. - application/json
  27827. responses:
  27828. "200":
  27829. description: OK
  27830. schema:
  27831. items:
  27832. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  27833. type: array
  27834. "500":
  27835. description: Internal Server Error
  27836. schema:
  27837. $ref: '#/definitions/app.Response'
  27838. security:
  27839. - ApiKeyAuth: []
  27840. summary: 可关联项目查询
  27841. tags:
  27842. - 企业风险管理v8
  27843. /Ermcp8/QueryErmcp8HedgeditemReport:
  27844. get:
  27845. parameters:
  27846. - description: 用户ID
  27847. in: query
  27848. name: userid
  27849. required: true
  27850. type: integer
  27851. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27852. in: query
  27853. name: cycletype
  27854. type: integer
  27855. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27856. 全(0)【原值】
  27857. in: query
  27858. name: cycletime
  27859. required: true
  27860. type: string
  27861. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27862. in: query
  27863. name: hedgedtype
  27864. type: integer
  27865. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27866. in: query
  27867. name: hedgeditemstatus
  27868. type: integer
  27869. - description: 项目编号,模糊查询
  27870. in: query
  27871. name: hedgeditemnum
  27872. type: string
  27873. - description: 现货商品ID
  27874. in: query
  27875. name: wrstandardid
  27876. type: integer
  27877. produces:
  27878. - application/json
  27879. responses:
  27880. "200":
  27881. description: OK
  27882. schema:
  27883. items:
  27884. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  27885. type: array
  27886. "500":
  27887. description: Internal Server Error
  27888. schema:
  27889. $ref: '#/definitions/app.Response'
  27890. security:
  27891. - ApiKeyAuth: []
  27892. summary: 套期项目报表查询
  27893. tags:
  27894. - 企业风险管理v8
  27895. /Ermcp8/QueryErmcp8RunningHedgeditem:
  27896. get:
  27897. parameters:
  27898. - description: 用户ID
  27899. in: query
  27900. name: userid
  27901. required: true
  27902. type: string
  27903. produces:
  27904. - application/json
  27905. responses:
  27906. "200":
  27907. description: OK
  27908. schema:
  27909. items:
  27910. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  27911. type: array
  27912. "500":
  27913. description: Internal Server Error
  27914. schema:
  27915. $ref: '#/definitions/app.Response'
  27916. security:
  27917. - ApiKeyAuth: []
  27918. summary: 查询执行中项目查询信息
  27919. tags:
  27920. - 企业风险管理v8
  27921. /Ermcp8/QueryInternalEnableTradeDetail:
  27922. get:
  27923. parameters:
  27924. - description: 企业ID
  27925. in: query
  27926. name: areauserid
  27927. required: true
  27928. type: integer
  27929. - description: 期货合约ID
  27930. in: query
  27931. name: goodsid
  27932. required: true
  27933. type: integer
  27934. - description: 交易用户ID
  27935. in: query
  27936. name: tradeuserid
  27937. required: true
  27938. type: integer
  27939. produces:
  27940. - application/json
  27941. responses:
  27942. "200":
  27943. description: OK
  27944. schema:
  27945. items:
  27946. $ref: '#/definitions/models.InternalEnableTradeDetail'
  27947. type: array
  27948. "500":
  27949. description: Internal Server Error
  27950. schema:
  27951. $ref: '#/definitions/app.Response'
  27952. security:
  27953. - ApiKeyAuth: []
  27954. summary: 内部成交单可关联项目查询
  27955. tags:
  27956. - 企业风险管理v8
  27957. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  27958. get:
  27959. parameters:
  27960. - description: 用户编号
  27961. in: query
  27962. name: userid
  27963. required: true
  27964. type: integer
  27965. - description: 起始日期(格式yyyymmdd)
  27966. in: query
  27967. name: begindate
  27968. type: string
  27969. - description: 终止日期(格式yyyymmdd)
  27970. in: query
  27971. name: enddate
  27972. type: string
  27973. - description: 合约代码
  27974. in: query
  27975. name: goodscode
  27976. type: string
  27977. - description: 合约名称
  27978. in: query
  27979. name: goodsname
  27980. type: string
  27981. - description: 成交单号
  27982. in: query
  27983. name: tradeid
  27984. type: integer
  27985. - description: 方向 - 0:买 1:卖
  27986. in: query
  27987. name: buyorsell
  27988. type: integer
  27989. - description: 套期主体
  27990. in: query
  27991. name: accountname
  27992. type: string
  27993. produces:
  27994. - application/json
  27995. responses:
  27996. "200":
  27997. description: OK
  27998. schema:
  27999. items:
  28000. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  28001. type: array
  28002. "500":
  28003. description: Internal Server Error
  28004. schema:
  28005. $ref: '#/definitions/app.Response'
  28006. security:
  28007. - ApiKeyAuth: []
  28008. summary: 内部未关联成交单查询
  28009. tags:
  28010. - 企业风险管理v8
  28011. /Ermcp8/QueryMarketCalendar:
  28012. get:
  28013. parameters:
  28014. - description: 市场ID
  28015. in: query
  28016. name: marketid
  28017. type: integer
  28018. produces:
  28019. - application/json
  28020. responses:
  28021. "200":
  28022. description: OK
  28023. schema:
  28024. items:
  28025. $ref: '#/definitions/models.Marketcalendar'
  28026. type: array
  28027. "500":
  28028. description: Internal Server Error
  28029. schema:
  28030. $ref: '#/definitions/app.Response'
  28031. security:
  28032. - ApiKeyAuth: []
  28033. summary: 市场节假日查询
  28034. tags:
  28035. - 企业风险管理v8
  28036. /Ermcp8/QueryPatradeLinkDetail:
  28037. get:
  28038. parameters:
  28039. - description: 用户ID
  28040. in: query
  28041. name: userid
  28042. required: true
  28043. type: integer
  28044. - description: 套保品种ID
  28045. in: query
  28046. name: middlegoodsid
  28047. required: true
  28048. type: integer
  28049. produces:
  28050. - application/json
  28051. responses:
  28052. "200":
  28053. description: OK
  28054. schema:
  28055. items:
  28056. $ref: '#/definitions/models.Patradelinkdetail'
  28057. type: array
  28058. "500":
  28059. description: Internal Server Error
  28060. schema:
  28061. $ref: '#/definitions/app.Response'
  28062. security:
  28063. - ApiKeyAuth: []
  28064. summary: 敞口明细 - 期货变动明细
  28065. tags:
  28066. - 企业风险管理v8
  28067. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  28068. get:
  28069. parameters:
  28070. - description: 企业ID
  28071. in: query
  28072. name: areauserid
  28073. required: true
  28074. type: integer
  28075. - description: 计划类型 - 1:采购 -1:销售
  28076. in: query
  28077. name: contracttype
  28078. type: integer
  28079. - description: 计划编号,模糊查询
  28080. in: query
  28081. name: hedgeplanno
  28082. type: string
  28083. - description: 现货商品,模糊查询
  28084. in: query
  28085. name: wrstandardname
  28086. type: string
  28087. produces:
  28088. - application/json
  28089. responses:
  28090. "200":
  28091. description: OK
  28092. schema:
  28093. items:
  28094. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  28095. type: array
  28096. "500":
  28097. description: Internal Server Error
  28098. schema:
  28099. $ref: '#/definitions/app.Response'
  28100. security:
  28101. - ApiKeyAuth: []
  28102. summary: 未关联购销计划
  28103. tags:
  28104. - 企业风险管理v8
  28105. /Ermcp8/QueryUnLinkSpotContract:
  28106. get:
  28107. parameters:
  28108. - description: 用户ID
  28109. in: query
  28110. name: userid
  28111. required: true
  28112. type: integer
  28113. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  28114. in: query
  28115. name: pricetype
  28116. type: integer
  28117. - description: 合同编号, 模拟查询
  28118. in: query
  28119. name: contractno
  28120. type: string
  28121. - description: 对手方, 模拟查询
  28122. in: query
  28123. name: customername
  28124. type: string
  28125. - description: 项合同类型 - 1:采购 -1:销售
  28126. in: query
  28127. name: contracttype
  28128. type: integer
  28129. produces:
  28130. - application/json
  28131. responses:
  28132. "200":
  28133. description: OK
  28134. schema:
  28135. items:
  28136. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  28137. type: array
  28138. "500":
  28139. description: Internal Server Error
  28140. schema:
  28141. $ref: '#/definitions/app.Response'
  28142. security:
  28143. - ApiKeyAuth: []
  28144. summary: 未关联合同查询
  28145. tags:
  28146. - 企业风险管理v8
  28147. /Erms2/QueryArbitrageStrategy:
  28148. get:
  28149. parameters:
  28150. - description: 账户ID
  28151. in: query
  28152. name: userid
  28153. required: true
  28154. type: integer
  28155. - description: 商品组ID(品种ID)
  28156. in: query
  28157. name: goodsgroupid
  28158. type: string
  28159. produces:
  28160. - application/json
  28161. responses:
  28162. "200":
  28163. description: OK
  28164. schema:
  28165. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  28166. "500":
  28167. description: Internal Server Error
  28168. schema:
  28169. $ref: '#/definitions/app.Response'
  28170. security:
  28171. - ApiKeyAuth: []
  28172. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  28173. tags:
  28174. - 风险管理
  28175. /Erms2/QueryInnerTradeDetail:
  28176. get:
  28177. parameters:
  28178. - description: 资金账户
  28179. in: query
  28180. name: accountid
  28181. required: true
  28182. type: integer
  28183. produces:
  28184. - application/json
  28185. responses:
  28186. "200":
  28187. description: OK
  28188. schema:
  28189. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  28190. "500":
  28191. description: Internal Server Error
  28192. schema:
  28193. $ref: '#/definitions/app.Response'
  28194. security:
  28195. - ApiKeyAuth: []
  28196. summary: 查询内部成交单信息
  28197. tags:
  28198. - 风险管理
  28199. /Erms2/QuerySpotContract:
  28200. get:
  28201. parameters:
  28202. - description: 策略申请ID
  28203. in: query
  28204. name: asapplyid
  28205. required: true
  28206. type: integer
  28207. - description: 现货合同ID
  28208. in: query
  28209. name: spotcontractid
  28210. type: integer
  28211. produces:
  28212. - application/json
  28213. responses:
  28214. "200":
  28215. description: OK
  28216. schema:
  28217. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  28218. "500":
  28219. description: Internal Server Error
  28220. schema:
  28221. $ref: '#/definitions/app.Response'
  28222. security:
  28223. - ApiKeyAuth: []
  28224. summary: 查询现货合同表信息(指定策略ID、未结束的)
  28225. tags:
  28226. - 风险管理
  28227. /Erms3/AddErms2ASApply:
  28228. post:
  28229. parameters:
  28230. - description: 申请参数
  28231. in: body
  28232. name: jsonBody
  28233. required: true
  28234. schema:
  28235. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  28236. produces:
  28237. - application/json
  28238. responses:
  28239. "200":
  28240. description: OK
  28241. schema:
  28242. $ref: '#/definitions/app.Response'
  28243. "500":
  28244. description: Internal Server Error
  28245. schema:
  28246. $ref: '#/definitions/app.Response'
  28247. security:
  28248. - ApiKeyAuth: []
  28249. summary: 新增期现套利业务申请
  28250. tags:
  28251. - 风险管理v3
  28252. /Erms3/AddErms2SpotTradeApply:
  28253. post:
  28254. parameters:
  28255. - description: 申请参数
  28256. in: body
  28257. name: jsonBody
  28258. required: true
  28259. schema:
  28260. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  28261. produces:
  28262. - application/json
  28263. responses:
  28264. "200":
  28265. description: OK
  28266. schema:
  28267. $ref: '#/definitions/app.Response'
  28268. "500":
  28269. description: Internal Server Error
  28270. schema:
  28271. $ref: '#/definitions/app.Response'
  28272. security:
  28273. - ApiKeyAuth: []
  28274. summary: 新增现货贸易业务申请
  28275. tags:
  28276. - 风险管理v3
  28277. /Erms3/AddSpotContractApply:
  28278. post:
  28279. parameters:
  28280. - description: 申请参数
  28281. in: body
  28282. name: jsonBody
  28283. required: true
  28284. schema:
  28285. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  28286. produces:
  28287. - application/json
  28288. responses:
  28289. "200":
  28290. description: OK
  28291. schema:
  28292. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  28293. "500":
  28294. description: Internal Server Error
  28295. schema:
  28296. $ref: '#/definitions/app.Response'
  28297. security:
  28298. - ApiKeyAuth: []
  28299. summary: 新增现货合同申请
  28300. tags:
  28301. - 风险管理v3
  28302. /Erms3/AddUserInfoApply:
  28303. post:
  28304. parameters:
  28305. - description: 用户信息
  28306. in: body
  28307. name: jsonBody
  28308. required: true
  28309. schema:
  28310. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  28311. produces:
  28312. - application/json
  28313. responses:
  28314. "200":
  28315. description: OK
  28316. schema:
  28317. $ref: '#/definitions/app.Response'
  28318. "500":
  28319. description: Internal Server Error
  28320. schema:
  28321. $ref: '#/definitions/app.Response'
  28322. security:
  28323. - ApiKeyAuth: []
  28324. summary: 新增客户申请
  28325. tags:
  28326. - 风险管理v3
  28327. /Erms3/DeleteUserInfoApply:
  28328. get:
  28329. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  28330. parameters:
  28331. - description: 用户ID
  28332. in: query
  28333. name: userID
  28334. required: true
  28335. type: integer
  28336. produces:
  28337. - application/json
  28338. responses:
  28339. "200":
  28340. description: OK
  28341. schema:
  28342. $ref: '#/definitions/app.Response'
  28343. "500":
  28344. description: Internal Server Error
  28345. schema:
  28346. $ref: '#/definitions/app.Response'
  28347. security:
  28348. - ApiKeyAuth: []
  28349. summary: 删除客户申请
  28350. tags:
  28351. - 风险管理v3
  28352. /Erms3/ModifyUserInfoApply:
  28353. post:
  28354. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  28355. int, "userstate": 2 }'
  28356. parameters:
  28357. - description: 用户信息
  28358. in: body
  28359. name: jsonBody
  28360. required: true
  28361. schema:
  28362. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  28363. produces:
  28364. - application/json
  28365. responses:
  28366. "200":
  28367. description: OK
  28368. schema:
  28369. $ref: '#/definitions/app.Response'
  28370. "500":
  28371. description: Internal Server Error
  28372. schema:
  28373. $ref: '#/definitions/app.Response'
  28374. security:
  28375. - ApiKeyAuth: []
  28376. summary: 修改客户申请
  28377. tags:
  28378. - 风险管理v3
  28379. /Erms3/QueryBusinessInfo:
  28380. get:
  28381. parameters:
  28382. - description: 资金账号ID列表,用逗号分隔
  28383. in: query
  28384. name: accountids
  28385. required: true
  28386. type: string
  28387. - description: 状态,0为未结束 1为已结束
  28388. in: query
  28389. name: status
  28390. required: true
  28391. type: integer
  28392. produces:
  28393. - application/json
  28394. responses:
  28395. "200":
  28396. description: OK
  28397. schema:
  28398. items:
  28399. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  28400. type: array
  28401. "500":
  28402. description: Internal Server Error
  28403. schema:
  28404. $ref: '#/definitions/app.Response'
  28405. security:
  28406. - ApiKeyAuth: []
  28407. summary: 查询业务表单数据
  28408. tags:
  28409. - 风险管理v3
  28410. /Erms3/QueryPendingAuditContract:
  28411. get:
  28412. parameters:
  28413. - description: 资金账号ID列表,逗号隔开
  28414. in: query
  28415. name: accountids
  28416. required: true
  28417. type: string
  28418. - description: 合同类型 1-采购 -1-销售
  28419. in: query
  28420. name: contracttype
  28421. required: true
  28422. type: integer
  28423. - description: 合同模式 1-普通 2-回购
  28424. in: query
  28425. name: contractmode
  28426. required: true
  28427. type: integer
  28428. produces:
  28429. - application/json
  28430. responses:
  28431. "200":
  28432. description: OK
  28433. schema:
  28434. items:
  28435. $ref: '#/definitions/erms3.QryAuditContractRsp'
  28436. type: array
  28437. "500":
  28438. description: Internal Server Error
  28439. schema:
  28440. $ref: '#/definitions/app.Response'
  28441. security:
  28442. - ApiKeyAuth: []
  28443. summary: 查询待审核合同
  28444. tags:
  28445. - 风险管理v3
  28446. /Erms3/QueryPendingBusiness:
  28447. get:
  28448. parameters:
  28449. - description: 资金账号ID列表,逗号隔开
  28450. in: query
  28451. name: accountids
  28452. required: true
  28453. type: string
  28454. produces:
  28455. - application/json
  28456. responses:
  28457. "200":
  28458. description: OK
  28459. schema:
  28460. items:
  28461. $ref: '#/definitions/erms3.QryPendingBizRsp'
  28462. type: array
  28463. "500":
  28464. description: Internal Server Error
  28465. schema:
  28466. $ref: '#/definitions/app.Response'
  28467. security:
  28468. - ApiKeyAuth: []
  28469. summary: 查询待审核基差贸易业务
  28470. tags:
  28471. - 风险管理v3
  28472. /Erms3/QuerySpotContractAppleForm:
  28473. get:
  28474. parameters:
  28475. - description: 登录账号
  28476. in: query
  28477. name: loginID
  28478. required: true
  28479. type: integer
  28480. produces:
  28481. - application/json
  28482. responses:
  28483. "200":
  28484. description: OK
  28485. schema:
  28486. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  28487. "500":
  28488. description: Internal Server Error
  28489. schema:
  28490. $ref: '#/definitions/app.Response'
  28491. security:
  28492. - ApiKeyAuth: []
  28493. summary: 查询合同申请表单数据
  28494. tags:
  28495. - 风险管理v3
  28496. /Erms3/QuerySpotContractDetail:
  28497. get:
  28498. parameters:
  28499. - description: 资金账号ID列表,用逗号分隔
  28500. in: query
  28501. name: accountids
  28502. required: true
  28503. type: string
  28504. - description: 合同类型,1为采购合同 -1为销售合同
  28505. in: query
  28506. name: contracttype
  28507. required: true
  28508. type: integer
  28509. - description: 合同模式,1为普通合同 2为回购销售合同
  28510. in: query
  28511. name: contractmode
  28512. required: true
  28513. type: integer
  28514. - description: 状态,0为履约中 1为已完成
  28515. in: query
  28516. name: status
  28517. required: true
  28518. type: integer
  28519. produces:
  28520. - application/json
  28521. responses:
  28522. "200":
  28523. description: OK
  28524. schema:
  28525. items:
  28526. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  28527. type: array
  28528. "500":
  28529. description: Internal Server Error
  28530. schema:
  28531. $ref: '#/definitions/app.Response'
  28532. security:
  28533. - ApiKeyAuth: []
  28534. summary: 查询合同详细信息
  28535. tags:
  28536. - 风险管理v3
  28537. /Erms3/QueryUserInfoApplies:
  28538. get:
  28539. parameters:
  28540. - description: 页码
  28541. in: query
  28542. name: page
  28543. type: integer
  28544. - description: 每页条数
  28545. in: query
  28546. name: pagesize
  28547. type: integer
  28548. - description: 客户名称,支持模糊查询
  28549. in: query
  28550. name: userName
  28551. type: string
  28552. produces:
  28553. - application/json
  28554. responses:
  28555. "200":
  28556. description: OK
  28557. schema:
  28558. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  28559. "500":
  28560. description: Internal Server Error
  28561. schema:
  28562. $ref: '#/definitions/app.Response'
  28563. security:
  28564. - ApiKeyAuth: []
  28565. summary: 客户申请信息查询
  28566. tags:
  28567. - 风险管理v3
  28568. /Erms3/QueryUserInfos:
  28569. get:
  28570. parameters:
  28571. - description: 页码
  28572. in: query
  28573. name: page
  28574. type: integer
  28575. - description: 每页条数
  28576. in: query
  28577. name: pagesize
  28578. type: integer
  28579. - description: 客户名称,支持模糊查询
  28580. in: query
  28581. name: userName
  28582. type: string
  28583. produces:
  28584. - application/json
  28585. responses:
  28586. "200":
  28587. description: OK
  28588. schema:
  28589. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  28590. "500":
  28591. description: Internal Server Error
  28592. schema:
  28593. $ref: '#/definitions/app.Response'
  28594. security:
  28595. - ApiKeyAuth: []
  28596. summary: 客户信息查询
  28597. tags:
  28598. - 风险管理v3
  28599. /Ferroalloy/GetSpotGoodsPrice:
  28600. get:
  28601. parameters:
  28602. - description: 页码
  28603. in: query
  28604. name: page
  28605. type: integer
  28606. - description: 每页条数
  28607. in: query
  28608. name: pagesize
  28609. type: integer
  28610. produces:
  28611. - application/json
  28612. responses:
  28613. "200":
  28614. description: OK
  28615. schema:
  28616. items:
  28617. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  28618. type: array
  28619. "500":
  28620. description: Internal Server Error
  28621. schema:
  28622. $ref: '#/definitions/app.Response'
  28623. security:
  28624. - ApiKeyAuth: []
  28625. summary: 获取现货行情
  28626. tags:
  28627. - 铁合金
  28628. /Ferroalloy/QueryMyRefer:
  28629. get:
  28630. parameters:
  28631. - description: 用户ID
  28632. in: query
  28633. name: userid
  28634. required: true
  28635. type: integer
  28636. - description: 页码
  28637. in: query
  28638. name: page
  28639. type: integer
  28640. - description: 每页条数
  28641. in: query
  28642. name: pagesize
  28643. type: integer
  28644. produces:
  28645. - application/json
  28646. responses:
  28647. "200":
  28648. description: OK
  28649. schema:
  28650. items:
  28651. $ref: '#/definitions/models.MyRefer'
  28652. type: array
  28653. "500":
  28654. description: Internal Server Error
  28655. schema:
  28656. $ref: '#/definitions/app.Response'
  28657. security:
  28658. - ApiKeyAuth: []
  28659. summary: 查询我的推荐列表
  28660. tags:
  28661. - 铁合金
  28662. /Ferroalloy/QueryMyRegisterMoney:
  28663. get:
  28664. parameters:
  28665. - description: 资金账户
  28666. in: query
  28667. name: accountid
  28668. required: true
  28669. type: integer
  28670. produces:
  28671. - application/json
  28672. responses:
  28673. "200":
  28674. description: OK
  28675. schema:
  28676. items:
  28677. $ref: '#/definitions/models.RegisterMoney'
  28678. type: array
  28679. "500":
  28680. description: Internal Server Error
  28681. schema:
  28682. $ref: '#/definitions/app.Response'
  28683. summary: 查询我的注册红包
  28684. tags:
  28685. - 铁合金
  28686. /Ferroalloy/QueryTHJGoodsDetail:
  28687. get:
  28688. parameters:
  28689. - description: 现货商品ID
  28690. in: query
  28691. name: wrstandardid
  28692. required: true
  28693. type: integer
  28694. produces:
  28695. - application/json
  28696. responses:
  28697. "200":
  28698. description: OK
  28699. schema:
  28700. items:
  28701. $ref: '#/definitions/models.THJGoodsDetailRsp'
  28702. type: array
  28703. "500":
  28704. description: Internal Server Error
  28705. schema:
  28706. $ref: '#/definitions/app.Response'
  28707. security:
  28708. - ApiKeyAuth: []
  28709. summary: 查询商品详情
  28710. tags:
  28711. - 铁合金
  28712. /Ferroalloy/QueryTHJProduct:
  28713. get:
  28714. parameters:
  28715. - description: 用户ID
  28716. in: query
  28717. name: userid
  28718. required: true
  28719. type: integer
  28720. - description: 关注标志 true-已关注 false-未关注
  28721. in: query
  28722. name: favoriteflag
  28723. type: boolean
  28724. - description: 页码
  28725. in: query
  28726. name: page
  28727. type: integer
  28728. - description: 每页条数
  28729. in: query
  28730. name: pagesize
  28731. type: integer
  28732. produces:
  28733. - application/json
  28734. responses:
  28735. "200":
  28736. description: OK
  28737. schema:
  28738. items:
  28739. $ref: '#/definitions/models.THJProduct'
  28740. type: array
  28741. "500":
  28742. description: Internal Server Error
  28743. schema:
  28744. $ref: '#/definitions/app.Response'
  28745. security:
  28746. - ApiKeyAuth: []
  28747. summary: 获取产品介绍列表
  28748. tags:
  28749. - 铁合金
  28750. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  28751. get:
  28752. parameters:
  28753. - description: 用户ID
  28754. in: query
  28755. name: userid
  28756. required: true
  28757. type: integer
  28758. - description: 类型 - 0:未完成 1:已完成
  28759. in: query
  28760. name: type
  28761. type: integer
  28762. - description: 页码
  28763. in: query
  28764. name: page
  28765. type: integer
  28766. - description: 每页条数
  28767. in: query
  28768. name: pagesize
  28769. type: integer
  28770. produces:
  28771. - application/json
  28772. responses:
  28773. "200":
  28774. description: OK
  28775. schema:
  28776. items:
  28777. $ref: '#/definitions/models.Thjpurchasetradedetail'
  28778. type: array
  28779. "500":
  28780. description: Internal Server Error
  28781. schema:
  28782. $ref: '#/definitions/app.Response'
  28783. security:
  28784. - ApiKeyAuth: []
  28785. summary: 查询我的订单-采购订单
  28786. tags:
  28787. - 铁合金
  28788. /Ferroalloy/QueryTHJScoreConfig:
  28789. get:
  28790. parameters:
  28791. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  28792. 6:自己供求下单积分 7:抽奖配置'
  28793. in: query
  28794. name: stype
  28795. type: string
  28796. produces:
  28797. - application/json
  28798. responses:
  28799. "200":
  28800. description: OK
  28801. schema:
  28802. items:
  28803. $ref: '#/definitions/models.Thjscoreconfig'
  28804. type: array
  28805. "500":
  28806. description: Internal Server Error
  28807. schema:
  28808. $ref: '#/definitions/app.Response'
  28809. security:
  28810. - ApiKeyAuth: []
  28811. summary: 查询积分配置
  28812. tags:
  28813. - 铁合金
  28814. /Ferroalloy/QueryTHJTradeData:
  28815. get:
  28816. parameters:
  28817. - description: 用户ID
  28818. in: query
  28819. name: userid
  28820. required: true
  28821. type: integer
  28822. - description: 市场ID 采购-64201 供求-65201
  28823. in: query
  28824. name: marketid
  28825. required: true
  28826. type: integer
  28827. - description: 页码
  28828. in: query
  28829. name: page
  28830. type: integer
  28831. - description: 每页条数
  28832. in: query
  28833. name: pagesize
  28834. type: integer
  28835. produces:
  28836. - application/json
  28837. responses:
  28838. "200":
  28839. description: OK
  28840. schema:
  28841. items:
  28842. $ref: '#/definitions/models.THJTradeData'
  28843. type: array
  28844. "500":
  28845. description: Internal Server Error
  28846. schema:
  28847. $ref: '#/definitions/app.Response'
  28848. security:
  28849. - ApiKeyAuth: []
  28850. summary: 获取我的推广-交易数据
  28851. tags:
  28852. - 铁合金
  28853. /Ferroalloy/QueryTHJWrstandard:
  28854. get:
  28855. parameters:
  28856. - description: 现货商品名称(模糊查询)
  28857. in: query
  28858. name: wrstandardname
  28859. type: string
  28860. - description: 页码
  28861. in: query
  28862. name: page
  28863. type: integer
  28864. - description: 每页条数
  28865. in: query
  28866. name: pagesize
  28867. type: integer
  28868. produces:
  28869. - application/json
  28870. responses:
  28871. "200":
  28872. description: OK
  28873. schema:
  28874. items:
  28875. $ref: '#/definitions/models.THJWrstandard'
  28876. type: array
  28877. "500":
  28878. description: Internal Server Error
  28879. schema:
  28880. $ref: '#/definitions/app.Response'
  28881. security:
  28882. - ApiKeyAuth: []
  28883. summary: 查询采购列表
  28884. tags:
  28885. - 铁合金
  28886. /Ferroalloy/QueryTHJWrstandardDetail:
  28887. get:
  28888. parameters:
  28889. - description: 现货商品ID
  28890. in: query
  28891. name: wrstandardid
  28892. required: true
  28893. type: integer
  28894. produces:
  28895. - application/json
  28896. responses:
  28897. "200":
  28898. description: OK
  28899. schema:
  28900. items:
  28901. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  28902. type: array
  28903. "500":
  28904. description: Internal Server Error
  28905. schema:
  28906. $ref: '#/definitions/app.Response'
  28907. security:
  28908. - ApiKeyAuth: []
  28909. summary: 查询采购详情
  28910. tags:
  28911. - 铁合金
  28912. /Ferroalloy/QueryUserScoreLog:
  28913. get:
  28914. parameters:
  28915. - description: 用户ID
  28916. in: query
  28917. name: userid
  28918. required: true
  28919. type: integer
  28920. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  28921. 6:自己供求下单积分 7:抽奖配置'
  28922. in: query
  28923. name: stype
  28924. type: string
  28925. - description: 页码
  28926. in: query
  28927. name: page
  28928. type: integer
  28929. - description: 每页条数
  28930. in: query
  28931. name: pagesize
  28932. type: integer
  28933. produces:
  28934. - application/json
  28935. responses:
  28936. "200":
  28937. description: OK
  28938. schema:
  28939. items:
  28940. $ref: '#/definitions/models.GThjuserscorelog'
  28941. type: array
  28942. "500":
  28943. description: Internal Server Error
  28944. schema:
  28945. $ref: '#/definitions/app.Response'
  28946. security:
  28947. - ApiKeyAuth: []
  28948. summary: 查询我的积分流水
  28949. tags:
  28950. - 铁合金
  28951. /Ferroalloy/Signin:
  28952. post:
  28953. parameters:
  28954. - description: 用户签到请求
  28955. in: body
  28956. name: jsonBody
  28957. required: true
  28958. schema:
  28959. $ref: '#/definitions/models.THJSigninReq'
  28960. produces:
  28961. - application/json
  28962. responses:
  28963. "200":
  28964. description: OK
  28965. schema:
  28966. $ref: '#/definitions/models.THJSigninRsp'
  28967. "500":
  28968. description: Internal Server Error
  28969. schema:
  28970. $ref: '#/definitions/app.Response'
  28971. security:
  28972. - ApiKeyAuth: []
  28973. summary: 用户签到
  28974. tags:
  28975. - 铁合金
  28976. /Guangzuan/GZBSFWOrderOperate:
  28977. get:
  28978. parameters:
  28979. - description: 单据ID
  28980. in: query
  28981. name: orderid
  28982. required: true
  28983. type: integer
  28984. produces:
  28985. - application/json
  28986. responses:
  28987. "200":
  28988. description: OK
  28989. schema:
  28990. items:
  28991. $ref: '#/definitions/models.Gzbsfworderoperate'
  28992. type: array
  28993. "500":
  28994. description: Internal Server Error
  28995. schema:
  28996. $ref: '#/definitions/app.Response'
  28997. security:
  28998. - ApiKeyAuth: []
  28999. - LoginID: []
  29000. - Group: []
  29001. summary: 保税服务单据操作信息
  29002. tags:
  29003. - 广钻
  29004. /Guangzuan/GetGoods:
  29005. get:
  29006. parameters:
  29007. - description: 商品编号
  29008. in: query
  29009. name: goodsno
  29010. required: true
  29011. type: string
  29012. produces:
  29013. - application/json
  29014. responses:
  29015. "200":
  29016. description: OK
  29017. schema:
  29018. $ref: '#/definitions/models.GZGoods'
  29019. "500":
  29020. description: Internal Server Error
  29021. schema:
  29022. $ref: '#/definitions/app.Response'
  29023. security:
  29024. - ApiKeyAuth: []
  29025. - LoginID: []
  29026. - Group: []
  29027. summary: 获取钻石详情
  29028. tags:
  29029. - 广钻
  29030. /Guangzuan/GzCertAddressConfig:
  29031. get:
  29032. produces:
  29033. - application/json
  29034. responses:
  29035. "200":
  29036. description: OK
  29037. schema:
  29038. items:
  29039. $ref: '#/definitions/models.Gzcertaddressconfig'
  29040. type: array
  29041. "500":
  29042. description: Internal Server Error
  29043. schema:
  29044. $ref: '#/definitions/app.Response'
  29045. security:
  29046. - ApiKeyAuth: []
  29047. - LoginID: []
  29048. - Group: []
  29049. summary: Rapaport最新报价表(广钻)
  29050. tags:
  29051. - 广钻
  29052. /Guangzuan/GzCertAddressParam:
  29053. get:
  29054. produces:
  29055. - application/json
  29056. responses:
  29057. "200":
  29058. description: OK
  29059. schema:
  29060. items:
  29061. $ref: '#/definitions/models.Gzcertaddressparam'
  29062. type: array
  29063. "500":
  29064. description: Internal Server Error
  29065. schema:
  29066. $ref: '#/definitions/app.Response'
  29067. security:
  29068. - ApiKeyAuth: []
  29069. - LoginID: []
  29070. - Group: []
  29071. summary: 钻石证书地址参数
  29072. tags:
  29073. - 广钻
  29074. /Guangzuan/HomeData:
  29075. get:
  29076. parameters:
  29077. - description: 用户ID
  29078. in: query
  29079. name: userid
  29080. required: true
  29081. type: integer
  29082. produces:
  29083. - application/json
  29084. responses:
  29085. "200":
  29086. description: OK
  29087. schema:
  29088. $ref: '#/definitions/models.GZHomeData'
  29089. "500":
  29090. description: Internal Server Error
  29091. schema:
  29092. $ref: '#/definitions/app.Response'
  29093. security:
  29094. - ApiKeyAuth: []
  29095. - LoginID: []
  29096. - Group: []
  29097. summary: 首页统计数据
  29098. tags:
  29099. - 广钻
  29100. /Guangzuan/PriceCalc:
  29101. get:
  29102. parameters:
  29103. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  29104. in: query
  29105. name: zsshape
  29106. required: true
  29107. type: integer
  29108. - description: 颜色(D-M)
  29109. in: query
  29110. name: zscolor
  29111. required: true
  29112. type: string
  29113. - description: 净度
  29114. in: query
  29115. name: zsclarity
  29116. required: true
  29117. type: string
  29118. - description: 重量
  29119. in: query
  29120. name: weight
  29121. required: true
  29122. type: number
  29123. - description: 汇率
  29124. in: query
  29125. name: rate
  29126. required: true
  29127. type: number
  29128. - description: 折扣(%), 方向(加:10, 减:-10 )
  29129. in: query
  29130. name: discount
  29131. type: number
  29132. produces:
  29133. - application/json
  29134. responses:
  29135. "200":
  29136. description: OK
  29137. schema:
  29138. items:
  29139. $ref: '#/definitions/models.Gzrapaportprice'
  29140. type: array
  29141. "500":
  29142. description: Internal Server Error
  29143. schema:
  29144. $ref: '#/definitions/app.Response'
  29145. security:
  29146. - ApiKeyAuth: []
  29147. - LoginID: []
  29148. - Group: []
  29149. summary: 钻石价格计算器
  29150. tags:
  29151. - 广钻
  29152. /Guangzuan/QueryBuyOrder:
  29153. get:
  29154. parameters:
  29155. - description: 页码
  29156. in: query
  29157. name: page
  29158. type: integer
  29159. - description: 每页条数
  29160. in: query
  29161. name: pagesize
  29162. type: integer
  29163. - description: 商品(查询字段-模糊查询)
  29164. in: query
  29165. name: zsallproperties
  29166. type: string
  29167. - description: 钻石分类, 格式:1,2,3
  29168. in: query
  29169. name: zscategorys
  29170. type: string
  29171. - description: 委托单号
  29172. in: query
  29173. name: wrtradeorderid
  29174. type: integer
  29175. - description: 买方(查询字段-模糊查询)
  29176. in: query
  29177. name: buyusername
  29178. type: string
  29179. produces:
  29180. - application/json
  29181. responses:
  29182. "200":
  29183. description: OK
  29184. schema:
  29185. items:
  29186. $ref: '#/definitions/models.BuyOrder'
  29187. type: array
  29188. "500":
  29189. description: Internal Server Error
  29190. schema:
  29191. $ref: '#/definitions/app.Response'
  29192. security:
  29193. - ApiKeyAuth: []
  29194. - LoginID: []
  29195. - Group: []
  29196. summary: 查询求购大厅委托单
  29197. tags:
  29198. - 广钻
  29199. /Guangzuan/QueryDiamond:
  29200. post:
  29201. parameters:
  29202. - description: 钻石搜索入参
  29203. in: body
  29204. name: data
  29205. required: true
  29206. schema:
  29207. $ref: '#/definitions/models.SellOrderQueryReq'
  29208. produces:
  29209. - application/json
  29210. responses:
  29211. "200":
  29212. description: OK
  29213. schema:
  29214. items:
  29215. $ref: '#/definitions/models.SellOrder'
  29216. type: array
  29217. "500":
  29218. description: Internal Server Error
  29219. schema:
  29220. $ref: '#/definitions/app.Response'
  29221. security:
  29222. - ApiKeyAuth: []
  29223. - LoginID: []
  29224. - Group: []
  29225. summary: 钻石搜索
  29226. tags:
  29227. - 广钻
  29228. /Guangzuan/QueryGZBSFWOrder:
  29229. get:
  29230. parameters:
  29231. - description: 用户ID
  29232. in: query
  29233. name: userid
  29234. required: true
  29235. type: integer
  29236. - description: 页码
  29237. in: query
  29238. name: page
  29239. type: integer
  29240. - description: 每页条数
  29241. in: query
  29242. name: pagesize
  29243. type: integer
  29244. produces:
  29245. - application/json
  29246. responses:
  29247. "200":
  29248. description: OK
  29249. schema:
  29250. items:
  29251. $ref: '#/definitions/models.GzbsfworderM'
  29252. type: array
  29253. "500":
  29254. description: Internal Server Error
  29255. schema:
  29256. $ref: '#/definitions/app.Response'
  29257. security:
  29258. - ApiKeyAuth: []
  29259. - LoginID: []
  29260. - Group: []
  29261. summary: 查询保税服务单据
  29262. tags:
  29263. - 广钻
  29264. /Guangzuan/QueryGZBSFWOrderDetail:
  29265. get:
  29266. parameters:
  29267. - description: 用户ID
  29268. in: query
  29269. name: userid
  29270. required: true
  29271. type: integer
  29272. - description: 单据ID
  29273. in: query
  29274. name: orderid
  29275. type: integer
  29276. - description: 页码
  29277. in: query
  29278. name: page
  29279. type: integer
  29280. - description: 每页条数
  29281. in: query
  29282. name: pagesize
  29283. type: integer
  29284. produces:
  29285. - application/json
  29286. responses:
  29287. "200":
  29288. description: OK
  29289. schema:
  29290. items:
  29291. $ref: '#/definitions/models.GzbsfworderdetailM'
  29292. type: array
  29293. "500":
  29294. description: Internal Server Error
  29295. schema:
  29296. $ref: '#/definitions/app.Response'
  29297. security:
  29298. - ApiKeyAuth: []
  29299. - LoginID: []
  29300. - Group: []
  29301. summary: 查询保税服务单据明细
  29302. tags:
  29303. - 广钻
  29304. /Guangzuan/QueryGZCJBSOrderFile:
  29305. get:
  29306. parameters:
  29307. - description: 单据ID
  29308. in: query
  29309. name: orderid
  29310. required: true
  29311. type: integer
  29312. - description: 页码
  29313. in: query
  29314. name: page
  29315. type: integer
  29316. - description: 每页条数
  29317. in: query
  29318. name: pagesize
  29319. type: integer
  29320. produces:
  29321. - application/json
  29322. responses:
  29323. "200":
  29324. description: OK
  29325. schema:
  29326. items:
  29327. $ref: '#/definitions/models.GzcjbsorderfileM'
  29328. type: array
  29329. "500":
  29330. description: Internal Server Error
  29331. schema:
  29332. $ref: '#/definitions/app.Response'
  29333. security:
  29334. - ApiKeyAuth: []
  29335. - LoginID: []
  29336. - Group: []
  29337. summary: 出境保税单据文件
  29338. tags:
  29339. - 广钻
  29340. /Guangzuan/QueryGZCJJCOrder:
  29341. get:
  29342. parameters:
  29343. - description: 用户ID
  29344. in: query
  29345. name: userid
  29346. required: true
  29347. type: integer
  29348. - description: 页码
  29349. in: query
  29350. name: page
  29351. type: integer
  29352. - description: 每页条数
  29353. in: query
  29354. name: pagesize
  29355. type: integer
  29356. produces:
  29357. - application/json
  29358. responses:
  29359. "200":
  29360. description: OK
  29361. schema:
  29362. items:
  29363. $ref: '#/definitions/models.GzcjjcorderM'
  29364. type: array
  29365. "500":
  29366. description: Internal Server Error
  29367. schema:
  29368. $ref: '#/definitions/app.Response'
  29369. security:
  29370. - ApiKeyAuth: []
  29371. - LoginID: []
  29372. - Group: []
  29373. summary: 查询出境检测单据
  29374. tags:
  29375. - 广钻
  29376. /Guangzuan/QueryGZCJJCOrderDetail:
  29377. get:
  29378. parameters:
  29379. - description: 用户ID
  29380. in: query
  29381. name: userid
  29382. required: true
  29383. type: integer
  29384. - description: 单据ID
  29385. in: query
  29386. name: orderid
  29387. type: integer
  29388. - description: 页码
  29389. in: query
  29390. name: page
  29391. type: integer
  29392. - description: 每页条数
  29393. in: query
  29394. name: pagesize
  29395. type: integer
  29396. produces:
  29397. - application/json
  29398. responses:
  29399. "200":
  29400. description: OK
  29401. schema:
  29402. items:
  29403. $ref: '#/definitions/models.GzcjjcorderdetailM'
  29404. type: array
  29405. "500":
  29406. description: Internal Server Error
  29407. schema:
  29408. $ref: '#/definitions/app.Response'
  29409. security:
  29410. - ApiKeyAuth: []
  29411. - LoginID: []
  29412. - Group: []
  29413. summary: 查询出境检测单据明细(批次信息)
  29414. tags:
  29415. - 广钻
  29416. /Guangzuan/QueryMemberReport:
  29417. get:
  29418. parameters:
  29419. - description: 用户ID
  29420. in: query
  29421. name: userid
  29422. required: true
  29423. type: integer
  29424. - description: 页码
  29425. in: query
  29426. name: page
  29427. type: integer
  29428. - description: 每页条数
  29429. in: query
  29430. name: pagesize
  29431. type: integer
  29432. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29433. in: query
  29434. name: cycletype
  29435. type: string
  29436. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29437. in: query
  29438. name: begindate
  29439. required: true
  29440. type: string
  29441. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29442. in: query
  29443. name: enddate
  29444. required: true
  29445. type: string
  29446. produces:
  29447. - application/json
  29448. responses:
  29449. "200":
  29450. description: OK
  29451. schema:
  29452. items:
  29453. $ref: '#/definitions/models.Reckondaytaaccount'
  29454. type: array
  29455. "500":
  29456. description: Internal Server Error
  29457. schema:
  29458. $ref: '#/definitions/app.Response'
  29459. security:
  29460. - ApiKeyAuth: []
  29461. - LoginID: []
  29462. - Group: []
  29463. summary: 查询会员报表
  29464. tags:
  29465. - 广钻
  29466. /Guangzuan/QueryMyBargainApply:
  29467. get:
  29468. parameters:
  29469. - description: 用户ID
  29470. in: query
  29471. name: userid
  29472. required: true
  29473. type: integer
  29474. - description: 页码
  29475. in: query
  29476. name: page
  29477. type: integer
  29478. - description: 每页条数
  29479. in: query
  29480. name: pagesize
  29481. type: integer
  29482. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  29483. in: query
  29484. name: applystatus
  29485. type: integer
  29486. - description: 查询类型 - 0:我的询价 1:我订单的询价
  29487. in: query
  29488. name: type
  29489. type: integer
  29490. - description: 关联委托单ID
  29491. in: query
  29492. name: wrtradeorderid
  29493. type: string
  29494. produces:
  29495. - application/json
  29496. responses:
  29497. "200":
  29498. description: OK
  29499. schema:
  29500. items:
  29501. $ref: '#/definitions/models.MyBargainApply'
  29502. type: array
  29503. "500":
  29504. description: Internal Server Error
  29505. schema:
  29506. $ref: '#/definitions/app.Response'
  29507. security:
  29508. - ApiKeyAuth: []
  29509. - LoginID: []
  29510. - Group: []
  29511. summary: 查询询价-求购
  29512. tags:
  29513. - 广钻
  29514. /Guangzuan/QueryMyBuyOrder:
  29515. get:
  29516. parameters:
  29517. - description: 用户ID
  29518. in: query
  29519. name: userid
  29520. required: true
  29521. type: integer
  29522. - description: 页码
  29523. in: query
  29524. name: page
  29525. type: integer
  29526. - description: 每页条数
  29527. in: query
  29528. name: pagesize
  29529. type: integer
  29530. - description: 商品(查询字段-模糊查询)
  29531. in: query
  29532. name: zsallproperties
  29533. type: string
  29534. - description: 钻石分类, 格式:1,2,3
  29535. in: query
  29536. name: zscategorys
  29537. type: string
  29538. - description: 委托单号
  29539. in: query
  29540. name: wrtradeorderid
  29541. type: integer
  29542. - description: 是否历史查询
  29543. in: query
  29544. name: ishis
  29545. type: boolean
  29546. - description: 开始交易日(yyyymmdd)
  29547. in: query
  29548. name: begindate
  29549. type: string
  29550. - description: 结束交易日(yyyymmdd)
  29551. in: query
  29552. name: enddate
  29553. type: string
  29554. produces:
  29555. - application/json
  29556. responses:
  29557. "200":
  29558. description: OK
  29559. schema:
  29560. items:
  29561. $ref: '#/definitions/models.MyBuyOrder'
  29562. type: array
  29563. "500":
  29564. description: Internal Server Error
  29565. schema:
  29566. $ref: '#/definitions/app.Response'
  29567. security:
  29568. - ApiKeyAuth: []
  29569. - LoginID: []
  29570. - Group: []
  29571. summary: 查询我的求购
  29572. tags:
  29573. - 广钻
  29574. /Guangzuan/QueryMyDeListing:
  29575. get:
  29576. parameters:
  29577. - description: 用户ID
  29578. in: query
  29579. name: userid
  29580. required: true
  29581. type: integer
  29582. - description: 页码
  29583. in: query
  29584. name: page
  29585. type: integer
  29586. - description: 每页条数
  29587. in: query
  29588. name: pagesize
  29589. type: integer
  29590. - description: 商品(查询字段-模糊查询)
  29591. in: query
  29592. name: zsallproperties
  29593. type: string
  29594. - description: 钻石分类, 格式:1,2,3
  29595. in: query
  29596. name: zscategorys
  29597. type: string
  29598. - description: 成交单号
  29599. in: query
  29600. name: wrtradedetailid
  29601. type: integer
  29602. - description: 方向,0-购买 1-出售
  29603. in: query
  29604. name: buyorsell
  29605. type: integer
  29606. - description: 对手方(模糊匹配)
  29607. in: query
  29608. name: matchusername
  29609. type: string
  29610. - description: 开始交易日(yyyymmdd)
  29611. in: query
  29612. name: begindate
  29613. type: string
  29614. - description: 结束交易日(yyyymmdd)
  29615. in: query
  29616. name: enddate
  29617. type: string
  29618. produces:
  29619. - application/json
  29620. responses:
  29621. "200":
  29622. description: OK
  29623. schema:
  29624. items:
  29625. $ref: '#/definitions/models.MyDeListing'
  29626. type: array
  29627. "500":
  29628. description: Internal Server Error
  29629. schema:
  29630. $ref: '#/definitions/app.Response'
  29631. security:
  29632. - ApiKeyAuth: []
  29633. - LoginID: []
  29634. - Group: []
  29635. summary: 查询我的摘牌
  29636. tags:
  29637. - 广钻
  29638. /Guangzuan/QueryMyDelistingApply:
  29639. get:
  29640. parameters:
  29641. - description: 用户ID
  29642. in: query
  29643. name: userid
  29644. required: true
  29645. type: integer
  29646. - description: 页码
  29647. in: query
  29648. name: page
  29649. type: integer
  29650. - description: 每页条数
  29651. in: query
  29652. name: pagesize
  29653. type: integer
  29654. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  29655. in: query
  29656. name: applystatus
  29657. type: integer
  29658. - description: 查询类型 - 0:我的询价 1:我订单的询价
  29659. in: query
  29660. name: type
  29661. type: integer
  29662. - description: 买委托单ID
  29663. in: query
  29664. name: buywrtradeorderid
  29665. type: string
  29666. produces:
  29667. - application/json
  29668. responses:
  29669. "200":
  29670. description: OK
  29671. schema:
  29672. items:
  29673. $ref: '#/definitions/models.MyDelistingApply'
  29674. type: array
  29675. "500":
  29676. description: Internal Server Error
  29677. schema:
  29678. $ref: '#/definitions/app.Response'
  29679. security:
  29680. - ApiKeyAuth: []
  29681. - LoginID: []
  29682. - Group: []
  29683. summary: 查询询价-出售
  29684. tags:
  29685. - 广钻
  29686. /Guangzuan/QueryMyFavorite:
  29687. get:
  29688. parameters:
  29689. - description: 用户ID
  29690. in: query
  29691. name: userid
  29692. required: true
  29693. type: integer
  29694. - description: 页码
  29695. in: query
  29696. name: page
  29697. type: integer
  29698. - description: 每页条数
  29699. in: query
  29700. name: pagesize
  29701. type: integer
  29702. - description: 钻石分类, 格式:1,2,3
  29703. in: query
  29704. name: zscategorys
  29705. type: string
  29706. produces:
  29707. - application/json
  29708. responses:
  29709. "200":
  29710. description: OK
  29711. schema:
  29712. items:
  29713. $ref: '#/definitions/models.MyFavorite'
  29714. type: array
  29715. "500":
  29716. description: Internal Server Error
  29717. schema:
  29718. $ref: '#/definitions/app.Response'
  29719. security:
  29720. - ApiKeyAuth: []
  29721. - LoginID: []
  29722. - Group: []
  29723. summary: 查询我的收藏
  29724. tags:
  29725. - 广钻
  29726. /Guangzuan/QueryMyPerformanc:
  29727. get:
  29728. parameters:
  29729. - description: 用户ID
  29730. in: query
  29731. name: userid
  29732. required: true
  29733. type: integer
  29734. - description: 页码
  29735. in: query
  29736. name: page
  29737. type: integer
  29738. - description: 每页条数
  29739. in: query
  29740. name: pagesize
  29741. type: integer
  29742. - description: 商品(查询字段-模糊查询)
  29743. in: query
  29744. name: zsallproperties
  29745. type: string
  29746. - description: 方向,0-买 1-卖
  29747. in: query
  29748. name: buyorsell
  29749. type: integer
  29750. - description: 是否历史查询
  29751. in: query
  29752. name: ishis
  29753. type: boolean
  29754. - description: 开始交易日(yyyymmdd)
  29755. in: query
  29756. name: begindate
  29757. type: string
  29758. - description: 结束交易日(yyyymmdd)
  29759. in: query
  29760. name: enddate
  29761. type: string
  29762. produces:
  29763. - application/json
  29764. responses:
  29765. "200":
  29766. description: OK
  29767. schema:
  29768. items:
  29769. $ref: '#/definitions/models.MyPerformanc'
  29770. type: array
  29771. "500":
  29772. description: Internal Server Error
  29773. schema:
  29774. $ref: '#/definitions/app.Response'
  29775. security:
  29776. - ApiKeyAuth: []
  29777. - LoginID: []
  29778. - Group: []
  29779. summary: 查询我的履约
  29780. tags:
  29781. - 广钻
  29782. /Guangzuan/QueryMySellOrder:
  29783. get:
  29784. parameters:
  29785. - description: 用户ID
  29786. in: query
  29787. name: userid
  29788. required: true
  29789. type: integer
  29790. - description: 页码
  29791. in: query
  29792. name: page
  29793. type: integer
  29794. - description: 每页条数
  29795. in: query
  29796. name: pagesize
  29797. type: integer
  29798. - description: 商品(查询字段-模糊查询)
  29799. in: query
  29800. name: zsallproperties
  29801. type: string
  29802. - description: 钻石分类, 格式:1,2,3
  29803. in: query
  29804. name: zscategorys
  29805. type: string
  29806. - description: 委托单号
  29807. in: query
  29808. name: wrtradeorderid
  29809. type: integer
  29810. - description: 是否历史查询
  29811. in: query
  29812. name: ishis
  29813. type: boolean
  29814. - description: 开始交易日(yyyymmdd)
  29815. in: query
  29816. name: begindate
  29817. type: string
  29818. - description: 结束交易日(yyyymmdd)
  29819. in: query
  29820. name: enddate
  29821. type: string
  29822. produces:
  29823. - application/json
  29824. responses:
  29825. "200":
  29826. description: OK
  29827. schema:
  29828. items:
  29829. $ref: '#/definitions/models.MySellOrder'
  29830. type: array
  29831. "500":
  29832. description: Internal Server Error
  29833. schema:
  29834. $ref: '#/definitions/app.Response'
  29835. security:
  29836. - ApiKeyAuth: []
  29837. - LoginID: []
  29838. - Group: []
  29839. summary: 查询我的出售
  29840. tags:
  29841. - 广钻
  29842. /Guangzuan/QueryMyWRPosition:
  29843. get:
  29844. parameters:
  29845. - description: 页码
  29846. in: query
  29847. name: page
  29848. type: integer
  29849. - description: 每页条数
  29850. in: query
  29851. name: pagesize
  29852. type: integer
  29853. - description: 登录用户ID
  29854. in: query
  29855. name: wruserid
  29856. required: true
  29857. type: integer
  29858. - description: 商品(查询字段-模糊查询)
  29859. in: query
  29860. name: zsallproperties
  29861. type: string
  29862. - description: 钻石分类, 格式:1,2,3
  29863. in: query
  29864. name: zscategorys
  29865. type: string
  29866. - description: 仓库ID
  29867. in: query
  29868. name: warehouseid
  29869. type: integer
  29870. - description: 是否上架,0-全部 1-是 2-否
  29871. in: query
  29872. name: marketflag
  29873. type: integer
  29874. produces:
  29875. - application/json
  29876. responses:
  29877. "200":
  29878. description: OK
  29879. schema:
  29880. items:
  29881. $ref: '#/definitions/models.MyWRPosition'
  29882. type: array
  29883. "500":
  29884. description: Internal Server Error
  29885. schema:
  29886. $ref: '#/definitions/app.Response'
  29887. security:
  29888. - ApiKeyAuth: []
  29889. - LoginID: []
  29890. - Group: []
  29891. summary: 查询我的库存
  29892. tags:
  29893. - 广钻
  29894. /Guangzuan/QuerySellOrder:
  29895. get:
  29896. parameters:
  29897. - description: 页码
  29898. in: query
  29899. name: page
  29900. type: integer
  29901. - description: 每页条数
  29902. in: query
  29903. name: pagesize
  29904. type: integer
  29905. - description: 商品(查询字段-模糊查询)
  29906. in: query
  29907. name: zsallproperties
  29908. type: string
  29909. - description: 钻石分类, 格式:1,2,3
  29910. in: query
  29911. name: zscategorys
  29912. type: string
  29913. - description: 委托单号
  29914. in: query
  29915. name: wrtradeorderid
  29916. type: integer
  29917. - description: 卖方(查询字段-模糊查询)
  29918. in: query
  29919. name: buyusername
  29920. type: string
  29921. produces:
  29922. - application/json
  29923. responses:
  29924. "200":
  29925. description: OK
  29926. schema:
  29927. items:
  29928. $ref: '#/definitions/models.SellOrder'
  29929. type: array
  29930. "500":
  29931. description: Internal Server Error
  29932. schema:
  29933. $ref: '#/definitions/app.Response'
  29934. security:
  29935. - ApiKeyAuth: []
  29936. - LoginID: []
  29937. - Group: []
  29938. summary: 查询出售大厅委托单
  29939. tags:
  29940. - 广钻
  29941. /Guangzuan/QueryTradeReport:
  29942. get:
  29943. parameters:
  29944. - description: 用户ID
  29945. in: query
  29946. name: userid
  29947. required: true
  29948. type: integer
  29949. - description: 页码
  29950. in: query
  29951. name: page
  29952. type: integer
  29953. - description: 每页条数
  29954. in: query
  29955. name: pagesize
  29956. type: integer
  29957. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29958. in: query
  29959. name: cycletype
  29960. type: string
  29961. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29962. in: query
  29963. name: begindate
  29964. required: true
  29965. type: string
  29966. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29967. in: query
  29968. name: enddate
  29969. required: true
  29970. type: string
  29971. - description: 商品分类
  29972. in: query
  29973. name: zscategory
  29974. type: integer
  29975. - description: 商品币种
  29976. in: query
  29977. name: zscurrencytype
  29978. type: integer
  29979. produces:
  29980. - application/json
  29981. responses:
  29982. "200":
  29983. description: OK
  29984. schema:
  29985. items:
  29986. $ref: '#/definitions/models.Reckongzmemtradesum'
  29987. type: array
  29988. "500":
  29989. description: Internal Server Error
  29990. schema:
  29991. $ref: '#/definitions/app.Response'
  29992. security:
  29993. - ApiKeyAuth: []
  29994. - LoginID: []
  29995. - Group: []
  29996. summary: 查询交易报表
  29997. tags:
  29998. - 广钻
  29999. /Guangzuan/QueryWRPositionReport:
  30000. get:
  30001. parameters:
  30002. - description: 用户ID
  30003. in: query
  30004. name: userid
  30005. required: true
  30006. type: integer
  30007. - description: 页码
  30008. in: query
  30009. name: page
  30010. type: integer
  30011. - description: 每页条数
  30012. in: query
  30013. name: pagesize
  30014. type: integer
  30015. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  30016. in: query
  30017. name: cycletype
  30018. type: string
  30019. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30020. in: query
  30021. name: begindate
  30022. required: true
  30023. type: string
  30024. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30025. in: query
  30026. name: enddate
  30027. required: true
  30028. type: string
  30029. - description: 商品分类
  30030. in: query
  30031. name: zscategory
  30032. type: integer
  30033. - description: 商品币种
  30034. in: query
  30035. name: zscurrencytype
  30036. type: integer
  30037. produces:
  30038. - application/json
  30039. responses:
  30040. "200":
  30041. description: OK
  30042. schema:
  30043. items:
  30044. $ref: '#/definitions/models.WRPositionReport'
  30045. type: array
  30046. "500":
  30047. description: Internal Server Error
  30048. schema:
  30049. $ref: '#/definitions/app.Response'
  30050. security:
  30051. - ApiKeyAuth: []
  30052. - LoginID: []
  30053. - Group: []
  30054. summary: 查询仓储报表
  30055. tags:
  30056. - 广钻
  30057. /Guangzuan/QueryWarehouseInfo:
  30058. get:
  30059. parameters:
  30060. - description: 页码
  30061. in: query
  30062. name: page
  30063. type: integer
  30064. - description: 每页条数
  30065. in: query
  30066. name: pagesize
  30067. type: integer
  30068. - description: 用户ID
  30069. in: query
  30070. name: userid
  30071. required: true
  30072. type: integer
  30073. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  30074. in: query
  30075. name: status
  30076. type: string
  30077. - description: 是返回交易所仓库
  30078. in: query
  30079. name: isincludeexchange
  30080. type: boolean
  30081. produces:
  30082. - application/json
  30083. responses:
  30084. "200":
  30085. description: OK
  30086. schema:
  30087. items:
  30088. $ref: '#/definitions/models.GZWarehouseinfo'
  30089. type: array
  30090. "500":
  30091. description: Internal Server Error
  30092. schema:
  30093. $ref: '#/definitions/app.Response'
  30094. security:
  30095. - ApiKeyAuth: []
  30096. - LoginID: []
  30097. - Group: []
  30098. summary: 查询仓库信息
  30099. tags:
  30100. - 广钻
  30101. /Market/GetAllExExchanges:
  30102. get:
  30103. produces:
  30104. - application/json
  30105. responses:
  30106. "200":
  30107. description: OK
  30108. schema:
  30109. $ref: '#/definitions/models.Goods'
  30110. "500":
  30111. description: Internal Server Error
  30112. schema:
  30113. $ref: '#/definitions/app.Response'
  30114. security:
  30115. - ApiKeyAuth: []
  30116. summary: 获取所有外部交易所信息
  30117. tags:
  30118. - 通用市场
  30119. /Market/QueryGoodsesByLoginID:
  30120. get:
  30121. parameters:
  30122. - description: 登录账号
  30123. in: query
  30124. name: loginID
  30125. required: true
  30126. type: integer
  30127. - description: 市场ID列表,格式:1,2,3
  30128. in: query
  30129. name: marketIDs
  30130. type: string
  30131. produces:
  30132. - application/json
  30133. responses:
  30134. "200":
  30135. description: OK
  30136. schema:
  30137. $ref: '#/definitions/models.Goods'
  30138. "500":
  30139. description: Internal Server Error
  30140. schema:
  30141. $ref: '#/definitions/app.Response'
  30142. security:
  30143. - ApiKeyAuth: []
  30144. summary: 获取登录账号有权限的商品信息
  30145. tags:
  30146. - 通用市场
  30147. /Market/QueryMarketRun:
  30148. get:
  30149. parameters:
  30150. - description: 市场ID,不传返回所有
  30151. in: query
  30152. name: marketID
  30153. type: integer
  30154. produces:
  30155. - application/json
  30156. responses:
  30157. "200":
  30158. description: OK
  30159. schema:
  30160. $ref: '#/definitions/models.Marketrun'
  30161. "500":
  30162. description: Internal Server Error
  30163. schema:
  30164. $ref: '#/definitions/app.Response'
  30165. security:
  30166. - ApiKeyAuth: []
  30167. summary: 查询市场运行信息
  30168. tags:
  30169. - 通用市场
  30170. /Market/QueryMarketsByLoginID:
  30171. get:
  30172. parameters:
  30173. - description: 登录账号
  30174. in: query
  30175. name: loginID
  30176. required: true
  30177. type: integer
  30178. produces:
  30179. - application/json
  30180. responses:
  30181. "200":
  30182. description: OK
  30183. schema:
  30184. $ref: '#/definitions/models.Market'
  30185. "500":
  30186. description: Internal Server Error
  30187. schema:
  30188. $ref: '#/definitions/app.Response'
  30189. security:
  30190. - ApiKeyAuth: []
  30191. summary: 获取登录账号有权限的市场信息
  30192. tags:
  30193. - 通用市场
  30194. /Order/QueryHisTradeDetail:
  30195. get:
  30196. parameters:
  30197. - description: 资金账户 - 格式:1,2,3
  30198. in: query
  30199. name: accountID
  30200. required: true
  30201. type: string
  30202. - description: 成交单号
  30203. in: query
  30204. name: tradeID
  30205. type: integer
  30206. - description: 委托单号
  30207. in: query
  30208. name: orderID
  30209. type: integer
  30210. - description: 商品ID
  30211. in: query
  30212. name: goodsID
  30213. type: integer
  30214. - description: 交易模式 - 格式:1,2,3
  30215. in: query
  30216. name: tradeMode
  30217. type: string
  30218. - description: 委托单据类型
  30219. in: query
  30220. name: buildType
  30221. type: integer
  30222. - description: 成交类别 - 格式:1,2,3
  30223. in: query
  30224. name: tradeType
  30225. type: string
  30226. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30227. in: query
  30228. name: startDate
  30229. type: string
  30230. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30231. in: query
  30232. name: endDate
  30233. type: string
  30234. produces:
  30235. - application/json
  30236. responses:
  30237. "200":
  30238. description: OK
  30239. schema:
  30240. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  30241. "500":
  30242. description: Internal Server Error
  30243. schema:
  30244. $ref: '#/definitions/app.Response'
  30245. security:
  30246. - ApiKeyAuth: []
  30247. summary: 历史成交单查询(合约市场)
  30248. tags:
  30249. - 通用单据
  30250. /Order/QueryHisTradeOrderDetail:
  30251. get:
  30252. parameters:
  30253. - description: 资金账户 - 格式:1,2,3
  30254. in: query
  30255. name: accountID
  30256. required: true
  30257. type: string
  30258. - description: 交易模式 - 格式:1,2,3
  30259. in: query
  30260. name: tradeMode
  30261. type: string
  30262. - description: 委托状态 - 格式:1,2,3
  30263. in: query
  30264. name: orderStatus
  30265. type: string
  30266. - description: 委托单号
  30267. in: query
  30268. name: orderID
  30269. type: integer
  30270. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30271. in: query
  30272. name: startDate
  30273. type: string
  30274. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30275. in: query
  30276. name: endDate
  30277. type: string
  30278. produces:
  30279. - application/json
  30280. responses:
  30281. "200":
  30282. description: OK
  30283. schema:
  30284. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  30285. "500":
  30286. description: Internal Server Error
  30287. schema:
  30288. $ref: '#/definitions/app.Response'
  30289. security:
  30290. - ApiKeyAuth: []
  30291. summary: 历史委托单查询请求(合约市场)
  30292. tags:
  30293. - 通用单据
  30294. /Order/QueryTradeDetail:
  30295. get:
  30296. parameters:
  30297. - description: 资金账户 - 格式:1,2,3
  30298. in: query
  30299. name: accountID
  30300. required: true
  30301. type: string
  30302. - description: 成交单号
  30303. in: query
  30304. name: tradeID
  30305. type: integer
  30306. - description: 委托单号
  30307. in: query
  30308. name: orderID
  30309. type: integer
  30310. - description: 交易模式 - 格式:1,2,3
  30311. in: query
  30312. name: tradeMode
  30313. type: string
  30314. - description: 委托单据类型
  30315. in: query
  30316. name: buildType
  30317. type: integer
  30318. - description: 成交类别 - 格式:1,2,3
  30319. in: query
  30320. name: tradeType
  30321. type: string
  30322. - description: 商品ID
  30323. in: query
  30324. name: goodsID
  30325. type: integer
  30326. produces:
  30327. - application/json
  30328. responses:
  30329. "200":
  30330. description: OK
  30331. schema:
  30332. $ref: '#/definitions/order.QueryTradeDetailRsp'
  30333. "500":
  30334. description: Internal Server Error
  30335. schema:
  30336. $ref: '#/definitions/app.Response'
  30337. security:
  30338. - ApiKeyAuth: []
  30339. summary: 成交单查询(合约市场)
  30340. tags:
  30341. - 通用单据
  30342. /Order/QueryTradeHolderDetail:
  30343. get:
  30344. parameters:
  30345. - description: 用户id
  30346. in: query
  30347. name: userid
  30348. type: integer
  30349. - description: 资金账号, 格式 1,2,3
  30350. in: query
  30351. name: accids
  30352. type: string
  30353. - description: 交易模式, 格式 1,2,3
  30354. in: query
  30355. name: trademodes
  30356. type: string
  30357. - description: 市场id, 格式 1,2,3
  30358. in: query
  30359. name: marketids
  30360. type: string
  30361. - description: 商品id
  30362. in: query
  30363. name: goodsid
  30364. type: integer
  30365. - description: 买卖方向 0-买 1-卖
  30366. in: query
  30367. name: buyorsell
  30368. type: integer
  30369. produces:
  30370. - application/json
  30371. responses:
  30372. "200":
  30373. description: OK
  30374. schema:
  30375. items:
  30376. $ref: '#/definitions/models.TradeHolderDetail'
  30377. type: array
  30378. "500":
  30379. description: Internal Server Error
  30380. schema:
  30381. $ref: '#/definitions/app.Response'
  30382. security:
  30383. - ApiKeyAuth: []
  30384. summary: 查询持仓明细
  30385. tags:
  30386. - 通用单据
  30387. /Order/QueryTradeOrderDetail:
  30388. get:
  30389. parameters:
  30390. - description: 资金账户 - 格式:1,2,3
  30391. in: query
  30392. name: accountID
  30393. required: true
  30394. type: string
  30395. - description: 交易模式 - 格式:1,2,3
  30396. in: query
  30397. name: tradeMode
  30398. type: string
  30399. - description: 委托状态 - 格式:1,2,3
  30400. in: query
  30401. name: orderStatus
  30402. type: string
  30403. - description: 委托单号
  30404. in: query
  30405. name: orderID
  30406. type: integer
  30407. produces:
  30408. - application/json
  30409. responses:
  30410. "200":
  30411. description: OK
  30412. schema:
  30413. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  30414. "500":
  30415. description: Internal Server Error
  30416. schema:
  30417. $ref: '#/definitions/app.Response'
  30418. security:
  30419. - ApiKeyAuth: []
  30420. summary: 委托单查询请求(合约市场)
  30421. tags:
  30422. - 通用单据
  30423. /Order/QueryTradePosition:
  30424. get:
  30425. parameters:
  30426. - description: 资金账户 - 格式:1,2,3
  30427. in: query
  30428. name: accountID
  30429. required: true
  30430. type: string
  30431. - description: 交易模式 - 格式:1,2,3
  30432. in: query
  30433. name: tradeMode
  30434. type: string
  30435. produces:
  30436. - application/json
  30437. responses:
  30438. "200":
  30439. description: OK
  30440. schema:
  30441. $ref: '#/definitions/order.QueryTradePositionRsp'
  30442. "500":
  30443. description: Internal Server Error
  30444. schema:
  30445. $ref: '#/definitions/app.Response'
  30446. security:
  30447. - ApiKeyAuth: []
  30448. summary: 持仓汇总查询(合约市场)
  30449. tags:
  30450. - 通用单据
  30451. /Qhj/QueryAccountInOutApply:
  30452. get:
  30453. parameters:
  30454. - description: 用户ID
  30455. in: query
  30456. name: userid
  30457. required: true
  30458. type: integer
  30459. - description: 申请起始日期(格式yyyymmdd)
  30460. in: query
  30461. name: begindate
  30462. type: string
  30463. - description: 申请截止日期(格式yyyymmdd)
  30464. in: query
  30465. name: enddate
  30466. type: string
  30467. - description: 模糊搜索名称
  30468. in: query
  30469. name: likename
  30470. type: string
  30471. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  30472. in: query
  30473. name: applystatus
  30474. type: integer
  30475. - description: 查询类型 1-提现(出金) 2-充值(入金)
  30476. in: query
  30477. name: querytype
  30478. type: integer
  30479. produces:
  30480. - application/json
  30481. responses:
  30482. "200":
  30483. description: OK
  30484. schema:
  30485. items:
  30486. $ref: '#/definitions/models.QhjAccountOutInApply'
  30487. type: array
  30488. "500":
  30489. description: Internal Server Error
  30490. schema:
  30491. $ref: '#/definitions/app.Response'
  30492. security:
  30493. - ApiKeyAuth: []
  30494. summary: 查询充值提现
  30495. tags:
  30496. - 大连千海金
  30497. /Qhj/QueryAreaFinanceConfig:
  30498. get:
  30499. parameters:
  30500. - description: 机构用户ID 其他做市关系,都设置为 1
  30501. in: query
  30502. name: userid
  30503. type: integer
  30504. produces:
  30505. - application/json
  30506. responses:
  30507. "200":
  30508. description: OK
  30509. schema:
  30510. items:
  30511. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  30512. type: array
  30513. "500":
  30514. description: Internal Server Error
  30515. schema:
  30516. $ref: '#/definitions/app.Response'
  30517. security:
  30518. - ApiKeyAuth: []
  30519. summary: 查询企业配置表
  30520. tags:
  30521. - 大连千海金
  30522. /Qhj/QueryBankAccountSign:
  30523. get:
  30524. parameters:
  30525. - description: 用户ID
  30526. in: query
  30527. name: userid
  30528. required: true
  30529. type: integer
  30530. produces:
  30531. - application/json
  30532. responses:
  30533. "200":
  30534. description: OK
  30535. schema:
  30536. items:
  30537. $ref: '#/definitions/models.QhjBankAccountSign'
  30538. type: array
  30539. "500":
  30540. description: Internal Server Error
  30541. schema:
  30542. $ref: '#/definitions/app.Response'
  30543. security:
  30544. - ApiKeyAuth: []
  30545. summary: 查询签约银行信息(提现账户管理)
  30546. tags:
  30547. - 大连千海金
  30548. /Qhj/QueryBankInfo:
  30549. get:
  30550. produces:
  30551. - application/json
  30552. responses:
  30553. "200":
  30554. description: OK
  30555. schema:
  30556. items:
  30557. $ref: '#/definitions/models.QhjBankInfo'
  30558. type: array
  30559. "500":
  30560. description: Internal Server Error
  30561. schema:
  30562. $ref: '#/definitions/app.Response'
  30563. security:
  30564. - ApiKeyAuth: []
  30565. summary: 查询开户行
  30566. tags:
  30567. - 大连千海金
  30568. /Qhj/QueryBrokerApply:
  30569. get:
  30570. parameters:
  30571. - description: 所属机构ID
  30572. in: query
  30573. name: userid
  30574. type: integer
  30575. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  30576. in: query
  30577. name: filterstatus
  30578. type: string
  30579. produces:
  30580. - application/json
  30581. responses:
  30582. "200":
  30583. description: OK
  30584. schema:
  30585. items:
  30586. $ref: '#/definitions/models.QhjBrokerApply'
  30587. type: array
  30588. "500":
  30589. description: Internal Server Error
  30590. schema:
  30591. $ref: '#/definitions/app.Response'
  30592. security:
  30593. - ApiKeyAuth: []
  30594. summary: 查询经纪人申请
  30595. tags:
  30596. - 大连千海金
  30597. /Qhj/QueryBrokerApplyEx:
  30598. get:
  30599. parameters:
  30600. - description: 所属机构ID
  30601. in: query
  30602. name: userid
  30603. type: integer
  30604. produces:
  30605. - application/json
  30606. responses:
  30607. "200":
  30608. description: OK
  30609. schema:
  30610. items:
  30611. $ref: '#/definitions/models.QhjBrokerApplyEx'
  30612. type: array
  30613. "500":
  30614. description: Internal Server Error
  30615. schema:
  30616. $ref: '#/definitions/app.Response'
  30617. security:
  30618. - ApiKeyAuth: []
  30619. summary: 查询经纪人信息和申请记录
  30620. tags:
  30621. - 大连千海金
  30622. /Qhj/QueryBrokerRewardLog:
  30623. get:
  30624. parameters:
  30625. - description: 用户ID
  30626. in: query
  30627. name: userid
  30628. required: true
  30629. type: integer
  30630. - description: 开始交易日(yyyymmdd)
  30631. in: query
  30632. name: begindate
  30633. type: string
  30634. - description: 结束交易日(yyyymmdd)
  30635. in: query
  30636. name: enddate
  30637. type: string
  30638. produces:
  30639. - application/json
  30640. responses:
  30641. "200":
  30642. description: OK
  30643. schema:
  30644. items:
  30645. $ref: '#/definitions/models.QhjBrokerRewardLog'
  30646. type: array
  30647. "500":
  30648. description: Internal Server Error
  30649. schema:
  30650. $ref: '#/definitions/app.Response'
  30651. security:
  30652. - ApiKeyAuth: []
  30653. summary: 查询奖励流水(我的奖励)
  30654. tags:
  30655. - 大连千海金
  30656. /Qhj/QueryContract:
  30657. get:
  30658. parameters:
  30659. - description: 用户ID
  30660. in: query
  30661. name: userid
  30662. type: integer
  30663. - description: scf合同id
  30664. in: query
  30665. name: scfcontractid
  30666. type: integer
  30667. produces:
  30668. - application/json
  30669. responses:
  30670. "200":
  30671. description: OK
  30672. schema:
  30673. items:
  30674. $ref: '#/definitions/models.QhjContract'
  30675. type: array
  30676. "500":
  30677. description: Internal Server Error
  30678. schema:
  30679. $ref: '#/definitions/app.Response'
  30680. security:
  30681. - ApiKeyAuth: []
  30682. summary: 查询融资明细(合同)
  30683. tags:
  30684. - 大连千海金
  30685. /Qhj/QueryContractLog:
  30686. get:
  30687. parameters:
  30688. - description: scf合同id
  30689. in: query
  30690. name: scfcontractid
  30691. required: true
  30692. type: integer
  30693. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  30694. in: query
  30695. name: amounttype
  30696. type: string
  30697. produces:
  30698. - application/json
  30699. responses:
  30700. "200":
  30701. description: OK
  30702. schema:
  30703. items:
  30704. $ref: '#/definitions/models.QhjContractLog'
  30705. type: array
  30706. "500":
  30707. description: Internal Server Error
  30708. schema:
  30709. $ref: '#/definitions/app.Response'
  30710. security:
  30711. - ApiKeyAuth: []
  30712. summary: 查询融资明细流水(融资明细详情页中的流水)
  30713. tags:
  30714. - 大连千海金
  30715. /Qhj/QueryCusBankSignBank:
  30716. get:
  30717. produces:
  30718. - application/json
  30719. responses:
  30720. "200":
  30721. description: OK
  30722. schema:
  30723. items:
  30724. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  30725. type: array
  30726. "500":
  30727. description: Internal Server Error
  30728. schema:
  30729. $ref: '#/definitions/app.Response'
  30730. security:
  30731. - ApiKeyAuth: []
  30732. summary: 查询托管银行
  30733. tags:
  30734. - 大连千海金
  30735. /Qhj/QueryCustomerInfo:
  30736. get:
  30737. parameters:
  30738. - description: 用户ID
  30739. in: query
  30740. name: userid
  30741. required: true
  30742. type: integer
  30743. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  30744. in: query
  30745. name: querytype
  30746. required: true
  30747. type: integer
  30748. - description: 客户类型 1-个人 2-企业
  30749. in: query
  30750. name: userinfotype
  30751. type: integer
  30752. - description: 客户名称(模糊匹配)
  30753. in: query
  30754. name: customername
  30755. type: string
  30756. - description: 昵称(模糊匹配)
  30757. in: query
  30758. name: nickname
  30759. type: string
  30760. - description: 是否包含子级 1-包含
  30761. in: query
  30762. name: includesub
  30763. type: integer
  30764. produces:
  30765. - application/json
  30766. responses:
  30767. "200":
  30768. description: OK
  30769. schema:
  30770. items:
  30771. $ref: '#/definitions/models.QhjCustomer'
  30772. type: array
  30773. "500":
  30774. description: Internal Server Error
  30775. schema:
  30776. $ref: '#/definitions/app.Response'
  30777. security:
  30778. - ApiKeyAuth: []
  30779. summary: 查询客户资料
  30780. tags:
  30781. - 大连千海金
  30782. /Qhj/QueryGoodsEx:
  30783. get:
  30784. parameters:
  30785. - description: 商品id
  30786. in: query
  30787. name: goodsid
  30788. type: integer
  30789. produces:
  30790. - application/json
  30791. responses:
  30792. "200":
  30793. description: OK
  30794. schema:
  30795. items:
  30796. $ref: '#/definitions/models.Qhjgoodsex'
  30797. type: array
  30798. "500":
  30799. description: Internal Server Error
  30800. schema:
  30801. $ref: '#/definitions/app.Response'
  30802. security:
  30803. - ApiKeyAuth: []
  30804. summary: 交易商品扩展表
  30805. tags:
  30806. - 大连千海金
  30807. /Qhj/QueryMyTeam:
  30808. get:
  30809. parameters:
  30810. - description: 用户ID
  30811. in: query
  30812. name: userid
  30813. required: true
  30814. type: integer
  30815. produces:
  30816. - application/json
  30817. responses:
  30818. "200":
  30819. description: OK
  30820. schema:
  30821. items:
  30822. $ref: '#/definitions/models.QhjMyTeamEx'
  30823. type: array
  30824. "500":
  30825. description: Internal Server Error
  30826. schema:
  30827. $ref: '#/definitions/app.Response'
  30828. security:
  30829. - ApiKeyAuth: []
  30830. summary: 查询我的团队
  30831. tags:
  30832. - 大连千海金
  30833. /Qhj/QueryMyTeamOrder:
  30834. get:
  30835. parameters:
  30836. - description: 页码
  30837. in: query
  30838. name: page
  30839. type: integer
  30840. - description: 每页条数
  30841. in: query
  30842. name: pagesize
  30843. type: integer
  30844. - description: 用户ID
  30845. in: query
  30846. name: userid
  30847. required: true
  30848. type: integer
  30849. - description: 交易模式
  30850. in: query
  30851. name: trademode
  30852. type: integer
  30853. - description: 名称(模糊搜索账户)
  30854. in: query
  30855. name: filtername
  30856. type: string
  30857. produces:
  30858. - application/json
  30859. responses:
  30860. "200":
  30861. description: OK
  30862. schema:
  30863. items:
  30864. $ref: '#/definitions/models.QhjTeamOrder'
  30865. type: array
  30866. "500":
  30867. description: Internal Server Error
  30868. schema:
  30869. $ref: '#/definitions/app.Response'
  30870. security:
  30871. - ApiKeyAuth: []
  30872. summary: 查询团队订单(我的团队/团队订单)
  30873. tags:
  30874. - 大连千海金
  30875. /Qhj/QueryParentAreaList:
  30876. get:
  30877. parameters:
  30878. - description: 用户ID
  30879. in: query
  30880. name: userid
  30881. required: true
  30882. type: integer
  30883. produces:
  30884. - application/json
  30885. responses:
  30886. "200":
  30887. description: OK
  30888. schema:
  30889. items:
  30890. $ref: '#/definitions/models.QhjParentAreaList'
  30891. type: array
  30892. "500":
  30893. description: Internal Server Error
  30894. schema:
  30895. $ref: '#/definitions/app.Response'
  30896. security:
  30897. - ApiKeyAuth: []
  30898. summary: 查询所属机构列表
  30899. tags:
  30900. - 大连千海金
  30901. /Qhj/QueryPayOrder:
  30902. get:
  30903. parameters:
  30904. - description: 资金账号id
  30905. in: query
  30906. name: accountid
  30907. required: true
  30908. type: integer
  30909. - description: 成交单号
  30910. in: query
  30911. name: tradeid
  30912. type: integer
  30913. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30914. in: query
  30915. name: payflag
  30916. type: string
  30917. produces:
  30918. - application/json
  30919. responses:
  30920. "200":
  30921. description: OK
  30922. schema:
  30923. items:
  30924. $ref: '#/definitions/models.QhjPayOrder'
  30925. type: array
  30926. "500":
  30927. description: Internal Server Error
  30928. schema:
  30929. $ref: '#/definitions/app.Response'
  30930. security:
  30931. - ApiKeyAuth: []
  30932. summary: 查询待付款单据
  30933. tags:
  30934. - 大连千海金
  30935. /Qhj/QueryPickArea:
  30936. get:
  30937. parameters:
  30938. - description: 用户ID
  30939. in: query
  30940. name: userid
  30941. type: integer
  30942. produces:
  30943. - application/json
  30944. responses:
  30945. "200":
  30946. description: OK
  30947. schema:
  30948. items:
  30949. $ref: '#/definitions/models.QhjPickArea'
  30950. type: array
  30951. "500":
  30952. description: Internal Server Error
  30953. schema:
  30954. $ref: '#/definitions/app.Response'
  30955. security:
  30956. - ApiKeyAuth: []
  30957. summary: 查询提货门店
  30958. tags:
  30959. - 大连千海金
  30960. /Qhj/QueryPickGoods:
  30961. get:
  30962. parameters:
  30963. - description: 交易商品id
  30964. in: query
  30965. name: goodsid
  30966. required: true
  30967. type: integer
  30968. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  30969. in: query
  30970. name: status
  30971. type: string
  30972. produces:
  30973. - application/json
  30974. responses:
  30975. "200":
  30976. description: OK
  30977. schema:
  30978. items:
  30979. $ref: '#/definitions/models.QhjPickGoods'
  30980. type: array
  30981. "500":
  30982. description: Internal Server Error
  30983. schema:
  30984. $ref: '#/definitions/app.Response'
  30985. security:
  30986. - ApiKeyAuth: []
  30987. summary: 查询提货商品
  30988. tags:
  30989. - 大连千海金
  30990. /Qhj/QueryRSTriggerLog:
  30991. get:
  30992. parameters:
  30993. - description: 用户ID
  30994. in: query
  30995. name: userid
  30996. type: integer
  30997. - description: 定投策略id
  30998. in: query
  30999. name: regularlystrategyid
  31000. type: integer
  31001. - description: 商品id
  31002. in: query
  31003. name: goodsid
  31004. type: integer
  31005. - description: 开始交易日(yyyymmdd)
  31006. in: query
  31007. name: begindate
  31008. type: string
  31009. - description: 结束交易日(yyyymmdd)
  31010. in: query
  31011. name: enddate
  31012. type: string
  31013. - description: 名称(模糊搜索账户)
  31014. in: query
  31015. name: filtername
  31016. type: string
  31017. produces:
  31018. - application/json
  31019. responses:
  31020. "200":
  31021. description: OK
  31022. schema:
  31023. items:
  31024. $ref: '#/definitions/models.QhjRSTriggerLog'
  31025. type: array
  31026. "500":
  31027. description: Internal Server Error
  31028. schema:
  31029. $ref: '#/definitions/app.Response'
  31030. security:
  31031. - ApiKeyAuth: []
  31032. summary: 查询定投记录(定投管理/详情/定投记录)
  31033. tags:
  31034. - 大连千海金
  31035. /Qhj/QueryRStrategy:
  31036. get:
  31037. parameters:
  31038. - description: 用户ID
  31039. in: query
  31040. name: userid
  31041. type: integer
  31042. - description: 商品id
  31043. in: query
  31044. name: goodsid
  31045. type: integer
  31046. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  31047. in: query
  31048. name: status
  31049. type: string
  31050. - description: 名称(模糊搜索账户)
  31051. in: query
  31052. name: filtername
  31053. type: string
  31054. produces:
  31055. - application/json
  31056. responses:
  31057. "200":
  31058. description: OK
  31059. schema:
  31060. items:
  31061. $ref: '#/definitions/models.QhjRStrategy'
  31062. type: array
  31063. "500":
  31064. description: Internal Server Error
  31065. schema:
  31066. $ref: '#/definitions/app.Response'
  31067. security:
  31068. - ApiKeyAuth: []
  31069. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  31070. tags:
  31071. - 大连千海金
  31072. /Qhj/QueryReckonPriceLog:
  31073. get:
  31074. parameters:
  31075. - description: 商品ID
  31076. in: query
  31077. name: goodsid
  31078. type: integer
  31079. - description: 交易日 格式(yyyymmdd)
  31080. in: query
  31081. name: tradedate
  31082. type: string
  31083. produces:
  31084. - application/json
  31085. responses:
  31086. "200":
  31087. description: OK
  31088. schema:
  31089. items:
  31090. $ref: '#/definitions/models.QhjReckonPriceLog'
  31091. type: array
  31092. "500":
  31093. description: Internal Server Error
  31094. schema:
  31095. $ref: '#/definitions/app.Response'
  31096. security:
  31097. - ApiKeyAuth: []
  31098. summary: 查询定投价(结算价)
  31099. tags:
  31100. - 大连千海金
  31101. /Qhj/QueryScoreLog:
  31102. get:
  31103. parameters:
  31104. - description: 用户ID
  31105. in: query
  31106. name: userid
  31107. required: true
  31108. type: integer
  31109. - description: 开始交易日(yyyymmdd)
  31110. in: query
  31111. name: begindate
  31112. type: string
  31113. - description: 结束交易日(yyyymmdd)
  31114. in: query
  31115. name: enddate
  31116. type: string
  31117. - description: 最近多少条
  31118. in: query
  31119. name: lastnum
  31120. type: integer
  31121. produces:
  31122. - application/json
  31123. responses:
  31124. "200":
  31125. description: OK
  31126. schema:
  31127. items:
  31128. $ref: '#/definitions/models.QhjScoreLog'
  31129. type: array
  31130. "500":
  31131. description: Internal Server Error
  31132. schema:
  31133. $ref: '#/definitions/app.Response'
  31134. security:
  31135. - ApiKeyAuth: []
  31136. summary: 查询积分流水(我的积分)
  31137. tags:
  31138. - 大连千海金
  31139. /Qhj/QuerySiteColumnDetail:
  31140. get:
  31141. parameters:
  31142. - description: 用户ID
  31143. in: query
  31144. name: userid
  31145. required: true
  31146. type: integer
  31147. produces:
  31148. - application/json
  31149. responses:
  31150. "200":
  31151. description: OK
  31152. schema:
  31153. items:
  31154. $ref: '#/definitions/models.QhjSiteColumnDetail'
  31155. type: array
  31156. "500":
  31157. description: Internal Server Error
  31158. schema:
  31159. $ref: '#/definitions/app.Response'
  31160. security:
  31161. - ApiKeyAuth: []
  31162. summary: 查询资讯
  31163. tags:
  31164. - 大连千海金
  31165. /Qhj/QueryTradeGoodsPickup:
  31166. get:
  31167. parameters:
  31168. - description: 用户ID
  31169. in: query
  31170. name: userid
  31171. required: true
  31172. type: integer
  31173. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  31174. 7:已拒绝 8:已撤销
  31175. in: query
  31176. name: takeorderstatus
  31177. type: integer
  31178. produces:
  31179. - application/json
  31180. responses:
  31181. "200":
  31182. description: OK
  31183. schema:
  31184. items:
  31185. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  31186. type: array
  31187. "500":
  31188. description: Internal Server Error
  31189. schema:
  31190. $ref: '#/definitions/app.Response'
  31191. security:
  31192. - ApiKeyAuth: []
  31193. summary: 查询提货
  31194. tags:
  31195. - 大连千海金
  31196. /Qhj/QueryUserCollectConfig:
  31197. get:
  31198. parameters:
  31199. - description: 用户ID
  31200. in: query
  31201. name: userid
  31202. required: true
  31203. type: integer
  31204. produces:
  31205. - application/json
  31206. responses:
  31207. "200":
  31208. description: OK
  31209. schema:
  31210. items:
  31211. $ref: '#/definitions/models.UserCollectConfig'
  31212. type: array
  31213. "500":
  31214. description: Internal Server Error
  31215. schema:
  31216. $ref: '#/definitions/app.Response'
  31217. security:
  31218. - ApiKeyAuth: []
  31219. summary: 查询提现账户设置
  31220. tags:
  31221. - 大连千海金
  31222. /Qhj/QueryUserReceiveInfo:
  31223. get:
  31224. parameters:
  31225. - description: 用户ID
  31226. in: query
  31227. name: userid
  31228. required: true
  31229. type: integer
  31230. produces:
  31231. - application/json
  31232. responses:
  31233. "200":
  31234. description: OK
  31235. schema:
  31236. items:
  31237. $ref: '#/definitions/models.UserReceiveInfo'
  31238. type: array
  31239. "500":
  31240. description: Internal Server Error
  31241. schema:
  31242. $ref: '#/definitions/app.Response'
  31243. security:
  31244. - ApiKeyAuth: []
  31245. summary: 查询收货地址信息
  31246. tags:
  31247. - 大连千海金
  31248. /QhjMgr/QueryAccountInOutApply:
  31249. get:
  31250. parameters:
  31251. - description: 查询类型 1-提现(出金) 2-充值(出金)
  31252. in: query
  31253. name: querytype
  31254. required: true
  31255. type: integer
  31256. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  31257. in: query
  31258. name: applystatus
  31259. type: integer
  31260. - description: 申请起始日期(格式yyyymmdd)
  31261. in: query
  31262. name: begindate
  31263. type: string
  31264. - description: 申请截止日期(格式yyyymmdd)
  31265. in: query
  31266. name: enddate
  31267. type: string
  31268. - description: 模糊搜索名称
  31269. in: query
  31270. name: likename
  31271. type: string
  31272. produces:
  31273. - application/json
  31274. responses:
  31275. "200":
  31276. description: OK
  31277. schema:
  31278. items:
  31279. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  31280. type: array
  31281. "500":
  31282. description: Internal Server Error
  31283. schema:
  31284. $ref: '#/definitions/app.Response'
  31285. security:
  31286. - ApiKeyAuth: []
  31287. summary: 查询充值提现
  31288. tags:
  31289. - 大连千海金(PCWeb)
  31290. /QhjMgr/QueryBrokerApply:
  31291. get:
  31292. parameters:
  31293. - description: 所属机构ID
  31294. in: query
  31295. name: userid
  31296. type: integer
  31297. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  31298. in: query
  31299. name: filterstatus
  31300. type: string
  31301. - description: 名称(模糊匹配)
  31302. in: query
  31303. name: filtername
  31304. type: string
  31305. - description: 是否包含子级 1-包含
  31306. in: query
  31307. name: includesub
  31308. type: integer
  31309. produces:
  31310. - application/json
  31311. responses:
  31312. "200":
  31313. description: OK
  31314. schema:
  31315. items:
  31316. $ref: '#/definitions/models.QhjMgrBrokerApply'
  31317. type: array
  31318. "500":
  31319. description: Internal Server Error
  31320. schema:
  31321. $ref: '#/definitions/app.Response'
  31322. security:
  31323. - ApiKeyAuth: []
  31324. summary: 查询经纪人申请
  31325. tags:
  31326. - 大连千海金(PCWeb)
  31327. /QhjMgr/QueryBrokerRewardReport:
  31328. get:
  31329. parameters:
  31330. - description: 所属机构ID
  31331. in: query
  31332. name: userid
  31333. required: true
  31334. type: integer
  31335. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  31336. in: query
  31337. name: cycletype
  31338. required: true
  31339. type: integer
  31340. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  31341. in: query
  31342. name: cycletime
  31343. required: true
  31344. type: string
  31345. - description: 名称(模糊匹配)
  31346. in: query
  31347. name: filtername
  31348. type: string
  31349. - description: 是否包含子级 1-包含
  31350. in: query
  31351. name: includesub
  31352. type: integer
  31353. produces:
  31354. - application/json
  31355. responses:
  31356. "200":
  31357. description: OK
  31358. schema:
  31359. items:
  31360. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  31361. type: array
  31362. "500":
  31363. description: Internal Server Error
  31364. schema:
  31365. $ref: '#/definitions/app.Response'
  31366. security:
  31367. - ApiKeyAuth: []
  31368. summary: 查询经纪人奖励报表(废弃)
  31369. tags:
  31370. - 大连千海金(PCWeb)
  31371. /QhjMgr/QueryContract:
  31372. get:
  31373. parameters:
  31374. - description: 用户ID
  31375. in: query
  31376. name: userid
  31377. type: integer
  31378. - description: 商品id
  31379. in: query
  31380. name: goodsid
  31381. type: integer
  31382. - description: 名称(模糊搜索账户)
  31383. in: query
  31384. name: filtername
  31385. type: string
  31386. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  31387. in: query
  31388. name: risklevel
  31389. type: string
  31390. - description: 开始交易日(yyyymmdd)
  31391. in: query
  31392. name: begindate
  31393. type: string
  31394. - description: 结束交易日(yyyymmdd)
  31395. in: query
  31396. name: enddate
  31397. type: string
  31398. produces:
  31399. - application/json
  31400. responses:
  31401. "200":
  31402. description: OK
  31403. schema:
  31404. items:
  31405. $ref: '#/definitions/models.QhjMgrContract'
  31406. type: array
  31407. "500":
  31408. description: Internal Server Error
  31409. schema:
  31410. $ref: '#/definitions/app.Response'
  31411. security:
  31412. - ApiKeyAuth: []
  31413. summary: 查询融资信息(合同)
  31414. tags:
  31415. - 大连千海金(PCWeb)
  31416. /QhjMgr/QueryCustomerInfo:
  31417. get:
  31418. parameters:
  31419. - description: 用户ID
  31420. in: query
  31421. name: userid
  31422. required: true
  31423. type: integer
  31424. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  31425. in: query
  31426. name: querytype
  31427. required: true
  31428. type: integer
  31429. - description: 客户类型 1-个人 2-企业
  31430. in: query
  31431. name: userinfotype
  31432. type: integer
  31433. - description: 客户名称(模糊匹配)
  31434. in: query
  31435. name: customername
  31436. type: string
  31437. - description: 昵称(模糊匹配)
  31438. in: query
  31439. name: nickname
  31440. type: string
  31441. - description: 所属客户经理(模糊匹配)
  31442. in: query
  31443. name: brokername
  31444. type: string
  31445. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  31446. 如0503 -5月3日)
  31447. in: query
  31448. name: birthday
  31449. type: string
  31450. - description: 是否包含子级 1-包含
  31451. in: query
  31452. name: includesub
  31453. type: integer
  31454. produces:
  31455. - application/json
  31456. responses:
  31457. "200":
  31458. description: OK
  31459. schema:
  31460. items:
  31461. $ref: '#/definitions/models.QhjMgrCustomer'
  31462. type: array
  31463. "500":
  31464. description: Internal Server Error
  31465. schema:
  31466. $ref: '#/definitions/app.Response'
  31467. security:
  31468. - ApiKeyAuth: []
  31469. summary: 查询客户资料
  31470. tags:
  31471. - 大连千海金(PCWeb)
  31472. /QhjMgr/QueryPickGoods:
  31473. get:
  31474. parameters:
  31475. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  31476. in: query
  31477. name: status
  31478. type: string
  31479. produces:
  31480. - application/json
  31481. responses:
  31482. "200":
  31483. description: OK
  31484. schema:
  31485. items:
  31486. $ref: '#/definitions/models.QhjMgrPickGoods'
  31487. type: array
  31488. "500":
  31489. description: Internal Server Error
  31490. schema:
  31491. $ref: '#/definitions/app.Response'
  31492. security:
  31493. - ApiKeyAuth: []
  31494. summary: 查询提货商品
  31495. tags:
  31496. - 大连千海金(PCWeb)
  31497. /QhjMgr/QuerySubArea:
  31498. get:
  31499. parameters:
  31500. - description: 用户ID
  31501. in: query
  31502. name: userid
  31503. required: true
  31504. type: integer
  31505. produces:
  31506. - application/json
  31507. responses:
  31508. "200":
  31509. description: OK
  31510. schema:
  31511. items:
  31512. $ref: '#/definitions/models.QhjMgrSubArea'
  31513. type: array
  31514. "500":
  31515. description: Internal Server Error
  31516. schema:
  31517. $ref: '#/definitions/app.Response'
  31518. security:
  31519. - ApiKeyAuth: []
  31520. summary: 查询子机构列表
  31521. tags:
  31522. - 大连千海金(PCWeb)
  31523. /QhjMgr/QueryTradeDetail:
  31524. get:
  31525. parameters:
  31526. - description: 用户ID
  31527. in: query
  31528. name: userid
  31529. required: true
  31530. type: integer
  31531. - description: 用户类型 1-个人 2-企业
  31532. in: query
  31533. name: userinfotype
  31534. type: integer
  31535. - description: 交易模式
  31536. in: query
  31537. name: trademode
  31538. type: integer
  31539. - description: 商品id
  31540. in: query
  31541. name: goodsid
  31542. type: integer
  31543. - description: 名称(模糊搜索账户)
  31544. in: query
  31545. name: filtername
  31546. type: string
  31547. - description: 开始交易日(yyyymmdd)
  31548. in: query
  31549. name: begindate
  31550. type: string
  31551. - description: 结束交易日(yyyymmdd)
  31552. in: query
  31553. name: enddate
  31554. type: string
  31555. - description: 是否包含子级 1-包含
  31556. in: query
  31557. name: includesub
  31558. type: integer
  31559. produces:
  31560. - application/json
  31561. responses:
  31562. "200":
  31563. description: OK
  31564. schema:
  31565. items:
  31566. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  31567. type: array
  31568. "500":
  31569. description: Internal Server Error
  31570. schema:
  31571. $ref: '#/definitions/app.Response'
  31572. security:
  31573. - ApiKeyAuth: []
  31574. summary: 查询成交明细
  31575. tags:
  31576. - 大连千海金(PCWeb)
  31577. /QhjMgr/QueryTradeOrderDetail:
  31578. get:
  31579. parameters:
  31580. - description: 用户ID
  31581. in: query
  31582. name: userid
  31583. required: true
  31584. type: integer
  31585. - description: 用户类型 1-个人 2-企业
  31586. in: query
  31587. name: userinfotype
  31588. type: integer
  31589. - description: 交易模式
  31590. in: query
  31591. name: trademode
  31592. type: integer
  31593. - description: 商品id
  31594. in: query
  31595. name: goodsid
  31596. type: integer
  31597. - description: 名称(模糊搜索账户)
  31598. in: query
  31599. name: filtername
  31600. type: string
  31601. - description: 开始交易日(yyyymmdd)
  31602. in: query
  31603. name: begindate
  31604. type: string
  31605. - description: 结束交易日(yyyymmdd)
  31606. in: query
  31607. name: enddate
  31608. type: string
  31609. - description: 是否包含子级 1-包含
  31610. in: query
  31611. name: includesub
  31612. type: integer
  31613. produces:
  31614. - application/json
  31615. responses:
  31616. "200":
  31617. description: OK
  31618. schema:
  31619. items:
  31620. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  31621. type: array
  31622. "500":
  31623. description: Internal Server Error
  31624. schema:
  31625. $ref: '#/definitions/app.Response'
  31626. security:
  31627. - ApiKeyAuth: []
  31628. summary: 查询委托明细
  31629. tags:
  31630. - 大连千海金(PCWeb)
  31631. /QhjMgr/QueryTradePayOrder:
  31632. get:
  31633. parameters:
  31634. - description: 用户ID
  31635. in: query
  31636. name: userid
  31637. required: true
  31638. type: integer
  31639. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  31640. in: query
  31641. name: payflag
  31642. type: string
  31643. - description: 用户类型 1-个人 2-企业
  31644. in: query
  31645. name: userinfotype
  31646. type: integer
  31647. - description: 交易模式
  31648. in: query
  31649. name: trademode
  31650. type: integer
  31651. - description: 商品id
  31652. in: query
  31653. name: goodsid
  31654. type: integer
  31655. - description: 名称(模糊搜索账户)
  31656. in: query
  31657. name: filtername
  31658. type: string
  31659. - description: 开始交易日(yyyymmdd)
  31660. in: query
  31661. name: begindate
  31662. type: string
  31663. - description: 结束交易日(yyyymmdd)
  31664. in: query
  31665. name: enddate
  31666. type: string
  31667. - description: 是否包含子级 1-包含
  31668. in: query
  31669. name: includesub
  31670. type: integer
  31671. produces:
  31672. - application/json
  31673. responses:
  31674. "200":
  31675. description: OK
  31676. schema:
  31677. items:
  31678. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  31679. type: array
  31680. "500":
  31681. description: Internal Server Error
  31682. schema:
  31683. $ref: '#/definitions/app.Response'
  31684. security:
  31685. - ApiKeyAuth: []
  31686. summary: 查询待付款单
  31687. tags:
  31688. - 大连千海金(PCWeb)
  31689. /QhjMgr/QueryTradePosition:
  31690. get:
  31691. parameters:
  31692. - description: 用户ID
  31693. in: query
  31694. name: userid
  31695. required: true
  31696. type: integer
  31697. - description: 用户类型 1-个人 2-企业
  31698. in: query
  31699. name: userinfotype
  31700. type: integer
  31701. - description: 交易模式
  31702. in: query
  31703. name: trademode
  31704. type: integer
  31705. - description: 商品id
  31706. in: query
  31707. name: goodsid
  31708. type: integer
  31709. - description: 名称(模糊搜索账户)
  31710. in: query
  31711. name: filtername
  31712. type: string
  31713. - description: 是否包含子级 1-包含
  31714. in: query
  31715. name: includesub
  31716. type: integer
  31717. produces:
  31718. - application/json
  31719. responses:
  31720. "200":
  31721. description: OK
  31722. schema:
  31723. items:
  31724. $ref: '#/definitions/models.QhjMgrPositionRsp'
  31725. type: array
  31726. "500":
  31727. description: Internal Server Error
  31728. schema:
  31729. $ref: '#/definitions/app.Response'
  31730. security:
  31731. - ApiKeyAuth: []
  31732. summary: 查询持仓汇总
  31733. tags:
  31734. - 大连千海金(PCWeb)
  31735. /QhjSys/QueryAgreementChangeLog:
  31736. get:
  31737. parameters:
  31738. - description: 协议ID
  31739. in: query
  31740. name: agreementid
  31741. type: integer
  31742. - description: 协议版本号
  31743. in: query
  31744. name: agreementversion
  31745. type: integer
  31746. - description: 协议类型 - 1:注册 2:登录 3:交易
  31747. in: query
  31748. name: agreementtype
  31749. type: integer
  31750. - description: 协议编号(模糊匹配)
  31751. in: query
  31752. name: agreementno
  31753. type: string
  31754. - description: 协议名称(模糊匹配)
  31755. in: query
  31756. name: agreementname
  31757. type: string
  31758. produces:
  31759. - application/json
  31760. responses:
  31761. "200":
  31762. description: OK
  31763. schema:
  31764. items:
  31765. $ref: '#/definitions/models.QhjAgreementChangeLog'
  31766. type: array
  31767. "500":
  31768. description: Internal Server Error
  31769. schema:
  31770. $ref: '#/definitions/app.Response'
  31771. security:
  31772. - ApiKeyAuth: []
  31773. summary: 查询协议配置变更流水
  31774. tags:
  31775. - 大连千海金(协议和签约信息)
  31776. /QhjSys/QueryAgreementConfig:
  31777. get:
  31778. parameters:
  31779. - description: 协议ID
  31780. in: query
  31781. name: agreementid
  31782. type: integer
  31783. - description: 协议版本号
  31784. in: query
  31785. name: agreementversion
  31786. type: integer
  31787. - description: 协议类型 - 1:注册 2:登录 3:交易
  31788. in: query
  31789. name: agreementtype
  31790. type: integer
  31791. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  31792. in: query
  31793. name: isvalid
  31794. type: integer
  31795. - description: 协议编号(模糊匹配)
  31796. in: query
  31797. name: agreementno
  31798. type: string
  31799. - description: 协议名称(模糊匹配)
  31800. in: query
  31801. name: agreementname
  31802. type: string
  31803. produces:
  31804. - application/json
  31805. responses:
  31806. "200":
  31807. description: OK
  31808. schema:
  31809. items:
  31810. $ref: '#/definitions/models.QhjAgreementConfig'
  31811. type: array
  31812. "500":
  31813. description: Internal Server Error
  31814. schema:
  31815. $ref: '#/definitions/app.Response'
  31816. security:
  31817. - ApiKeyAuth: []
  31818. summary: 查询协议配置
  31819. tags:
  31820. - 大连千海金(协议和签约信息)
  31821. /QhjSys/QueryCustomerSignStatus:
  31822. get:
  31823. parameters:
  31824. - description: 客户ID
  31825. in: query
  31826. name: userid
  31827. type: integer
  31828. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  31829. in: query
  31830. name: nodetype
  31831. type: integer
  31832. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31833. in: query
  31834. name: goodsid
  31835. type: integer
  31836. - description: 创建交易日(yyyyMMdd)
  31837. in: query
  31838. name: tradedate
  31839. type: string
  31840. - description: 用户名称(模糊匹配)
  31841. in: query
  31842. name: username
  31843. type: string
  31844. produces:
  31845. - application/json
  31846. responses:
  31847. "200":
  31848. description: OK
  31849. schema:
  31850. items:
  31851. $ref: '#/definitions/models.QhjCustomerSignStatus'
  31852. type: array
  31853. "500":
  31854. description: Internal Server Error
  31855. schema:
  31856. $ref: '#/definitions/app.Response'
  31857. security:
  31858. - ApiKeyAuth: []
  31859. summary: 查询客户协议签约状态
  31860. tags:
  31861. - 大连千海金(协议和签约信息)
  31862. /QhjSys/QueryNodeAgreementConfig:
  31863. get:
  31864. parameters:
  31865. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31866. in: query
  31867. name: configid
  31868. type: integer
  31869. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31870. in: query
  31871. name: nodetype
  31872. type: integer
  31873. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31874. in: query
  31875. name: goodsid
  31876. type: integer
  31877. - description: 协议ID
  31878. in: query
  31879. name: agreementid
  31880. type: integer
  31881. - description: 协议类型 - 1:注册 2:登录 3:交易
  31882. in: query
  31883. name: agreementtype
  31884. type: integer
  31885. - description: 协议版本号
  31886. in: query
  31887. name: agreementversion
  31888. type: integer
  31889. - description: 协议编号(模糊匹配)
  31890. in: query
  31891. name: agreementno
  31892. type: string
  31893. - description: 协议名称(模糊匹配)
  31894. in: query
  31895. name: agreementname
  31896. type: string
  31897. produces:
  31898. - application/json
  31899. responses:
  31900. "200":
  31901. description: OK
  31902. schema:
  31903. items:
  31904. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  31905. type: array
  31906. "500":
  31907. description: Internal Server Error
  31908. schema:
  31909. $ref: '#/definitions/app.Response'
  31910. security:
  31911. - ApiKeyAuth: []
  31912. summary: 查询协议节点配置
  31913. tags:
  31914. - 大连千海金(协议和签约信息)
  31915. /QhjSys/QueryQhjCustomerSignLog:
  31916. get:
  31917. parameters:
  31918. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  31919. in: query
  31920. name: logid
  31921. type: integer
  31922. - description: 客户ID
  31923. in: query
  31924. name: userid
  31925. type: integer
  31926. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31927. in: query
  31928. name: nodetype
  31929. type: integer
  31930. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31931. in: query
  31932. name: goodsid
  31933. type: integer
  31934. - description: 协议ID
  31935. in: query
  31936. name: agreementid
  31937. type: integer
  31938. - description: 用户名称(模糊匹配)
  31939. in: query
  31940. name: username
  31941. type: string
  31942. - description: 协议编号(模糊匹配)
  31943. in: query
  31944. name: agreementno
  31945. type: string
  31946. - description: 协议名称(模糊匹配)
  31947. in: query
  31948. name: agreementname
  31949. type: string
  31950. produces:
  31951. - application/json
  31952. responses:
  31953. "200":
  31954. description: OK
  31955. schema:
  31956. items:
  31957. $ref: '#/definitions/models.QhjCustomerSignLog'
  31958. type: array
  31959. "500":
  31960. description: Internal Server Error
  31961. schema:
  31962. $ref: '#/definitions/app.Response'
  31963. security:
  31964. - ApiKeyAuth: []
  31965. summary: 查询客户协议签约流水
  31966. tags:
  31967. - 大连千海金(协议和签约信息)
  31968. /QhjSys/QueryUserNodeCfgAndStatus:
  31969. get:
  31970. parameters:
  31971. - description: 客户ID
  31972. in: query
  31973. name: userid
  31974. type: integer
  31975. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31976. in: query
  31977. name: configid
  31978. type: integer
  31979. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31980. in: query
  31981. name: nodetype
  31982. type: string
  31983. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31984. in: query
  31985. name: goodsid
  31986. type: integer
  31987. - description: 协议ID
  31988. in: query
  31989. name: agreementid
  31990. type: integer
  31991. - description: 协议类型 - 1:注册 2:登录 3:交易
  31992. in: query
  31993. name: agreementtype
  31994. type: integer
  31995. - description: 协议版本号
  31996. in: query
  31997. name: agreementversion
  31998. type: integer
  31999. - description: 协议编号(模糊匹配)
  32000. in: query
  32001. name: agreementno
  32002. type: string
  32003. - description: 协议名称(模糊匹配)
  32004. in: query
  32005. name: agreementname
  32006. type: string
  32007. produces:
  32008. - application/json
  32009. responses:
  32010. "200":
  32011. description: OK
  32012. schema:
  32013. items:
  32014. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  32015. type: array
  32016. "500":
  32017. description: Internal Server Error
  32018. schema:
  32019. $ref: '#/definitions/app.Response'
  32020. security:
  32021. - ApiKeyAuth: []
  32022. summary: 查询用户协议节点配置和状态
  32023. tags:
  32024. - 大连千海金(协议和签约信息)
  32025. /Quote/QueryHistoryDatas:
  32026. get:
  32027. parameters:
  32028. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  32029. 日线 12:周线 13:月线 14:年线'
  32030. in: query
  32031. name: cycleType
  32032. required: true
  32033. type: integer
  32034. - description: 商品代码
  32035. in: query
  32036. name: goodsCode
  32037. required: true
  32038. type: string
  32039. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  32040. in: query
  32041. name: startTime
  32042. type: string
  32043. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  32044. in: query
  32045. name: endTime
  32046. type: string
  32047. - description: 条数
  32048. in: query
  32049. name: count
  32050. type: integer
  32051. - description: 是否按时间顺序排序(默认为时间倒序排序)
  32052. in: query
  32053. name: isAsc
  32054. type: boolean
  32055. produces:
  32056. - application/json
  32057. responses:
  32058. "200":
  32059. description: OK
  32060. schema:
  32061. $ref: '#/definitions/quote.HistoryData'
  32062. "500":
  32063. description: Internal Server Error
  32064. schema:
  32065. $ref: '#/definitions/app.Response'
  32066. security:
  32067. - ApiKeyAuth: []
  32068. summary: 查询行情历史数据
  32069. tags:
  32070. - 行情服务
  32071. /Quote/QueryHistoryTikDatas:
  32072. get:
  32073. parameters:
  32074. - description: 商品代码
  32075. in: query
  32076. name: goodsCode
  32077. required: true
  32078. type: string
  32079. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  32080. in: query
  32081. name: startTime
  32082. type: string
  32083. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  32084. in: query
  32085. name: endTime
  32086. type: string
  32087. - description: 条数
  32088. in: query
  32089. name: count
  32090. type: integer
  32091. - description: 是否按时间顺序排序(默认为时间倒序排序)
  32092. in: query
  32093. name: isAsc
  32094. type: boolean
  32095. produces:
  32096. - application/json
  32097. responses:
  32098. "200":
  32099. description: OK
  32100. schema:
  32101. $ref: '#/definitions/quote.HistoryTikData'
  32102. "500":
  32103. description: Internal Server Error
  32104. schema:
  32105. $ref: '#/definitions/app.Response'
  32106. security:
  32107. - ApiKeyAuth: []
  32108. summary: 查询行情Tik数据
  32109. tags:
  32110. - 行情服务
  32111. /Quote/QueryQuoteDay:
  32112. get:
  32113. parameters:
  32114. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  32115. in: query
  32116. name: goodsCodes
  32117. type: string
  32118. produces:
  32119. - application/json
  32120. responses:
  32121. "200":
  32122. description: OK
  32123. schema:
  32124. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  32125. "500":
  32126. description: Internal Server Error
  32127. schema:
  32128. $ref: '#/definitions/app.Response'
  32129. security:
  32130. - ApiKeyAuth: []
  32131. summary: 获取商品盘面信息
  32132. tags:
  32133. - 行情服务
  32134. /Quote/QueryTSData:
  32135. get:
  32136. parameters:
  32137. - description: 商品代码
  32138. in: query
  32139. name: goodsCode
  32140. required: true
  32141. type: string
  32142. produces:
  32143. - application/json
  32144. responses:
  32145. "200":
  32146. description: OK
  32147. schema:
  32148. $ref: '#/definitions/quote.QueryTSDataRsp'
  32149. "500":
  32150. description: Internal Server Error
  32151. schema:
  32152. $ref: '#/definitions/app.Response'
  32153. security:
  32154. - ApiKeyAuth: []
  32155. summary: 分时图数据查询
  32156. tags:
  32157. - 行情服务
  32158. /SZDZ/QueryConvertConfig:
  32159. get:
  32160. parameters:
  32161. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  32162. 6:交易转花生米(不设置)
  32163. in: query
  32164. name: convertType
  32165. type: integer
  32166. - description: 外部商品代码[JD\PD]
  32167. in: query
  32168. name: outerGoodsCode
  32169. type: string
  32170. - description: 内部商品ID列表[交易],格式:1,2,3
  32171. in: query
  32172. name: innerGoodsIDs
  32173. type: string
  32174. produces:
  32175. - application/json
  32176. responses:
  32177. "200":
  32178. description: OK
  32179. schema:
  32180. $ref: '#/definitions/models.Szdz3convertconfig'
  32181. "500":
  32182. description: Internal Server Error
  32183. schema:
  32184. $ref: '#/definitions/app.Response'
  32185. security:
  32186. - ApiKeyAuth: []
  32187. summary: 查询交易系统转换设置
  32188. tags:
  32189. - 定制【尚志大宗】
  32190. /SZDZ/QueryConvertLog:
  32191. get:
  32192. parameters:
  32193. - description: 资金账户 - 格式:1,2,3
  32194. in: query
  32195. name: accountID
  32196. required: true
  32197. type: string
  32198. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  32199. in: query
  32200. name: startDate
  32201. type: string
  32202. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  32203. in: query
  32204. name: endDate
  32205. type: string
  32206. produces:
  32207. - application/json
  32208. responses:
  32209. "200":
  32210. description: OK
  32211. schema:
  32212. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  32213. "500":
  32214. description: Internal Server Error
  32215. schema:
  32216. $ref: '#/definitions/app.Response'
  32217. security:
  32218. - ApiKeyAuth: []
  32219. summary: 交易系统转换流水查询
  32220. tags:
  32221. - 定制【尚志大宗】
  32222. /SZDZ/QueryGoodsPickup:
  32223. get:
  32224. parameters:
  32225. - description: 资金账户 - 格式:1,2,3
  32226. in: query
  32227. name: accountID
  32228. required: true
  32229. type: string
  32230. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32231. in: query
  32232. name: takeOrderStatus
  32233. type: integer
  32234. produces:
  32235. - application/json
  32236. responses:
  32237. "200":
  32238. description: OK
  32239. schema:
  32240. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  32241. "500":
  32242. description: Internal Server Error
  32243. schema:
  32244. $ref: '#/definitions/app.Response'
  32245. security:
  32246. - ApiKeyAuth: []
  32247. summary: 商品提货单查询
  32248. tags:
  32249. - 定制【尚志大宗】
  32250. /SZDZ/QueryRecieptOrder:
  32251. get:
  32252. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  32253. parameters:
  32254. - description: 页码
  32255. in: query
  32256. name: page
  32257. type: integer
  32258. - description: 每页条数
  32259. in: query
  32260. name: pagesize
  32261. type: integer
  32262. - description: 商品ID
  32263. in: query
  32264. name: goodsID
  32265. required: true
  32266. type: integer
  32267. - description: 所属账户名称
  32268. in: query
  32269. name: accountName
  32270. type: string
  32271. - description: 市场ID
  32272. in: query
  32273. name: marketID
  32274. type: integer
  32275. - description: 方向 - 0:买 1:卖
  32276. in: query
  32277. name: buyorsell
  32278. required: true
  32279. type: integer
  32280. produces:
  32281. - application/json
  32282. responses:
  32283. "200":
  32284. description: OK
  32285. schema:
  32286. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  32287. "500":
  32288. description: Internal Server Error
  32289. schema:
  32290. $ref: '#/definitions/app.Response'
  32291. security:
  32292. - ApiKeyAuth: []
  32293. summary: 点选挂牌委托单据查询(摘牌大厅)
  32294. tags:
  32295. - 定制【尚志大宗】
  32296. /SZDZ/QuerySZDZTradePosition:
  32297. get:
  32298. parameters:
  32299. - description: 资金账户
  32300. in: query
  32301. name: accountID
  32302. required: true
  32303. type: integer
  32304. produces:
  32305. - application/json
  32306. responses:
  32307. "200":
  32308. description: OK
  32309. schema:
  32310. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  32311. "500":
  32312. description: Internal Server Error
  32313. schema:
  32314. $ref: '#/definitions/app.Response'
  32315. security:
  32316. - ApiKeyAuth: []
  32317. summary: 持仓汇总查询(尚志大宗)
  32318. tags:
  32319. - 定制【尚志大宗】
  32320. /SZDZ/SearchWhite:
  32321. get:
  32322. parameters:
  32323. - description: 用户ID
  32324. in: query
  32325. name: userID
  32326. required: true
  32327. type: integer
  32328. produces:
  32329. - application/json
  32330. responses:
  32331. "200":
  32332. description: OK
  32333. schema:
  32334. $ref: '#/definitions/models.Szdz3searchwhitelist'
  32335. "500":
  32336. description: Internal Server Error
  32337. schema:
  32338. $ref: '#/definitions/app.Response'
  32339. security:
  32340. - ApiKeyAuth: []
  32341. summary: 搜索白名单
  32342. tags:
  32343. - 定制【尚志大宗】
  32344. /Search/SearchGoodses:
  32345. get:
  32346. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  32347. parameters:
  32348. - description: 检索内容
  32349. in: query
  32350. name: content
  32351. required: true
  32352. type: string
  32353. - description: 交易模式,格式:1,2,3
  32354. in: query
  32355. name: tradeModes
  32356. type: string
  32357. produces:
  32358. - application/json
  32359. responses:
  32360. "200":
  32361. description: OK
  32362. schema:
  32363. $ref: '#/definitions/models.SearchGoods'
  32364. "500":
  32365. description: Internal Server Error
  32366. schema:
  32367. $ref: '#/definitions/app.Response'
  32368. summary: 检索商品信息
  32369. tags:
  32370. - 检索服务
  32371. /TaAccount/GetTaAccounts:
  32372. get:
  32373. parameters:
  32374. - description: 登录账户
  32375. in: query
  32376. name: loginID
  32377. required: true
  32378. type: integer
  32379. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  32380. in: query
  32381. name: taAccountType
  32382. type: integer
  32383. produces:
  32384. - application/json
  32385. responses:
  32386. "200":
  32387. description: OK
  32388. schema:
  32389. $ref: '#/definitions/models.Taaccount'
  32390. "500":
  32391. description: Internal Server Error
  32392. schema:
  32393. $ref: '#/definitions/app.Response'
  32394. security:
  32395. - ApiKeyAuth: []
  32396. summary: 获取资金账户信息
  32397. tags:
  32398. - 资金账户
  32399. /TaAccount/QueryAmountLog:
  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: 分页标志 0-page从0开始 1-page从1开始
  32411. in: query
  32412. name: pageflag
  32413. type: integer
  32414. - description: 资金账户 - 格式:1,2,3
  32415. in: query
  32416. name: accountID
  32417. required: true
  32418. type: string
  32419. - description: 资金操作类型 - 格式:1,2,3
  32420. in: query
  32421. name: OperateType
  32422. type: string
  32423. produces:
  32424. - application/json
  32425. responses:
  32426. "200":
  32427. description: OK
  32428. schema:
  32429. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  32430. "500":
  32431. description: Internal Server Error
  32432. schema:
  32433. $ref: '#/definitions/app.Response'
  32434. security:
  32435. - ApiKeyAuth: []
  32436. summary: 资金流水查询(当前)
  32437. tags:
  32438. - 资金账户
  32439. /TaAccount/QueryHisAmountLog:
  32440. get:
  32441. parameters:
  32442. - description: 页码
  32443. in: query
  32444. name: page
  32445. type: integer
  32446. - description: 每页条数
  32447. in: query
  32448. name: pagesize
  32449. type: integer
  32450. - description: 分页标志 0-page从0开始 1-page从1开始
  32451. in: query
  32452. name: pageflag
  32453. type: integer
  32454. - description: 资金账户 - 格式:1,2,3
  32455. in: query
  32456. name: accountID
  32457. required: true
  32458. type: string
  32459. - description: 资金操作类型 - 格式:1,2,3
  32460. in: query
  32461. name: OperateType
  32462. type: string
  32463. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  32464. in: query
  32465. name: startDate
  32466. type: string
  32467. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  32468. in: query
  32469. name: endDate
  32470. type: string
  32471. produces:
  32472. - application/json
  32473. responses:
  32474. "200":
  32475. description: OK
  32476. schema:
  32477. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  32478. "500":
  32479. description: Internal Server Error
  32480. schema:
  32481. $ref: '#/definitions/app.Response'
  32482. security:
  32483. - ApiKeyAuth: []
  32484. summary: 资金流水查询(历史)
  32485. tags:
  32486. - 资金账户
  32487. /TaAccount/QueryRelatedTaAccount:
  32488. get:
  32489. parameters:
  32490. - description: 关联UserID
  32491. in: query
  32492. name: relateduserid
  32493. required: true
  32494. type: integer
  32495. produces:
  32496. - application/json
  32497. responses:
  32498. "200":
  32499. description: OK
  32500. schema:
  32501. items:
  32502. $ref: '#/definitions/models.RelatedTaAccount'
  32503. type: array
  32504. "500":
  32505. description: Internal Server Error
  32506. schema:
  32507. $ref: '#/definitions/app.Response'
  32508. security:
  32509. - ApiKeyAuth: []
  32510. summary: 查询关联资金账户信息
  32511. tags:
  32512. - 资金账户
  32513. /Tjmd/QueryQuoteGoodsList:
  32514. get:
  32515. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  32516. parameters:
  32517. - description: 用户类型
  32518. in: query
  32519. name: usertype
  32520. required: true
  32521. type: integer
  32522. - description: 市场id, 格式 1,2,3
  32523. in: query
  32524. name: marketids
  32525. type: string
  32526. - description: 商品组id
  32527. in: query
  32528. name: goodsgroupid
  32529. type: integer
  32530. - description: 商品id
  32531. in: query
  32532. name: goodsid
  32533. type: integer
  32534. produces:
  32535. - application/json
  32536. responses:
  32537. "200":
  32538. description: OK
  32539. schema:
  32540. items:
  32541. $ref: '#/definitions/models.TjmdQuoteGoods'
  32542. type: array
  32543. "500":
  32544. description: Internal Server Error
  32545. schema:
  32546. $ref: '#/definitions/app.Response'
  32547. security:
  32548. - ApiKeyAuth: []
  32549. summary: 查询掉期报价列表
  32550. tags:
  32551. - 天津麦顿
  32552. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  32553. get:
  32554. parameters:
  32555. - description: 成交单号
  32556. in: query
  32557. name: tradeid
  32558. required: true
  32559. type: string
  32560. produces:
  32561. - application/json
  32562. responses:
  32563. "200":
  32564. description: OK
  32565. schema:
  32566. items:
  32567. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  32568. type: array
  32569. "500":
  32570. description: Internal Server Error
  32571. schema:
  32572. $ref: '#/definitions/app.Response'
  32573. security:
  32574. - ApiKeyAuth: []
  32575. summary: 掉期商品订单详情(交易确认书)
  32576. tags:
  32577. - 天津麦顿
  32578. /Tjmd/QueryTjmdMarketSection:
  32579. get:
  32580. produces:
  32581. - application/json
  32582. responses:
  32583. "200":
  32584. description: OK
  32585. schema:
  32586. items:
  32587. $ref: '#/definitions/models.TjmdMarketSection'
  32588. type: array
  32589. "500":
  32590. description: Internal Server Error
  32591. schema:
  32592. $ref: '#/definitions/app.Response'
  32593. security:
  32594. - ApiKeyAuth: []
  32595. summary: 查询市场板块
  32596. tags:
  32597. - 天津麦顿
  32598. /Tjmd/QueryTjmdTodayAccountMargin:
  32599. get:
  32600. parameters:
  32601. - description: 市场id
  32602. in: query
  32603. name: marketid
  32604. type: string
  32605. - description: 商品id
  32606. in: query
  32607. name: goodsid
  32608. type: string
  32609. - description: 资金账号
  32610. in: query
  32611. name: accountid
  32612. type: string
  32613. produces:
  32614. - application/json
  32615. responses:
  32616. "200":
  32617. description: OK
  32618. schema:
  32619. items:
  32620. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  32621. type: array
  32622. "500":
  32623. description: Internal Server Error
  32624. schema:
  32625. $ref: '#/definitions/app.Response'
  32626. security:
  32627. - ApiKeyAuth: []
  32628. summary: 查询今日账户保证金配置
  32629. tags:
  32630. - 天津麦顿
  32631. /Tjmd/QueryTjmdTradeOrderDetail:
  32632. get:
  32633. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  32634. parameters:
  32635. - description: 页码
  32636. in: query
  32637. name: page
  32638. type: integer
  32639. - description: 每页条数
  32640. in: query
  32641. name: pagesize
  32642. type: integer
  32643. - description: 用户id
  32644. in: query
  32645. name: userid
  32646. required: true
  32647. type: integer
  32648. - description: 用户类型
  32649. in: query
  32650. name: usertype
  32651. required: true
  32652. type: integer
  32653. - description: 市场id, 格式 1,2,3
  32654. in: query
  32655. name: marketids
  32656. type: string
  32657. - description: 商品id
  32658. in: query
  32659. name: goodsid
  32660. required: true
  32661. type: integer
  32662. - description: 买卖方向 0-买 1-卖
  32663. in: query
  32664. name: buyorsell
  32665. required: true
  32666. type: integer
  32667. produces:
  32668. - application/json
  32669. responses:
  32670. "200":
  32671. description: OK
  32672. schema:
  32673. items:
  32674. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  32675. type: array
  32676. "500":
  32677. description: Internal Server Error
  32678. schema:
  32679. $ref: '#/definitions/app.Response'
  32680. security:
  32681. - ApiKeyAuth: []
  32682. summary: 查询掉期买卖大厅
  32683. tags:
  32684. - 天津麦顿
  32685. /Tjmd/QueryTjmdTransferApply:
  32686. get:
  32687. parameters:
  32688. - description: 类型 1-我的申请 2-对方申请
  32689. in: query
  32690. name: applytype
  32691. required: true
  32692. type: integer
  32693. - description: 市场id, 格式 1,2,3
  32694. in: query
  32695. name: marketids
  32696. type: string
  32697. - description: 资金账号, 格式 25000000001,25000000003
  32698. in: query
  32699. name: accountids
  32700. type: string
  32701. - description: 开始交易日(yyyymmdd)
  32702. in: query
  32703. name: begindate
  32704. type: string
  32705. - description: 结束交易日(yyyymmdd)
  32706. in: query
  32707. name: enddate
  32708. type: string
  32709. produces:
  32710. - application/json
  32711. responses:
  32712. "200":
  32713. description: OK
  32714. schema:
  32715. items:
  32716. $ref: '#/definitions/models.TjmdTransferApply'
  32717. type: array
  32718. "500":
  32719. description: Internal Server Error
  32720. schema:
  32721. $ref: '#/definitions/app.Response'
  32722. security:
  32723. - ApiKeyAuth: []
  32724. summary: 查询掉期协议单
  32725. tags:
  32726. - 天津麦顿
  32727. /Trade/QueryRecieptOrder:
  32728. get:
  32729. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  32730. parameters:
  32731. - description: 页码
  32732. in: query
  32733. name: page
  32734. type: integer
  32735. - description: 每页条数
  32736. in: query
  32737. name: pagesize
  32738. type: integer
  32739. - description: 商品ID
  32740. in: query
  32741. name: goodsID
  32742. required: true
  32743. type: integer
  32744. - description: 所属账户名称
  32745. in: query
  32746. name: accountName
  32747. type: string
  32748. - description: 市场ID
  32749. in: query
  32750. name: marketID
  32751. type: integer
  32752. - description: 方向 - 0:买 1:卖
  32753. in: query
  32754. name: buyorsell
  32755. required: true
  32756. type: integer
  32757. produces:
  32758. - application/json
  32759. responses:
  32760. "200":
  32761. description: OK
  32762. schema:
  32763. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  32764. "500":
  32765. description: Internal Server Error
  32766. schema:
  32767. $ref: '#/definitions/app.Response'
  32768. security:
  32769. - ApiKeyAuth: []
  32770. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  32771. tags:
  32772. - 通用交易
  32773. /User/AddMessageBoard:
  32774. post:
  32775. parameters:
  32776. - description: 用户ID
  32777. in: query
  32778. name: userID
  32779. required: true
  32780. type: integer
  32781. - description: 留言信息
  32782. in: query
  32783. name: message
  32784. required: true
  32785. type: string
  32786. - description: 联系电话
  32787. in: query
  32788. name: contactNum
  32789. required: true
  32790. type: string
  32791. produces:
  32792. - application/json
  32793. responses:
  32794. "200":
  32795. description: OK
  32796. schema:
  32797. $ref: '#/definitions/app.Response'
  32798. "500":
  32799. description: Internal Server Error
  32800. schema:
  32801. $ref: '#/definitions/app.Response'
  32802. security:
  32803. - ApiKeyAuth: []
  32804. summary: 添加用户留言板信息
  32805. tags:
  32806. - 用户信息
  32807. /User/AddUserFavoriteGoods:
  32808. post:
  32809. parameters:
  32810. - description: 用户ID
  32811. in: query
  32812. name: userID
  32813. required: true
  32814. type: integer
  32815. - description: 商品ID
  32816. in: query
  32817. name: goodsID
  32818. required: true
  32819. type: integer
  32820. produces:
  32821. - application/json
  32822. responses:
  32823. "200":
  32824. description: OK
  32825. schema:
  32826. $ref: '#/definitions/app.Response'
  32827. "500":
  32828. description: Internal Server Error
  32829. schema:
  32830. $ref: '#/definitions/app.Response'
  32831. security:
  32832. - ApiKeyAuth: []
  32833. summary: 添加用户商品收藏信息
  32834. tags:
  32835. - 用户信息
  32836. /User/GetLoginID:
  32837. get:
  32838. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  32839. parameters:
  32840. - description: 登录代码
  32841. in: query
  32842. name: username
  32843. required: true
  32844. type: string
  32845. produces:
  32846. - application/json
  32847. responses:
  32848. "200":
  32849. description: OK
  32850. schema:
  32851. $ref: '#/definitions/app.Response'
  32852. "500":
  32853. description: Internal Server Error
  32854. schema:
  32855. $ref: '#/definitions/app.Response'
  32856. summary: 获取登录ID
  32857. tags:
  32858. - 用户信息
  32859. /User/GetUserAccount:
  32860. get:
  32861. parameters:
  32862. - description: 用户ID
  32863. in: query
  32864. name: userID
  32865. required: true
  32866. type: integer
  32867. produces:
  32868. - application/json
  32869. responses:
  32870. "200":
  32871. description: OK
  32872. schema:
  32873. $ref: '#/definitions/models.Useraccount'
  32874. "500":
  32875. description: Internal Server Error
  32876. schema:
  32877. $ref: '#/definitions/app.Response'
  32878. security:
  32879. - ApiKeyAuth: []
  32880. summary: 获取用户账号信息
  32881. tags:
  32882. - 用户信息
  32883. /User/GetUserAuthStatus:
  32884. get:
  32885. parameters:
  32886. - description: 用户ID
  32887. in: query
  32888. name: userID
  32889. required: true
  32890. type: integer
  32891. produces:
  32892. - application/json
  32893. responses:
  32894. "200":
  32895. description: OK
  32896. schema:
  32897. $ref: '#/definitions/app.Response'
  32898. "500":
  32899. description: Internal Server Error
  32900. schema:
  32901. $ref: '#/definitions/app.Response'
  32902. security:
  32903. - ApiKeyAuth: []
  32904. summary: 获取用户实名认证状态
  32905. tags:
  32906. - 用户信息
  32907. /User/LoginQuery:
  32908. get:
  32909. parameters:
  32910. - description: 登录账号
  32911. in: query
  32912. name: loginID
  32913. required: true
  32914. type: integer
  32915. produces:
  32916. - application/json
  32917. responses:
  32918. "200":
  32919. description: OK
  32920. schema:
  32921. $ref: '#/definitions/user.LoginQueryRsp'
  32922. "500":
  32923. description: Internal Server Error
  32924. schema:
  32925. $ref: '#/definitions/app.Response'
  32926. security:
  32927. - ApiKeyAuth: []
  32928. summary: 账户登录后信息查询
  32929. tags:
  32930. - 用户信息
  32931. /User/QueryMessageBoard:
  32932. get:
  32933. parameters:
  32934. - description: 用户ID
  32935. in: query
  32936. name: userID
  32937. required: true
  32938. type: integer
  32939. produces:
  32940. - application/json
  32941. responses:
  32942. "200":
  32943. description: OK
  32944. schema:
  32945. $ref: '#/definitions/models.Messageboard'
  32946. "500":
  32947. description: Internal Server Error
  32948. schema:
  32949. $ref: '#/definitions/app.Response'
  32950. security:
  32951. - ApiKeyAuth: []
  32952. summary: 获取用户留言板信息
  32953. tags:
  32954. - 用户信息
  32955. /User/QueryUserFavoriteGoodses:
  32956. get:
  32957. parameters:
  32958. - description: 用户ID
  32959. in: query
  32960. name: userID
  32961. required: true
  32962. type: integer
  32963. produces:
  32964. - application/json
  32965. responses:
  32966. "200":
  32967. description: OK
  32968. schema:
  32969. $ref: '#/definitions/models.Userfavoritegoods'
  32970. "500":
  32971. description: Internal Server Error
  32972. schema:
  32973. $ref: '#/definitions/app.Response'
  32974. security:
  32975. - ApiKeyAuth: []
  32976. summary: 获取用户商品收藏信息
  32977. tags:
  32978. - 用户信息
  32979. /User/QueryUserInfo:
  32980. get:
  32981. parameters:
  32982. - description: 用户ID
  32983. in: query
  32984. name: userID
  32985. required: true
  32986. type: integer
  32987. - description: 是否解密
  32988. in: query
  32989. name: isDecrypt
  32990. type: boolean
  32991. produces:
  32992. - application/json
  32993. responses:
  32994. "200":
  32995. description: OK
  32996. schema:
  32997. $ref: '#/definitions/models.Userinfo'
  32998. "500":
  32999. description: Internal Server Error
  33000. schema:
  33001. $ref: '#/definitions/app.Response'
  33002. security:
  33003. - ApiKeyAuth: []
  33004. summary: 获取用户信息
  33005. tags:
  33006. - 用户信息
  33007. /User/QueryUserReferNum:
  33008. get:
  33009. parameters:
  33010. - description: 用户ID
  33011. in: query
  33012. name: userID
  33013. required: true
  33014. type: integer
  33015. produces:
  33016. - application/json
  33017. responses:
  33018. "200":
  33019. description: OK
  33020. schema:
  33021. $ref: '#/definitions/app.Response'
  33022. "500":
  33023. description: Internal Server Error
  33024. schema:
  33025. $ref: '#/definitions/app.Response'
  33026. summary: 获取用户邀请码
  33027. tags:
  33028. - 用户信息
  33029. /User/RemoveUserFavoriteGoods:
  33030. post:
  33031. parameters:
  33032. - description: 用户ID
  33033. in: query
  33034. name: userID
  33035. required: true
  33036. type: integer
  33037. - description: 商品ID
  33038. in: query
  33039. name: goodsID
  33040. required: true
  33041. type: integer
  33042. produces:
  33043. - application/json
  33044. responses:
  33045. "200":
  33046. description: OK
  33047. schema:
  33048. $ref: '#/definitions/app.Response'
  33049. "500":
  33050. description: Internal Server Error
  33051. schema:
  33052. $ref: '#/definitions/app.Response'
  33053. security:
  33054. - ApiKeyAuth: []
  33055. summary: 移除用户商品收藏信息
  33056. tags:
  33057. - 用户信息
  33058. /User/UpdateUserAccountStatus:
  33059. post:
  33060. parameters:
  33061. - description: 用户ID
  33062. in: query
  33063. name: userID
  33064. required: true
  33065. type: integer
  33066. - description: 账户状态 - 4:正常 6:注销(停用)
  33067. in: query
  33068. name: accountStatus
  33069. required: true
  33070. type: integer
  33071. produces:
  33072. - application/json
  33073. responses:
  33074. "200":
  33075. description: OK
  33076. schema:
  33077. $ref: '#/definitions/app.Response'
  33078. "500":
  33079. description: Internal Server Error
  33080. schema:
  33081. $ref: '#/definitions/app.Response'
  33082. security:
  33083. - ApiKeyAuth: []
  33084. summary: 更新用户状态
  33085. tags:
  33086. - 用户信息
  33087. /WRTrade/GetAllDeliveryGoods:
  33088. get:
  33089. produces:
  33090. - application/json
  33091. responses:
  33092. "200":
  33093. description: OK
  33094. schema:
  33095. $ref: '#/definitions/app.Response'
  33096. "500":
  33097. description: Internal Server Error
  33098. schema:
  33099. $ref: '#/definitions/app.Response'
  33100. security:
  33101. - ApiKeyAuth: []
  33102. summary: 获取带仓单分类的种类信息
  33103. tags:
  33104. - 仓单贸易
  33105. - 仓单贸易
  33106. /WrTrade2/InsertXhcpSellBackApply:
  33107. post:
  33108. parameters:
  33109. - description: 回收申请
  33110. in: body
  33111. name: jsonBody
  33112. required: true
  33113. schema:
  33114. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  33115. produces:
  33116. - application/json
  33117. responses:
  33118. "200":
  33119. description: OK
  33120. schema:
  33121. $ref: '#/definitions/app.Response'
  33122. "500":
  33123. description: Internal Server Error
  33124. schema:
  33125. $ref: '#/definitions/app.Response'
  33126. security:
  33127. - ApiKeyAuth: []
  33128. summary: 新增回收申请(新会陈皮)
  33129. tags:
  33130. - 仓单贸易v2
  33131. /WrTrade2/QueryDeliveryGoodsSection:
  33132. get:
  33133. produces:
  33134. - application/json
  33135. responses:
  33136. "200":
  33137. description: OK
  33138. schema:
  33139. items:
  33140. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  33141. type: array
  33142. "500":
  33143. description: Internal Server Error
  33144. schema:
  33145. $ref: '#/definitions/app.Response'
  33146. security:
  33147. - ApiKeyAuth: []
  33148. summary: 查询板块(分类)
  33149. tags:
  33150. - 仓单贸易v2
  33151. /WrTrade2/QueryFaProductDetail:
  33152. get:
  33153. description: 页面 买卖大厅 -> 选择融资方案
  33154. parameters:
  33155. - description: 仓单要素id
  33156. in: query
  33157. name: wrfactortypeid
  33158. required: true
  33159. type: integer
  33160. produces:
  33161. - application/json
  33162. responses:
  33163. "200":
  33164. description: OK
  33165. schema:
  33166. items:
  33167. $ref: '#/definitions/models.WrFAProductDetail'
  33168. type: array
  33169. "500":
  33170. description: Internal Server Error
  33171. schema:
  33172. $ref: '#/definitions/app.Response'
  33173. security:
  33174. - ApiKeyAuth: []
  33175. summary: 查询融资产品列表
  33176. tags:
  33177. - 仓单贸易v2
  33178. /WrTrade2/QueryFilterItem:
  33179. get:
  33180. parameters:
  33181. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  33182. in: query
  33183. name: itype
  33184. required: true
  33185. type: string
  33186. produces:
  33187. - application/json
  33188. responses:
  33189. "200":
  33190. description: OK
  33191. schema:
  33192. items:
  33193. $ref: '#/definitions/models.WrFilterItem'
  33194. type: array
  33195. "500":
  33196. description: Internal Server Error
  33197. schema:
  33198. $ref: '#/definitions/app.Response'
  33199. security:
  33200. - ApiKeyAuth: []
  33201. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  33202. tags:
  33203. - 仓单贸易v2
  33204. /WrTrade2/QueryFtDeliveryGoods:
  33205. get:
  33206. produces:
  33207. - application/json
  33208. responses:
  33209. "200":
  33210. description: OK
  33211. schema:
  33212. items:
  33213. $ref: '#/definitions/models.WrFtDeliveryGoods'
  33214. type: array
  33215. "500":
  33216. description: Internal Server Error
  33217. schema:
  33218. $ref: '#/definitions/app.Response'
  33219. security:
  33220. - ApiKeyAuth: []
  33221. summary: 查询品种品类筛选框列表
  33222. tags:
  33223. - 仓单贸易v2
  33224. /WrTrade2/QueryHoldLB:
  33225. get:
  33226. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  33227. parameters:
  33228. - description: 资金账号
  33229. in: query
  33230. name: accountid
  33231. required: true
  33232. type: integer
  33233. - description: 仓库id
  33234. in: query
  33235. name: warehouseid
  33236. type: integer
  33237. - description: 品种id
  33238. in: query
  33239. name: deliverygoodsid
  33240. type: integer
  33241. - description: 品类id
  33242. in: query
  33243. name: wrstandardid
  33244. type: integer
  33245. - description: 仓单要素id
  33246. in: query
  33247. name: wrfactortypeid
  33248. type: integer
  33249. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33250. in: query
  33251. name: dgitemname
  33252. type: string
  33253. produces:
  33254. - application/json
  33255. responses:
  33256. "200":
  33257. description: OK
  33258. schema:
  33259. items:
  33260. $ref: '#/definitions/models.WrHoldLB'
  33261. type: array
  33262. "500":
  33263. description: Internal Server Error
  33264. schema:
  33265. $ref: '#/definitions/app.Response'
  33266. security:
  33267. - ApiKeyAuth: []
  33268. summary: 查询仓单持有记录
  33269. tags:
  33270. - 仓单贸易v2
  33271. /WrTrade2/QueryOrderQuote:
  33272. get:
  33273. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  33274. 唯一确定1条记录
  33275. parameters:
  33276. - description: 页码
  33277. in: query
  33278. name: page
  33279. type: integer
  33280. - description: 每页条数
  33281. in: query
  33282. name: pagesize
  33283. type: integer
  33284. - description: 仓单贸易市场id
  33285. in: query
  33286. name: marketid
  33287. type: integer
  33288. - description: 价格方式 - 1:固定价 2-浮动价
  33289. in: query
  33290. name: wrpricetype
  33291. required: true
  33292. type: integer
  33293. - description: 0:仓单预售 1:仓单贸易
  33294. in: query
  33295. name: haswr
  33296. type: integer
  33297. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33298. in: query
  33299. name: dgitemname
  33300. type: string
  33301. - description: 仓库id(筛选条件)
  33302. in: query
  33303. name: warehouseid
  33304. type: integer
  33305. - description: 品种id
  33306. in: query
  33307. name: deliverygoodsid
  33308. type: integer
  33309. - description: 品类id
  33310. in: query
  33311. name: wrstandardid
  33312. type: integer
  33313. - description: 品牌id(dgfactoryitemid)
  33314. in: query
  33315. name: brandid
  33316. type: integer
  33317. - description: 年份id(dgfactoryitemid)
  33318. in: query
  33319. name: yearsid
  33320. type: integer
  33321. - description: 仓单要素id
  33322. in: query
  33323. name: wrfactortypeid
  33324. type: integer
  33325. - description: 交收月(yyyy-mm) 仓单预售填写
  33326. in: query
  33327. name: deliverymonth
  33328. type: string
  33329. produces:
  33330. - application/json
  33331. responses:
  33332. "200":
  33333. description: OK
  33334. schema:
  33335. items:
  33336. $ref: '#/definitions/models.WrOrderQuote'
  33337. type: array
  33338. "500":
  33339. description: Internal Server Error
  33340. schema:
  33341. $ref: '#/definitions/app.Response'
  33342. security:
  33343. - ApiKeyAuth: []
  33344. summary: 查询大厅行情列表
  33345. tags:
  33346. - 仓单贸易v2
  33347. /WrTrade2/QueryOrderQuoteDetail:
  33348. get:
  33349. parameters:
  33350. - description: 页码
  33351. in: query
  33352. name: page
  33353. type: integer
  33354. - description: 每页条数
  33355. in: query
  33356. name: pagesize
  33357. type: integer
  33358. - description: 仓单贸易市场id
  33359. in: query
  33360. name: marketid
  33361. type: integer
  33362. - description: 价格方式 - 1:固定价 2-浮动价
  33363. in: query
  33364. name: wrpricetype
  33365. required: true
  33366. type: integer
  33367. - description: 0:仓单预售 1:仓单贸易
  33368. in: query
  33369. name: haswr
  33370. type: integer
  33371. - description: 仓单要素id
  33372. in: query
  33373. name: wrfactortypeid
  33374. required: true
  33375. type: integer
  33376. - description: 期货商品id(浮动价方式时填)
  33377. in: query
  33378. name: goodsid
  33379. type: integer
  33380. - description: 买卖方向 0-买 1-卖
  33381. in: query
  33382. name: buyorsell
  33383. required: true
  33384. type: integer
  33385. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  33386. in: query
  33387. name: deliverymonth
  33388. type: string
  33389. produces:
  33390. - application/json
  33391. responses:
  33392. "200":
  33393. description: OK
  33394. schema:
  33395. items:
  33396. $ref: '#/definitions/models.WrOrderQuoteDetail'
  33397. type: array
  33398. "500":
  33399. description: Internal Server Error
  33400. schema:
  33401. $ref: '#/definitions/app.Response'
  33402. security:
  33403. - ApiKeyAuth: []
  33404. summary: 查询买卖大厅
  33405. tags:
  33406. - 仓单贸易v2
  33407. /WrTrade2/QueryOrderQuoteMyq:
  33408. get:
  33409. parameters:
  33410. - description: 页码
  33411. in: query
  33412. name: page
  33413. type: integer
  33414. - description: 每页条数
  33415. in: query
  33416. name: pagesize
  33417. type: integer
  33418. - description: 用户id
  33419. in: query
  33420. name: userid
  33421. required: true
  33422. type: integer
  33423. - description: 仓单贸易市场id
  33424. in: query
  33425. name: marketid
  33426. type: integer
  33427. - description: 0:仓单预售 1:仓单贸易
  33428. in: query
  33429. name: haswr
  33430. type: integer
  33431. - description: 买卖方向 0-买 1-卖
  33432. in: query
  33433. name: buyorsell
  33434. required: true
  33435. type: integer
  33436. - description: 品种id
  33437. in: query
  33438. name: deliverygoodsid
  33439. type: integer
  33440. - description: 品类id
  33441. in: query
  33442. name: wrstandardid
  33443. type: integer
  33444. - description: 交收月(yyyy-mm) 仓单预售填写
  33445. in: query
  33446. name: deliverymonth
  33447. type: string
  33448. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33449. in: query
  33450. name: dgitemname
  33451. type: string
  33452. produces:
  33453. - application/json
  33454. responses:
  33455. "200":
  33456. description: OK
  33457. schema:
  33458. items:
  33459. $ref: '#/definitions/models.WrQuoteOrderMyq'
  33460. type: array
  33461. "500":
  33462. description: Internal Server Error
  33463. schema:
  33464. $ref: '#/definitions/app.Response'
  33465. security:
  33466. - ApiKeyAuth: []
  33467. summary: 查询贸易圈挂牌大厅
  33468. tags:
  33469. - 仓单贸易v2
  33470. /WrTrade2/QueryPerformancePlan:
  33471. get:
  33472. parameters:
  33473. - description: 用户id
  33474. in: query
  33475. name: userid
  33476. required: true
  33477. type: integer
  33478. - description: 买卖方向 0-买 1-卖
  33479. in: query
  33480. name: buyorsell
  33481. required: true
  33482. type: integer
  33483. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  33484. 8:释放冻结失败 9:超时待处理 10:超时关闭
  33485. in: query
  33486. name: status
  33487. type: string
  33488. - description: 开始交易日(yyyymmdd)
  33489. in: query
  33490. name: begindate
  33491. type: string
  33492. - description: 结束交易日(yyyymmdd)
  33493. in: query
  33494. name: enddate
  33495. type: string
  33496. produces:
  33497. - application/json
  33498. responses:
  33499. "200":
  33500. description: OK
  33501. schema:
  33502. items:
  33503. $ref: '#/definitions/models.WrPerformancePlan'
  33504. type: array
  33505. "500":
  33506. description: Internal Server Error
  33507. schema:
  33508. $ref: '#/definitions/app.Response'
  33509. security:
  33510. - ApiKeyAuth: []
  33511. summary: 查询履约信息
  33512. tags:
  33513. - 仓单贸易v2
  33514. /WrTrade2/QueryPermancePlanTmp:
  33515. get:
  33516. description: |-
  33517. 返回指定用户的模板和公共模板(用户id为空)
  33518. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  33519. parameters:
  33520. - description: 用户id
  33521. in: query
  33522. name: userid
  33523. type: integer
  33524. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  33525. (无仓单) 5:挂牌期权 6:竞拍-降价式
  33526. in: query
  33527. name: tmptype
  33528. type: string
  33529. - description: 是否包含公共模板(用户id为空的) 1-包含
  33530. in: query
  33531. name: includepub
  33532. type: integer
  33533. - description: 市场id(天津麦顿指定此参数,其它不用)
  33534. in: query
  33535. name: marketid
  33536. type: integer
  33537. produces:
  33538. - application/json
  33539. responses:
  33540. "200":
  33541. description: OK
  33542. schema:
  33543. items:
  33544. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  33545. type: array
  33546. "500":
  33547. description: Internal Server Error
  33548. schema:
  33549. $ref: '#/definitions/app.Response'
  33550. security:
  33551. - ApiKeyAuth: []
  33552. summary: 查询履约模板
  33553. tags:
  33554. - 仓单贸易v2
  33555. /WrTrade2/QuerySiteColumnDetail:
  33556. get:
  33557. parameters:
  33558. - description: 页码
  33559. in: query
  33560. name: page
  33561. type: integer
  33562. - description: 每页条数
  33563. in: query
  33564. name: pagesize
  33565. type: integer
  33566. - description: 所属栏目id
  33567. in: query
  33568. name: columnid
  33569. type: integer
  33570. produces:
  33571. - application/json
  33572. responses:
  33573. "200":
  33574. description: OK
  33575. schema:
  33576. items:
  33577. $ref: '#/definitions/models.WrSiteColumnDetail'
  33578. type: array
  33579. "500":
  33580. description: Internal Server Error
  33581. schema:
  33582. $ref: '#/definitions/app.Response'
  33583. security:
  33584. - ApiKeyAuth: []
  33585. summary: 查询资讯
  33586. tags:
  33587. - 仓单贸易v2
  33588. /WrTrade2/QuerySpotGroupTradeSum:
  33589. get:
  33590. produces:
  33591. - application/json
  33592. responses:
  33593. "200":
  33594. description: OK
  33595. schema:
  33596. items:
  33597. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  33598. type: array
  33599. "500":
  33600. description: Internal Server Error
  33601. schema:
  33602. $ref: '#/definitions/app.Response'
  33603. security:
  33604. - ApiKeyAuth: []
  33605. summary: 查询指数
  33606. tags:
  33607. - 仓单贸易v2
  33608. /WrTrade2/QuerySpotGroupTradeSumDetail:
  33609. get:
  33610. description: 查询的结果将会按日期 从小到大 排序
  33611. parameters:
  33612. - description: 现货商品id
  33613. in: query
  33614. name: deliverygoodsid
  33615. required: true
  33616. type: integer
  33617. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  33618. in: query
  33619. name: lastnum
  33620. type: integer
  33621. produces:
  33622. - application/json
  33623. responses:
  33624. "200":
  33625. description: OK
  33626. schema:
  33627. items:
  33628. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  33629. type: array
  33630. "500":
  33631. description: Internal Server Error
  33632. schema:
  33633. $ref: '#/definitions/app.Response'
  33634. security:
  33635. - ApiKeyAuth: []
  33636. summary: 查询指数详细(价格走势图)
  33637. tags:
  33638. - 仓单贸易v2
  33639. /WrTrade2/QueryWrAverageTradePrice:
  33640. get:
  33641. parameters:
  33642. - description: 页码
  33643. in: query
  33644. name: page
  33645. type: integer
  33646. - description: 每页条数
  33647. in: query
  33648. name: pagesize
  33649. type: integer
  33650. - description: 0:仓单预售 1:仓单贸易
  33651. in: query
  33652. name: haswr
  33653. required: true
  33654. type: integer
  33655. - description: 仓单要素id
  33656. in: query
  33657. name: wrfactortypeid
  33658. required: true
  33659. type: integer
  33660. produces:
  33661. - application/json
  33662. responses:
  33663. "200":
  33664. description: OK
  33665. schema:
  33666. items:
  33667. $ref: '#/definitions/models.WrAverageTradePrice'
  33668. type: array
  33669. "500":
  33670. description: Internal Server Error
  33671. schema:
  33672. $ref: '#/definitions/app.Response'
  33673. security:
  33674. - ApiKeyAuth: []
  33675. summary: 查询成交价(历史走势)
  33676. tags:
  33677. - 仓单贸易v2
  33678. /WrTrade2/QueryWrBrandAndYears:
  33679. get:
  33680. produces:
  33681. - application/json
  33682. responses:
  33683. "200":
  33684. description: OK
  33685. schema:
  33686. items:
  33687. $ref: '#/definitions/models.WrBrandAndYears'
  33688. type: array
  33689. "500":
  33690. description: Internal Server Error
  33691. schema:
  33692. $ref: '#/definitions/app.Response'
  33693. security:
  33694. - ApiKeyAuth: []
  33695. summary: 查询品牌和年份
  33696. tags:
  33697. - 仓单贸易v2
  33698. /WrTrade2/QueryWrBsGoodsInfo:
  33699. get:
  33700. description: 合约交易/买卖大厅/详情
  33701. parameters:
  33702. - description: 商品id
  33703. in: query
  33704. name: goodsid
  33705. required: true
  33706. type: integer
  33707. produces:
  33708. - application/json
  33709. responses:
  33710. "200":
  33711. description: OK
  33712. schema:
  33713. items:
  33714. $ref: '#/definitions/models.WrBsGoodsInfo'
  33715. type: array
  33716. "500":
  33717. description: Internal Server Error
  33718. schema:
  33719. $ref: '#/definitions/app.Response'
  33720. security:
  33721. - ApiKeyAuth: []
  33722. summary: 查询合约交易买卖大厅详情
  33723. tags:
  33724. - 仓单贸易v2
  33725. /WrTrade2/QueryWrBuybackDetail:
  33726. get:
  33727. parameters:
  33728. - description: 融资合同id
  33729. in: query
  33730. name: scfcontractid
  33731. type: integer
  33732. produces:
  33733. - application/json
  33734. responses:
  33735. "200":
  33736. description: OK
  33737. schema:
  33738. items:
  33739. $ref: '#/definitions/models.WrBuybackDetail'
  33740. type: array
  33741. "500":
  33742. description: Internal Server Error
  33743. schema:
  33744. $ref: '#/definitions/app.Response'
  33745. security:
  33746. - ApiKeyAuth: []
  33747. summary: 查询仓单回购明细
  33748. tags:
  33749. - 仓单贸易v2
  33750. /WrTrade2/QueryWrClientAdSpaceConfig:
  33751. get:
  33752. produces:
  33753. - application/json
  33754. responses:
  33755. "200":
  33756. description: OK
  33757. schema:
  33758. items:
  33759. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  33760. type: array
  33761. "500":
  33762. description: Internal Server Error
  33763. schema:
  33764. $ref: '#/definitions/app.Response'
  33765. security:
  33766. - ApiKeyAuth: []
  33767. summary: 查询固定广告配置
  33768. tags:
  33769. - 仓单贸易v2
  33770. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  33771. get:
  33772. parameters:
  33773. - description: 资金账号
  33774. in: query
  33775. name: accountid
  33776. required: true
  33777. type: integer
  33778. - description: 商品id
  33779. in: query
  33780. name: goodsid
  33781. required: true
  33782. type: integer
  33783. produces:
  33784. - application/json
  33785. responses:
  33786. "200":
  33787. description: OK
  33788. schema:
  33789. items:
  33790. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  33791. type: array
  33792. "500":
  33793. description: Internal Server Error
  33794. schema:
  33795. $ref: '#/definitions/app.Response'
  33796. security:
  33797. - ApiKeyAuth: []
  33798. summary: 查询合约交收可点选仓单
  33799. tags:
  33800. - 仓单贸易v2
  33801. /WrTrade2/QueryWrDeliveryDetail:
  33802. get:
  33803. parameters:
  33804. - description: 用户id
  33805. in: query
  33806. name: userid
  33807. required: true
  33808. type: integer
  33809. - description: 资金账号id
  33810. in: query
  33811. name: accountid
  33812. type: integer
  33813. - description: 开始交易日(yyyymmdd)
  33814. in: query
  33815. name: begindate
  33816. type: string
  33817. - description: 结束交易日(yyyymmdd)
  33818. in: query
  33819. name: enddate
  33820. type: string
  33821. produces:
  33822. - application/json
  33823. responses:
  33824. "200":
  33825. description: OK
  33826. schema:
  33827. items:
  33828. $ref: '#/definitions/models.WrDeliveryDetail'
  33829. type: array
  33830. "500":
  33831. description: Internal Server Error
  33832. schema:
  33833. $ref: '#/definitions/app.Response'
  33834. security:
  33835. - ApiKeyAuth: []
  33836. summary: 查询交收
  33837. tags:
  33838. - 仓单贸易v2
  33839. /WrTrade2/QueryWrDraftUserInfo:
  33840. get:
  33841. parameters:
  33842. - description: 用户ID
  33843. in: query
  33844. name: userid
  33845. required: true
  33846. type: integer
  33847. - description: 用户状态 1:正常 2:注销
  33848. in: query
  33849. name: userstatus
  33850. type: integer
  33851. produces:
  33852. - application/json
  33853. responses:
  33854. "200":
  33855. description: OK
  33856. schema:
  33857. items:
  33858. $ref: '#/definitions/models.WrDraftUserInfo'
  33859. type: array
  33860. "500":
  33861. description: Internal Server Error
  33862. schema:
  33863. $ref: '#/definitions/app.Response'
  33864. security:
  33865. - ApiKeyAuth: []
  33866. summary: 查询实名认证信息
  33867. tags:
  33868. - 仓单贸易v2
  33869. /WrTrade2/QueryWrFactorTypeInfo:
  33870. get:
  33871. parameters:
  33872. - description: 仓单要素id
  33873. in: query
  33874. name: wrfactortypeid
  33875. required: true
  33876. type: integer
  33877. produces:
  33878. - application/json
  33879. responses:
  33880. "200":
  33881. description: OK
  33882. schema:
  33883. items:
  33884. $ref: '#/definitions/models.WrFactorTypeInfo'
  33885. type: array
  33886. "500":
  33887. description: Internal Server Error
  33888. schema:
  33889. $ref: '#/definitions/app.Response'
  33890. security:
  33891. - ApiKeyAuth: []
  33892. summary: 查询仓单要素详细信息
  33893. tags:
  33894. - 仓单贸易v2
  33895. /WrTrade2/QueryWrFactorTypeInfoEx:
  33896. get:
  33897. parameters:
  33898. - description: 仓单要素id
  33899. in: query
  33900. name: wrfactortypeid
  33901. required: true
  33902. type: integer
  33903. produces:
  33904. - application/json
  33905. responses:
  33906. "200":
  33907. description: OK
  33908. schema:
  33909. items:
  33910. $ref: '#/definitions/models.WrTypeItem'
  33911. type: array
  33912. "500":
  33913. description: Internal Server Error
  33914. schema:
  33915. $ref: '#/definitions/app.Response'
  33916. security:
  33917. - ApiKeyAuth: []
  33918. summary: 查询仓单要素详细信息列表项
  33919. tags:
  33920. - 仓单贸易v2
  33921. /WrTrade2/QueryWrFinanceBuyApply:
  33922. get:
  33923. description: 页面 融资信息+ / 申请单
  33924. parameters:
  33925. - description: 用户id
  33926. in: query
  33927. name: userid
  33928. required: true
  33929. type: integer
  33930. produces:
  33931. - application/json
  33932. responses:
  33933. "200":
  33934. description: OK
  33935. schema:
  33936. items:
  33937. $ref: '#/definitions/models.WrFinanceBuyApply'
  33938. type: array
  33939. "500":
  33940. description: Internal Server Error
  33941. schema:
  33942. $ref: '#/definitions/app.Response'
  33943. security:
  33944. - ApiKeyAuth: []
  33945. summary: 查询融资购买申请
  33946. tags:
  33947. - 仓单贸易v2
  33948. /WrTrade2/QueryWrFriendApply:
  33949. get:
  33950. parameters:
  33951. - description: 用户id
  33952. in: query
  33953. name: userid
  33954. required: true
  33955. type: integer
  33956. produces:
  33957. - application/json
  33958. responses:
  33959. "200":
  33960. description: OK
  33961. schema:
  33962. items:
  33963. $ref: '#/definitions/models.WrFriendApply'
  33964. type: array
  33965. "500":
  33966. description: Internal Server Error
  33967. schema:
  33968. $ref: '#/definitions/app.Response'
  33969. security:
  33970. - ApiKeyAuth: []
  33971. summary: 查询好友申请记录
  33972. tags:
  33973. - 仓单贸易v2
  33974. /WrTrade2/QueryWrGoodsInfo:
  33975. get:
  33976. parameters:
  33977. - description: 仓单贸易市场id
  33978. in: query
  33979. name: marketid
  33980. type: integer
  33981. - description: 0:仓单预售 1:仓单贸易
  33982. in: query
  33983. name: haswr
  33984. required: true
  33985. type: integer
  33986. - description: 仓单要素id
  33987. in: query
  33988. name: wrfactortypeid
  33989. required: true
  33990. type: integer
  33991. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  33992. in: query
  33993. name: tmplateid
  33994. type: integer
  33995. produces:
  33996. - application/json
  33997. responses:
  33998. "200":
  33999. description: OK
  34000. schema:
  34001. items:
  34002. $ref: '#/definitions/models.WrGoodsInfo'
  34003. type: array
  34004. "500":
  34005. description: Internal Server Error
  34006. schema:
  34007. $ref: '#/definitions/app.Response'
  34008. security:
  34009. - ApiKeyAuth: []
  34010. summary: 查询仓单商品信息
  34011. tags:
  34012. - 仓单贸易v2
  34013. /WrTrade2/QueryWrMarketTradeConfig:
  34014. get:
  34015. parameters:
  34016. - description: 市场id
  34017. in: query
  34018. name: marketid
  34019. type: integer
  34020. produces:
  34021. - application/json
  34022. responses:
  34023. "200":
  34024. description: OK
  34025. schema:
  34026. items:
  34027. $ref: '#/definitions/models.WrMarketTradeConfig'
  34028. type: array
  34029. "500":
  34030. description: Internal Server Error
  34031. schema:
  34032. $ref: '#/definitions/app.Response'
  34033. security:
  34034. - ApiKeyAuth: []
  34035. summary: 查询市场交易参数配置
  34036. tags:
  34037. - 仓单贸易v2
  34038. /WrTrade2/QueryWrOrderDetail:
  34039. get:
  34040. description: 页面 现货仓单 | 预售仓单 -> 委托单
  34041. parameters:
  34042. - description: 页码
  34043. in: query
  34044. name: page
  34045. type: integer
  34046. - description: 每页条数
  34047. in: query
  34048. name: pagesize
  34049. type: integer
  34050. - description: 用户id
  34051. in: query
  34052. name: userid
  34053. required: true
  34054. type: integer
  34055. - description: 仓单贸易市场id
  34056. in: query
  34057. name: marketid
  34058. type: integer
  34059. - description: 0:仓单预售 1:仓单贸易
  34060. in: query
  34061. name: haswr
  34062. required: true
  34063. type: integer
  34064. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  34065. in: query
  34066. name: bcancel
  34067. type: integer
  34068. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  34069. in: query
  34070. name: wrtradetype
  34071. type: integer
  34072. - description: 开始交易日(yyyymmdd)
  34073. in: query
  34074. name: begindate
  34075. type: string
  34076. - description: 结束交易日(yyyymmdd)
  34077. in: query
  34078. name: enddate
  34079. type: string
  34080. produces:
  34081. - application/json
  34082. responses:
  34083. "200":
  34084. description: OK
  34085. schema:
  34086. items:
  34087. $ref: '#/definitions/models.WrOrderDetail'
  34088. type: array
  34089. "500":
  34090. description: Internal Server Error
  34091. schema:
  34092. $ref: '#/definitions/app.Response'
  34093. security:
  34094. - ApiKeyAuth: []
  34095. summary: 查询仓单委托单
  34096. tags:
  34097. - 仓单贸易v2
  34098. /WrTrade2/QueryWrOutInApply:
  34099. get:
  34100. parameters:
  34101. - description: 页码
  34102. in: query
  34103. name: page
  34104. type: integer
  34105. - description: 每页条数
  34106. in: query
  34107. name: pagesize
  34108. type: integer
  34109. - description: 用户id
  34110. in: query
  34111. name: userid
  34112. required: true
  34113. type: integer
  34114. - description: 开始交易日(yyyymmdd)
  34115. in: query
  34116. name: begindate
  34117. type: string
  34118. - description: 结束交易日(yyyymmdd)
  34119. in: query
  34120. name: enddate
  34121. type: string
  34122. produces:
  34123. - application/json
  34124. responses:
  34125. "200":
  34126. description: OK
  34127. schema:
  34128. items:
  34129. $ref: '#/definitions/models.WrOutInApply'
  34130. type: array
  34131. "500":
  34132. description: Internal Server Error
  34133. schema:
  34134. $ref: '#/definitions/app.Response'
  34135. security:
  34136. - ApiKeyAuth: []
  34137. summary: 查询提货申请
  34138. tags:
  34139. - 仓单贸易v2
  34140. /WrTrade2/QueryWrPerformancePlanStep:
  34141. get:
  34142. parameters:
  34143. - description: 履约计划id(performanceplanid)
  34144. in: query
  34145. name: planid
  34146. required: true
  34147. type: integer
  34148. - description: 当前步骤id
  34149. in: query
  34150. name: curstepid
  34151. type: integer
  34152. produces:
  34153. - application/json
  34154. responses:
  34155. "200":
  34156. description: OK
  34157. schema:
  34158. items:
  34159. $ref: '#/definitions/models.WrPerformancePlanStep'
  34160. type: array
  34161. "500":
  34162. description: Internal Server Error
  34163. schema:
  34164. $ref: '#/definitions/app.Response'
  34165. security:
  34166. - ApiKeyAuth: []
  34167. summary: 查询履约信息详情
  34168. tags:
  34169. - 仓单贸易v2
  34170. /WrTrade2/QueryWrPerformanceStepType:
  34171. get:
  34172. produces:
  34173. - application/json
  34174. responses:
  34175. "200":
  34176. description: OK
  34177. schema:
  34178. items:
  34179. $ref: '#/definitions/models.WrPerformanceStepType'
  34180. type: array
  34181. "500":
  34182. description: Internal Server Error
  34183. schema:
  34184. $ref: '#/definitions/app.Response'
  34185. security:
  34186. - ApiKeyAuth: []
  34187. summary: 查询履约步骤枚举
  34188. tags:
  34189. - 仓单贸易v2
  34190. /WrTrade2/QueryWrPosition:
  34191. get:
  34192. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  34193. parameters:
  34194. - description: 用户id
  34195. in: query
  34196. name: userid
  34197. required: true
  34198. type: integer
  34199. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  34200. in: query
  34201. name: querytype
  34202. required: true
  34203. type: integer
  34204. - description: 0:仓单预售 1:仓单贸易
  34205. in: query
  34206. name: haswr
  34207. required: true
  34208. type: integer
  34209. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  34210. in: query
  34211. name: dgitemname
  34212. type: string
  34213. - description: 仓库id(筛选条件)
  34214. in: query
  34215. name: warehouseid
  34216. type: integer
  34217. - description: 品种id
  34218. in: query
  34219. name: deliverygoodsid
  34220. type: integer
  34221. - description: 品类id
  34222. in: query
  34223. name: wrstandardid
  34224. type: integer
  34225. produces:
  34226. - application/json
  34227. responses:
  34228. "200":
  34229. description: OK
  34230. schema:
  34231. items:
  34232. $ref: '#/definitions/models.WrPosition'
  34233. type: array
  34234. "500":
  34235. description: Internal Server Error
  34236. schema:
  34237. $ref: '#/definitions/app.Response'
  34238. security:
  34239. - ApiKeyAuth: []
  34240. summary: 查询现货(预售)仓单持仓
  34241. tags:
  34242. - 仓单贸易v2
  34243. /WrTrade2/QueryWrPreSaleInfo:
  34244. get:
  34245. parameters:
  34246. - description: 市场id
  34247. in: query
  34248. name: marketid
  34249. type: integer
  34250. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  34251. in: query
  34252. name: presalestatus
  34253. type: string
  34254. - description: 摇号标识 - 0:未摇号 1:已摇号
  34255. in: query
  34256. name: lotteryflag
  34257. type: integer
  34258. - description: 最近多少条记录(按创建时间倒序)
  34259. in: query
  34260. name: lastnum
  34261. type: integer
  34262. produces:
  34263. - application/json
  34264. responses:
  34265. "200":
  34266. description: OK
  34267. schema:
  34268. items:
  34269. $ref: '#/definitions/models.WrPreSaleInfo'
  34270. type: array
  34271. "500":
  34272. description: Internal Server Error
  34273. schema:
  34274. $ref: '#/definitions/app.Response'
  34275. security:
  34276. - ApiKeyAuth: []
  34277. summary: 查询新品发布
  34278. tags:
  34279. - 仓单贸易v2
  34280. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  34281. get:
  34282. parameters:
  34283. - description: 市场id
  34284. in: query
  34285. name: marketid
  34286. required: true
  34287. type: integer
  34288. - description: 现货商品id
  34289. in: query
  34290. name: wrstandardid
  34291. required: true
  34292. type: integer
  34293. - description: 开始交易日(yyyymmdd)
  34294. in: query
  34295. name: begindate
  34296. type: string
  34297. - description: 结束交易日(yyyymmdd)
  34298. in: query
  34299. name: enddate
  34300. type: string
  34301. - description: 最近多少条记录(按交易日倒序)
  34302. in: query
  34303. name: lastnum
  34304. type: integer
  34305. - description: 是否今日
  34306. in: query
  34307. name: istoday
  34308. type: boolean
  34309. produces:
  34310. - application/json
  34311. responses:
  34312. "200":
  34313. description: OK
  34314. schema:
  34315. items:
  34316. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  34317. type: array
  34318. "500":
  34319. description: Internal Server Error
  34320. schema:
  34321. $ref: '#/definitions/app.Response'
  34322. security:
  34323. - ApiKeyAuth: []
  34324. summary: 查询价格走势
  34325. tags:
  34326. - 仓单贸易v2
  34327. /WrTrade2/QueryWrScfContract:
  34328. get:
  34329. parameters:
  34330. - description: 用户id
  34331. in: query
  34332. name: userid
  34333. required: true
  34334. type: integer
  34335. - description: 融资合同id
  34336. in: query
  34337. name: scfcontractid
  34338. type: integer
  34339. produces:
  34340. - application/json
  34341. responses:
  34342. "200":
  34343. description: OK
  34344. schema:
  34345. items:
  34346. $ref: '#/definitions/models.WrScfContract'
  34347. type: array
  34348. "500":
  34349. description: Internal Server Error
  34350. schema:
  34351. $ref: '#/definitions/app.Response'
  34352. security:
  34353. - ApiKeyAuth: []
  34354. summary: 查询仓单贸易融资合同
  34355. tags:
  34356. - 仓单贸易v2
  34357. /WrTrade2/QueryWrScfContractInterest:
  34358. get:
  34359. parameters:
  34360. - description: 融资合同id
  34361. in: query
  34362. name: scfcontractid
  34363. type: integer
  34364. produces:
  34365. - application/json
  34366. responses:
  34367. "200":
  34368. description: OK
  34369. schema:
  34370. items:
  34371. $ref: '#/definitions/models.WrScfContractInterest'
  34372. type: array
  34373. "500":
  34374. description: Internal Server Error
  34375. schema:
  34376. $ref: '#/definitions/app.Response'
  34377. security:
  34378. - ApiKeyAuth: []
  34379. summary: 查询融资合同费用明细
  34380. tags:
  34381. - 仓单贸易v2
  34382. /WrTrade2/QueryWrSearchUser:
  34383. get:
  34384. parameters:
  34385. - description: 用户名称(模糊匹配)
  34386. in: query
  34387. name: username
  34388. required: true
  34389. type: string
  34390. produces:
  34391. - application/json
  34392. responses:
  34393. "200":
  34394. description: OK
  34395. schema:
  34396. items:
  34397. $ref: '#/definitions/models.WrSearchUser'
  34398. type: array
  34399. "500":
  34400. description: Internal Server Error
  34401. schema:
  34402. $ref: '#/definitions/app.Response'
  34403. security:
  34404. - ApiKeyAuth: []
  34405. summary: 查询用户
  34406. tags:
  34407. - 仓单贸易v2
  34408. /WrTrade2/QueryWrSpecialMatchOrder:
  34409. get:
  34410. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  34411. parameters:
  34412. - description: 页码
  34413. in: query
  34414. name: page
  34415. type: integer
  34416. - description: 每页条数
  34417. in: query
  34418. name: pagesize
  34419. type: integer
  34420. - description: 用户id
  34421. in: query
  34422. name: userid
  34423. required: true
  34424. type: integer
  34425. - description: 仓单贸易市场id
  34426. in: query
  34427. name: marketid
  34428. type: integer
  34429. - description: 0:仓单预售 1:仓单贸易
  34430. in: query
  34431. name: haswr
  34432. required: true
  34433. type: integer
  34434. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  34435. in: query
  34436. name: isspecified
  34437. type: integer
  34438. produces:
  34439. - application/json
  34440. responses:
  34441. "200":
  34442. description: OK
  34443. schema:
  34444. items:
  34445. $ref: '#/definitions/models.WrSpecialMatchOrder'
  34446. type: array
  34447. "500":
  34448. description: Internal Server Error
  34449. schema:
  34450. $ref: '#/definitions/app.Response'
  34451. security:
  34452. - ApiKeyAuth: []
  34453. summary: 查询指定成交
  34454. tags:
  34455. - 仓单贸易v2
  34456. /WrTrade2/QueryWrStandardFactoryItem:
  34457. get:
  34458. parameters:
  34459. - description: 品类id
  34460. in: query
  34461. name: wrstandardid
  34462. required: true
  34463. type: integer
  34464. produces:
  34465. - application/json
  34466. responses:
  34467. "200":
  34468. description: OK
  34469. schema:
  34470. items:
  34471. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  34472. type: array
  34473. "500":
  34474. description: Internal Server Error
  34475. schema:
  34476. $ref: '#/definitions/app.Response'
  34477. security:
  34478. - ApiKeyAuth: []
  34479. summary: 查询品类要素定义项
  34480. tags:
  34481. - 仓单贸易v2
  34482. /WrTrade2/QueryWrTradeBargainApply:
  34483. get:
  34484. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  34485. 议价->对方议价 填写matchuserid=登录用户id
  34486. parameters:
  34487. - description: 议价人id(摘牌方)
  34488. in: query
  34489. name: userid
  34490. type: integer
  34491. - description: 挂牌方id(查对方议价时,填写此项)
  34492. in: query
  34493. name: matchuserid
  34494. type: integer
  34495. - description: 关联委托单id
  34496. in: query
  34497. name: wrtradeorderid
  34498. type: integer
  34499. - description: 0:仓单预售 1:仓单贸易
  34500. in: query
  34501. name: haswr
  34502. required: true
  34503. type: integer
  34504. - description: 开始交易日(yyyymmdd)
  34505. in: query
  34506. name: begindate
  34507. type: string
  34508. - description: 结束交易日(yyyymmdd)
  34509. in: query
  34510. name: enddate
  34511. type: string
  34512. produces:
  34513. - application/json
  34514. responses:
  34515. "200":
  34516. description: OK
  34517. schema:
  34518. items:
  34519. $ref: '#/definitions/models.WRTradeBargainApply'
  34520. type: array
  34521. "500":
  34522. description: Internal Server Error
  34523. schema:
  34524. $ref: '#/definitions/app.Response'
  34525. security:
  34526. - ApiKeyAuth: []
  34527. summary: 查询议价单
  34528. tags:
  34529. - 仓单贸易v2
  34530. /WrTrade2/QueryWrTradeDetail:
  34531. get:
  34532. parameters:
  34533. - description: 页码
  34534. in: query
  34535. name: page
  34536. type: integer
  34537. - description: 每页条数
  34538. in: query
  34539. name: pagesize
  34540. type: integer
  34541. - description: 用户id
  34542. in: query
  34543. name: userid
  34544. required: true
  34545. type: integer
  34546. - description: 仓单贸易市场id
  34547. in: query
  34548. name: marketid
  34549. type: integer
  34550. - description: 0:仓单预售 1:仓单贸易
  34551. in: query
  34552. name: haswr
  34553. required: true
  34554. type: integer
  34555. - description: 开始交易日(yyyymmdd)
  34556. in: query
  34557. name: begindate
  34558. type: string
  34559. - description: 结束交易日(yyyymmdd)
  34560. in: query
  34561. name: enddate
  34562. type: string
  34563. produces:
  34564. - application/json
  34565. responses:
  34566. "200":
  34567. description: OK
  34568. schema:
  34569. items:
  34570. $ref: '#/definitions/models.WrTradeDetail'
  34571. type: array
  34572. "500":
  34573. description: Internal Server Error
  34574. schema:
  34575. $ref: '#/definitions/app.Response'
  34576. security:
  34577. - ApiKeyAuth: []
  34578. summary: 查询仓单成交明细
  34579. tags:
  34580. - 仓单贸易v2
  34581. /WrTrade2/QueryWrTradeOrderDetail:
  34582. get:
  34583. parameters:
  34584. - description: 页码
  34585. in: query
  34586. name: page
  34587. type: integer
  34588. - description: 每页条数
  34589. in: query
  34590. name: pagesize
  34591. type: integer
  34592. - description: 商品id
  34593. in: query
  34594. name: goodsid
  34595. required: true
  34596. type: integer
  34597. - description: 买卖方向 0-买 1-卖
  34598. in: query
  34599. name: buyorsell
  34600. required: true
  34601. type: integer
  34602. produces:
  34603. - application/json
  34604. responses:
  34605. "200":
  34606. description: OK
  34607. schema:
  34608. items:
  34609. $ref: '#/definitions/models.WrTradeOrderDetail'
  34610. type: array
  34611. "500":
  34612. description: Internal Server Error
  34613. schema:
  34614. $ref: '#/definitions/app.Response'
  34615. security:
  34616. - ApiKeyAuth: []
  34617. summary: 查询合约交易买卖大厅
  34618. tags:
  34619. - 仓单贸易v2
  34620. /WrTrade2/QueryWrTradeQuote:
  34621. get:
  34622. parameters:
  34623. - description: 现货商品id
  34624. in: query
  34625. name: wrstandardid
  34626. required: true
  34627. type: integer
  34628. - description: 开始日期(yyyymmdd)
  34629. in: query
  34630. name: begindate
  34631. required: true
  34632. type: string
  34633. - description: 结束日期(yyyymmdd)
  34634. in: query
  34635. name: enddate
  34636. required: true
  34637. type: string
  34638. - description: 市场id
  34639. in: query
  34640. name: marketid
  34641. type: integer
  34642. produces:
  34643. - application/json
  34644. responses:
  34645. "200":
  34646. description: OK
  34647. schema:
  34648. items:
  34649. $ref: '#/definitions/models.Wrtradetradequote'
  34650. type: array
  34651. "500":
  34652. description: Internal Server Error
  34653. schema:
  34654. $ref: '#/definitions/app.Response'
  34655. security:
  34656. - ApiKeyAuth: []
  34657. summary: 查询仓单贸易成交行情
  34658. tags:
  34659. - 仓单贸易v2
  34660. /WrTrade2/QueryWrUserFriend:
  34661. get:
  34662. parameters:
  34663. - description: 用户id
  34664. in: query
  34665. name: userid
  34666. required: true
  34667. type: integer
  34668. - description: 新朋友userid, 如果填写了此项则查找新朋友
  34669. in: query
  34670. name: newuserid
  34671. type: integer
  34672. produces:
  34673. - application/json
  34674. responses:
  34675. "200":
  34676. description: OK
  34677. schema:
  34678. items:
  34679. $ref: '#/definitions/models.WrUserFriend'
  34680. type: array
  34681. "500":
  34682. description: Internal Server Error
  34683. schema:
  34684. $ref: '#/definitions/app.Response'
  34685. security:
  34686. - ApiKeyAuth: []
  34687. summary: 查询我的朋友
  34688. tags:
  34689. - 仓单贸易v2
  34690. /WrTrade2/QueryWrUserReceiptInfo:
  34691. get:
  34692. parameters:
  34693. - description: 用户id
  34694. in: query
  34695. name: userid
  34696. type: integer
  34697. - description: 发票类型 - 1:个人 2:企业
  34698. in: query
  34699. name: receipttype
  34700. type: integer
  34701. produces:
  34702. - application/json
  34703. responses:
  34704. "200":
  34705. description: OK
  34706. schema:
  34707. items:
  34708. $ref: '#/definitions/models.WrUserReceiptInfo'
  34709. type: array
  34710. "500":
  34711. description: Internal Server Error
  34712. schema:
  34713. $ref: '#/definitions/app.Response'
  34714. security:
  34715. - ApiKeyAuth: []
  34716. summary: 查询发票信息
  34717. tags:
  34718. - 仓单贸易v2
  34719. /WrTrade2/QueryXhcpSellBackApply:
  34720. get:
  34721. parameters:
  34722. - description: 用户ID
  34723. in: query
  34724. name: userid
  34725. required: true
  34726. type: integer
  34727. produces:
  34728. - application/json
  34729. responses:
  34730. "200":
  34731. description: OK
  34732. schema:
  34733. items:
  34734. $ref: '#/definitions/models.Xhcpsellbackapply'
  34735. type: array
  34736. "500":
  34737. description: Internal Server Error
  34738. schema:
  34739. $ref: '#/definitions/app.Response'
  34740. security:
  34741. - ApiKeyAuth: []
  34742. summary: 查询我的回收申请(新会陈皮)
  34743. tags:
  34744. - 仓单贸易v2
  34745. /ZJ/GetBankTip:
  34746. get:
  34747. produces:
  34748. - application/json
  34749. responses:
  34750. "200":
  34751. description: OK
  34752. schema:
  34753. type: string
  34754. "500":
  34755. description: Internal Server Error
  34756. schema:
  34757. $ref: '#/definitions/app.Response'
  34758. summary: 获取中江网银端出入金提示信息
  34759. tags:
  34760. - 中江
  34761. /ZJ/GetCusBankChannels:
  34762. get:
  34763. produces:
  34764. - application/json
  34765. responses:
  34766. "200":
  34767. description: OK
  34768. schema:
  34769. items:
  34770. type: string
  34771. type: array
  34772. "500":
  34773. description: Internal Server Error
  34774. schema:
  34775. $ref: '#/definitions/app.Response'
  34776. summary: 获取中江出入金渠道显示列表
  34777. tags:
  34778. - 中江
  34779. securityDefinitions:
  34780. ApiKeyAuth:
  34781. in: header
  34782. name: Authorization
  34783. type: apiKey
  34784. Group:
  34785. in: header
  34786. name: Group
  34787. type: apiKey
  34788. LoginID:
  34789. in: header
  34790. name: LoginID
  34791. type: apiKey
  34792. swagger: "2.0"