swagger.yaml 964 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734
  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. type: object
  16771. models.THJPresaleApplyDeposit:
  16772. properties:
  16773. depositid:
  16774. description: 自增ID autoid
  16775. type: integer
  16776. depositrate:
  16777. description: 定金比例
  16778. type: number
  16779. discountamount:
  16780. description: 优惠金额(每吨)
  16781. type: number
  16782. presaleapplyid:
  16783. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16784. type: string
  16785. type: object
  16786. models.THJProduct:
  16787. properties:
  16788. bannerpicurl:
  16789. description: Banner图(逗号分隔)
  16790. type: string
  16791. pictureurls:
  16792. description: 详情图片(逗号分隔)
  16793. type: string
  16794. wrstandardcode:
  16795. description: 现货商品代码
  16796. type: string
  16797. wrstandardid:
  16798. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16799. type: string
  16800. wrstandardname:
  16801. description: 现货商品名称
  16802. type: string
  16803. type: object
  16804. models.THJSigninReq:
  16805. properties:
  16806. userid:
  16807. description: 用户ID
  16808. type: integer
  16809. required:
  16810. - userid
  16811. type: object
  16812. models.THJSigninRsp:
  16813. properties:
  16814. signinstatus:
  16815. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  16816. type: integer
  16817. type: object
  16818. models.THJSpotGoodsPriceLog:
  16819. properties:
  16820. spotgoodsprice:
  16821. description: 现货价格
  16822. type: number
  16823. tradedate:
  16824. description: 交易日(yyyyMMdd)
  16825. type: string
  16826. type: object
  16827. models.THJTradeData:
  16828. properties:
  16829. buytradelot:
  16830. description: 购买笔数
  16831. type: integer
  16832. buytradeqty:
  16833. description: 购买数量
  16834. type: number
  16835. marketid:
  16836. description: 市场ID 采购-64201 供求-65201
  16837. type: integer
  16838. reckondate:
  16839. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  16840. type: string
  16841. selltradelot:
  16842. description: 销售笔数
  16843. type: integer
  16844. selltradeqty:
  16845. description: 销售数量
  16846. type: number
  16847. userid:
  16848. description: 用户ID
  16849. type: integer
  16850. wrstandardname:
  16851. description: 现货商品名称
  16852. type: string
  16853. required:
  16854. - marketid
  16855. - userid
  16856. type: object
  16857. models.THJWrstandard:
  16858. properties:
  16859. thumurls:
  16860. description: 缩略图片(1:1)(逗号分隔)
  16861. type: string
  16862. wrstandardcode:
  16863. description: 现货商品代码
  16864. type: string
  16865. wrstandardid:
  16866. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16867. type: integer
  16868. wrstandardname:
  16869. description: 现货商品名称(模糊查询)
  16870. type: string
  16871. type: object
  16872. models.THJWrstandardDetail_GoodsInfo:
  16873. properties:
  16874. pictureurls:
  16875. description: 详情图片(逗号分隔)
  16876. type: string
  16877. spotgoodsprice:
  16878. description: 现货价格
  16879. type: number
  16880. wrstandardcode:
  16881. description: 现货商品代码
  16882. type: string
  16883. wrstandardid:
  16884. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16885. type: integer
  16886. wrstandardname:
  16887. description: 现货商品名称
  16888. type: string
  16889. type: object
  16890. models.THJWrstandardDetailRsp:
  16891. properties:
  16892. deliverymodes:
  16893. description: 交割方式
  16894. items:
  16895. $ref: '#/definitions/models.THJDeliveryMode'
  16896. type: array
  16897. deliverymonth:
  16898. description: 交割月份
  16899. items:
  16900. $ref: '#/definitions/models.THJDeliveryMonth'
  16901. type: array
  16902. goodsinfo:
  16903. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  16904. description: 商品信息
  16905. presaleapplydeposits:
  16906. description: 支付方式
  16907. items:
  16908. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  16909. type: array
  16910. spotgoodspricelogs:
  16911. description: 历史价格走势
  16912. items:
  16913. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  16914. type: array
  16915. type: object
  16916. models.Taaccount:
  16917. properties:
  16918. accountflag:
  16919. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  16920. type: integer
  16921. accountid:
  16922. description: 资金账户ID
  16923. type: integer
  16924. accountname:
  16925. description: 账户名称
  16926. type: string
  16927. balance:
  16928. description: 期初余额
  16929. type: number
  16930. capitalbalance:
  16931. description: 本金余额[外部子账户实际出入金余额]
  16932. type: number
  16933. changeflag:
  16934. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  16935. type: integer
  16936. changetime:
  16937. description: 账户状态变更时间
  16938. type: string
  16939. closepl:
  16940. description: 今日平仓盈亏
  16941. type: number
  16942. creditdecrease:
  16943. description: 今日授信减少
  16944. type: number
  16945. creditincrease:
  16946. description: 今日授信增加
  16947. type: number
  16948. curamount:
  16949. description: 总市值(从持仓中统计)
  16950. type: number
  16951. currencyid:
  16952. description: 货币ID
  16953. type: integer
  16954. currentbalance:
  16955. description: 期末余额
  16956. type: number
  16957. freezecharge:
  16958. description: 手续费冻结
  16959. type: number
  16960. freezemargin:
  16961. description: 冻结保证金
  16962. type: number
  16963. fromaccountid:
  16964. description: 所属上级账户
  16965. type: integer
  16966. inamount:
  16967. description: 今日入金金额(包括三方入金)
  16968. type: number
  16969. ismain:
  16970. description: 是否母账号 0:不是母账户 1:是母账户
  16971. type: integer
  16972. ismarketaccount:
  16973. description: 是否机构接单账号 0:不是 1:是
  16974. type: integer
  16975. isreckonaccount:
  16976. description: 是否机构分润账号 0:不是 1:是
  16977. type: integer
  16978. mortgagecredit:
  16979. description: 授信金额
  16980. type: number
  16981. orifreezecharge:
  16982. description: 期初手续费冻结
  16983. type: number
  16984. orifreezemargin:
  16985. description: 期初冻结保证金
  16986. type: number
  16987. orimortgagecredit:
  16988. description: 期初授信金额
  16989. type: number
  16990. oriothercredit:
  16991. description: 期初其它授信金额
  16992. type: number
  16993. oriotherfreezemargin:
  16994. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16995. type: number
  16996. orioutamountfreeze:
  16997. description: 期初出金冻结
  16998. type: number
  16999. oriusedmargin:
  17000. description: 期初占用保证金
  17001. type: number
  17002. othercredit:
  17003. description: 其它授信金额
  17004. type: number
  17005. othercreditdecrease:
  17006. description: 今日其它授信减少
  17007. type: number
  17008. othercreditincrease:
  17009. description: 今日其它授信增加
  17010. type: number
  17011. otherfreezemargin:
  17012. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  17013. type: number
  17014. otherincome:
  17015. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  17016. type: number
  17017. otherpay:
  17018. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  17019. type: number
  17020. outamount:
  17021. description: 今日出金金额(包括三方出金)
  17022. type: number
  17023. outamountfreeze:
  17024. description: 出金冻结
  17025. type: number
  17026. outthreshold:
  17027. description: 出金阈值
  17028. type: number
  17029. parentaccountid:
  17030. description: 所属根账号
  17031. type: integer
  17032. paycharge:
  17033. description: 今日手续费支出
  17034. type: number
  17035. relatedaccountstatus:
  17036. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  17037. type: integer
  17038. relateduserid:
  17039. description: 关联用户
  17040. type: integer
  17041. remainamount:
  17042. description: 融资额(从融资合同中统计)
  17043. type: number
  17044. serivcegroup:
  17045. description: 服务分组
  17046. type: integer
  17047. signstatus:
  17048. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  17049. type: integer
  17050. sublevelpath:
  17051. description: 账号层级路径(逗号分隔,首尾加逗号)
  17052. type: string
  17053. taaccounttype:
  17054. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17055. type: integer
  17056. thirdinamount:
  17057. description: 今日三方入金
  17058. type: number
  17059. thirdoutamount:
  17060. description: 今日三方出金
  17061. type: number
  17062. tradestatus:
  17063. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  17064. type: integer
  17065. tradestatuschangetime:
  17066. description: 激活时间
  17067. type: string
  17068. transferamount:
  17069. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  17070. type: number
  17071. usedmargin:
  17072. description: 占用保证金
  17073. type: number
  17074. userid:
  17075. description: 用户ID
  17076. type: integer
  17077. required:
  17078. - accountid
  17079. - userid
  17080. type: object
  17081. models.Tablecolumnconfig:
  17082. properties:
  17083. aligntype:
  17084. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  17085. type: integer
  17086. autoid:
  17087. description: AutoID
  17088. type: integer
  17089. columnfield:
  17090. description: 列字段
  17091. type: string
  17092. columntitle:
  17093. description: 列Title
  17094. type: string
  17095. columnwidth:
  17096. description: 列宽
  17097. type: string
  17098. fixed:
  17099. description: 固定类型 - 空 | left | right
  17100. type: string
  17101. formatterstring:
  17102. description: 格式化字符
  17103. type: string
  17104. formattertype:
  17105. description: 格式化类型
  17106. type: string
  17107. groupname:
  17108. description: 表头分组名称
  17109. type: string
  17110. ismerge:
  17111. description: 是否合并显示 - 0:不合并 1:合并
  17112. type: integer
  17113. isshow:
  17114. description: 是否显示 - 0:不显示 1:显示
  17115. type: integer
  17116. needsummary:
  17117. description: 是否需要汇总 - 0:不需要 1:需要
  17118. type: integer
  17119. orderindex:
  17120. description: 顺序
  17121. type: integer
  17122. remark:
  17123. description: 备注
  17124. type: string
  17125. summarytype:
  17126. description: 汇总类型 - 1:加总 2:最后一个
  17127. type: integer
  17128. tablekey:
  17129. description: 列表Key
  17130. type: string
  17131. required:
  17132. - autoid
  17133. type: object
  17134. models.Thjpurchasetradedetail:
  17135. properties:
  17136. buyaccountid:
  17137. description: 买方账号ID
  17138. type: integer
  17139. buychargevalue:
  17140. description: 买方到期手续费
  17141. type: number
  17142. buyconfirmremark:
  17143. description: 买方确认备注
  17144. type: string
  17145. buyconfirmtime:
  17146. description: 买方确认时间
  17147. type: string
  17148. buyfreezecharge:
  17149. description: 买方摘牌冻结手续费
  17150. type: number
  17151. buyuserid:
  17152. description: 买方用户ID
  17153. type: integer
  17154. contactinfo:
  17155. description: 联系方式
  17156. type: string
  17157. contactname:
  17158. description: 联系人姓名
  17159. type: string
  17160. contractaddrbuy:
  17161. description: 贸易合同地址(买家)
  17162. type: string
  17163. contractaddrsell:
  17164. description: 贸易合同地址(卖家)
  17165. type: string
  17166. deliverygoodsid:
  17167. description: 现货品种ID
  17168. type: integer
  17169. depositrate:
  17170. description: 定金比例
  17171. type: number
  17172. desaddress:
  17173. description: 目的地地址
  17174. type: string
  17175. discountamount:
  17176. description: 优惠总金额(优惠金额*TradeQty)
  17177. type: number
  17178. handlestatus:
  17179. description: 处理状态
  17180. type: integer
  17181. lastamount:
  17182. description: 到期总货款 = 到期价格 * 摘牌数量
  17183. type: number
  17184. lastprice:
  17185. description: 到期价格
  17186. type: number
  17187. lastpricedate:
  17188. description: 到期价格日期 - 暂不使用
  17189. type: string
  17190. marketid:
  17191. description: 市场ID
  17192. type: integer
  17193. orderstatus:
  17194. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  17195. (枚举:THJOrderStatus)
  17196. type: integer
  17197. payeddeposit:
  17198. description: 买方已付定金
  17199. type: number
  17200. payedtradedate:
  17201. description: 支付尾款成功交易日
  17202. type: string
  17203. presaleapplyid:
  17204. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17205. type: integer
  17206. receiptinfo:
  17207. description: 发票信息
  17208. type: string
  17209. remainamount:
  17210. description: 剩余货款 = 到期总货款 - 已付定金 - 优惠金额
  17211. type: number
  17212. sellaccountid:
  17213. description: 卖方账号ID
  17214. type: integer
  17215. sellchargevalue:
  17216. description: 卖方到期手续费
  17217. type: number
  17218. sellconfirmattach:
  17219. description: 卖方确认附件
  17220. type: string
  17221. sellconfirmremark:
  17222. description: 卖方确认备注
  17223. type: string
  17224. sellconfirmtime:
  17225. description: 卖方确认时间
  17226. type: string
  17227. sellconfirmtradedate:
  17228. description: 卖方确认交易日
  17229. type: string
  17230. selluserid:
  17231. description: 卖方用户ID
  17232. type: integer
  17233. thjdeliverymode:
  17234. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  17235. type: integer
  17236. thjdeliverymodedisplay:
  17237. description: 提货方式
  17238. type: string
  17239. thjorderstatusdisplay:
  17240. description: 状态
  17241. type: string
  17242. tradeamount:
  17243. description: 摘牌总货款
  17244. type: number
  17245. tradedate:
  17246. description: 交易日(yyyyMMdd)
  17247. type: string
  17248. tradeprice:
  17249. description: 摘牌价格
  17250. type: number
  17251. tradeqty:
  17252. description: 摘牌数量
  17253. type: integer
  17254. tradetime:
  17255. description: 摘牌时间
  17256. type: string
  17257. warehouseid:
  17258. description: 仓库ID
  17259. type: integer
  17260. warehousename:
  17261. description: 仓库名称
  17262. type: string
  17263. wrfactortypeid:
  17264. description: 仓单要素类型ID
  17265. type: integer
  17266. wrstandardid:
  17267. description: 现货商品ID
  17268. type: integer
  17269. wrstandardname:
  17270. description: 现货商品名称
  17271. type: string
  17272. wrtradedetailid:
  17273. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17274. type: integer
  17275. required:
  17276. - buyuserid
  17277. type: object
  17278. models.Thjscoreconfig:
  17279. properties:
  17280. parma1:
  17281. description: 参数1
  17282. type: integer
  17283. parma2:
  17284. description: 参数2
  17285. type: integer
  17286. parma3:
  17287. description: 参数3
  17288. type: integer
  17289. parma4:
  17290. description: 参数4
  17291. type: integer
  17292. parma5:
  17293. description: 参数5
  17294. type: integer
  17295. parma6:
  17296. description: 参数6
  17297. type: integer
  17298. parma7:
  17299. description: 参数6
  17300. type: integer
  17301. scoreconfigtype:
  17302. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  17303. 7:抽奖得红包
  17304. type: integer
  17305. type: object
  17306. models.TjmdHolderDetailTradeInfo:
  17307. properties:
  17308. agreeunit:
  17309. description: 合约乘数
  17310. type: number
  17311. buyaccountid:
  17312. description: 买方账户
  17313. type: string
  17314. buyusername:
  17315. description: 买方
  17316. type: string
  17317. delistingdate:
  17318. description: 最后结算日
  17319. type: string
  17320. expiredate:
  17321. description: 到期结算价定价日
  17322. type: string
  17323. exprieprice:
  17324. description: 到期清算价格
  17325. type: string
  17326. goodscode:
  17327. description: 商品代码
  17328. type: string
  17329. goodsid:
  17330. description: 商品ID
  17331. type: integer
  17332. goodsname:
  17333. description: 商品名称(交易标的)
  17334. type: string
  17335. lasttradedate:
  17336. description: 最后交易日
  17337. type: string
  17338. listingdate:
  17339. description: 开始交易日
  17340. type: string
  17341. openprice:
  17342. description: 成交价
  17343. type: number
  17344. openqty:
  17345. description: 交易数量
  17346. type: integer
  17347. sellaccountid:
  17348. description: 卖方账户
  17349. type: string
  17350. sellusername:
  17351. description: 卖方
  17352. type: string
  17353. tradeamount:
  17354. description: 初始名义价值
  17355. type: number
  17356. tradedate:
  17357. description: 成交日期
  17358. type: string
  17359. tradeid:
  17360. description: 成交编号
  17361. type: string
  17362. type: object
  17363. models.TjmdMarketSection:
  17364. properties:
  17365. marketsectionid:
  17366. description: 市场版块ID(SEQ_MARKETSECTION)
  17367. type: integer
  17368. marketsectionname:
  17369. description: 市场版块名称
  17370. type: string
  17371. mlist:
  17372. description: 市场列表(板块下面有多少个市场)
  17373. items:
  17374. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  17375. type: array
  17376. orderindex:
  17377. description: 排序
  17378. type: integer
  17379. pictureurl:
  17380. description: 图片url, 规格(90*90)
  17381. type: string
  17382. remark:
  17383. description: 备注
  17384. type: string
  17385. type: object
  17386. models.TjmdMarketSectionConfig:
  17387. properties:
  17388. auctionwrtype:
  17389. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  17390. type: integer
  17391. canacceptquote:
  17392. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  17393. type: integer
  17394. cangoodsexercise:
  17395. description: '[期权]是否可现货行权- 0:否 1:是'
  17396. type: integer
  17397. cangoodsexercisetype:
  17398. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  17399. type: integer
  17400. canmanualquotestrike:
  17401. description: 是否可手动报行权价- 0:否 1:是 [期权]
  17402. type: integer
  17403. canmutistage:
  17404. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  17405. type: integer
  17406. canpreexercise:
  17407. description: '[期权]是否可预申报- 0:否 1:是'
  17408. type: integer
  17409. clearinterval:
  17410. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  17411. type: integer
  17412. contracttmp:
  17413. description: 合同模板[荷兰式][竞价式][仓单贸易]
  17414. type: string
  17415. exchareaid:
  17416. description: 所属交易所,可以没有
  17417. type: integer
  17418. financemarketid:
  17419. description: 融资回购市场ID [仓单贸易]
  17420. type: integer
  17421. goodstype:
  17422. description: 商品类型 - 1:交易商品 2:仓单商品
  17423. type: integer
  17424. hasrebate:
  17425. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  17426. type: integer
  17427. hastradecredit:
  17428. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  17429. type: integer
  17430. haswr:
  17431. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  17432. type: integer
  17433. isdeductmargin:
  17434. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  17435. type: integer
  17436. isrecordsource:
  17437. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  17438. type: integer
  17439. isreleasemargin:
  17440. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  17441. type: integer
  17442. isupdatereckonprice:
  17443. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  17444. type: integer
  17445. listingmode:
  17446. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17447. type: integer
  17448. marginformula:
  17449. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17450. type: integer
  17451. marginformula2:
  17452. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17453. type: integer
  17454. marketid:
  17455. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  17456. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  17457. type: integer
  17458. marketname:
  17459. description: 市场名称
  17460. type: string
  17461. marketsectionid:
  17462. description: 市场版块ID(SEQ_MARKETSECTION)
  17463. type: integer
  17464. marketserviceid:
  17465. description: 市场服务ID
  17466. type: integer
  17467. marketstatus:
  17468. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  17469. type: integer
  17470. markettype:
  17471. description: 市场类型- 1:非交易服务 2:交易服务
  17472. type: integer
  17473. matchermode:
  17474. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  17475. type: integer
  17476. nowrquotaflag:
  17477. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  17478. type: integer
  17479. openmethod:
  17480. description: 开盘模式 - 0 自动 1手动
  17481. type: integer
  17482. orderindex:
  17483. description: 排序
  17484. type: integer
  17485. otcuserid:
  17486. description: 场外期权做市商[场外期权]
  17487. type: integer
  17488. outersynctime:
  17489. description: 外部同步时间点(h24:mi:ss)[场外期权]
  17490. type: string
  17491. paylaterflag:
  17492. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  17493. type: integer
  17494. pendingflag:
  17495. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  17496. type: integer
  17497. pendingtime:
  17498. description: 待开市时间[通道交易-对冲](HH:mm)
  17499. type: string
  17500. performancetempid:
  17501. description: 履约计划模板ID - 作废
  17502. type: integer
  17503. premiumquotemode:
  17504. description: 权利金报价方式 - 1:自动 2:手动
  17505. type: integer
  17506. rebateratio:
  17507. description: 返利比率[竞价式]
  17508. type: number
  17509. reckonorder:
  17510. description: 结算顺序
  17511. type: integer
  17512. reckonpricealgorithm:
  17513. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  17514. 6.卖一价 7.买一卖一均价 8.外部结算价'
  17515. type: integer
  17516. reckonpriceparam:
  17517. description: 结算价参数
  17518. type: integer
  17519. reckontime:
  17520. description: 结算时间[通道交易-对冲](HH:mm)
  17521. type: string
  17522. roleprioritytype:
  17523. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  17524. type: integer
  17525. selllistingauditflag:
  17526. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  17527. type: integer
  17528. trademarkettype:
  17529. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  17530. type: integer
  17531. trademode:
  17532. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17533. 21:竞拍-大宗式 22:受托竞价
  17534. type: integer
  17535. tradeproperty:
  17536. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  17537. 8:场外期权
  17538. type: integer
  17539. tradetype:
  17540. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  17541. type: integer
  17542. updatereckonpriceinterval:
  17543. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  17544. type: integer
  17545. type: object
  17546. models.TjmdQuoteGoods:
  17547. properties:
  17548. buyqty:
  17549. description: 买量(暂不做, 无值, 保留字段)
  17550. type: number
  17551. decimalplace:
  17552. description: 报价小数位
  17553. type: integer
  17554. goodscode:
  17555. description: 合约代码
  17556. type: string
  17557. goodsgroupid:
  17558. description: 商品组ID(自增ID)
  17559. type: integer
  17560. goodsgroupname:
  17561. description: 商品组名称
  17562. type: string
  17563. goodsid:
  17564. description: 合约id
  17565. type: integer
  17566. goodsname:
  17567. description: 合约名称
  17568. type: string
  17569. refgoodscode:
  17570. description: 标的合约代码
  17571. type: string
  17572. refgoodsid:
  17573. description: 标的合约id
  17574. type: integer
  17575. refgoodsname:
  17576. description: 标的合约名称
  17577. type: string
  17578. sellqty:
  17579. description: 卖量(暂不做, 无值, 保留字段)
  17580. type: number
  17581. type: object
  17582. models.TjmdTodayAccountMargin:
  17583. properties:
  17584. accountid:
  17585. description: 账号ID
  17586. type: integer
  17587. goodsid:
  17588. description: 商品ID
  17589. type: integer
  17590. infoc:
  17591. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  17592. description: 配置参数
  17593. marketid:
  17594. description: 市场ID
  17595. type: integer
  17596. type: object
  17597. models.TjmdTradeOrderDetail:
  17598. properties:
  17599. buyorsell:
  17600. description: 买卖方向 0-买 1-卖
  17601. type: integer
  17602. goodsid:
  17603. description: 商品id
  17604. type: integer
  17605. marketmaxsub:
  17606. description: 市价最大偏移范围 [浮动价 - 点差]
  17607. type: number
  17608. orderid:
  17609. description: 委托单号
  17610. type: string
  17611. orderprice:
  17612. description: 期初均价
  17613. type: number
  17614. orderqty:
  17615. description: 委托数量
  17616. type: integer
  17617. pricemode:
  17618. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  17619. type: integer
  17620. userid:
  17621. description: 用户id
  17622. type: integer
  17623. username:
  17624. description: 用户名称(已脱敏)
  17625. type: string
  17626. type: object
  17627. models.TjmdTransferApply:
  17628. properties:
  17629. applyid:
  17630. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  17631. type: integer
  17632. applystatus:
  17633. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  17634. type: integer
  17635. applytime:
  17636. description: 申请时间(时间)
  17637. type: string
  17638. auditremark:
  17639. description: 审核备注(拒绝原因?)
  17640. type: string
  17641. begindate:
  17642. description: 开始交易日(yyyymmdd)
  17643. type: string
  17644. buyorsell:
  17645. description: 买卖 - 0:买 1:卖
  17646. type: integer
  17647. enddate:
  17648. description: 结束交易日(yyyymmdd)
  17649. type: string
  17650. goodscode:
  17651. description: 商品代码
  17652. type: string
  17653. goodsid:
  17654. description: 商品ID
  17655. type: integer
  17656. goodsname:
  17657. description: 商品名称
  17658. type: string
  17659. marketid:
  17660. description: 市场ID
  17661. type: integer
  17662. qty:
  17663. description: 期初均价
  17664. type: number
  17665. tradeid:
  17666. description: 成交单号(关联持仓)
  17667. type: string
  17668. transferamount:
  17669. description: 转让总金额(金额)
  17670. type: number
  17671. transferprice:
  17672. description: 转让价格(协议价格)
  17673. type: number
  17674. type: object
  17675. models.TradeHolderDetail:
  17676. properties:
  17677. accountid:
  17678. description: 账号ID
  17679. type: integer
  17680. agreeunit:
  17681. description: 合约乘数
  17682. type: number
  17683. buyorsell:
  17684. description: 方向 - 0:买 1:卖
  17685. type: integer
  17686. currencyid:
  17687. description: 商品币种id
  17688. type: integer
  17689. currencyname:
  17690. description: 币种名称
  17691. type: string
  17692. decimalplace:
  17693. description: 商品价格小数位
  17694. type: integer
  17695. enumdicname:
  17696. description: 商品单位名称
  17697. type: string
  17698. expirecycle:
  17699. description: 行权周期(天) - 1:滚动行权时填写
  17700. type: integer
  17701. expiredate:
  17702. description: 行权日(yyyyMMdd) - 到期日
  17703. type: string
  17704. expiretype:
  17705. description: 行权日类型 - 1:滚动行权 2:固定日行权
  17706. type: integer
  17707. freezeqty:
  17708. description: 期初均价
  17709. type: number
  17710. goodscode:
  17711. description: 商品代码
  17712. type: string
  17713. goodsid:
  17714. description: 商品ID
  17715. type: integer
  17716. goodsname:
  17717. description: 商品名称
  17718. type: string
  17719. goodunitid:
  17720. description: 商品单位id
  17721. type: integer
  17722. holderamount:
  17723. description: 持仓金额
  17724. type: number
  17725. holdercredit:
  17726. description: 持仓授信金额
  17727. type: number
  17728. holderdays:
  17729. description: 剩余冻结天数
  17730. type: integer
  17731. holderprice:
  17732. description: 持仓价格
  17733. type: number
  17734. holderqty:
  17735. description: 期初均价
  17736. type: number
  17737. isconfirmexercise:
  17738. description: 是否确认行权- 0:否 1:是
  17739. type: integer
  17740. ispreexercise:
  17741. description: 是否预申报- 0:否 1:是 2:不可行权
  17742. type: integer
  17743. marketid:
  17744. description: 市场id
  17745. type: integer
  17746. marketname:
  17747. description: 市场名称
  17748. type: string
  17749. openprice:
  17750. description: 建仓价格
  17751. type: number
  17752. openqty:
  17753. description: 期初均价
  17754. type: number
  17755. optiontype:
  17756. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17757. type: integer
  17758. preexerciseprice:
  17759. description: 预申报价格
  17760. type: number
  17761. premium:
  17762. description: 权利金
  17763. type: number
  17764. qtydecimalplace:
  17765. description: 商品成交量小数位
  17766. type: integer
  17767. refgoodscode:
  17768. description: 标的合约代码
  17769. type: string
  17770. refgoodsid:
  17771. description: 标的合约id
  17772. type: integer
  17773. releaseamount:
  17774. description: 释放持仓金额
  17775. type: number
  17776. releaseholdercredit:
  17777. description: 释放持仓授信金额
  17778. type: number
  17779. taname:
  17780. description: 资金账号名称
  17781. type: string
  17782. tradeamount:
  17783. description: 成交金额
  17784. type: number
  17785. tradedate:
  17786. description: 交易日(yyyyMMdd)
  17787. type: string
  17788. tradeid:
  17789. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17790. type: string
  17791. trademode:
  17792. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17793. 21:竞拍-大宗式 22:受托竞价 46:掉期
  17794. type: integer
  17795. tradeproperty:
  17796. description: 交易属性
  17797. type: integer
  17798. tradetime:
  17799. description: 交易时间
  17800. type: string
  17801. userid:
  17802. description: 用户id
  17803. type: integer
  17804. username:
  17805. description: 用户名称
  17806. type: string
  17807. type: object
  17808. models.Unlinkermcphedgeplan:
  17809. properties:
  17810. accountid:
  17811. description: 期货账户ID - 作废
  17812. type: integer
  17813. accountname:
  17814. description: 交易用户
  17815. type: string
  17816. applyid:
  17817. description: 申请人
  17818. type: integer
  17819. applysrc:
  17820. description: 申请来源 - 1:管理端 2:终端
  17821. type: integer
  17822. applytime:
  17823. description: 申请时间
  17824. type: string
  17825. areauserid:
  17826. description: '[企业ID]机构ID'
  17827. type: integer
  17828. auditid:
  17829. description: 审核人
  17830. type: integer
  17831. auditremark:
  17832. description: 审核备注
  17833. type: string
  17834. auditsrc:
  17835. description: 审核来源 - 1:管理端 2:终端
  17836. type: integer
  17837. audittime:
  17838. description: 审核时间
  17839. type: string
  17840. audittradedate:
  17841. description: 审核交易日(yyyyMMdd)
  17842. type: string
  17843. biztype:
  17844. description: 业务类型 - 1:套保
  17845. type: integer
  17846. contracttype:
  17847. description: 计划类型 - 1:采购 -1:销售
  17848. type: integer
  17849. convertfactor:
  17850. description: 标仓系数 - 作废
  17851. type: number
  17852. createtime:
  17853. description: 创建时间
  17854. type: string
  17855. currencyid:
  17856. description: 结算币种ID - 作废
  17857. type: integer
  17858. deliverygoodsid:
  17859. description: 现货品种ID
  17860. type: integer
  17861. enumdicname:
  17862. description: 结算币种
  17863. type: string
  17864. hedgeplanid:
  17865. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  17866. type: string
  17867. hedgeplanno:
  17868. description: '[计划编号]套保计划编号,模糊查询'
  17869. type: string
  17870. hedgeplanstatus:
  17871. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  17872. type: integer
  17873. isrelated:
  17874. description: 是否已关联计划项目 - 0:否 1:是
  17875. type: integer
  17876. planqty:
  17877. description: '[计划量]计划数量'
  17878. type: number
  17879. plantime:
  17880. description: 计划时间
  17881. type: string
  17882. producttype:
  17883. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  17884. type: integer
  17885. remark:
  17886. description: 备注
  17887. type: string
  17888. spotgoodsdesc:
  17889. description: 商品型号
  17890. type: string
  17891. tradedate:
  17892. description: 交易日(yyyyMMdd)
  17893. type: string
  17894. tradeuserid:
  17895. description: 交易用户ID
  17896. type: integer
  17897. updatetime:
  17898. description: 更新时间
  17899. type: string
  17900. wrstandardid:
  17901. description: 现货商品ID
  17902. type: integer
  17903. wrstandardname:
  17904. description: 现货商品,模糊查询
  17905. type: string
  17906. required:
  17907. - areauserid
  17908. type: object
  17909. models.UserCollectConfig:
  17910. properties:
  17911. accountstatus:
  17912. description: 账户状态 - 1:正常 2:停用 3:注销
  17913. type: integer
  17914. collectaccountname:
  17915. description: 收款人账户名称
  17916. type: string
  17917. collectaccountno:
  17918. description: 收款人账户
  17919. type: string
  17920. collectbankname:
  17921. description: 收款人开户行
  17922. type: string
  17923. collectbranchbankname:
  17924. description: 收款人开户支行
  17925. type: string
  17926. collectconfigid:
  17927. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  17928. type: string
  17929. remark:
  17930. description: 备注
  17931. type: string
  17932. userid:
  17933. description: 收款人用户ID
  17934. type: integer
  17935. type: object
  17936. models.UserReceiveInfo:
  17937. properties:
  17938. address:
  17939. description: 提货人详细地址
  17940. type: string
  17941. autoid:
  17942. description: AutoID
  17943. type: integer
  17944. cardnum:
  17945. description: 证件号码(加密存储)
  17946. type: string
  17947. cardtypeid:
  17948. description: 证件类型
  17949. type: integer
  17950. cityid:
  17951. description: 市
  17952. type: integer
  17953. cityname:
  17954. description: 城市名称
  17955. type: string
  17956. countryid:
  17957. description: 国家
  17958. type: integer
  17959. countryname:
  17960. description: 国家名称
  17961. type: string
  17962. districtid:
  17963. description: 地区
  17964. type: integer
  17965. districtname:
  17966. description: 地区名称
  17967. type: string
  17968. hasencrypt:
  17969. description: 数据是否已加密 - 0:未加密 1:已加密
  17970. type: integer
  17971. isdefault:
  17972. description: 是否默认地址 - 0:否 1:是
  17973. type: integer
  17974. phonenum:
  17975. description: 提货人联系方式(加密存储)
  17976. type: string
  17977. provinceid:
  17978. description: 省
  17979. type: integer
  17980. provincename:
  17981. description: 省名称
  17982. type: string
  17983. receivername:
  17984. description: 提货人姓名
  17985. type: string
  17986. takeremark:
  17987. description: 提货备注
  17988. type: string
  17989. userid:
  17990. description: 用户ID
  17991. type: integer
  17992. type: object
  17993. models.Useraccount:
  17994. properties:
  17995. accountname:
  17996. description: 账户名称(机构名称)
  17997. type: string
  17998. accountstatus:
  17999. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  18000. type: integer
  18001. applysrc:
  18002. description: 申请来源 - 1:管理端 2:终端
  18003. type: integer
  18004. auditremark:
  18005. description: 审核备注
  18006. type: string
  18007. auditsrc:
  18008. description: 审核来源 - 1:管理端 2:终端
  18009. type: integer
  18010. audittime:
  18011. description: 审核时间
  18012. type: string
  18013. audituserid:
  18014. description: 审核人
  18015. type: integer
  18016. broker:
  18017. description: 所属经纪人ID
  18018. type: integer
  18019. canceltime:
  18020. description: 销户时间
  18021. type: string
  18022. canceluserid:
  18023. description: 销户人
  18024. type: integer
  18025. canrecommend:
  18026. description: 是否可推荐 - 0:不可 1;可
  18027. type: integer
  18028. createtime:
  18029. description: 创建时间
  18030. type: string
  18031. creatorid:
  18032. description: 创建人
  18033. type: integer
  18034. curscore:
  18035. description: 积分
  18036. type: integer
  18037. hasauth:
  18038. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  18039. type: integer
  18040. isanonymous:
  18041. description: 是否匿名下单 - 0:否 1:是
  18042. type: integer
  18043. issigned:
  18044. description: 今日是否已签到
  18045. type: boolean
  18046. maxinvestornum:
  18047. description: 最大用户数(经纪会员下投资者个数)
  18048. type: integer
  18049. memberuserid:
  18050. description: 所属会员ID
  18051. type: integer
  18052. modifierid:
  18053. description: 修改人
  18054. type: integer
  18055. modifyremark:
  18056. description: 变更备注
  18057. type: string
  18058. modifystatus:
  18059. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  18060. type: integer
  18061. modifytime:
  18062. description: 修改时间
  18063. type: string
  18064. parenttopuser:
  18065. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  18066. type: string
  18067. parentuserid:
  18068. description: 所属机构ID
  18069. type: integer
  18070. reckonaccountid:
  18071. description: 默认结算资金账号ID(机构分润使用) 作废
  18072. type: integer
  18073. refercount:
  18074. description: 推荐总人数
  18075. type: integer
  18076. refereeuserid:
  18077. description: 推荐人ID
  18078. type: integer
  18079. refernum:
  18080. description: 推荐码
  18081. type: string
  18082. rootuserid:
  18083. description: 根用户ID
  18084. type: integer
  18085. subaccountlevel:
  18086. description: 子账户层数
  18087. type: integer
  18088. subarealevelpath:
  18089. description: 子机构层级路径(逗号分隔,首尾加逗号)
  18090. type: string
  18091. todayrefercount:
  18092. description: 今日推荐人数
  18093. type: integer
  18094. userid:
  18095. description: 用户ID
  18096. type: integer
  18097. usertype:
  18098. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18099. type: integer
  18100. required:
  18101. - userid
  18102. type: object
  18103. models.Userfavoritegoods:
  18104. properties:
  18105. goodsid:
  18106. description: 商品ID
  18107. type: integer
  18108. required:
  18109. - goodsid
  18110. type: object
  18111. models.Userinfo:
  18112. properties:
  18113. address:
  18114. description: 地址
  18115. type: string
  18116. attachment1:
  18117. description: 附件1
  18118. type: string
  18119. attachment2:
  18120. description: 附件2
  18121. type: string
  18122. bankaccount:
  18123. description: 银行帐号 (加密存储)
  18124. type: string
  18125. bankaccountname:
  18126. description: 收款人名称
  18127. type: string
  18128. bankcardfrontphotourl:
  18129. description: 银行卡正面照地址
  18130. type: string
  18131. bankid:
  18132. description: 银行编码
  18133. type: string
  18134. bankname:
  18135. description: 银行名称
  18136. type: string
  18137. biznature:
  18138. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18139. type: integer
  18140. bizscope:
  18141. description: 企业经营范围(企业)
  18142. type: string
  18143. cardbackphotourl:
  18144. description: 证件背面图片地址
  18145. type: string
  18146. cardfrontphotourl:
  18147. description: 证件正面图片地址
  18148. type: string
  18149. cardnum:
  18150. description: 证件号码(加密存储)
  18151. type: string
  18152. cardtypeid:
  18153. description: 证件类型ID
  18154. type: integer
  18155. cityid:
  18156. description: 市
  18157. type: integer
  18158. company:
  18159. description: 公司(个人)
  18160. type: string
  18161. contactname:
  18162. description: 联系人
  18163. type: string
  18164. countryid:
  18165. description: 国家
  18166. type: integer
  18167. createtime:
  18168. description: 创建时间
  18169. type: string
  18170. creatorid:
  18171. description: 创建人
  18172. type: integer
  18173. customername:
  18174. description: 客户名称(企业名称)
  18175. type: string
  18176. districtid:
  18177. description: 地区
  18178. type: integer
  18179. email:
  18180. description: 邮件(加密存储)
  18181. type: string
  18182. fax:
  18183. description: 传真(加密存储)
  18184. type: string
  18185. halfbodyphotourl:
  18186. description: 半身照地址
  18187. type: string
  18188. hasencrypt:
  18189. description: 数据是否已加密 - 0:未加密 1:已加密
  18190. type: integer
  18191. headurl:
  18192. description: 头像地址
  18193. type: string
  18194. legalcardbackphotourl:
  18195. description: 法人身份证背面照地址
  18196. type: string
  18197. legalcardfrontphotourl:
  18198. description: 法人身份证正面照地址
  18199. type: string
  18200. legalpersonname:
  18201. description: 法人姓名(企业)
  18202. type: string
  18203. mobile:
  18204. description: 手机号码(加密存储)
  18205. type: string
  18206. mobile2:
  18207. description: 手机号码[明文-尚志]
  18208. type: string
  18209. modifierid:
  18210. description: 修改人
  18211. type: integer
  18212. modifiertime:
  18213. description: 修改时间
  18214. type: string
  18215. needinvoice:
  18216. description: 是否需要发票 - 0:不需要 1:需要
  18217. type: integer
  18218. nickname:
  18219. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18220. type: string
  18221. openmode:
  18222. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  18223. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  18224. type: integer
  18225. otherurl:
  18226. description: 其它图片地址[使用分号分隔]
  18227. type: string
  18228. postalcode:
  18229. description: 邮政编码
  18230. type: string
  18231. provinceid:
  18232. description: 省
  18233. type: integer
  18234. qq:
  18235. description: QQ(加密存储
  18236. type: string
  18237. remark:
  18238. description: 备注
  18239. type: string
  18240. sex:
  18241. description: '用户性别 0: 女 1: 男'
  18242. type: integer
  18243. signpdfurl:
  18244. description: 签约pdf文件
  18245. type: string
  18246. telphone:
  18247. description: 联系电话(加密存储)
  18248. type: string
  18249. userid:
  18250. description: 用户ID
  18251. type: integer
  18252. userinfotype:
  18253. description: 用户信息类型 - 1:个人 2:企业
  18254. type: integer
  18255. userstatus:
  18256. description: 用户状态 - 1:正常 2:注销
  18257. type: integer
  18258. usertype:
  18259. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  18260. type: integer
  18261. wechat:
  18262. description: 微信(加密存储)
  18263. type: string
  18264. wskhinfo:
  18265. description: 开户申请信息(JSON)
  18266. type: string
  18267. required:
  18268. - userid
  18269. type: object
  18270. models.WRPositionReport:
  18271. properties:
  18272. accountid:
  18273. description: 帐户ID
  18274. type: integer
  18275. brandid:
  18276. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  18277. type: integer
  18278. buylistinglot:
  18279. description: 买挂牌宗数
  18280. type: integer
  18281. buytradeamount:
  18282. description: 购买金额
  18283. type: number
  18284. buytradelot:
  18285. description: 购买宗数
  18286. type: integer
  18287. buytradeqty:
  18288. description: 购买数量
  18289. type: number
  18290. creditcurqty:
  18291. description: 授信当前数量
  18292. type: integer
  18293. creditfreezeqty:
  18294. description: 授信冻结数量
  18295. type: integer
  18296. credittotalqty:
  18297. description: 授信总数量
  18298. type: integer
  18299. credittradeqty:
  18300. description: 授信成交数量
  18301. type: integer
  18302. decreaseqty:
  18303. description: 今日减少数量
  18304. type: integer
  18305. deliverygoodsid:
  18306. description: 交割商品ID
  18307. type: integer
  18308. deliverymonthid:
  18309. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  18310. type: integer
  18311. freezeqty:
  18312. description: 总冻结数量
  18313. type: integer
  18314. increaseqty:
  18315. description: 今日增加数量
  18316. type: integer
  18317. marketvalue:
  18318. description: 市值
  18319. type: number
  18320. pickupqty:
  18321. description: 今日提货数量
  18322. type: integer
  18323. qualityid:
  18324. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  18325. type: integer
  18326. reckondate:
  18327. description: 日照时期(yyyyMMdd)
  18328. type: string
  18329. relatedqty:
  18330. description: 关联数量
  18331. type: integer
  18332. selllistingamount:
  18333. description: 卖挂牌金额
  18334. type: number
  18335. selllistinglot:
  18336. description: 卖挂牌宗数
  18337. type: integer
  18338. selllistingqty:
  18339. description: 卖挂牌数量
  18340. type: number
  18341. selltradeamount:
  18342. description: 销售金额
  18343. type: number
  18344. selltradelot:
  18345. description: 销售宗数
  18346. type: integer
  18347. selltradeqty:
  18348. description: 销售数量
  18349. type: number
  18350. specid:
  18351. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  18352. type: integer
  18353. totalprice:
  18354. description: 销售金额(¥)
  18355. type: number
  18356. totalqty:
  18357. description: 总数量
  18358. type: integer
  18359. totalweight:
  18360. description: 销售重量(ct)
  18361. type: number
  18362. tradewrqty:
  18363. description: 订单仓单头寸总数量
  18364. type: integer
  18365. transfertradewrqty:
  18366. description: 今日转订单数量
  18367. type: integer
  18368. warehouseid:
  18369. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  18370. type: integer
  18371. wrfactortypeid:
  18372. description: 仓单要素类型ID
  18373. type: integer
  18374. wrpositionid:
  18375. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18376. type: integer
  18377. wrstandardcode:
  18378. description: 现货商品代码
  18379. type: string
  18380. wrstandardid:
  18381. description: 现货商品ID
  18382. type: integer
  18383. wruserid:
  18384. description: 持有人ID
  18385. type: integer
  18386. zscategory:
  18387. description: 商品分类
  18388. type: integer
  18389. zscategorydisplay:
  18390. type: string
  18391. zscurrencytype:
  18392. description: 商品币种
  18393. type: integer
  18394. zscurrencytypedisplay:
  18395. type: string
  18396. zscurrencytypedisplayunit:
  18397. type: string
  18398. type: object
  18399. models.WRSConverTDetail:
  18400. properties:
  18401. convertratio:
  18402. description: 套保系数
  18403. type: number
  18404. deliverygoodscode:
  18405. description: 现货商品代码
  18406. type: string
  18407. deliverygoodsid:
  18408. description: 现货品种ID
  18409. type: integer
  18410. deliverygoodsname:
  18411. description: 现货商品名称
  18412. type: string
  18413. enumdicname:
  18414. description: 单位名称
  18415. type: string
  18416. goodsunitid:
  18417. description: 套保品种单位id
  18418. type: integer
  18419. middlegoodscode:
  18420. description: 套保品种代码
  18421. type: string
  18422. middlegoodsid:
  18423. description: 套保品种ID
  18424. type: integer
  18425. middlegoodsname:
  18426. description: 套保品种名称
  18427. type: string
  18428. modifytime:
  18429. description: 修改时间
  18430. type: string
  18431. wrstandardid:
  18432. description: 品类ID
  18433. type: integer
  18434. type: object
  18435. models.WRStandardInfo:
  18436. properties:
  18437. areauserid:
  18438. description: 所属机构
  18439. type: integer
  18440. convertfactor:
  18441. description: 标仓系数
  18442. type: number
  18443. createtime:
  18444. description: 创建时间
  18445. type: string
  18446. creatorid:
  18447. description: 创建人
  18448. type: integer
  18449. deliverygoodsid:
  18450. description: 品种ID
  18451. type: integer
  18452. deliverygoodsname:
  18453. description: 交割商品名称
  18454. type: string
  18455. factoryitemjson:
  18456. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  18457. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  18458. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  18459. 逗号分隔'
  18460. type: string
  18461. isvalid:
  18462. description: 是否有效 - 0:无效 1:有效
  18463. type: integer
  18464. minivalue:
  18465. description: 最小变动值
  18466. type: integer
  18467. minivaluedp:
  18468. description: 最小变动值小数位
  18469. type: integer
  18470. realminivalue:
  18471. description: 实际最小变动值
  18472. type: integer
  18473. realminivaluedp:
  18474. description: 实际最小变动值小数位
  18475. type: integer
  18476. remark:
  18477. description: 备注
  18478. type: string
  18479. unitid:
  18480. description: 单位ID
  18481. type: integer
  18482. unitname:
  18483. description: 单位
  18484. type: string
  18485. updatetime:
  18486. description: 更新时间
  18487. type: string
  18488. updatorid:
  18489. description: 更新人
  18490. type: integer
  18491. wrsstatus:
  18492. description: 状态 - 作废 - 0:未激活 1:正常
  18493. type: integer
  18494. wrstandardcode:
  18495. description: 现货品类代码
  18496. type: string
  18497. wrstandardid:
  18498. description: 现货品类ID(SEQ_WRSTANDARD)
  18499. type: integer
  18500. wrstandardname:
  18501. description: 现货品类名称
  18502. type: string
  18503. required:
  18504. - wrstandardid
  18505. type: object
  18506. models.WRTradeBargainApply:
  18507. properties:
  18508. accountid:
  18509. description: 摘牌资金账号
  18510. type: integer
  18511. applyprice:
  18512. description: 申请价格(议价价格)
  18513. type: string
  18514. applyqty:
  18515. description: 摘牌数量(议价数量)
  18516. type: number
  18517. applyremark:
  18518. description: 申请备注
  18519. type: string
  18520. applystatus:
  18521. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  18522. type: integer
  18523. applytime:
  18524. description: 申请时间(议价时间)
  18525. type: string
  18526. begindate:
  18527. description: 开始交易日(yyyymmdd)
  18528. type: string
  18529. buyorsell:
  18530. description: 买卖(挂牌类型) - 0:买 1:卖
  18531. type: integer
  18532. confirmremark:
  18533. description: 确认备注
  18534. type: string
  18535. confirmtime:
  18536. description: 确认时间
  18537. type: string
  18538. confirmuserid:
  18539. description: 确认人
  18540. type: integer
  18541. deliverygoodscode:
  18542. description: 品种代码
  18543. type: string
  18544. deliverygoodsid:
  18545. description: 品种ID
  18546. type: integer
  18547. deliverygoodsname:
  18548. description: 品种名称
  18549. type: string
  18550. deliverymonth:
  18551. description: 交收月
  18552. type: string
  18553. enddate:
  18554. description: 结束交易日(yyyymmdd)
  18555. type: string
  18556. enumdicname:
  18557. description: 单位名称
  18558. type: string
  18559. fixedprice:
  18560. description: 期初均价
  18561. type: number
  18562. handlestatus:
  18563. description: 处理状态
  18564. type: integer
  18565. marginvalue:
  18566. description: 期初均价
  18567. type: number
  18568. marketid:
  18569. description: 市场ID
  18570. type: integer
  18571. matchaccountid:
  18572. description: 挂牌方资金账号
  18573. type: integer
  18574. matchuserid:
  18575. description: 挂牌方用户id
  18576. type: integer
  18577. matchusername:
  18578. description: 挂牌方用户名称(已脱敏)
  18579. type: string
  18580. minivalue:
  18581. description: 现货商品最小变动值
  18582. type: integer
  18583. optioncompare:
  18584. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18585. type: string
  18586. orderqty:
  18587. description: 挂牌数量
  18588. type: integer
  18589. refprice:
  18590. description: 参考价格
  18591. type: string
  18592. retcode:
  18593. description: 委托返回代码
  18594. type: integer
  18595. templatename:
  18596. description: 履约方式(履约模板名称)
  18597. type: string
  18598. tradedate:
  18599. description: 交易日(yyyyMMdd)
  18600. type: string
  18601. userid:
  18602. description: 摘牌人用户ID(议价人ID)
  18603. type: integer
  18604. username:
  18605. description: 议价人名字(已脱敏)
  18606. type: string
  18607. validtime:
  18608. description: 有效期限
  18609. type: string
  18610. warehouseid:
  18611. description: 仓库ID
  18612. type: integer
  18613. warehousename:
  18614. description: 仓库名称
  18615. type: string
  18616. wrbargainid:
  18617. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  18618. type: string
  18619. wrfactortypeid:
  18620. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18621. type: string
  18622. wrfactortypename:
  18623. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18624. type: string
  18625. wrstandardcode:
  18626. description: 现货商品代码
  18627. type: string
  18628. wrstandardid:
  18629. description: 现货商品ID
  18630. type: integer
  18631. wrstandardname:
  18632. description: 商品名称
  18633. type: string
  18634. wrtradeorderid:
  18635. description: 关联委托单ID
  18636. type: string
  18637. wrtypename:
  18638. description: 商品
  18639. type: string
  18640. type: object
  18641. models.Warehouseinfo:
  18642. properties:
  18643. address:
  18644. description: 详细地址
  18645. type: string
  18646. areauserid:
  18647. description: 所属机构
  18648. type: integer
  18649. autoid:
  18650. description: 自增ID
  18651. type: integer
  18652. cityid:
  18653. description: 市
  18654. type: integer
  18655. contactname:
  18656. description: 联系人
  18657. type: string
  18658. contactnum:
  18659. description: 联系电话
  18660. type: string
  18661. countryid:
  18662. description: 国家
  18663. type: integer
  18664. createtime:
  18665. description: 创建时间
  18666. type: string
  18667. districtid:
  18668. description: 区
  18669. type: integer
  18670. hasvideo:
  18671. description: 是否有视频 - 0:无 1:有
  18672. type: integer
  18673. provinceid:
  18674. description: 省
  18675. type: integer
  18676. remark:
  18677. description: 审核备注
  18678. type: string
  18679. videourl:
  18680. description: 视频地址
  18681. type: string
  18682. warehousecode:
  18683. description: 仓库代码
  18684. type: string
  18685. warehousename:
  18686. description: 仓库名称
  18687. type: string
  18688. warehousestatus:
  18689. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  18690. type: integer
  18691. warehousetype:
  18692. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  18693. type: integer
  18694. required:
  18695. - autoid
  18696. - warehousecode
  18697. type: object
  18698. models.WrAverageTradePrice:
  18699. properties:
  18700. averageprice:
  18701. description: 期初均价
  18702. type: number
  18703. tradedate:
  18704. description: 交易日yyyymm
  18705. type: string
  18706. type: object
  18707. models.WrBrandAndYears:
  18708. properties:
  18709. brandlst:
  18710. description: 品牌列表
  18711. items:
  18712. $ref: '#/definitions/models.DgFactoryItem'
  18713. type: array
  18714. yearslst:
  18715. description: 年份列表
  18716. items:
  18717. $ref: '#/definitions/models.DgFactoryItem'
  18718. type: array
  18719. type: object
  18720. models.WrBsGoodsInfo:
  18721. properties:
  18722. buyorsell:
  18723. description: 买卖方向 0-买 1-卖
  18724. type: integer
  18725. goodsid:
  18726. description: 交易合约ID
  18727. type: integer
  18728. lstitem:
  18729. description: 商品信息项
  18730. items:
  18731. $ref: '#/definitions/models.WrTypeItem'
  18732. type: array
  18733. lststep:
  18734. description: 履约规则
  18735. items:
  18736. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18737. type: array
  18738. type: object
  18739. models.WrBuybackDetail:
  18740. properties:
  18741. buybackamount:
  18742. description: 回购金额
  18743. type: number
  18744. buybackqty:
  18745. description: 回购数量
  18746. type: number
  18747. buybackreleasemargin:
  18748. description: 回购释放保证金
  18749. type: number
  18750. buybacktime:
  18751. description: 回购时间
  18752. type: string
  18753. errordesc:
  18754. description: 错误描述
  18755. type: string
  18756. handlestatus:
  18757. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  18758. type: integer
  18759. relatedwrid:
  18760. description: 关联仓单ID
  18761. type: integer
  18762. scfcontractid:
  18763. description: SCF合同ID
  18764. type: string
  18765. scfwrbuybackid:
  18766. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  18767. type: integer
  18768. tradedate:
  18769. description: 交易日(yyyyMMdd)
  18770. type: string
  18771. type: object
  18772. models.WrClientAdSpaceConfig:
  18773. properties:
  18774. adspaceid:
  18775. description: 广告位ID
  18776. type: integer
  18777. adspacename:
  18778. description: 广告位名称
  18779. type: string
  18780. adspacetype:
  18781. description: 广告位类型 - 1:固定广告位
  18782. type: integer
  18783. areauserid:
  18784. description: 所属机构ID
  18785. type: integer
  18786. createdate:
  18787. description: 创建时间
  18788. type: string
  18789. imagepath:
  18790. description: 图片
  18791. type: string
  18792. modifierid:
  18793. description: 操作人
  18794. type: integer
  18795. recsize:
  18796. description: 推荐尺寸
  18797. type: string
  18798. title:
  18799. description: 标题
  18800. type: string
  18801. updatedate:
  18802. description: 更新时间
  18803. type: string
  18804. urlcontent:
  18805. description: 链接(地址\商品ID\功能菜单Key\appid)
  18806. type: string
  18807. urltype:
  18808. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  18809. type: integer
  18810. type: object
  18811. models.WrDeliveryAvalidHoldLB:
  18812. properties:
  18813. accountid:
  18814. description: 资金账号
  18815. type: integer
  18816. avalidqty:
  18817. description: 数量(可点选数量)
  18818. type: number
  18819. deliverygoodsid:
  18820. description: 品种id
  18821. type: integer
  18822. enumdicname:
  18823. description: 单位名称
  18824. type: string
  18825. goodsid:
  18826. description: x合约商品id
  18827. type: integer
  18828. ladingbillid:
  18829. description: 提单id
  18830. type: string
  18831. pgoodscode:
  18832. description: p商品代码(点价合约)
  18833. type: string
  18834. pgoodsid:
  18835. description: p商品id(点价合约)
  18836. type: integer
  18837. pgoodsname:
  18838. description: p商品名称(点价合约)
  18839. type: string
  18840. pricemove:
  18841. description: 升贴水
  18842. type: number
  18843. subnum:
  18844. description: 提单子id
  18845. type: integer
  18846. userid:
  18847. description: 用户id
  18848. type: integer
  18849. username:
  18850. description: 仓单持有人
  18851. type: string
  18852. warehousecode:
  18853. description: 仓库代码
  18854. type: string
  18855. warehouseid:
  18856. description: 仓库id
  18857. type: integer
  18858. warehousename:
  18859. description: 仓库名称
  18860. type: string
  18861. wrfactortypeid:
  18862. description: 仓单要素id
  18863. type: string
  18864. wrstandardcode:
  18865. description: 品代码
  18866. type: string
  18867. wrstandardid:
  18868. description: 品类d
  18869. type: integer
  18870. wrstandardname:
  18871. description: 品类名称
  18872. type: string
  18873. wrtypename:
  18874. description: 商品
  18875. type: string
  18876. xgoodscode:
  18877. description: x合约代码
  18878. type: string
  18879. xgoodsname:
  18880. description: x合约名称
  18881. type: string
  18882. type: object
  18883. models.WrDeliveryDetail:
  18884. properties:
  18885. accountid:
  18886. description: 账号ID
  18887. type: integer
  18888. averageprice:
  18889. description: 期初均价
  18890. type: number
  18891. begindate:
  18892. description: 开始交易日(yyyymmdd)
  18893. type: string
  18894. buyorsell:
  18895. description: 方向 - 0:买 1:卖
  18896. type: integer
  18897. deliveryamount:
  18898. description: 货款金额(X总货款+P总货款)
  18899. type: number
  18900. deliveryid:
  18901. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  18902. type: string
  18903. deliveryorderid:
  18904. description: 申报单号
  18905. type: string
  18906. deliverypricemove:
  18907. description: 升贴水(升贴水总额)
  18908. type: number
  18909. deliveryqty:
  18910. description: 交收数量(点选数量)
  18911. type: number
  18912. deliverystatus:
  18913. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  18914. type: integer
  18915. deliverytime:
  18916. description: 交割时间
  18917. type: string
  18918. deliverytotalamount:
  18919. description: 交收金额
  18920. type: number
  18921. enddate:
  18922. description: 结束交易日(yyyymmdd)
  18923. type: string
  18924. enumdicname:
  18925. description: 单位名称
  18926. type: string
  18927. matchaccountid:
  18928. description: 对手账号ID
  18929. type: integer
  18930. matchusername:
  18931. description: 对手方名称(仓单持有人)
  18932. type: string
  18933. p1goodsremainamount:
  18934. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  18935. type: number
  18936. pdeliverycloseqty:
  18937. description: p合约平仓数量
  18938. type: number
  18939. pdeliveryprice:
  18940. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  18941. type: number
  18942. pgoodscode:
  18943. description: 商品代码
  18944. type: string
  18945. pgoodsid:
  18946. description: p点选合约id
  18947. type: integer
  18948. pgoodsname:
  18949. description: 商品名称
  18950. type: string
  18951. ppricemode:
  18952. description: 点价价格方式 - 1:商品价 2:固定值
  18953. type: integer
  18954. tradedate:
  18955. description: 交易日(yyyymmdd)
  18956. type: string
  18957. userid:
  18958. description: 用户id
  18959. type: integer
  18960. username:
  18961. description: 用户名称
  18962. type: string
  18963. warehousename:
  18964. description: 仓库名称
  18965. type: string
  18966. wrfactortypeid:
  18967. description: 仓单要素类型ID
  18968. type: string
  18969. wrtypename:
  18970. description: 商品
  18971. type: string
  18972. xdeliverycloseqty:
  18973. description: 合约数量
  18974. type: number
  18975. xgoodsamount:
  18976. description: 期初均价
  18977. type: number
  18978. xgoodscode:
  18979. description: 商品代码
  18980. type: string
  18981. xgoodsid:
  18982. description: x交易合约ID
  18983. type: integer
  18984. xgoodsname:
  18985. description: 商品名称
  18986. type: string
  18987. type: object
  18988. models.WrDeliveryGoodsSection:
  18989. properties:
  18990. dglst:
  18991. description: 板块商品列表
  18992. items:
  18993. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  18994. type: array
  18995. imagepath:
  18996. description: 图片地址
  18997. type: string
  18998. orderindex:
  18999. description: 排序
  19000. type: integer
  19001. sectionid:
  19002. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  19003. = 1的版块1 - 云融指数
  19004. type: integer
  19005. sectionname:
  19006. description: 版块名称
  19007. type: string
  19008. sectiontype:
  19009. description: 版块类型 - 1:指数版块 2:普通版块
  19010. type: integer
  19011. type: object
  19012. models.WrDeliveryGoodsSectionConfig:
  19013. properties:
  19014. deliverygoodscode:
  19015. description: 现货商品代码
  19016. type: string
  19017. deliverygoodsid:
  19018. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19019. type: integer
  19020. deliverygoodsname:
  19021. description: 现货商品名称
  19022. type: string
  19023. orderindex:
  19024. description: 排序
  19025. type: integer
  19026. type: object
  19027. models.WrDraftUserInfo:
  19028. properties:
  19029. address:
  19030. description: 地址
  19031. type: string
  19032. attachment1:
  19033. description: 附件1
  19034. type: string
  19035. attachment2:
  19036. description: 附件2
  19037. type: string
  19038. attachment3:
  19039. description: 附件3
  19040. type: string
  19041. attachment4:
  19042. description: 附件4
  19043. type: string
  19044. attachment5:
  19045. description: 附件5
  19046. type: string
  19047. bankaccount:
  19048. description: 银行帐号 (加密存储)
  19049. type: string
  19050. bankaccountname:
  19051. description: 收款人名称
  19052. type: string
  19053. bankcardfrontphotourl:
  19054. description: 银行卡正面照地址
  19055. type: string
  19056. bankid:
  19057. description: 银行编码
  19058. type: string
  19059. bankname:
  19060. description: 银行名称
  19061. type: string
  19062. birthday:
  19063. description: 生日(个人:年月日)
  19064. type: string
  19065. biznature:
  19066. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  19067. type: integer
  19068. bizscope:
  19069. description: 企业经营范围(企业)
  19070. type: string
  19071. biztype:
  19072. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  19073. type: integer
  19074. cardbackphotourl:
  19075. description: 证件背面图片地址
  19076. type: string
  19077. cardfrontphotourl:
  19078. description: 证件正面图片地址
  19079. type: string
  19080. cardnum:
  19081. description: 证件号码(加密存储)
  19082. type: string
  19083. cardtypeid:
  19084. description: 证件类型ID
  19085. type: integer
  19086. cityid:
  19087. description: 市
  19088. type: integer
  19089. company:
  19090. description: 公司(个人)
  19091. type: string
  19092. contactcardbackphotourl:
  19093. description: 联系人证件背面图片地址
  19094. type: string
  19095. contactcardfrontphotourl:
  19096. description: 联系人证件正面图片地址
  19097. type: string
  19098. contactname:
  19099. description: 联系人
  19100. type: string
  19101. countryid:
  19102. description: 国家
  19103. type: integer
  19104. createtime:
  19105. description: 创建时间
  19106. type: string
  19107. creatorid:
  19108. description: 创建人
  19109. type: integer
  19110. creditquota:
  19111. description: 授信额度(金瑞)
  19112. type: number
  19113. customername:
  19114. description: 客户名称(企业名称)
  19115. type: string
  19116. districtid:
  19117. description: 地区
  19118. type: integer
  19119. email:
  19120. description: 邮件(加密存储)
  19121. type: string
  19122. fax:
  19123. description: 传真(加密存储)
  19124. type: string
  19125. halfbodyphotourl:
  19126. description: 半身照地址
  19127. type: string
  19128. hasencrypt:
  19129. description: 数据是否已加密 - 0:未加密 1:已加密
  19130. type: integer
  19131. headurl:
  19132. description: 头像地址
  19133. type: string
  19134. legalcardbackphotourl:
  19135. description: 法人身份证背面照地址
  19136. type: string
  19137. legalcardfrontphotourl:
  19138. description: 法人身份证正面照地址
  19139. type: string
  19140. legalpersonname:
  19141. description: 法人姓名(企业)
  19142. type: string
  19143. mobile:
  19144. description: 手机号码(加密存储)
  19145. type: string
  19146. mobile2:
  19147. description: 手机号码[明文-尚志]
  19148. type: string
  19149. modifierid:
  19150. description: 修改人
  19151. type: integer
  19152. modifiertime:
  19153. description: 修改时间
  19154. type: string
  19155. needinvoice:
  19156. description: 是否需要发票 - 0:不需要 1:需要
  19157. type: integer
  19158. nickname:
  19159. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  19160. type: string
  19161. openmode:
  19162. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  19163. 6:苹果手机端注册 7:PC交易端注册"
  19164. type: integer
  19165. otherurl:
  19166. description: 其它图片地址[使用分号分隔]
  19167. type: string
  19168. postalcode:
  19169. description: 邮政编码
  19170. type: string
  19171. provinceid:
  19172. description: 省
  19173. type: integer
  19174. proxystatementurl:
  19175. description: 授权委托书
  19176. type: string
  19177. qq:
  19178. description: QQ(加密存储
  19179. type: string
  19180. remark:
  19181. description: 备注
  19182. type: string
  19183. sex:
  19184. description: '用户性别 0: 女 1: 男'
  19185. type: integer
  19186. signpdfurl:
  19187. description: 签约pdf文件
  19188. type: string
  19189. taxpayernum:
  19190. description: 纳税人识别号
  19191. type: string
  19192. telphone:
  19193. description: 联系电话(加密存储)
  19194. type: string
  19195. userid:
  19196. description: 用户ID
  19197. type: integer
  19198. userinfotype:
  19199. description: 用户信息类型 - 1:个人 2:企业
  19200. type: integer
  19201. userstatus:
  19202. description: 用户状态 - 1:正常 2:注销
  19203. type: integer
  19204. usertype:
  19205. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  19206. type: integer
  19207. wechat:
  19208. description: 微信(加密存储)
  19209. type: string
  19210. wskhinfo:
  19211. description: 开户申请信息(JSON)
  19212. type: string
  19213. type: object
  19214. models.WrFAProductDetail:
  19215. properties:
  19216. accountid:
  19217. description: 资金账号
  19218. type: integer
  19219. areauserid:
  19220. description: 金融机构ID
  19221. type: integer
  19222. financingdays:
  19223. description: 天数(天)
  19224. type: integer
  19225. interestminlen:
  19226. description: 最小起息天数
  19227. type: integer
  19228. interestrate:
  19229. description: 利率
  19230. type: number
  19231. interestratemode:
  19232. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19233. type: integer
  19234. interestsettlemode:
  19235. description: 结息方式 - 1:按日结息 3:按月结息
  19236. type: integer
  19237. interestsettlevalue:
  19238. description: 结息方式值
  19239. type: integer
  19240. isautoloan:
  19241. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  19242. type: integer
  19243. loantag:
  19244. description: '放款标识: "放款快" 或者为空'
  19245. type: string
  19246. marginratio:
  19247. description: 保证金比率质押率 - [仓单质押]
  19248. type: number
  19249. productdetailid:
  19250. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  19251. type: integer
  19252. productid:
  19253. description: 金融产品ID
  19254. type: integer
  19255. productname:
  19256. description: 产品名称
  19257. type: string
  19258. updatetime:
  19259. description: 更新时间
  19260. type: string
  19261. username:
  19262. description: 融出方
  19263. type: string
  19264. type: object
  19265. models.WrFactorTypeInfo:
  19266. properties:
  19267. deliverygoodscode:
  19268. description: 品种代码
  19269. type: string
  19270. deliverygoodsname:
  19271. description: 品种名称
  19272. type: string
  19273. dgfactoryitemid:
  19274. description: 选择项id
  19275. type: integer
  19276. dgfactoryitemtypeid:
  19277. description: 要素选择项ID (1-仓库 2-品牌)
  19278. type: integer
  19279. dgfactoryitemvalue:
  19280. description: 要素项值
  19281. type: string
  19282. itemtypename:
  19283. description: 要素项名称
  19284. type: string
  19285. optioncompare:
  19286. description: 选择比较串
  19287. type: string
  19288. warehouseid:
  19289. description: 仓库id
  19290. type: integer
  19291. wrfactortypeid:
  19292. description: 仓单要素ID
  19293. type: string
  19294. wrfactortypename:
  19295. description: 要素名称
  19296. type: string
  19297. wrfactortypename2:
  19298. description: 要素名称(不含仓库)
  19299. type: string
  19300. wrstandardcode:
  19301. description: 品类代码
  19302. type: string
  19303. wrstandardid:
  19304. description: 品类id
  19305. type: integer
  19306. wrstandardname:
  19307. description: 品类名称
  19308. type: string
  19309. type: object
  19310. models.WrFilterItem:
  19311. properties:
  19312. itemcode:
  19313. description: 代码
  19314. type: string
  19315. itemid:
  19316. description: 项id
  19317. type: integer
  19318. itemname:
  19319. description: 名称
  19320. type: string
  19321. itemtype:
  19322. description: 类型 1-品种 2-品类(商品) 3-仓库
  19323. type: integer
  19324. type: object
  19325. models.WrFinanceBuyApply:
  19326. properties:
  19327. applydate:
  19328. description: 申请时间
  19329. type: string
  19330. applystatus:
  19331. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  19332. type: integer
  19333. applyuserid:
  19334. description: 申请人
  19335. type: integer
  19336. auditdate:
  19337. description: 审核时间
  19338. type: string
  19339. auditremark:
  19340. description: 审核备注
  19341. type: string
  19342. audituserid:
  19343. description: 审核人
  19344. type: integer
  19345. buyaccountid:
  19346. description: 买方资金账号
  19347. type: integer
  19348. buyorsell:
  19349. description: 买卖 - 0:买 1:卖
  19350. type: integer
  19351. buyuserid:
  19352. description: 买方用户ID
  19353. type: integer
  19354. buyusername:
  19355. description: 买方名称
  19356. type: string
  19357. buywrtradeorderid:
  19358. description: 融资方买委托单ID
  19359. type: string
  19360. deliverygoodscode:
  19361. description: 品种代码
  19362. type: string
  19363. deliverygoodsid:
  19364. description: 品种ID
  19365. type: integer
  19366. deliverygoodsname:
  19367. description: 品种名称
  19368. type: string
  19369. deliverymonth:
  19370. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  19371. type: string
  19372. enumdicname:
  19373. description: 单位名称
  19374. type: string
  19375. financeaccountid:
  19376. description: 融资方资金帐户ID
  19377. type: integer
  19378. financeapplyid:
  19379. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19380. type: string
  19381. financeareauserid:
  19382. description: 融资方用户ID
  19383. type: string
  19384. financename:
  19385. description: 融出方名称
  19386. type: string
  19387. financetype:
  19388. description: 融资类型 1-融资回购
  19389. type: integer
  19390. financingdays:
  19391. description: 天数(天)
  19392. type: integer
  19393. freezebuymargin:
  19394. description: 冻结融资保证金(买方)
  19395. type: number
  19396. handleremark:
  19397. description: 处理备注
  19398. type: string
  19399. handlestatus:
  19400. description: 处理状态
  19401. type: integer
  19402. interestminlen:
  19403. description: 最小起息天数
  19404. type: integer
  19405. interestrate:
  19406. description: 利率
  19407. type: number
  19408. interestratemode:
  19409. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19410. type: integer
  19411. interestsettlemode:
  19412. description: 结息方式 - 1:按日结息 3:按月结息
  19413. type: integer
  19414. interestsettlevalue:
  19415. description: 结息方式值
  19416. type: integer
  19417. isautoloan:
  19418. description: 是否自动放款 - 0:手动 1:自动
  19419. type: integer
  19420. marginratio:
  19421. description: 保证金比率质押率 - [仓单质押]
  19422. type: number
  19423. marketid:
  19424. description: 市场ID
  19425. type: integer
  19426. minivalue:
  19427. description: 现货商品最小变动值
  19428. type: integer
  19429. optioncompare:
  19430. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19431. type: string
  19432. orderqty:
  19433. description: 委托数量(商品数量)
  19434. type: number
  19435. productdetailid:
  19436. description: 产品组合ID
  19437. type: integer
  19438. productid:
  19439. description: 金融产品ID
  19440. type: integer
  19441. productname:
  19442. description: 产品名称
  19443. type: string
  19444. remark:
  19445. description: 备注
  19446. type: string
  19447. scfcontractid:
  19448. description: 仓单回购合同ID
  19449. type: string
  19450. sellaccountid:
  19451. description: 卖方资金账号
  19452. type: integer
  19453. selluserid:
  19454. description: 卖方用户ID
  19455. type: integer
  19456. sellwrtradeorderid:
  19457. description: 卖方委托单ID
  19458. type: string
  19459. tradeamount:
  19460. description: 成交金额(借款金额)
  19461. type: number
  19462. tradedate:
  19463. description: 交易日(yyyyMMdd)
  19464. type: string
  19465. tradeprice:
  19466. description: 成交价格
  19467. type: number
  19468. warehouseid:
  19469. description: 仓库ID
  19470. type: integer
  19471. warehousename:
  19472. description: 仓库名称
  19473. type: string
  19474. wrfactortypeid:
  19475. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19476. type: string
  19477. wrfactortypename:
  19478. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19479. type: string
  19480. wrpricetype:
  19481. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  19482. type: integer
  19483. wrstandardcode:
  19484. description: 现货商品代码
  19485. type: string
  19486. wrstandardid:
  19487. description: 现货商品ID
  19488. type: integer
  19489. wrstandardname:
  19490. description: 商品名称
  19491. type: string
  19492. wrtypename:
  19493. description: 商品
  19494. type: string
  19495. type: object
  19496. models.WrFriendApply:
  19497. properties:
  19498. applicantid:
  19499. description: 申请人
  19500. type: integer
  19501. applyname:
  19502. description: 申请人名称
  19503. type: string
  19504. applysrc:
  19505. description: 申请来源 - 1:管理端 2:终端
  19506. type: integer
  19507. applystatus:
  19508. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19509. type: integer
  19510. applytime:
  19511. description: 申请时间
  19512. type: string
  19513. auditname:
  19514. description: 审核人名称
  19515. type: string
  19516. auditorid:
  19517. description: 审核人
  19518. type: integer
  19519. auditremark:
  19520. description: 审核备注
  19521. type: string
  19522. auditsrc:
  19523. description: 审核来源 - 1:管理端 2:终端
  19524. type: integer
  19525. audittime:
  19526. description: 审核时间
  19527. type: string
  19528. friendapplyid:
  19529. description: 申请ID(SEQ_FRIENDAPPLY)
  19530. type: string
  19531. friendname:
  19532. description: 好友名字(已脱敏)
  19533. type: string
  19534. frienduserid:
  19535. description: 好友用户ID
  19536. type: string
  19537. remark:
  19538. description: 备注
  19539. type: string
  19540. userid:
  19541. description: 申请人用户ID
  19542. type: integer
  19543. type: object
  19544. models.WrFtDeliveryGoods:
  19545. properties:
  19546. deliverygoodscode:
  19547. description: 品种代码
  19548. type: string
  19549. deliverygoodsid:
  19550. description: 品种ID
  19551. type: integer
  19552. deliverygoodsname:
  19553. description: 品种名称
  19554. type: string
  19555. wdlst:
  19556. description: 商品列表
  19557. items:
  19558. $ref: '#/definitions/models.WrFtWrstandard'
  19559. type: array
  19560. type: object
  19561. models.WrFtWrstandard:
  19562. properties:
  19563. enumdicname:
  19564. description: 单位名称
  19565. type: string
  19566. minivalue:
  19567. description: 最小变动值
  19568. type: integer
  19569. wrstandardcode:
  19570. description: 现货商品代码
  19571. type: string
  19572. wrstandardid:
  19573. description: 现货商品ID
  19574. type: integer
  19575. wrstandardname:
  19576. description: 商品名称
  19577. type: string
  19578. type: object
  19579. models.WrGoodsInfo:
  19580. properties:
  19581. haswr:
  19582. description: 0:仓单预售 1:仓单贸易
  19583. type: integer
  19584. lstitem:
  19585. description: 商品信息项
  19586. items:
  19587. $ref: '#/definitions/models.WrTypeItem'
  19588. type: array
  19589. lststep:
  19590. description: 履约规则
  19591. items:
  19592. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19593. type: array
  19594. marketid:
  19595. description: 市场id
  19596. type: integer
  19597. type: object
  19598. models.WrGoodsPerformanceStep:
  19599. properties:
  19600. autoid:
  19601. description: AutoID
  19602. type: integer
  19603. isauto:
  19604. description: 是否自动 - 0:不自动 1:自动
  19605. type: integer
  19606. remark:
  19607. description: 备注
  19608. type: string
  19609. stepdate:
  19610. description: 天数信息(T+N)
  19611. type: string
  19612. stepdays:
  19613. description: 距离上一步天数
  19614. type: integer
  19615. stepindex:
  19616. description: 步骤序号
  19617. type: integer
  19618. stepinfo:
  19619. description: 步骤信息(步骤名称+步骤值)
  19620. type: string
  19621. steptypeid:
  19622. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19623. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19624. type: integer
  19625. steptypename:
  19626. description: 步骤名称
  19627. type: string
  19628. stepvalue:
  19629. description: 期初均价
  19630. type: number
  19631. templateid:
  19632. description: 履约计划模板ID
  19633. type: integer
  19634. type: object
  19635. models.WrHoldLB:
  19636. properties:
  19637. accountid:
  19638. description: 持有人帐户ID
  19639. type: integer
  19640. bannerpicurl:
  19641. description: Banner图
  19642. type: string
  19643. createtime:
  19644. description: 创建时间(过户时间)
  19645. type: string
  19646. deliverygoodscode:
  19647. description: 品种代码
  19648. type: string
  19649. deliverygoodsid:
  19650. description: 品种ID
  19651. type: integer
  19652. deliverygoodsname:
  19653. description: 品种名称
  19654. type: string
  19655. enableqty:
  19656. description: 可用数量
  19657. type: number
  19658. enumdicname:
  19659. description: 单位名称
  19660. type: string
  19661. freezerqty:
  19662. description: 冻结数量
  19663. type: number
  19664. ladingbillid:
  19665. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19666. type: string
  19667. minivalue:
  19668. description: 现货商品最小变动值
  19669. type: integer
  19670. optioncompare:
  19671. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19672. type: string
  19673. parentsubnum:
  19674. description: 拆分父子单号
  19675. type: integer
  19676. pledgeqty:
  19677. description: 质押数量
  19678. type: number
  19679. qty:
  19680. description: 数量
  19681. type: number
  19682. subnum:
  19683. description: 提单子单号
  19684. type: integer
  19685. thumurls:
  19686. description: 缩略图
  19687. type: string
  19688. tradedate:
  19689. description: 交易日(yyyyMMdd)
  19690. type: string
  19691. userid:
  19692. description: 持有人ID
  19693. type: integer
  19694. warehouseid:
  19695. description: 仓库ID
  19696. type: integer
  19697. warehousename:
  19698. description: 仓库名称
  19699. type: string
  19700. wrfactortypeid:
  19701. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19702. type: string
  19703. wrfactortypename:
  19704. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19705. type: string
  19706. wrholdeno:
  19707. description: 仓单编号
  19708. type: string
  19709. wrid:
  19710. description: 仓单变更ID
  19711. type: string
  19712. wrstandardcode:
  19713. description: 现货商品代码
  19714. type: string
  19715. wrstandardid:
  19716. description: 现货商品ID
  19717. type: integer
  19718. wrstandardname:
  19719. description: 商品名称
  19720. type: string
  19721. wrtypename:
  19722. description: 商品
  19723. type: string
  19724. type: object
  19725. models.WrMarketTradeConfig:
  19726. properties:
  19727. basisdownratio:
  19728. description: 浮动价基差下限比例(仓单贸易)
  19729. type: number
  19730. basisupratio:
  19731. description: 浮动价基差上限比例(仓单贸易)
  19732. type: number
  19733. buychargealgorithm:
  19734. description: 买方手续费收取方式 1:比率 2:固定
  19735. type: integer
  19736. buychargealgorithm2:
  19737. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  19738. type: integer
  19739. buychargealgorithmvalue:
  19740. description: 买方手续费设置值(交易所部分)
  19741. type: number
  19742. buychargealgorithmvalue2:
  19743. description: 买方手续费设置值(会员部分)
  19744. type: number
  19745. buychargealgorithmvalue3:
  19746. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  19747. type: number
  19748. buychargealgorithmvalue4:
  19749. description: 回购买方手续费设置值(会员部分) --77:现货商城
  19750. type: number
  19751. buyfirstmarginalgorithm:
  19752. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  19753. type: integer
  19754. buyfirstmarginvalue:
  19755. description: 买方出价保证金设置值 - [竞拍]
  19756. type: number
  19757. buymarginalgorithm:
  19758. description: 买方保证金方式 - 1:比率 2:固定
  19759. type: integer
  19760. buymarginvalue:
  19761. description: 买方保证金设置值
  19762. type: number
  19763. buyreleaseratio:
  19764. description: 买方释放比率[2:分步履约]
  19765. type: number
  19766. executemode:
  19767. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  19768. type: integer
  19769. executeside:
  19770. description: 执行方[2:分步履约] - 1:买方 2:卖方
  19771. type: integer
  19772. failedchargealgorithm:
  19773. description: 流拍手续费收取方式 1:比率 2:固定
  19774. type: integer
  19775. failedchargevalue:
  19776. description: 流拍手续费设置值
  19777. type: number
  19778. failedchargevalue2:
  19779. description: 流拍卖方手续费设置值
  19780. type: number
  19781. holddays:
  19782. description: 合同期限[2:分步履约]
  19783. type: integer
  19784. listingmode:
  19785. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19786. type: integer
  19787. marketid:
  19788. description: 市场ID-仓单贸易、竞拍、预售
  19789. type: integer
  19790. minqty:
  19791. description: 最小执行量[2:分步履约]
  19792. type: number
  19793. modifierid:
  19794. description: 修改人
  19795. type: integer
  19796. nowrquotaflag:
  19797. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  19798. type: integer
  19799. performancetempid:
  19800. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19801. 立即执行(-1)
  19802. type: integer
  19803. performancetempid2:
  19804. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19805. 立即执行
  19806. type: integer
  19807. performancetempid2s:
  19808. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19809. - 履约方式: 立即执行
  19810. type: string
  19811. performancetempids:
  19812. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19813. - 履约方式: 立即执行(-1)
  19814. type: string
  19815. performanceway:
  19816. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  19817. type: integer
  19818. sellchargealgorithm:
  19819. description: 卖方手续费收取方式 1:比率 2:固定
  19820. type: integer
  19821. sellchargealgorithm2:
  19822. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  19823. type: integer
  19824. sellchargealgorithmvalue:
  19825. description: 卖方手续费设置值(交易所部分)
  19826. type: number
  19827. sellchargealgorithmvalue2:
  19828. description: 卖方手续费设置值(会员部分)
  19829. type: number
  19830. sellchargealgorithmvalue3:
  19831. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  19832. type: number
  19833. sellchargealgorithmvalue4:
  19834. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  19835. type: number
  19836. sellmarginalgorithm:
  19837. description: 卖方保证金方式 - 1:比率 2:固定
  19838. type: integer
  19839. sellmarginvalue:
  19840. description: 卖方保证金设置值
  19841. type: number
  19842. sellmarginvalue2:
  19843. description: 卖方保证金设置值(无仓单)
  19844. type: number
  19845. sellreleaseratio:
  19846. description: 卖方释放比率[2:分步履约]
  19847. type: number
  19848. updatetime:
  19849. description: 更新时间
  19850. type: string
  19851. type: object
  19852. models.WrOrderDetail:
  19853. properties:
  19854. accountid:
  19855. description: 交易账号(资金账号)
  19856. type: integer
  19857. allfriendsflag:
  19858. description: 是否全好友可见 - 0:否 1:是
  19859. type: integer
  19860. amount:
  19861. description: 期初均价
  19862. type: number
  19863. bannerpicurl:
  19864. description: Banner图
  19865. type: string
  19866. begindate:
  19867. description: 开始交易日(yyyymmdd)
  19868. type: string
  19869. buyorsell:
  19870. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19871. type: integer
  19872. canbargain:
  19873. description: 是否可议价 - 0:不可 1:可
  19874. type: integer
  19875. cancelqty:
  19876. description: 撤销数量
  19877. type: number
  19878. canpart:
  19879. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  19880. type: integer
  19881. delistminqty:
  19882. description: 起摘数量
  19883. type: integer
  19884. deliverygoodscode:
  19885. description: 品种代码
  19886. type: string
  19887. deliverygoodsid:
  19888. description: 品种ID
  19889. type: integer
  19890. deliverygoodsname:
  19891. description: 品种名称
  19892. type: string
  19893. deliverymonth:
  19894. description: 交收月
  19895. type: string
  19896. enddate:
  19897. description: 结束交易日(yyyymmdd)
  19898. type: string
  19899. enumdicname:
  19900. description: 单位名称
  19901. type: string
  19902. fixedprice:
  19903. description: 固定价格 - [挂牌]
  19904. type: number
  19905. freezecharge:
  19906. description: 期初均价
  19907. type: number
  19908. freezemargin:
  19909. description: 期初均价
  19910. type: number
  19911. futupricemove:
  19912. description: 期货升贴水
  19913. type: number
  19914. futushow:
  19915. description: 期货合约/升贴水
  19916. type: string
  19917. goodscode:
  19918. description: 期货合约
  19919. type: string
  19920. goodsid:
  19921. description: 期货商品id
  19922. type: integer
  19923. goodsname:
  19924. description: 商品名称
  19925. type: string
  19926. haswr:
  19927. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19928. type: integer
  19929. isspecified:
  19930. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  19931. type: integer
  19932. ladingbillid:
  19933. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19934. type: string
  19935. marginvalue:
  19936. description: 期初均价
  19937. type: number
  19938. marketid:
  19939. description: 市场ID
  19940. type: integer
  19941. matchusername:
  19942. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  19943. type: string
  19944. minivalue:
  19945. description: 现货商品最小变动值
  19946. type: integer
  19947. optioncompare:
  19948. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19949. type: string
  19950. orderqty:
  19951. description: 委托数量
  19952. type: number
  19953. ordertime:
  19954. description: 委托时间(挂牌时间)
  19955. type: string
  19956. performancetemplateid:
  19957. description: 履约模板id
  19958. type: integer
  19959. pricemove:
  19960. description: 升贴水(浮动价时填写) - [挂牌]
  19961. type: number
  19962. taname:
  19963. description: 交易用户名称(资金账号名称)
  19964. type: string
  19965. thumurls:
  19966. description: 缩略图
  19967. type: string
  19968. tradedate:
  19969. description: 交易日(yyyyMMdd)
  19970. type: string
  19971. tradeprice:
  19972. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  19973. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  19974. type: number
  19975. tradeqty:
  19976. description: 成交数量
  19977. type: number
  19978. userid:
  19979. description: 用户ID
  19980. type: integer
  19981. validtime:
  19982. description: 挂牌有效期
  19983. type: string
  19984. validtype:
  19985. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19986. type: integer
  19987. warehouseid:
  19988. description: 仓库ID
  19989. type: integer
  19990. warehousename:
  19991. description: 仓库名称
  19992. type: string
  19993. wrfactortypeid:
  19994. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19995. type: string
  19996. wrfactortypename:
  19997. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19998. type: string
  19999. wrpricetype:
  20000. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20001. type: integer
  20002. wrstandardcode:
  20003. description: 现货商品代码
  20004. type: string
  20005. wrstandardid:
  20006. description: 现货商品ID
  20007. type: integer
  20008. wrstandardname:
  20009. description: 商品名称
  20010. type: string
  20011. wrtradeorderid:
  20012. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20013. type: string
  20014. wrtradeorderstatus:
  20015. 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:撤单解冻贷款失败
  20016. type: integer
  20017. wrtradetype:
  20018. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20019. type: integer
  20020. wrtypename:
  20021. description: 商品
  20022. type: string
  20023. type: object
  20024. models.WrOrderQuote:
  20025. properties:
  20026. bannerpicurl:
  20027. description: Banner图
  20028. type: string
  20029. buyprice:
  20030. description: 买价
  20031. type: number
  20032. buypricemove:
  20033. description: 买升贴水(基差)
  20034. type: number
  20035. buyqty:
  20036. description: 买量
  20037. type: number
  20038. deliverygoodscode:
  20039. description: 品种代码
  20040. type: string
  20041. deliverygoodsid:
  20042. description: 品种id
  20043. type: integer
  20044. deliverygoodsname:
  20045. description: 品种名称
  20046. type: string
  20047. deliverymonth:
  20048. description: 交收月
  20049. type: string
  20050. enumdicname:
  20051. description: 单位名称
  20052. type: string
  20053. goodscode:
  20054. description: 商品合约(浮动价列表才有)
  20055. type: string
  20056. goodsid:
  20057. description: 商品id(浮动价列表才有)
  20058. type: integer
  20059. minivalue:
  20060. description: 现货商品最小变动值
  20061. type: integer
  20062. pictureurls:
  20063. description: 详情图片(逗号分隔)
  20064. type: string
  20065. sellprice:
  20066. description: 卖价
  20067. type: number
  20068. sellpricemove:
  20069. description: 卖升贴水(基差)
  20070. type: number
  20071. sellqty:
  20072. description: 卖量
  20073. type: number
  20074. thumurls:
  20075. description: 缩略图片(1:1)(逗号分隔)
  20076. type: string
  20077. warehousecode:
  20078. description: 仓库代码
  20079. type: string
  20080. warehouseid:
  20081. description: 仓库id
  20082. type: integer
  20083. warehousename:
  20084. description: 仓库名称
  20085. type: string
  20086. wrfactortypeid:
  20087. description: 仓单要素id
  20088. type: string
  20089. wrfactortypename:
  20090. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20091. type: string
  20092. wrgoodsname:
  20093. description: 商品(商品名称+仓库要素名称 拼接)
  20094. type: string
  20095. wrstandardcode:
  20096. description: 商品代码
  20097. type: string
  20098. wrstandardid:
  20099. description: 商品id
  20100. type: integer
  20101. wrstandardname:
  20102. description: 商品名称
  20103. type: string
  20104. type: object
  20105. models.WrOrderQuoteDetail:
  20106. properties:
  20107. buyorsell:
  20108. description: 买卖 - 0:买 1:卖
  20109. type: integer
  20110. delistminqty:
  20111. description: 期初均价
  20112. type: number
  20113. deliverymonth:
  20114. description: 交收月
  20115. type: string
  20116. enumdicname:
  20117. description: 单位名称
  20118. type: string
  20119. fixedprice:
  20120. description: 买(卖)价
  20121. type: number
  20122. marketid:
  20123. description: 市场id
  20124. type: integer
  20125. minivalue:
  20126. description: 现货商品最小变动值
  20127. type: integer
  20128. orderqty:
  20129. description: 买(卖)量(=委托量-成交量)
  20130. type: number
  20131. ordertime:
  20132. description: 委托时间
  20133. type: string
  20134. pricemove:
  20135. description: 买(卖)升贴水- 基差
  20136. type: number
  20137. userid:
  20138. description: 购买方(销售方)用户ID
  20139. type: integer
  20140. username:
  20141. description: 购买方(销售方)
  20142. type: string
  20143. wrtradeorderid:
  20144. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20145. type: string
  20146. type: object
  20147. models.WrOutInApply:
  20148. properties:
  20149. applyid:
  20150. description: 申请单id
  20151. type: string
  20152. applystatus:
  20153. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  20154. 8:已撤销
  20155. type: integer
  20156. applytime:
  20157. description: 申请时间
  20158. type: string
  20159. applytype:
  20160. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  20161. type: integer
  20162. bannerpicurl:
  20163. description: Banner图
  20164. type: string
  20165. begindate:
  20166. description: 开始交易日(yyyymmdd)
  20167. type: string
  20168. deliverygoodscode:
  20169. description: 品种代码
  20170. type: string
  20171. deliverygoodsid:
  20172. description: 品种ID
  20173. type: integer
  20174. deliverygoodsname:
  20175. description: 品种名称
  20176. type: string
  20177. enddate:
  20178. description: 结束交易日(yyyymmdd)
  20179. type: string
  20180. enumdicname:
  20181. description: 单位名称
  20182. type: string
  20183. expresscompany:
  20184. description: 物流公司
  20185. type: string
  20186. expressnum:
  20187. description: 物流单号
  20188. type: string
  20189. minivalue:
  20190. description: 现货商品最小变动值
  20191. type: integer
  20192. optioncompare:
  20193. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20194. type: string
  20195. qty:
  20196. description: 数量
  20197. type: integer
  20198. userid:
  20199. description: 用户id
  20200. type: integer
  20201. warehouseid:
  20202. description: 仓库ID
  20203. type: integer
  20204. warehousename:
  20205. description: 仓库名称
  20206. type: string
  20207. wrfactortypeid:
  20208. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20209. type: string
  20210. wrfactortypename:
  20211. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20212. type: string
  20213. wrstandardcode:
  20214. description: 现货商品代码
  20215. type: string
  20216. wrstandardid:
  20217. description: 现货商品ID
  20218. type: integer
  20219. wrstandardname:
  20220. description: 商品名称
  20221. type: string
  20222. wrtypename:
  20223. description: 商品
  20224. type: string
  20225. type: object
  20226. models.WrPerformancePlan:
  20227. properties:
  20228. activatemonth:
  20229. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  20230. type: string
  20231. amount:
  20232. description: 履约金额(总金额)
  20233. type: number
  20234. begindate:
  20235. description: 开始交易日(yyyymmdd)
  20236. type: string
  20237. buyaccountid:
  20238. description: 买方账号
  20239. type: integer
  20240. buyerfreezeamount:
  20241. description: 履约冻结(买履约)
  20242. type: number
  20243. buyerfreezeamountremain:
  20244. description: 履约冻结剩余(买履约)
  20245. type: number
  20246. buyorsell:
  20247. description: 买卖方向 0-买 1-卖
  20248. type: integer
  20249. buypaidamount:
  20250. description: 买方已冻/已扣金额 (已付金额)
  20251. type: number
  20252. buyusername:
  20253. description: 买方名字
  20254. type: string
  20255. contractid:
  20256. description: 合同ID
  20257. type: integer
  20258. createtime:
  20259. description: 创建时间
  20260. type: string
  20261. creatorid:
  20262. description: 创建人
  20263. type: integer
  20264. curstepdeadline:
  20265. description: 当前步骤到期时间
  20266. type: string
  20267. curstepid:
  20268. description: 当前步骤ID
  20269. type: string
  20270. curstepname:
  20271. description: 当前步骤名称
  20272. type: string
  20273. deliverygoodscode:
  20274. description: 品种代码
  20275. type: string
  20276. deliverygoodsid:
  20277. description: 品种ID
  20278. type: integer
  20279. deliverygoodsname:
  20280. description: 品种名称
  20281. type: string
  20282. enddate:
  20283. description: 结束交易日(yyyymmdd)
  20284. type: string
  20285. enumdicname:
  20286. description: 单位名称
  20287. type: string
  20288. expressfee:
  20289. description: 运费
  20290. type: number
  20291. expressfeeconfirmed:
  20292. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  20293. type: integer
  20294. hasovershort:
  20295. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  20296. type: integer
  20297. haswr:
  20298. description: 类型 0-仓单预售 1-仓单贸易
  20299. type: integer
  20300. marketid:
  20301. description: 市场ID
  20302. type: integer
  20303. middleaccountid:
  20304. description: 中间商资金账号ID
  20305. type: integer
  20306. middleuserid:
  20307. description: 中间商用户ID
  20308. type: integer
  20309. minivalue:
  20310. description: 现货商品最小变动值
  20311. type: integer
  20312. optioncompare:
  20313. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20314. type: string
  20315. overshortamount:
  20316. description: 溢短金额
  20317. type: number
  20318. overshortqty:
  20319. description: 溢短数量
  20320. type: number
  20321. paymenttype:
  20322. description: 付款方式 - 1:冻结 2:扣款
  20323. type: integer
  20324. performanceplanid:
  20325. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  20326. type: string
  20327. performancestatus:
  20328. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  20329. 9:超时待处理 10:超时关闭
  20330. type: integer
  20331. performancetype:
  20332. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  20333. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  20334. type: integer
  20335. qty:
  20336. description: 履约数量
  20337. type: number
  20338. relatedorderid:
  20339. description: 关联单号(履约类型的关联单号)
  20340. type: string
  20341. remark:
  20342. description: 备注
  20343. type: string
  20344. sellaccountid:
  20345. description: 卖方账号
  20346. type: integer
  20347. sellerfreezeamount:
  20348. description: 履约冻结(卖履约)
  20349. type: number
  20350. sellerfreezeamountremain:
  20351. description: 履约冻结剩余(卖履约)
  20352. type: number
  20353. sellreceivedamount:
  20354. description: 卖方已收金额
  20355. type: number
  20356. sellusername:
  20357. description: 卖方名字
  20358. type: string
  20359. shipremark:
  20360. description: 发货备注[物流单号]
  20361. type: string
  20362. starttime:
  20363. description: 开始时间
  20364. type: string
  20365. steptypeid:
  20366. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20367. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20368. type: integer
  20369. typename:
  20370. description: 履约类型 名称
  20371. type: string
  20372. unpaidamount:
  20373. description: 期初均价
  20374. type: number
  20375. userid:
  20376. description: 用户id
  20377. type: integer
  20378. warehouseid:
  20379. description: 仓库ID
  20380. type: integer
  20381. warehousename:
  20382. description: 仓库名称
  20383. type: string
  20384. wrfactortypeid:
  20385. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20386. type: string
  20387. wrfactortypename:
  20388. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20389. type: string
  20390. wrstandardcode:
  20391. description: 现货商品代码
  20392. type: string
  20393. wrstandardid:
  20394. description: 现货商品ID
  20395. type: integer
  20396. wrstandardname:
  20397. description: 商品名称
  20398. type: string
  20399. wrtransferuserid:
  20400. description: 仓单受让用户
  20401. type: integer
  20402. wrtypename:
  20403. description: 商品
  20404. type: string
  20405. required:
  20406. - userid
  20407. type: object
  20408. models.WrPerformancePlanStep:
  20409. properties:
  20410. delaydays:
  20411. description: 延期申请天数
  20412. type: integer
  20413. deliverygoodscode:
  20414. description: 品种代码
  20415. type: string
  20416. deliverygoodsid:
  20417. description: 品种ID
  20418. type: integer
  20419. deliverygoodsname:
  20420. description: 品种名称
  20421. type: string
  20422. endtime:
  20423. description: 结束日期
  20424. type: string
  20425. enumdicname:
  20426. description: 单位名称
  20427. type: string
  20428. executeside:
  20429. description: 步骤执行方 - 1:买方 2:卖方
  20430. type: integer
  20431. handlestatus:
  20432. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  20433. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  20434. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  20435. type: integer
  20436. isauto:
  20437. description: 是否自动 - 0:不自动 1:自动
  20438. type: integer
  20439. islastreceivestep:
  20440. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  20441. type: integer
  20442. minivalue:
  20443. description: 现货商品最小变动值
  20444. type: integer
  20445. optioncompare:
  20446. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20447. type: string
  20448. overdays:
  20449. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  20450. type: integer
  20451. performancestepid:
  20452. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  20453. type: string
  20454. planid:
  20455. description: 所属履约计划ID
  20456. type: string
  20457. realamount:
  20458. description: 实际完成金额
  20459. type: number
  20460. relatedorderid:
  20461. description: 关联单号
  20462. type: string
  20463. remaindays:
  20464. description: 剩余天数
  20465. type: integer
  20466. remark:
  20467. description: 错误备注
  20468. type: string
  20469. starttime:
  20470. description: 开始日期
  20471. type: string
  20472. stepamount:
  20473. description: 步骤金额
  20474. type: number
  20475. stepdays:
  20476. description: 距离上一步天数(分钟)
  20477. type: integer
  20478. stepindex:
  20479. description: 步骤序号
  20480. type: integer
  20481. steplanchtype:
  20482. description: 步骤启动类型 - 1:系统自动 2:手动
  20483. type: integer
  20484. stepremark:
  20485. description: 步骤备注
  20486. type: string
  20487. stepstatus:
  20488. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  20489. type: integer
  20490. steptypeid:
  20491. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20492. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20493. type: integer
  20494. steptypename:
  20495. description: 步骤名称
  20496. type: string
  20497. stepvalue:
  20498. description: 步骤值
  20499. type: number
  20500. warehouseid:
  20501. description: 仓库ID
  20502. type: integer
  20503. warehousename:
  20504. description: 仓库名称
  20505. type: string
  20506. wrfactortypeid:
  20507. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20508. type: string
  20509. wrfactortypename:
  20510. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20511. type: string
  20512. wrstandardcode:
  20513. description: 现货商品代码
  20514. type: string
  20515. wrstandardid:
  20516. description: 现货商品ID
  20517. type: integer
  20518. wrstandardname:
  20519. description: 商品名称
  20520. type: string
  20521. wrtypename:
  20522. description: 商品
  20523. type: string
  20524. type: object
  20525. models.WrPerformanceStepType:
  20526. properties:
  20527. canauto:
  20528. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  20529. type: integer
  20530. steptypeid:
  20531. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  20532. type: integer
  20533. steptypename:
  20534. description: 步骤类型名称
  20535. type: string
  20536. type: object
  20537. models.WrPerformanceTemplateEx:
  20538. properties:
  20539. autoid:
  20540. description: AutoID 模板id
  20541. type: integer
  20542. createtime:
  20543. description: 创建时间
  20544. type: string
  20545. creatorid:
  20546. description: 创建人
  20547. type: integer
  20548. lstStep:
  20549. description: 步骤信息列表
  20550. items:
  20551. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20552. type: array
  20553. paymenttype:
  20554. description: 支付方式 - 1:冻结 2:扣款
  20555. type: integer
  20556. takemode:
  20557. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  20558. type: integer
  20559. templatename:
  20560. description: 模板名称
  20561. type: string
  20562. templatetype:
  20563. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  20564. (无仓单) 5:挂牌期权 6:竞拍-降价式
  20565. type: integer
  20566. userid:
  20567. description: 所属用户
  20568. type: integer
  20569. type: object
  20570. models.WrPosition:
  20571. properties:
  20572. accountid:
  20573. description: 帐户ID
  20574. type: integer
  20575. buyexcuteqty:
  20576. description: 采购履约中数量
  20577. type: number
  20578. creditcurqty:
  20579. description: 授信当前数量(预售仓单:预售当前量)
  20580. type: number
  20581. creditenableqty:
  20582. description: '授信可用数量(预售仓单: 可用数量)'
  20583. type: number
  20584. creditfreezeqty:
  20585. description: '授信冻结数量(预售仓单: 当前数量)'
  20586. type: number
  20587. credittotalqty:
  20588. description: 授信总数量(预售仓单:预售总量)
  20589. type: number
  20590. credittradeqty:
  20591. description: 授信成交数量(预售仓单:成交总量)
  20592. type: number
  20593. deliverygoodscode:
  20594. description: 品种代码
  20595. type: string
  20596. deliverygoodsid:
  20597. description: 品种ID
  20598. type: integer
  20599. deliverygoodsname:
  20600. description: 品种名称
  20601. type: string
  20602. enalbeqty:
  20603. description: 可用数量
  20604. type: number
  20605. enumdicname:
  20606. description: 单位名称
  20607. type: string
  20608. freezeqty:
  20609. description: 总冻结数量
  20610. type: number
  20611. haswr:
  20612. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20613. type: integer
  20614. minivalue:
  20615. description: 现货商品最小变动值
  20616. type: integer
  20617. modifytime:
  20618. description: 修改时间(过户时间)
  20619. type: string
  20620. optioncompare:
  20621. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20622. type: string
  20623. pledgeqty:
  20624. description: 质押数量
  20625. type: number
  20626. querytype:
  20627. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  20628. type: integer
  20629. sellexcuteqty:
  20630. description: 销售履约中数量
  20631. type: number
  20632. totalqty:
  20633. description: 总数量(库存数量)
  20634. type: number
  20635. warehouseid:
  20636. description: 仓库ID
  20637. type: integer
  20638. warehousename:
  20639. description: 仓库名称
  20640. type: string
  20641. wrfactortypeid:
  20642. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20643. type: string
  20644. wrfactortypename:
  20645. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20646. type: string
  20647. wrpositionid:
  20648. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20649. type: string
  20650. wrpositionno:
  20651. description: 仓单编号
  20652. type: string
  20653. wrstandardcode:
  20654. description: 现货商品代码
  20655. type: string
  20656. wrstandardid:
  20657. description: 现货商品ID
  20658. type: integer
  20659. wrstandardname:
  20660. description: 商品名称
  20661. type: string
  20662. wrtypename:
  20663. description: 商品
  20664. type: string
  20665. wruserid:
  20666. description: 持有人ID
  20667. type: integer
  20668. type: object
  20669. models.WrPreSaleInfo:
  20670. properties:
  20671. bannerpicurl:
  20672. description: Banner图
  20673. type: string
  20674. baseqty:
  20675. description: 中签基数
  20676. type: number
  20677. createtime:
  20678. description: 创建时间
  20679. type: string
  20680. deliverygoodsid:
  20681. description: 现货品种ID
  20682. type: integer
  20683. enddate:
  20684. description: 预售结束日期
  20685. type: string
  20686. enumdicname:
  20687. description: 单位名称
  20688. type: string
  20689. lotteryflag:
  20690. description: 摇号标识 - 0:未摇号 1:已摇号
  20691. type: integer
  20692. lotteryqty:
  20693. description: 摇号总量
  20694. type: number
  20695. luckyqty:
  20696. description: 已中签量
  20697. type: number
  20698. marketid:
  20699. description: 市场ID
  20700. type: integer
  20701. maxbuyqty:
  20702. description: 单人最大申购量
  20703. type: number
  20704. maxluckyqty:
  20705. description: 单人最大中签量
  20706. type: number
  20707. pictureurls:
  20708. description: 详情图片(逗号分隔)
  20709. type: string
  20710. placeqty:
  20711. description: 已配售量
  20712. type: number
  20713. presaleapplyid:
  20714. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  20715. example: "0"
  20716. type: string
  20717. presaleqty:
  20718. description: 预售总量
  20719. type: number
  20720. presalestatus:
  20721. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  20722. type: integer
  20723. sellaccountid:
  20724. description: 发行方资金账户ID
  20725. type: integer
  20726. selluserid:
  20727. description: 发行方用户ID
  20728. type: integer
  20729. sellwrtradeorderid:
  20730. description: 发行方卖委托单ID
  20731. type: string
  20732. startdate:
  20733. description: 预售开始日期
  20734. type: string
  20735. takestartdate:
  20736. description: 提货开始日期
  20737. type: string
  20738. thumurls:
  20739. description: 缩略图片(1:1)(逗号分隔)
  20740. type: string
  20741. tradedate:
  20742. description: 交易日
  20743. type: string
  20744. unitid:
  20745. description: 单位ID
  20746. type: integer
  20747. unitprice:
  20748. description: 商品单价
  20749. type: number
  20750. username:
  20751. description: 发行方用户名称
  20752. type: string
  20753. warehousecode:
  20754. description: 仓库代码(仓库简称)
  20755. type: string
  20756. warehouseid:
  20757. description: 仓库ID
  20758. type: integer
  20759. warehousename:
  20760. description: 仓库名称
  20761. type: string
  20762. wrfactortypeid:
  20763. description: 仓单要素类型ID - 根据现货商品\仓库生成
  20764. example: "0"
  20765. type: string
  20766. wrstandardid:
  20767. description: 现货商品ID
  20768. type: integer
  20769. wrstandardname:
  20770. description: 现货商品名称
  20771. type: string
  20772. type: object
  20773. models.WrQuoteOrderMyq:
  20774. properties:
  20775. buyorsell:
  20776. description: 买卖 - 0:买 1:卖
  20777. type: integer
  20778. canbargain:
  20779. description: 是否可议价 - 0:不可 1:可
  20780. type: integer
  20781. canpart:
  20782. description: 是否允许部份摘牌 - 0:不允许 1:允许
  20783. type: integer
  20784. delistminqty:
  20785. description: 期初均价
  20786. type: number
  20787. deliverygoodscode:
  20788. description: 品种代码
  20789. type: string
  20790. deliverygoodsid:
  20791. description: 品种ID
  20792. type: integer
  20793. deliverygoodsname:
  20794. description: 品种名称
  20795. type: string
  20796. deliverymonth:
  20797. description: 交收月
  20798. type: string
  20799. enumdicname:
  20800. description: 单位名称
  20801. type: string
  20802. fixedprice:
  20803. description: 买(卖)价
  20804. type: number
  20805. goodscode:
  20806. description: 商品合约代码
  20807. type: string
  20808. marginflag:
  20809. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  20810. type: integer
  20811. marginvalue:
  20812. description: 保证金设置值
  20813. type: number
  20814. minivalue:
  20815. description: 现货商品最小变动值
  20816. type: integer
  20817. orderqty:
  20818. description: 买(卖)量(=委托量-成交量)
  20819. type: number
  20820. ordertime:
  20821. description: 委托时间
  20822. type: string
  20823. performancetemplateid:
  20824. description: 履约模板id
  20825. type: integer
  20826. pricemove:
  20827. description: 买(卖)升贴水- 基差
  20828. type: number
  20829. templatename:
  20830. description: 履约模板名称
  20831. type: string
  20832. userid:
  20833. description: 购买方(销售方)用户ID
  20834. type: integer
  20835. username:
  20836. description: 购买方(销售方)
  20837. type: string
  20838. validtime:
  20839. description: 有效期限
  20840. type: string
  20841. validtype:
  20842. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  20843. type: integer
  20844. warehousename:
  20845. description: 仓库名称
  20846. type: string
  20847. wrfactortypeid:
  20848. description: 仓单要素id
  20849. type: string
  20850. wrstandardcode:
  20851. description: 现货商品代码
  20852. type: string
  20853. wrstandardid:
  20854. description: 现货商品ID
  20855. type: integer
  20856. wrstandardname:
  20857. description: 商品名称
  20858. type: string
  20859. wrtradeorderid:
  20860. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20861. type: string
  20862. wrtypename:
  20863. description: 商品
  20864. type: string
  20865. type: object
  20866. models.WrReckonSpotGoodsTradeSum:
  20867. properties:
  20868. begindate:
  20869. description: 开始日期(结果含开始日期) yyyymmdd
  20870. type: string
  20871. enddate:
  20872. description: 结束日期(结果含结束日期) yyyymmdd
  20873. type: string
  20874. istoday:
  20875. description: 是否当日
  20876. type: boolean
  20877. marketid:
  20878. description: 市场ID
  20879. type: integer
  20880. price:
  20881. description: 价格 = 日成交金额 / 日成交数量
  20882. type: string
  20883. reckondate:
  20884. description: 日期 格式 yyyymmdd
  20885. type: string
  20886. tradeamount:
  20887. description: 期初均价
  20888. type: number
  20889. tradeqty:
  20890. description: 期初均价
  20891. type: number
  20892. wrstandardid:
  20893. description: 现货商品ID
  20894. type: integer
  20895. type: object
  20896. models.WrScfContract:
  20897. properties:
  20898. borroweruserid:
  20899. description: 借款用户ID
  20900. type: integer
  20901. buybackwrpositionqty:
  20902. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  20903. type: number
  20904. closeinterest:
  20905. description: 已结利息 -> 已结费用
  20906. type: number
  20907. currisklevel:
  20908. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  20909. type: integer
  20910. deadline:
  20911. description: 截止日期(yyyyMMdd) -> 借款到期时间
  20912. type: string
  20913. deliverygoodscode:
  20914. description: 品种代码
  20915. type: string
  20916. deliverygoodsid:
  20917. description: 品种ID
  20918. type: integer
  20919. deliverygoodsname:
  20920. description: 品种名称
  20921. type: string
  20922. enumdicname:
  20923. description: 单位名称
  20924. type: string
  20925. financingdays:
  20926. description: 天数(天)
  20927. type: integer
  20928. initmargin:
  20929. description: 保证金 - [仓单回购]
  20930. type: number
  20931. interestamount:
  20932. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  20933. type: number
  20934. interestdebt:
  20935. description: 利息欠款(记录负数) -> 费用欠款
  20936. type: number
  20937. interestminlen:
  20938. description: 最小起息天数
  20939. type: integer
  20940. interestrate:
  20941. description: 利率
  20942. type: number
  20943. interestratemode:
  20944. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20945. type: integer
  20946. interestsettlemode:
  20947. description: 结息方式 - 1:按日结息 3:按月结息
  20948. type: integer
  20949. interestsettlevalue:
  20950. description: 结息方式值
  20951. type: integer
  20952. isautoloan:
  20953. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  20954. type: integer
  20955. lastcloseinterestday:
  20956. description: 最近结息日(yyyyMMdd)
  20957. type: string
  20958. lenderamount:
  20959. description: 贷款金额 -> 借款金额
  20960. type: number
  20961. lenderuserid:
  20962. description: 贷款方用户ID -> 融出方用户ID
  20963. type: integer
  20964. lenderusername:
  20965. description: 融出方
  20966. type: string
  20967. marginratio:
  20968. description: 保证金比率质押率 - [仓单质押]
  20969. type: number
  20970. marketid:
  20971. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  20972. type: integer
  20973. minivalue:
  20974. description: 现货商品最小变动值
  20975. type: integer
  20976. optioncompare:
  20977. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20978. type: string
  20979. pricemove:
  20980. description: 估值升贴水值
  20981. type: number
  20982. productdetailid:
  20983. description: 产品组合ID
  20984. type: integer
  20985. productid:
  20986. description: 金融产品ID
  20987. type: integer
  20988. productname:
  20989. description: 产品名称
  20990. type: string
  20991. remainamount:
  20992. description: 合同剩余金额 -> 剩余金额
  20993. type: number
  20994. remainwrpositionqty:
  20995. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  20996. type: number
  20997. remark:
  20998. description: 备注
  20999. type: string
  21000. scfcontractid:
  21001. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  21002. type: string
  21003. scfcontractstatus:
  21004. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  21005. 9:违约结束 10:已注销 11:已关闭 99:未提交
  21006. type: integer
  21007. scfcontracttype:
  21008. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  21009. type: integer
  21010. startinterestday:
  21011. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  21012. type: string
  21013. totalinterest:
  21014. description: 已计利息 -> 已计费用
  21015. type: number
  21016. unpaidinterest:
  21017. description: 期初均价
  21018. type: number
  21019. updatetime:
  21020. description: 更新时间
  21021. type: string
  21022. warehouseid:
  21023. description: 仓库ID
  21024. type: integer
  21025. warehousename:
  21026. description: 仓库名称
  21027. type: string
  21028. wrfactortypeid:
  21029. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21030. type: string
  21031. wrfactortypename:
  21032. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21033. type: string
  21034. wrqty:
  21035. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  21036. type: number
  21037. wrstandardcode:
  21038. description: 现货商品代码
  21039. type: string
  21040. wrstandardid:
  21041. description: 现货商品ID
  21042. type: integer
  21043. wrstandardname:
  21044. description: 商品名称
  21045. type: string
  21046. wrtypename:
  21047. description: 商品
  21048. type: string
  21049. type: object
  21050. models.WrScfContractInterest:
  21051. properties:
  21052. closeinterest:
  21053. description: 已结利息
  21054. type: number
  21055. closeintereststatus:
  21056. description: 结息状态 - 1:未结 2:已结
  21057. type: integer
  21058. closetime:
  21059. description: 结息时间
  21060. type: string
  21061. closetradedate:
  21062. description: 结息交易日
  21063. type: string
  21064. creatorid:
  21065. description: 操作人ID
  21066. type: integer
  21067. dayrate:
  21068. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  21069. type: number
  21070. interest:
  21071. description: 利息
  21072. type: number
  21073. interestamount:
  21074. description: 计息金额
  21075. type: number
  21076. interestday:
  21077. description: 计息日(yyyyMMdd)
  21078. type: string
  21079. scfcontractid:
  21080. description: SCF合同ID
  21081. type: string
  21082. scfcontractinterestid:
  21083. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  21084. type: integer
  21085. updatetime:
  21086. description: 更新时间
  21087. type: string
  21088. type: object
  21089. models.WrSearchUser:
  21090. properties:
  21091. userid:
  21092. description: 用户ID
  21093. type: integer
  21094. username:
  21095. description: 用户名称(已脱敏)
  21096. type: string
  21097. username2:
  21098. description: 用户名称(未脱敏)
  21099. type: string
  21100. usertype:
  21101. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  21102. type: integer
  21103. required:
  21104. - username
  21105. type: object
  21106. models.WrSiteColumnDetail:
  21107. properties:
  21108. author:
  21109. description: 作者
  21110. type: string
  21111. brief:
  21112. description: 简介
  21113. type: string
  21114. context:
  21115. description: 内容
  21116. type: string
  21117. coverimage:
  21118. description: 封面图片
  21119. type: string
  21120. creaedate:
  21121. description: 创建时间
  21122. type: string
  21123. id:
  21124. description: ID(SEQ_SITE_COLUMNDETAIL)
  21125. type: integer
  21126. istop:
  21127. description: 是否置顶 - 0:不置 1:置顶
  21128. type: integer
  21129. publishdate:
  21130. description: 发布日期
  21131. type: string
  21132. title:
  21133. description: 标题
  21134. type: string
  21135. updatedate:
  21136. description: 修改时间
  21137. type: string
  21138. type: object
  21139. models.WrSpecialMatchOrder:
  21140. properties:
  21141. amount:
  21142. description: 金额 = 数量 * 价格
  21143. type: number
  21144. buyorsell:
  21145. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21146. type: integer
  21147. cancelqty:
  21148. description: 撤销数量
  21149. type: number
  21150. deliverygoodscode:
  21151. description: 品种代码
  21152. type: string
  21153. deliverygoodsid:
  21154. description: 品种ID
  21155. type: integer
  21156. deliverygoodsname:
  21157. description: 品种名称
  21158. type: string
  21159. enumdicname:
  21160. description: 单位名称
  21161. type: string
  21162. fixedprice:
  21163. description: 固定价格(价格)
  21164. type: number
  21165. haswr:
  21166. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21167. type: integer
  21168. isspecified:
  21169. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  21170. type: integer
  21171. marketid:
  21172. description: 市场ID
  21173. type: integer
  21174. matchuserid:
  21175. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  21176. type: integer
  21177. matchusername:
  21178. description: 指定方
  21179. type: string
  21180. minivalue:
  21181. description: 现货商品最小变动值
  21182. type: integer
  21183. optioncompare:
  21184. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21185. type: string
  21186. orderqty:
  21187. description: 委托数量
  21188. type: number
  21189. ordertime:
  21190. description: 委托时间
  21191. type: string
  21192. pricemove:
  21193. description: 升贴水(浮动价时填写) - [挂牌]
  21194. type: number
  21195. tradedate:
  21196. description: 交易日(yyyyMMdd)
  21197. type: string
  21198. tradeprice:
  21199. description: 成交价格
  21200. type: number
  21201. tradeqty:
  21202. description: 成交数量
  21203. type: number
  21204. userid:
  21205. description: 用户ID
  21206. type: integer
  21207. username:
  21208. description: 发起方
  21209. type: string
  21210. warehouseid:
  21211. description: 仓库ID
  21212. type: integer
  21213. warehousename:
  21214. description: 仓库名称
  21215. type: string
  21216. wrfactortypeid:
  21217. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21218. type: string
  21219. wrfactortypename:
  21220. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21221. type: string
  21222. wrpricetype:
  21223. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  21224. type: integer
  21225. wrstandardcode:
  21226. description: 现货商品代码
  21227. type: string
  21228. wrstandardid:
  21229. description: 现货商品ID
  21230. type: integer
  21231. wrstandardname:
  21232. description: 商品名称
  21233. type: string
  21234. wrtradeorderid:
  21235. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21236. type: string
  21237. wrtradeorderstatus:
  21238. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  21239. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  21240. type: integer
  21241. wrtradetype:
  21242. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21243. type: integer
  21244. wrtypename:
  21245. description: 商品
  21246. type: string
  21247. type: object
  21248. models.WrSpotGroupTradeSum:
  21249. properties:
  21250. deliverygoodscode:
  21251. description: 现货品种代码
  21252. type: string
  21253. deliverygoodsid:
  21254. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21255. type: integer
  21256. deliverygoodsname:
  21257. description: 现货品种名称
  21258. type: string
  21259. lastavgprice:
  21260. description: 上上个交易日价格(前2天价格)
  21261. type: string
  21262. lastreckondate:
  21263. description: 上上个交易日(前2天交易日)
  21264. type: string
  21265. reckondate:
  21266. description: 上个交易日(前1天交易日)
  21267. type: string
  21268. todayavgprice:
  21269. description: 上个交易日价格(前1天价格)
  21270. type: string
  21271. updown:
  21272. description: 涨跌
  21273. type: string
  21274. updownratio:
  21275. description: 涨幅(已格式化, 直接显示即可)
  21276. type: string
  21277. type: object
  21278. models.WrSpotGroupTradeSumDetail:
  21279. properties:
  21280. deliverygoodsid:
  21281. description: 现货商品id
  21282. type: integer
  21283. price:
  21284. description: 价格
  21285. type: number
  21286. reckondate:
  21287. description: 日期(yyymmdd, 如:20211031)
  21288. type: string
  21289. type: object
  21290. models.WrSpotGroupTradeSumEx:
  21291. properties:
  21292. lst:
  21293. description: 指数列表
  21294. items:
  21295. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  21296. type: array
  21297. prereckondate:
  21298. description: 上上个交易日(yyymmdd)
  21299. type: string
  21300. reckondate:
  21301. description: 上个交易日(yyyymmdd)
  21302. type: string
  21303. type: object
  21304. models.WrStandardFactoryItem:
  21305. properties:
  21306. dgfactoryitemid:
  21307. description: 选择项id
  21308. type: integer
  21309. dgfactoryitemvalue:
  21310. description: 要素项值
  21311. type: string
  21312. warehouseid:
  21313. description: 仓库id
  21314. type: integer
  21315. type: object
  21316. models.WrStandardFactoryItemEx:
  21317. properties:
  21318. dgfactoryitemtypeid:
  21319. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  21320. type: integer
  21321. itemlst:
  21322. description: 要素项列表
  21323. items:
  21324. $ref: '#/definitions/models.WrStandardFactoryItem'
  21325. type: array
  21326. itemtypename:
  21327. description: 要素项类型名称
  21328. type: string
  21329. wrstandardid:
  21330. description: 品类
  21331. type: integer
  21332. type: object
  21333. models.WrTradeDetail:
  21334. properties:
  21335. accountid:
  21336. description: 资金账号
  21337. type: integer
  21338. bannerpicurl:
  21339. description: Banner图
  21340. type: string
  21341. begindate:
  21342. description: 开始交易日(yyyymmdd)
  21343. type: string
  21344. buyorsell:
  21345. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21346. type: integer
  21347. chargevalue:
  21348. description: 手续费
  21349. type: number
  21350. deliverygoodscode:
  21351. description: 品种代码
  21352. type: string
  21353. deliverygoodsid:
  21354. description: 品种ID
  21355. type: integer
  21356. deliverygoodsname:
  21357. description: 品种名称
  21358. type: string
  21359. deliverymonth:
  21360. description: 交收月
  21361. type: string
  21362. enddate:
  21363. description: 结束交易日(yyyymmdd)
  21364. type: string
  21365. enumdicname:
  21366. description: 单位名称
  21367. type: string
  21368. haswr:
  21369. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21370. type: integer
  21371. marketid:
  21372. description: 市场ID
  21373. type: integer
  21374. matchaccountid:
  21375. description: 对手账号
  21376. type: integer
  21377. matchusername:
  21378. description: 对手方
  21379. type: string
  21380. minivalue:
  21381. description: 现货商品最小变动值
  21382. type: integer
  21383. optioncompare:
  21384. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21385. type: string
  21386. thumurls:
  21387. description: 缩略图
  21388. type: string
  21389. tradedate:
  21390. description: 交易日(yyyyMMdd)
  21391. type: string
  21392. tradeprice:
  21393. description: 成交价格
  21394. type: number
  21395. tradeqty:
  21396. description: 成交数量
  21397. type: number
  21398. tradetime:
  21399. description: 成交时间
  21400. type: string
  21401. userid:
  21402. description: 用户ID
  21403. type: integer
  21404. warehouseid:
  21405. description: 仓库ID
  21406. type: integer
  21407. warehousename:
  21408. description: 仓库名称
  21409. type: string
  21410. wrfactortypeid:
  21411. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21412. type: string
  21413. wrfactortypename:
  21414. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21415. type: string
  21416. wrstandardcode:
  21417. description: 现货商品代码
  21418. type: string
  21419. wrstandardid:
  21420. description: 现货商品ID
  21421. type: integer
  21422. wrstandardname:
  21423. description: 商品名称
  21424. type: string
  21425. wrtradedetailid:
  21426. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21427. type: string
  21428. wrtradetype:
  21429. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21430. type: integer
  21431. wrtypename:
  21432. description: 商品
  21433. type: string
  21434. type: object
  21435. models.WrTradeOrderDetail:
  21436. properties:
  21437. buyorsell:
  21438. description: 买卖方向 0-买 1-卖
  21439. type: integer
  21440. goodsid:
  21441. description: 商品id
  21442. type: integer
  21443. orderid:
  21444. description: 委托单号
  21445. type: string
  21446. orderprice:
  21447. description: 期初均价
  21448. type: number
  21449. orderqty:
  21450. description: 委托数量
  21451. type: integer
  21452. userid:
  21453. description: 用户id
  21454. type: integer
  21455. username:
  21456. description: 用户名称(已脱敏)
  21457. type: string
  21458. type: object
  21459. models.WrTypeItem:
  21460. properties:
  21461. name:
  21462. description: 名称
  21463. type: string
  21464. value:
  21465. description: 值
  21466. type: string
  21467. type: object
  21468. models.WrUserFriend:
  21469. properties:
  21470. friendname:
  21471. description: 朋友名称(已脱敏)
  21472. type: string
  21473. frienduserid:
  21474. description: 朋友id
  21475. type: integer
  21476. isfriend:
  21477. description: 是否好友 0-不是 1-是
  21478. type: integer
  21479. userid:
  21480. description: 用户id
  21481. type: integer
  21482. type: object
  21483. models.WrUserReceiptInfo:
  21484. properties:
  21485. address:
  21486. description: 地址[发票类型:企业]
  21487. type: string
  21488. autoid:
  21489. description: AutoID
  21490. type: integer
  21491. contactinfo:
  21492. description: 联系方式
  21493. type: string
  21494. idnum:
  21495. description: 身份证号码[发票类型:个人]
  21496. type: string
  21497. isdefault:
  21498. description: 是否默认地址 - 0:否 1:是
  21499. type: integer
  21500. receiptaccount:
  21501. description: 发票帐号[发票类型:企业]
  21502. type: string
  21503. receiptbank:
  21504. description: 发票开户行[发票类型:企业]
  21505. type: string
  21506. receipttype:
  21507. description: 发票类型 - 1:个人 2:企业
  21508. type: integer
  21509. taxpayerid:
  21510. description: 纳税人识别号
  21511. type: string
  21512. userid:
  21513. description: 用户ID
  21514. type: integer
  21515. username:
  21516. description: 户名(个人姓名或企业名称)
  21517. type: string
  21518. type: object
  21519. models.Wrtradetradequote:
  21520. properties:
  21521. buyaccountid:
  21522. description: 买方账号ID
  21523. type: integer
  21524. buychargevalue:
  21525. description: 买方手续费
  21526. type: number
  21527. buyuserid:
  21528. description: 买方用户ID
  21529. type: integer
  21530. deliverygoodsid:
  21531. description: 现货品种ID
  21532. type: integer
  21533. exchangerate:
  21534. description: 汇率
  21535. type: number
  21536. marketid:
  21537. description: 市场ID
  21538. type: integer
  21539. oritradeamount:
  21540. description: 成交金额[商品币种]
  21541. type: number
  21542. performanceplanid:
  21543. description: 履约计划ID/合同ID
  21544. type: integer
  21545. sellaccountid:
  21546. description: 卖方账号ID
  21547. type: integer
  21548. sellchargevalue:
  21549. description: 卖方手续费
  21550. type: number
  21551. selluserid:
  21552. description: 卖方用户ID
  21553. type: integer
  21554. tradeamount:
  21555. description: 成交金额
  21556. type: number
  21557. tradedate:
  21558. description: 交易日(yyyyMMdd)
  21559. type: string
  21560. tradeprice:
  21561. description: 成交价格
  21562. type: number
  21563. tradeqty:
  21564. description: 成交数量
  21565. type: integer
  21566. tradetime:
  21567. description: 成交时间
  21568. type: string
  21569. wrfactortypeid:
  21570. description: 仓单要素类型ID
  21571. type: integer
  21572. wrstandardid:
  21573. description: 现货商品ID
  21574. type: integer
  21575. wrtradedetailid:
  21576. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21577. type: integer
  21578. type: object
  21579. models.XHBRAND:
  21580. properties:
  21581. brandid:
  21582. description: 品牌id
  21583. type: integer
  21584. brandname:
  21585. description: 品牌名称
  21586. type: string
  21587. isvalid:
  21588. description: 是否有效 0-无效 1-有效
  21589. type: integer
  21590. type: object
  21591. models.XHDeliveryGoods:
  21592. properties:
  21593. areauserid:
  21594. description: 所属机构
  21595. type: integer
  21596. bdlst:
  21597. description: 品牌列表
  21598. items:
  21599. $ref: '#/definitions/models.XHBRAND'
  21600. type: array
  21601. deliverygoodscode:
  21602. description: 现货品种代码
  21603. type: string
  21604. deliverygoodsid:
  21605. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21606. type: integer
  21607. deliverygoodsname:
  21608. description: 现货品种名称
  21609. type: string
  21610. dgstatus:
  21611. description: 品种状态 - 作废 - 0:未激活 1:正常
  21612. type: integer
  21613. filterSubEmpty:
  21614. description: 过滤下级为空的
  21615. type: integer
  21616. isvalid:
  21617. description: 是否有效 - 0:无效 1:有效
  21618. type: integer
  21619. remark:
  21620. description: 备注
  21621. type: string
  21622. unitid:
  21623. description: 单位id(目前看,数据库中是空值)
  21624. type: integer
  21625. wdlst:
  21626. description: 品类(现货商品)列表
  21627. items:
  21628. $ref: '#/definitions/models.XHWrstandard'
  21629. type: array
  21630. type: object
  21631. models.XHMiddleGoods:
  21632. properties:
  21633. GPLST:
  21634. description: 期货品种列表
  21635. items:
  21636. $ref: '#/definitions/models.TBGoodsGroup'
  21637. type: array
  21638. convertratio:
  21639. description: 拆算系数
  21640. type: number
  21641. costratio:
  21642. description: 成本权重
  21643. type: number
  21644. deliverygoodsid:
  21645. description: 现货商品id
  21646. type: integer
  21647. enumdicname:
  21648. description: 单位名称
  21649. type: string
  21650. middlegoodscode:
  21651. description: 套保品种代码
  21652. type: string
  21653. middlegoodsid:
  21654. description: 套保品种id
  21655. type: integer
  21656. middlegoodsname:
  21657. description: 套保品种名称
  21658. type: string
  21659. unitid:
  21660. description: 单位id
  21661. type: integer
  21662. type: object
  21663. models.XHWrstandard:
  21664. properties:
  21665. bannerpicurl:
  21666. description: banner图
  21667. type: string
  21668. deliverygoodsid:
  21669. description: 品种ID
  21670. type: integer
  21671. enumdicname:
  21672. description: 单位名称
  21673. type: string
  21674. mglst:
  21675. description: 套保品列表
  21676. items:
  21677. $ref: '#/definitions/models.XHMiddleGoods'
  21678. type: array
  21679. pictureurls:
  21680. description: 详情图片(逗号分隔)
  21681. type: string
  21682. thumurls:
  21683. description: 缩略图片(1:1)(逗号分隔)
  21684. type: string
  21685. unitid:
  21686. description: 单位id
  21687. type: integer
  21688. vatrate:
  21689. description: 增值税率
  21690. type: number
  21691. wrstandardcode:
  21692. description: 现货商品代码
  21693. type: string
  21694. wrstandardid:
  21695. description: 现货商品ID(SEQ_WRSTANDARD)
  21696. type: integer
  21697. wrstandardname:
  21698. description: 现货商品名称
  21699. type: string
  21700. type: object
  21701. models.XhcpSellBackApplyEx:
  21702. properties:
  21703. applyremark:
  21704. description: 申请备注
  21705. type: string
  21706. expirytype:
  21707. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21708. type: integer
  21709. goodsspec:
  21710. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21711. type: integer
  21712. holeflag:
  21713. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21714. type: integer
  21715. isunopened:
  21716. description: 是否原封 - 1:否 2:是
  21717. type: integer
  21718. mpflag:
  21719. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21720. type: integer
  21721. openflag:
  21722. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21723. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21724. type: integer
  21725. phonenum:
  21726. description: 联系电话
  21727. type: string
  21728. userid:
  21729. description: 所属用户ID
  21730. type: integer
  21731. zpflag:
  21732. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21733. type: integer
  21734. required:
  21735. - userid
  21736. type: object
  21737. models.Xhcpsellbackapply:
  21738. properties:
  21739. applyid:
  21740. description: 申请人
  21741. type: integer
  21742. applyremark:
  21743. description: 申请备注
  21744. type: string
  21745. applysrc:
  21746. description: 申请来源 - 1:管理端 2:终端
  21747. type: integer
  21748. applystatus:
  21749. description: 申请状态 - 1:待确认 2:已处理
  21750. type: integer
  21751. applytime:
  21752. description: 申请时间
  21753. type: string
  21754. auditremark:
  21755. description: 审核备注
  21756. type: string
  21757. auditsrc:
  21758. description: 审核来源 - 1:管理端 2:终端
  21759. type: integer
  21760. expirytype:
  21761. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21762. type: integer
  21763. goodsspec:
  21764. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21765. type: integer
  21766. holeflag:
  21767. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21768. type: integer
  21769. isunopened:
  21770. description: 是否原封 - 1:否 2:是
  21771. type: integer
  21772. mpflag:
  21773. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21774. type: integer
  21775. openflag:
  21776. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21777. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21778. type: integer
  21779. phonenum:
  21780. description: 联系电话
  21781. type: string
  21782. sellbackapplyid:
  21783. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  21784. type: string
  21785. userid:
  21786. description: 所属用户ID
  21787. type: integer
  21788. zpflag:
  21789. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21790. type: integer
  21791. required:
  21792. - userid
  21793. type: object
  21794. order.QueryHisTradeDetailRsp:
  21795. properties:
  21796. accountid:
  21797. description: 账户ID[报价币种]
  21798. type: integer
  21799. advanceratio:
  21800. description: 首付比率
  21801. type: number
  21802. buildtype:
  21803. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21804. type: integer
  21805. buyorsell:
  21806. description: 方向 - 0:买 1:卖
  21807. type: integer
  21808. charge:
  21809. description: 手续费
  21810. type: number
  21811. closecharge:
  21812. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21813. type: number
  21814. closeexchagechargevalue:
  21815. description: 平仓交易所手续费设置值
  21816. type: number
  21817. closefeealgorithm:
  21818. description: 平仓手续费收取方式 1:比率 2:固定
  21819. type: integer
  21820. closememberchargevalue:
  21821. description: 平仓会员手续费设置值
  21822. type: number
  21823. closepl:
  21824. description: 平仓盈亏
  21825. type: number
  21826. closepl2:
  21827. description: 平仓盈亏[逐笔]
  21828. type: number
  21829. closeqty:
  21830. description: 平仓数量(先建后平操作 需要记录)
  21831. type: number
  21832. creditamount:
  21833. description: 授信金额
  21834. type: number
  21835. decimalplace:
  21836. description: 商品报价小数位
  21837. type: integer
  21838. enumdicname:
  21839. description: 单位名称
  21840. type: string
  21841. gcaccountid:
  21842. description: 账户ID[合约币种]
  21843. type: integer
  21844. goodscode:
  21845. description: 商品代码
  21846. type: string
  21847. goodsid:
  21848. description: 商品ID
  21849. type: integer
  21850. goodsname:
  21851. description: 商品名称
  21852. type: string
  21853. goodunitid:
  21854. description: 商品单位id
  21855. type: integer
  21856. histradedate:
  21857. description: 历史交易日
  21858. type: string
  21859. intclosepl:
  21860. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21861. type: integer
  21862. isconfirmexercise:
  21863. description: 是否确认行权- 0:否 1:是
  21864. type: integer
  21865. ismain:
  21866. description: 是否主单 - 0:不是 1:是
  21867. type: integer
  21868. ispreexercise:
  21869. description: 是否预申报- 0:否 1:是
  21870. type: integer
  21871. isreckoned:
  21872. description: 是否结算 - 0:未结算 1:已结算
  21873. type: integer
  21874. isvaliddata:
  21875. description: 是否有效 - 0:无效 1:有效
  21876. type: integer
  21877. listingselecttype:
  21878. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21879. type: integer
  21880. marketid:
  21881. description: 市场ID
  21882. type: integer
  21883. marketname:
  21884. description: 市场名称
  21885. type: string
  21886. matchaccountid:
  21887. description: 对手账号id
  21888. type: integer
  21889. memberuserid:
  21890. description: 会员id 个人投资者 需要填写
  21891. type: integer
  21892. opencharge:
  21893. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21894. type: number
  21895. openexchagechargevalue:
  21896. description: 建仓交易所手续费设置值
  21897. type: number
  21898. openfeealgorithm:
  21899. description: 建仓手续费收取方式 1:比率 2:固定
  21900. type: integer
  21901. openmemberchargevalue:
  21902. description: 建仓会员手续费设置值
  21903. type: number
  21904. openqty:
  21905. description: 开仓数量(先建后平操作 需要记录)
  21906. type: number
  21907. optiontype:
  21908. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21909. type: integer
  21910. orderid:
  21911. description: 委托单号
  21912. type: string
  21913. payamount:
  21914. description: 支付金额(付款金额)
  21915. type: number
  21916. performanceplanid:
  21917. description: 履约计划ID[期权]
  21918. type: integer
  21919. performancestatus:
  21920. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21921. type: integer
  21922. preexerciseprice:
  21923. description: 预申报价格
  21924. type: number
  21925. premium:
  21926. description: 权利金 - [持仓单的权利金]
  21927. type: number
  21928. qtydecimalplace:
  21929. description: 商品报价小数位
  21930. type: integer
  21931. recvamount:
  21932. description: 到账金额 = 成交金额 - 手续费
  21933. type: number
  21934. relatedouttradeid:
  21935. description: 关联外部成交单ID
  21936. type: integer
  21937. status:
  21938. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21939. type: integer
  21940. totalamount:
  21941. description: 订单总额 = 成交金额 + 手续费
  21942. type: number
  21943. tradeamount:
  21944. description: 成交金额[账户币种,用于所有权]
  21945. type: number
  21946. tradedate:
  21947. description: 交易日(yyyyMMdd)
  21948. type: string
  21949. tradeid:
  21950. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21951. type: string
  21952. trademode:
  21953. description: 交易模式
  21954. type: integer
  21955. tradeprice:
  21956. description: 成交价格
  21957. type: number
  21958. tradeproperty:
  21959. description: 交易属性
  21960. type: integer
  21961. tradeqty:
  21962. description: 成交数量
  21963. type: number
  21964. tradetime:
  21965. description: 成交时间
  21966. type: string
  21967. tradetype:
  21968. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21969. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21970. type: integer
  21971. required:
  21972. - accountid
  21973. - buyorsell
  21974. - goodsid
  21975. - histradedate
  21976. - marketid
  21977. - memberuserid
  21978. - orderid
  21979. - tradeamount
  21980. - tradedate
  21981. - tradeid
  21982. - tradeprice
  21983. - tradeqty
  21984. - tradetime
  21985. type: object
  21986. order.QueryHisTradeOrderDetailRsp:
  21987. properties:
  21988. accountid:
  21989. description: 账户ID[报价币种]
  21990. type: integer
  21991. buildtype:
  21992. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21993. type: integer
  21994. buyorsell:
  21995. description: 买卖 - 0:买 1:卖
  21996. type: integer
  21997. cancelorderid:
  21998. description: 撤单单号(撤单时填写)
  21999. type: string
  22000. cancelqty:
  22001. description: 撤单数量
  22002. type: number
  22003. clientordertime:
  22004. description: 客户端委托时间
  22005. type: string
  22006. clientticket:
  22007. description: 客户端流水号
  22008. type: string
  22009. clienttype:
  22010. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22011. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22012. type: integer
  22013. closeexchagechargevalue:
  22014. description: 平仓交易所手续费设置值
  22015. type: number
  22016. closefeealgorithm:
  22017. description: 平仓手续费收取方式 1:比率 2:固定
  22018. type: integer
  22019. closefreezecharge:
  22020. description: 平仓冻结手续费(先建后平操作,需要记录)
  22021. type: number
  22022. closememberchargevalue:
  22023. description: 平仓会员手续费设置值
  22024. type: number
  22025. closeqty:
  22026. description: 平仓数量(先建后平操作 需要记录)
  22027. type: number
  22028. closetradeqty:
  22029. description: 平仓成交数量(先建后平操作,需要记录)
  22030. type: number
  22031. closeunfreezecharge:
  22032. description: 平仓解冻手续费(先建后平操作,需要记录)
  22033. type: number
  22034. decimalplace:
  22035. description: 商品报价小数位
  22036. type: integer
  22037. delistingtype:
  22038. description: 摘牌类型 - 1:价格最优 2:点选成交
  22039. type: integer
  22040. enumdicname:
  22041. description: 单位名称
  22042. type: string
  22043. freezecharge:
  22044. description: 冻结手续费
  22045. type: number
  22046. freezemargin:
  22047. description: 冻结保证金(冻结交易金额)
  22048. type: number
  22049. gcaccountid:
  22050. description: 账户ID[合约币种]
  22051. type: integer
  22052. goodscode:
  22053. description: 商品代码
  22054. type: string
  22055. goodsid:
  22056. description: 商品ID
  22057. type: integer
  22058. goodsname:
  22059. description: 商品名称
  22060. type: string
  22061. goodunitid:
  22062. description: 商品单位id
  22063. type: integer
  22064. histradedate:
  22065. description: 历史交易日
  22066. type: string
  22067. isconfirmexercise:
  22068. description: 是否确认行权- 0:否 1:是
  22069. type: integer
  22070. ispreexercise:
  22071. description: 是否预申报- 0:否 1:是
  22072. type: integer
  22073. isvaliddata:
  22074. description: 是否有效 - 0:无效 1:有效
  22075. type: integer
  22076. listingselecttype:
  22077. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22078. type: integer
  22079. marginalgorithm:
  22080. description: 保证金收取方式 1:比率 2:固定
  22081. type: integer
  22082. marginvalue:
  22083. description: 即市保证金设置值
  22084. type: number
  22085. marketid:
  22086. description: 市场ID
  22087. type: integer
  22088. marketmaxsub:
  22089. description: 市价最大偏移范围
  22090. type: number
  22091. marketname:
  22092. description: 市场名称
  22093. type: string
  22094. memberuserid:
  22095. description: 所属会员UserID
  22096. type: integer
  22097. openexchagechargevalue:
  22098. description: 建仓交易所手续费设置值
  22099. type: number
  22100. openfeealgorithm:
  22101. description: 建仓手续费收取方式 1:比率 2:固定
  22102. type: integer
  22103. openfreezecharge:
  22104. description: 开仓冻结手续费(先建后平操作,需要记录)
  22105. type: number
  22106. openmemberchargevalue:
  22107. description: 建仓会员手续费设置值
  22108. type: number
  22109. openqty:
  22110. description: 开仓数量(先建后平操作,需要记录)
  22111. type: number
  22112. opentradeqty:
  22113. description: 开仓成交数量(先建后平操作,需要记录)
  22114. type: number
  22115. openunfreezecharge:
  22116. description: 开仓解冻手续费(先建后平操作,需要记录)
  22117. type: number
  22118. operatetype:
  22119. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22120. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22121. 15:管理端协议转让
  22122. type: integer
  22123. operatorid:
  22124. description: 登录账号(LoginID)
  22125. type: integer
  22126. optiontype:
  22127. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22128. type: integer
  22129. orderid:
  22130. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22131. type: string
  22132. orderprice:
  22133. description: 委托价格
  22134. type: number
  22135. orderqty:
  22136. description: 委托数量
  22137. type: number
  22138. ordersrc:
  22139. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22140. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22141. type: integer
  22142. orderstatus:
  22143. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22144. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22145. 16:成交失败违约(荷兰式竞拍专用)
  22146. type: integer
  22147. ordertime:
  22148. description: 委托时间
  22149. type: string
  22150. preexerciseprice:
  22151. description: 预申报价格
  22152. type: number
  22153. premium:
  22154. description: 权利金
  22155. type: number
  22156. preorderid:
  22157. description: 关联预埋单号(止盈止损单时填写)
  22158. type: string
  22159. pricemode:
  22160. description: '取价方式 - 1:市价 2: 限价'
  22161. type: integer
  22162. qtydecimalplace:
  22163. description: 成交量小数位
  22164. type: integer
  22165. quoteid:
  22166. description: 报价单ID
  22167. type: integer
  22168. relatedid:
  22169. description: 关联单号(交割单)
  22170. type: string
  22171. retcode:
  22172. description: 错误代码
  22173. type: integer
  22174. sessionid:
  22175. description: 会话ID
  22176. type: integer
  22177. tradedate:
  22178. description: 交易日(yyyyMMdd)
  22179. type: string
  22180. trademode:
  22181. description: 交易模式
  22182. type: integer
  22183. tradeproperty:
  22184. description: 交易属性
  22185. type: integer
  22186. tradeqty:
  22187. description: 成交数量
  22188. type: number
  22189. unfreezecharge:
  22190. description: 解冻手续费
  22191. type: number
  22192. unfreezemargin:
  22193. description: 解冻保证金
  22194. type: number
  22195. updatetime:
  22196. description: 更新时间
  22197. type: string
  22198. uuid:
  22199. description: 发起端唯一id
  22200. type: string
  22201. validtime:
  22202. description: 有效期限
  22203. type: string
  22204. validtype:
  22205. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22206. type: integer
  22207. volumetype:
  22208. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22209. type: integer
  22210. required:
  22211. - accountid
  22212. - buildtype
  22213. - buyorsell
  22214. - goodsid
  22215. - histradedate
  22216. - marketid
  22217. - memberuserid
  22218. - operatetype
  22219. - orderid
  22220. - orderqty
  22221. - ordertime
  22222. - pricemode
  22223. - tradedate
  22224. - validtype
  22225. type: object
  22226. order.QueryTradeDetailRsp:
  22227. properties:
  22228. accountid:
  22229. description: 账户ID[报价币种]
  22230. type: integer
  22231. advanceratio:
  22232. description: 首付比率
  22233. type: number
  22234. buildtype:
  22235. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  22236. type: integer
  22237. buyorsell:
  22238. description: 方向 - 0:买 1:卖
  22239. type: integer
  22240. charge:
  22241. description: 手续费
  22242. type: number
  22243. closecharge:
  22244. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22245. type: number
  22246. closeexchagechargevalue:
  22247. description: 平仓交易所手续费设置值
  22248. type: number
  22249. closefeealgorithm:
  22250. description: 平仓手续费收取方式 1:比率 2:固定
  22251. type: integer
  22252. closememberchargevalue:
  22253. description: 平仓会员手续费设置值
  22254. type: number
  22255. closepl:
  22256. description: 平仓盈亏
  22257. type: number
  22258. closepl2:
  22259. description: 平仓盈亏[逐笔]
  22260. type: number
  22261. closeqty:
  22262. description: 平仓数量(先建后平操作 需要记录)
  22263. type: number
  22264. creditamount:
  22265. description: 授信金额
  22266. type: number
  22267. decimalplace:
  22268. description: 商品报价小数位
  22269. type: integer
  22270. enumdicname:
  22271. description: 单位名称
  22272. type: string
  22273. gcaccountid:
  22274. description: 账户ID[合约币种]
  22275. type: integer
  22276. goodscode:
  22277. description: 商品代码
  22278. type: string
  22279. goodsid:
  22280. description: 商品ID
  22281. type: integer
  22282. goodsname:
  22283. description: 商品名称
  22284. type: string
  22285. goodunitid:
  22286. description: 商品单位id
  22287. type: integer
  22288. intclosepl:
  22289. description: 整型盈亏(用于交易结算试算平衡-收益权)
  22290. type: integer
  22291. isconfirmexercise:
  22292. description: 是否确认行权- 0:否 1:是
  22293. type: integer
  22294. ismain:
  22295. description: 是否主单 - 0:不是 1:是
  22296. type: integer
  22297. ispreexercise:
  22298. description: 是否预申报- 0:否 1:是
  22299. type: integer
  22300. isreckoned:
  22301. description: 是否结算 - 0:未结算 1:已结算
  22302. type: integer
  22303. listingselecttype:
  22304. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22305. type: integer
  22306. marketid:
  22307. description: 市场ID
  22308. type: integer
  22309. marketname:
  22310. description: 市场名称
  22311. type: string
  22312. matchaccountid:
  22313. description: 对手账号id
  22314. type: integer
  22315. memberuserid:
  22316. description: 会员id 个人投资者 需要填写
  22317. type: integer
  22318. opencharge:
  22319. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22320. type: number
  22321. openexchagechargevalue:
  22322. description: 建仓交易所手续费设置值
  22323. type: number
  22324. openfeealgorithm:
  22325. description: 建仓手续费收取方式 1:比率 2:固定
  22326. type: integer
  22327. openmemberchargevalue:
  22328. description: 建仓会员手续费设置值
  22329. type: number
  22330. openqty:
  22331. description: 开仓数量(先建后平操作 需要记录)
  22332. type: number
  22333. optiontype:
  22334. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22335. type: integer
  22336. orderid:
  22337. description: 委托单号
  22338. type: string
  22339. payamount:
  22340. description: 支付金额(付款金额)
  22341. type: number
  22342. performanceplanid:
  22343. description: 履约计划ID[期权]
  22344. type: integer
  22345. performancestatus:
  22346. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  22347. type: integer
  22348. preexerciseprice:
  22349. description: 预申报价格
  22350. type: number
  22351. premium:
  22352. description: 权利金 - [持仓单的权利金]
  22353. type: number
  22354. qtydecimalplace:
  22355. description: 商品报价小数位
  22356. type: integer
  22357. recvamount:
  22358. description: 到账金额 = 成交金额 - 手续费
  22359. type: number
  22360. relatedouttradeid:
  22361. description: 关联外部成交单ID
  22362. type: integer
  22363. status:
  22364. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  22365. type: integer
  22366. totalamount:
  22367. description: 订单总额 = 成交金额 + 手续费
  22368. type: number
  22369. tradeamount:
  22370. description: 成交金额[账户币种,用于所有权]
  22371. type: number
  22372. tradedate:
  22373. description: 交易日(yyyyMMdd)
  22374. type: string
  22375. tradeid:
  22376. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22377. type: string
  22378. trademode:
  22379. description: 交易模式
  22380. type: integer
  22381. tradeprice:
  22382. description: 成交价格
  22383. type: number
  22384. tradeproperty:
  22385. description: 交易属性
  22386. type: integer
  22387. tradeqty:
  22388. description: 成交数量
  22389. type: number
  22390. tradetime:
  22391. description: 成交时间
  22392. type: string
  22393. tradetype:
  22394. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  22395. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  22396. type: integer
  22397. required:
  22398. - accountid
  22399. - buyorsell
  22400. - goodsid
  22401. - marketid
  22402. - memberuserid
  22403. - orderid
  22404. - tradeamount
  22405. - tradedate
  22406. - tradeid
  22407. - tradeprice
  22408. - tradeqty
  22409. - tradetime
  22410. type: object
  22411. order.QueryTradeOrderDetailRsp:
  22412. properties:
  22413. accountid:
  22414. description: 账户ID[报价币种]
  22415. type: integer
  22416. buildtype:
  22417. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22418. type: integer
  22419. buyorsell:
  22420. description: 买卖 - 0:买 1:卖
  22421. type: integer
  22422. cancelorderid:
  22423. description: 撤单单号(撤单时填写)
  22424. type: string
  22425. cancelqty:
  22426. description: 撤单数量
  22427. type: number
  22428. clienttype:
  22429. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22430. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22431. type: integer
  22432. closefreezecharge:
  22433. description: 平仓冻结手续费(先建后平操作,需要记录)
  22434. type: number
  22435. closeqty:
  22436. description: 平仓数量(先建后平操作 需要记录)
  22437. type: number
  22438. closetradeqty:
  22439. description: 平仓成交数量(先建后平操作,需要记录)
  22440. type: number
  22441. closeunfreezecharge:
  22442. description: 平仓解冻手续费(先建后平操作,需要记录)
  22443. type: number
  22444. decimalplace:
  22445. description: 商品报价小数位
  22446. type: integer
  22447. delistingtype:
  22448. description: 摘牌类型 - 1:价格最优 2:点选成交
  22449. type: integer
  22450. enableqty:
  22451. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  22452. type: number
  22453. enumdicname:
  22454. description: 单位名称
  22455. type: string
  22456. freezecharge:
  22457. description: 冻结手续费
  22458. type: number
  22459. freezemargin:
  22460. description: 冻结保证金(冻结交易金额)
  22461. type: number
  22462. goodscode:
  22463. description: 商品代码
  22464. type: string
  22465. goodsid:
  22466. description: 商品ID
  22467. type: integer
  22468. goodsname:
  22469. description: 商品名称
  22470. type: string
  22471. goodunitid:
  22472. description: 商品单位id
  22473. type: integer
  22474. listingselecttype:
  22475. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22476. type: integer
  22477. marketid:
  22478. description: 市场ID
  22479. type: integer
  22480. marketname:
  22481. description: 市场名称
  22482. type: string
  22483. openfreezecharge:
  22484. description: 开仓冻结手续费(先建后平操作,需要记录)
  22485. type: number
  22486. openqty:
  22487. description: 开仓数量(先建后平操作,需要记录)
  22488. type: number
  22489. opentradeqty:
  22490. description: 开仓成交数量(先建后平操作,需要记录)
  22491. type: number
  22492. openunfreezecharge:
  22493. description: 开仓解冻手续费(先建后平操作,需要记录)
  22494. type: number
  22495. operatetype:
  22496. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22497. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22498. 15:管理端协议转让
  22499. type: integer
  22500. operatorid:
  22501. description: 登录账号(LoginID)
  22502. type: integer
  22503. orderid:
  22504. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22505. type: string
  22506. orderprice:
  22507. description: 委托价格
  22508. type: number
  22509. orderqty:
  22510. description: 委托数量
  22511. type: number
  22512. ordersrc:
  22513. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22514. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22515. type: integer
  22516. orderstatus:
  22517. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22518. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22519. 16:成交失败违约(荷兰式竞拍专用)
  22520. type: integer
  22521. ordertime:
  22522. description: 委托时间
  22523. type: string
  22524. preorderid:
  22525. description: 关联预埋单号(止盈止损单时填写)
  22526. type: string
  22527. pricemode:
  22528. description: '取价方式 - 1:市价 2: 限价'
  22529. type: integer
  22530. qtydecimalplace:
  22531. description: 商品报价小数位
  22532. type: integer
  22533. relatedid:
  22534. description: 关联单号(交割单)
  22535. type: string
  22536. tradedate:
  22537. description: 交易日(yyyyMMdd)
  22538. type: string
  22539. trademode:
  22540. description: 交易模式
  22541. type: integer
  22542. tradeqty:
  22543. description: 成交数量
  22544. type: number
  22545. unfreezecharge:
  22546. description: 解冻手续费
  22547. type: number
  22548. unfreezemargin:
  22549. description: 解冻保证金
  22550. type: number
  22551. validtime:
  22552. description: 有效期限
  22553. type: string
  22554. validtype:
  22555. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22556. type: integer
  22557. volumetype:
  22558. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22559. type: integer
  22560. required:
  22561. - accountid
  22562. - buildtype
  22563. - buyorsell
  22564. - goodsid
  22565. - marketid
  22566. - operatetype
  22567. - orderqty
  22568. - ordertime
  22569. - pricemode
  22570. - tradedate
  22571. - validtype
  22572. type: object
  22573. order.QueryTradePositionRsp:
  22574. properties:
  22575. accountid:
  22576. description: 资金账户
  22577. type: integer
  22578. agreeunit:
  22579. description: 合约单位
  22580. type: number
  22581. averageprice:
  22582. description: 持仓均价
  22583. type: number
  22584. buyorsell:
  22585. description: 方向 - 0:买 1:卖
  22586. type: integer
  22587. closetotalqty:
  22588. description: 平仓总数量
  22589. type: number
  22590. curholderamount:
  22591. description: 当前持仓总金额[商品币种]
  22592. type: number
  22593. curpositionqty:
  22594. description: 当前持仓总数量
  22595. type: number
  22596. currencyid:
  22597. description: 报价货币ID
  22598. type: integer
  22599. curtdposition:
  22600. description: 期末今日头寸
  22601. type: number
  22602. decimalplace:
  22603. description: 报价小数位
  22604. type: integer
  22605. enableqty:
  22606. description: 可用量
  22607. type: number
  22608. fretdposition:
  22609. description: 冻结今日头寸
  22610. type: number
  22611. frozenqty:
  22612. description: 持仓冻结数量
  22613. type: number
  22614. goodscode:
  22615. description: 商品代码
  22616. type: string
  22617. goodsid:
  22618. description: 商品Id
  22619. type: integer
  22620. goodsname:
  22621. description: 商品名称
  22622. type: string
  22623. goodunit:
  22624. description: 报价单位
  22625. type: string
  22626. goodunitid:
  22627. description: 报价单位ID
  22628. type: integer
  22629. holderamount:
  22630. description: 期初持仓总金额[商品币种]
  22631. type: number
  22632. lastprice:
  22633. description: 最新价
  22634. type: number
  22635. marketamount:
  22636. description: 市值
  22637. type: number
  22638. marketid:
  22639. description: 所属市场ID
  22640. type: integer
  22641. openreqqty:
  22642. description: 开仓申请数量(用于比较最大持仓数量)
  22643. type: number
  22644. opentotalqty:
  22645. description: 开仓总数量
  22646. type: number
  22647. otherfrozenqty:
  22648. description: 持仓其他冻结数量(交割冻结)
  22649. type: number
  22650. positionpl:
  22651. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  22652. * 合约单位
  22653. type: number
  22654. positionplrate:
  22655. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  22656. type: number
  22657. positionqty:
  22658. description: 期初持仓数量
  22659. type: number
  22660. qtydecimalplace:
  22661. description: 成交量小数位
  22662. type: integer
  22663. refgoodscode:
  22664. description: 参考商品代码
  22665. type: string
  22666. refgoodsid:
  22667. description: 参考商品ID
  22668. type: integer
  22669. tnqty:
  22670. description: T+N冻结总量
  22671. type: number
  22672. tnusedqty:
  22673. description: T+N使用量(可以使用T+N的冻结数量)
  22674. type: number
  22675. trademode:
  22676. description: 交易模式
  22677. type: integer
  22678. tradeproperty:
  22679. description: 交易属性
  22680. type: integer
  22681. usedmargin:
  22682. description: 占用保证金[商品币种]
  22683. type: number
  22684. required:
  22685. - goodsid
  22686. type: object
  22687. pb.GoodsMarginCfgStruct:
  22688. properties:
  22689. CustomerTypeID:
  22690. description: 投资者客户类型
  22691. type: integer
  22692. GoodsID:
  22693. description: 商品ID
  22694. type: integer
  22695. IsDefault:
  22696. description: 是否默认标志位
  22697. type: integer
  22698. LockMarginValue:
  22699. description: 锁仓保证金
  22700. type: number
  22701. MarginAlgorithm:
  22702. description: 保证金计算方式
  22703. type: integer
  22704. MarketMarginValue:
  22705. description: 即市保证金值
  22706. type: number
  22707. RealMarginAlgorithm:
  22708. description: 实付保证金计算方式
  22709. type: integer
  22710. RealMarginValue:
  22711. description: 实付比例
  22712. type: number
  22713. ReckonMarginValue:
  22714. description: 结算保证金值
  22715. type: number
  22716. type: object
  22717. quote.HistoryData:
  22718. properties:
  22719. c:
  22720. description: 收盘价
  22721. type: number
  22722. f:
  22723. description: 是否补充数据
  22724. type: boolean
  22725. h:
  22726. description: 最高价
  22727. type: number
  22728. hv:
  22729. description: 持仓量
  22730. type: integer
  22731. l:
  22732. description: 最低价
  22733. type: number
  22734. o:
  22735. description: 开盘价
  22736. type: number
  22737. s:
  22738. description: 结算价,日线周期(包括)以上才有
  22739. type: number
  22740. ts:
  22741. description: 时间
  22742. type: string
  22743. tt:
  22744. description: 总金额
  22745. type: number
  22746. tv:
  22747. description: 总量(成交量)
  22748. type: integer
  22749. type: object
  22750. quote.HistoryTikData:
  22751. properties:
  22752. AV:
  22753. description: 卖量
  22754. type: integer
  22755. Ask:
  22756. description: 卖价
  22757. type: number
  22758. BV:
  22759. description: 买量
  22760. type: integer
  22761. Bid:
  22762. description: 买价
  22763. type: number
  22764. HI:
  22765. description: 单笔持仓
  22766. type: integer
  22767. HV:
  22768. description: 持仓量
  22769. type: integer
  22770. PE:
  22771. description: 现价
  22772. type: number
  22773. TDR:
  22774. description: 交易方向,0:买 1:卖
  22775. type: integer
  22776. TK:
  22777. description: 交易类型
  22778. type: integer
  22779. TS:
  22780. description: 行情时间文本
  22781. type: string
  22782. TT:
  22783. description: 现金额
  22784. type: number
  22785. Vol:
  22786. description: 现量
  22787. type: integer
  22788. type: object
  22789. quote.QueryQuoteDayRsp:
  22790. properties:
  22791. ask:
  22792. description: 卖1
  22793. type: number
  22794. ask2:
  22795. description: 卖2
  22796. type: number
  22797. ask3:
  22798. description: 卖3
  22799. type: number
  22800. ask4:
  22801. description: 卖4
  22802. type: number
  22803. ask5:
  22804. description: 卖5
  22805. type: number
  22806. ask6:
  22807. description: 卖6
  22808. type: number
  22809. ask7:
  22810. description: 卖7
  22811. type: number
  22812. ask8:
  22813. description: 卖8
  22814. type: number
  22815. ask9:
  22816. description: 卖9
  22817. type: number
  22818. ask10:
  22819. description: 卖10
  22820. type: number
  22821. askorderid:
  22822. description: 卖单号1
  22823. type: integer
  22824. askorderid2:
  22825. description: 卖单号2
  22826. type: integer
  22827. askorderid3:
  22828. description: 卖单号3
  22829. type: integer
  22830. askorderid4:
  22831. description: 卖单号4
  22832. type: integer
  22833. askorderid5:
  22834. description: 卖单号5
  22835. type: integer
  22836. askordervolume:
  22837. description: 卖单量1
  22838. type: integer
  22839. askordervolume2:
  22840. description: 卖单量2
  22841. type: integer
  22842. askordervolume3:
  22843. description: 卖单量3
  22844. type: integer
  22845. askordervolume4:
  22846. description: 卖单量4
  22847. type: integer
  22848. askordervolume5:
  22849. description: 卖单量5
  22850. type: integer
  22851. askordervolume6:
  22852. description: 卖单量6
  22853. type: integer
  22854. askordervolume7:
  22855. description: 卖单量7
  22856. type: integer
  22857. askordervolume8:
  22858. description: 卖单量8
  22859. type: integer
  22860. askordervolume9:
  22861. description: 卖单量9
  22862. type: integer
  22863. askordervolume10:
  22864. description: 卖单量10
  22865. type: integer
  22866. askqueueinfo:
  22867. description: 大利市卖港股用
  22868. type: string
  22869. askvolume:
  22870. description: 卖量1
  22871. type: integer
  22872. askvolume2:
  22873. description: 卖量2
  22874. type: integer
  22875. askvolume3:
  22876. description: 卖量3
  22877. type: integer
  22878. askvolume4:
  22879. description: 卖量4
  22880. type: integer
  22881. askvolume5:
  22882. description: 卖量5
  22883. type: integer
  22884. askvolume6:
  22885. description: 卖量6
  22886. type: integer
  22887. askvolume7:
  22888. description: 卖量7
  22889. type: integer
  22890. askvolume8:
  22891. description: 卖量8
  22892. type: integer
  22893. askvolume9:
  22894. description: 卖量9
  22895. type: integer
  22896. askvolume10:
  22897. description: 卖量10
  22898. type: integer
  22899. averageprice:
  22900. description: 均价
  22901. type: number
  22902. bid:
  22903. description: 买1
  22904. type: number
  22905. bid2:
  22906. description: 买2
  22907. type: number
  22908. bid3:
  22909. description: 买3
  22910. type: number
  22911. bid4:
  22912. description: 买4
  22913. type: number
  22914. bid5:
  22915. description: 买5
  22916. type: number
  22917. bid6:
  22918. description: 买6
  22919. type: number
  22920. bid7:
  22921. description: 买7
  22922. type: number
  22923. bid8:
  22924. description: 买8
  22925. type: number
  22926. bid9:
  22927. description: 买9
  22928. type: number
  22929. bid10:
  22930. description: 买10
  22931. type: number
  22932. bidorderid:
  22933. description: 买单号1
  22934. type: integer
  22935. bidorderid2:
  22936. description: 买单号2
  22937. type: integer
  22938. bidorderid3:
  22939. description: 买单号3
  22940. type: integer
  22941. bidorderid4:
  22942. description: 买单号4
  22943. type: integer
  22944. bidorderid5:
  22945. description: 买单号5
  22946. type: integer
  22947. bidordervolume:
  22948. description: 买单量1
  22949. type: integer
  22950. bidordervolume2:
  22951. description: 买单量2
  22952. type: integer
  22953. bidordervolume3:
  22954. description: 买单量3
  22955. type: integer
  22956. bidordervolume4:
  22957. description: 买单量4
  22958. type: integer
  22959. bidordervolume5:
  22960. description: 买单量5
  22961. type: integer
  22962. bidordervolume6:
  22963. description: 买单量6
  22964. type: integer
  22965. bidordervolume7:
  22966. description: 买单量7
  22967. type: integer
  22968. bidordervolume8:
  22969. description: 买单量8
  22970. type: integer
  22971. bidordervolume9:
  22972. description: 买单量9
  22973. type: integer
  22974. bidordervolume10:
  22975. description: 买单量10
  22976. type: integer
  22977. bidqueueinfo:
  22978. description: 大利市买港股用
  22979. type: string
  22980. bidvolume:
  22981. description: 买量1
  22982. type: integer
  22983. bidvolume2:
  22984. description: 买量2
  22985. type: integer
  22986. bidvolume3:
  22987. description: 买量3
  22988. type: integer
  22989. bidvolume4:
  22990. description: 买量4
  22991. type: integer
  22992. bidvolume5:
  22993. description: 买量5
  22994. type: integer
  22995. bidvolume6:
  22996. description: 买量6
  22997. type: integer
  22998. bidvolume7:
  22999. description: 买量7
  23000. type: integer
  23001. bidvolume8:
  23002. description: 买量8
  23003. type: integer
  23004. bidvolume9:
  23005. description: 买量9
  23006. type: integer
  23007. bidvolume10:
  23008. description: 买量10
  23009. type: integer
  23010. calloptionpremiums:
  23011. description: 认购期权1
  23012. type: integer
  23013. calloptionpremiums2:
  23014. description: 认购期权2
  23015. type: integer
  23016. calloptionpremiums3:
  23017. description: 认购期权3
  23018. type: integer
  23019. calloptionpremiums4:
  23020. description: 认购期权4
  23021. type: integer
  23022. calloptionpremiums5:
  23023. description: 认购期权5
  23024. type: integer
  23025. cleartime:
  23026. description: 清盘时间
  23027. type: integer
  23028. exchangecode:
  23029. description: 交易所代码
  23030. type: integer
  23031. exchangedate:
  23032. description: 交易日
  23033. type: integer
  23034. goodscode:
  23035. description: 商品代码
  23036. type: string
  23037. grepmarketprice:
  23038. description: 暗盘价 港股专用
  23039. type: number
  23040. highest:
  23041. description: 最高价
  23042. type: number
  23043. holdincrement:
  23044. description: 单笔持仓
  23045. type: integer
  23046. holdvolume:
  23047. description: 持仓
  23048. type: integer
  23049. iep:
  23050. description: 平衡价 港股专用
  23051. type: number
  23052. iev:
  23053. description: 平衡量 港股专用
  23054. type: number
  23055. inventory:
  23056. description: 库存
  23057. type: integer
  23058. iscleared:
  23059. description: 是否清盘标志
  23060. type: integer
  23061. issettled:
  23062. description: 是否结算标志
  23063. type: integer
  23064. last:
  23065. description: 最新价
  23066. type: number
  23067. lastlot:
  23068. description: 最新成交手数
  23069. type: integer
  23070. lasttime:
  23071. description: 行情时间(只有现价变化行情时间才变化)
  23072. type: string
  23073. lastturnover:
  23074. description: 最新成交金额
  23075. type: number
  23076. lastvolume:
  23077. description: 最新成交量
  23078. type: integer
  23079. limitdown:
  23080. description: 跌停价
  23081. type: number
  23082. limitup:
  23083. description: 涨停价
  23084. type: number
  23085. lowest:
  23086. description: 最低价
  23087. type: number
  23088. nontotalholdervolume:
  23089. description: 非交易持仓量
  23090. type: integer
  23091. nontotallot:
  23092. description: 非交易总手数
  23093. type: integer
  23094. nontotalturnover:
  23095. description: 非交易总金额
  23096. type: integer
  23097. nontotalvolume:
  23098. description: 非交易总量
  23099. type: integer
  23100. opened:
  23101. description: 开盘价
  23102. type: number
  23103. opentime:
  23104. description: 开盘时间
  23105. type: string
  23106. orderid:
  23107. description: 序号
  23108. type: integer
  23109. preclose:
  23110. description: 昨收
  23111. type: number
  23112. preholdvolume:
  23113. description: 昨持仓
  23114. type: integer
  23115. presettle:
  23116. description: 昨结价
  23117. type: number
  23118. publictradetype:
  23119. description: 公共交易标志类型 港股专用
  23120. type: string
  23121. putoptionpremiums:
  23122. description: 认沽期权1
  23123. type: integer
  23124. putoptionpremiums2:
  23125. description: 认沽期权2
  23126. type: integer
  23127. putoptionpremiums3:
  23128. description: 认沽期权3
  23129. type: integer
  23130. putoptionpremiums4:
  23131. description: 认沽期权4
  23132. type: integer
  23133. putoptionpremiums5:
  23134. description: 认沽期权5
  23135. type: integer
  23136. settle:
  23137. description: 结算价
  23138. type: number
  23139. strikeprice:
  23140. description: 发行价
  23141. type: number
  23142. totalaskvolume:
  23143. description: 内盘
  23144. type: integer
  23145. totalbidvolume:
  23146. description: 外盘
  23147. type: integer
  23148. totallot:
  23149. description: 总手数
  23150. type: integer
  23151. totalturnover:
  23152. description: 总金额
  23153. type: number
  23154. totalvolume:
  23155. description: 总量
  23156. type: integer
  23157. utclasttime:
  23158. description: utc的行情时间
  23159. type: string
  23160. type: object
  23161. quote.QueryTSDataRsp:
  23162. properties:
  23163. Count:
  23164. description: 交易日应有数据个数
  23165. type: integer
  23166. decimalPlace:
  23167. description: 小数位
  23168. type: integer
  23169. endTime:
  23170. description: 结束时间
  23171. type: string
  23172. goodsCode:
  23173. description: 商品代码
  23174. type: string
  23175. historyDatas:
  23176. description: 历史数据
  23177. items:
  23178. $ref: '#/definitions/quote.HistoryData'
  23179. type: array
  23180. outGoodsCode:
  23181. description: 外部商品代码
  23182. type: string
  23183. preSettle:
  23184. description: 昨结价
  23185. type: number
  23186. runSteps:
  23187. description: 交易日开休市计划
  23188. items:
  23189. $ref: '#/definitions/quote.TSDataRunStep'
  23190. type: array
  23191. startTime:
  23192. description: 开始时间
  23193. type: string
  23194. tradeDate:
  23195. description: 交易日
  23196. type: string
  23197. type: object
  23198. quote.TSDataRunStep:
  23199. properties:
  23200. end:
  23201. description: 真实结束时间
  23202. type: string
  23203. endflag:
  23204. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  23205. type: integer
  23206. endtime:
  23207. description: 结束时间(HH:mm)
  23208. type: string
  23209. endweekday:
  23210. description: 结束周几
  23211. type: integer
  23212. groupid:
  23213. description: 分组ID
  23214. type: integer
  23215. runstep:
  23216. description: 运行阶段 - 2:连续交易
  23217. type: integer
  23218. sectionid:
  23219. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  23220. 结束时间=结算时间 结束周几=结算周几
  23221. type: integer
  23222. start:
  23223. description: 真实开始时间
  23224. type: string
  23225. startflag:
  23226. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  23227. type: integer
  23228. starttime:
  23229. description: 起始时间(HH:mm)
  23230. type: string
  23231. startweekday:
  23232. description: 起始周几
  23233. type: integer
  23234. tradeweekday:
  23235. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  23236. type: integer
  23237. type: object
  23238. szdz.QueryConvertLogRsp:
  23239. properties:
  23240. accountid:
  23241. description: 资金账户ID
  23242. type: integer
  23243. clientticket:
  23244. description: 客户端流水号
  23245. type: string
  23246. converttype:
  23247. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  23248. type: integer
  23249. createtime:
  23250. description: 记账时间
  23251. type: string
  23252. daymaxvalue:
  23253. description: 配置当日最大转入限制
  23254. type: number
  23255. daymaxvalue2:
  23256. description: 配置当日最大转入限制(转入)
  23257. type: number
  23258. goodscode:
  23259. description: 商品代码
  23260. type: string
  23261. goodsname:
  23262. description: 商品名称
  23263. type: string
  23264. handlestatus:
  23265. description: 处理状态
  23266. type: integer
  23267. innergoodsid:
  23268. description: 内部商品ID
  23269. type: integer
  23270. inratio:
  23271. description: 配置转入比值
  23272. type: integer
  23273. invalue:
  23274. description: 目标值
  23275. type: number
  23276. logid:
  23277. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  23278. type: integer
  23279. mobile:
  23280. description: 手机号码(加密存储)
  23281. type: string
  23282. outergoodscode:
  23283. description: 外部商品代码[JD\PD]
  23284. type: string
  23285. outratio:
  23286. description: 配置转出比值
  23287. type: integer
  23288. outvalue:
  23289. description: 源值
  23290. type: number
  23291. pddecimalplace:
  23292. description: PD小数位
  23293. type: integer
  23294. qty:
  23295. description: 数量
  23296. type: string
  23297. remark:
  23298. description: 备注
  23299. type: string
  23300. sessionid:
  23301. description: 会话ID
  23302. type: integer
  23303. timemaxvalue:
  23304. description: 配置单次最大转入限制
  23305. type: number
  23306. timemaxvalue2:
  23307. description: 配置单次最大转入限制(转入)
  23308. type: number
  23309. timeminvalue:
  23310. description: 配置单次最小数量限制
  23311. type: number
  23312. timeminvalue2:
  23313. description: 配置单次最小数量限制(转入)
  23314. type: number
  23315. tradedate:
  23316. description: 交易日(yyyyMMdd)
  23317. type: string
  23318. userid:
  23319. description: 用户ID
  23320. type: integer
  23321. required:
  23322. - logid
  23323. type: object
  23324. szdz.QueryGoodsPickupRsp:
  23325. properties:
  23326. accountid:
  23327. description: 账户ID
  23328. type: integer
  23329. address:
  23330. description: 提货人详细地址
  23331. type: string
  23332. auditer:
  23333. description: 审核人
  23334. type: integer
  23335. audittime:
  23336. description: 审核时间
  23337. type: string
  23338. cardnum:
  23339. description: 提货人证件号码
  23340. type: string
  23341. cardtypeid:
  23342. description: 提货人证件类型
  23343. type: integer
  23344. checkremark:
  23345. description: 审核备注
  23346. type: string
  23347. goodscode:
  23348. description: 商品代码
  23349. type: string
  23350. goodsid:
  23351. description: 商品ID
  23352. type: integer
  23353. goodsname:
  23354. description: 商品名称
  23355. type: string
  23356. handlestatus:
  23357. description: 处理状态
  23358. type: integer
  23359. marketid:
  23360. description: 市场ID
  23361. type: integer
  23362. phonenum:
  23363. description: 提货人联系方式
  23364. type: string
  23365. qty:
  23366. description: 提货数量
  23367. type: number
  23368. recivername:
  23369. description: 提货人姓名
  23370. type: string
  23371. reqtime:
  23372. description: 更新时间
  23373. type: string
  23374. takemode:
  23375. description: 提货方式 - 2:自提 3:配送
  23376. type: integer
  23377. takeorderid:
  23378. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  23379. type: string
  23380. takeorderstatus:
  23381. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23382. type: integer
  23383. takeremark:
  23384. description: 提货备注
  23385. type: string
  23386. tradedate:
  23387. description: 交易日(yyyyMMdd)
  23388. type: string
  23389. userid:
  23390. description: 用户ID
  23391. type: integer
  23392. required:
  23393. - takeorderid
  23394. type: object
  23395. szdz.QueryRecieptOrderRsp:
  23396. properties:
  23397. accountName:
  23398. description: 所属账号名称(已脱敏)
  23399. type: string
  23400. accountid:
  23401. description: 资金账号
  23402. type: integer
  23403. buyorsell:
  23404. description: 方向 - 0:买 1:卖
  23405. type: integer
  23406. enableqty:
  23407. description: 可摘数量
  23408. type: integer
  23409. goodscode:
  23410. description: 商品代码
  23411. type: string
  23412. goodsid:
  23413. description: 商品ID
  23414. type: integer
  23415. goodsname:
  23416. description: 商品名称
  23417. type: string
  23418. orderid:
  23419. description: 委托单号
  23420. type: string
  23421. orderprice:
  23422. description: 委托价格
  23423. type: number
  23424. ordertime:
  23425. description: 委托时间
  23426. type: string
  23427. tradedate:
  23428. description: 交易日(yyyyMMdd)
  23429. type: string
  23430. required:
  23431. - ordertime
  23432. type: object
  23433. szdz.QuerySZDZTradePositionRsp:
  23434. properties:
  23435. accountid:
  23436. description: 账号Id
  23437. type: integer
  23438. agreeunit:
  23439. description: 合约单位
  23440. type: number
  23441. averageprice:
  23442. description: 持仓均价
  23443. type: number
  23444. buyorsell:
  23445. description: 方向 - 0:买 1:卖
  23446. type: integer
  23447. closetotalqty:
  23448. description: 平仓总数量
  23449. type: integer
  23450. curholderamount:
  23451. description: 当前持仓总金额
  23452. type: number
  23453. curpositionqty:
  23454. description: 当前持仓总数量
  23455. type: integer
  23456. currencyid:
  23457. description: 报价货币ID
  23458. type: integer
  23459. curtdposition:
  23460. description: 期末今日头寸
  23461. type: integer
  23462. decimalplace:
  23463. description: 报价小数位
  23464. type: integer
  23465. enableqty:
  23466. description: 可用量
  23467. type: integer
  23468. fretdposition:
  23469. description: 冻结今日头寸
  23470. type: integer
  23471. frozenqty:
  23472. description: 持仓冻结数量
  23473. type: integer
  23474. goodscode:
  23475. description: 商品代码(内部)
  23476. type: string
  23477. goodsid:
  23478. description: 商品Id
  23479. type: integer
  23480. goodsname:
  23481. description: 商品名称
  23482. type: string
  23483. goodunit:
  23484. description: 报价单位
  23485. type: string
  23486. goodunitid:
  23487. description: 报价单位ID
  23488. type: integer
  23489. holderamount:
  23490. description: 期初持仓总金额
  23491. type: number
  23492. marketid:
  23493. description: 市场ID
  23494. type: integer
  23495. openreqqty:
  23496. description: 开仓申请数量
  23497. type: integer
  23498. opentotalqty:
  23499. description: 开仓总数量
  23500. type: integer
  23501. otherfrozenqty:
  23502. description: 持仓其他冻结数量(交割冻结)
  23503. type: integer
  23504. positionqty:
  23505. description: 期初持仓数量
  23506. type: integer
  23507. szdz3freezqty:
  23508. description: 尚志大宗转换冻结总数量
  23509. type: integer
  23510. tnqty:
  23511. description: T+N冻结总量
  23512. type: integer
  23513. tnusedqty:
  23514. description: T+N使用量
  23515. type: integer
  23516. trademode:
  23517. description: 交易模式
  23518. type: integer
  23519. usedmargin:
  23520. description: 占用保证金
  23521. type: number
  23522. type: object
  23523. taaccount.QueryAmountLogRsp:
  23524. properties:
  23525. accountid:
  23526. description: 资金账户ID
  23527. type: integer
  23528. agoodscode:
  23529. description: 竞拍商品代码
  23530. type: string
  23531. agoodsname:
  23532. description: 竞拍商品名称
  23533. type: string
  23534. amount:
  23535. description: 资金金额
  23536. type: number
  23537. amountadjusttype:
  23538. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23539. type: integer
  23540. autoid:
  23541. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23542. type: integer
  23543. balance:
  23544. description: 期初余额
  23545. type: number
  23546. businesscode:
  23547. description: 业务编号
  23548. type: integer
  23549. createtime:
  23550. description: 发生时间
  23551. type: string
  23552. currencyid:
  23553. description: 币种ID
  23554. type: integer
  23555. currentbalance:
  23556. description: 期末余额(变动后金额)
  23557. type: number
  23558. dgoodscode:
  23559. description: 交割商品代码
  23560. type: string
  23561. dgoodsname:
  23562. description: 交割商品名称
  23563. type: string
  23564. goodscode:
  23565. description: 商品代码
  23566. type: string
  23567. goodsid:
  23568. description: 商品ID
  23569. type: integer
  23570. goodsname:
  23571. description: 商品名称
  23572. type: string
  23573. marketid:
  23574. description: 市场ID
  23575. type: integer
  23576. marketname:
  23577. description: 市场名称
  23578. type: string
  23579. moneyticket:
  23580. description: 资金流水号:银行端流水号
  23581. type: integer
  23582. operatetype:
  23583. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23584. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23585. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23586. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23587. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23588. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23589. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23590. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23591. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23592. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23593. type: integer
  23594. relationorderid:
  23595. description: 关联单号
  23596. type: string
  23597. remark:
  23598. description: 备注
  23599. type: string
  23600. trademode:
  23601. description: 交易模式
  23602. type: integer
  23603. required:
  23604. - accountid
  23605. - amount
  23606. - amountadjusttype
  23607. - autoid
  23608. - balance
  23609. - createtime
  23610. - currentbalance
  23611. - operatetype
  23612. type: object
  23613. taaccount.QueryHisAmountLogRsp:
  23614. properties:
  23615. accountid:
  23616. description: 资金账户ID
  23617. type: integer
  23618. agoodscode:
  23619. description: 竞拍商品代码
  23620. type: string
  23621. agoodsname:
  23622. description: 竞拍商品名称
  23623. type: string
  23624. amount:
  23625. description: 资金金额
  23626. type: number
  23627. amountadjusttype:
  23628. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23629. type: integer
  23630. autoid:
  23631. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23632. type: integer
  23633. balance:
  23634. description: 期初余额
  23635. type: number
  23636. businesscode:
  23637. description: 业务编号
  23638. type: integer
  23639. createtime:
  23640. description: 发生时间
  23641. type: string
  23642. currencyid:
  23643. description: 币种ID
  23644. type: integer
  23645. currentbalance:
  23646. description: 期末余额(变动后金额)
  23647. type: number
  23648. dgoodscode:
  23649. description: 交割商品代码
  23650. type: string
  23651. dgoodsname:
  23652. description: 交割商品名称
  23653. type: string
  23654. goodscode:
  23655. description: 商品代码
  23656. type: string
  23657. goodsid:
  23658. description: 商品ID
  23659. type: integer
  23660. goodsname:
  23661. description: 商品名称
  23662. type: string
  23663. histradedate:
  23664. description: 历史交易日
  23665. type: string
  23666. isvaliddata:
  23667. description: 是否有效 - 0:无效 1:有效
  23668. type: integer
  23669. marketid:
  23670. description: 市场ID
  23671. type: integer
  23672. marketname:
  23673. description: 市场名称
  23674. type: string
  23675. moneyticket:
  23676. description: 资金流水号:银行端流水号
  23677. type: integer
  23678. operatetype:
  23679. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23680. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23681. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23682. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23683. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23684. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23685. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23686. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23687. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23688. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23689. type: integer
  23690. relationorderid:
  23691. description: 关联单号
  23692. type: string
  23693. remark:
  23694. description: 备注
  23695. type: string
  23696. trademode:
  23697. description: 交易模式
  23698. type: integer
  23699. required:
  23700. - accountid
  23701. - amount
  23702. - amountadjusttype
  23703. - autoid
  23704. - balance
  23705. - createtime
  23706. - currentbalance
  23707. - histradedate
  23708. - operatetype
  23709. type: object
  23710. trade.QueryRecieptOrderRsp:
  23711. properties:
  23712. accountName:
  23713. description: 所属账号名称(已脱敏)
  23714. type: string
  23715. accountid:
  23716. description: 资金账号
  23717. type: integer
  23718. buyorsell:
  23719. description: 方向 - 0:买 1:卖
  23720. type: integer
  23721. enableqty:
  23722. description: 可摘数量
  23723. type: integer
  23724. goodscode:
  23725. description: 商品代码
  23726. type: string
  23727. goodsid:
  23728. description: 商品ID
  23729. type: integer
  23730. goodsname:
  23731. description: 商品名称
  23732. type: string
  23733. orderid:
  23734. description: 委托单号
  23735. type: string
  23736. orderprice:
  23737. description: 委托价格
  23738. type: number
  23739. ordertime:
  23740. description: 委托时间
  23741. type: string
  23742. tradedate:
  23743. description: 交易日(yyyyMMdd)
  23744. type: string
  23745. required:
  23746. - ordertime
  23747. type: object
  23748. user.LoginQueryRsp:
  23749. properties:
  23750. areaRoles:
  23751. description: 所属角色信息
  23752. items:
  23753. $ref: '#/definitions/models.Arearole'
  23754. type: array
  23755. exchangeRateConfigs:
  23756. description: 汇率信息
  23757. items:
  23758. $ref: '#/definitions/models.Exchangerateconfig'
  23759. type: array
  23760. externalExchanges:
  23761. description: 外部交易所
  23762. items:
  23763. $ref: '#/definitions/models.Externalexchange'
  23764. type: array
  23765. goodsgroups:
  23766. description: 商品组
  23767. items:
  23768. $ref: '#/definitions/models.Goodsgroup'
  23769. type: array
  23770. loginAccount:
  23771. $ref: '#/definitions/models.Loginaccount'
  23772. description: 登录账号
  23773. markets:
  23774. description: 市场
  23775. items:
  23776. $ref: '#/definitions/models.Market'
  23777. type: array
  23778. systemParams:
  23779. description: 系统参数
  23780. items:
  23781. $ref: '#/definitions/models.Systemparam'
  23782. type: array
  23783. userAccount:
  23784. $ref: '#/definitions/models.Useraccount'
  23785. description: 用户账号
  23786. userInfo:
  23787. $ref: '#/definitions/models.Userinfo'
  23788. description: 用户信息
  23789. username:
  23790. description: 用户姓名
  23791. type: string
  23792. type: object
  23793. info:
  23794. contact: {}
  23795. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  23796. termsOfService: http://www.muchinfo.cn
  23797. title: MTP2.0 查询服务 API
  23798. version: "1.0"
  23799. paths:
  23800. /CPTrade/QueryCPTradeMyBidInfos:
  23801. get:
  23802. parameters:
  23803. - description: 资金账户
  23804. in: query
  23805. name: accountid
  23806. required: true
  23807. type: integer
  23808. - description: 预售市场ID
  23809. in: query
  23810. name: marketid
  23811. type: integer
  23812. - description: 预售商品ID
  23813. in: query
  23814. name: goodsid
  23815. type: integer
  23816. produces:
  23817. - application/json
  23818. responses:
  23819. "200":
  23820. description: OK
  23821. schema:
  23822. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  23823. "500":
  23824. description: Internal Server Error
  23825. schema:
  23826. $ref: '#/definitions/app.Response'
  23827. security:
  23828. - ApiKeyAuth: []
  23829. summary: 查询产能预售我的出价信息
  23830. tags:
  23831. - 产能预售
  23832. /CPTrade/QueryCPTradeOrderDetail:
  23833. get:
  23834. parameters:
  23835. - description: 预售商品ID
  23836. in: query
  23837. name: goodsid
  23838. type: integer
  23839. - description: 预售市场ID
  23840. in: query
  23841. name: marketid
  23842. type: integer
  23843. - description: 预售商品ID列表 - 格式:1,2,3
  23844. in: query
  23845. name: goodsids
  23846. type: string
  23847. produces:
  23848. - application/json
  23849. responses:
  23850. "200":
  23851. description: OK
  23852. schema:
  23853. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  23854. "500":
  23855. description: Internal Server Error
  23856. schema:
  23857. $ref: '#/definitions/app.Response'
  23858. security:
  23859. - ApiKeyAuth: []
  23860. summary: 查询产能预售委托单信息
  23861. tags:
  23862. - 产能预售
  23863. /CPTrade/QueryMyCPTradeGoods:
  23864. get:
  23865. parameters:
  23866. - description: 资金账户
  23867. in: query
  23868. name: accountid
  23869. required: true
  23870. type: integer
  23871. produces:
  23872. - application/json
  23873. responses:
  23874. "200":
  23875. description: OK
  23876. schema:
  23877. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  23878. "500":
  23879. description: Internal Server Error
  23880. schema:
  23881. $ref: '#/definitions/app.Response'
  23882. security:
  23883. - ApiKeyAuth: []
  23884. summary: 查询我的预售信息
  23885. tags:
  23886. - 产能预售
  23887. /CPTrade/QueryPositionCancel:
  23888. get:
  23889. parameters:
  23890. - description: 账户ID
  23891. in: query
  23892. name: userid
  23893. required: true
  23894. type: integer
  23895. - description: 注销ID
  23896. in: query
  23897. name: cancelid
  23898. type: integer
  23899. - description: 资金账户ID
  23900. in: query
  23901. name: accountid
  23902. type: integer
  23903. produces:
  23904. - application/json
  23905. responses:
  23906. "200":
  23907. description: OK
  23908. schema:
  23909. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  23910. "500":
  23911. description: Internal Server Error
  23912. schema:
  23913. $ref: '#/definitions/app.Response'
  23914. security:
  23915. - ApiKeyAuth: []
  23916. summary: 查询远期订单注销申请信息
  23917. tags:
  23918. - 产能预售
  23919. /CPTrade/QueryPreasleApply:
  23920. get:
  23921. parameters:
  23922. - description: 账户ID
  23923. in: query
  23924. name: userid
  23925. required: true
  23926. type: integer
  23927. - description: 申请ID
  23928. in: query
  23929. name: applyid
  23930. type: integer
  23931. - description: 资金账户ID
  23932. in: query
  23933. name: accountid
  23934. type: integer
  23935. produces:
  23936. - application/json
  23937. responses:
  23938. "200":
  23939. description: OK
  23940. schema:
  23941. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  23942. "500":
  23943. description: Internal Server Error
  23944. schema:
  23945. $ref: '#/definitions/app.Response'
  23946. security:
  23947. - ApiKeyAuth: []
  23948. summary: 查询产能预售申请信息
  23949. tags:
  23950. - 产能预售
  23951. /CPTrade/QueryPresaleGoodsEx:
  23952. get:
  23953. parameters:
  23954. - description: 预售商品ID
  23955. in: query
  23956. name: goodsid
  23957. type: integer
  23958. - description: 预售市场ID
  23959. in: query
  23960. name: marketid
  23961. type: integer
  23962. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  23963. in: query
  23964. name: presalemode
  23965. type: integer
  23966. - description: 预售商品ID列表 - 格式:1,2,3
  23967. in: query
  23968. name: goodsids
  23969. type: string
  23970. - description: 预售商品代码
  23971. in: query
  23972. name: goodscode
  23973. type: string
  23974. produces:
  23975. - application/json
  23976. responses:
  23977. "200":
  23978. description: OK
  23979. schema:
  23980. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  23981. "500":
  23982. description: Internal Server Error
  23983. schema:
  23984. $ref: '#/definitions/app.Response'
  23985. security:
  23986. - ApiKeyAuth: []
  23987. summary: 查询产能预售商品扩展信息
  23988. tags:
  23989. - 产能预售
  23990. /CPTrade/QueryUserGoodsData:
  23991. get:
  23992. parameters:
  23993. - description: 资金账户ID
  23994. in: query
  23995. name: accountid
  23996. required: true
  23997. type: integer
  23998. produces:
  23999. - application/json
  24000. responses:
  24001. "200":
  24002. description: OK
  24003. schema:
  24004. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  24005. "500":
  24006. description: Internal Server Error
  24007. schema:
  24008. $ref: '#/definitions/app.Response'
  24009. security:
  24010. - ApiKeyAuth: []
  24011. summary: 查询远期订单信息
  24012. tags:
  24013. - 产能预售
  24014. /Common/DeleteNewFuncmenu:
  24015. delete:
  24016. consumes:
  24017. - application/json
  24018. parameters:
  24019. - description: 菜单表数据,只需要resourcecode字段即可
  24020. in: body
  24021. name: data
  24022. required: true
  24023. schema:
  24024. $ref: '#/definitions/models.NewFuncmenulist'
  24025. produces:
  24026. - application/json
  24027. responses:
  24028. "200":
  24029. description: OK
  24030. schema:
  24031. $ref: '#/definitions/app.Response'
  24032. "500":
  24033. description: Internal Server Error
  24034. schema:
  24035. $ref: '#/definitions/app.Response'
  24036. security:
  24037. - ApiKeyAuth: []
  24038. summary: 删除菜单表数据
  24039. tags:
  24040. - 通用服务
  24041. /Common/FindNewFuncmenu:
  24042. get:
  24043. parameters:
  24044. - description: 资源代码
  24045. in: query
  24046. name: resourcecode
  24047. type: string
  24048. - description: 上级资源代码
  24049. in: query
  24050. name: parentcode
  24051. type: string
  24052. - description: 资源名(Title), 模糊查询
  24053. in: query
  24054. name: resourcename
  24055. type: string
  24056. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  24057. in: query
  24058. name: menutype
  24059. type: string
  24060. produces:
  24061. - application/json
  24062. responses:
  24063. "200":
  24064. description: OK
  24065. schema:
  24066. items:
  24067. $ref: '#/definitions/models.NewFuncmenulist'
  24068. type: array
  24069. "500":
  24070. description: Internal Server Error
  24071. schema:
  24072. $ref: '#/definitions/app.Response'
  24073. security:
  24074. - ApiKeyAuth: []
  24075. summary: 获取菜单表数据
  24076. tags:
  24077. - 通用服务
  24078. /Common/GetAllEnums:
  24079. get:
  24080. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  24081. parameters:
  24082. - description: 起始自增ID
  24083. in: query
  24084. name: autoid
  24085. type: integer
  24086. produces:
  24087. - application/json
  24088. responses:
  24089. "200":
  24090. description: OK
  24091. schema:
  24092. $ref: '#/definitions/models.Enumdicitem'
  24093. "500":
  24094. description: Internal Server Error
  24095. schema:
  24096. $ref: '#/definitions/app.Response'
  24097. summary: 获取所有枚举信息
  24098. tags:
  24099. - 通用服务
  24100. /Common/GetClientMenus:
  24101. get:
  24102. parameters:
  24103. - description: 登录账号
  24104. in: query
  24105. name: loginID
  24106. required: true
  24107. type: integer
  24108. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  24109. in: query
  24110. name: clientType
  24111. type: integer
  24112. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  24113. in: query
  24114. name: name
  24115. type: string
  24116. produces:
  24117. - application/json
  24118. responses:
  24119. "200":
  24120. description: OK
  24121. schema:
  24122. items:
  24123. $ref: '#/definitions/common.ClientMenu'
  24124. type: array
  24125. "500":
  24126. description: Internal Server Error
  24127. schema:
  24128. $ref: '#/definitions/app.Response'
  24129. security:
  24130. - ApiKeyAuth: []
  24131. summary: 获取交易端菜单
  24132. tags:
  24133. - 通用服务
  24134. /Common/GetClientNewFuncmenu:
  24135. get:
  24136. parameters:
  24137. - description: 登录账号
  24138. in: query
  24139. name: loginid
  24140. required: true
  24141. type: integer
  24142. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  24143. in: query
  24144. name: menutype
  24145. required: true
  24146. type: integer
  24147. produces:
  24148. - application/json
  24149. responses:
  24150. "200":
  24151. description: OK
  24152. schema:
  24153. items:
  24154. $ref: '#/definitions/models.NewFuncmenulist'
  24155. type: array
  24156. "500":
  24157. description: Internal Server Error
  24158. schema:
  24159. $ref: '#/definitions/app.Response'
  24160. security:
  24161. - ApiKeyAuth: []
  24162. summary: 获取终端菜单
  24163. tags:
  24164. - 通用服务
  24165. /Common/GetDivisions:
  24166. get:
  24167. produces:
  24168. - application/json
  24169. responses:
  24170. "200":
  24171. description: OK
  24172. schema:
  24173. $ref: '#/definitions/models.Division'
  24174. "500":
  24175. description: Internal Server Error
  24176. schema:
  24177. $ref: '#/definitions/app.Response'
  24178. summary: 查询区域信息
  24179. tags:
  24180. - 通用服务
  24181. /Common/GetPCWebMenus:
  24182. get:
  24183. parameters:
  24184. - description: 登录账号
  24185. in: query
  24186. name: loginID
  24187. required: true
  24188. type: integer
  24189. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  24190. in: query
  24191. name: name
  24192. type: string
  24193. produces:
  24194. - application/json
  24195. responses:
  24196. "200":
  24197. description: OK
  24198. schema:
  24199. items:
  24200. $ref: '#/definitions/common.PCWebMenu'
  24201. type: array
  24202. "500":
  24203. description: Internal Server Error
  24204. schema:
  24205. $ref: '#/definitions/app.Response'
  24206. security:
  24207. - ApiKeyAuth: []
  24208. summary: 获取PCWeb交易端菜单
  24209. tags:
  24210. - 通用服务
  24211. /Common/GetServerTime:
  24212. get:
  24213. produces:
  24214. - application/json
  24215. responses:
  24216. "200":
  24217. description: OK
  24218. schema:
  24219. $ref: '#/definitions/app.Response'
  24220. "500":
  24221. description: Internal Server Error
  24222. schema:
  24223. $ref: '#/definitions/app.Response'
  24224. summary: 获取服务器时间
  24225. tags:
  24226. - 通用服务
  24227. /Common/InsertNewFuncmenu:
  24228. post:
  24229. consumes:
  24230. - application/json
  24231. parameters:
  24232. - description: 菜单表数据
  24233. in: body
  24234. name: data
  24235. required: true
  24236. schema:
  24237. $ref: '#/definitions/models.NewFuncmenulist'
  24238. produces:
  24239. - application/json
  24240. responses:
  24241. "200":
  24242. description: OK
  24243. schema:
  24244. $ref: '#/definitions/app.Response'
  24245. "500":
  24246. description: Internal Server Error
  24247. schema:
  24248. $ref: '#/definitions/app.Response'
  24249. security:
  24250. - ApiKeyAuth: []
  24251. summary: 插入菜单表数据
  24252. tags:
  24253. - 通用服务
  24254. /Common/NoticeReaded:
  24255. post:
  24256. parameters:
  24257. - description: 登录账号
  24258. in: query
  24259. name: loginID
  24260. required: true
  24261. type: integer
  24262. - description: 通知公告ID
  24263. in: query
  24264. name: noticeID
  24265. required: true
  24266. type: integer
  24267. produces:
  24268. - application/json
  24269. responses:
  24270. "200":
  24271. description: OK
  24272. schema:
  24273. $ref: '#/definitions/app.Response'
  24274. "500":
  24275. description: Internal Server Error
  24276. schema:
  24277. $ref: '#/definitions/app.Response'
  24278. security:
  24279. - ApiKeyAuth: []
  24280. summary: 通知公告设置已读请求
  24281. tags:
  24282. - 通用服务
  24283. /Common/QueryErrorInfos:
  24284. get:
  24285. description: 如果传入rowNumber,则返回此rowNumber后的数据
  24286. parameters:
  24287. - description: 起始行号前索引
  24288. in: query
  24289. name: rowNumber
  24290. type: string
  24291. produces:
  24292. - application/json
  24293. responses:
  24294. "200":
  24295. description: OK
  24296. schema:
  24297. $ref: '#/definitions/models.QueryErrorInfosRsp'
  24298. "500":
  24299. description: Internal Server Error
  24300. schema:
  24301. $ref: '#/definitions/app.Response'
  24302. summary: 获取数据库错误信息
  24303. tags:
  24304. - 通用服务
  24305. /Common/QueryImageConfigs:
  24306. get:
  24307. parameters:
  24308. - description: 用户id
  24309. in: query
  24310. name: userId
  24311. type: integer
  24312. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  24313. in: query
  24314. name: imageType
  24315. type: integer
  24316. produces:
  24317. - application/json
  24318. responses:
  24319. "200":
  24320. description: OK
  24321. schema:
  24322. $ref: '#/definitions/common.QueryImageConfigsRsp'
  24323. "500":
  24324. description: Internal Server Error
  24325. schema:
  24326. $ref: '#/definitions/app.Response'
  24327. summary: 查询轮播图配置信息
  24328. tags:
  24329. - 通用服务
  24330. /Common/QueryNotice:
  24331. get:
  24332. parameters:
  24333. - description: 页码
  24334. in: query
  24335. name: page
  24336. type: integer
  24337. - description: 每页条数
  24338. in: query
  24339. name: pagesize
  24340. type: integer
  24341. - description: 登录账号
  24342. in: query
  24343. name: loginID
  24344. required: true
  24345. type: integer
  24346. - description: 消息类型 - 1:公告通知 2:系统消息
  24347. in: query
  24348. name: msgType
  24349. type: integer
  24350. - description: 是否只获取未读信息
  24351. in: query
  24352. name: onlyUnRead
  24353. type: boolean
  24354. - description: 自增ID,传入后会返回这个ID后面的记录
  24355. in: query
  24356. name: lastID
  24357. type: integer
  24358. produces:
  24359. - application/json
  24360. responses:
  24361. "200":
  24362. description: OK
  24363. schema:
  24364. $ref: '#/definitions/common.QueryNoticeRsp'
  24365. "500":
  24366. description: Internal Server Error
  24367. schema:
  24368. $ref: '#/definitions/app.Response'
  24369. security:
  24370. - ApiKeyAuth: []
  24371. summary: 通知公告系统消息查询
  24372. tags:
  24373. - 通用服务
  24374. /Common/QueryProvincesAndCities:
  24375. get:
  24376. parameters:
  24377. - description: 省ID
  24378. in: query
  24379. name: provinceID
  24380. type: integer
  24381. produces:
  24382. - application/json
  24383. responses:
  24384. "200":
  24385. description: OK
  24386. schema:
  24387. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  24388. "500":
  24389. description: Internal Server Error
  24390. schema:
  24391. $ref: '#/definitions/app.Response'
  24392. summary: 查询省市信息(不包括区)
  24393. tags:
  24394. - 通用服务
  24395. /Common/QueryRates:
  24396. get:
  24397. parameters:
  24398. - description: 页码
  24399. in: query
  24400. name: page
  24401. type: integer
  24402. - description: 每页条数
  24403. in: query
  24404. name: pagesize
  24405. type: integer
  24406. - description: 源币种ID
  24407. in: query
  24408. name: oricurrencyid
  24409. type: integer
  24410. - description: 目标币种ID
  24411. in: query
  24412. name: descurrencyid
  24413. type: integer
  24414. produces:
  24415. - application/json
  24416. responses:
  24417. "200":
  24418. description: OK
  24419. schema:
  24420. items:
  24421. $ref: '#/definitions/models.Exchangerateconfig'
  24422. type: array
  24423. "500":
  24424. description: Internal Server Error
  24425. schema:
  24426. $ref: '#/definitions/app.Response'
  24427. security:
  24428. - ApiKeyAuth: []
  24429. - LoginID: []
  24430. - Group: []
  24431. summary: 查询汇率信息
  24432. tags:
  24433. - 通用服务
  24434. /Common/QueryTableDefine:
  24435. get:
  24436. parameters:
  24437. - description: 表key
  24438. in: query
  24439. name: tableKey
  24440. type: string
  24441. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  24442. in: query
  24443. name: tableType
  24444. type: integer
  24445. produces:
  24446. - application/json
  24447. responses:
  24448. "200":
  24449. description: OK
  24450. schema:
  24451. $ref: '#/definitions/common.QueryTableDefineRsp'
  24452. "500":
  24453. description: Internal Server Error
  24454. schema:
  24455. $ref: '#/definitions/app.Response'
  24456. summary: 查询交易端列表头信息
  24457. tags:
  24458. - 通用服务
  24459. /Common/QueryTraderMenu:
  24460. get:
  24461. parameters:
  24462. - description: 登录账号
  24463. in: query
  24464. name: loginid
  24465. required: true
  24466. type: integer
  24467. produces:
  24468. - application/json
  24469. responses:
  24470. "200":
  24471. description: OK
  24472. schema:
  24473. $ref: '#/definitions/common.QueryTraderMenuRsp'
  24474. "500":
  24475. description: Internal Server Error
  24476. schema:
  24477. $ref: '#/definitions/app.Response'
  24478. summary: 查询交易端菜单
  24479. tags:
  24480. - 通用服务
  24481. /Common/UpdateNewFuncmenu:
  24482. put:
  24483. consumes:
  24484. - application/json
  24485. parameters:
  24486. - description: 菜单表数据
  24487. in: body
  24488. name: data
  24489. required: true
  24490. schema:
  24491. $ref: '#/definitions/models.NewFuncmenulist'
  24492. produces:
  24493. - application/json
  24494. responses:
  24495. "200":
  24496. description: OK
  24497. schema:
  24498. $ref: '#/definitions/app.Response'
  24499. "500":
  24500. description: Internal Server Error
  24501. schema:
  24502. $ref: '#/definitions/app.Response'
  24503. security:
  24504. - ApiKeyAuth: []
  24505. summary: 更新菜单表数据
  24506. tags:
  24507. - 通用服务
  24508. /Delivery/QueryDeliveryRelation:
  24509. get:
  24510. parameters:
  24511. - description: 商品ID
  24512. in: query
  24513. name: goodsid
  24514. type: integer
  24515. - description: 品种ID
  24516. in: query
  24517. name: deliverygoodsid
  24518. type: integer
  24519. - description: 市场ID
  24520. in: query
  24521. name: marketid
  24522. type: integer
  24523. produces:
  24524. - application/json
  24525. responses:
  24526. "200":
  24527. description: OK
  24528. schema:
  24529. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  24530. "500":
  24531. description: Internal Server Error
  24532. schema:
  24533. $ref: '#/definitions/app.Response'
  24534. security:
  24535. - ApiKeyAuth: []
  24536. summary: 查询商品交割关系表
  24537. tags:
  24538. - 交割服务
  24539. /Ermcp/GetErmcpGoods:
  24540. get:
  24541. parameters:
  24542. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  24543. in: query
  24544. name: userid
  24545. type: integer
  24546. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24547. in: query
  24548. name: lastUpdateTime
  24549. type: string
  24550. produces:
  24551. - application/json
  24552. responses:
  24553. "200":
  24554. description: OK
  24555. schema:
  24556. $ref: '#/definitions/models.ErmcpGoods'
  24557. "500":
  24558. description: Internal Server Error
  24559. schema:
  24560. $ref: '#/definitions/app.Response'
  24561. security:
  24562. - ApiKeyAuth: []
  24563. summary: 查询企业风管期货商品信息
  24564. tags:
  24565. - 企业风险管理(app)
  24566. /Ermcp/GetErmcpGoodsSortByPosition:
  24567. get:
  24568. parameters:
  24569. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  24570. in: query
  24571. name: sortIndex
  24572. type: string
  24573. produces:
  24574. - application/json
  24575. responses:
  24576. "200":
  24577. description: OK
  24578. schema:
  24579. $ref: '#/definitions/models.Goodssortbypreposition'
  24580. "500":
  24581. description: Internal Server Error
  24582. schema:
  24583. $ref: '#/definitions/app.Response'
  24584. security:
  24585. - ApiKeyAuth: []
  24586. summary: 查询企业风管期货主力、次主力商品信息
  24587. tags:
  24588. - 企业风险管理(app)
  24589. /Ermcp/GetErmcpOutAccountStatus:
  24590. get:
  24591. parameters:
  24592. - description: 登录账号
  24593. in: query
  24594. name: loginID
  24595. required: true
  24596. type: integer
  24597. produces:
  24598. - application/json
  24599. responses:
  24600. "200":
  24601. description: OK
  24602. schema:
  24603. $ref: '#/definitions/models.Hedgemarketopenlog'
  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/GetErmcpRoleFuncMenuLists:
  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.Funcmenulist'
  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/QueryAccMgrBizGroupSet:
  24638. get:
  24639. parameters:
  24640. - description: 用户ID
  24641. in: query
  24642. name: userid
  24643. required: true
  24644. type: integer
  24645. - description: 现货商品id
  24646. in: query
  24647. name: deliverygoodsid
  24648. type: integer
  24649. produces:
  24650. - application/json
  24651. responses:
  24652. "200":
  24653. description: OK
  24654. schema:
  24655. items:
  24656. $ref: '#/definitions/models.ErmcpBizGroupEx'
  24657. type: array
  24658. "500":
  24659. description: Internal Server Error
  24660. schema:
  24661. $ref: '#/definitions/app.Response'
  24662. security:
  24663. - ApiKeyAuth: []
  24664. summary: 查询业务类型分组(账户管理/账户设置)
  24665. tags:
  24666. - 企业风险管理(app)
  24667. /Ermcp/QueryAccMgrLoginUser:
  24668. get:
  24669. parameters:
  24670. - description: 用户ID
  24671. in: query
  24672. name: userid
  24673. required: true
  24674. type: integer
  24675. - description: 用户类型 2-机构 7-企业成员
  24676. in: query
  24677. name: usertype
  24678. type: integer
  24679. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  24680. in: query
  24681. name: querytype
  24682. required: true
  24683. type: integer
  24684. produces:
  24685. - application/json
  24686. responses:
  24687. "200":
  24688. description: OK
  24689. schema:
  24690. items:
  24691. $ref: '#/definitions/models.ErmcpLoginUserEx'
  24692. type: array
  24693. "500":
  24694. description: Internal Server Error
  24695. schema:
  24696. $ref: '#/definitions/app.Response'
  24697. security:
  24698. - ApiKeyAuth: []
  24699. summary: 查询账户管理登录账号(账户管理/登录账号)
  24700. tags:
  24701. - 企业风险管理(app)
  24702. /Ermcp/QueryAccMgrMainAccountInfo:
  24703. get:
  24704. parameters:
  24705. - description: 用户ID
  24706. in: query
  24707. name: userid
  24708. type: integer
  24709. - description: 主账号id
  24710. in: query
  24711. name: accountid
  24712. type: integer
  24713. produces:
  24714. - application/json
  24715. responses:
  24716. "200":
  24717. description: OK
  24718. schema:
  24719. items:
  24720. $ref: '#/definitions/models.MainAccountInfo'
  24721. type: array
  24722. "500":
  24723. description: Internal Server Error
  24724. schema:
  24725. $ref: '#/definitions/app.Response'
  24726. security:
  24727. - ApiKeyAuth: []
  24728. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  24729. tags:
  24730. - 企业风险管理(app)
  24731. /Ermcp/QueryAccMgrRole:
  24732. get:
  24733. parameters:
  24734. - description: 用户ID
  24735. in: query
  24736. name: userid
  24737. required: true
  24738. type: integer
  24739. produces:
  24740. - application/json
  24741. responses:
  24742. "200":
  24743. description: OK
  24744. schema:
  24745. items:
  24746. $ref: '#/definitions/models.ErmcpRole'
  24747. type: array
  24748. "500":
  24749. description: Internal Server Error
  24750. schema:
  24751. $ref: '#/definitions/app.Response'
  24752. security:
  24753. - ApiKeyAuth: []
  24754. summary: 查询账户管理角色设置(账户管理/角色设置)
  24755. tags:
  24756. - 企业风险管理(app)
  24757. /Ermcp/QueryAccMgrRoleMenu:
  24758. get:
  24759. parameters:
  24760. - description: 用户ID
  24761. in: query
  24762. name: userid
  24763. required: true
  24764. type: integer
  24765. - description: 角色id(可多个,逗号隔开)
  24766. in: query
  24767. name: roleid
  24768. type: string
  24769. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  24770. in: query
  24771. name: menutype
  24772. type: integer
  24773. produces:
  24774. - application/json
  24775. responses:
  24776. "200":
  24777. description: OK
  24778. schema:
  24779. items:
  24780. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  24781. type: array
  24782. "500":
  24783. description: Internal Server Error
  24784. schema:
  24785. $ref: '#/definitions/app.Response'
  24786. security:
  24787. - ApiKeyAuth: []
  24788. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  24789. tags:
  24790. - 企业风险管理(app)
  24791. /Ermcp/QueryAccMgrTaAccountInfo:
  24792. get:
  24793. parameters:
  24794. - description: 用户ID
  24795. in: query
  24796. name: userid
  24797. required: true
  24798. type: integer
  24799. - description: 账号id
  24800. in: query
  24801. name: accountid
  24802. type: integer
  24803. produces:
  24804. - application/json
  24805. responses:
  24806. "200":
  24807. description: OK
  24808. schema:
  24809. items:
  24810. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  24811. type: array
  24812. "500":
  24813. description: Internal Server Error
  24814. schema:
  24815. $ref: '#/definitions/app.Response'
  24816. security:
  24817. - ApiKeyAuth: []
  24818. summary: 查询账户管理授信(账户管理/账户设置/授信)
  24819. tags:
  24820. - 企业风险管理(app)
  24821. /Ermcp/QueryAccMgrTaaccount:
  24822. get:
  24823. parameters:
  24824. - description: 用户ID
  24825. in: query
  24826. name: userid
  24827. required: true
  24828. type: integer
  24829. produces:
  24830. - application/json
  24831. responses:
  24832. "200":
  24833. description: OK
  24834. schema:
  24835. items:
  24836. $ref: '#/definitions/models.ErmcpTaAccountEx'
  24837. type: array
  24838. "500":
  24839. description: Internal Server Error
  24840. schema:
  24841. $ref: '#/definitions/app.Response'
  24842. security:
  24843. - ApiKeyAuth: []
  24844. summary: 查询账户管理期货账号(账户管理/期货账号)
  24845. tags:
  24846. - 企业风险管理(app)
  24847. /Ermcp/QueryAvaildGoodsGroup:
  24848. get:
  24849. parameters:
  24850. - description: 所属机构ID
  24851. in: query
  24852. name: userid
  24853. required: true
  24854. type: integer
  24855. produces:
  24856. - application/json
  24857. responses:
  24858. "200":
  24859. description: OK
  24860. schema:
  24861. items:
  24862. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  24863. type: array
  24864. "500":
  24865. description: Internal Server Error
  24866. schema:
  24867. $ref: '#/definitions/app.Response'
  24868. security:
  24869. - ApiKeyAuth: []
  24870. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  24871. tags:
  24872. - 企业风险管理(app)
  24873. /Ermcp/QueryBusinessDj:
  24874. get:
  24875. parameters:
  24876. - description: 用户ID
  24877. in: query
  24878. name: UserId
  24879. required: true
  24880. type: integer
  24881. - description: 用户类型 2-机构 7-企业成员
  24882. in: query
  24883. name: usertype
  24884. type: integer
  24885. - description: 现货合同ID, 不填则查所有
  24886. in: query
  24887. name: relatedid
  24888. type: string
  24889. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24890. in: query
  24891. name: applystatus
  24892. type: string
  24893. produces:
  24894. - application/json
  24895. responses:
  24896. "200":
  24897. description: OK
  24898. schema:
  24899. items:
  24900. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  24901. type: array
  24902. "500":
  24903. description: Internal Server Error
  24904. schema:
  24905. $ref: '#/definitions/app.Response'
  24906. security:
  24907. - ApiKeyAuth: []
  24908. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  24909. tags:
  24910. - 企业风险管理(app)
  24911. /Ermcp/QueryBusinessFp:
  24912. get:
  24913. parameters:
  24914. - description: 用户ID
  24915. in: query
  24916. name: UserId
  24917. required: true
  24918. type: integer
  24919. - description: 用户类型 2-机构 7-企业成员
  24920. in: query
  24921. name: usertype
  24922. type: integer
  24923. - description: 现货合同ID, 不填则查所有
  24924. in: query
  24925. name: relatedid
  24926. type: string
  24927. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24928. in: query
  24929. name: applystatus
  24930. type: string
  24931. produces:
  24932. - application/json
  24933. responses:
  24934. "200":
  24935. description: OK
  24936. schema:
  24937. items:
  24938. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  24939. type: array
  24940. "500":
  24941. description: Internal Server Error
  24942. schema:
  24943. $ref: '#/definitions/app.Response'
  24944. security:
  24945. - ApiKeyAuth: []
  24946. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  24947. tags:
  24948. - 企业风险管理(app)
  24949. /Ermcp/QueryBusinessJs:
  24950. get:
  24951. parameters:
  24952. - description: 用户ID
  24953. in: query
  24954. name: UserId
  24955. required: true
  24956. type: integer
  24957. - description: 用户类型 2-机构 7-企业成员
  24958. in: query
  24959. name: usertype
  24960. type: integer
  24961. - description: 现货合同ID, 不填则查所有
  24962. in: query
  24963. name: relatedid
  24964. type: string
  24965. - description: 操作申请id
  24966. in: query
  24967. name: operateapplyid
  24968. type: string
  24969. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24970. in: query
  24971. name: applystatus
  24972. type: string
  24973. produces:
  24974. - application/json
  24975. responses:
  24976. "200":
  24977. description: OK
  24978. schema:
  24979. items:
  24980. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  24981. type: array
  24982. "500":
  24983. description: Internal Server Error
  24984. schema:
  24985. $ref: '#/definitions/app.Response'
  24986. security:
  24987. - ApiKeyAuth: []
  24988. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  24989. tags:
  24990. - 企业风险管理(app)
  24991. /Ermcp/QueryBusinessJsEx:
  24992. get:
  24993. parameters:
  24994. - description: 用户ID
  24995. in: query
  24996. name: UserId
  24997. required: true
  24998. type: integer
  24999. - description: 用户类型 2-机构 7-企业成员
  25000. in: query
  25001. name: usertype
  25002. type: integer
  25003. - description: 现货合同ID, 不填则查所有
  25004. in: query
  25005. name: relatedid
  25006. type: string
  25007. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25008. in: query
  25009. name: applystatus
  25010. type: string
  25011. produces:
  25012. - application/json
  25013. responses:
  25014. "200":
  25015. description: OK
  25016. schema:
  25017. items:
  25018. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  25019. type: array
  25020. "500":
  25021. description: Internal Server Error
  25022. schema:
  25023. $ref: '#/definitions/app.Response'
  25024. security:
  25025. - ApiKeyAuth: []
  25026. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  25027. tags:
  25028. - 企业风险管理(app)
  25029. /Ermcp/QueryBusinessKx:
  25030. get:
  25031. parameters:
  25032. - description: 用户ID
  25033. in: query
  25034. name: UserId
  25035. required: true
  25036. type: integer
  25037. - description: 用户类型 2-机构 7-企业成员
  25038. in: query
  25039. name: usertype
  25040. type: integer
  25041. - description: 现货合同ID, 不填则查所有
  25042. in: query
  25043. name: relatedid
  25044. type: string
  25045. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25046. in: query
  25047. name: applystatus
  25048. type: string
  25049. produces:
  25050. - application/json
  25051. responses:
  25052. "200":
  25053. description: OK
  25054. schema:
  25055. items:
  25056. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  25057. type: array
  25058. "500":
  25059. description: Internal Server Error
  25060. schema:
  25061. $ref: '#/definitions/app.Response'
  25062. security:
  25063. - ApiKeyAuth: []
  25064. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  25065. tags:
  25066. - 企业风险管理(app)
  25067. /Ermcp/QueryChangeLog:
  25068. get:
  25069. parameters:
  25070. - description: 合同ID
  25071. in: query
  25072. name: RelatedId
  25073. required: true
  25074. type: string
  25075. produces:
  25076. - application/json
  25077. responses:
  25078. "200":
  25079. description: OK
  25080. schema:
  25081. items:
  25082. $ref: '#/definitions/ermcp.QryOPLogRsp'
  25083. type: array
  25084. "500":
  25085. description: Internal Server Error
  25086. schema:
  25087. $ref: '#/definitions/app.Response'
  25088. security:
  25089. - ApiKeyAuth: []
  25090. summary: 查询变更记录
  25091. tags:
  25092. - 企业风险管理(app)
  25093. /Ermcp/QueryErmcpHisOrderDetails:
  25094. get:
  25095. parameters:
  25096. - description: 资金账户ID
  25097. in: query
  25098. name: accountID
  25099. required: true
  25100. type: integer
  25101. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25102. in: query
  25103. name: startDate
  25104. type: string
  25105. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25106. in: query
  25107. name: endDate
  25108. type: string
  25109. produces:
  25110. - application/json
  25111. responses:
  25112. "200":
  25113. description: OK
  25114. schema:
  25115. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  25116. "500":
  25117. description: Internal Server Error
  25118. schema:
  25119. $ref: '#/definitions/app.Response'
  25120. security:
  25121. - ApiKeyAuth: []
  25122. summary: 获取企业风管期货历史委托单信息
  25123. tags:
  25124. - 企业风险管理(app)
  25125. /Ermcp/QueryErmcpHisTradeDetails:
  25126. get:
  25127. parameters:
  25128. - description: 资金账户ID
  25129. in: query
  25130. name: accountID
  25131. required: true
  25132. type: integer
  25133. - description: 商品ID
  25134. in: query
  25135. name: goodsID
  25136. type: integer
  25137. - description: 买卖方向,0:买 1:卖
  25138. in: query
  25139. name: buyOrSell
  25140. type: integer
  25141. - description: 关联委托单号
  25142. in: query
  25143. name: orderID
  25144. type: integer
  25145. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25146. in: query
  25147. name: startDate
  25148. type: string
  25149. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25150. in: query
  25151. name: endDate
  25152. type: string
  25153. produces:
  25154. - application/json
  25155. responses:
  25156. "200":
  25157. description: OK
  25158. schema:
  25159. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25160. "500":
  25161. description: Internal Server Error
  25162. schema:
  25163. $ref: '#/definitions/app.Response'
  25164. security:
  25165. - ApiKeyAuth: []
  25166. summary: 获取企业风管期货历史成交单信息
  25167. tags:
  25168. - 企业风险管理(app)
  25169. /Ermcp/QueryErmcpInnerHolderDetails:
  25170. get:
  25171. parameters:
  25172. - description: 资金账户ID
  25173. in: query
  25174. name: accountID
  25175. required: true
  25176. type: integer
  25177. - description: 商品ID
  25178. in: query
  25179. name: goodsID
  25180. type: integer
  25181. - description: 买卖方向,0:买 1:卖
  25182. in: query
  25183. name: buyOrSell
  25184. type: integer
  25185. produces:
  25186. - application/json
  25187. responses:
  25188. "200":
  25189. description: OK
  25190. schema:
  25191. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  25192. "500":
  25193. description: Internal Server Error
  25194. schema:
  25195. $ref: '#/definitions/app.Response'
  25196. security:
  25197. - ApiKeyAuth: []
  25198. summary: 获取企业风管期货内部持仓单信息
  25199. tags:
  25200. - 企业风险管理(app)
  25201. /Ermcp/QueryErmcpOrderDetails:
  25202. get:
  25203. parameters:
  25204. - description: 资金账户ID
  25205. in: query
  25206. name: accountID
  25207. required: true
  25208. type: integer
  25209. produces:
  25210. - application/json
  25211. responses:
  25212. "200":
  25213. description: OK
  25214. schema:
  25215. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  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/QueryErmcpTradeDetails:
  25226. get:
  25227. parameters:
  25228. - description: 资金账户ID
  25229. in: query
  25230. name: accountID
  25231. required: true
  25232. type: integer
  25233. - description: 商品ID
  25234. in: query
  25235. name: goodsID
  25236. type: integer
  25237. - description: 买卖方向,0:买 1:卖
  25238. in: query
  25239. name: buyOrSell
  25240. type: integer
  25241. - description: 关联委托单号
  25242. in: query
  25243. name: orderID
  25244. type: integer
  25245. produces:
  25246. - application/json
  25247. responses:
  25248. "200":
  25249. description: OK
  25250. schema:
  25251. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25252. "500":
  25253. description: Internal Server Error
  25254. schema:
  25255. $ref: '#/definitions/app.Response'
  25256. security:
  25257. - ApiKeyAuth: []
  25258. summary: 获取企业风管期货成交单信息
  25259. tags:
  25260. - 企业风险管理(app)
  25261. /Ermcp/QueryErmcpTradePosition:
  25262. get:
  25263. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  25264. parameters:
  25265. - description: 资金账户ID
  25266. in: query
  25267. name: accountID
  25268. required: true
  25269. type: integer
  25270. - description: 所属市场ID
  25271. in: query
  25272. name: marketID
  25273. type: integer
  25274. produces:
  25275. - application/json
  25276. responses:
  25277. "200":
  25278. description: OK
  25279. schema:
  25280. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  25281. "500":
  25282. description: Internal Server Error
  25283. schema:
  25284. $ref: '#/definitions/app.Response'
  25285. security:
  25286. - ApiKeyAuth: []
  25287. summary: 获取企业风管期货持仓头寸信息
  25288. tags:
  25289. - 企业风险管理(app)
  25290. /Ermcp/QueryExposureDetail:
  25291. get:
  25292. parameters:
  25293. - description: 所属机构ID
  25294. in: query
  25295. name: areaUserId
  25296. required: true
  25297. type: integer
  25298. - description: 套保商品
  25299. in: query
  25300. name: middleGoodsId
  25301. required: true
  25302. type: integer
  25303. produces:
  25304. - application/json
  25305. responses:
  25306. "200":
  25307. description: OK
  25308. schema:
  25309. items:
  25310. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  25311. type: array
  25312. "500":
  25313. description: Internal Server Error
  25314. schema:
  25315. $ref: '#/definitions/app.Response'
  25316. security:
  25317. - ApiKeyAuth: []
  25318. summary: 查询敞口现货明细
  25319. tags:
  25320. - 企业风险管理(app)
  25321. /Ermcp/QueryExposureGoods:
  25322. get:
  25323. parameters:
  25324. - description: 套保商品id
  25325. in: query
  25326. name: middlegoodsid
  25327. required: true
  25328. type: integer
  25329. produces:
  25330. - application/json
  25331. responses:
  25332. "200":
  25333. description: OK
  25334. schema:
  25335. items:
  25336. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  25337. type: array
  25338. "500":
  25339. description: Internal Server Error
  25340. schema:
  25341. $ref: '#/definitions/app.Response'
  25342. security:
  25343. - ApiKeyAuth: []
  25344. summary: 查询敞口主力合约
  25345. tags:
  25346. - 企业风险管理(app)
  25347. /Ermcp/QueryExposureHedgePosition:
  25348. get:
  25349. parameters:
  25350. - description: 用户id
  25351. in: query
  25352. name: userid
  25353. required: true
  25354. type: integer
  25355. produces:
  25356. - application/json
  25357. responses:
  25358. "200":
  25359. description: OK
  25360. schema:
  25361. items:
  25362. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  25363. type: array
  25364. "500":
  25365. description: Internal Server Error
  25366. schema:
  25367. $ref: '#/definitions/app.Response'
  25368. security:
  25369. - ApiKeyAuth: []
  25370. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  25371. tags:
  25372. - 企业风险管理(app)
  25373. /Ermcp/QueryExposureHedgePositionDetail:
  25374. get:
  25375. parameters:
  25376. - description: 所属机构ID
  25377. in: query
  25378. name: userid
  25379. required: true
  25380. type: integer
  25381. - description: 商品id
  25382. in: query
  25383. name: goodsId
  25384. required: true
  25385. type: integer
  25386. produces:
  25387. - application/json
  25388. responses:
  25389. "200":
  25390. description: OK
  25391. schema:
  25392. items:
  25393. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  25394. type: array
  25395. "500":
  25396. description: Internal Server Error
  25397. schema:
  25398. $ref: '#/definitions/app.Response'
  25399. security:
  25400. - ApiKeyAuth: []
  25401. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  25402. tags:
  25403. - 企业风险管理(app)
  25404. /Ermcp/QueryExposureSpot:
  25405. get:
  25406. parameters:
  25407. - description: 所属机构ID
  25408. in: query
  25409. name: areaUserId
  25410. required: true
  25411. type: integer
  25412. produces:
  25413. - application/json
  25414. responses:
  25415. "200":
  25416. description: OK
  25417. schema:
  25418. items:
  25419. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  25420. type: array
  25421. "500":
  25422. description: Internal Server Error
  25423. schema:
  25424. $ref: '#/definitions/app.Response'
  25425. security:
  25426. - ApiKeyAuth: []
  25427. summary: 查询敞口现货头寸(敞口/现货头寸)
  25428. tags:
  25429. - 企业风险管理(app)
  25430. /Ermcp/QueryExposureSpotDetail:
  25431. get:
  25432. parameters:
  25433. - description: 所属机构ID
  25434. in: query
  25435. name: areaUserId
  25436. required: true
  25437. type: integer
  25438. - description: 现货品种ID
  25439. in: query
  25440. name: wrstandardId
  25441. required: true
  25442. type: integer
  25443. produces:
  25444. - application/json
  25445. responses:
  25446. "200":
  25447. description: OK
  25448. schema:
  25449. items:
  25450. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  25451. type: array
  25452. "500":
  25453. description: Internal Server Error
  25454. schema:
  25455. $ref: '#/definitions/app.Response'
  25456. security:
  25457. - ApiKeyAuth: []
  25458. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25459. tags:
  25460. - 企业风险管理(app)
  25461. /Ermcp/QueryFuturesCompany:
  25462. get:
  25463. produces:
  25464. - application/json
  25465. responses:
  25466. "200":
  25467. description: OK
  25468. schema:
  25469. items:
  25470. $ref: '#/definitions/models.ErmcpFuturesCompany'
  25471. type: array
  25472. "500":
  25473. description: Internal Server Error
  25474. schema:
  25475. $ref: '#/definitions/app.Response'
  25476. security:
  25477. - ApiKeyAuth: []
  25478. summary: 查询期货公司
  25479. tags:
  25480. - 企业风险管理(app)
  25481. /Ermcp/QueryGGConvertConfig:
  25482. get:
  25483. parameters:
  25484. - description: 品种id(不填则查所有)
  25485. in: query
  25486. name: goodsgroupid
  25487. type: integer
  25488. produces:
  25489. - application/json
  25490. responses:
  25491. "200":
  25492. description: OK
  25493. schema:
  25494. items:
  25495. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  25496. type: array
  25497. "500":
  25498. description: Internal Server Error
  25499. schema:
  25500. $ref: '#/definitions/app.Response'
  25501. security:
  25502. - ApiKeyAuth: []
  25503. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  25504. tags:
  25505. - 企业风险管理(app)
  25506. /Ermcp/QueryGoodsBrand:
  25507. get:
  25508. parameters:
  25509. - description: 用户ID
  25510. in: query
  25511. name: userid
  25512. required: true
  25513. type: integer
  25514. - description: 现货商品ID
  25515. in: query
  25516. name: wrstandardid
  25517. type: integer
  25518. produces:
  25519. - application/json
  25520. responses:
  25521. "200":
  25522. description: OK
  25523. schema:
  25524. items:
  25525. $ref: '#/definitions/models.ErmcpGoodsBrand'
  25526. type: array
  25527. "500":
  25528. description: Internal Server Error
  25529. schema:
  25530. $ref: '#/definitions/app.Response'
  25531. security:
  25532. - ApiKeyAuth: []
  25533. summary: 查询商品品牌
  25534. tags:
  25535. - 企业风险管理(app)
  25536. /Ermcp/QueryGoodsModel:
  25537. get:
  25538. parameters:
  25539. - description: 用户ID
  25540. in: query
  25541. name: userid
  25542. required: true
  25543. type: integer
  25544. produces:
  25545. - application/json
  25546. responses:
  25547. "200":
  25548. description: OK
  25549. schema:
  25550. items:
  25551. $ref: '#/definitions/models.ErmcpGoodsModel'
  25552. type: array
  25553. "500":
  25554. description: Internal Server Error
  25555. schema:
  25556. $ref: '#/definitions/app.Response'
  25557. security:
  25558. - ApiKeyAuth: []
  25559. summary: 查询商品型号
  25560. tags:
  25561. - 企业风险管理(app)
  25562. /Ermcp/QueryHisExposure:
  25563. get:
  25564. parameters:
  25565. - description: 用户id
  25566. in: query
  25567. name: userid
  25568. required: true
  25569. type: integer
  25570. - description: 每个品种记录数
  25571. in: query
  25572. name: lastNum
  25573. required: true
  25574. type: integer
  25575. produces:
  25576. - application/json
  25577. responses:
  25578. "200":
  25579. description: OK
  25580. schema:
  25581. items:
  25582. $ref: '#/definitions/ermcp.HisExposureRsp'
  25583. type: array
  25584. "500":
  25585. description: Internal Server Error
  25586. schema:
  25587. $ref: '#/definitions/app.Response'
  25588. security:
  25589. - ApiKeyAuth: []
  25590. summary: 查询历史敞口(菜单:敞口/历史敞口)
  25591. tags:
  25592. - 企业风险管理(app)
  25593. /Ermcp/QueryMiddleGoods:
  25594. get:
  25595. parameters:
  25596. - description: 所属机构ID
  25597. in: query
  25598. name: userid
  25599. required: true
  25600. type: integer
  25601. - description: 状态 0-停用 1-正常
  25602. in: query
  25603. name: status
  25604. required: true
  25605. type: integer
  25606. produces:
  25607. - application/json
  25608. responses:
  25609. "200":
  25610. description: OK
  25611. schema:
  25612. items:
  25613. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  25614. type: array
  25615. "500":
  25616. description: Internal Server Error
  25617. schema:
  25618. $ref: '#/definitions/app.Response'
  25619. security:
  25620. - ApiKeyAuth: []
  25621. summary: 查询套保品种(菜单:套保品种)
  25622. tags:
  25623. - 企业风险管理(app)
  25624. /Ermcp/QueryMiddleGoodsChangeLog:
  25625. get:
  25626. parameters:
  25627. - description: 所属机构ID
  25628. in: query
  25629. name: userid
  25630. required: true
  25631. type: integer
  25632. - description: 套保品种id
  25633. in: query
  25634. name: middlegoodsid
  25635. required: true
  25636. type: integer
  25637. produces:
  25638. - application/json
  25639. responses:
  25640. "200":
  25641. description: OK
  25642. schema:
  25643. items:
  25644. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  25645. type: array
  25646. "500":
  25647. description: Internal Server Error
  25648. schema:
  25649. $ref: '#/definitions/app.Response'
  25650. security:
  25651. - ApiKeyAuth: []
  25652. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  25653. tags:
  25654. - 企业风险管理(app)
  25655. /Ermcp/QueryMiddleGoodsDetail:
  25656. get:
  25657. parameters:
  25658. - description: 所属机构ID
  25659. in: query
  25660. name: userid
  25661. required: true
  25662. type: integer
  25663. - description: 套保品种id
  25664. in: query
  25665. name: middlegoodsid
  25666. type: integer
  25667. produces:
  25668. - application/json
  25669. responses:
  25670. "200":
  25671. description: OK
  25672. schema:
  25673. items:
  25674. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  25675. type: array
  25676. "500":
  25677. description: Internal Server Error
  25678. schema:
  25679. $ref: '#/definitions/app.Response'
  25680. security:
  25681. - ApiKeyAuth: []
  25682. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  25683. tags:
  25684. - 企业风险管理(app)
  25685. /Ermcp/QueryPendingAuditInfo:
  25686. get:
  25687. parameters:
  25688. - description: 用户ID
  25689. in: query
  25690. name: UserId
  25691. required: true
  25692. type: integer
  25693. produces:
  25694. - application/json
  25695. responses:
  25696. "200":
  25697. description: OK
  25698. schema:
  25699. items:
  25700. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  25701. type: array
  25702. "500":
  25703. description: Internal Server Error
  25704. schema:
  25705. $ref: '#/definitions/app.Response'
  25706. security:
  25707. - ApiKeyAuth: []
  25708. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  25709. tags:
  25710. - 企业风险管理(app)
  25711. /Ermcp/QueryRealtimeExposure:
  25712. get:
  25713. parameters:
  25714. - description: 所属机构ID
  25715. in: query
  25716. name: userid
  25717. required: true
  25718. type: integer
  25719. produces:
  25720. - application/json
  25721. responses:
  25722. "200":
  25723. description: OK
  25724. schema:
  25725. items:
  25726. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  25727. type: array
  25728. "500":
  25729. description: Internal Server Error
  25730. schema:
  25731. $ref: '#/definitions/app.Response'
  25732. security:
  25733. - ApiKeyAuth: []
  25734. summary: 查询实时敞口
  25735. tags:
  25736. - 企业风险管理(app)
  25737. /Ermcp/QueryRealtimeExposurePosition:
  25738. get:
  25739. parameters:
  25740. - description: 用户id
  25741. in: query
  25742. name: userid
  25743. required: true
  25744. type: integer
  25745. - description: 套保商品ID
  25746. in: query
  25747. name: middleGoodsId
  25748. required: true
  25749. type: integer
  25750. produces:
  25751. - application/json
  25752. responses:
  25753. "200":
  25754. description: OK
  25755. schema:
  25756. items:
  25757. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  25758. type: array
  25759. "500":
  25760. description: Internal Server Error
  25761. schema:
  25762. $ref: '#/definitions/app.Response'
  25763. security:
  25764. - ApiKeyAuth: []
  25765. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  25766. tags:
  25767. - 企业风险管理(app)
  25768. /Ermcp/QueryRoleMenu:
  25769. get:
  25770. parameters:
  25771. - description: 登录ID
  25772. in: query
  25773. name: loginid
  25774. required: true
  25775. type: integer
  25776. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  25777. in: query
  25778. name: menutype
  25779. type: integer
  25780. produces:
  25781. - application/json
  25782. responses:
  25783. "200":
  25784. description: OK
  25785. schema:
  25786. items:
  25787. $ref: '#/definitions/models.RoleMenu'
  25788. type: array
  25789. "500":
  25790. description: Internal Server Error
  25791. schema:
  25792. $ref: '#/definitions/app.Response'
  25793. security:
  25794. - ApiKeyAuth: []
  25795. summary: 查询角色菜单和权限
  25796. tags:
  25797. - 企业风险管理(app)
  25798. /Ermcp/QueryTradeConfigTMP:
  25799. get:
  25800. parameters:
  25801. - description: 所属机构id
  25802. in: query
  25803. name: areauserid
  25804. type: integer
  25805. produces:
  25806. - application/json
  25807. responses:
  25808. "200":
  25809. description: OK
  25810. schema:
  25811. items:
  25812. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  25813. type: array
  25814. "500":
  25815. description: Internal Server Error
  25816. schema:
  25817. $ref: '#/definitions/app.Response'
  25818. security:
  25819. - ApiKeyAuth: []
  25820. summary: 查询交易模板配置
  25821. tags:
  25822. - 企业风险管理(app)
  25823. /Ermcp/QueryUserInfo:
  25824. get:
  25825. parameters:
  25826. - description: 所属机构用户ID
  25827. in: query
  25828. name: MemberUserID
  25829. required: true
  25830. type: integer
  25831. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  25832. in: query
  25833. name: queryType
  25834. required: true
  25835. type: integer
  25836. produces:
  25837. - application/json
  25838. responses:
  25839. "200":
  25840. description: OK
  25841. schema:
  25842. items:
  25843. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  25844. type: array
  25845. "500":
  25846. description: Internal Server Error
  25847. schema:
  25848. $ref: '#/definitions/app.Response'
  25849. security:
  25850. - ApiKeyAuth: []
  25851. summary: 查询客户资料
  25852. tags:
  25853. - 企业风险管理(app)
  25854. /Ermcp/QueryWarehouseInfo:
  25855. get:
  25856. parameters:
  25857. - description: 用户ID
  25858. in: query
  25859. name: userid
  25860. required: true
  25861. type: integer
  25862. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  25863. in: query
  25864. name: status
  25865. type: string
  25866. produces:
  25867. - application/json
  25868. responses:
  25869. "200":
  25870. description: OK
  25871. schema:
  25872. items:
  25873. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  25874. type: array
  25875. "500":
  25876. description: Internal Server Error
  25877. schema:
  25878. $ref: '#/definitions/app.Response'
  25879. security:
  25880. - ApiKeyAuth: []
  25881. summary: 查询仓库信息
  25882. tags:
  25883. - 企业风险管理(app)
  25884. /Ermcp3/QryAreaExpourseContractDetail:
  25885. get:
  25886. parameters:
  25887. - description: 用户ID
  25888. in: query
  25889. name: userid
  25890. required: true
  25891. type: integer
  25892. - description: 套保商品id
  25893. in: query
  25894. name: middlegoodsid
  25895. required: true
  25896. type: integer
  25897. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25898. in: query
  25899. name: cycletype
  25900. required: true
  25901. type: integer
  25902. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25903. 全(0)【原值】
  25904. in: query
  25905. name: cycletime
  25906. required: true
  25907. type: string
  25908. produces:
  25909. - application/json
  25910. responses:
  25911. "200":
  25912. description: OK
  25913. schema:
  25914. items:
  25915. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  25916. type: array
  25917. "500":
  25918. description: Internal Server Error
  25919. schema:
  25920. $ref: '#/definitions/app.Response'
  25921. security:
  25922. - ApiKeyAuth: []
  25923. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  25924. tags:
  25925. - 企业风险管理v3(app)
  25926. /Ermcp3/QryAreaExpourseFutuDetail:
  25927. get:
  25928. parameters:
  25929. - description: 用户ID
  25930. in: query
  25931. name: userid
  25932. required: true
  25933. type: integer
  25934. - description: 套保商品id
  25935. in: query
  25936. name: middlegoodsid
  25937. required: true
  25938. type: integer
  25939. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25940. in: query
  25941. name: cycletype
  25942. required: true
  25943. type: integer
  25944. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25945. 全(0)【原值】
  25946. in: query
  25947. name: cycletime
  25948. required: true
  25949. type: string
  25950. produces:
  25951. - application/json
  25952. responses:
  25953. "200":
  25954. description: OK
  25955. schema:
  25956. items:
  25957. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  25958. type: array
  25959. "500":
  25960. description: Internal Server Error
  25961. schema:
  25962. $ref: '#/definitions/app.Response'
  25963. security:
  25964. - ApiKeyAuth: []
  25965. summary: 查询敞口期货明细(敞口报表/期货明细)
  25966. tags:
  25967. - 企业风险管理v3(app)
  25968. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  25969. get:
  25970. parameters:
  25971. - description: 用户ID
  25972. in: query
  25973. name: userid
  25974. required: true
  25975. type: integer
  25976. - description: 套保商品id
  25977. in: query
  25978. name: middlegoodsid
  25979. required: true
  25980. type: integer
  25981. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25982. in: query
  25983. name: cycletype
  25984. required: true
  25985. type: integer
  25986. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25987. 全(0)【原值】
  25988. in: query
  25989. name: cycletime
  25990. required: true
  25991. type: string
  25992. produces:
  25993. - application/json
  25994. responses:
  25995. "200":
  25996. description: OK
  25997. schema:
  25998. items:
  25999. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  26000. type: array
  26001. "500":
  26002. description: Internal Server Error
  26003. schema:
  26004. $ref: '#/definitions/app.Response'
  26005. security:
  26006. - ApiKeyAuth: []
  26007. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  26008. tags:
  26009. - 企业风险管理v3(app)
  26010. /Ermcp3/QryAreaExpourseParamChLogDetail:
  26011. get:
  26012. parameters:
  26013. - description: 用户ID
  26014. in: query
  26015. name: userid
  26016. required: true
  26017. type: integer
  26018. - description: 套保商品id
  26019. in: query
  26020. name: middlegoodsid
  26021. required: true
  26022. type: integer
  26023. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26024. in: query
  26025. name: cycletype
  26026. required: true
  26027. type: integer
  26028. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26029. 全(0)【原值】
  26030. in: query
  26031. name: cycletime
  26032. required: true
  26033. type: string
  26034. produces:
  26035. - application/json
  26036. responses:
  26037. "200":
  26038. description: OK
  26039. schema:
  26040. items:
  26041. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  26042. type: array
  26043. "500":
  26044. description: Internal Server Error
  26045. schema:
  26046. $ref: '#/definitions/app.Response'
  26047. security:
  26048. - ApiKeyAuth: []
  26049. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  26050. tags:
  26051. - 企业风险管理v3(app)
  26052. /Ermcp3/QryAreaExpourseReport:
  26053. get:
  26054. parameters:
  26055. - description: 用户ID
  26056. in: query
  26057. name: userid
  26058. required: true
  26059. type: integer
  26060. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  26061. in: query
  26062. name: querytype
  26063. required: true
  26064. type: integer
  26065. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26066. in: query
  26067. name: cycletype
  26068. required: true
  26069. type: integer
  26070. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26071. 全(0)【原值】
  26072. in: query
  26073. name: cycletime
  26074. required: true
  26075. type: string
  26076. produces:
  26077. - application/json
  26078. responses:
  26079. "200":
  26080. description: OK
  26081. schema:
  26082. items:
  26083. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  26084. type: array
  26085. "500":
  26086. description: Internal Server Error
  26087. schema:
  26088. $ref: '#/definitions/app.Response'
  26089. security:
  26090. - ApiKeyAuth: []
  26091. summary: 查询敞口报表
  26092. tags:
  26093. - 企业风险管理v3(app)
  26094. /Ermcp3/QryAreaSpotplReport:
  26095. get:
  26096. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  26097. parameters:
  26098. - description: 用户ID
  26099. in: query
  26100. name: userid
  26101. required: true
  26102. type: integer
  26103. - description: 查询类型 1-报表 2-报表明细
  26104. in: query
  26105. name: querytype
  26106. required: true
  26107. type: integer
  26108. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26109. in: query
  26110. name: cycletype
  26111. required: true
  26112. type: integer
  26113. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26114. 全(0)【原值】
  26115. in: query
  26116. name: cycletime
  26117. required: true
  26118. type: string
  26119. - description: 现货品种id(明细必填)
  26120. in: query
  26121. name: deliverygoodsid
  26122. type: integer
  26123. - description: 币种id(明细必填)
  26124. in: query
  26125. name: currencyid
  26126. type: integer
  26127. - description: 日/周/月报表汇总维度 1:品种+品类
  26128. in: query
  26129. name: sumflag
  26130. type: integer
  26131. produces:
  26132. - application/json
  26133. responses:
  26134. "200":
  26135. description: OK
  26136. schema:
  26137. items:
  26138. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  26139. type: array
  26140. "500":
  26141. description: Internal Server Error
  26142. schema:
  26143. $ref: '#/definitions/app.Response'
  26144. security:
  26145. - ApiKeyAuth: []
  26146. summary: 查询现货报表
  26147. tags:
  26148. - 企业风险管理v3(app)
  26149. /Ermcp3/QryAreaStockReport:
  26150. get:
  26151. parameters:
  26152. - description: 用户ID
  26153. in: query
  26154. name: userid
  26155. required: true
  26156. type: integer
  26157. - description: 查询类型 1-报表 2-报表明细
  26158. in: query
  26159. name: querytype
  26160. required: true
  26161. type: integer
  26162. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26163. in: query
  26164. name: cycletype
  26165. required: true
  26166. type: integer
  26167. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26168. 全(0)【原值】
  26169. in: query
  26170. name: cycletime
  26171. required: true
  26172. type: string
  26173. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  26174. in: query
  26175. name: sumfields
  26176. type: string
  26177. - description: 品种ID
  26178. in: query
  26179. name: deliverygoodsid
  26180. type: integer
  26181. - description: 品类ID
  26182. in: query
  26183. name: wrstandardid
  26184. type: integer
  26185. - description: 品牌ID
  26186. in: query
  26187. name: spotgoodsbrandid
  26188. type: integer
  26189. - description: 仓库ID
  26190. in: query
  26191. name: warehouseinfoid
  26192. type: integer
  26193. produces:
  26194. - application/json
  26195. responses:
  26196. "200":
  26197. description: OK
  26198. schema:
  26199. items:
  26200. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  26201. type: array
  26202. "500":
  26203. description: Internal Server Error
  26204. schema:
  26205. $ref: '#/definitions/app.Response'
  26206. security:
  26207. - ApiKeyAuth: []
  26208. summary: 查询库存报表
  26209. tags:
  26210. - 企业风险管理v3(app)
  26211. /Ermcp3/QryAreaSumPL:
  26212. get:
  26213. parameters:
  26214. - description: 用户ID
  26215. in: query
  26216. name: userid
  26217. required: true
  26218. type: integer
  26219. - description: 查询类型 1-报表 2-报表明细
  26220. in: query
  26221. name: querytype
  26222. required: true
  26223. type: integer
  26224. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26225. in: query
  26226. name: cycletype
  26227. required: true
  26228. type: integer
  26229. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26230. 全(0)【原值】
  26231. in: query
  26232. name: cycletime
  26233. required: true
  26234. type: string
  26235. - description: 币种id(明细必填)
  26236. in: query
  26237. name: currencyid
  26238. type: integer
  26239. - description: 套保品种ID, 查询类型为2时起效
  26240. in: query
  26241. name: middlegoodsid
  26242. type: integer
  26243. produces:
  26244. - application/json
  26245. responses:
  26246. "200":
  26247. description: OK
  26248. schema:
  26249. items:
  26250. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  26251. type: array
  26252. "500":
  26253. description: Internal Server Error
  26254. schema:
  26255. $ref: '#/definitions/app.Response'
  26256. security:
  26257. - ApiKeyAuth: []
  26258. summary: 查询汇总损益表
  26259. tags:
  26260. - 企业风险管理v3(app)
  26261. /Ermcp3/QryFinanceReport:
  26262. get:
  26263. parameters:
  26264. - description: 用户ID
  26265. in: query
  26266. name: userid
  26267. required: true
  26268. type: integer
  26269. - description: 查询类型 1-报表 2-报表明细
  26270. in: query
  26271. name: querytype
  26272. required: true
  26273. type: integer
  26274. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26275. in: query
  26276. name: cycletype
  26277. required: true
  26278. type: integer
  26279. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26280. 全(0)【原值】
  26281. in: query
  26282. name: cycletime
  26283. required: true
  26284. type: string
  26285. - description: 币种id(报表明细必填)
  26286. in: query
  26287. name: currencyid
  26288. type: integer
  26289. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  26290. in: query
  26291. name: sumfields
  26292. type: string
  26293. produces:
  26294. - application/json
  26295. responses:
  26296. "200":
  26297. description: OK
  26298. schema:
  26299. items:
  26300. $ref: '#/definitions/models.Ermcp3FinanceReport'
  26301. type: array
  26302. "500":
  26303. description: Internal Server Error
  26304. schema:
  26305. $ref: '#/definitions/app.Response'
  26306. security:
  26307. - ApiKeyAuth: []
  26308. summary: 查询财务报表
  26309. tags:
  26310. - 企业风险管理v3(app)
  26311. /Ermcp3/QrySCMiddleGoodsReport:
  26312. get:
  26313. parameters:
  26314. - description: 用户ID
  26315. in: query
  26316. name: userid
  26317. required: true
  26318. type: integer
  26319. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26320. in: query
  26321. name: cycletype
  26322. required: true
  26323. type: integer
  26324. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26325. 全(0)【原值】
  26326. in: query
  26327. name: cycletime
  26328. required: true
  26329. type: string
  26330. - description: 合同id
  26331. in: query
  26332. name: spotcontractid
  26333. type: integer
  26334. - description: 套保品种id
  26335. in: query
  26336. name: middlegoodsid
  26337. type: integer
  26338. - description: 现货品种id
  26339. in: query
  26340. name: deliverygoodsid
  26341. type: integer
  26342. - description: 现货商品id
  26343. in: query
  26344. name: wrstandardid
  26345. type: integer
  26346. - description: 合同编号(模糊匹配)
  26347. in: query
  26348. name: contractno
  26349. type: string
  26350. produces:
  26351. - application/json
  26352. responses:
  26353. "200":
  26354. description: OK
  26355. schema:
  26356. items:
  26357. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  26358. type: array
  26359. "500":
  26360. description: Internal Server Error
  26361. schema:
  26362. $ref: '#/definitions/app.Response'
  26363. security:
  26364. - ApiKeyAuth: []
  26365. summary: 查询定价报表
  26366. tags:
  26367. - 企业风险管理v3(app)
  26368. /Ermcp3/QryTaFutureDataReport:
  26369. get:
  26370. parameters:
  26371. - description: 用户ID
  26372. in: query
  26373. name: userid
  26374. required: true
  26375. type: integer
  26376. - description: 查询类型 1-报表 2-报表明细
  26377. in: query
  26378. name: querytype
  26379. required: true
  26380. type: integer
  26381. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26382. in: query
  26383. name: cycletype
  26384. required: true
  26385. type: integer
  26386. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26387. 全(0)【原值】
  26388. in: query
  26389. name: cycletime
  26390. required: true
  26391. type: string
  26392. - description: 币种id(查明细必填)
  26393. in: query
  26394. name: currencyid
  26395. type: integer
  26396. - description: 品种id(查明细必填)
  26397. in: query
  26398. name: goodsgroupid
  26399. type: integer
  26400. - description: 商品id(查明细必填)
  26401. in: query
  26402. name: goodsid
  26403. type: integer
  26404. - description: 买卖方向(查明细必填)
  26405. in: query
  26406. name: buyorsell
  26407. type: integer
  26408. produces:
  26409. - application/json
  26410. responses:
  26411. "200":
  26412. description: OK
  26413. schema:
  26414. items:
  26415. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  26416. type: array
  26417. "500":
  26418. description: Internal Server Error
  26419. schema:
  26420. $ref: '#/definitions/app.Response'
  26421. security:
  26422. - ApiKeyAuth: []
  26423. summary: 查询期货报表
  26424. tags:
  26425. - 企业风险管理v3(app)
  26426. /Ermcp3/QueryAreaStock:
  26427. get:
  26428. parameters:
  26429. - description: 用户ID
  26430. in: query
  26431. name: userid
  26432. required: true
  26433. type: integer
  26434. produces:
  26435. - application/json
  26436. responses:
  26437. "200":
  26438. description: OK
  26439. schema:
  26440. items:
  26441. $ref: '#/definitions/models.Ermcp3AreaStock'
  26442. type: array
  26443. "500":
  26444. description: Internal Server Error
  26445. schema:
  26446. $ref: '#/definitions/app.Response'
  26447. security:
  26448. - ApiKeyAuth: []
  26449. summary: 查询机构库存(库存管理/当前库存)
  26450. tags:
  26451. - 企业风险管理v3(app)
  26452. /Ermcp3/QueryAreaStockApply:
  26453. get:
  26454. parameters:
  26455. - description: 用户ID
  26456. in: query
  26457. name: userid
  26458. required: true
  26459. type: integer
  26460. - description: 用户类型 2-机构 7-企业成员
  26461. in: query
  26462. name: usertype
  26463. type: integer
  26464. - description: 现货商品ID
  26465. in: query
  26466. name: deliverygoodsid
  26467. type: integer
  26468. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  26469. in: query
  26470. name: inouttype
  26471. type: string
  26472. - description: 合同ID
  26473. in: query
  26474. name: spotcontractid
  26475. type: integer
  26476. - description: 品类ID
  26477. in: query
  26478. name: wrstandardid
  26479. type: integer
  26480. - description: 品牌ID
  26481. in: query
  26482. name: spotgoodsbrandid
  26483. type: integer
  26484. - description: 仓库ID
  26485. in: query
  26486. name: warehouseinfoid
  26487. type: integer
  26488. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26489. in: query
  26490. name: applystatus
  26491. type: string
  26492. produces:
  26493. - application/json
  26494. responses:
  26495. "200":
  26496. description: OK
  26497. schema:
  26498. items:
  26499. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  26500. type: array
  26501. "500":
  26502. description: Internal Server Error
  26503. schema:
  26504. $ref: '#/definitions/app.Response'
  26505. security:
  26506. - ApiKeyAuth: []
  26507. summary: 查询库存申请(出入库记录|库存审核)
  26508. tags:
  26509. - 企业风险管理v3(app)
  26510. /Ermcp3/QueryAreaStockApplySum:
  26511. get:
  26512. parameters:
  26513. - description: 合同ID
  26514. in: query
  26515. name: spotcontractid
  26516. required: true
  26517. type: integer
  26518. produces:
  26519. - application/json
  26520. responses:
  26521. "200":
  26522. description: OK
  26523. schema:
  26524. items:
  26525. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  26526. type: array
  26527. "500":
  26528. description: Internal Server Error
  26529. schema:
  26530. $ref: '#/definitions/app.Response'
  26531. security:
  26532. - ApiKeyAuth: []
  26533. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  26534. tags:
  26535. - 企业风险管理v3(app)
  26536. /Ermcp3/QueryDGFactoryItem:
  26537. get:
  26538. parameters:
  26539. - description: 用户id
  26540. in: query
  26541. name: userid
  26542. type: integer
  26543. - description: 用户类型 2-机构 7-企业成员
  26544. in: query
  26545. name: usertype
  26546. type: integer
  26547. - description: 选择项ID(SEQ_DGFACTORYITEM)
  26548. in: query
  26549. name: dgfactoryitemid
  26550. type: integer
  26551. - description: 现货品种ID
  26552. in: query
  26553. name: deliverygoodsid
  26554. type: integer
  26555. - description: 要素项类型
  26556. in: query
  26557. name: dgfactoryitemtypeid
  26558. type: integer
  26559. - description: 顺序
  26560. in: query
  26561. name: orderindex
  26562. type: integer
  26563. produces:
  26564. - application/json
  26565. responses:
  26566. "200":
  26567. description: OK
  26568. schema:
  26569. items:
  26570. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  26571. type: array
  26572. "500":
  26573. description: Internal Server Error
  26574. schema:
  26575. $ref: '#/definitions/app.Response'
  26576. security:
  26577. - ApiKeyAuth: []
  26578. summary: 查询品种要素定义项
  26579. tags:
  26580. - 企业风险管理v3(app)
  26581. /Ermcp3/QueryDeliveryGoods:
  26582. get:
  26583. parameters:
  26584. - description: 用户id
  26585. in: query
  26586. name: userid
  26587. required: true
  26588. type: integer
  26589. - description: 用户类型 2-机构 7-企业成员
  26590. in: query
  26591. name: usertype
  26592. type: integer
  26593. - description: 排除已配置的业务类型商品 1-套保 2-套利
  26594. in: query
  26595. name: excludecfg
  26596. type: integer
  26597. produces:
  26598. - application/json
  26599. responses:
  26600. "200":
  26601. description: OK
  26602. schema:
  26603. items:
  26604. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  26605. type: array
  26606. "500":
  26607. description: Internal Server Error
  26608. schema:
  26609. $ref: '#/definitions/app.Response'
  26610. security:
  26611. - ApiKeyAuth: []
  26612. summary: 查询现货商品
  26613. tags:
  26614. - 企业风险管理v3(app)
  26615. /Ermcp3/QueryDeliveryGoodsDetail:
  26616. get:
  26617. parameters:
  26618. - description: 用户id
  26619. in: query
  26620. name: userid
  26621. required: true
  26622. type: integer
  26623. - description: 用户类型 2-机构 7-企业成员
  26624. in: query
  26625. name: usertype
  26626. type: integer
  26627. - description: 现货商品id
  26628. in: query
  26629. name: deliverygoodsid
  26630. type: integer
  26631. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  26632. in: query
  26633. name: filtersubempty
  26634. type: integer
  26635. produces:
  26636. - application/json
  26637. responses:
  26638. "200":
  26639. description: OK
  26640. schema:
  26641. items:
  26642. $ref: '#/definitions/models.XHDeliveryGoods'
  26643. type: array
  26644. "500":
  26645. description: Internal Server Error
  26646. schema:
  26647. $ref: '#/definitions/app.Response'
  26648. security:
  26649. - ApiKeyAuth: []
  26650. summary: 查询现货商品详情
  26651. tags:
  26652. - 企业风险管理v3(app)
  26653. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  26654. get:
  26655. parameters:
  26656. - description: 合同id
  26657. in: query
  26658. name: spotcontractid
  26659. required: true
  26660. type: string
  26661. produces:
  26662. - application/json
  26663. responses:
  26664. "200":
  26665. description: OK
  26666. schema:
  26667. items:
  26668. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  26669. type: array
  26670. "500":
  26671. description: Internal Server Error
  26672. schema:
  26673. $ref: '#/definitions/app.Response'
  26674. security:
  26675. - ApiKeyAuth: []
  26676. summary: 查询现货合同期现配置信息
  26677. tags:
  26678. - 企业风险管理v3(app)
  26679. /Ermcp3/QueryExposureDetail:
  26680. get:
  26681. parameters:
  26682. - description: 用户id
  26683. in: query
  26684. name: userid
  26685. required: true
  26686. type: integer
  26687. - description: 用户类型 2-机构 7-企业成员
  26688. in: query
  26689. name: usertype
  26690. type: integer
  26691. - description: 套保商品
  26692. in: query
  26693. name: middlegoodsid
  26694. required: true
  26695. type: integer
  26696. produces:
  26697. - application/json
  26698. responses:
  26699. "200":
  26700. description: OK
  26701. schema:
  26702. items:
  26703. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  26704. type: array
  26705. "500":
  26706. description: Internal Server Error
  26707. schema:
  26708. $ref: '#/definitions/app.Response'
  26709. security:
  26710. - ApiKeyAuth: []
  26711. summary: 查询敞口现货明细
  26712. tags:
  26713. - 企业风险管理v3(app)
  26714. /Ermcp3/QueryExposureSpot:
  26715. get:
  26716. parameters:
  26717. - description: 用户id
  26718. in: query
  26719. name: userid
  26720. required: true
  26721. type: integer
  26722. - description: 用户类型 2-机构 7-企业成员
  26723. in: query
  26724. name: usertype
  26725. type: integer
  26726. produces:
  26727. - application/json
  26728. responses:
  26729. "200":
  26730. description: OK
  26731. schema:
  26732. items:
  26733. $ref: '#/definitions/models.Ermcp3AreaSpot'
  26734. type: array
  26735. "500":
  26736. description: Internal Server Error
  26737. schema:
  26738. $ref: '#/definitions/app.Response'
  26739. security:
  26740. - ApiKeyAuth: []
  26741. summary: 查询敞口现货头寸(敞口/现货头寸)
  26742. tags:
  26743. - 企业风险管理v3(app)
  26744. /Ermcp3/QueryExposureSpotDetail:
  26745. get:
  26746. parameters:
  26747. - description: 用户id
  26748. in: query
  26749. name: userid
  26750. required: true
  26751. type: integer
  26752. - description: 用户类型 2-机构 7-企业成员
  26753. in: query
  26754. name: usertype
  26755. type: integer
  26756. - description: 现货商品ID
  26757. in: query
  26758. name: wrstandardid
  26759. required: true
  26760. type: integer
  26761. produces:
  26762. - application/json
  26763. responses:
  26764. "200":
  26765. description: OK
  26766. schema:
  26767. items:
  26768. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  26769. type: array
  26770. "500":
  26771. description: Internal Server Error
  26772. schema:
  26773. $ref: '#/definitions/app.Response'
  26774. security:
  26775. - ApiKeyAuth: []
  26776. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  26777. tags:
  26778. - 企业风险管理v3(app)
  26779. /Ermcp3/QueryGoodsGroup:
  26780. get:
  26781. parameters:
  26782. - description: 用户id
  26783. in: query
  26784. name: userid
  26785. required: true
  26786. type: integer
  26787. - description: 用户类型 2-机构 7-企业成员
  26788. in: query
  26789. name: usertype
  26790. type: integer
  26791. - description: 排除套保品中已关联的商品组 1-排除
  26792. in: query
  26793. name: excludecfg
  26794. type: integer
  26795. produces:
  26796. - application/json
  26797. responses:
  26798. "200":
  26799. description: OK
  26800. schema:
  26801. items:
  26802. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  26803. type: array
  26804. "500":
  26805. description: Internal Server Error
  26806. schema:
  26807. $ref: '#/definitions/app.Response'
  26808. security:
  26809. - ApiKeyAuth: []
  26810. summary: 查询期货商品组
  26811. tags:
  26812. - 企业风险管理v3(app)
  26813. /Ermcp3/QueryGoodsWrstandard:
  26814. get:
  26815. parameters:
  26816. - description: 用户id
  26817. in: query
  26818. name: userid
  26819. required: true
  26820. type: integer
  26821. - description: 用户类型 2-机构 7-企业成员
  26822. in: query
  26823. name: usertype
  26824. type: integer
  26825. - description: 现货商品id
  26826. in: query
  26827. name: deliverygoodsid
  26828. type: integer
  26829. produces:
  26830. - application/json
  26831. responses:
  26832. "200":
  26833. description: OK
  26834. schema:
  26835. items:
  26836. $ref: '#/definitions/models.Ermcp3Wrstandard'
  26837. type: array
  26838. "500":
  26839. description: Internal Server Error
  26840. schema:
  26841. $ref: '#/definitions/app.Response'
  26842. security:
  26843. - ApiKeyAuth: []
  26844. summary: 查询商品品类
  26845. tags:
  26846. - 企业风险管理v3(app)
  26847. /Ermcp3/QueryGoodsbrand:
  26848. get:
  26849. parameters:
  26850. - description: 用户id
  26851. in: query
  26852. name: userid
  26853. required: true
  26854. type: integer
  26855. - description: 用户类型 2-机构 7-企业成员
  26856. in: query
  26857. name: usertype
  26858. type: integer
  26859. produces:
  26860. - application/json
  26861. responses:
  26862. "200":
  26863. description: OK
  26864. schema:
  26865. items:
  26866. $ref: '#/definitions/models.Ermcp3Brand'
  26867. type: array
  26868. "500":
  26869. description: Internal Server Error
  26870. schema:
  26871. $ref: '#/definitions/app.Response'
  26872. security:
  26873. - ApiKeyAuth: []
  26874. summary: 查询商品品牌
  26875. tags:
  26876. - 企业风险管理v3(app)
  26877. /Ermcp3/QueryHPMiddleGoods:
  26878. get:
  26879. parameters:
  26880. - description: 用户ID(填登录用户的userid)
  26881. in: query
  26882. name: userid
  26883. required: true
  26884. type: integer
  26885. - description: 买卖方向 0-买 1-卖
  26886. in: query
  26887. name: buyorsell
  26888. required: true
  26889. type: integer
  26890. - description: 商品组id
  26891. in: query
  26892. name: goodsgroupid
  26893. required: true
  26894. type: integer
  26895. - description: 套保计划编号(模糊匹配)
  26896. in: query
  26897. name: hedgeplanno
  26898. type: string
  26899. - description: 现货商品名称(模糊匹配)
  26900. in: query
  26901. name: wrstandardname
  26902. type: string
  26903. produces:
  26904. - application/json
  26905. responses:
  26906. "200":
  26907. description: OK
  26908. schema:
  26909. items:
  26910. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  26911. type: array
  26912. "500":
  26913. description: Internal Server Error
  26914. schema:
  26915. $ref: '#/definitions/app.Response'
  26916. security:
  26917. - ApiKeyAuth: []
  26918. summary: 查询可关联套保计划
  26919. tags:
  26920. - 企业风险管理v3(app)
  26921. /Ermcp3/QueryHedgePlan:
  26922. get:
  26923. parameters:
  26924. - description: 用户ID
  26925. in: query
  26926. name: userid
  26927. required: true
  26928. type: integer
  26929. - description: 用户类型 2-机构 7-企业成员
  26930. in: query
  26931. name: usertype
  26932. type: integer
  26933. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26934. in: query
  26935. name: hedgeplanstatus
  26936. required: true
  26937. type: string
  26938. produces:
  26939. - application/json
  26940. responses:
  26941. "200":
  26942. description: OK
  26943. schema:
  26944. items:
  26945. $ref: '#/definitions/models.Ermcp3HedgePlan'
  26946. type: array
  26947. "500":
  26948. description: Internal Server Error
  26949. schema:
  26950. $ref: '#/definitions/app.Response'
  26951. security:
  26952. - ApiKeyAuth: []
  26953. summary: 查询套保计划
  26954. tags:
  26955. - 企业风险管理v3(app)
  26956. /Ermcp3/QueryInnerTradeLink:
  26957. get:
  26958. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  26959. parameters:
  26960. - description: 外部成交单号
  26961. in: query
  26962. name: outtradeid
  26963. required: true
  26964. type: integer
  26965. produces:
  26966. - application/json
  26967. responses:
  26968. "200":
  26969. description: OK
  26970. schema:
  26971. items:
  26972. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  26973. type: array
  26974. "500":
  26975. description: Internal Server Error
  26976. schema:
  26977. $ref: '#/definitions/app.Response'
  26978. security:
  26979. - ApiKeyAuth: []
  26980. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  26981. tags:
  26982. - 企业风险管理v3(app)
  26983. /Ermcp3/QueryMiddleGoodsDetail:
  26984. get:
  26985. parameters:
  26986. - description: 用户id
  26987. in: query
  26988. name: userid
  26989. required: true
  26990. type: integer
  26991. - description: 用户类型 2-机构 7-企业成员
  26992. in: query
  26993. name: usertype
  26994. type: integer
  26995. - description: 套保品种id
  26996. in: query
  26997. name: middlegoodsid
  26998. type: integer
  26999. produces:
  27000. - application/json
  27001. responses:
  27002. "200":
  27003. description: OK
  27004. schema:
  27005. items:
  27006. $ref: '#/definitions/models.TBMiddleGoods'
  27007. type: array
  27008. "500":
  27009. description: Internal Server Error
  27010. schema:
  27011. $ref: '#/definitions/app.Response'
  27012. security:
  27013. - ApiKeyAuth: []
  27014. summary: 查询套保品种详情(套保品种/商品详情)
  27015. tags:
  27016. - 企业风险管理v3(app)
  27017. /Ermcp3/QueryOutTradeLink:
  27018. get:
  27019. description: 页面 app 现货->期现关联->外部成交单关联
  27020. parameters:
  27021. - description: 用户ID(填登录用户的userid)
  27022. in: query
  27023. name: userid
  27024. required: true
  27025. type: integer
  27026. - description: 外部订单号(模糊匹配)
  27027. in: query
  27028. name: outtradeid
  27029. type: string
  27030. - description: 合约名称/代码(模糊匹配)
  27031. in: query
  27032. name: goodsname
  27033. type: string
  27034. - description: 关联状态 0-未关联 1-已关联
  27035. in: query
  27036. name: hasinnerorder
  27037. type: integer
  27038. produces:
  27039. - application/json
  27040. responses:
  27041. "200":
  27042. description: OK
  27043. schema:
  27044. items:
  27045. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  27046. type: array
  27047. "500":
  27048. description: Internal Server Error
  27049. schema:
  27050. $ref: '#/definitions/app.Response'
  27051. security:
  27052. - ApiKeyAuth: []
  27053. summary: 查询外部成交单关联
  27054. tags:
  27055. - 企业风险管理v3(app)
  27056. /Ermcp3/QueryPaAreaAuditCfg:
  27057. get:
  27058. parameters:
  27059. - description: 用户id
  27060. in: query
  27061. name: userid
  27062. required: true
  27063. type: integer
  27064. produces:
  27065. - application/json
  27066. responses:
  27067. "200":
  27068. description: OK
  27069. schema:
  27070. items:
  27071. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  27072. type: array
  27073. "500":
  27074. description: Internal Server Error
  27075. schema:
  27076. $ref: '#/definitions/app.Response'
  27077. security:
  27078. - ApiKeyAuth: []
  27079. summary: 查询审核设置
  27080. tags:
  27081. - 企业风险管理v3(app)
  27082. /Ermcp3/QueryPaAreaSubject:
  27083. get:
  27084. parameters:
  27085. - description: 用户id
  27086. in: query
  27087. name: userid
  27088. required: true
  27089. type: integer
  27090. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  27091. in: query
  27092. name: subjectid
  27093. type: integer
  27094. - description: 主体类型 - 1:交易主体 2:业务部门
  27095. in: query
  27096. name: subjecttype
  27097. type: integer
  27098. - description: '主体状态 - 1:正常 2: 停用'
  27099. in: query
  27100. name: subjectstatus
  27101. type: integer
  27102. produces:
  27103. - application/json
  27104. responses:
  27105. "200":
  27106. description: OK
  27107. schema:
  27108. items:
  27109. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  27110. type: array
  27111. "500":
  27112. description: Internal Server Error
  27113. schema:
  27114. $ref: '#/definitions/app.Response'
  27115. security:
  27116. - ApiKeyAuth: []
  27117. summary: 查询交易主体
  27118. tags:
  27119. - 企业风险管理v3(app)
  27120. /Ermcp3/QueryPaTradeLink:
  27121. get:
  27122. description: 页面 app 现货->期现关联->期现单据关联
  27123. parameters:
  27124. - description: 用户ID
  27125. in: query
  27126. name: userid
  27127. required: true
  27128. type: integer
  27129. produces:
  27130. - application/json
  27131. responses:
  27132. "200":
  27133. description: OK
  27134. schema:
  27135. items:
  27136. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  27137. type: array
  27138. "500":
  27139. description: Internal Server Error
  27140. schema:
  27141. $ref: '#/definitions/app.Response'
  27142. security:
  27143. - ApiKeyAuth: []
  27144. summary: 查询期现单据关联
  27145. tags:
  27146. - 企业风险管理v3(app)
  27147. /Ermcp3/QueryPaTradeLinkDetail:
  27148. get:
  27149. description: 页面 app 现货->期现关联->关联记录
  27150. parameters:
  27151. - description: 用户ID(填登录用户的userid)
  27152. in: query
  27153. name: userid
  27154. required: true
  27155. type: integer
  27156. - description: 关联状态 1:成功 2:失败 3:解绑
  27157. in: query
  27158. name: linkstatus
  27159. type: integer
  27160. - description: 期货订单号(模糊匹配)
  27161. in: query
  27162. name: tradeid
  27163. type: string
  27164. - description: 现货编号(模糊匹配)
  27165. in: query
  27166. name: contractno
  27167. type: string
  27168. - description: 期货账户(模糊匹配)
  27169. in: query
  27170. name: taname
  27171. type: string
  27172. produces:
  27173. - application/json
  27174. responses:
  27175. "200":
  27176. description: OK
  27177. schema:
  27178. items:
  27179. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  27180. type: array
  27181. "500":
  27182. description: Internal Server Error
  27183. schema:
  27184. $ref: '#/definitions/app.Response'
  27185. security:
  27186. - ApiKeyAuth: []
  27187. summary: 查询期现关联记录
  27188. tags:
  27189. - 企业风险管理v3(app)
  27190. /Ermcp3/QueryParamChangeApp:
  27191. get:
  27192. description: |-
  27193. 原型页面:
  27194. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  27195. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  27196. parameters:
  27197. - description: 用户ID
  27198. in: query
  27199. name: userid
  27200. required: true
  27201. type: integer
  27202. - description: 现货品种id
  27203. in: query
  27204. name: deliverygoodsid
  27205. type: integer
  27206. - description: 现货商品id
  27207. in: query
  27208. name: wrstandardid
  27209. type: integer
  27210. - description: 套保商品id
  27211. in: query
  27212. name: middlegoodsid
  27213. type: integer
  27214. - description: 操作类型 1:新增 2:修改
  27215. in: query
  27216. name: operatetype
  27217. type: integer
  27218. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  27219. in: query
  27220. name: paramchangetype
  27221. type: integer
  27222. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27223. in: query
  27224. name: ftstatus
  27225. type: string
  27226. produces:
  27227. - application/json
  27228. responses:
  27229. "200":
  27230. description: OK
  27231. schema:
  27232. items:
  27233. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  27234. type: array
  27235. "500":
  27236. description: Internal Server Error
  27237. schema:
  27238. $ref: '#/definitions/app.Response'
  27239. security:
  27240. - ApiKeyAuth: []
  27241. summary: 查询现货商品参数变更申请(流水)
  27242. tags:
  27243. - 企业风险管理v3(app)
  27244. /Ermcp3/QueryRootUserAccount:
  27245. get:
  27246. parameters:
  27247. - description: 用户ID
  27248. in: query
  27249. name: userid
  27250. required: true
  27251. type: integer
  27252. produces:
  27253. - application/json
  27254. responses:
  27255. "200":
  27256. description: OK
  27257. schema:
  27258. items:
  27259. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  27260. type: array
  27261. "500":
  27262. description: Internal Server Error
  27263. schema:
  27264. $ref: '#/definitions/app.Response'
  27265. security:
  27266. - ApiKeyAuth: []
  27267. summary: 查询顶级用户信息
  27268. tags:
  27269. - 企业风险管理v3(app)
  27270. /Ermcp3/QuerySCMiddleGoods:
  27271. get:
  27272. description: |-
  27273. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  27274. 现货编号 即 合同编号
  27275. parameters:
  27276. - description: 用户ID(填登录用户的userid)
  27277. in: query
  27278. name: userid
  27279. required: true
  27280. type: integer
  27281. - description: 买卖方向 0-买 1-卖
  27282. in: query
  27283. name: buyorsell
  27284. required: true
  27285. type: integer
  27286. - description: 商品组id
  27287. in: query
  27288. name: goodsgroupid
  27289. required: true
  27290. type: integer
  27291. - description: 业务类型 1:套保 2:套利
  27292. in: query
  27293. name: biztype
  27294. type: integer
  27295. - description: 现货编号(模糊匹配)
  27296. in: query
  27297. name: contractno
  27298. type: string
  27299. - description: 对手方(模糊匹配)
  27300. in: query
  27301. name: customername
  27302. type: string
  27303. - description: 现货商品名称(模糊匹配)
  27304. in: query
  27305. name: wrstandardname
  27306. type: string
  27307. produces:
  27308. - application/json
  27309. responses:
  27310. "200":
  27311. description: OK
  27312. schema:
  27313. items:
  27314. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  27315. type: array
  27316. "500":
  27317. description: Internal Server Error
  27318. schema:
  27319. $ref: '#/definitions/app.Response'
  27320. security:
  27321. - ApiKeyAuth: []
  27322. summary: 查询现货订单
  27323. tags:
  27324. - 企业风险管理v3(app)
  27325. /Ermcp3/QuerySpotContract:
  27326. get:
  27327. parameters:
  27328. - description: 用户id(当指定contractid, userid可不填)
  27329. in: query
  27330. name: userid
  27331. required: true
  27332. type: integer
  27333. - description: 用户类型 2-机构 7-企业成员
  27334. in: query
  27335. name: usertype
  27336. type: integer
  27337. - description: 合同类型 1-采购, -1-销售
  27338. in: query
  27339. name: contracttype
  27340. type: integer
  27341. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  27342. in: query
  27343. name: querytype
  27344. type: string
  27345. - description: 合同ID(SpotContractId)
  27346. in: query
  27347. name: contractid
  27348. type: string
  27349. - description: 合同编号(模糊匹配)
  27350. in: query
  27351. name: contractno
  27352. type: string
  27353. - description: 商品名称(模糊匹配)
  27354. in: query
  27355. name: wrstandardname
  27356. type: string
  27357. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27358. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27359. in: query
  27360. name: status
  27361. type: string
  27362. - description: 是否只查今日的合同 1-查今日合同
  27363. in: query
  27364. name: istoday
  27365. type: integer
  27366. produces:
  27367. - application/json
  27368. responses:
  27369. "200":
  27370. description: OK
  27371. schema:
  27372. items:
  27373. $ref: '#/definitions/models.Ermcp3Contract'
  27374. type: array
  27375. "500":
  27376. description: Internal Server Error
  27377. schema:
  27378. $ref: '#/definitions/app.Response'
  27379. security:
  27380. - ApiKeyAuth: []
  27381. summary: 查询现货合同
  27382. tags:
  27383. - 企业风险管理v3(app)
  27384. /Ermcp3/QuerySpotContractBS:
  27385. get:
  27386. parameters:
  27387. - description: 用户id
  27388. in: query
  27389. name: userid
  27390. required: true
  27391. type: integer
  27392. - description: 用户类型 2-机构 7-企业成员
  27393. in: query
  27394. name: usertype
  27395. type: integer
  27396. - description: 合同类型 1-采购, -1-销售
  27397. in: query
  27398. name: contracttype
  27399. required: true
  27400. type: integer
  27401. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  27402. in: query
  27403. name: querytype
  27404. type: integer
  27405. - description: 合同ID(SpotContractId)
  27406. in: query
  27407. name: contractid
  27408. type: string
  27409. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27410. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27411. in: query
  27412. name: status
  27413. type: string
  27414. - description: 是否只查今日的合同 1-查今日合同
  27415. in: query
  27416. name: istoday
  27417. type: integer
  27418. produces:
  27419. - application/json
  27420. responses:
  27421. "200":
  27422. description: OK
  27423. schema:
  27424. items:
  27425. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  27426. type: array
  27427. "500":
  27428. description: Internal Server Error
  27429. schema:
  27430. $ref: '#/definitions/app.Response'
  27431. security:
  27432. - ApiKeyAuth: []
  27433. summary: 查询合同(采购/销售)
  27434. tags:
  27435. - 企业风险管理v3(app)
  27436. /Ermcp3/QuerySpotGoodsPrice:
  27437. get:
  27438. parameters:
  27439. - description: 用户ID
  27440. in: query
  27441. name: userid
  27442. required: true
  27443. type: integer
  27444. produces:
  27445. - application/json
  27446. responses:
  27447. "200":
  27448. description: OK
  27449. schema:
  27450. items:
  27451. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  27452. type: array
  27453. "500":
  27454. description: Internal Server Error
  27455. schema:
  27456. $ref: '#/definitions/app.Response'
  27457. security:
  27458. - ApiKeyAuth: []
  27459. summary: 查询现货市价(现货市价)
  27460. tags:
  27461. - 企业风险管理v3(app)
  27462. /Ermcp3/QuerySpotGoodsPriceLog:
  27463. get:
  27464. parameters:
  27465. - description: 用户ID
  27466. in: query
  27467. name: userid
  27468. required: true
  27469. type: integer
  27470. - description: 现货商品ID
  27471. in: query
  27472. name: deliverygoodsid
  27473. required: true
  27474. type: integer
  27475. - description: 品牌ID
  27476. in: query
  27477. name: brandid
  27478. type: integer
  27479. - description: 品类ID
  27480. in: query
  27481. name: wrstandardid
  27482. type: integer
  27483. produces:
  27484. - application/json
  27485. responses:
  27486. "200":
  27487. description: OK
  27488. schema:
  27489. items:
  27490. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  27491. type: array
  27492. "500":
  27493. description: Internal Server Error
  27494. schema:
  27495. $ref: '#/definitions/app.Response'
  27496. security:
  27497. - ApiKeyAuth: []
  27498. summary: 查询现货市价详情(现货市价/详情)
  27499. tags:
  27500. - 企业风险管理v3(app)
  27501. /Ermcp3/QuerySubTaaccount:
  27502. get:
  27503. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  27504. parameters:
  27505. - description: 母账号id
  27506. in: query
  27507. name: parentaccountid
  27508. type: integer
  27509. - description: 母账号代码
  27510. in: query
  27511. name: parentaccountcode
  27512. type: string
  27513. produces:
  27514. - application/json
  27515. responses:
  27516. "200":
  27517. description: OK
  27518. schema:
  27519. items:
  27520. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  27521. type: array
  27522. "500":
  27523. description: Internal Server Error
  27524. schema:
  27525. $ref: '#/definitions/app.Response'
  27526. security:
  27527. - ApiKeyAuth: []
  27528. summary: 查询期货子账户
  27529. tags:
  27530. - 企业风险管理v3(app)
  27531. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  27532. get:
  27533. parameters:
  27534. - description: 套期项目ID
  27535. in: query
  27536. name: hedgeditemid
  27537. required: true
  27538. type: integer
  27539. produces:
  27540. - application/json
  27541. responses:
  27542. "200":
  27543. description: OK
  27544. schema:
  27545. items:
  27546. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  27547. type: array
  27548. "500":
  27549. description: Internal Server Error
  27550. schema:
  27551. $ref: '#/definitions/app.Response'
  27552. security:
  27553. - ApiKeyAuth: []
  27554. summary: 现货成交明细查询
  27555. tags:
  27556. - 企业风险管理v8
  27557. /Ermcp8/QueryERMCP2HedgedItemspot:
  27558. get:
  27559. parameters:
  27560. - description: 套期项目ID
  27561. in: query
  27562. name: hedgeditemid
  27563. required: true
  27564. type: integer
  27565. produces:
  27566. - application/json
  27567. responses:
  27568. "200":
  27569. description: OK
  27570. schema:
  27571. items:
  27572. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  27573. type: array
  27574. "500":
  27575. description: Internal Server Error
  27576. schema:
  27577. $ref: '#/definitions/app.Response'
  27578. security:
  27579. - ApiKeyAuth: []
  27580. summary: 套期计划明细查询
  27581. tags:
  27582. - 企业风险管理v8
  27583. /Ermcp8/QueryERMCPJRLinkPos:
  27584. get:
  27585. parameters:
  27586. - description: 套期项目ID
  27587. in: query
  27588. name: hedgeditemid
  27589. required: true
  27590. type: integer
  27591. produces:
  27592. - application/json
  27593. responses:
  27594. "200":
  27595. description: OK
  27596. schema:
  27597. items:
  27598. $ref: '#/definitions/models.Ermcpjrlinkpos'
  27599. type: array
  27600. "500":
  27601. description: Internal Server Error
  27602. schema:
  27603. $ref: '#/definitions/app.Response'
  27604. security:
  27605. - ApiKeyAuth: []
  27606. summary: 期货持仓明细查询
  27607. tags:
  27608. - 企业风险管理v8
  27609. /Ermcp8/QueryERMCPPatradeLinkDetail:
  27610. get:
  27611. parameters:
  27612. - description: 套期项目ID
  27613. in: query
  27614. name: hedgeditemid
  27615. required: true
  27616. type: integer
  27617. produces:
  27618. - application/json
  27619. responses:
  27620. "200":
  27621. description: OK
  27622. schema:
  27623. items:
  27624. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  27625. type: array
  27626. "500":
  27627. description: Internal Server Error
  27628. schema:
  27629. $ref: '#/definitions/app.Response'
  27630. security:
  27631. - ApiKeyAuth: []
  27632. summary: 期货成交单明细查询
  27633. tags:
  27634. - 企业风险管理v8
  27635. /Ermcp8/QueryErmcp2AreaExposure:
  27636. get:
  27637. parameters:
  27638. - description: 用户ID
  27639. in: query
  27640. name: userid
  27641. required: true
  27642. type: string
  27643. produces:
  27644. - application/json
  27645. responses:
  27646. "200":
  27647. description: OK
  27648. schema:
  27649. items:
  27650. $ref: '#/definitions/models.Ermcp2AreaExposure'
  27651. type: array
  27652. "500":
  27653. description: Internal Server Error
  27654. schema:
  27655. $ref: '#/definitions/app.Response'
  27656. security:
  27657. - ApiKeyAuth: []
  27658. summary: 企业敞口查询
  27659. tags:
  27660. - 企业风险管理v8
  27661. /Ermcp8/QueryErmcp2HedgedItem:
  27662. get:
  27663. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  27664. parameters:
  27665. - description: 用户ID
  27666. in: query
  27667. name: userid
  27668. required: true
  27669. type: string
  27670. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27671. in: query
  27672. name: hedgedtype
  27673. type: integer
  27674. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27675. in: query
  27676. name: hedgeditemstatus
  27677. type: integer
  27678. produces:
  27679. - application/json
  27680. responses:
  27681. "200":
  27682. description: OK
  27683. schema:
  27684. items:
  27685. $ref: '#/definitions/models.Ermcp2hedgeditem'
  27686. type: array
  27687. "500":
  27688. description: Internal Server Error
  27689. schema:
  27690. $ref: '#/definitions/app.Response'
  27691. security:
  27692. - ApiKeyAuth: []
  27693. summary: 查询被套期项目信息
  27694. tags:
  27695. - 企业风险管理v8
  27696. /Ermcp8/QueryErmcp2HedgedItemLink:
  27697. get:
  27698. parameters:
  27699. - description: 现货合同ID
  27700. in: query
  27701. name: spotcontractid
  27702. required: true
  27703. type: integer
  27704. produces:
  27705. - application/json
  27706. responses:
  27707. "200":
  27708. description: OK
  27709. schema:
  27710. items:
  27711. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  27712. type: array
  27713. "500":
  27714. description: Internal Server Error
  27715. schema:
  27716. $ref: '#/definitions/app.Response'
  27717. security:
  27718. - ApiKeyAuth: []
  27719. summary: 现货合同关联被套期项目查询
  27720. tags:
  27721. - 企业风险管理v8
  27722. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  27723. get:
  27724. parameters:
  27725. - description: 用户ID
  27726. in: query
  27727. name: userid
  27728. required: true
  27729. type: integer
  27730. - description: 套保品种ID
  27731. in: query
  27732. name: middlegoodsid
  27733. required: true
  27734. type: integer
  27735. produces:
  27736. - application/json
  27737. responses:
  27738. "200":
  27739. description: OK
  27740. schema:
  27741. items:
  27742. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  27743. type: array
  27744. "500":
  27745. description: Internal Server Error
  27746. schema:
  27747. $ref: '#/definitions/app.Response'
  27748. security:
  27749. - ApiKeyAuth: []
  27750. summary: 敞口明细 - 计划变动明细
  27751. tags:
  27752. - 企业风险管理v8
  27753. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  27754. get:
  27755. parameters:
  27756. - description: 用户ID
  27757. in: query
  27758. name: userid
  27759. required: true
  27760. type: integer
  27761. - description: 套保品种ID
  27762. in: query
  27763. name: middlegoodsid
  27764. required: true
  27765. type: integer
  27766. produces:
  27767. - application/json
  27768. responses:
  27769. "200":
  27770. description: OK
  27771. schema:
  27772. items:
  27773. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  27774. type: array
  27775. "500":
  27776. description: Internal Server Error
  27777. schema:
  27778. $ref: '#/definitions/app.Response'
  27779. security:
  27780. - ApiKeyAuth: []
  27781. summary: 敞口明细 - 现货变动明细查询
  27782. tags:
  27783. - 企业风险管理v8
  27784. /Ermcp8/QueryErmcp8EnableHedgeditem:
  27785. get:
  27786. parameters:
  27787. - description: 用户ID
  27788. in: query
  27789. name: userid
  27790. required: true
  27791. type: integer
  27792. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  27793. in: query
  27794. name: spottype
  27795. required: true
  27796. type: integer
  27797. - description: 现货商品ID
  27798. in: query
  27799. name: wrstandardid
  27800. type: integer
  27801. produces:
  27802. - application/json
  27803. responses:
  27804. "200":
  27805. description: OK
  27806. schema:
  27807. items:
  27808. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  27809. type: array
  27810. "500":
  27811. description: Internal Server Error
  27812. schema:
  27813. $ref: '#/definitions/app.Response'
  27814. security:
  27815. - ApiKeyAuth: []
  27816. summary: 可关联项目查询
  27817. tags:
  27818. - 企业风险管理v8
  27819. /Ermcp8/QueryErmcp8HedgeditemReport:
  27820. get:
  27821. parameters:
  27822. - description: 用户ID
  27823. in: query
  27824. name: userid
  27825. required: true
  27826. type: integer
  27827. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27828. in: query
  27829. name: cycletype
  27830. type: integer
  27831. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27832. 全(0)【原值】
  27833. in: query
  27834. name: cycletime
  27835. required: true
  27836. type: string
  27837. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27838. in: query
  27839. name: hedgedtype
  27840. type: integer
  27841. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27842. in: query
  27843. name: hedgeditemstatus
  27844. type: integer
  27845. - description: 项目编号,模糊查询
  27846. in: query
  27847. name: hedgeditemnum
  27848. type: string
  27849. - description: 现货商品ID
  27850. in: query
  27851. name: wrstandardid
  27852. type: integer
  27853. produces:
  27854. - application/json
  27855. responses:
  27856. "200":
  27857. description: OK
  27858. schema:
  27859. items:
  27860. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  27861. type: array
  27862. "500":
  27863. description: Internal Server Error
  27864. schema:
  27865. $ref: '#/definitions/app.Response'
  27866. security:
  27867. - ApiKeyAuth: []
  27868. summary: 套期项目报表查询
  27869. tags:
  27870. - 企业风险管理v8
  27871. /Ermcp8/QueryErmcp8RunningHedgeditem:
  27872. get:
  27873. parameters:
  27874. - description: 用户ID
  27875. in: query
  27876. name: userid
  27877. required: true
  27878. type: string
  27879. produces:
  27880. - application/json
  27881. responses:
  27882. "200":
  27883. description: OK
  27884. schema:
  27885. items:
  27886. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  27887. type: array
  27888. "500":
  27889. description: Internal Server Error
  27890. schema:
  27891. $ref: '#/definitions/app.Response'
  27892. security:
  27893. - ApiKeyAuth: []
  27894. summary: 查询执行中项目查询信息
  27895. tags:
  27896. - 企业风险管理v8
  27897. /Ermcp8/QueryInternalEnableTradeDetail:
  27898. get:
  27899. parameters:
  27900. - description: 企业ID
  27901. in: query
  27902. name: areauserid
  27903. required: true
  27904. type: integer
  27905. - description: 期货合约ID
  27906. in: query
  27907. name: goodsid
  27908. required: true
  27909. type: integer
  27910. - description: 交易用户ID
  27911. in: query
  27912. name: tradeuserid
  27913. required: true
  27914. type: integer
  27915. produces:
  27916. - application/json
  27917. responses:
  27918. "200":
  27919. description: OK
  27920. schema:
  27921. items:
  27922. $ref: '#/definitions/models.InternalEnableTradeDetail'
  27923. type: array
  27924. "500":
  27925. description: Internal Server Error
  27926. schema:
  27927. $ref: '#/definitions/app.Response'
  27928. security:
  27929. - ApiKeyAuth: []
  27930. summary: 内部成交单可关联项目查询
  27931. tags:
  27932. - 企业风险管理v8
  27933. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  27934. get:
  27935. parameters:
  27936. - description: 用户编号
  27937. in: query
  27938. name: userid
  27939. required: true
  27940. type: integer
  27941. - description: 起始日期(格式yyyymmdd)
  27942. in: query
  27943. name: begindate
  27944. type: string
  27945. - description: 终止日期(格式yyyymmdd)
  27946. in: query
  27947. name: enddate
  27948. type: string
  27949. - description: 合约代码
  27950. in: query
  27951. name: goodscode
  27952. type: string
  27953. - description: 合约名称
  27954. in: query
  27955. name: goodsname
  27956. type: string
  27957. - description: 成交单号
  27958. in: query
  27959. name: tradeid
  27960. type: integer
  27961. - description: 方向 - 0:买 1:卖
  27962. in: query
  27963. name: buyorsell
  27964. type: integer
  27965. - description: 套期主体
  27966. in: query
  27967. name: accountname
  27968. type: string
  27969. produces:
  27970. - application/json
  27971. responses:
  27972. "200":
  27973. description: OK
  27974. schema:
  27975. items:
  27976. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  27977. type: array
  27978. "500":
  27979. description: Internal Server Error
  27980. schema:
  27981. $ref: '#/definitions/app.Response'
  27982. security:
  27983. - ApiKeyAuth: []
  27984. summary: 内部未关联成交单查询
  27985. tags:
  27986. - 企业风险管理v8
  27987. /Ermcp8/QueryMarketCalendar:
  27988. get:
  27989. parameters:
  27990. - description: 市场ID
  27991. in: query
  27992. name: marketid
  27993. type: integer
  27994. produces:
  27995. - application/json
  27996. responses:
  27997. "200":
  27998. description: OK
  27999. schema:
  28000. items:
  28001. $ref: '#/definitions/models.Marketcalendar'
  28002. type: array
  28003. "500":
  28004. description: Internal Server Error
  28005. schema:
  28006. $ref: '#/definitions/app.Response'
  28007. security:
  28008. - ApiKeyAuth: []
  28009. summary: 市场节假日查询
  28010. tags:
  28011. - 企业风险管理v8
  28012. /Ermcp8/QueryPatradeLinkDetail:
  28013. get:
  28014. parameters:
  28015. - description: 用户ID
  28016. in: query
  28017. name: userid
  28018. required: true
  28019. type: integer
  28020. - description: 套保品种ID
  28021. in: query
  28022. name: middlegoodsid
  28023. required: true
  28024. type: integer
  28025. produces:
  28026. - application/json
  28027. responses:
  28028. "200":
  28029. description: OK
  28030. schema:
  28031. items:
  28032. $ref: '#/definitions/models.Patradelinkdetail'
  28033. type: array
  28034. "500":
  28035. description: Internal Server Error
  28036. schema:
  28037. $ref: '#/definitions/app.Response'
  28038. security:
  28039. - ApiKeyAuth: []
  28040. summary: 敞口明细 - 期货变动明细
  28041. tags:
  28042. - 企业风险管理v8
  28043. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  28044. get:
  28045. parameters:
  28046. - description: 企业ID
  28047. in: query
  28048. name: areauserid
  28049. required: true
  28050. type: integer
  28051. - description: 计划类型 - 1:采购 -1:销售
  28052. in: query
  28053. name: contracttype
  28054. type: integer
  28055. - description: 计划编号,模糊查询
  28056. in: query
  28057. name: hedgeplanno
  28058. type: string
  28059. - description: 现货商品,模糊查询
  28060. in: query
  28061. name: wrstandardname
  28062. type: string
  28063. produces:
  28064. - application/json
  28065. responses:
  28066. "200":
  28067. description: OK
  28068. schema:
  28069. items:
  28070. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  28071. type: array
  28072. "500":
  28073. description: Internal Server Error
  28074. schema:
  28075. $ref: '#/definitions/app.Response'
  28076. security:
  28077. - ApiKeyAuth: []
  28078. summary: 未关联购销计划
  28079. tags:
  28080. - 企业风险管理v8
  28081. /Ermcp8/QueryUnLinkSpotContract:
  28082. get:
  28083. parameters:
  28084. - description: 用户ID
  28085. in: query
  28086. name: userid
  28087. required: true
  28088. type: integer
  28089. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  28090. in: query
  28091. name: pricetype
  28092. type: integer
  28093. - description: 合同编号, 模拟查询
  28094. in: query
  28095. name: contractno
  28096. type: string
  28097. - description: 对手方, 模拟查询
  28098. in: query
  28099. name: customername
  28100. type: string
  28101. - description: 项合同类型 - 1:采购 -1:销售
  28102. in: query
  28103. name: contracttype
  28104. type: integer
  28105. produces:
  28106. - application/json
  28107. responses:
  28108. "200":
  28109. description: OK
  28110. schema:
  28111. items:
  28112. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  28113. type: array
  28114. "500":
  28115. description: Internal Server Error
  28116. schema:
  28117. $ref: '#/definitions/app.Response'
  28118. security:
  28119. - ApiKeyAuth: []
  28120. summary: 未关联合同查询
  28121. tags:
  28122. - 企业风险管理v8
  28123. /Erms2/QueryArbitrageStrategy:
  28124. get:
  28125. parameters:
  28126. - description: 账户ID
  28127. in: query
  28128. name: userid
  28129. required: true
  28130. type: integer
  28131. - description: 商品组ID(品种ID)
  28132. in: query
  28133. name: goodsgroupid
  28134. type: string
  28135. produces:
  28136. - application/json
  28137. responses:
  28138. "200":
  28139. description: OK
  28140. schema:
  28141. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  28142. "500":
  28143. description: Internal Server Error
  28144. schema:
  28145. $ref: '#/definitions/app.Response'
  28146. security:
  28147. - ApiKeyAuth: []
  28148. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  28149. tags:
  28150. - 风险管理
  28151. /Erms2/QueryInnerTradeDetail:
  28152. get:
  28153. parameters:
  28154. - description: 资金账户
  28155. in: query
  28156. name: accountid
  28157. required: true
  28158. type: integer
  28159. produces:
  28160. - application/json
  28161. responses:
  28162. "200":
  28163. description: OK
  28164. schema:
  28165. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  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/QuerySpotContract:
  28176. get:
  28177. parameters:
  28178. - description: 策略申请ID
  28179. in: query
  28180. name: asapplyid
  28181. required: true
  28182. type: integer
  28183. - description: 现货合同ID
  28184. in: query
  28185. name: spotcontractid
  28186. type: integer
  28187. produces:
  28188. - application/json
  28189. responses:
  28190. "200":
  28191. description: OK
  28192. schema:
  28193. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  28194. "500":
  28195. description: Internal Server Error
  28196. schema:
  28197. $ref: '#/definitions/app.Response'
  28198. security:
  28199. - ApiKeyAuth: []
  28200. summary: 查询现货合同表信息(指定策略ID、未结束的)
  28201. tags:
  28202. - 风险管理
  28203. /Erms3/AddErms2ASApply:
  28204. post:
  28205. parameters:
  28206. - description: 申请参数
  28207. in: body
  28208. name: jsonBody
  28209. required: true
  28210. schema:
  28211. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  28212. produces:
  28213. - application/json
  28214. responses:
  28215. "200":
  28216. description: OK
  28217. schema:
  28218. $ref: '#/definitions/app.Response'
  28219. "500":
  28220. description: Internal Server Error
  28221. schema:
  28222. $ref: '#/definitions/app.Response'
  28223. security:
  28224. - ApiKeyAuth: []
  28225. summary: 新增期现套利业务申请
  28226. tags:
  28227. - 风险管理v3
  28228. /Erms3/AddErms2SpotTradeApply:
  28229. post:
  28230. parameters:
  28231. - description: 申请参数
  28232. in: body
  28233. name: jsonBody
  28234. required: true
  28235. schema:
  28236. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  28237. produces:
  28238. - application/json
  28239. responses:
  28240. "200":
  28241. description: OK
  28242. schema:
  28243. $ref: '#/definitions/app.Response'
  28244. "500":
  28245. description: Internal Server Error
  28246. schema:
  28247. $ref: '#/definitions/app.Response'
  28248. security:
  28249. - ApiKeyAuth: []
  28250. summary: 新增现货贸易业务申请
  28251. tags:
  28252. - 风险管理v3
  28253. /Erms3/AddSpotContractApply:
  28254. post:
  28255. parameters:
  28256. - description: 申请参数
  28257. in: body
  28258. name: jsonBody
  28259. required: true
  28260. schema:
  28261. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  28262. produces:
  28263. - application/json
  28264. responses:
  28265. "200":
  28266. description: OK
  28267. schema:
  28268. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  28269. "500":
  28270. description: Internal Server Error
  28271. schema:
  28272. $ref: '#/definitions/app.Response'
  28273. security:
  28274. - ApiKeyAuth: []
  28275. summary: 新增现货合同申请
  28276. tags:
  28277. - 风险管理v3
  28278. /Erms3/AddUserInfoApply:
  28279. post:
  28280. parameters:
  28281. - description: 用户信息
  28282. in: body
  28283. name: jsonBody
  28284. required: true
  28285. schema:
  28286. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  28287. produces:
  28288. - application/json
  28289. responses:
  28290. "200":
  28291. description: OK
  28292. schema:
  28293. $ref: '#/definitions/app.Response'
  28294. "500":
  28295. description: Internal Server Error
  28296. schema:
  28297. $ref: '#/definitions/app.Response'
  28298. security:
  28299. - ApiKeyAuth: []
  28300. summary: 新增客户申请
  28301. tags:
  28302. - 风险管理v3
  28303. /Erms3/DeleteUserInfoApply:
  28304. get:
  28305. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  28306. parameters:
  28307. - description: 用户ID
  28308. in: query
  28309. name: userID
  28310. required: true
  28311. type: integer
  28312. produces:
  28313. - application/json
  28314. responses:
  28315. "200":
  28316. description: OK
  28317. schema:
  28318. $ref: '#/definitions/app.Response'
  28319. "500":
  28320. description: Internal Server Error
  28321. schema:
  28322. $ref: '#/definitions/app.Response'
  28323. security:
  28324. - ApiKeyAuth: []
  28325. summary: 删除客户申请
  28326. tags:
  28327. - 风险管理v3
  28328. /Erms3/ModifyUserInfoApply:
  28329. post:
  28330. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  28331. int, "userstate": 2 }'
  28332. parameters:
  28333. - description: 用户信息
  28334. in: body
  28335. name: jsonBody
  28336. required: true
  28337. schema:
  28338. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  28339. produces:
  28340. - application/json
  28341. responses:
  28342. "200":
  28343. description: OK
  28344. schema:
  28345. $ref: '#/definitions/app.Response'
  28346. "500":
  28347. description: Internal Server Error
  28348. schema:
  28349. $ref: '#/definitions/app.Response'
  28350. security:
  28351. - ApiKeyAuth: []
  28352. summary: 修改客户申请
  28353. tags:
  28354. - 风险管理v3
  28355. /Erms3/QueryBusinessInfo:
  28356. get:
  28357. parameters:
  28358. - description: 资金账号ID列表,用逗号分隔
  28359. in: query
  28360. name: accountids
  28361. required: true
  28362. type: string
  28363. - description: 状态,0为未结束 1为已结束
  28364. in: query
  28365. name: status
  28366. required: true
  28367. type: integer
  28368. produces:
  28369. - application/json
  28370. responses:
  28371. "200":
  28372. description: OK
  28373. schema:
  28374. items:
  28375. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  28376. type: array
  28377. "500":
  28378. description: Internal Server Error
  28379. schema:
  28380. $ref: '#/definitions/app.Response'
  28381. security:
  28382. - ApiKeyAuth: []
  28383. summary: 查询业务表单数据
  28384. tags:
  28385. - 风险管理v3
  28386. /Erms3/QueryPendingAuditContract:
  28387. get:
  28388. parameters:
  28389. - description: 资金账号ID列表,逗号隔开
  28390. in: query
  28391. name: accountids
  28392. required: true
  28393. type: string
  28394. - description: 合同类型 1-采购 -1-销售
  28395. in: query
  28396. name: contracttype
  28397. required: true
  28398. type: integer
  28399. - description: 合同模式 1-普通 2-回购
  28400. in: query
  28401. name: contractmode
  28402. required: true
  28403. type: integer
  28404. produces:
  28405. - application/json
  28406. responses:
  28407. "200":
  28408. description: OK
  28409. schema:
  28410. items:
  28411. $ref: '#/definitions/erms3.QryAuditContractRsp'
  28412. type: array
  28413. "500":
  28414. description: Internal Server Error
  28415. schema:
  28416. $ref: '#/definitions/app.Response'
  28417. security:
  28418. - ApiKeyAuth: []
  28419. summary: 查询待审核合同
  28420. tags:
  28421. - 风险管理v3
  28422. /Erms3/QueryPendingBusiness:
  28423. get:
  28424. parameters:
  28425. - description: 资金账号ID列表,逗号隔开
  28426. in: query
  28427. name: accountids
  28428. required: true
  28429. type: string
  28430. produces:
  28431. - application/json
  28432. responses:
  28433. "200":
  28434. description: OK
  28435. schema:
  28436. items:
  28437. $ref: '#/definitions/erms3.QryPendingBizRsp'
  28438. type: array
  28439. "500":
  28440. description: Internal Server Error
  28441. schema:
  28442. $ref: '#/definitions/app.Response'
  28443. security:
  28444. - ApiKeyAuth: []
  28445. summary: 查询待审核基差贸易业务
  28446. tags:
  28447. - 风险管理v3
  28448. /Erms3/QuerySpotContractAppleForm:
  28449. get:
  28450. parameters:
  28451. - description: 登录账号
  28452. in: query
  28453. name: loginID
  28454. required: true
  28455. type: integer
  28456. produces:
  28457. - application/json
  28458. responses:
  28459. "200":
  28460. description: OK
  28461. schema:
  28462. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  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/QuerySpotContractDetail:
  28473. get:
  28474. parameters:
  28475. - description: 资金账号ID列表,用逗号分隔
  28476. in: query
  28477. name: accountids
  28478. required: true
  28479. type: string
  28480. - description: 合同类型,1为采购合同 -1为销售合同
  28481. in: query
  28482. name: contracttype
  28483. required: true
  28484. type: integer
  28485. - description: 合同模式,1为普通合同 2为回购销售合同
  28486. in: query
  28487. name: contractmode
  28488. required: true
  28489. type: integer
  28490. - description: 状态,0为履约中 1为已完成
  28491. in: query
  28492. name: status
  28493. required: true
  28494. type: integer
  28495. produces:
  28496. - application/json
  28497. responses:
  28498. "200":
  28499. description: OK
  28500. schema:
  28501. items:
  28502. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  28503. type: array
  28504. "500":
  28505. description: Internal Server Error
  28506. schema:
  28507. $ref: '#/definitions/app.Response'
  28508. security:
  28509. - ApiKeyAuth: []
  28510. summary: 查询合同详细信息
  28511. tags:
  28512. - 风险管理v3
  28513. /Erms3/QueryUserInfoApplies:
  28514. get:
  28515. parameters:
  28516. - description: 页码
  28517. in: query
  28518. name: page
  28519. type: integer
  28520. - description: 每页条数
  28521. in: query
  28522. name: pagesize
  28523. type: integer
  28524. - description: 客户名称,支持模糊查询
  28525. in: query
  28526. name: userName
  28527. type: string
  28528. produces:
  28529. - application/json
  28530. responses:
  28531. "200":
  28532. description: OK
  28533. schema:
  28534. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  28535. "500":
  28536. description: Internal Server Error
  28537. schema:
  28538. $ref: '#/definitions/app.Response'
  28539. security:
  28540. - ApiKeyAuth: []
  28541. summary: 客户申请信息查询
  28542. tags:
  28543. - 风险管理v3
  28544. /Erms3/QueryUserInfos:
  28545. get:
  28546. parameters:
  28547. - description: 页码
  28548. in: query
  28549. name: page
  28550. type: integer
  28551. - description: 每页条数
  28552. in: query
  28553. name: pagesize
  28554. type: integer
  28555. - description: 客户名称,支持模糊查询
  28556. in: query
  28557. name: userName
  28558. type: string
  28559. produces:
  28560. - application/json
  28561. responses:
  28562. "200":
  28563. description: OK
  28564. schema:
  28565. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  28566. "500":
  28567. description: Internal Server Error
  28568. schema:
  28569. $ref: '#/definitions/app.Response'
  28570. security:
  28571. - ApiKeyAuth: []
  28572. summary: 客户信息查询
  28573. tags:
  28574. - 风险管理v3
  28575. /Ferroalloy/GetSpotGoodsPrice:
  28576. get:
  28577. parameters:
  28578. - description: 页码
  28579. in: query
  28580. name: page
  28581. type: integer
  28582. - description: 每页条数
  28583. in: query
  28584. name: pagesize
  28585. type: integer
  28586. produces:
  28587. - application/json
  28588. responses:
  28589. "200":
  28590. description: OK
  28591. schema:
  28592. items:
  28593. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  28594. type: array
  28595. "500":
  28596. description: Internal Server Error
  28597. schema:
  28598. $ref: '#/definitions/app.Response'
  28599. security:
  28600. - ApiKeyAuth: []
  28601. summary: 获取现货行情
  28602. tags:
  28603. - 铁合金
  28604. /Ferroalloy/QueryMyRefer:
  28605. get:
  28606. parameters:
  28607. - description: 用户ID
  28608. in: query
  28609. name: userid
  28610. required: true
  28611. type: integer
  28612. - description: 页码
  28613. in: query
  28614. name: page
  28615. type: integer
  28616. - description: 每页条数
  28617. in: query
  28618. name: pagesize
  28619. type: integer
  28620. produces:
  28621. - application/json
  28622. responses:
  28623. "200":
  28624. description: OK
  28625. schema:
  28626. items:
  28627. $ref: '#/definitions/models.MyRefer'
  28628. type: array
  28629. "500":
  28630. description: Internal Server Error
  28631. schema:
  28632. $ref: '#/definitions/app.Response'
  28633. security:
  28634. - ApiKeyAuth: []
  28635. summary: 查询我的推荐列表
  28636. tags:
  28637. - 铁合金
  28638. /Ferroalloy/QueryMyRegisterMoney:
  28639. get:
  28640. parameters:
  28641. - description: 资金账户
  28642. in: query
  28643. name: accountid
  28644. required: true
  28645. type: integer
  28646. produces:
  28647. - application/json
  28648. responses:
  28649. "200":
  28650. description: OK
  28651. schema:
  28652. items:
  28653. $ref: '#/definitions/models.RegisterMoney'
  28654. type: array
  28655. "500":
  28656. description: Internal Server Error
  28657. schema:
  28658. $ref: '#/definitions/app.Response'
  28659. summary: 查询我的注册红包
  28660. tags:
  28661. - 铁合金
  28662. /Ferroalloy/QueryTHJProduct:
  28663. get:
  28664. parameters:
  28665. - description: 用户ID
  28666. in: query
  28667. name: userid
  28668. required: true
  28669. type: integer
  28670. - description: 关注标志 true-已关注 false-未关注
  28671. in: query
  28672. name: favoriteflag
  28673. type: boolean
  28674. - description: 页码
  28675. in: query
  28676. name: page
  28677. type: integer
  28678. - description: 每页条数
  28679. in: query
  28680. name: pagesize
  28681. type: integer
  28682. produces:
  28683. - application/json
  28684. responses:
  28685. "200":
  28686. description: OK
  28687. schema:
  28688. items:
  28689. $ref: '#/definitions/models.THJProduct'
  28690. type: array
  28691. "500":
  28692. description: Internal Server Error
  28693. schema:
  28694. $ref: '#/definitions/app.Response'
  28695. security:
  28696. - ApiKeyAuth: []
  28697. summary: 获取产品介绍列表
  28698. tags:
  28699. - 铁合金
  28700. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  28701. get:
  28702. parameters:
  28703. - description: 用户ID
  28704. in: query
  28705. name: userid
  28706. required: true
  28707. type: integer
  28708. - description: 类型 - 0:未完成 1:已完成
  28709. in: query
  28710. name: type
  28711. type: integer
  28712. - description: 页码
  28713. in: query
  28714. name: page
  28715. type: integer
  28716. - description: 每页条数
  28717. in: query
  28718. name: pagesize
  28719. type: integer
  28720. produces:
  28721. - application/json
  28722. responses:
  28723. "200":
  28724. description: OK
  28725. schema:
  28726. items:
  28727. $ref: '#/definitions/models.Thjpurchasetradedetail'
  28728. type: array
  28729. "500":
  28730. description: Internal Server Error
  28731. schema:
  28732. $ref: '#/definitions/app.Response'
  28733. security:
  28734. - ApiKeyAuth: []
  28735. summary: 查询我的订单-采购订单
  28736. tags:
  28737. - 铁合金
  28738. /Ferroalloy/QueryTHJScoreConfig:
  28739. get:
  28740. parameters:
  28741. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  28742. 6:自己供求下单积分 7:抽奖配置'
  28743. in: query
  28744. name: stype
  28745. type: string
  28746. produces:
  28747. - application/json
  28748. responses:
  28749. "200":
  28750. description: OK
  28751. schema:
  28752. items:
  28753. $ref: '#/definitions/models.Thjscoreconfig'
  28754. type: array
  28755. "500":
  28756. description: Internal Server Error
  28757. schema:
  28758. $ref: '#/definitions/app.Response'
  28759. security:
  28760. - ApiKeyAuth: []
  28761. summary: 查询积分配置
  28762. tags:
  28763. - 铁合金
  28764. /Ferroalloy/QueryTHJTradeData:
  28765. get:
  28766. parameters:
  28767. - description: 用户ID
  28768. in: query
  28769. name: userid
  28770. required: true
  28771. type: integer
  28772. - description: 市场ID 采购-64201 供求-65201
  28773. in: query
  28774. name: marketid
  28775. required: true
  28776. type: integer
  28777. - description: 页码
  28778. in: query
  28779. name: page
  28780. type: integer
  28781. - description: 每页条数
  28782. in: query
  28783. name: pagesize
  28784. type: integer
  28785. produces:
  28786. - application/json
  28787. responses:
  28788. "200":
  28789. description: OK
  28790. schema:
  28791. items:
  28792. $ref: '#/definitions/models.THJTradeData'
  28793. type: array
  28794. "500":
  28795. description: Internal Server Error
  28796. schema:
  28797. $ref: '#/definitions/app.Response'
  28798. security:
  28799. - ApiKeyAuth: []
  28800. summary: 获取我的推广-交易数据
  28801. tags:
  28802. - 铁合金
  28803. /Ferroalloy/QueryTHJWrstandard:
  28804. get:
  28805. parameters:
  28806. - description: 现货商品名称(模糊查询)
  28807. in: query
  28808. name: wrstandardname
  28809. type: string
  28810. - description: 页码
  28811. in: query
  28812. name: page
  28813. type: integer
  28814. - description: 每页条数
  28815. in: query
  28816. name: pagesize
  28817. type: integer
  28818. produces:
  28819. - application/json
  28820. responses:
  28821. "200":
  28822. description: OK
  28823. schema:
  28824. items:
  28825. $ref: '#/definitions/models.THJWrstandard'
  28826. type: array
  28827. "500":
  28828. description: Internal Server Error
  28829. schema:
  28830. $ref: '#/definitions/app.Response'
  28831. security:
  28832. - ApiKeyAuth: []
  28833. summary: 查询采购列表
  28834. tags:
  28835. - 铁合金
  28836. /Ferroalloy/QueryTHJWrstandardDetail:
  28837. get:
  28838. parameters:
  28839. - description: 现货商品ID
  28840. in: query
  28841. name: wrstandardid
  28842. required: true
  28843. type: integer
  28844. produces:
  28845. - application/json
  28846. responses:
  28847. "200":
  28848. description: OK
  28849. schema:
  28850. items:
  28851. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  28852. type: array
  28853. "500":
  28854. description: Internal Server Error
  28855. schema:
  28856. $ref: '#/definitions/app.Response'
  28857. security:
  28858. - ApiKeyAuth: []
  28859. summary: 查询采购详情
  28860. tags:
  28861. - 铁合金
  28862. /Ferroalloy/QueryUserScoreLog:
  28863. get:
  28864. parameters:
  28865. - description: 用户ID
  28866. in: query
  28867. name: userid
  28868. required: true
  28869. type: integer
  28870. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  28871. 6:自己供求下单积分 7:抽奖配置'
  28872. in: query
  28873. name: stype
  28874. type: string
  28875. - description: 页码
  28876. in: query
  28877. name: page
  28878. type: integer
  28879. - description: 每页条数
  28880. in: query
  28881. name: pagesize
  28882. type: integer
  28883. produces:
  28884. - application/json
  28885. responses:
  28886. "200":
  28887. description: OK
  28888. schema:
  28889. items:
  28890. $ref: '#/definitions/models.GThjuserscorelog'
  28891. type: array
  28892. "500":
  28893. description: Internal Server Error
  28894. schema:
  28895. $ref: '#/definitions/app.Response'
  28896. security:
  28897. - ApiKeyAuth: []
  28898. summary: 查询我的积分流水
  28899. tags:
  28900. - 铁合金
  28901. /Ferroalloy/Signin:
  28902. post:
  28903. parameters:
  28904. - description: 用户签到请求
  28905. in: body
  28906. name: jsonBody
  28907. required: true
  28908. schema:
  28909. $ref: '#/definitions/models.THJSigninReq'
  28910. produces:
  28911. - application/json
  28912. responses:
  28913. "200":
  28914. description: OK
  28915. schema:
  28916. $ref: '#/definitions/models.THJSigninRsp'
  28917. "500":
  28918. description: Internal Server Error
  28919. schema:
  28920. $ref: '#/definitions/app.Response'
  28921. security:
  28922. - ApiKeyAuth: []
  28923. summary: 用户签到
  28924. tags:
  28925. - 铁合金
  28926. /Guangzuan/GZBSFWOrderOperate:
  28927. get:
  28928. parameters:
  28929. - description: 单据ID
  28930. in: query
  28931. name: orderid
  28932. required: true
  28933. type: integer
  28934. produces:
  28935. - application/json
  28936. responses:
  28937. "200":
  28938. description: OK
  28939. schema:
  28940. items:
  28941. $ref: '#/definitions/models.Gzbsfworderoperate'
  28942. type: array
  28943. "500":
  28944. description: Internal Server Error
  28945. schema:
  28946. $ref: '#/definitions/app.Response'
  28947. security:
  28948. - ApiKeyAuth: []
  28949. - LoginID: []
  28950. - Group: []
  28951. summary: 保税服务单据操作信息
  28952. tags:
  28953. - 广钻
  28954. /Guangzuan/GetGoods:
  28955. get:
  28956. parameters:
  28957. - description: 商品编号
  28958. in: query
  28959. name: goodsno
  28960. required: true
  28961. type: string
  28962. produces:
  28963. - application/json
  28964. responses:
  28965. "200":
  28966. description: OK
  28967. schema:
  28968. $ref: '#/definitions/models.GZGoods'
  28969. "500":
  28970. description: Internal Server Error
  28971. schema:
  28972. $ref: '#/definitions/app.Response'
  28973. security:
  28974. - ApiKeyAuth: []
  28975. - LoginID: []
  28976. - Group: []
  28977. summary: 获取钻石详情
  28978. tags:
  28979. - 广钻
  28980. /Guangzuan/GzCertAddressConfig:
  28981. get:
  28982. produces:
  28983. - application/json
  28984. responses:
  28985. "200":
  28986. description: OK
  28987. schema:
  28988. items:
  28989. $ref: '#/definitions/models.Gzcertaddressconfig'
  28990. type: array
  28991. "500":
  28992. description: Internal Server Error
  28993. schema:
  28994. $ref: '#/definitions/app.Response'
  28995. security:
  28996. - ApiKeyAuth: []
  28997. - LoginID: []
  28998. - Group: []
  28999. summary: Rapaport最新报价表(广钻)
  29000. tags:
  29001. - 广钻
  29002. /Guangzuan/GzCertAddressParam:
  29003. get:
  29004. produces:
  29005. - application/json
  29006. responses:
  29007. "200":
  29008. description: OK
  29009. schema:
  29010. items:
  29011. $ref: '#/definitions/models.Gzcertaddressparam'
  29012. type: array
  29013. "500":
  29014. description: Internal Server Error
  29015. schema:
  29016. $ref: '#/definitions/app.Response'
  29017. security:
  29018. - ApiKeyAuth: []
  29019. - LoginID: []
  29020. - Group: []
  29021. summary: 钻石证书地址参数
  29022. tags:
  29023. - 广钻
  29024. /Guangzuan/HomeData:
  29025. get:
  29026. parameters:
  29027. - description: 用户ID
  29028. in: query
  29029. name: userid
  29030. required: true
  29031. type: integer
  29032. produces:
  29033. - application/json
  29034. responses:
  29035. "200":
  29036. description: OK
  29037. schema:
  29038. $ref: '#/definitions/models.GZHomeData'
  29039. "500":
  29040. description: Internal Server Error
  29041. schema:
  29042. $ref: '#/definitions/app.Response'
  29043. security:
  29044. - ApiKeyAuth: []
  29045. - LoginID: []
  29046. - Group: []
  29047. summary: 首页统计数据
  29048. tags:
  29049. - 广钻
  29050. /Guangzuan/PriceCalc:
  29051. get:
  29052. parameters:
  29053. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  29054. in: query
  29055. name: zsshape
  29056. required: true
  29057. type: integer
  29058. - description: 颜色(D-M)
  29059. in: query
  29060. name: zscolor
  29061. required: true
  29062. type: string
  29063. - description: 净度
  29064. in: query
  29065. name: zsclarity
  29066. required: true
  29067. type: string
  29068. - description: 重量
  29069. in: query
  29070. name: weight
  29071. required: true
  29072. type: number
  29073. - description: 汇率
  29074. in: query
  29075. name: rate
  29076. required: true
  29077. type: number
  29078. - description: 折扣(%), 方向(加:10, 减:-10 )
  29079. in: query
  29080. name: discount
  29081. type: number
  29082. produces:
  29083. - application/json
  29084. responses:
  29085. "200":
  29086. description: OK
  29087. schema:
  29088. items:
  29089. $ref: '#/definitions/models.Gzrapaportprice'
  29090. type: array
  29091. "500":
  29092. description: Internal Server Error
  29093. schema:
  29094. $ref: '#/definitions/app.Response'
  29095. security:
  29096. - ApiKeyAuth: []
  29097. - LoginID: []
  29098. - Group: []
  29099. summary: 钻石价格计算器
  29100. tags:
  29101. - 广钻
  29102. /Guangzuan/QueryBuyOrder:
  29103. get:
  29104. parameters:
  29105. - description: 页码
  29106. in: query
  29107. name: page
  29108. type: integer
  29109. - description: 每页条数
  29110. in: query
  29111. name: pagesize
  29112. type: integer
  29113. - description: 商品(查询字段-模糊查询)
  29114. in: query
  29115. name: zsallproperties
  29116. type: string
  29117. - description: 钻石分类, 格式:1,2,3
  29118. in: query
  29119. name: zscategorys
  29120. type: string
  29121. - description: 委托单号
  29122. in: query
  29123. name: wrtradeorderid
  29124. type: integer
  29125. - description: 买方(查询字段-模糊查询)
  29126. in: query
  29127. name: buyusername
  29128. type: string
  29129. produces:
  29130. - application/json
  29131. responses:
  29132. "200":
  29133. description: OK
  29134. schema:
  29135. items:
  29136. $ref: '#/definitions/models.BuyOrder'
  29137. type: array
  29138. "500":
  29139. description: Internal Server Error
  29140. schema:
  29141. $ref: '#/definitions/app.Response'
  29142. security:
  29143. - ApiKeyAuth: []
  29144. - LoginID: []
  29145. - Group: []
  29146. summary: 查询求购大厅委托单
  29147. tags:
  29148. - 广钻
  29149. /Guangzuan/QueryDiamond:
  29150. post:
  29151. parameters:
  29152. - description: 钻石搜索入参
  29153. in: body
  29154. name: data
  29155. required: true
  29156. schema:
  29157. $ref: '#/definitions/models.SellOrderQueryReq'
  29158. produces:
  29159. - application/json
  29160. responses:
  29161. "200":
  29162. description: OK
  29163. schema:
  29164. items:
  29165. $ref: '#/definitions/models.SellOrder'
  29166. type: array
  29167. "500":
  29168. description: Internal Server Error
  29169. schema:
  29170. $ref: '#/definitions/app.Response'
  29171. security:
  29172. - ApiKeyAuth: []
  29173. - LoginID: []
  29174. - Group: []
  29175. summary: 钻石搜索
  29176. tags:
  29177. - 广钻
  29178. /Guangzuan/QueryGZBSFWOrder:
  29179. get:
  29180. parameters:
  29181. - description: 用户ID
  29182. in: query
  29183. name: userid
  29184. required: true
  29185. type: integer
  29186. - description: 页码
  29187. in: query
  29188. name: page
  29189. type: integer
  29190. - description: 每页条数
  29191. in: query
  29192. name: pagesize
  29193. type: integer
  29194. produces:
  29195. - application/json
  29196. responses:
  29197. "200":
  29198. description: OK
  29199. schema:
  29200. items:
  29201. $ref: '#/definitions/models.GzbsfworderM'
  29202. type: array
  29203. "500":
  29204. description: Internal Server Error
  29205. schema:
  29206. $ref: '#/definitions/app.Response'
  29207. security:
  29208. - ApiKeyAuth: []
  29209. - LoginID: []
  29210. - Group: []
  29211. summary: 查询保税服务单据
  29212. tags:
  29213. - 广钻
  29214. /Guangzuan/QueryGZBSFWOrderDetail:
  29215. get:
  29216. parameters:
  29217. - description: 用户ID
  29218. in: query
  29219. name: userid
  29220. required: true
  29221. type: integer
  29222. - description: 单据ID
  29223. in: query
  29224. name: orderid
  29225. type: integer
  29226. - description: 页码
  29227. in: query
  29228. name: page
  29229. type: integer
  29230. - description: 每页条数
  29231. in: query
  29232. name: pagesize
  29233. type: integer
  29234. produces:
  29235. - application/json
  29236. responses:
  29237. "200":
  29238. description: OK
  29239. schema:
  29240. items:
  29241. $ref: '#/definitions/models.GzbsfworderdetailM'
  29242. type: array
  29243. "500":
  29244. description: Internal Server Error
  29245. schema:
  29246. $ref: '#/definitions/app.Response'
  29247. security:
  29248. - ApiKeyAuth: []
  29249. - LoginID: []
  29250. - Group: []
  29251. summary: 查询保税服务单据明细
  29252. tags:
  29253. - 广钻
  29254. /Guangzuan/QueryGZCJBSOrderFile:
  29255. get:
  29256. parameters:
  29257. - description: 单据ID
  29258. in: query
  29259. name: orderid
  29260. required: true
  29261. type: integer
  29262. - description: 页码
  29263. in: query
  29264. name: page
  29265. type: integer
  29266. - description: 每页条数
  29267. in: query
  29268. name: pagesize
  29269. type: integer
  29270. produces:
  29271. - application/json
  29272. responses:
  29273. "200":
  29274. description: OK
  29275. schema:
  29276. items:
  29277. $ref: '#/definitions/models.GzcjbsorderfileM'
  29278. type: array
  29279. "500":
  29280. description: Internal Server Error
  29281. schema:
  29282. $ref: '#/definitions/app.Response'
  29283. security:
  29284. - ApiKeyAuth: []
  29285. - LoginID: []
  29286. - Group: []
  29287. summary: 出境保税单据文件
  29288. tags:
  29289. - 广钻
  29290. /Guangzuan/QueryGZCJJCOrder:
  29291. get:
  29292. parameters:
  29293. - description: 用户ID
  29294. in: query
  29295. name: userid
  29296. required: true
  29297. type: integer
  29298. - description: 页码
  29299. in: query
  29300. name: page
  29301. type: integer
  29302. - description: 每页条数
  29303. in: query
  29304. name: pagesize
  29305. type: integer
  29306. produces:
  29307. - application/json
  29308. responses:
  29309. "200":
  29310. description: OK
  29311. schema:
  29312. items:
  29313. $ref: '#/definitions/models.GzcjjcorderM'
  29314. type: array
  29315. "500":
  29316. description: Internal Server Error
  29317. schema:
  29318. $ref: '#/definitions/app.Response'
  29319. security:
  29320. - ApiKeyAuth: []
  29321. - LoginID: []
  29322. - Group: []
  29323. summary: 查询出境检测单据
  29324. tags:
  29325. - 广钻
  29326. /Guangzuan/QueryGZCJJCOrderDetail:
  29327. get:
  29328. parameters:
  29329. - description: 用户ID
  29330. in: query
  29331. name: userid
  29332. required: true
  29333. type: integer
  29334. - description: 单据ID
  29335. in: query
  29336. name: orderid
  29337. type: integer
  29338. - description: 页码
  29339. in: query
  29340. name: page
  29341. type: integer
  29342. - description: 每页条数
  29343. in: query
  29344. name: pagesize
  29345. type: integer
  29346. produces:
  29347. - application/json
  29348. responses:
  29349. "200":
  29350. description: OK
  29351. schema:
  29352. items:
  29353. $ref: '#/definitions/models.GzcjjcorderdetailM'
  29354. type: array
  29355. "500":
  29356. description: Internal Server Error
  29357. schema:
  29358. $ref: '#/definitions/app.Response'
  29359. security:
  29360. - ApiKeyAuth: []
  29361. - LoginID: []
  29362. - Group: []
  29363. summary: 查询出境检测单据明细(批次信息)
  29364. tags:
  29365. - 广钻
  29366. /Guangzuan/QueryMemberReport:
  29367. get:
  29368. parameters:
  29369. - description: 用户ID
  29370. in: query
  29371. name: userid
  29372. required: true
  29373. type: integer
  29374. - description: 页码
  29375. in: query
  29376. name: page
  29377. type: integer
  29378. - description: 每页条数
  29379. in: query
  29380. name: pagesize
  29381. type: integer
  29382. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29383. in: query
  29384. name: cycletype
  29385. type: string
  29386. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29387. in: query
  29388. name: begindate
  29389. required: true
  29390. type: string
  29391. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29392. in: query
  29393. name: enddate
  29394. required: true
  29395. type: string
  29396. produces:
  29397. - application/json
  29398. responses:
  29399. "200":
  29400. description: OK
  29401. schema:
  29402. items:
  29403. $ref: '#/definitions/models.Reckondaytaaccount'
  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/QueryMyBargainApply:
  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:系统撤销 6:处理失败 7:确认中
  29433. in: query
  29434. name: applystatus
  29435. type: integer
  29436. - description: 查询类型 - 0:我的询价 1:我订单的询价
  29437. in: query
  29438. name: type
  29439. type: integer
  29440. - description: 关联委托单ID
  29441. in: query
  29442. name: wrtradeorderid
  29443. type: string
  29444. produces:
  29445. - application/json
  29446. responses:
  29447. "200":
  29448. description: OK
  29449. schema:
  29450. items:
  29451. $ref: '#/definitions/models.MyBargainApply'
  29452. type: array
  29453. "500":
  29454. description: Internal Server Error
  29455. schema:
  29456. $ref: '#/definitions/app.Response'
  29457. security:
  29458. - ApiKeyAuth: []
  29459. - LoginID: []
  29460. - Group: []
  29461. summary: 查询询价-求购
  29462. tags:
  29463. - 广钻
  29464. /Guangzuan/QueryMyBuyOrder:
  29465. get:
  29466. parameters:
  29467. - description: 用户ID
  29468. in: query
  29469. name: userid
  29470. required: true
  29471. type: integer
  29472. - description: 页码
  29473. in: query
  29474. name: page
  29475. type: integer
  29476. - description: 每页条数
  29477. in: query
  29478. name: pagesize
  29479. type: integer
  29480. - description: 商品(查询字段-模糊查询)
  29481. in: query
  29482. name: zsallproperties
  29483. type: string
  29484. - description: 钻石分类, 格式:1,2,3
  29485. in: query
  29486. name: zscategorys
  29487. type: string
  29488. - description: 委托单号
  29489. in: query
  29490. name: wrtradeorderid
  29491. type: integer
  29492. - description: 是否历史查询
  29493. in: query
  29494. name: ishis
  29495. type: boolean
  29496. - description: 开始交易日(yyyymmdd)
  29497. in: query
  29498. name: begindate
  29499. type: string
  29500. - description: 结束交易日(yyyymmdd)
  29501. in: query
  29502. name: enddate
  29503. type: string
  29504. produces:
  29505. - application/json
  29506. responses:
  29507. "200":
  29508. description: OK
  29509. schema:
  29510. items:
  29511. $ref: '#/definitions/models.MyBuyOrder'
  29512. type: array
  29513. "500":
  29514. description: Internal Server Error
  29515. schema:
  29516. $ref: '#/definitions/app.Response'
  29517. security:
  29518. - ApiKeyAuth: []
  29519. - LoginID: []
  29520. - Group: []
  29521. summary: 查询我的求购
  29522. tags:
  29523. - 广钻
  29524. /Guangzuan/QueryMyDeListing:
  29525. get:
  29526. parameters:
  29527. - description: 用户ID
  29528. in: query
  29529. name: userid
  29530. required: true
  29531. type: integer
  29532. - description: 页码
  29533. in: query
  29534. name: page
  29535. type: integer
  29536. - description: 每页条数
  29537. in: query
  29538. name: pagesize
  29539. type: integer
  29540. - description: 商品(查询字段-模糊查询)
  29541. in: query
  29542. name: zsallproperties
  29543. type: string
  29544. - description: 钻石分类, 格式:1,2,3
  29545. in: query
  29546. name: zscategorys
  29547. type: string
  29548. - description: 成交单号
  29549. in: query
  29550. name: wrtradedetailid
  29551. type: integer
  29552. - description: 方向,0-购买 1-出售
  29553. in: query
  29554. name: buyorsell
  29555. type: integer
  29556. - description: 对手方(模糊匹配)
  29557. in: query
  29558. name: matchusername
  29559. type: string
  29560. - description: 开始交易日(yyyymmdd)
  29561. in: query
  29562. name: begindate
  29563. type: string
  29564. - description: 结束交易日(yyyymmdd)
  29565. in: query
  29566. name: enddate
  29567. type: string
  29568. produces:
  29569. - application/json
  29570. responses:
  29571. "200":
  29572. description: OK
  29573. schema:
  29574. items:
  29575. $ref: '#/definitions/models.MyDeListing'
  29576. type: array
  29577. "500":
  29578. description: Internal Server Error
  29579. schema:
  29580. $ref: '#/definitions/app.Response'
  29581. security:
  29582. - ApiKeyAuth: []
  29583. - LoginID: []
  29584. - Group: []
  29585. summary: 查询我的摘牌
  29586. tags:
  29587. - 广钻
  29588. /Guangzuan/QueryMyDelistingApply:
  29589. get:
  29590. parameters:
  29591. - description: 用户ID
  29592. in: query
  29593. name: userid
  29594. required: true
  29595. type: integer
  29596. - description: 页码
  29597. in: query
  29598. name: page
  29599. type: integer
  29600. - description: 每页条数
  29601. in: query
  29602. name: pagesize
  29603. type: integer
  29604. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  29605. in: query
  29606. name: applystatus
  29607. type: integer
  29608. - description: 查询类型 - 0:我的询价 1:我订单的询价
  29609. in: query
  29610. name: type
  29611. type: integer
  29612. - description: 买委托单ID
  29613. in: query
  29614. name: buywrtradeorderid
  29615. type: string
  29616. produces:
  29617. - application/json
  29618. responses:
  29619. "200":
  29620. description: OK
  29621. schema:
  29622. items:
  29623. $ref: '#/definitions/models.MyDelistingApply'
  29624. type: array
  29625. "500":
  29626. description: Internal Server Error
  29627. schema:
  29628. $ref: '#/definitions/app.Response'
  29629. security:
  29630. - ApiKeyAuth: []
  29631. - LoginID: []
  29632. - Group: []
  29633. summary: 查询询价-出售
  29634. tags:
  29635. - 广钻
  29636. /Guangzuan/QueryMyFavorite:
  29637. get:
  29638. parameters:
  29639. - description: 用户ID
  29640. in: query
  29641. name: userid
  29642. required: true
  29643. type: integer
  29644. - description: 页码
  29645. in: query
  29646. name: page
  29647. type: integer
  29648. - description: 每页条数
  29649. in: query
  29650. name: pagesize
  29651. type: integer
  29652. - description: 钻石分类, 格式:1,2,3
  29653. in: query
  29654. name: zscategorys
  29655. type: string
  29656. produces:
  29657. - application/json
  29658. responses:
  29659. "200":
  29660. description: OK
  29661. schema:
  29662. items:
  29663. $ref: '#/definitions/models.MyFavorite'
  29664. type: array
  29665. "500":
  29666. description: Internal Server Error
  29667. schema:
  29668. $ref: '#/definitions/app.Response'
  29669. security:
  29670. - ApiKeyAuth: []
  29671. - LoginID: []
  29672. - Group: []
  29673. summary: 查询我的收藏
  29674. tags:
  29675. - 广钻
  29676. /Guangzuan/QueryMyPerformanc:
  29677. get:
  29678. parameters:
  29679. - description: 用户ID
  29680. in: query
  29681. name: userid
  29682. required: true
  29683. type: integer
  29684. - description: 页码
  29685. in: query
  29686. name: page
  29687. type: integer
  29688. - description: 每页条数
  29689. in: query
  29690. name: pagesize
  29691. type: integer
  29692. - description: 商品(查询字段-模糊查询)
  29693. in: query
  29694. name: zsallproperties
  29695. type: string
  29696. - description: 方向,0-买 1-卖
  29697. in: query
  29698. name: buyorsell
  29699. type: integer
  29700. - description: 是否历史查询
  29701. in: query
  29702. name: ishis
  29703. type: boolean
  29704. - description: 开始交易日(yyyymmdd)
  29705. in: query
  29706. name: begindate
  29707. type: string
  29708. - description: 结束交易日(yyyymmdd)
  29709. in: query
  29710. name: enddate
  29711. type: string
  29712. produces:
  29713. - application/json
  29714. responses:
  29715. "200":
  29716. description: OK
  29717. schema:
  29718. items:
  29719. $ref: '#/definitions/models.MyPerformanc'
  29720. type: array
  29721. "500":
  29722. description: Internal Server Error
  29723. schema:
  29724. $ref: '#/definitions/app.Response'
  29725. security:
  29726. - ApiKeyAuth: []
  29727. - LoginID: []
  29728. - Group: []
  29729. summary: 查询我的履约
  29730. tags:
  29731. - 广钻
  29732. /Guangzuan/QueryMySellOrder:
  29733. get:
  29734. parameters:
  29735. - description: 用户ID
  29736. in: query
  29737. name: userid
  29738. required: true
  29739. type: integer
  29740. - description: 页码
  29741. in: query
  29742. name: page
  29743. type: integer
  29744. - description: 每页条数
  29745. in: query
  29746. name: pagesize
  29747. type: integer
  29748. - description: 商品(查询字段-模糊查询)
  29749. in: query
  29750. name: zsallproperties
  29751. type: string
  29752. - description: 钻石分类, 格式:1,2,3
  29753. in: query
  29754. name: zscategorys
  29755. type: string
  29756. - description: 委托单号
  29757. in: query
  29758. name: wrtradeorderid
  29759. type: integer
  29760. - description: 是否历史查询
  29761. in: query
  29762. name: ishis
  29763. type: boolean
  29764. - description: 开始交易日(yyyymmdd)
  29765. in: query
  29766. name: begindate
  29767. type: string
  29768. - description: 结束交易日(yyyymmdd)
  29769. in: query
  29770. name: enddate
  29771. type: string
  29772. produces:
  29773. - application/json
  29774. responses:
  29775. "200":
  29776. description: OK
  29777. schema:
  29778. items:
  29779. $ref: '#/definitions/models.MySellOrder'
  29780. type: array
  29781. "500":
  29782. description: Internal Server Error
  29783. schema:
  29784. $ref: '#/definitions/app.Response'
  29785. security:
  29786. - ApiKeyAuth: []
  29787. - LoginID: []
  29788. - Group: []
  29789. summary: 查询我的出售
  29790. tags:
  29791. - 广钻
  29792. /Guangzuan/QueryMyWRPosition:
  29793. get:
  29794. parameters:
  29795. - description: 页码
  29796. in: query
  29797. name: page
  29798. type: integer
  29799. - description: 每页条数
  29800. in: query
  29801. name: pagesize
  29802. type: integer
  29803. - description: 登录用户ID
  29804. in: query
  29805. name: wruserid
  29806. required: true
  29807. type: integer
  29808. - description: 商品(查询字段-模糊查询)
  29809. in: query
  29810. name: zsallproperties
  29811. type: string
  29812. - description: 钻石分类, 格式:1,2,3
  29813. in: query
  29814. name: zscategorys
  29815. type: string
  29816. - description: 仓库ID
  29817. in: query
  29818. name: warehouseid
  29819. type: integer
  29820. - description: 是否上架,0-全部 1-是 2-否
  29821. in: query
  29822. name: marketflag
  29823. type: integer
  29824. produces:
  29825. - application/json
  29826. responses:
  29827. "200":
  29828. description: OK
  29829. schema:
  29830. items:
  29831. $ref: '#/definitions/models.MyWRPosition'
  29832. type: array
  29833. "500":
  29834. description: Internal Server Error
  29835. schema:
  29836. $ref: '#/definitions/app.Response'
  29837. security:
  29838. - ApiKeyAuth: []
  29839. - LoginID: []
  29840. - Group: []
  29841. summary: 查询我的库存
  29842. tags:
  29843. - 广钻
  29844. /Guangzuan/QuerySellOrder:
  29845. get:
  29846. parameters:
  29847. - description: 页码
  29848. in: query
  29849. name: page
  29850. type: integer
  29851. - description: 每页条数
  29852. in: query
  29853. name: pagesize
  29854. type: integer
  29855. - description: 商品(查询字段-模糊查询)
  29856. in: query
  29857. name: zsallproperties
  29858. type: string
  29859. - description: 钻石分类, 格式:1,2,3
  29860. in: query
  29861. name: zscategorys
  29862. type: string
  29863. - description: 委托单号
  29864. in: query
  29865. name: wrtradeorderid
  29866. type: integer
  29867. - description: 卖方(查询字段-模糊查询)
  29868. in: query
  29869. name: buyusername
  29870. type: string
  29871. produces:
  29872. - application/json
  29873. responses:
  29874. "200":
  29875. description: OK
  29876. schema:
  29877. items:
  29878. $ref: '#/definitions/models.SellOrder'
  29879. type: array
  29880. "500":
  29881. description: Internal Server Error
  29882. schema:
  29883. $ref: '#/definitions/app.Response'
  29884. security:
  29885. - ApiKeyAuth: []
  29886. - LoginID: []
  29887. - Group: []
  29888. summary: 查询出售大厅委托单
  29889. tags:
  29890. - 广钻
  29891. /Guangzuan/QueryTradeReport:
  29892. get:
  29893. parameters:
  29894. - description: 用户ID
  29895. in: query
  29896. name: userid
  29897. required: true
  29898. type: integer
  29899. - description: 页码
  29900. in: query
  29901. name: page
  29902. type: integer
  29903. - description: 每页条数
  29904. in: query
  29905. name: pagesize
  29906. type: integer
  29907. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29908. in: query
  29909. name: cycletype
  29910. type: string
  29911. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29912. in: query
  29913. name: begindate
  29914. required: true
  29915. type: string
  29916. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29917. in: query
  29918. name: enddate
  29919. required: true
  29920. type: string
  29921. - description: 商品分类
  29922. in: query
  29923. name: zscategory
  29924. type: integer
  29925. - description: 商品币种
  29926. in: query
  29927. name: zscurrencytype
  29928. type: integer
  29929. produces:
  29930. - application/json
  29931. responses:
  29932. "200":
  29933. description: OK
  29934. schema:
  29935. items:
  29936. $ref: '#/definitions/models.Reckongzmemtradesum'
  29937. type: array
  29938. "500":
  29939. description: Internal Server Error
  29940. schema:
  29941. $ref: '#/definitions/app.Response'
  29942. security:
  29943. - ApiKeyAuth: []
  29944. - LoginID: []
  29945. - Group: []
  29946. summary: 查询交易报表
  29947. tags:
  29948. - 广钻
  29949. /Guangzuan/QueryWRPositionReport:
  29950. get:
  29951. parameters:
  29952. - description: 用户ID
  29953. in: query
  29954. name: userid
  29955. required: true
  29956. type: integer
  29957. - description: 页码
  29958. in: query
  29959. name: page
  29960. type: integer
  29961. - description: 每页条数
  29962. in: query
  29963. name: pagesize
  29964. type: integer
  29965. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29966. in: query
  29967. name: cycletype
  29968. type: string
  29969. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29970. in: query
  29971. name: begindate
  29972. required: true
  29973. type: string
  29974. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29975. in: query
  29976. name: enddate
  29977. required: true
  29978. type: string
  29979. - description: 商品分类
  29980. in: query
  29981. name: zscategory
  29982. type: integer
  29983. - description: 商品币种
  29984. in: query
  29985. name: zscurrencytype
  29986. type: integer
  29987. produces:
  29988. - application/json
  29989. responses:
  29990. "200":
  29991. description: OK
  29992. schema:
  29993. items:
  29994. $ref: '#/definitions/models.WRPositionReport'
  29995. type: array
  29996. "500":
  29997. description: Internal Server Error
  29998. schema:
  29999. $ref: '#/definitions/app.Response'
  30000. security:
  30001. - ApiKeyAuth: []
  30002. - LoginID: []
  30003. - Group: []
  30004. summary: 查询仓储报表
  30005. tags:
  30006. - 广钻
  30007. /Guangzuan/QueryWarehouseInfo:
  30008. get:
  30009. parameters:
  30010. - description: 页码
  30011. in: query
  30012. name: page
  30013. type: integer
  30014. - description: 每页条数
  30015. in: query
  30016. name: pagesize
  30017. type: integer
  30018. - description: 用户ID
  30019. in: query
  30020. name: userid
  30021. required: true
  30022. type: integer
  30023. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  30024. in: query
  30025. name: status
  30026. type: string
  30027. - description: 是返回交易所仓库
  30028. in: query
  30029. name: isincludeexchange
  30030. type: boolean
  30031. produces:
  30032. - application/json
  30033. responses:
  30034. "200":
  30035. description: OK
  30036. schema:
  30037. items:
  30038. $ref: '#/definitions/models.GZWarehouseinfo'
  30039. type: array
  30040. "500":
  30041. description: Internal Server Error
  30042. schema:
  30043. $ref: '#/definitions/app.Response'
  30044. security:
  30045. - ApiKeyAuth: []
  30046. - LoginID: []
  30047. - Group: []
  30048. summary: 查询仓库信息
  30049. tags:
  30050. - 广钻
  30051. /Market/GetAllExExchanges:
  30052. get:
  30053. produces:
  30054. - application/json
  30055. responses:
  30056. "200":
  30057. description: OK
  30058. schema:
  30059. $ref: '#/definitions/models.Goods'
  30060. "500":
  30061. description: Internal Server Error
  30062. schema:
  30063. $ref: '#/definitions/app.Response'
  30064. security:
  30065. - ApiKeyAuth: []
  30066. summary: 获取所有外部交易所信息
  30067. tags:
  30068. - 通用市场
  30069. /Market/QueryGoodsesByLoginID:
  30070. get:
  30071. parameters:
  30072. - description: 登录账号
  30073. in: query
  30074. name: loginID
  30075. required: true
  30076. type: integer
  30077. - description: 市场ID列表,格式:1,2,3
  30078. in: query
  30079. name: marketIDs
  30080. type: string
  30081. produces:
  30082. - application/json
  30083. responses:
  30084. "200":
  30085. description: OK
  30086. schema:
  30087. $ref: '#/definitions/models.Goods'
  30088. "500":
  30089. description: Internal Server Error
  30090. schema:
  30091. $ref: '#/definitions/app.Response'
  30092. security:
  30093. - ApiKeyAuth: []
  30094. summary: 获取登录账号有权限的商品信息
  30095. tags:
  30096. - 通用市场
  30097. /Market/QueryMarketRun:
  30098. get:
  30099. parameters:
  30100. - description: 市场ID,不传返回所有
  30101. in: query
  30102. name: marketID
  30103. type: integer
  30104. produces:
  30105. - application/json
  30106. responses:
  30107. "200":
  30108. description: OK
  30109. schema:
  30110. $ref: '#/definitions/models.Marketrun'
  30111. "500":
  30112. description: Internal Server Error
  30113. schema:
  30114. $ref: '#/definitions/app.Response'
  30115. security:
  30116. - ApiKeyAuth: []
  30117. summary: 查询市场运行信息
  30118. tags:
  30119. - 通用市场
  30120. /Market/QueryMarketsByLoginID:
  30121. get:
  30122. parameters:
  30123. - description: 登录账号
  30124. in: query
  30125. name: loginID
  30126. required: true
  30127. type: integer
  30128. produces:
  30129. - application/json
  30130. responses:
  30131. "200":
  30132. description: OK
  30133. schema:
  30134. $ref: '#/definitions/models.Market'
  30135. "500":
  30136. description: Internal Server Error
  30137. schema:
  30138. $ref: '#/definitions/app.Response'
  30139. security:
  30140. - ApiKeyAuth: []
  30141. summary: 获取登录账号有权限的市场信息
  30142. tags:
  30143. - 通用市场
  30144. /Order/QueryHisTradeDetail:
  30145. get:
  30146. parameters:
  30147. - description: 资金账户 - 格式:1,2,3
  30148. in: query
  30149. name: accountID
  30150. required: true
  30151. type: string
  30152. - description: 成交单号
  30153. in: query
  30154. name: tradeID
  30155. type: integer
  30156. - description: 委托单号
  30157. in: query
  30158. name: orderID
  30159. type: integer
  30160. - description: 商品ID
  30161. in: query
  30162. name: goodsID
  30163. type: integer
  30164. - description: 交易模式 - 格式:1,2,3
  30165. in: query
  30166. name: tradeMode
  30167. type: string
  30168. - description: 委托单据类型
  30169. in: query
  30170. name: buildType
  30171. type: integer
  30172. - description: 成交类别 - 格式:1,2,3
  30173. in: query
  30174. name: tradeType
  30175. type: string
  30176. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30177. in: query
  30178. name: startDate
  30179. type: string
  30180. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30181. in: query
  30182. name: endDate
  30183. type: string
  30184. produces:
  30185. - application/json
  30186. responses:
  30187. "200":
  30188. description: OK
  30189. schema:
  30190. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  30191. "500":
  30192. description: Internal Server Error
  30193. schema:
  30194. $ref: '#/definitions/app.Response'
  30195. security:
  30196. - ApiKeyAuth: []
  30197. summary: 历史成交单查询(合约市场)
  30198. tags:
  30199. - 通用单据
  30200. /Order/QueryHisTradeOrderDetail:
  30201. get:
  30202. parameters:
  30203. - description: 资金账户 - 格式:1,2,3
  30204. in: query
  30205. name: accountID
  30206. required: true
  30207. type: string
  30208. - description: 交易模式 - 格式:1,2,3
  30209. in: query
  30210. name: tradeMode
  30211. type: string
  30212. - description: 委托状态 - 格式:1,2,3
  30213. in: query
  30214. name: orderStatus
  30215. type: string
  30216. - description: 委托单号
  30217. in: query
  30218. name: orderID
  30219. type: integer
  30220. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30221. in: query
  30222. name: startDate
  30223. type: string
  30224. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30225. in: query
  30226. name: endDate
  30227. type: string
  30228. produces:
  30229. - application/json
  30230. responses:
  30231. "200":
  30232. description: OK
  30233. schema:
  30234. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  30235. "500":
  30236. description: Internal Server Error
  30237. schema:
  30238. $ref: '#/definitions/app.Response'
  30239. security:
  30240. - ApiKeyAuth: []
  30241. summary: 历史委托单查询请求(合约市场)
  30242. tags:
  30243. - 通用单据
  30244. /Order/QueryTradeDetail:
  30245. get:
  30246. parameters:
  30247. - description: 资金账户 - 格式:1,2,3
  30248. in: query
  30249. name: accountID
  30250. required: true
  30251. type: string
  30252. - description: 成交单号
  30253. in: query
  30254. name: tradeID
  30255. type: integer
  30256. - description: 委托单号
  30257. in: query
  30258. name: orderID
  30259. type: integer
  30260. - description: 交易模式 - 格式:1,2,3
  30261. in: query
  30262. name: tradeMode
  30263. type: string
  30264. - description: 委托单据类型
  30265. in: query
  30266. name: buildType
  30267. type: integer
  30268. - description: 成交类别 - 格式:1,2,3
  30269. in: query
  30270. name: tradeType
  30271. type: string
  30272. - description: 商品ID
  30273. in: query
  30274. name: goodsID
  30275. type: integer
  30276. produces:
  30277. - application/json
  30278. responses:
  30279. "200":
  30280. description: OK
  30281. schema:
  30282. $ref: '#/definitions/order.QueryTradeDetailRsp'
  30283. "500":
  30284. description: Internal Server Error
  30285. schema:
  30286. $ref: '#/definitions/app.Response'
  30287. security:
  30288. - ApiKeyAuth: []
  30289. summary: 成交单查询(合约市场)
  30290. tags:
  30291. - 通用单据
  30292. /Order/QueryTradeHolderDetail:
  30293. get:
  30294. parameters:
  30295. - description: 用户id
  30296. in: query
  30297. name: userid
  30298. type: integer
  30299. - description: 资金账号, 格式 1,2,3
  30300. in: query
  30301. name: accids
  30302. type: string
  30303. - description: 交易模式, 格式 1,2,3
  30304. in: query
  30305. name: trademodes
  30306. type: string
  30307. - description: 市场id, 格式 1,2,3
  30308. in: query
  30309. name: marketids
  30310. type: string
  30311. - description: 商品id
  30312. in: query
  30313. name: goodsid
  30314. type: integer
  30315. - description: 买卖方向 0-买 1-卖
  30316. in: query
  30317. name: buyorsell
  30318. type: integer
  30319. produces:
  30320. - application/json
  30321. responses:
  30322. "200":
  30323. description: OK
  30324. schema:
  30325. items:
  30326. $ref: '#/definitions/models.TradeHolderDetail'
  30327. type: array
  30328. "500":
  30329. description: Internal Server Error
  30330. schema:
  30331. $ref: '#/definitions/app.Response'
  30332. security:
  30333. - ApiKeyAuth: []
  30334. summary: 查询持仓明细
  30335. tags:
  30336. - 通用单据
  30337. /Order/QueryTradeOrderDetail:
  30338. get:
  30339. parameters:
  30340. - description: 资金账户 - 格式:1,2,3
  30341. in: query
  30342. name: accountID
  30343. required: true
  30344. type: string
  30345. - description: 交易模式 - 格式:1,2,3
  30346. in: query
  30347. name: tradeMode
  30348. type: string
  30349. - description: 委托状态 - 格式:1,2,3
  30350. in: query
  30351. name: orderStatus
  30352. type: string
  30353. - description: 委托单号
  30354. in: query
  30355. name: orderID
  30356. type: integer
  30357. produces:
  30358. - application/json
  30359. responses:
  30360. "200":
  30361. description: OK
  30362. schema:
  30363. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  30364. "500":
  30365. description: Internal Server Error
  30366. schema:
  30367. $ref: '#/definitions/app.Response'
  30368. security:
  30369. - ApiKeyAuth: []
  30370. summary: 委托单查询请求(合约市场)
  30371. tags:
  30372. - 通用单据
  30373. /Order/QueryTradePosition:
  30374. get:
  30375. parameters:
  30376. - description: 资金账户 - 格式:1,2,3
  30377. in: query
  30378. name: accountID
  30379. required: true
  30380. type: string
  30381. - description: 交易模式 - 格式:1,2,3
  30382. in: query
  30383. name: tradeMode
  30384. type: string
  30385. produces:
  30386. - application/json
  30387. responses:
  30388. "200":
  30389. description: OK
  30390. schema:
  30391. $ref: '#/definitions/order.QueryTradePositionRsp'
  30392. "500":
  30393. description: Internal Server Error
  30394. schema:
  30395. $ref: '#/definitions/app.Response'
  30396. security:
  30397. - ApiKeyAuth: []
  30398. summary: 持仓汇总查询(合约市场)
  30399. tags:
  30400. - 通用单据
  30401. /Qhj/QueryAccountInOutApply:
  30402. get:
  30403. parameters:
  30404. - description: 用户ID
  30405. in: query
  30406. name: userid
  30407. required: true
  30408. type: integer
  30409. - description: 申请起始日期(格式yyyymmdd)
  30410. in: query
  30411. name: begindate
  30412. type: string
  30413. - description: 申请截止日期(格式yyyymmdd)
  30414. in: query
  30415. name: enddate
  30416. type: string
  30417. - description: 模糊搜索名称
  30418. in: query
  30419. name: likename
  30420. type: string
  30421. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  30422. in: query
  30423. name: applystatus
  30424. type: integer
  30425. - description: 查询类型 1-提现(出金) 2-充值(入金)
  30426. in: query
  30427. name: querytype
  30428. type: integer
  30429. produces:
  30430. - application/json
  30431. responses:
  30432. "200":
  30433. description: OK
  30434. schema:
  30435. items:
  30436. $ref: '#/definitions/models.QhjAccountOutInApply'
  30437. type: array
  30438. "500":
  30439. description: Internal Server Error
  30440. schema:
  30441. $ref: '#/definitions/app.Response'
  30442. security:
  30443. - ApiKeyAuth: []
  30444. summary: 查询充值提现
  30445. tags:
  30446. - 大连千海金
  30447. /Qhj/QueryAreaFinanceConfig:
  30448. get:
  30449. parameters:
  30450. - description: 机构用户ID 其他做市关系,都设置为 1
  30451. in: query
  30452. name: userid
  30453. type: integer
  30454. produces:
  30455. - application/json
  30456. responses:
  30457. "200":
  30458. description: OK
  30459. schema:
  30460. items:
  30461. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  30462. type: array
  30463. "500":
  30464. description: Internal Server Error
  30465. schema:
  30466. $ref: '#/definitions/app.Response'
  30467. security:
  30468. - ApiKeyAuth: []
  30469. summary: 查询企业配置表
  30470. tags:
  30471. - 大连千海金
  30472. /Qhj/QueryBankAccountSign:
  30473. get:
  30474. parameters:
  30475. - description: 用户ID
  30476. in: query
  30477. name: userid
  30478. required: true
  30479. type: integer
  30480. produces:
  30481. - application/json
  30482. responses:
  30483. "200":
  30484. description: OK
  30485. schema:
  30486. items:
  30487. $ref: '#/definitions/models.QhjBankAccountSign'
  30488. type: array
  30489. "500":
  30490. description: Internal Server Error
  30491. schema:
  30492. $ref: '#/definitions/app.Response'
  30493. security:
  30494. - ApiKeyAuth: []
  30495. summary: 查询签约银行信息(提现账户管理)
  30496. tags:
  30497. - 大连千海金
  30498. /Qhj/QueryBankInfo:
  30499. get:
  30500. produces:
  30501. - application/json
  30502. responses:
  30503. "200":
  30504. description: OK
  30505. schema:
  30506. items:
  30507. $ref: '#/definitions/models.QhjBankInfo'
  30508. type: array
  30509. "500":
  30510. description: Internal Server Error
  30511. schema:
  30512. $ref: '#/definitions/app.Response'
  30513. security:
  30514. - ApiKeyAuth: []
  30515. summary: 查询开户行
  30516. tags:
  30517. - 大连千海金
  30518. /Qhj/QueryBrokerApply:
  30519. get:
  30520. parameters:
  30521. - description: 所属机构ID
  30522. in: query
  30523. name: userid
  30524. type: integer
  30525. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  30526. in: query
  30527. name: filterstatus
  30528. type: string
  30529. produces:
  30530. - application/json
  30531. responses:
  30532. "200":
  30533. description: OK
  30534. schema:
  30535. items:
  30536. $ref: '#/definitions/models.QhjBrokerApply'
  30537. type: array
  30538. "500":
  30539. description: Internal Server Error
  30540. schema:
  30541. $ref: '#/definitions/app.Response'
  30542. security:
  30543. - ApiKeyAuth: []
  30544. summary: 查询经纪人申请
  30545. tags:
  30546. - 大连千海金
  30547. /Qhj/QueryBrokerApplyEx:
  30548. get:
  30549. parameters:
  30550. - description: 所属机构ID
  30551. in: query
  30552. name: userid
  30553. type: integer
  30554. produces:
  30555. - application/json
  30556. responses:
  30557. "200":
  30558. description: OK
  30559. schema:
  30560. items:
  30561. $ref: '#/definitions/models.QhjBrokerApplyEx'
  30562. type: array
  30563. "500":
  30564. description: Internal Server Error
  30565. schema:
  30566. $ref: '#/definitions/app.Response'
  30567. security:
  30568. - ApiKeyAuth: []
  30569. summary: 查询经纪人信息和申请记录
  30570. tags:
  30571. - 大连千海金
  30572. /Qhj/QueryBrokerRewardLog:
  30573. get:
  30574. parameters:
  30575. - description: 用户ID
  30576. in: query
  30577. name: userid
  30578. required: true
  30579. type: integer
  30580. - description: 开始交易日(yyyymmdd)
  30581. in: query
  30582. name: begindate
  30583. type: string
  30584. - description: 结束交易日(yyyymmdd)
  30585. in: query
  30586. name: enddate
  30587. type: string
  30588. produces:
  30589. - application/json
  30590. responses:
  30591. "200":
  30592. description: OK
  30593. schema:
  30594. items:
  30595. $ref: '#/definitions/models.QhjBrokerRewardLog'
  30596. type: array
  30597. "500":
  30598. description: Internal Server Error
  30599. schema:
  30600. $ref: '#/definitions/app.Response'
  30601. security:
  30602. - ApiKeyAuth: []
  30603. summary: 查询奖励流水(我的奖励)
  30604. tags:
  30605. - 大连千海金
  30606. /Qhj/QueryContract:
  30607. get:
  30608. parameters:
  30609. - description: 用户ID
  30610. in: query
  30611. name: userid
  30612. type: integer
  30613. - description: scf合同id
  30614. in: query
  30615. name: scfcontractid
  30616. type: integer
  30617. produces:
  30618. - application/json
  30619. responses:
  30620. "200":
  30621. description: OK
  30622. schema:
  30623. items:
  30624. $ref: '#/definitions/models.QhjContract'
  30625. type: array
  30626. "500":
  30627. description: Internal Server Error
  30628. schema:
  30629. $ref: '#/definitions/app.Response'
  30630. security:
  30631. - ApiKeyAuth: []
  30632. summary: 查询融资明细(合同)
  30633. tags:
  30634. - 大连千海金
  30635. /Qhj/QueryContractLog:
  30636. get:
  30637. parameters:
  30638. - description: scf合同id
  30639. in: query
  30640. name: scfcontractid
  30641. required: true
  30642. type: integer
  30643. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  30644. in: query
  30645. name: amounttype
  30646. type: string
  30647. produces:
  30648. - application/json
  30649. responses:
  30650. "200":
  30651. description: OK
  30652. schema:
  30653. items:
  30654. $ref: '#/definitions/models.QhjContractLog'
  30655. type: array
  30656. "500":
  30657. description: Internal Server Error
  30658. schema:
  30659. $ref: '#/definitions/app.Response'
  30660. security:
  30661. - ApiKeyAuth: []
  30662. summary: 查询融资明细流水(融资明细详情页中的流水)
  30663. tags:
  30664. - 大连千海金
  30665. /Qhj/QueryCusBankSignBank:
  30666. get:
  30667. produces:
  30668. - application/json
  30669. responses:
  30670. "200":
  30671. description: OK
  30672. schema:
  30673. items:
  30674. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  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/QueryCustomerInfo:
  30686. get:
  30687. parameters:
  30688. - description: 用户ID
  30689. in: query
  30690. name: userid
  30691. required: true
  30692. type: integer
  30693. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  30694. in: query
  30695. name: querytype
  30696. required: true
  30697. type: integer
  30698. - description: 客户类型 1-个人 2-企业
  30699. in: query
  30700. name: userinfotype
  30701. type: integer
  30702. - description: 客户名称(模糊匹配)
  30703. in: query
  30704. name: customername
  30705. type: string
  30706. - description: 昵称(模糊匹配)
  30707. in: query
  30708. name: nickname
  30709. type: string
  30710. - description: 是否包含子级 1-包含
  30711. in: query
  30712. name: includesub
  30713. type: integer
  30714. produces:
  30715. - application/json
  30716. responses:
  30717. "200":
  30718. description: OK
  30719. schema:
  30720. items:
  30721. $ref: '#/definitions/models.QhjCustomer'
  30722. type: array
  30723. "500":
  30724. description: Internal Server Error
  30725. schema:
  30726. $ref: '#/definitions/app.Response'
  30727. security:
  30728. - ApiKeyAuth: []
  30729. summary: 查询客户资料
  30730. tags:
  30731. - 大连千海金
  30732. /Qhj/QueryGoodsEx:
  30733. get:
  30734. parameters:
  30735. - description: 商品id
  30736. in: query
  30737. name: goodsid
  30738. type: integer
  30739. produces:
  30740. - application/json
  30741. responses:
  30742. "200":
  30743. description: OK
  30744. schema:
  30745. items:
  30746. $ref: '#/definitions/models.Qhjgoodsex'
  30747. type: array
  30748. "500":
  30749. description: Internal Server Error
  30750. schema:
  30751. $ref: '#/definitions/app.Response'
  30752. security:
  30753. - ApiKeyAuth: []
  30754. summary: 交易商品扩展表
  30755. tags:
  30756. - 大连千海金
  30757. /Qhj/QueryMyTeam:
  30758. get:
  30759. parameters:
  30760. - description: 用户ID
  30761. in: query
  30762. name: userid
  30763. required: true
  30764. type: integer
  30765. produces:
  30766. - application/json
  30767. responses:
  30768. "200":
  30769. description: OK
  30770. schema:
  30771. items:
  30772. $ref: '#/definitions/models.QhjMyTeamEx'
  30773. type: array
  30774. "500":
  30775. description: Internal Server Error
  30776. schema:
  30777. $ref: '#/definitions/app.Response'
  30778. security:
  30779. - ApiKeyAuth: []
  30780. summary: 查询我的团队
  30781. tags:
  30782. - 大连千海金
  30783. /Qhj/QueryMyTeamOrder:
  30784. get:
  30785. parameters:
  30786. - description: 页码
  30787. in: query
  30788. name: page
  30789. type: integer
  30790. - description: 每页条数
  30791. in: query
  30792. name: pagesize
  30793. type: integer
  30794. - description: 用户ID
  30795. in: query
  30796. name: userid
  30797. required: true
  30798. type: integer
  30799. - description: 交易模式
  30800. in: query
  30801. name: trademode
  30802. type: integer
  30803. - description: 名称(模糊搜索账户)
  30804. in: query
  30805. name: filtername
  30806. type: string
  30807. produces:
  30808. - application/json
  30809. responses:
  30810. "200":
  30811. description: OK
  30812. schema:
  30813. items:
  30814. $ref: '#/definitions/models.QhjTeamOrder'
  30815. type: array
  30816. "500":
  30817. description: Internal Server Error
  30818. schema:
  30819. $ref: '#/definitions/app.Response'
  30820. security:
  30821. - ApiKeyAuth: []
  30822. summary: 查询团队订单(我的团队/团队订单)
  30823. tags:
  30824. - 大连千海金
  30825. /Qhj/QueryParentAreaList:
  30826. get:
  30827. parameters:
  30828. - description: 用户ID
  30829. in: query
  30830. name: userid
  30831. required: true
  30832. type: integer
  30833. produces:
  30834. - application/json
  30835. responses:
  30836. "200":
  30837. description: OK
  30838. schema:
  30839. items:
  30840. $ref: '#/definitions/models.QhjParentAreaList'
  30841. type: array
  30842. "500":
  30843. description: Internal Server Error
  30844. schema:
  30845. $ref: '#/definitions/app.Response'
  30846. security:
  30847. - ApiKeyAuth: []
  30848. summary: 查询所属机构列表
  30849. tags:
  30850. - 大连千海金
  30851. /Qhj/QueryPayOrder:
  30852. get:
  30853. parameters:
  30854. - description: 资金账号id
  30855. in: query
  30856. name: accountid
  30857. required: true
  30858. type: integer
  30859. - description: 成交单号
  30860. in: query
  30861. name: tradeid
  30862. type: integer
  30863. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30864. in: query
  30865. name: payflag
  30866. type: string
  30867. produces:
  30868. - application/json
  30869. responses:
  30870. "200":
  30871. description: OK
  30872. schema:
  30873. items:
  30874. $ref: '#/definitions/models.QhjPayOrder'
  30875. type: array
  30876. "500":
  30877. description: Internal Server Error
  30878. schema:
  30879. $ref: '#/definitions/app.Response'
  30880. security:
  30881. - ApiKeyAuth: []
  30882. summary: 查询待付款单据
  30883. tags:
  30884. - 大连千海金
  30885. /Qhj/QueryPickArea:
  30886. get:
  30887. parameters:
  30888. - description: 用户ID
  30889. in: query
  30890. name: userid
  30891. type: integer
  30892. produces:
  30893. - application/json
  30894. responses:
  30895. "200":
  30896. description: OK
  30897. schema:
  30898. items:
  30899. $ref: '#/definitions/models.QhjPickArea'
  30900. type: array
  30901. "500":
  30902. description: Internal Server Error
  30903. schema:
  30904. $ref: '#/definitions/app.Response'
  30905. security:
  30906. - ApiKeyAuth: []
  30907. summary: 查询提货门店
  30908. tags:
  30909. - 大连千海金
  30910. /Qhj/QueryPickGoods:
  30911. get:
  30912. parameters:
  30913. - description: 交易商品id
  30914. in: query
  30915. name: goodsid
  30916. required: true
  30917. type: integer
  30918. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  30919. in: query
  30920. name: status
  30921. type: string
  30922. produces:
  30923. - application/json
  30924. responses:
  30925. "200":
  30926. description: OK
  30927. schema:
  30928. items:
  30929. $ref: '#/definitions/models.QhjPickGoods'
  30930. type: array
  30931. "500":
  30932. description: Internal Server Error
  30933. schema:
  30934. $ref: '#/definitions/app.Response'
  30935. security:
  30936. - ApiKeyAuth: []
  30937. summary: 查询提货商品
  30938. tags:
  30939. - 大连千海金
  30940. /Qhj/QueryRSTriggerLog:
  30941. get:
  30942. parameters:
  30943. - description: 用户ID
  30944. in: query
  30945. name: userid
  30946. type: integer
  30947. - description: 定投策略id
  30948. in: query
  30949. name: regularlystrategyid
  30950. type: integer
  30951. - description: 商品id
  30952. in: query
  30953. name: goodsid
  30954. type: integer
  30955. - description: 开始交易日(yyyymmdd)
  30956. in: query
  30957. name: begindate
  30958. type: string
  30959. - description: 结束交易日(yyyymmdd)
  30960. in: query
  30961. name: enddate
  30962. type: string
  30963. - description: 名称(模糊搜索账户)
  30964. in: query
  30965. name: filtername
  30966. type: string
  30967. produces:
  30968. - application/json
  30969. responses:
  30970. "200":
  30971. description: OK
  30972. schema:
  30973. items:
  30974. $ref: '#/definitions/models.QhjRSTriggerLog'
  30975. type: array
  30976. "500":
  30977. description: Internal Server Error
  30978. schema:
  30979. $ref: '#/definitions/app.Response'
  30980. security:
  30981. - ApiKeyAuth: []
  30982. summary: 查询定投记录(定投管理/详情/定投记录)
  30983. tags:
  30984. - 大连千海金
  30985. /Qhj/QueryRStrategy:
  30986. get:
  30987. parameters:
  30988. - description: 用户ID
  30989. in: query
  30990. name: userid
  30991. type: integer
  30992. - description: 商品id
  30993. in: query
  30994. name: goodsid
  30995. type: integer
  30996. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  30997. in: query
  30998. name: status
  30999. type: string
  31000. - description: 名称(模糊搜索账户)
  31001. in: query
  31002. name: filtername
  31003. type: string
  31004. produces:
  31005. - application/json
  31006. responses:
  31007. "200":
  31008. description: OK
  31009. schema:
  31010. items:
  31011. $ref: '#/definitions/models.QhjRStrategy'
  31012. type: array
  31013. "500":
  31014. description: Internal Server Error
  31015. schema:
  31016. $ref: '#/definitions/app.Response'
  31017. security:
  31018. - ApiKeyAuth: []
  31019. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  31020. tags:
  31021. - 大连千海金
  31022. /Qhj/QueryReckonPriceLog:
  31023. get:
  31024. parameters:
  31025. - description: 商品ID
  31026. in: query
  31027. name: goodsid
  31028. type: integer
  31029. - description: 交易日 格式(yyyymmdd)
  31030. in: query
  31031. name: tradedate
  31032. type: string
  31033. produces:
  31034. - application/json
  31035. responses:
  31036. "200":
  31037. description: OK
  31038. schema:
  31039. items:
  31040. $ref: '#/definitions/models.QhjReckonPriceLog'
  31041. type: array
  31042. "500":
  31043. description: Internal Server Error
  31044. schema:
  31045. $ref: '#/definitions/app.Response'
  31046. security:
  31047. - ApiKeyAuth: []
  31048. summary: 查询定投价(结算价)
  31049. tags:
  31050. - 大连千海金
  31051. /Qhj/QueryScoreLog:
  31052. get:
  31053. parameters:
  31054. - description: 用户ID
  31055. in: query
  31056. name: userid
  31057. required: true
  31058. type: integer
  31059. - description: 开始交易日(yyyymmdd)
  31060. in: query
  31061. name: begindate
  31062. type: string
  31063. - description: 结束交易日(yyyymmdd)
  31064. in: query
  31065. name: enddate
  31066. type: string
  31067. - description: 最近多少条
  31068. in: query
  31069. name: lastnum
  31070. type: integer
  31071. produces:
  31072. - application/json
  31073. responses:
  31074. "200":
  31075. description: OK
  31076. schema:
  31077. items:
  31078. $ref: '#/definitions/models.QhjScoreLog'
  31079. type: array
  31080. "500":
  31081. description: Internal Server Error
  31082. schema:
  31083. $ref: '#/definitions/app.Response'
  31084. security:
  31085. - ApiKeyAuth: []
  31086. summary: 查询积分流水(我的积分)
  31087. tags:
  31088. - 大连千海金
  31089. /Qhj/QuerySiteColumnDetail:
  31090. get:
  31091. parameters:
  31092. - description: 用户ID
  31093. in: query
  31094. name: userid
  31095. required: true
  31096. type: integer
  31097. produces:
  31098. - application/json
  31099. responses:
  31100. "200":
  31101. description: OK
  31102. schema:
  31103. items:
  31104. $ref: '#/definitions/models.QhjSiteColumnDetail'
  31105. type: array
  31106. "500":
  31107. description: Internal Server Error
  31108. schema:
  31109. $ref: '#/definitions/app.Response'
  31110. security:
  31111. - ApiKeyAuth: []
  31112. summary: 查询资讯
  31113. tags:
  31114. - 大连千海金
  31115. /Qhj/QueryTradeGoodsPickup:
  31116. get:
  31117. parameters:
  31118. - description: 用户ID
  31119. in: query
  31120. name: userid
  31121. required: true
  31122. type: integer
  31123. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  31124. 7:已拒绝 8:已撤销
  31125. in: query
  31126. name: takeorderstatus
  31127. type: integer
  31128. produces:
  31129. - application/json
  31130. responses:
  31131. "200":
  31132. description: OK
  31133. schema:
  31134. items:
  31135. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  31136. type: array
  31137. "500":
  31138. description: Internal Server Error
  31139. schema:
  31140. $ref: '#/definitions/app.Response'
  31141. security:
  31142. - ApiKeyAuth: []
  31143. summary: 查询提货
  31144. tags:
  31145. - 大连千海金
  31146. /Qhj/QueryUserCollectConfig:
  31147. get:
  31148. parameters:
  31149. - description: 用户ID
  31150. in: query
  31151. name: userid
  31152. required: true
  31153. type: integer
  31154. produces:
  31155. - application/json
  31156. responses:
  31157. "200":
  31158. description: OK
  31159. schema:
  31160. items:
  31161. $ref: '#/definitions/models.UserCollectConfig'
  31162. type: array
  31163. "500":
  31164. description: Internal Server Error
  31165. schema:
  31166. $ref: '#/definitions/app.Response'
  31167. security:
  31168. - ApiKeyAuth: []
  31169. summary: 查询提现账户设置
  31170. tags:
  31171. - 大连千海金
  31172. /Qhj/QueryUserReceiveInfo:
  31173. get:
  31174. parameters:
  31175. - description: 用户ID
  31176. in: query
  31177. name: userid
  31178. required: true
  31179. type: integer
  31180. produces:
  31181. - application/json
  31182. responses:
  31183. "200":
  31184. description: OK
  31185. schema:
  31186. items:
  31187. $ref: '#/definitions/models.UserReceiveInfo'
  31188. type: array
  31189. "500":
  31190. description: Internal Server Error
  31191. schema:
  31192. $ref: '#/definitions/app.Response'
  31193. security:
  31194. - ApiKeyAuth: []
  31195. summary: 查询收货地址信息
  31196. tags:
  31197. - 大连千海金
  31198. /QhjMgr/QueryAccountInOutApply:
  31199. get:
  31200. parameters:
  31201. - description: 查询类型 1-提现(出金) 2-充值(出金)
  31202. in: query
  31203. name: querytype
  31204. required: true
  31205. type: integer
  31206. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  31207. in: query
  31208. name: applystatus
  31209. type: integer
  31210. - description: 申请起始日期(格式yyyymmdd)
  31211. in: query
  31212. name: begindate
  31213. type: string
  31214. - description: 申请截止日期(格式yyyymmdd)
  31215. in: query
  31216. name: enddate
  31217. type: string
  31218. - description: 模糊搜索名称
  31219. in: query
  31220. name: likename
  31221. type: string
  31222. produces:
  31223. - application/json
  31224. responses:
  31225. "200":
  31226. description: OK
  31227. schema:
  31228. items:
  31229. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  31230. type: array
  31231. "500":
  31232. description: Internal Server Error
  31233. schema:
  31234. $ref: '#/definitions/app.Response'
  31235. security:
  31236. - ApiKeyAuth: []
  31237. summary: 查询充值提现
  31238. tags:
  31239. - 大连千海金(PCWeb)
  31240. /QhjMgr/QueryBrokerApply:
  31241. get:
  31242. parameters:
  31243. - description: 所属机构ID
  31244. in: query
  31245. name: userid
  31246. type: integer
  31247. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  31248. in: query
  31249. name: filterstatus
  31250. type: string
  31251. - description: 名称(模糊匹配)
  31252. in: query
  31253. name: filtername
  31254. type: string
  31255. - description: 是否包含子级 1-包含
  31256. in: query
  31257. name: includesub
  31258. type: integer
  31259. produces:
  31260. - application/json
  31261. responses:
  31262. "200":
  31263. description: OK
  31264. schema:
  31265. items:
  31266. $ref: '#/definitions/models.QhjMgrBrokerApply'
  31267. type: array
  31268. "500":
  31269. description: Internal Server Error
  31270. schema:
  31271. $ref: '#/definitions/app.Response'
  31272. security:
  31273. - ApiKeyAuth: []
  31274. summary: 查询经纪人申请
  31275. tags:
  31276. - 大连千海金(PCWeb)
  31277. /QhjMgr/QueryBrokerRewardReport:
  31278. get:
  31279. parameters:
  31280. - description: 所属机构ID
  31281. in: query
  31282. name: userid
  31283. required: true
  31284. type: integer
  31285. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  31286. in: query
  31287. name: cycletype
  31288. required: true
  31289. type: integer
  31290. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  31291. in: query
  31292. name: cycletime
  31293. required: true
  31294. type: string
  31295. - description: 名称(模糊匹配)
  31296. in: query
  31297. name: filtername
  31298. type: string
  31299. - description: 是否包含子级 1-包含
  31300. in: query
  31301. name: includesub
  31302. type: integer
  31303. produces:
  31304. - application/json
  31305. responses:
  31306. "200":
  31307. description: OK
  31308. schema:
  31309. items:
  31310. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  31311. type: array
  31312. "500":
  31313. description: Internal Server Error
  31314. schema:
  31315. $ref: '#/definitions/app.Response'
  31316. security:
  31317. - ApiKeyAuth: []
  31318. summary: 查询经纪人奖励报表(废弃)
  31319. tags:
  31320. - 大连千海金(PCWeb)
  31321. /QhjMgr/QueryContract:
  31322. get:
  31323. parameters:
  31324. - description: 用户ID
  31325. in: query
  31326. name: userid
  31327. type: integer
  31328. - description: 商品id
  31329. in: query
  31330. name: goodsid
  31331. type: integer
  31332. - description: 名称(模糊搜索账户)
  31333. in: query
  31334. name: filtername
  31335. type: string
  31336. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  31337. in: query
  31338. name: risklevel
  31339. type: string
  31340. - description: 开始交易日(yyyymmdd)
  31341. in: query
  31342. name: begindate
  31343. type: string
  31344. - description: 结束交易日(yyyymmdd)
  31345. in: query
  31346. name: enddate
  31347. type: string
  31348. produces:
  31349. - application/json
  31350. responses:
  31351. "200":
  31352. description: OK
  31353. schema:
  31354. items:
  31355. $ref: '#/definitions/models.QhjMgrContract'
  31356. type: array
  31357. "500":
  31358. description: Internal Server Error
  31359. schema:
  31360. $ref: '#/definitions/app.Response'
  31361. security:
  31362. - ApiKeyAuth: []
  31363. summary: 查询融资信息(合同)
  31364. tags:
  31365. - 大连千海金(PCWeb)
  31366. /QhjMgr/QueryCustomerInfo:
  31367. get:
  31368. parameters:
  31369. - description: 用户ID
  31370. in: query
  31371. name: userid
  31372. required: true
  31373. type: integer
  31374. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  31375. in: query
  31376. name: querytype
  31377. required: true
  31378. type: integer
  31379. - description: 客户类型 1-个人 2-企业
  31380. in: query
  31381. name: userinfotype
  31382. type: integer
  31383. - description: 客户名称(模糊匹配)
  31384. in: query
  31385. name: customername
  31386. type: string
  31387. - description: 昵称(模糊匹配)
  31388. in: query
  31389. name: nickname
  31390. type: string
  31391. - description: 所属客户经理(模糊匹配)
  31392. in: query
  31393. name: brokername
  31394. type: string
  31395. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  31396. 如0503 -5月3日)
  31397. in: query
  31398. name: birthday
  31399. type: string
  31400. - description: 是否包含子级 1-包含
  31401. in: query
  31402. name: includesub
  31403. type: integer
  31404. produces:
  31405. - application/json
  31406. responses:
  31407. "200":
  31408. description: OK
  31409. schema:
  31410. items:
  31411. $ref: '#/definitions/models.QhjMgrCustomer'
  31412. type: array
  31413. "500":
  31414. description: Internal Server Error
  31415. schema:
  31416. $ref: '#/definitions/app.Response'
  31417. security:
  31418. - ApiKeyAuth: []
  31419. summary: 查询客户资料
  31420. tags:
  31421. - 大连千海金(PCWeb)
  31422. /QhjMgr/QueryPickGoods:
  31423. get:
  31424. parameters:
  31425. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  31426. in: query
  31427. name: status
  31428. type: string
  31429. produces:
  31430. - application/json
  31431. responses:
  31432. "200":
  31433. description: OK
  31434. schema:
  31435. items:
  31436. $ref: '#/definitions/models.QhjMgrPickGoods'
  31437. type: array
  31438. "500":
  31439. description: Internal Server Error
  31440. schema:
  31441. $ref: '#/definitions/app.Response'
  31442. security:
  31443. - ApiKeyAuth: []
  31444. summary: 查询提货商品
  31445. tags:
  31446. - 大连千海金(PCWeb)
  31447. /QhjMgr/QuerySubArea:
  31448. get:
  31449. parameters:
  31450. - description: 用户ID
  31451. in: query
  31452. name: userid
  31453. required: true
  31454. type: integer
  31455. produces:
  31456. - application/json
  31457. responses:
  31458. "200":
  31459. description: OK
  31460. schema:
  31461. items:
  31462. $ref: '#/definitions/models.QhjMgrSubArea'
  31463. type: array
  31464. "500":
  31465. description: Internal Server Error
  31466. schema:
  31467. $ref: '#/definitions/app.Response'
  31468. security:
  31469. - ApiKeyAuth: []
  31470. summary: 查询子机构列表
  31471. tags:
  31472. - 大连千海金(PCWeb)
  31473. /QhjMgr/QueryTradeDetail:
  31474. get:
  31475. parameters:
  31476. - description: 用户ID
  31477. in: query
  31478. name: userid
  31479. required: true
  31480. type: integer
  31481. - description: 用户类型 1-个人 2-企业
  31482. in: query
  31483. name: userinfotype
  31484. type: integer
  31485. - description: 交易模式
  31486. in: query
  31487. name: trademode
  31488. type: integer
  31489. - description: 商品id
  31490. in: query
  31491. name: goodsid
  31492. type: integer
  31493. - description: 名称(模糊搜索账户)
  31494. in: query
  31495. name: filtername
  31496. type: string
  31497. - description: 开始交易日(yyyymmdd)
  31498. in: query
  31499. name: begindate
  31500. type: string
  31501. - description: 结束交易日(yyyymmdd)
  31502. in: query
  31503. name: enddate
  31504. type: string
  31505. - description: 是否包含子级 1-包含
  31506. in: query
  31507. name: includesub
  31508. type: integer
  31509. produces:
  31510. - application/json
  31511. responses:
  31512. "200":
  31513. description: OK
  31514. schema:
  31515. items:
  31516. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  31517. type: array
  31518. "500":
  31519. description: Internal Server Error
  31520. schema:
  31521. $ref: '#/definitions/app.Response'
  31522. security:
  31523. - ApiKeyAuth: []
  31524. summary: 查询成交明细
  31525. tags:
  31526. - 大连千海金(PCWeb)
  31527. /QhjMgr/QueryTradeOrderDetail:
  31528. get:
  31529. parameters:
  31530. - description: 用户ID
  31531. in: query
  31532. name: userid
  31533. required: true
  31534. type: integer
  31535. - description: 用户类型 1-个人 2-企业
  31536. in: query
  31537. name: userinfotype
  31538. type: integer
  31539. - description: 交易模式
  31540. in: query
  31541. name: trademode
  31542. type: integer
  31543. - description: 商品id
  31544. in: query
  31545. name: goodsid
  31546. type: integer
  31547. - description: 名称(模糊搜索账户)
  31548. in: query
  31549. name: filtername
  31550. type: string
  31551. - description: 开始交易日(yyyymmdd)
  31552. in: query
  31553. name: begindate
  31554. type: string
  31555. - description: 结束交易日(yyyymmdd)
  31556. in: query
  31557. name: enddate
  31558. type: string
  31559. - description: 是否包含子级 1-包含
  31560. in: query
  31561. name: includesub
  31562. type: integer
  31563. produces:
  31564. - application/json
  31565. responses:
  31566. "200":
  31567. description: OK
  31568. schema:
  31569. items:
  31570. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  31571. type: array
  31572. "500":
  31573. description: Internal Server Error
  31574. schema:
  31575. $ref: '#/definitions/app.Response'
  31576. security:
  31577. - ApiKeyAuth: []
  31578. summary: 查询委托明细
  31579. tags:
  31580. - 大连千海金(PCWeb)
  31581. /QhjMgr/QueryTradePayOrder:
  31582. get:
  31583. parameters:
  31584. - description: 用户ID
  31585. in: query
  31586. name: userid
  31587. required: true
  31588. type: integer
  31589. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  31590. in: query
  31591. name: payflag
  31592. type: string
  31593. - description: 用户类型 1-个人 2-企业
  31594. in: query
  31595. name: userinfotype
  31596. type: integer
  31597. - description: 交易模式
  31598. in: query
  31599. name: trademode
  31600. type: integer
  31601. - description: 商品id
  31602. in: query
  31603. name: goodsid
  31604. type: integer
  31605. - description: 名称(模糊搜索账户)
  31606. in: query
  31607. name: filtername
  31608. type: string
  31609. - description: 开始交易日(yyyymmdd)
  31610. in: query
  31611. name: begindate
  31612. type: string
  31613. - description: 结束交易日(yyyymmdd)
  31614. in: query
  31615. name: enddate
  31616. type: string
  31617. - description: 是否包含子级 1-包含
  31618. in: query
  31619. name: includesub
  31620. type: integer
  31621. produces:
  31622. - application/json
  31623. responses:
  31624. "200":
  31625. description: OK
  31626. schema:
  31627. items:
  31628. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  31629. type: array
  31630. "500":
  31631. description: Internal Server Error
  31632. schema:
  31633. $ref: '#/definitions/app.Response'
  31634. security:
  31635. - ApiKeyAuth: []
  31636. summary: 查询待付款单
  31637. tags:
  31638. - 大连千海金(PCWeb)
  31639. /QhjMgr/QueryTradePosition:
  31640. get:
  31641. parameters:
  31642. - description: 用户ID
  31643. in: query
  31644. name: userid
  31645. required: true
  31646. type: integer
  31647. - description: 用户类型 1-个人 2-企业
  31648. in: query
  31649. name: userinfotype
  31650. type: integer
  31651. - description: 交易模式
  31652. in: query
  31653. name: trademode
  31654. type: integer
  31655. - description: 商品id
  31656. in: query
  31657. name: goodsid
  31658. type: integer
  31659. - description: 名称(模糊搜索账户)
  31660. in: query
  31661. name: filtername
  31662. type: string
  31663. - description: 是否包含子级 1-包含
  31664. in: query
  31665. name: includesub
  31666. type: integer
  31667. produces:
  31668. - application/json
  31669. responses:
  31670. "200":
  31671. description: OK
  31672. schema:
  31673. items:
  31674. $ref: '#/definitions/models.QhjMgrPositionRsp'
  31675. type: array
  31676. "500":
  31677. description: Internal Server Error
  31678. schema:
  31679. $ref: '#/definitions/app.Response'
  31680. security:
  31681. - ApiKeyAuth: []
  31682. summary: 查询持仓汇总
  31683. tags:
  31684. - 大连千海金(PCWeb)
  31685. /QhjSys/QueryAgreementChangeLog:
  31686. get:
  31687. parameters:
  31688. - description: 协议ID
  31689. in: query
  31690. name: agreementid
  31691. type: integer
  31692. - description: 协议版本号
  31693. in: query
  31694. name: agreementversion
  31695. type: integer
  31696. - description: 协议类型 - 1:注册 2:登录 3:交易
  31697. in: query
  31698. name: agreementtype
  31699. type: integer
  31700. - description: 协议编号(模糊匹配)
  31701. in: query
  31702. name: agreementno
  31703. type: string
  31704. - description: 协议名称(模糊匹配)
  31705. in: query
  31706. name: agreementname
  31707. type: string
  31708. produces:
  31709. - application/json
  31710. responses:
  31711. "200":
  31712. description: OK
  31713. schema:
  31714. items:
  31715. $ref: '#/definitions/models.QhjAgreementChangeLog'
  31716. type: array
  31717. "500":
  31718. description: Internal Server Error
  31719. schema:
  31720. $ref: '#/definitions/app.Response'
  31721. security:
  31722. - ApiKeyAuth: []
  31723. summary: 查询协议配置变更流水
  31724. tags:
  31725. - 大连千海金(协议和签约信息)
  31726. /QhjSys/QueryAgreementConfig:
  31727. get:
  31728. parameters:
  31729. - description: 协议ID
  31730. in: query
  31731. name: agreementid
  31732. type: integer
  31733. - description: 协议版本号
  31734. in: query
  31735. name: agreementversion
  31736. type: integer
  31737. - description: 协议类型 - 1:注册 2:登录 3:交易
  31738. in: query
  31739. name: agreementtype
  31740. type: integer
  31741. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  31742. in: query
  31743. name: isvalid
  31744. type: integer
  31745. - description: 协议编号(模糊匹配)
  31746. in: query
  31747. name: agreementno
  31748. type: string
  31749. - description: 协议名称(模糊匹配)
  31750. in: query
  31751. name: agreementname
  31752. type: string
  31753. produces:
  31754. - application/json
  31755. responses:
  31756. "200":
  31757. description: OK
  31758. schema:
  31759. items:
  31760. $ref: '#/definitions/models.QhjAgreementConfig'
  31761. type: array
  31762. "500":
  31763. description: Internal Server Error
  31764. schema:
  31765. $ref: '#/definitions/app.Response'
  31766. security:
  31767. - ApiKeyAuth: []
  31768. summary: 查询协议配置
  31769. tags:
  31770. - 大连千海金(协议和签约信息)
  31771. /QhjSys/QueryCustomerSignStatus:
  31772. get:
  31773. parameters:
  31774. - description: 客户ID
  31775. in: query
  31776. name: userid
  31777. type: integer
  31778. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  31779. in: query
  31780. name: nodetype
  31781. type: integer
  31782. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31783. in: query
  31784. name: goodsid
  31785. type: integer
  31786. - description: 创建交易日(yyyyMMdd)
  31787. in: query
  31788. name: tradedate
  31789. type: string
  31790. - description: 用户名称(模糊匹配)
  31791. in: query
  31792. name: username
  31793. type: string
  31794. produces:
  31795. - application/json
  31796. responses:
  31797. "200":
  31798. description: OK
  31799. schema:
  31800. items:
  31801. $ref: '#/definitions/models.QhjCustomerSignStatus'
  31802. type: array
  31803. "500":
  31804. description: Internal Server Error
  31805. schema:
  31806. $ref: '#/definitions/app.Response'
  31807. security:
  31808. - ApiKeyAuth: []
  31809. summary: 查询客户协议签约状态
  31810. tags:
  31811. - 大连千海金(协议和签约信息)
  31812. /QhjSys/QueryNodeAgreementConfig:
  31813. get:
  31814. parameters:
  31815. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31816. in: query
  31817. name: configid
  31818. type: integer
  31819. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31820. in: query
  31821. name: nodetype
  31822. type: integer
  31823. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31824. in: query
  31825. name: goodsid
  31826. type: integer
  31827. - description: 协议ID
  31828. in: query
  31829. name: agreementid
  31830. type: integer
  31831. - description: 协议类型 - 1:注册 2:登录 3:交易
  31832. in: query
  31833. name: agreementtype
  31834. type: integer
  31835. - description: 协议版本号
  31836. in: query
  31837. name: agreementversion
  31838. type: integer
  31839. - description: 协议编号(模糊匹配)
  31840. in: query
  31841. name: agreementno
  31842. type: string
  31843. - description: 协议名称(模糊匹配)
  31844. in: query
  31845. name: agreementname
  31846. type: string
  31847. produces:
  31848. - application/json
  31849. responses:
  31850. "200":
  31851. description: OK
  31852. schema:
  31853. items:
  31854. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  31855. type: array
  31856. "500":
  31857. description: Internal Server Error
  31858. schema:
  31859. $ref: '#/definitions/app.Response'
  31860. security:
  31861. - ApiKeyAuth: []
  31862. summary: 查询协议节点配置
  31863. tags:
  31864. - 大连千海金(协议和签约信息)
  31865. /QhjSys/QueryQhjCustomerSignLog:
  31866. get:
  31867. parameters:
  31868. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  31869. in: query
  31870. name: logid
  31871. type: integer
  31872. - description: 客户ID
  31873. in: query
  31874. name: userid
  31875. type: integer
  31876. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31877. in: query
  31878. name: nodetype
  31879. type: integer
  31880. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31881. in: query
  31882. name: goodsid
  31883. type: integer
  31884. - description: 协议ID
  31885. in: query
  31886. name: agreementid
  31887. type: integer
  31888. - description: 用户名称(模糊匹配)
  31889. in: query
  31890. name: username
  31891. type: string
  31892. - description: 协议编号(模糊匹配)
  31893. in: query
  31894. name: agreementno
  31895. type: string
  31896. - description: 协议名称(模糊匹配)
  31897. in: query
  31898. name: agreementname
  31899. type: string
  31900. produces:
  31901. - application/json
  31902. responses:
  31903. "200":
  31904. description: OK
  31905. schema:
  31906. items:
  31907. $ref: '#/definitions/models.QhjCustomerSignLog'
  31908. type: array
  31909. "500":
  31910. description: Internal Server Error
  31911. schema:
  31912. $ref: '#/definitions/app.Response'
  31913. security:
  31914. - ApiKeyAuth: []
  31915. summary: 查询客户协议签约流水
  31916. tags:
  31917. - 大连千海金(协议和签约信息)
  31918. /QhjSys/QueryUserNodeCfgAndStatus:
  31919. get:
  31920. parameters:
  31921. - description: 客户ID
  31922. in: query
  31923. name: userid
  31924. type: integer
  31925. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31926. in: query
  31927. name: configid
  31928. type: integer
  31929. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31930. in: query
  31931. name: nodetype
  31932. type: string
  31933. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31934. in: query
  31935. name: goodsid
  31936. type: integer
  31937. - description: 协议ID
  31938. in: query
  31939. name: agreementid
  31940. type: integer
  31941. - description: 协议类型 - 1:注册 2:登录 3:交易
  31942. in: query
  31943. name: agreementtype
  31944. type: integer
  31945. - description: 协议版本号
  31946. in: query
  31947. name: agreementversion
  31948. type: integer
  31949. - description: 协议编号(模糊匹配)
  31950. in: query
  31951. name: agreementno
  31952. type: string
  31953. - description: 协议名称(模糊匹配)
  31954. in: query
  31955. name: agreementname
  31956. type: string
  31957. produces:
  31958. - application/json
  31959. responses:
  31960. "200":
  31961. description: OK
  31962. schema:
  31963. items:
  31964. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  31965. type: array
  31966. "500":
  31967. description: Internal Server Error
  31968. schema:
  31969. $ref: '#/definitions/app.Response'
  31970. security:
  31971. - ApiKeyAuth: []
  31972. summary: 查询用户协议节点配置和状态
  31973. tags:
  31974. - 大连千海金(协议和签约信息)
  31975. /Quote/QueryHistoryDatas:
  31976. get:
  31977. parameters:
  31978. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  31979. 日线 12:周线 13:月线 14:年线'
  31980. in: query
  31981. name: cycleType
  31982. required: true
  31983. type: integer
  31984. - description: 商品代码
  31985. in: query
  31986. name: goodsCode
  31987. required: true
  31988. type: string
  31989. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  31990. in: query
  31991. name: startTime
  31992. type: string
  31993. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  31994. in: query
  31995. name: endTime
  31996. type: string
  31997. - description: 条数
  31998. in: query
  31999. name: count
  32000. type: integer
  32001. - description: 是否按时间顺序排序(默认为时间倒序排序)
  32002. in: query
  32003. name: isAsc
  32004. type: boolean
  32005. produces:
  32006. - application/json
  32007. responses:
  32008. "200":
  32009. description: OK
  32010. schema:
  32011. $ref: '#/definitions/quote.HistoryData'
  32012. "500":
  32013. description: Internal Server Error
  32014. schema:
  32015. $ref: '#/definitions/app.Response'
  32016. security:
  32017. - ApiKeyAuth: []
  32018. summary: 查询行情历史数据
  32019. tags:
  32020. - 行情服务
  32021. /Quote/QueryHistoryTikDatas:
  32022. get:
  32023. parameters:
  32024. - description: 商品代码
  32025. in: query
  32026. name: goodsCode
  32027. required: true
  32028. type: string
  32029. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  32030. in: query
  32031. name: startTime
  32032. type: string
  32033. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  32034. in: query
  32035. name: endTime
  32036. type: string
  32037. - description: 条数
  32038. in: query
  32039. name: count
  32040. type: integer
  32041. - description: 是否按时间顺序排序(默认为时间倒序排序)
  32042. in: query
  32043. name: isAsc
  32044. type: boolean
  32045. produces:
  32046. - application/json
  32047. responses:
  32048. "200":
  32049. description: OK
  32050. schema:
  32051. $ref: '#/definitions/quote.HistoryTikData'
  32052. "500":
  32053. description: Internal Server Error
  32054. schema:
  32055. $ref: '#/definitions/app.Response'
  32056. security:
  32057. - ApiKeyAuth: []
  32058. summary: 查询行情Tik数据
  32059. tags:
  32060. - 行情服务
  32061. /Quote/QueryQuoteDay:
  32062. get:
  32063. parameters:
  32064. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  32065. in: query
  32066. name: goodsCodes
  32067. type: string
  32068. produces:
  32069. - application/json
  32070. responses:
  32071. "200":
  32072. description: OK
  32073. schema:
  32074. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  32075. "500":
  32076. description: Internal Server Error
  32077. schema:
  32078. $ref: '#/definitions/app.Response'
  32079. security:
  32080. - ApiKeyAuth: []
  32081. summary: 获取商品盘面信息
  32082. tags:
  32083. - 行情服务
  32084. /Quote/QueryTSData:
  32085. get:
  32086. parameters:
  32087. - description: 商品代码
  32088. in: query
  32089. name: goodsCode
  32090. required: true
  32091. type: string
  32092. produces:
  32093. - application/json
  32094. responses:
  32095. "200":
  32096. description: OK
  32097. schema:
  32098. $ref: '#/definitions/quote.QueryTSDataRsp'
  32099. "500":
  32100. description: Internal Server Error
  32101. schema:
  32102. $ref: '#/definitions/app.Response'
  32103. security:
  32104. - ApiKeyAuth: []
  32105. summary: 分时图数据查询
  32106. tags:
  32107. - 行情服务
  32108. /SZDZ/QueryConvertConfig:
  32109. get:
  32110. parameters:
  32111. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  32112. 6:交易转花生米(不设置)
  32113. in: query
  32114. name: convertType
  32115. type: integer
  32116. - description: 外部商品代码[JD\PD]
  32117. in: query
  32118. name: outerGoodsCode
  32119. type: string
  32120. - description: 内部商品ID列表[交易],格式:1,2,3
  32121. in: query
  32122. name: innerGoodsIDs
  32123. type: string
  32124. produces:
  32125. - application/json
  32126. responses:
  32127. "200":
  32128. description: OK
  32129. schema:
  32130. $ref: '#/definitions/models.Szdz3convertconfig'
  32131. "500":
  32132. description: Internal Server Error
  32133. schema:
  32134. $ref: '#/definitions/app.Response'
  32135. security:
  32136. - ApiKeyAuth: []
  32137. summary: 查询交易系统转换设置
  32138. tags:
  32139. - 定制【尚志大宗】
  32140. /SZDZ/QueryConvertLog:
  32141. get:
  32142. parameters:
  32143. - description: 资金账户 - 格式:1,2,3
  32144. in: query
  32145. name: accountID
  32146. required: true
  32147. type: string
  32148. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  32149. in: query
  32150. name: startDate
  32151. type: string
  32152. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  32153. in: query
  32154. name: endDate
  32155. type: string
  32156. produces:
  32157. - application/json
  32158. responses:
  32159. "200":
  32160. description: OK
  32161. schema:
  32162. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  32163. "500":
  32164. description: Internal Server Error
  32165. schema:
  32166. $ref: '#/definitions/app.Response'
  32167. security:
  32168. - ApiKeyAuth: []
  32169. summary: 交易系统转换流水查询
  32170. tags:
  32171. - 定制【尚志大宗】
  32172. /SZDZ/QueryGoodsPickup:
  32173. get:
  32174. parameters:
  32175. - description: 资金账户 - 格式:1,2,3
  32176. in: query
  32177. name: accountID
  32178. required: true
  32179. type: string
  32180. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32181. in: query
  32182. name: takeOrderStatus
  32183. type: integer
  32184. produces:
  32185. - application/json
  32186. responses:
  32187. "200":
  32188. description: OK
  32189. schema:
  32190. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  32191. "500":
  32192. description: Internal Server Error
  32193. schema:
  32194. $ref: '#/definitions/app.Response'
  32195. security:
  32196. - ApiKeyAuth: []
  32197. summary: 商品提货单查询
  32198. tags:
  32199. - 定制【尚志大宗】
  32200. /SZDZ/QueryRecieptOrder:
  32201. get:
  32202. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  32203. parameters:
  32204. - description: 页码
  32205. in: query
  32206. name: page
  32207. type: integer
  32208. - description: 每页条数
  32209. in: query
  32210. name: pagesize
  32211. type: integer
  32212. - description: 商品ID
  32213. in: query
  32214. name: goodsID
  32215. required: true
  32216. type: integer
  32217. - description: 所属账户名称
  32218. in: query
  32219. name: accountName
  32220. type: string
  32221. - description: 市场ID
  32222. in: query
  32223. name: marketID
  32224. type: integer
  32225. - description: 方向 - 0:买 1:卖
  32226. in: query
  32227. name: buyorsell
  32228. required: true
  32229. type: integer
  32230. produces:
  32231. - application/json
  32232. responses:
  32233. "200":
  32234. description: OK
  32235. schema:
  32236. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  32237. "500":
  32238. description: Internal Server Error
  32239. schema:
  32240. $ref: '#/definitions/app.Response'
  32241. security:
  32242. - ApiKeyAuth: []
  32243. summary: 点选挂牌委托单据查询(摘牌大厅)
  32244. tags:
  32245. - 定制【尚志大宗】
  32246. /SZDZ/QuerySZDZTradePosition:
  32247. get:
  32248. parameters:
  32249. - description: 资金账户
  32250. in: query
  32251. name: accountID
  32252. required: true
  32253. type: integer
  32254. produces:
  32255. - application/json
  32256. responses:
  32257. "200":
  32258. description: OK
  32259. schema:
  32260. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  32261. "500":
  32262. description: Internal Server Error
  32263. schema:
  32264. $ref: '#/definitions/app.Response'
  32265. security:
  32266. - ApiKeyAuth: []
  32267. summary: 持仓汇总查询(尚志大宗)
  32268. tags:
  32269. - 定制【尚志大宗】
  32270. /SZDZ/SearchWhite:
  32271. get:
  32272. parameters:
  32273. - description: 用户ID
  32274. in: query
  32275. name: userID
  32276. required: true
  32277. type: integer
  32278. produces:
  32279. - application/json
  32280. responses:
  32281. "200":
  32282. description: OK
  32283. schema:
  32284. $ref: '#/definitions/models.Szdz3searchwhitelist'
  32285. "500":
  32286. description: Internal Server Error
  32287. schema:
  32288. $ref: '#/definitions/app.Response'
  32289. security:
  32290. - ApiKeyAuth: []
  32291. summary: 搜索白名单
  32292. tags:
  32293. - 定制【尚志大宗】
  32294. /Search/SearchGoodses:
  32295. get:
  32296. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  32297. parameters:
  32298. - description: 检索内容
  32299. in: query
  32300. name: content
  32301. required: true
  32302. type: string
  32303. - description: 交易模式,格式:1,2,3
  32304. in: query
  32305. name: tradeModes
  32306. type: string
  32307. produces:
  32308. - application/json
  32309. responses:
  32310. "200":
  32311. description: OK
  32312. schema:
  32313. $ref: '#/definitions/models.SearchGoods'
  32314. "500":
  32315. description: Internal Server Error
  32316. schema:
  32317. $ref: '#/definitions/app.Response'
  32318. summary: 检索商品信息
  32319. tags:
  32320. - 检索服务
  32321. /TaAccount/GetTaAccounts:
  32322. get:
  32323. parameters:
  32324. - description: 登录账户
  32325. in: query
  32326. name: loginID
  32327. required: true
  32328. type: integer
  32329. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  32330. in: query
  32331. name: taAccountType
  32332. type: integer
  32333. produces:
  32334. - application/json
  32335. responses:
  32336. "200":
  32337. description: OK
  32338. schema:
  32339. $ref: '#/definitions/models.Taaccount'
  32340. "500":
  32341. description: Internal Server Error
  32342. schema:
  32343. $ref: '#/definitions/app.Response'
  32344. security:
  32345. - ApiKeyAuth: []
  32346. summary: 获取资金账户信息
  32347. tags:
  32348. - 资金账户
  32349. /TaAccount/QueryAmountLog:
  32350. get:
  32351. parameters:
  32352. - description: 页码
  32353. in: query
  32354. name: page
  32355. type: integer
  32356. - description: 每页条数
  32357. in: query
  32358. name: pagesize
  32359. type: integer
  32360. - description: 资金账户 - 格式:1,2,3
  32361. in: query
  32362. name: accountID
  32363. required: true
  32364. type: string
  32365. - description: 资金操作类型 - 格式:1,2,3
  32366. in: query
  32367. name: OperateType
  32368. type: string
  32369. produces:
  32370. - application/json
  32371. responses:
  32372. "200":
  32373. description: OK
  32374. schema:
  32375. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  32376. "500":
  32377. description: Internal Server Error
  32378. schema:
  32379. $ref: '#/definitions/app.Response'
  32380. security:
  32381. - ApiKeyAuth: []
  32382. summary: 资金流水查询(当前)
  32383. tags:
  32384. - 资金账户
  32385. /TaAccount/QueryHisAmountLog:
  32386. get:
  32387. parameters:
  32388. - description: 页码
  32389. in: query
  32390. name: page
  32391. type: integer
  32392. - description: 每页条数
  32393. in: query
  32394. name: pagesize
  32395. type: integer
  32396. - description: 资金账户 - 格式:1,2,3
  32397. in: query
  32398. name: accountID
  32399. required: true
  32400. type: string
  32401. - description: 资金操作类型 - 格式:1,2,3
  32402. in: query
  32403. name: OperateType
  32404. type: string
  32405. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  32406. in: query
  32407. name: startDate
  32408. type: string
  32409. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  32410. in: query
  32411. name: endDate
  32412. type: string
  32413. produces:
  32414. - application/json
  32415. responses:
  32416. "200":
  32417. description: OK
  32418. schema:
  32419. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  32420. "500":
  32421. description: Internal Server Error
  32422. schema:
  32423. $ref: '#/definitions/app.Response'
  32424. security:
  32425. - ApiKeyAuth: []
  32426. summary: 资金流水查询(历史)
  32427. tags:
  32428. - 资金账户
  32429. /TaAccount/QueryRelatedTaAccount:
  32430. get:
  32431. parameters:
  32432. - description: 关联UserID
  32433. in: query
  32434. name: relateduserid
  32435. required: true
  32436. type: integer
  32437. produces:
  32438. - application/json
  32439. responses:
  32440. "200":
  32441. description: OK
  32442. schema:
  32443. items:
  32444. $ref: '#/definitions/models.RelatedTaAccount'
  32445. type: array
  32446. "500":
  32447. description: Internal Server Error
  32448. schema:
  32449. $ref: '#/definitions/app.Response'
  32450. security:
  32451. - ApiKeyAuth: []
  32452. summary: 查询关联资金账户信息
  32453. tags:
  32454. - 资金账户
  32455. /Tjmd/QueryQuoteGoodsList:
  32456. get:
  32457. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  32458. parameters:
  32459. - description: 用户类型
  32460. in: query
  32461. name: usertype
  32462. required: true
  32463. type: integer
  32464. - description: 市场id, 格式 1,2,3
  32465. in: query
  32466. name: marketids
  32467. type: string
  32468. - description: 商品组id
  32469. in: query
  32470. name: goodsgroupid
  32471. type: integer
  32472. - description: 商品id
  32473. in: query
  32474. name: goodsid
  32475. type: integer
  32476. produces:
  32477. - application/json
  32478. responses:
  32479. "200":
  32480. description: OK
  32481. schema:
  32482. items:
  32483. $ref: '#/definitions/models.TjmdQuoteGoods'
  32484. type: array
  32485. "500":
  32486. description: Internal Server Error
  32487. schema:
  32488. $ref: '#/definitions/app.Response'
  32489. security:
  32490. - ApiKeyAuth: []
  32491. summary: 查询掉期报价列表
  32492. tags:
  32493. - 天津麦顿
  32494. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  32495. get:
  32496. parameters:
  32497. - description: 成交单号
  32498. in: query
  32499. name: tradeid
  32500. required: true
  32501. type: string
  32502. produces:
  32503. - application/json
  32504. responses:
  32505. "200":
  32506. description: OK
  32507. schema:
  32508. items:
  32509. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  32510. type: array
  32511. "500":
  32512. description: Internal Server Error
  32513. schema:
  32514. $ref: '#/definitions/app.Response'
  32515. security:
  32516. - ApiKeyAuth: []
  32517. summary: 掉期商品订单详情(交易确认书)
  32518. tags:
  32519. - 天津麦顿
  32520. /Tjmd/QueryTjmdMarketSection:
  32521. get:
  32522. produces:
  32523. - application/json
  32524. responses:
  32525. "200":
  32526. description: OK
  32527. schema:
  32528. items:
  32529. $ref: '#/definitions/models.TjmdMarketSection'
  32530. type: array
  32531. "500":
  32532. description: Internal Server Error
  32533. schema:
  32534. $ref: '#/definitions/app.Response'
  32535. security:
  32536. - ApiKeyAuth: []
  32537. summary: 查询市场板块
  32538. tags:
  32539. - 天津麦顿
  32540. /Tjmd/QueryTjmdTodayAccountMargin:
  32541. get:
  32542. parameters:
  32543. - description: 市场id
  32544. in: query
  32545. name: marketid
  32546. type: string
  32547. - description: 商品id
  32548. in: query
  32549. name: goodsid
  32550. type: string
  32551. - description: 资金账号
  32552. in: query
  32553. name: accountid
  32554. type: string
  32555. produces:
  32556. - application/json
  32557. responses:
  32558. "200":
  32559. description: OK
  32560. schema:
  32561. items:
  32562. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  32563. type: array
  32564. "500":
  32565. description: Internal Server Error
  32566. schema:
  32567. $ref: '#/definitions/app.Response'
  32568. security:
  32569. - ApiKeyAuth: []
  32570. summary: 查询今日账户保证金配置
  32571. tags:
  32572. - 天津麦顿
  32573. /Tjmd/QueryTjmdTradeOrderDetail:
  32574. get:
  32575. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  32576. parameters:
  32577. - description: 页码
  32578. in: query
  32579. name: page
  32580. type: integer
  32581. - description: 每页条数
  32582. in: query
  32583. name: pagesize
  32584. type: integer
  32585. - description: 用户id
  32586. in: query
  32587. name: userid
  32588. required: true
  32589. type: integer
  32590. - description: 用户类型
  32591. in: query
  32592. name: usertype
  32593. required: true
  32594. type: integer
  32595. - description: 市场id, 格式 1,2,3
  32596. in: query
  32597. name: marketids
  32598. type: string
  32599. - description: 商品id
  32600. in: query
  32601. name: goodsid
  32602. required: true
  32603. type: integer
  32604. - description: 买卖方向 0-买 1-卖
  32605. in: query
  32606. name: buyorsell
  32607. required: true
  32608. type: integer
  32609. produces:
  32610. - application/json
  32611. responses:
  32612. "200":
  32613. description: OK
  32614. schema:
  32615. items:
  32616. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  32617. type: array
  32618. "500":
  32619. description: Internal Server Error
  32620. schema:
  32621. $ref: '#/definitions/app.Response'
  32622. security:
  32623. - ApiKeyAuth: []
  32624. summary: 查询掉期买卖大厅
  32625. tags:
  32626. - 天津麦顿
  32627. /Tjmd/QueryTjmdTransferApply:
  32628. get:
  32629. parameters:
  32630. - description: 类型 1-我的申请 2-对方申请
  32631. in: query
  32632. name: applytype
  32633. required: true
  32634. type: integer
  32635. - description: 市场id, 格式 1,2,3
  32636. in: query
  32637. name: marketids
  32638. type: string
  32639. - description: 资金账号, 格式 25000000001,25000000003
  32640. in: query
  32641. name: accountids
  32642. type: string
  32643. - description: 开始交易日(yyyymmdd)
  32644. in: query
  32645. name: begindate
  32646. type: string
  32647. - description: 结束交易日(yyyymmdd)
  32648. in: query
  32649. name: enddate
  32650. type: string
  32651. produces:
  32652. - application/json
  32653. responses:
  32654. "200":
  32655. description: OK
  32656. schema:
  32657. items:
  32658. $ref: '#/definitions/models.TjmdTransferApply'
  32659. type: array
  32660. "500":
  32661. description: Internal Server Error
  32662. schema:
  32663. $ref: '#/definitions/app.Response'
  32664. security:
  32665. - ApiKeyAuth: []
  32666. summary: 查询掉期协议单
  32667. tags:
  32668. - 天津麦顿
  32669. /Trade/QueryRecieptOrder:
  32670. get:
  32671. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  32672. parameters:
  32673. - description: 页码
  32674. in: query
  32675. name: page
  32676. type: integer
  32677. - description: 每页条数
  32678. in: query
  32679. name: pagesize
  32680. type: integer
  32681. - description: 商品ID
  32682. in: query
  32683. name: goodsID
  32684. required: true
  32685. type: integer
  32686. - description: 所属账户名称
  32687. in: query
  32688. name: accountName
  32689. type: string
  32690. - description: 市场ID
  32691. in: query
  32692. name: marketID
  32693. type: integer
  32694. - description: 方向 - 0:买 1:卖
  32695. in: query
  32696. name: buyorsell
  32697. required: true
  32698. type: integer
  32699. produces:
  32700. - application/json
  32701. responses:
  32702. "200":
  32703. description: OK
  32704. schema:
  32705. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  32706. "500":
  32707. description: Internal Server Error
  32708. schema:
  32709. $ref: '#/definitions/app.Response'
  32710. security:
  32711. - ApiKeyAuth: []
  32712. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  32713. tags:
  32714. - 通用交易
  32715. /User/AddMessageBoard:
  32716. post:
  32717. parameters:
  32718. - description: 用户ID
  32719. in: query
  32720. name: userID
  32721. required: true
  32722. type: integer
  32723. - description: 留言信息
  32724. in: query
  32725. name: message
  32726. required: true
  32727. type: string
  32728. - description: 联系电话
  32729. in: query
  32730. name: contactNum
  32731. required: true
  32732. type: string
  32733. produces:
  32734. - application/json
  32735. responses:
  32736. "200":
  32737. description: OK
  32738. schema:
  32739. $ref: '#/definitions/app.Response'
  32740. "500":
  32741. description: Internal Server Error
  32742. schema:
  32743. $ref: '#/definitions/app.Response'
  32744. security:
  32745. - ApiKeyAuth: []
  32746. summary: 添加用户留言板信息
  32747. tags:
  32748. - 用户信息
  32749. /User/AddUserFavoriteGoods:
  32750. post:
  32751. parameters:
  32752. - description: 用户ID
  32753. in: query
  32754. name: userID
  32755. required: true
  32756. type: integer
  32757. - description: 商品ID
  32758. in: query
  32759. name: goodsID
  32760. required: true
  32761. type: integer
  32762. produces:
  32763. - application/json
  32764. responses:
  32765. "200":
  32766. description: OK
  32767. schema:
  32768. $ref: '#/definitions/app.Response'
  32769. "500":
  32770. description: Internal Server Error
  32771. schema:
  32772. $ref: '#/definitions/app.Response'
  32773. security:
  32774. - ApiKeyAuth: []
  32775. summary: 添加用户商品收藏信息
  32776. tags:
  32777. - 用户信息
  32778. /User/GetLoginID:
  32779. get:
  32780. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  32781. parameters:
  32782. - description: 登录代码
  32783. in: query
  32784. name: username
  32785. required: true
  32786. type: string
  32787. produces:
  32788. - application/json
  32789. responses:
  32790. "200":
  32791. description: OK
  32792. schema:
  32793. $ref: '#/definitions/app.Response'
  32794. "500":
  32795. description: Internal Server Error
  32796. schema:
  32797. $ref: '#/definitions/app.Response'
  32798. summary: 获取登录ID
  32799. tags:
  32800. - 用户信息
  32801. /User/GetUserAccount:
  32802. get:
  32803. parameters:
  32804. - description: 用户ID
  32805. in: query
  32806. name: userID
  32807. required: true
  32808. type: integer
  32809. produces:
  32810. - application/json
  32811. responses:
  32812. "200":
  32813. description: OK
  32814. schema:
  32815. $ref: '#/definitions/models.Useraccount'
  32816. "500":
  32817. description: Internal Server Error
  32818. schema:
  32819. $ref: '#/definitions/app.Response'
  32820. security:
  32821. - ApiKeyAuth: []
  32822. summary: 获取用户账号信息
  32823. tags:
  32824. - 用户信息
  32825. /User/GetUserAuthStatus:
  32826. get:
  32827. parameters:
  32828. - description: 用户ID
  32829. in: query
  32830. name: userID
  32831. required: true
  32832. type: integer
  32833. produces:
  32834. - application/json
  32835. responses:
  32836. "200":
  32837. description: OK
  32838. schema:
  32839. $ref: '#/definitions/app.Response'
  32840. "500":
  32841. description: Internal Server Error
  32842. schema:
  32843. $ref: '#/definitions/app.Response'
  32844. security:
  32845. - ApiKeyAuth: []
  32846. summary: 获取用户实名认证状态
  32847. tags:
  32848. - 用户信息
  32849. /User/LoginQuery:
  32850. get:
  32851. parameters:
  32852. - description: 登录账号
  32853. in: query
  32854. name: loginID
  32855. required: true
  32856. type: integer
  32857. produces:
  32858. - application/json
  32859. responses:
  32860. "200":
  32861. description: OK
  32862. schema:
  32863. $ref: '#/definitions/user.LoginQueryRsp'
  32864. "500":
  32865. description: Internal Server Error
  32866. schema:
  32867. $ref: '#/definitions/app.Response'
  32868. security:
  32869. - ApiKeyAuth: []
  32870. summary: 账户登录后信息查询
  32871. tags:
  32872. - 用户信息
  32873. /User/QueryMessageBoard:
  32874. get:
  32875. parameters:
  32876. - description: 用户ID
  32877. in: query
  32878. name: userID
  32879. required: true
  32880. type: integer
  32881. produces:
  32882. - application/json
  32883. responses:
  32884. "200":
  32885. description: OK
  32886. schema:
  32887. $ref: '#/definitions/models.Messageboard'
  32888. "500":
  32889. description: Internal Server Error
  32890. schema:
  32891. $ref: '#/definitions/app.Response'
  32892. security:
  32893. - ApiKeyAuth: []
  32894. summary: 获取用户留言板信息
  32895. tags:
  32896. - 用户信息
  32897. /User/QueryUserFavoriteGoodses:
  32898. get:
  32899. parameters:
  32900. - description: 用户ID
  32901. in: query
  32902. name: userID
  32903. required: true
  32904. type: integer
  32905. produces:
  32906. - application/json
  32907. responses:
  32908. "200":
  32909. description: OK
  32910. schema:
  32911. $ref: '#/definitions/models.Userfavoritegoods'
  32912. "500":
  32913. description: Internal Server Error
  32914. schema:
  32915. $ref: '#/definitions/app.Response'
  32916. security:
  32917. - ApiKeyAuth: []
  32918. summary: 获取用户商品收藏信息
  32919. tags:
  32920. - 用户信息
  32921. /User/QueryUserInfo:
  32922. get:
  32923. parameters:
  32924. - description: 用户ID
  32925. in: query
  32926. name: userID
  32927. required: true
  32928. type: integer
  32929. - description: 是否解密
  32930. in: query
  32931. name: isDecrypt
  32932. type: boolean
  32933. produces:
  32934. - application/json
  32935. responses:
  32936. "200":
  32937. description: OK
  32938. schema:
  32939. $ref: '#/definitions/models.Userinfo'
  32940. "500":
  32941. description: Internal Server Error
  32942. schema:
  32943. $ref: '#/definitions/app.Response'
  32944. security:
  32945. - ApiKeyAuth: []
  32946. summary: 获取用户信息
  32947. tags:
  32948. - 用户信息
  32949. /User/QueryUserReferNum:
  32950. get:
  32951. parameters:
  32952. - description: 用户ID
  32953. in: query
  32954. name: userID
  32955. required: true
  32956. type: integer
  32957. produces:
  32958. - application/json
  32959. responses:
  32960. "200":
  32961. description: OK
  32962. schema:
  32963. $ref: '#/definitions/app.Response'
  32964. "500":
  32965. description: Internal Server Error
  32966. schema:
  32967. $ref: '#/definitions/app.Response'
  32968. summary: 获取用户邀请码
  32969. tags:
  32970. - 用户信息
  32971. /User/RemoveUserFavoriteGoods:
  32972. post:
  32973. parameters:
  32974. - description: 用户ID
  32975. in: query
  32976. name: userID
  32977. required: true
  32978. type: integer
  32979. - description: 商品ID
  32980. in: query
  32981. name: goodsID
  32982. required: true
  32983. type: integer
  32984. produces:
  32985. - application/json
  32986. responses:
  32987. "200":
  32988. description: OK
  32989. schema:
  32990. $ref: '#/definitions/app.Response'
  32991. "500":
  32992. description: Internal Server Error
  32993. schema:
  32994. $ref: '#/definitions/app.Response'
  32995. security:
  32996. - ApiKeyAuth: []
  32997. summary: 移除用户商品收藏信息
  32998. tags:
  32999. - 用户信息
  33000. /User/UpdateUserAccountStatus:
  33001. post:
  33002. parameters:
  33003. - description: 用户ID
  33004. in: query
  33005. name: userID
  33006. required: true
  33007. type: integer
  33008. - description: 账户状态 - 4:正常 6:注销(停用)
  33009. in: query
  33010. name: accountStatus
  33011. required: true
  33012. type: integer
  33013. produces:
  33014. - application/json
  33015. responses:
  33016. "200":
  33017. description: OK
  33018. schema:
  33019. $ref: '#/definitions/app.Response'
  33020. "500":
  33021. description: Internal Server Error
  33022. schema:
  33023. $ref: '#/definitions/app.Response'
  33024. security:
  33025. - ApiKeyAuth: []
  33026. summary: 更新用户状态
  33027. tags:
  33028. - 用户信息
  33029. /WRTrade/GetAllDeliveryGoods:
  33030. get:
  33031. produces:
  33032. - application/json
  33033. responses:
  33034. "200":
  33035. description: OK
  33036. schema:
  33037. $ref: '#/definitions/app.Response'
  33038. "500":
  33039. description: Internal Server Error
  33040. schema:
  33041. $ref: '#/definitions/app.Response'
  33042. security:
  33043. - ApiKeyAuth: []
  33044. summary: 获取带仓单分类的种类信息
  33045. tags:
  33046. - 仓单贸易
  33047. - 仓单贸易
  33048. /WrTrade2/InsertXhcpSellBackApply:
  33049. post:
  33050. parameters:
  33051. - description: 回收申请
  33052. in: body
  33053. name: jsonBody
  33054. required: true
  33055. schema:
  33056. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  33057. produces:
  33058. - application/json
  33059. responses:
  33060. "200":
  33061. description: OK
  33062. schema:
  33063. $ref: '#/definitions/app.Response'
  33064. "500":
  33065. description: Internal Server Error
  33066. schema:
  33067. $ref: '#/definitions/app.Response'
  33068. security:
  33069. - ApiKeyAuth: []
  33070. summary: 新增回收申请(新会陈皮)
  33071. tags:
  33072. - 仓单贸易v2
  33073. /WrTrade2/QueryDeliveryGoodsSection:
  33074. get:
  33075. produces:
  33076. - application/json
  33077. responses:
  33078. "200":
  33079. description: OK
  33080. schema:
  33081. items:
  33082. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  33083. type: array
  33084. "500":
  33085. description: Internal Server Error
  33086. schema:
  33087. $ref: '#/definitions/app.Response'
  33088. security:
  33089. - ApiKeyAuth: []
  33090. summary: 查询板块(分类)
  33091. tags:
  33092. - 仓单贸易v2
  33093. /WrTrade2/QueryFaProductDetail:
  33094. get:
  33095. description: 页面 买卖大厅 -> 选择融资方案
  33096. parameters:
  33097. - description: 仓单要素id
  33098. in: query
  33099. name: wrfactortypeid
  33100. required: true
  33101. type: integer
  33102. produces:
  33103. - application/json
  33104. responses:
  33105. "200":
  33106. description: OK
  33107. schema:
  33108. items:
  33109. $ref: '#/definitions/models.WrFAProductDetail'
  33110. type: array
  33111. "500":
  33112. description: Internal Server Error
  33113. schema:
  33114. $ref: '#/definitions/app.Response'
  33115. security:
  33116. - ApiKeyAuth: []
  33117. summary: 查询融资产品列表
  33118. tags:
  33119. - 仓单贸易v2
  33120. /WrTrade2/QueryFilterItem:
  33121. get:
  33122. parameters:
  33123. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  33124. in: query
  33125. name: itype
  33126. required: true
  33127. type: string
  33128. produces:
  33129. - application/json
  33130. responses:
  33131. "200":
  33132. description: OK
  33133. schema:
  33134. items:
  33135. $ref: '#/definitions/models.WrFilterItem'
  33136. type: array
  33137. "500":
  33138. description: Internal Server Error
  33139. schema:
  33140. $ref: '#/definitions/app.Response'
  33141. security:
  33142. - ApiKeyAuth: []
  33143. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  33144. tags:
  33145. - 仓单贸易v2
  33146. /WrTrade2/QueryFtDeliveryGoods:
  33147. get:
  33148. produces:
  33149. - application/json
  33150. responses:
  33151. "200":
  33152. description: OK
  33153. schema:
  33154. items:
  33155. $ref: '#/definitions/models.WrFtDeliveryGoods'
  33156. type: array
  33157. "500":
  33158. description: Internal Server Error
  33159. schema:
  33160. $ref: '#/definitions/app.Response'
  33161. security:
  33162. - ApiKeyAuth: []
  33163. summary: 查询品种品类筛选框列表
  33164. tags:
  33165. - 仓单贸易v2
  33166. /WrTrade2/QueryHoldLB:
  33167. get:
  33168. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  33169. parameters:
  33170. - description: 资金账号
  33171. in: query
  33172. name: accountid
  33173. required: true
  33174. type: integer
  33175. - description: 仓库id
  33176. in: query
  33177. name: warehouseid
  33178. type: integer
  33179. - description: 品种id
  33180. in: query
  33181. name: deliverygoodsid
  33182. type: integer
  33183. - description: 品类id
  33184. in: query
  33185. name: wrstandardid
  33186. type: integer
  33187. - description: 仓单要素id
  33188. in: query
  33189. name: wrfactortypeid
  33190. type: integer
  33191. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33192. in: query
  33193. name: dgitemname
  33194. type: string
  33195. produces:
  33196. - application/json
  33197. responses:
  33198. "200":
  33199. description: OK
  33200. schema:
  33201. items:
  33202. $ref: '#/definitions/models.WrHoldLB'
  33203. type: array
  33204. "500":
  33205. description: Internal Server Error
  33206. schema:
  33207. $ref: '#/definitions/app.Response'
  33208. security:
  33209. - ApiKeyAuth: []
  33210. summary: 查询仓单持有记录
  33211. tags:
  33212. - 仓单贸易v2
  33213. /WrTrade2/QueryOrderQuote:
  33214. get:
  33215. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  33216. 唯一确定1条记录
  33217. parameters:
  33218. - description: 页码
  33219. in: query
  33220. name: page
  33221. type: integer
  33222. - description: 每页条数
  33223. in: query
  33224. name: pagesize
  33225. type: integer
  33226. - description: 仓单贸易市场id
  33227. in: query
  33228. name: marketid
  33229. type: integer
  33230. - description: 价格方式 - 1:固定价 2-浮动价
  33231. in: query
  33232. name: wrpricetype
  33233. required: true
  33234. type: integer
  33235. - description: 0:仓单预售 1:仓单贸易
  33236. in: query
  33237. name: haswr
  33238. type: integer
  33239. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33240. in: query
  33241. name: dgitemname
  33242. type: string
  33243. - description: 仓库id(筛选条件)
  33244. in: query
  33245. name: warehouseid
  33246. type: integer
  33247. - description: 品种id
  33248. in: query
  33249. name: deliverygoodsid
  33250. type: integer
  33251. - description: 品类id
  33252. in: query
  33253. name: wrstandardid
  33254. type: integer
  33255. - description: 品牌id(dgfactoryitemid)
  33256. in: query
  33257. name: brandid
  33258. type: integer
  33259. - description: 年份id(dgfactoryitemid)
  33260. in: query
  33261. name: yearsid
  33262. type: integer
  33263. - description: 仓单要素id
  33264. in: query
  33265. name: wrfactortypeid
  33266. type: integer
  33267. - description: 交收月(yyyy-mm) 仓单预售填写
  33268. in: query
  33269. name: deliverymonth
  33270. type: string
  33271. produces:
  33272. - application/json
  33273. responses:
  33274. "200":
  33275. description: OK
  33276. schema:
  33277. items:
  33278. $ref: '#/definitions/models.WrOrderQuote'
  33279. type: array
  33280. "500":
  33281. description: Internal Server Error
  33282. schema:
  33283. $ref: '#/definitions/app.Response'
  33284. security:
  33285. - ApiKeyAuth: []
  33286. summary: 查询大厅行情列表
  33287. tags:
  33288. - 仓单贸易v2
  33289. /WrTrade2/QueryOrderQuoteDetail:
  33290. get:
  33291. parameters:
  33292. - description: 页码
  33293. in: query
  33294. name: page
  33295. type: integer
  33296. - description: 每页条数
  33297. in: query
  33298. name: pagesize
  33299. type: integer
  33300. - description: 仓单贸易市场id
  33301. in: query
  33302. name: marketid
  33303. type: integer
  33304. - description: 价格方式 - 1:固定价 2-浮动价
  33305. in: query
  33306. name: wrpricetype
  33307. required: true
  33308. type: integer
  33309. - description: 0:仓单预售 1:仓单贸易
  33310. in: query
  33311. name: haswr
  33312. type: integer
  33313. - description: 仓单要素id
  33314. in: query
  33315. name: wrfactortypeid
  33316. required: true
  33317. type: integer
  33318. - description: 期货商品id(浮动价方式时填)
  33319. in: query
  33320. name: goodsid
  33321. type: integer
  33322. - description: 买卖方向 0-买 1-卖
  33323. in: query
  33324. name: buyorsell
  33325. required: true
  33326. type: integer
  33327. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  33328. in: query
  33329. name: deliverymonth
  33330. type: string
  33331. produces:
  33332. - application/json
  33333. responses:
  33334. "200":
  33335. description: OK
  33336. schema:
  33337. items:
  33338. $ref: '#/definitions/models.WrOrderQuoteDetail'
  33339. type: array
  33340. "500":
  33341. description: Internal Server Error
  33342. schema:
  33343. $ref: '#/definitions/app.Response'
  33344. security:
  33345. - ApiKeyAuth: []
  33346. summary: 查询买卖大厅
  33347. tags:
  33348. - 仓单贸易v2
  33349. /WrTrade2/QueryOrderQuoteMyq:
  33350. get:
  33351. parameters:
  33352. - description: 页码
  33353. in: query
  33354. name: page
  33355. type: integer
  33356. - description: 每页条数
  33357. in: query
  33358. name: pagesize
  33359. type: integer
  33360. - description: 用户id
  33361. in: query
  33362. name: userid
  33363. required: true
  33364. type: integer
  33365. - description: 仓单贸易市场id
  33366. in: query
  33367. name: marketid
  33368. type: integer
  33369. - description: 0:仓单预售 1:仓单贸易
  33370. in: query
  33371. name: haswr
  33372. type: integer
  33373. - description: 买卖方向 0-买 1-卖
  33374. in: query
  33375. name: buyorsell
  33376. required: true
  33377. type: integer
  33378. - description: 品种id
  33379. in: query
  33380. name: deliverygoodsid
  33381. type: integer
  33382. - description: 品类id
  33383. in: query
  33384. name: wrstandardid
  33385. type: integer
  33386. - description: 交收月(yyyy-mm) 仓单预售填写
  33387. in: query
  33388. name: deliverymonth
  33389. type: string
  33390. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33391. in: query
  33392. name: dgitemname
  33393. type: string
  33394. produces:
  33395. - application/json
  33396. responses:
  33397. "200":
  33398. description: OK
  33399. schema:
  33400. items:
  33401. $ref: '#/definitions/models.WrQuoteOrderMyq'
  33402. type: array
  33403. "500":
  33404. description: Internal Server Error
  33405. schema:
  33406. $ref: '#/definitions/app.Response'
  33407. security:
  33408. - ApiKeyAuth: []
  33409. summary: 查询贸易圈挂牌大厅
  33410. tags:
  33411. - 仓单贸易v2
  33412. /WrTrade2/QueryPerformancePlan:
  33413. get:
  33414. parameters:
  33415. - description: 用户id
  33416. in: query
  33417. name: userid
  33418. required: true
  33419. type: integer
  33420. - description: 买卖方向 0-买 1-卖
  33421. in: query
  33422. name: buyorsell
  33423. required: true
  33424. type: integer
  33425. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  33426. 8:释放冻结失败 9:超时待处理 10:超时关闭
  33427. in: query
  33428. name: status
  33429. type: string
  33430. - description: 开始交易日(yyyymmdd)
  33431. in: query
  33432. name: begindate
  33433. type: string
  33434. - description: 结束交易日(yyyymmdd)
  33435. in: query
  33436. name: enddate
  33437. type: string
  33438. produces:
  33439. - application/json
  33440. responses:
  33441. "200":
  33442. description: OK
  33443. schema:
  33444. items:
  33445. $ref: '#/definitions/models.WrPerformancePlan'
  33446. type: array
  33447. "500":
  33448. description: Internal Server Error
  33449. schema:
  33450. $ref: '#/definitions/app.Response'
  33451. security:
  33452. - ApiKeyAuth: []
  33453. summary: 查询履约信息
  33454. tags:
  33455. - 仓单贸易v2
  33456. /WrTrade2/QueryPermancePlanTmp:
  33457. get:
  33458. description: |-
  33459. 返回指定用户的模板和公共模板(用户id为空)
  33460. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  33461. parameters:
  33462. - description: 用户id
  33463. in: query
  33464. name: userid
  33465. type: integer
  33466. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  33467. (无仓单) 5:挂牌期权 6:竞拍-降价式
  33468. in: query
  33469. name: tmptype
  33470. type: string
  33471. - description: 是否包含公共模板(用户id为空的) 1-包含
  33472. in: query
  33473. name: includepub
  33474. type: integer
  33475. - description: 市场id(天津麦顿指定此参数,其它不用)
  33476. in: query
  33477. name: marketid
  33478. type: integer
  33479. produces:
  33480. - application/json
  33481. responses:
  33482. "200":
  33483. description: OK
  33484. schema:
  33485. items:
  33486. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  33487. type: array
  33488. "500":
  33489. description: Internal Server Error
  33490. schema:
  33491. $ref: '#/definitions/app.Response'
  33492. security:
  33493. - ApiKeyAuth: []
  33494. summary: 查询履约模板
  33495. tags:
  33496. - 仓单贸易v2
  33497. /WrTrade2/QuerySiteColumnDetail:
  33498. get:
  33499. parameters:
  33500. - description: 页码
  33501. in: query
  33502. name: page
  33503. type: integer
  33504. - description: 每页条数
  33505. in: query
  33506. name: pagesize
  33507. type: integer
  33508. - description: 所属栏目id
  33509. in: query
  33510. name: columnid
  33511. type: integer
  33512. produces:
  33513. - application/json
  33514. responses:
  33515. "200":
  33516. description: OK
  33517. schema:
  33518. items:
  33519. $ref: '#/definitions/models.WrSiteColumnDetail'
  33520. type: array
  33521. "500":
  33522. description: Internal Server Error
  33523. schema:
  33524. $ref: '#/definitions/app.Response'
  33525. security:
  33526. - ApiKeyAuth: []
  33527. summary: 查询资讯
  33528. tags:
  33529. - 仓单贸易v2
  33530. /WrTrade2/QuerySpotGroupTradeSum:
  33531. get:
  33532. produces:
  33533. - application/json
  33534. responses:
  33535. "200":
  33536. description: OK
  33537. schema:
  33538. items:
  33539. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  33540. type: array
  33541. "500":
  33542. description: Internal Server Error
  33543. schema:
  33544. $ref: '#/definitions/app.Response'
  33545. security:
  33546. - ApiKeyAuth: []
  33547. summary: 查询指数
  33548. tags:
  33549. - 仓单贸易v2
  33550. /WrTrade2/QuerySpotGroupTradeSumDetail:
  33551. get:
  33552. description: 查询的结果将会按日期 从小到大 排序
  33553. parameters:
  33554. - description: 现货商品id
  33555. in: query
  33556. name: deliverygoodsid
  33557. required: true
  33558. type: integer
  33559. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  33560. in: query
  33561. name: lastnum
  33562. type: integer
  33563. produces:
  33564. - application/json
  33565. responses:
  33566. "200":
  33567. description: OK
  33568. schema:
  33569. items:
  33570. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  33571. type: array
  33572. "500":
  33573. description: Internal Server Error
  33574. schema:
  33575. $ref: '#/definitions/app.Response'
  33576. security:
  33577. - ApiKeyAuth: []
  33578. summary: 查询指数详细(价格走势图)
  33579. tags:
  33580. - 仓单贸易v2
  33581. /WrTrade2/QueryWrAverageTradePrice:
  33582. get:
  33583. parameters:
  33584. - description: 页码
  33585. in: query
  33586. name: page
  33587. type: integer
  33588. - description: 每页条数
  33589. in: query
  33590. name: pagesize
  33591. type: integer
  33592. - description: 0:仓单预售 1:仓单贸易
  33593. in: query
  33594. name: haswr
  33595. required: true
  33596. type: integer
  33597. - description: 仓单要素id
  33598. in: query
  33599. name: wrfactortypeid
  33600. required: true
  33601. type: integer
  33602. produces:
  33603. - application/json
  33604. responses:
  33605. "200":
  33606. description: OK
  33607. schema:
  33608. items:
  33609. $ref: '#/definitions/models.WrAverageTradePrice'
  33610. type: array
  33611. "500":
  33612. description: Internal Server Error
  33613. schema:
  33614. $ref: '#/definitions/app.Response'
  33615. security:
  33616. - ApiKeyAuth: []
  33617. summary: 查询成交价(历史走势)
  33618. tags:
  33619. - 仓单贸易v2
  33620. /WrTrade2/QueryWrBrandAndYears:
  33621. get:
  33622. produces:
  33623. - application/json
  33624. responses:
  33625. "200":
  33626. description: OK
  33627. schema:
  33628. items:
  33629. $ref: '#/definitions/models.WrBrandAndYears'
  33630. type: array
  33631. "500":
  33632. description: Internal Server Error
  33633. schema:
  33634. $ref: '#/definitions/app.Response'
  33635. security:
  33636. - ApiKeyAuth: []
  33637. summary: 查询品牌和年份
  33638. tags:
  33639. - 仓单贸易v2
  33640. /WrTrade2/QueryWrBsGoodsInfo:
  33641. get:
  33642. description: 合约交易/买卖大厅/详情
  33643. parameters:
  33644. - description: 商品id
  33645. in: query
  33646. name: goodsid
  33647. required: true
  33648. type: integer
  33649. produces:
  33650. - application/json
  33651. responses:
  33652. "200":
  33653. description: OK
  33654. schema:
  33655. items:
  33656. $ref: '#/definitions/models.WrBsGoodsInfo'
  33657. type: array
  33658. "500":
  33659. description: Internal Server Error
  33660. schema:
  33661. $ref: '#/definitions/app.Response'
  33662. security:
  33663. - ApiKeyAuth: []
  33664. summary: 查询合约交易买卖大厅详情
  33665. tags:
  33666. - 仓单贸易v2
  33667. /WrTrade2/QueryWrBuybackDetail:
  33668. get:
  33669. parameters:
  33670. - description: 融资合同id
  33671. in: query
  33672. name: scfcontractid
  33673. type: integer
  33674. produces:
  33675. - application/json
  33676. responses:
  33677. "200":
  33678. description: OK
  33679. schema:
  33680. items:
  33681. $ref: '#/definitions/models.WrBuybackDetail'
  33682. type: array
  33683. "500":
  33684. description: Internal Server Error
  33685. schema:
  33686. $ref: '#/definitions/app.Response'
  33687. security:
  33688. - ApiKeyAuth: []
  33689. summary: 查询仓单回购明细
  33690. tags:
  33691. - 仓单贸易v2
  33692. /WrTrade2/QueryWrClientAdSpaceConfig:
  33693. get:
  33694. produces:
  33695. - application/json
  33696. responses:
  33697. "200":
  33698. description: OK
  33699. schema:
  33700. items:
  33701. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  33702. type: array
  33703. "500":
  33704. description: Internal Server Error
  33705. schema:
  33706. $ref: '#/definitions/app.Response'
  33707. security:
  33708. - ApiKeyAuth: []
  33709. summary: 查询固定广告配置
  33710. tags:
  33711. - 仓单贸易v2
  33712. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  33713. get:
  33714. parameters:
  33715. - description: 资金账号
  33716. in: query
  33717. name: accountid
  33718. required: true
  33719. type: integer
  33720. - description: 商品id
  33721. in: query
  33722. name: goodsid
  33723. required: true
  33724. type: integer
  33725. produces:
  33726. - application/json
  33727. responses:
  33728. "200":
  33729. description: OK
  33730. schema:
  33731. items:
  33732. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  33733. type: array
  33734. "500":
  33735. description: Internal Server Error
  33736. schema:
  33737. $ref: '#/definitions/app.Response'
  33738. security:
  33739. - ApiKeyAuth: []
  33740. summary: 查询合约交收可点选仓单
  33741. tags:
  33742. - 仓单贸易v2
  33743. /WrTrade2/QueryWrDeliveryDetail:
  33744. get:
  33745. parameters:
  33746. - description: 用户id
  33747. in: query
  33748. name: userid
  33749. required: true
  33750. type: integer
  33751. - description: 资金账号id
  33752. in: query
  33753. name: accountid
  33754. type: integer
  33755. - description: 开始交易日(yyyymmdd)
  33756. in: query
  33757. name: begindate
  33758. type: string
  33759. - description: 结束交易日(yyyymmdd)
  33760. in: query
  33761. name: enddate
  33762. type: string
  33763. produces:
  33764. - application/json
  33765. responses:
  33766. "200":
  33767. description: OK
  33768. schema:
  33769. items:
  33770. $ref: '#/definitions/models.WrDeliveryDetail'
  33771. type: array
  33772. "500":
  33773. description: Internal Server Error
  33774. schema:
  33775. $ref: '#/definitions/app.Response'
  33776. security:
  33777. - ApiKeyAuth: []
  33778. summary: 查询交收
  33779. tags:
  33780. - 仓单贸易v2
  33781. /WrTrade2/QueryWrDraftUserInfo:
  33782. get:
  33783. parameters:
  33784. - description: 用户ID
  33785. in: query
  33786. name: userid
  33787. required: true
  33788. type: integer
  33789. - description: 用户状态 1:正常 2:注销
  33790. in: query
  33791. name: userstatus
  33792. type: integer
  33793. produces:
  33794. - application/json
  33795. responses:
  33796. "200":
  33797. description: OK
  33798. schema:
  33799. items:
  33800. $ref: '#/definitions/models.WrDraftUserInfo'
  33801. type: array
  33802. "500":
  33803. description: Internal Server Error
  33804. schema:
  33805. $ref: '#/definitions/app.Response'
  33806. security:
  33807. - ApiKeyAuth: []
  33808. summary: 查询实名认证信息
  33809. tags:
  33810. - 仓单贸易v2
  33811. /WrTrade2/QueryWrFactorTypeInfo:
  33812. get:
  33813. parameters:
  33814. - description: 仓单要素id
  33815. in: query
  33816. name: wrfactortypeid
  33817. required: true
  33818. type: integer
  33819. produces:
  33820. - application/json
  33821. responses:
  33822. "200":
  33823. description: OK
  33824. schema:
  33825. items:
  33826. $ref: '#/definitions/models.WrFactorTypeInfo'
  33827. type: array
  33828. "500":
  33829. description: Internal Server Error
  33830. schema:
  33831. $ref: '#/definitions/app.Response'
  33832. security:
  33833. - ApiKeyAuth: []
  33834. summary: 查询仓单要素详细信息
  33835. tags:
  33836. - 仓单贸易v2
  33837. /WrTrade2/QueryWrFactorTypeInfoEx:
  33838. get:
  33839. parameters:
  33840. - description: 仓单要素id
  33841. in: query
  33842. name: wrfactortypeid
  33843. required: true
  33844. type: integer
  33845. produces:
  33846. - application/json
  33847. responses:
  33848. "200":
  33849. description: OK
  33850. schema:
  33851. items:
  33852. $ref: '#/definitions/models.WrTypeItem'
  33853. type: array
  33854. "500":
  33855. description: Internal Server Error
  33856. schema:
  33857. $ref: '#/definitions/app.Response'
  33858. security:
  33859. - ApiKeyAuth: []
  33860. summary: 查询仓单要素详细信息列表项
  33861. tags:
  33862. - 仓单贸易v2
  33863. /WrTrade2/QueryWrFinanceBuyApply:
  33864. get:
  33865. description: 页面 融资信息+ / 申请单
  33866. parameters:
  33867. - description: 用户id
  33868. in: query
  33869. name: userid
  33870. required: true
  33871. type: integer
  33872. produces:
  33873. - application/json
  33874. responses:
  33875. "200":
  33876. description: OK
  33877. schema:
  33878. items:
  33879. $ref: '#/definitions/models.WrFinanceBuyApply'
  33880. type: array
  33881. "500":
  33882. description: Internal Server Error
  33883. schema:
  33884. $ref: '#/definitions/app.Response'
  33885. security:
  33886. - ApiKeyAuth: []
  33887. summary: 查询融资购买申请
  33888. tags:
  33889. - 仓单贸易v2
  33890. /WrTrade2/QueryWrFriendApply:
  33891. get:
  33892. parameters:
  33893. - description: 用户id
  33894. in: query
  33895. name: userid
  33896. required: true
  33897. type: integer
  33898. produces:
  33899. - application/json
  33900. responses:
  33901. "200":
  33902. description: OK
  33903. schema:
  33904. items:
  33905. $ref: '#/definitions/models.WrFriendApply'
  33906. type: array
  33907. "500":
  33908. description: Internal Server Error
  33909. schema:
  33910. $ref: '#/definitions/app.Response'
  33911. security:
  33912. - ApiKeyAuth: []
  33913. summary: 查询好友申请记录
  33914. tags:
  33915. - 仓单贸易v2
  33916. /WrTrade2/QueryWrGoodsInfo:
  33917. get:
  33918. parameters:
  33919. - description: 仓单贸易市场id
  33920. in: query
  33921. name: marketid
  33922. type: integer
  33923. - description: 0:仓单预售 1:仓单贸易
  33924. in: query
  33925. name: haswr
  33926. required: true
  33927. type: integer
  33928. - description: 仓单要素id
  33929. in: query
  33930. name: wrfactortypeid
  33931. required: true
  33932. type: integer
  33933. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  33934. in: query
  33935. name: tmplateid
  33936. type: integer
  33937. produces:
  33938. - application/json
  33939. responses:
  33940. "200":
  33941. description: OK
  33942. schema:
  33943. items:
  33944. $ref: '#/definitions/models.WrGoodsInfo'
  33945. type: array
  33946. "500":
  33947. description: Internal Server Error
  33948. schema:
  33949. $ref: '#/definitions/app.Response'
  33950. security:
  33951. - ApiKeyAuth: []
  33952. summary: 查询仓单商品信息
  33953. tags:
  33954. - 仓单贸易v2
  33955. /WrTrade2/QueryWrMarketTradeConfig:
  33956. get:
  33957. parameters:
  33958. - description: 市场id
  33959. in: query
  33960. name: marketid
  33961. type: integer
  33962. produces:
  33963. - application/json
  33964. responses:
  33965. "200":
  33966. description: OK
  33967. schema:
  33968. items:
  33969. $ref: '#/definitions/models.WrMarketTradeConfig'
  33970. type: array
  33971. "500":
  33972. description: Internal Server Error
  33973. schema:
  33974. $ref: '#/definitions/app.Response'
  33975. security:
  33976. - ApiKeyAuth: []
  33977. summary: 查询市场交易参数配置
  33978. tags:
  33979. - 仓单贸易v2
  33980. /WrTrade2/QueryWrOrderDetail:
  33981. get:
  33982. description: 页面 现货仓单 | 预售仓单 -> 委托单
  33983. parameters:
  33984. - description: 页码
  33985. in: query
  33986. name: page
  33987. type: integer
  33988. - description: 每页条数
  33989. in: query
  33990. name: pagesize
  33991. type: integer
  33992. - description: 用户id
  33993. in: query
  33994. name: userid
  33995. required: true
  33996. type: integer
  33997. - description: 仓单贸易市场id
  33998. in: query
  33999. name: marketid
  34000. type: integer
  34001. - description: 0:仓单预售 1:仓单贸易
  34002. in: query
  34003. name: haswr
  34004. required: true
  34005. type: integer
  34006. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  34007. in: query
  34008. name: bcancel
  34009. type: integer
  34010. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  34011. in: query
  34012. name: wrtradetype
  34013. type: integer
  34014. - description: 开始交易日(yyyymmdd)
  34015. in: query
  34016. name: begindate
  34017. type: string
  34018. - description: 结束交易日(yyyymmdd)
  34019. in: query
  34020. name: enddate
  34021. type: string
  34022. produces:
  34023. - application/json
  34024. responses:
  34025. "200":
  34026. description: OK
  34027. schema:
  34028. items:
  34029. $ref: '#/definitions/models.WrOrderDetail'
  34030. type: array
  34031. "500":
  34032. description: Internal Server Error
  34033. schema:
  34034. $ref: '#/definitions/app.Response'
  34035. security:
  34036. - ApiKeyAuth: []
  34037. summary: 查询仓单委托单
  34038. tags:
  34039. - 仓单贸易v2
  34040. /WrTrade2/QueryWrOutInApply:
  34041. get:
  34042. parameters:
  34043. - description: 页码
  34044. in: query
  34045. name: page
  34046. type: integer
  34047. - description: 每页条数
  34048. in: query
  34049. name: pagesize
  34050. type: integer
  34051. - description: 用户id
  34052. in: query
  34053. name: userid
  34054. required: true
  34055. type: integer
  34056. - description: 开始交易日(yyyymmdd)
  34057. in: query
  34058. name: begindate
  34059. type: string
  34060. - description: 结束交易日(yyyymmdd)
  34061. in: query
  34062. name: enddate
  34063. type: string
  34064. produces:
  34065. - application/json
  34066. responses:
  34067. "200":
  34068. description: OK
  34069. schema:
  34070. items:
  34071. $ref: '#/definitions/models.WrOutInApply'
  34072. type: array
  34073. "500":
  34074. description: Internal Server Error
  34075. schema:
  34076. $ref: '#/definitions/app.Response'
  34077. security:
  34078. - ApiKeyAuth: []
  34079. summary: 查询提货申请
  34080. tags:
  34081. - 仓单贸易v2
  34082. /WrTrade2/QueryWrPerformancePlanStep:
  34083. get:
  34084. parameters:
  34085. - description: 履约计划id(performanceplanid)
  34086. in: query
  34087. name: planid
  34088. required: true
  34089. type: integer
  34090. - description: 当前步骤id
  34091. in: query
  34092. name: curstepid
  34093. type: integer
  34094. produces:
  34095. - application/json
  34096. responses:
  34097. "200":
  34098. description: OK
  34099. schema:
  34100. items:
  34101. $ref: '#/definitions/models.WrPerformancePlanStep'
  34102. type: array
  34103. "500":
  34104. description: Internal Server Error
  34105. schema:
  34106. $ref: '#/definitions/app.Response'
  34107. security:
  34108. - ApiKeyAuth: []
  34109. summary: 查询履约信息详情
  34110. tags:
  34111. - 仓单贸易v2
  34112. /WrTrade2/QueryWrPerformanceStepType:
  34113. get:
  34114. produces:
  34115. - application/json
  34116. responses:
  34117. "200":
  34118. description: OK
  34119. schema:
  34120. items:
  34121. $ref: '#/definitions/models.WrPerformanceStepType'
  34122. type: array
  34123. "500":
  34124. description: Internal Server Error
  34125. schema:
  34126. $ref: '#/definitions/app.Response'
  34127. security:
  34128. - ApiKeyAuth: []
  34129. summary: 查询履约步骤枚举
  34130. tags:
  34131. - 仓单贸易v2
  34132. /WrTrade2/QueryWrPosition:
  34133. get:
  34134. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  34135. parameters:
  34136. - description: 用户id
  34137. in: query
  34138. name: userid
  34139. required: true
  34140. type: integer
  34141. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  34142. in: query
  34143. name: querytype
  34144. required: true
  34145. type: integer
  34146. - description: 0:仓单预售 1:仓单贸易
  34147. in: query
  34148. name: haswr
  34149. required: true
  34150. type: integer
  34151. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  34152. in: query
  34153. name: dgitemname
  34154. type: string
  34155. - description: 仓库id(筛选条件)
  34156. in: query
  34157. name: warehouseid
  34158. type: integer
  34159. - description: 品种id
  34160. in: query
  34161. name: deliverygoodsid
  34162. type: integer
  34163. - description: 品类id
  34164. in: query
  34165. name: wrstandardid
  34166. type: integer
  34167. produces:
  34168. - application/json
  34169. responses:
  34170. "200":
  34171. description: OK
  34172. schema:
  34173. items:
  34174. $ref: '#/definitions/models.WrPosition'
  34175. type: array
  34176. "500":
  34177. description: Internal Server Error
  34178. schema:
  34179. $ref: '#/definitions/app.Response'
  34180. security:
  34181. - ApiKeyAuth: []
  34182. summary: 查询现货(预售)仓单持仓
  34183. tags:
  34184. - 仓单贸易v2
  34185. /WrTrade2/QueryWrPreSaleInfo:
  34186. get:
  34187. parameters:
  34188. - description: 市场id
  34189. in: query
  34190. name: marketid
  34191. type: integer
  34192. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  34193. in: query
  34194. name: presalestatus
  34195. type: string
  34196. - description: 摇号标识 - 0:未摇号 1:已摇号
  34197. in: query
  34198. name: lotteryflag
  34199. type: integer
  34200. - description: 最近多少条记录(按创建时间倒序)
  34201. in: query
  34202. name: lastnum
  34203. type: integer
  34204. produces:
  34205. - application/json
  34206. responses:
  34207. "200":
  34208. description: OK
  34209. schema:
  34210. items:
  34211. $ref: '#/definitions/models.WrPreSaleInfo'
  34212. type: array
  34213. "500":
  34214. description: Internal Server Error
  34215. schema:
  34216. $ref: '#/definitions/app.Response'
  34217. security:
  34218. - ApiKeyAuth: []
  34219. summary: 查询新品发布
  34220. tags:
  34221. - 仓单贸易v2
  34222. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  34223. get:
  34224. parameters:
  34225. - description: 市场id
  34226. in: query
  34227. name: marketid
  34228. required: true
  34229. type: integer
  34230. - description: 现货商品id
  34231. in: query
  34232. name: wrstandardid
  34233. required: true
  34234. type: integer
  34235. - description: 开始交易日(yyyymmdd)
  34236. in: query
  34237. name: begindate
  34238. type: string
  34239. - description: 结束交易日(yyyymmdd)
  34240. in: query
  34241. name: enddate
  34242. type: string
  34243. - description: 最近多少条记录(按交易日倒序)
  34244. in: query
  34245. name: lastnum
  34246. type: integer
  34247. - description: 是否今日
  34248. in: query
  34249. name: istoday
  34250. type: boolean
  34251. produces:
  34252. - application/json
  34253. responses:
  34254. "200":
  34255. description: OK
  34256. schema:
  34257. items:
  34258. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  34259. type: array
  34260. "500":
  34261. description: Internal Server Error
  34262. schema:
  34263. $ref: '#/definitions/app.Response'
  34264. security:
  34265. - ApiKeyAuth: []
  34266. summary: 查询价格走势
  34267. tags:
  34268. - 仓单贸易v2
  34269. /WrTrade2/QueryWrScfContract:
  34270. get:
  34271. parameters:
  34272. - description: 用户id
  34273. in: query
  34274. name: userid
  34275. required: true
  34276. type: integer
  34277. - description: 融资合同id
  34278. in: query
  34279. name: scfcontractid
  34280. type: integer
  34281. produces:
  34282. - application/json
  34283. responses:
  34284. "200":
  34285. description: OK
  34286. schema:
  34287. items:
  34288. $ref: '#/definitions/models.WrScfContract'
  34289. type: array
  34290. "500":
  34291. description: Internal Server Error
  34292. schema:
  34293. $ref: '#/definitions/app.Response'
  34294. security:
  34295. - ApiKeyAuth: []
  34296. summary: 查询仓单贸易融资合同
  34297. tags:
  34298. - 仓单贸易v2
  34299. /WrTrade2/QueryWrScfContractInterest:
  34300. get:
  34301. parameters:
  34302. - description: 融资合同id
  34303. in: query
  34304. name: scfcontractid
  34305. type: integer
  34306. produces:
  34307. - application/json
  34308. responses:
  34309. "200":
  34310. description: OK
  34311. schema:
  34312. items:
  34313. $ref: '#/definitions/models.WrScfContractInterest'
  34314. type: array
  34315. "500":
  34316. description: Internal Server Error
  34317. schema:
  34318. $ref: '#/definitions/app.Response'
  34319. security:
  34320. - ApiKeyAuth: []
  34321. summary: 查询融资合同费用明细
  34322. tags:
  34323. - 仓单贸易v2
  34324. /WrTrade2/QueryWrSearchUser:
  34325. get:
  34326. parameters:
  34327. - description: 用户名称(模糊匹配)
  34328. in: query
  34329. name: username
  34330. required: true
  34331. type: string
  34332. produces:
  34333. - application/json
  34334. responses:
  34335. "200":
  34336. description: OK
  34337. schema:
  34338. items:
  34339. $ref: '#/definitions/models.WrSearchUser'
  34340. type: array
  34341. "500":
  34342. description: Internal Server Error
  34343. schema:
  34344. $ref: '#/definitions/app.Response'
  34345. security:
  34346. - ApiKeyAuth: []
  34347. summary: 查询用户
  34348. tags:
  34349. - 仓单贸易v2
  34350. /WrTrade2/QueryWrSpecialMatchOrder:
  34351. get:
  34352. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  34353. parameters:
  34354. - description: 页码
  34355. in: query
  34356. name: page
  34357. type: integer
  34358. - description: 每页条数
  34359. in: query
  34360. name: pagesize
  34361. type: integer
  34362. - description: 用户id
  34363. in: query
  34364. name: userid
  34365. required: true
  34366. type: integer
  34367. - description: 仓单贸易市场id
  34368. in: query
  34369. name: marketid
  34370. type: integer
  34371. - description: 0:仓单预售 1:仓单贸易
  34372. in: query
  34373. name: haswr
  34374. required: true
  34375. type: integer
  34376. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  34377. in: query
  34378. name: isspecified
  34379. type: integer
  34380. produces:
  34381. - application/json
  34382. responses:
  34383. "200":
  34384. description: OK
  34385. schema:
  34386. items:
  34387. $ref: '#/definitions/models.WrSpecialMatchOrder'
  34388. type: array
  34389. "500":
  34390. description: Internal Server Error
  34391. schema:
  34392. $ref: '#/definitions/app.Response'
  34393. security:
  34394. - ApiKeyAuth: []
  34395. summary: 查询指定成交
  34396. tags:
  34397. - 仓单贸易v2
  34398. /WrTrade2/QueryWrStandardFactoryItem:
  34399. get:
  34400. parameters:
  34401. - description: 品类id
  34402. in: query
  34403. name: wrstandardid
  34404. required: true
  34405. type: integer
  34406. produces:
  34407. - application/json
  34408. responses:
  34409. "200":
  34410. description: OK
  34411. schema:
  34412. items:
  34413. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  34414. type: array
  34415. "500":
  34416. description: Internal Server Error
  34417. schema:
  34418. $ref: '#/definitions/app.Response'
  34419. security:
  34420. - ApiKeyAuth: []
  34421. summary: 查询品类要素定义项
  34422. tags:
  34423. - 仓单贸易v2
  34424. /WrTrade2/QueryWrTradeBargainApply:
  34425. get:
  34426. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  34427. 议价->对方议价 填写matchuserid=登录用户id
  34428. parameters:
  34429. - description: 议价人id(摘牌方)
  34430. in: query
  34431. name: userid
  34432. type: integer
  34433. - description: 挂牌方id(查对方议价时,填写此项)
  34434. in: query
  34435. name: matchuserid
  34436. type: integer
  34437. - description: 关联委托单id
  34438. in: query
  34439. name: wrtradeorderid
  34440. type: integer
  34441. - description: 0:仓单预售 1:仓单贸易
  34442. in: query
  34443. name: haswr
  34444. required: true
  34445. type: integer
  34446. - description: 开始交易日(yyyymmdd)
  34447. in: query
  34448. name: begindate
  34449. type: string
  34450. - description: 结束交易日(yyyymmdd)
  34451. in: query
  34452. name: enddate
  34453. type: string
  34454. produces:
  34455. - application/json
  34456. responses:
  34457. "200":
  34458. description: OK
  34459. schema:
  34460. items:
  34461. $ref: '#/definitions/models.WRTradeBargainApply'
  34462. type: array
  34463. "500":
  34464. description: Internal Server Error
  34465. schema:
  34466. $ref: '#/definitions/app.Response'
  34467. security:
  34468. - ApiKeyAuth: []
  34469. summary: 查询议价单
  34470. tags:
  34471. - 仓单贸易v2
  34472. /WrTrade2/QueryWrTradeDetail:
  34473. get:
  34474. parameters:
  34475. - description: 页码
  34476. in: query
  34477. name: page
  34478. type: integer
  34479. - description: 每页条数
  34480. in: query
  34481. name: pagesize
  34482. type: integer
  34483. - description: 用户id
  34484. in: query
  34485. name: userid
  34486. required: true
  34487. type: integer
  34488. - description: 仓单贸易市场id
  34489. in: query
  34490. name: marketid
  34491. type: integer
  34492. - description: 0:仓单预售 1:仓单贸易
  34493. in: query
  34494. name: haswr
  34495. required: true
  34496. type: integer
  34497. - description: 开始交易日(yyyymmdd)
  34498. in: query
  34499. name: begindate
  34500. type: string
  34501. - description: 结束交易日(yyyymmdd)
  34502. in: query
  34503. name: enddate
  34504. type: string
  34505. produces:
  34506. - application/json
  34507. responses:
  34508. "200":
  34509. description: OK
  34510. schema:
  34511. items:
  34512. $ref: '#/definitions/models.WrTradeDetail'
  34513. type: array
  34514. "500":
  34515. description: Internal Server Error
  34516. schema:
  34517. $ref: '#/definitions/app.Response'
  34518. security:
  34519. - ApiKeyAuth: []
  34520. summary: 查询仓单成交明细
  34521. tags:
  34522. - 仓单贸易v2
  34523. /WrTrade2/QueryWrTradeOrderDetail:
  34524. get:
  34525. parameters:
  34526. - description: 页码
  34527. in: query
  34528. name: page
  34529. type: integer
  34530. - description: 每页条数
  34531. in: query
  34532. name: pagesize
  34533. type: integer
  34534. - description: 商品id
  34535. in: query
  34536. name: goodsid
  34537. required: true
  34538. type: integer
  34539. - description: 买卖方向 0-买 1-卖
  34540. in: query
  34541. name: buyorsell
  34542. required: true
  34543. type: integer
  34544. produces:
  34545. - application/json
  34546. responses:
  34547. "200":
  34548. description: OK
  34549. schema:
  34550. items:
  34551. $ref: '#/definitions/models.WrTradeOrderDetail'
  34552. type: array
  34553. "500":
  34554. description: Internal Server Error
  34555. schema:
  34556. $ref: '#/definitions/app.Response'
  34557. security:
  34558. - ApiKeyAuth: []
  34559. summary: 查询合约交易买卖大厅
  34560. tags:
  34561. - 仓单贸易v2
  34562. /WrTrade2/QueryWrTradeQuote:
  34563. get:
  34564. parameters:
  34565. - description: 现货商品id
  34566. in: query
  34567. name: wrstandardid
  34568. required: true
  34569. type: integer
  34570. - description: 开始日期(yyyymmdd)
  34571. in: query
  34572. name: begindate
  34573. required: true
  34574. type: string
  34575. - description: 结束日期(yyyymmdd)
  34576. in: query
  34577. name: enddate
  34578. required: true
  34579. type: string
  34580. - description: 市场id
  34581. in: query
  34582. name: marketid
  34583. type: integer
  34584. produces:
  34585. - application/json
  34586. responses:
  34587. "200":
  34588. description: OK
  34589. schema:
  34590. items:
  34591. $ref: '#/definitions/models.Wrtradetradequote'
  34592. type: array
  34593. "500":
  34594. description: Internal Server Error
  34595. schema:
  34596. $ref: '#/definitions/app.Response'
  34597. security:
  34598. - ApiKeyAuth: []
  34599. summary: 查询仓单贸易成交行情
  34600. tags:
  34601. - 仓单贸易v2
  34602. /WrTrade2/QueryWrUserFriend:
  34603. get:
  34604. parameters:
  34605. - description: 用户id
  34606. in: query
  34607. name: userid
  34608. required: true
  34609. type: integer
  34610. - description: 新朋友userid, 如果填写了此项则查找新朋友
  34611. in: query
  34612. name: newuserid
  34613. type: integer
  34614. produces:
  34615. - application/json
  34616. responses:
  34617. "200":
  34618. description: OK
  34619. schema:
  34620. items:
  34621. $ref: '#/definitions/models.WrUserFriend'
  34622. type: array
  34623. "500":
  34624. description: Internal Server Error
  34625. schema:
  34626. $ref: '#/definitions/app.Response'
  34627. security:
  34628. - ApiKeyAuth: []
  34629. summary: 查询我的朋友
  34630. tags:
  34631. - 仓单贸易v2
  34632. /WrTrade2/QueryWrUserReceiptInfo:
  34633. get:
  34634. parameters:
  34635. - description: 用户id
  34636. in: query
  34637. name: userid
  34638. type: integer
  34639. - description: 发票类型 - 1:个人 2:企业
  34640. in: query
  34641. name: receipttype
  34642. type: integer
  34643. produces:
  34644. - application/json
  34645. responses:
  34646. "200":
  34647. description: OK
  34648. schema:
  34649. items:
  34650. $ref: '#/definitions/models.WrUserReceiptInfo'
  34651. type: array
  34652. "500":
  34653. description: Internal Server Error
  34654. schema:
  34655. $ref: '#/definitions/app.Response'
  34656. security:
  34657. - ApiKeyAuth: []
  34658. summary: 查询发票信息
  34659. tags:
  34660. - 仓单贸易v2
  34661. /WrTrade2/QueryXhcpSellBackApply:
  34662. get:
  34663. parameters:
  34664. - description: 用户ID
  34665. in: query
  34666. name: userid
  34667. required: true
  34668. type: integer
  34669. produces:
  34670. - application/json
  34671. responses:
  34672. "200":
  34673. description: OK
  34674. schema:
  34675. items:
  34676. $ref: '#/definitions/models.Xhcpsellbackapply'
  34677. type: array
  34678. "500":
  34679. description: Internal Server Error
  34680. schema:
  34681. $ref: '#/definitions/app.Response'
  34682. security:
  34683. - ApiKeyAuth: []
  34684. summary: 查询我的回收申请(新会陈皮)
  34685. tags:
  34686. - 仓单贸易v2
  34687. /ZJ/GetBankTip:
  34688. get:
  34689. produces:
  34690. - application/json
  34691. responses:
  34692. "200":
  34693. description: OK
  34694. schema:
  34695. type: string
  34696. "500":
  34697. description: Internal Server Error
  34698. schema:
  34699. $ref: '#/definitions/app.Response'
  34700. summary: 获取中江网银端出入金提示信息
  34701. tags:
  34702. - 中江
  34703. /ZJ/GetCusBankChannels:
  34704. get:
  34705. produces:
  34706. - application/json
  34707. responses:
  34708. "200":
  34709. description: OK
  34710. schema:
  34711. items:
  34712. type: string
  34713. type: array
  34714. "500":
  34715. description: Internal Server Error
  34716. schema:
  34717. $ref: '#/definitions/app.Response'
  34718. summary: 获取中江出入金渠道显示列表
  34719. tags:
  34720. - 中江
  34721. securityDefinitions:
  34722. ApiKeyAuth:
  34723. in: header
  34724. name: Authorization
  34725. type: apiKey
  34726. Group:
  34727. in: header
  34728. name: Group
  34729. type: apiKey
  34730. LoginID:
  34731. in: header
  34732. name: LoginID
  34733. type: apiKey
  34734. swagger: "2.0"