swagger.yaml 1.1 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. hsby.GetHsbyMyCountRsp:
  3746. properties:
  3747. myCouponCount:
  3748. description: 我的优惠卷数量
  3749. type: integer
  3750. myOrderDetailListingCount:
  3751. description: 我的订单求购中数量
  3752. type: integer
  3753. myOrderDetailPreCount:
  3754. description: 我的订单抢购中数量
  3755. type: integer
  3756. myPackageUnReceiveCount:
  3757. description: 我的包裹待收货数量
  3758. type: integer
  3759. myPackageUnSendCount:
  3760. description: 我的包裹待发货数量
  3761. type: integer
  3762. myPayOrderCount:
  3763. description: 我的订单待付款数量
  3764. type: integer
  3765. type: object
  3766. hsby.QueryProvincesAndCitiesRsp:
  3767. properties:
  3768. cities:
  3769. description: 市
  3770. items:
  3771. $ref: '#/definitions/models.Division'
  3772. type: array
  3773. province:
  3774. $ref: '#/definitions/models.Division'
  3775. description: 省
  3776. type: object
  3777. models.Arearole:
  3778. properties:
  3779. createtime:
  3780. description: 创建时间
  3781. type: string
  3782. creatorid:
  3783. description: 创建人ID
  3784. type: integer
  3785. fromuserid:
  3786. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3787. type: integer
  3788. isreturnscore:
  3789. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3790. type: integer
  3791. modifierid:
  3792. description: 修改人ID
  3793. type: integer
  3794. modifytime:
  3795. description: 修改时间
  3796. type: string
  3797. orgtype:
  3798. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3799. type: integer
  3800. outuserid:
  3801. description: 外部账户[场外期权做市商]
  3802. type: string
  3803. parentuserid:
  3804. description: 上级组织机构(组织机构)
  3805. type: integer
  3806. roletype:
  3807. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3808. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3809. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3810. type: integer
  3811. rootuserid:
  3812. description: 顶级组织机构用户ID(组织机构)
  3813. type: integer
  3814. shoppassword:
  3815. description: 商城店铺登陆密码(商城店铺角色使用)
  3816. type: string
  3817. sublevelpath:
  3818. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3819. type: string
  3820. suborgtype:
  3821. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3822. type: integer
  3823. tradeaccountid:
  3824. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3825. type: integer
  3826. transurl:
  3827. description: 物流地址(物流机构)
  3828. type: string
  3829. userid:
  3830. description: 机构用户ID其他做市关系,都设置为 1
  3831. type: integer
  3832. required:
  3833. - roletype
  3834. - userid
  3835. type: object
  3836. models.BScinoutorderdetail:
  3837. properties:
  3838. backagenum:
  3839. description: 件数
  3840. type: integer
  3841. bagweightgm:
  3842. description: 连袋重(克)
  3843. type: number
  3844. countryname:
  3845. description: 产销国
  3846. type: string
  3847. currencydes:
  3848. description: 币种
  3849. type: string
  3850. currencyname:
  3851. description: 币制
  3852. type: string
  3853. customsno:
  3854. description: 报关单号(进仓:录入时更新,出仓申请时有)
  3855. type: string
  3856. customsvalue:
  3857. description: 报关总值
  3858. type: number
  3859. detailid:
  3860. description: 明细ID(807+Unix秒时间戳(10位)+xxxxxx)
  3861. type: string
  3862. executionflag:
  3863. description: 海关执行标志
  3864. type: string
  3865. goodsid:
  3866. description: 商品ID
  3867. type: integer
  3868. goodsname:
  3869. description: 商品名称
  3870. type: string
  3871. goodsnum:
  3872. description: 商品编号
  3873. type: string
  3874. goodsspec:
  3875. description: 规格
  3876. type: string
  3877. legalunit:
  3878. description: 法定计量单位
  3879. type: string
  3880. netweightct:
  3881. description: 净重(克拉)
  3882. type: number
  3883. netweightgm:
  3884. description: 净重(克)
  3885. type: number
  3886. orderid:
  3887. description: 申请ID
  3888. type: string
  3889. origincountry:
  3890. description: 原产国
  3891. type: string
  3892. prepricegm:
  3893. description: 单价(克)
  3894. type: number
  3895. rawdetail:
  3896. description: 原料明细
  3897. type: string
  3898. remark:
  3899. description: 备注
  3900. type: string
  3901. reportunit:
  3902. description: 申报计量单位
  3903. type: string
  3904. storageperiod:
  3905. description: 存储(监管)期限
  3906. type: string
  3907. totalprice:
  3908. description: 总价
  3909. type: number
  3910. unitprice:
  3911. description: 单价
  3912. type: number
  3913. userid:
  3914. description: 用户ID
  3915. type: integer
  3916. required:
  3917. - orderid
  3918. - userid
  3919. type: object
  3920. models.BScoutorderdetailatt:
  3921. properties:
  3922. countryname:
  3923. description: 产销国
  3924. type: string
  3925. curcustomsvalue:
  3926. description: 本次扣减货值(报关总值)
  3927. type: number
  3928. curnetweightct:
  3929. description: 本次扣减量(克拉)
  3930. type: number
  3931. curnetweightgm:
  3932. description: 本次扣减净重(克)
  3933. type: number
  3934. currencyname:
  3935. description: 币制
  3936. type: string
  3937. curtotalprice:
  3938. description: 本次扣减货值
  3939. type: number
  3940. customsno:
  3941. description: 报关单号
  3942. type: string
  3943. customsvalue:
  3944. description: 报关总值
  3945. type: number
  3946. detailattid:
  3947. description: 明细ID(810+Unix秒时间戳(10位)+xxxxxx)
  3948. type: string
  3949. executionflag:
  3950. description: 海关执行标志
  3951. type: string
  3952. goodsid:
  3953. description: 商品ID
  3954. type: integer
  3955. goodsname:
  3956. description: 商品名称
  3957. type: string
  3958. goodsnum:
  3959. description: 商品编号
  3960. type: string
  3961. goodsspec:
  3962. description: 规格型号
  3963. type: string
  3964. jckdate:
  3965. description: 进口日期
  3966. type: string
  3967. legalunit:
  3968. description: 法定计量单位
  3969. type: string
  3970. netweightct:
  3971. description: 净重(克拉)
  3972. type: number
  3973. netweightgm:
  3974. description: 净重(克)
  3975. type: number
  3976. orderid:
  3977. description: 申请ID
  3978. type: string
  3979. remaincurnetweightgm:
  3980. description: 结余净重(克)
  3981. type: number
  3982. remaincustomsvalue:
  3983. description: 结余报关总值
  3984. type: number
  3985. remainnetweightct:
  3986. description: 结余净重(克拉)
  3987. type: number
  3988. remaintotalprice:
  3989. description: 结余总价
  3990. type: number
  3991. reportunit:
  3992. description: 申报计量单位
  3993. type: string
  3994. storageperiod:
  3995. description: 存储(监管)期限
  3996. type: string
  3997. totalprice:
  3998. description: 总价
  3999. type: number
  4000. unitprice:
  4001. description: 单价
  4002. type: number
  4003. userid:
  4004. description: 用户ID
  4005. type: integer
  4006. required:
  4007. - orderid
  4008. - userid
  4009. type: object
  4010. models.Bscinoutorder:
  4011. properties:
  4012. applicanttime:
  4013. description: 申请时间
  4014. type: string
  4015. bagweightgm:
  4016. description: 连袋重(克)
  4017. type: number
  4018. checklistno:
  4019. description: 核注清单号
  4020. type: string
  4021. confirmdate:
  4022. description: 进出仓确认时间
  4023. type: string
  4024. confirmername:
  4025. description: 进出仓确认人
  4026. type: string
  4027. confirmtradedate:
  4028. description: 进出仓确认交易日(yyyyMMdd)
  4029. type: string
  4030. contactname:
  4031. description: 申请方联系人
  4032. type: string
  4033. contactnum:
  4034. description: 申请方联系电话
  4035. type: string
  4036. customsno:
  4037. description: 报关单号
  4038. type: string
  4039. customstotalvalue:
  4040. description: 报关总值
  4041. type: number
  4042. goodsname:
  4043. description: 商品名称 - 明细的商品名称拼接("/")
  4044. type: string
  4045. jckdate:
  4046. description: 进出口日期
  4047. type: string
  4048. logisticscompany:
  4049. description: 物流公司名称
  4050. type: string
  4051. logisticsno:
  4052. description: 托运单号
  4053. type: string
  4054. netweightct:
  4055. description: 净重(克拉)
  4056. type: number
  4057. netweightgm:
  4058. description: 净重(克)
  4059. type: number
  4060. orderid:
  4061. description: 申请ID(806+Unix秒时间戳(10位)+xxxxxx)
  4062. type: string
  4063. ordernum:
  4064. description: 单据编号
  4065. type: string
  4066. orderstatus:
  4067. description: 进出仓状态 - 1.待确认 2.待上传 3.报关中 4.进仓中 5.出仓中 20.已关闭 21.确认拒绝(枚举:GZBSCOrderStatus)
  4068. type: integer
  4069. ordertype:
  4070. description: 单据类型 - 1:进仓 2:出仓(枚举:GZBSCOrderType)
  4071. type: integer
  4072. outtype:
  4073. description: 出仓类型 - 1:转厂 2:出境(枚举:GZBSCOutType)
  4074. type: integer
  4075. sealno:
  4076. description: 进出仓封条号
  4077. type: string
  4078. signeedate:
  4079. description: 收发货人日期
  4080. type: string
  4081. signeename:
  4082. description: 收发货人
  4083. type: string
  4084. totalprice:
  4085. description: 总价
  4086. type: number
  4087. useraddress:
  4088. description: 申请方地点
  4089. type: string
  4090. userid:
  4091. description: 申请用户ID
  4092. type: integer
  4093. username:
  4094. description: 申请方名称
  4095. type: string
  4096. required:
  4097. - jckdate
  4098. - orderid
  4099. - userid
  4100. type: object
  4101. models.BuyOrder:
  4102. properties:
  4103. accountid:
  4104. description: 资金账户ID
  4105. type: integer
  4106. buyusername:
  4107. description: 买方
  4108. type: string
  4109. marketid:
  4110. description: 市场ID
  4111. type: integer
  4112. ordertime:
  4113. description: 委托时间
  4114. type: string
  4115. origin:
  4116. description: 原产地
  4117. type: string
  4118. performancetemplateid:
  4119. description: 履约计划模板ID
  4120. type: integer
  4121. remark:
  4122. description: 备注
  4123. type: string
  4124. userid:
  4125. description: 用户ID
  4126. type: integer
  4127. validtime:
  4128. description: 有效期限
  4129. type: string
  4130. warehouseids:
  4131. description: 仓库ID - 多个, 逗号分隔
  4132. type: string
  4133. warehouseinfosdisplay:
  4134. type: string
  4135. wrtradeorderid:
  4136. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  4137. type: string
  4138. wrtradeorderstatus:
  4139. 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、
  4140. type: integer
  4141. zscategory:
  4142. description: 钻石分类 - 枚举”ZSCategory“
  4143. type: integer
  4144. zscategorydisplay:
  4145. type: string
  4146. zsclaritytype:
  4147. description: 净度 - 两个, 逗号分隔
  4148. type: string
  4149. zsclaritytypedisplay:
  4150. type: string
  4151. zscolortype:
  4152. description: 颜色 - 两个, 逗号分隔
  4153. type: string
  4154. zscolortypedisplay:
  4155. type: string
  4156. zscrystaltype:
  4157. description: 晶型 - 多个,逗号分隔
  4158. type: string
  4159. zscrystaltypedisplay:
  4160. type: string
  4161. zscurrencytype:
  4162. description: 货币类型 - 多个, 逗号分隔
  4163. type: string
  4164. zscurrencytypedisplay:
  4165. type: string
  4166. zscuttype:
  4167. description: 切工 - 两个, 逗号分隔
  4168. type: string
  4169. zscuttypedisplay:
  4170. type: string
  4171. zsczcolor1type:
  4172. description: 彩钻颜色1, 逗号分隔
  4173. type: string
  4174. zsczcolor1typedisplay:
  4175. type: string
  4176. zsczcolor2type:
  4177. description: 彩钻颜色2, 逗号分隔
  4178. type: string
  4179. zsczcolor2typedisplay:
  4180. type: string
  4181. zsczcolor3type:
  4182. description: 彩钻颜色3, 逗号分隔
  4183. type: string
  4184. zsczcolor3typedisplay:
  4185. type: string
  4186. zsfluorescencetype:
  4187. description: 荧光 - 多个, 逗号分隔
  4188. type: string
  4189. zsfluorescencetypedisplay:
  4190. type: string
  4191. zspolishtype:
  4192. description: 抛光度 - 两个, 逗号分隔
  4193. type: string
  4194. zspolishtypedisplay:
  4195. type: string
  4196. zsshapetype:
  4197. description: 形状 - 多个, 逗号分隔
  4198. type: string
  4199. zsshapetypedisplay:
  4200. type: string
  4201. zssize:
  4202. description: 尺寸 - 两个小数, 逗号分隔
  4203. type: string
  4204. zsstyletype:
  4205. description: 款式 - 多个, 逗号分隔
  4206. type: string
  4207. zsstyletypedisplay:
  4208. type: string
  4209. zssymmetrytype:
  4210. description: 对称度 - 两个, 逗号分隔
  4211. type: string
  4212. zssymmetrytypedisplay:
  4213. type: string
  4214. zstabledisplay:
  4215. description: 求购信息
  4216. type: string
  4217. type: object
  4218. models.Clientfixedadconfig:
  4219. properties:
  4220. adsort:
  4221. description: 排序
  4222. type: integer
  4223. adtype:
  4224. description: 广告位类型 - 1:新品抢购(HSBY)
  4225. type: integer
  4226. areauserid:
  4227. description: 所属机构ID
  4228. type: integer
  4229. createdate:
  4230. description: 创建时间
  4231. type: string
  4232. creatorid:
  4233. description: 创建人
  4234. type: integer
  4235. imagepath:
  4236. description: 图片
  4237. type: string
  4238. isshow:
  4239. description: 是否展示 - 0:不展示 1:展示
  4240. type: integer
  4241. modifierid:
  4242. description: 操作人
  4243. type: integer
  4244. recsize:
  4245. description: 推荐尺寸
  4246. type: string
  4247. title:
  4248. description: 标题
  4249. type: string
  4250. updatedate:
  4251. description: 更新时间
  4252. type: string
  4253. urlcontent:
  4254. description: 链接(地址或商品ID)
  4255. type: string
  4256. urltype:
  4257. description: 链接类型 - 1:直接地址 2:商品ID
  4258. type: integer
  4259. required:
  4260. - adsort
  4261. - adtype
  4262. type: object
  4263. models.DgFactoryItem:
  4264. properties:
  4265. dgfactoryitemid:
  4266. description: 选择项ID(SEQ_DGFACTORYITEM)
  4267. type: integer
  4268. dgfactoryitemtypeid:
  4269. description: 要素项类型
  4270. type: integer
  4271. dgfactoryitemvalue:
  4272. description: 要素项值(类型为仓库时填写仓库名称)
  4273. type: string
  4274. orderindex:
  4275. description: 顺序
  4276. type: integer
  4277. type: object
  4278. models.Division:
  4279. properties:
  4280. autoid:
  4281. description: 自增ID
  4282. type: integer
  4283. divisioncode:
  4284. description: 行政代码
  4285. type: string
  4286. divisionlevel:
  4287. description: 行政级别
  4288. type: string
  4289. divisionname:
  4290. description: 行政名称
  4291. type: string
  4292. modifierid:
  4293. description: 修改人
  4294. type: integer
  4295. modifytime:
  4296. description: 修改时间
  4297. type: string
  4298. parentcode:
  4299. description: 上级行政代码
  4300. type: string
  4301. pathname:
  4302. description: 路径名称
  4303. type: string
  4304. postcode:
  4305. description: 邮政编码
  4306. type: string
  4307. separablename:
  4308. description: 可拆分的全称
  4309. type: string
  4310. shortcode:
  4311. description: 地区简码
  4312. type: string
  4313. required:
  4314. - autoid
  4315. - divisioncode
  4316. type: object
  4317. models.Enumdicitem:
  4318. properties:
  4319. autoid:
  4320. description: 自增ID
  4321. type: integer
  4322. bankmappedvalue:
  4323. description: 银行服务对应值
  4324. type: string
  4325. enumdiccode:
  4326. description: 所属枚举代码
  4327. type: string
  4328. enumdicid:
  4329. description: 所属枚举ID
  4330. type: integer
  4331. enumdicname:
  4332. description: 枚举项名称
  4333. type: string
  4334. enumitemname:
  4335. description: 枚举项值
  4336. type: integer
  4337. enumitemstatus:
  4338. description: 枚举项状态 - 1.启用 2.不启用
  4339. type: integer
  4340. enumitemvalue:
  4341. description: 通用值 - [币种通用简写]
  4342. type: string
  4343. param1:
  4344. description: 参数1[币种:币种小数位]
  4345. type: string
  4346. param2:
  4347. description: 参数1[币种:币种显示单位]
  4348. type: string
  4349. remark:
  4350. description: 备注
  4351. type: string
  4352. required:
  4353. - autoid
  4354. - enumdiccode
  4355. - enumdicid
  4356. - enumitemname
  4357. type: object
  4358. models.Ermcp2AreaExposure:
  4359. properties:
  4360. areauserid:
  4361. description: 所属机构
  4362. type: integer
  4363. enumdicname:
  4364. description: 单位
  4365. type: string
  4366. futureqty:
  4367. description: 期货套期量
  4368. type: number
  4369. futureqtychange:
  4370. description: 期货变动量 = FutureQty - OriFutureQty
  4371. type: number
  4372. goodsunitid:
  4373. description: 单位ID
  4374. type: integer
  4375. hedgedspotexposure:
  4376. description: 被套期现货敞口量
  4377. type: number
  4378. hedgedspratio:
  4379. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4380. type: number
  4381. hedgedtotalexposourechange:
  4382. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4383. type: number
  4384. hedgedtotalexposure:
  4385. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4386. type: number
  4387. hedgeplanqty:
  4388. description: 套期计划量
  4389. type: number
  4390. hedgeplanqtychange:
  4391. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4392. type: number
  4393. hedgespotqty:
  4394. description: 被套期现货量
  4395. type: number
  4396. middlegoodsid:
  4397. description: 套保品种
  4398. type: integer
  4399. middlegoodsname:
  4400. description: 套保品种名称
  4401. type: string
  4402. orifutureqty:
  4403. description: 期初期货套期量
  4404. type: number
  4405. orihedgedspotexposure:
  4406. description: 期初被套期现货敞口量
  4407. type: number
  4408. orihedgedtotalexposure:
  4409. description: 期初套期敞口量
  4410. type: number
  4411. orihedgeplanqty:
  4412. description: 期初套期计划量
  4413. type: number
  4414. orihedgespotqty:
  4415. description: 期初被套期现货量
  4416. type: number
  4417. orispotexposure:
  4418. description: 期初现货敞口量
  4419. type: number
  4420. orispotqty:
  4421. description: 期初现货总量
  4422. type: number
  4423. oritotalexposure:
  4424. description: 期初总敞口量
  4425. type: number
  4426. spotexposure:
  4427. description: 现货敞口量
  4428. type: number
  4429. spotqty:
  4430. description: 现货总量
  4431. type: number
  4432. spotqtychange:
  4433. description: 现货变动量 = SpotQty - OriSpotQty
  4434. type: number
  4435. spratio:
  4436. description: 总期现比例 = 期货套期量/现货敞口量
  4437. type: number
  4438. totalexposure:
  4439. description: 总敞口量 = 现货敞口量 + 期货套期量
  4440. type: number
  4441. totalexposurechange:
  4442. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4443. type: number
  4444. updatetime:
  4445. description: 更新时间 --DATE
  4446. type: string
  4447. type: object
  4448. models.Ermcp2hedgeditem:
  4449. properties:
  4450. accountname:
  4451. description: 套期主体
  4452. type: string
  4453. applyid:
  4454. description: 申请人
  4455. type: integer
  4456. applysrc:
  4457. description: 申请来源 - 1:管理端 2:终端
  4458. type: integer
  4459. areauserid:
  4460. description: 企业ID
  4461. type: integer
  4462. auditid:
  4463. description: 审核人
  4464. type: integer
  4465. auditremark:
  4466. description: 审核备注
  4467. type: string
  4468. auditsrc:
  4469. description: 审核来源 - 1:管理端 2:终端
  4470. type: integer
  4471. audittime:
  4472. description: 审核时间
  4473. type: string
  4474. audittradedate:
  4475. description: 审核交易日(yyyyMMdd)
  4476. type: string
  4477. createtime:
  4478. description: 申请时间
  4479. type: string
  4480. curprice:
  4481. description: 当前市场价
  4482. type: number
  4483. curstock:
  4484. description: 期末库存量 = 采购总量 - 销售总量
  4485. type: number
  4486. deliverygoodsid:
  4487. description: 现货品种ID
  4488. type: integer
  4489. enddate:
  4490. description: 完成日期
  4491. type: string
  4492. endtradedate:
  4493. description: 完成交易日
  4494. type: string
  4495. enumdicname:
  4496. description: 单位
  4497. type: string
  4498. exeamount:
  4499. description: 执行市价总额
  4500. type: number
  4501. exeavgprice:
  4502. description: 执行市场均价= 执行市价总额 / 执行现货量
  4503. type: number
  4504. execontractamount:
  4505. description: 执行定价总额
  4506. type: number
  4507. exeqty:
  4508. description: 执行现货量
  4509. type: number
  4510. exerestamount:
  4511. description: 执行剩余市价总额【现货贸易】
  4512. type: number
  4513. futurefloatpl:
  4514. description: 期货浮动损益
  4515. type: number
  4516. futurehedgepl:
  4517. description: 期货实际损益
  4518. type: number
  4519. futurehedgeplchange:
  4520. description: 期货实际损益变动
  4521. type: number
  4522. futurepl:
  4523. description: 期货套期损益
  4524. type: number
  4525. futureplchange:
  4526. description: 期货套期损益变动
  4527. type: number
  4528. hedgeamount:
  4529. description: 套期市价总额
  4530. type: number
  4531. hedgecontractamount:
  4532. description: 套期定价总额 【定价采购合同】【现货贸易】
  4533. type: number
  4534. hedgeditemid:
  4535. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4536. type: string
  4537. hedgeditemname:
  4538. description: 项目名称
  4539. type: string
  4540. hedgeditemnum:
  4541. description: 项目编号
  4542. type: string
  4543. hedgeditemstatus:
  4544. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4545. type: integer
  4546. hedgedtype:
  4547. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4548. type: integer
  4549. hedgeqty:
  4550. description: 套期现货量
  4551. type: number
  4552. hedgerate:
  4553. description: 套保比率
  4554. type: number
  4555. hedgerestamount:
  4556. description: 套期剩余市价总额【现货贸易】
  4557. type: number
  4558. hedgesumpl:
  4559. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4560. type: number
  4561. middlegoodslist:
  4562. description: 套期商品列表
  4563. items:
  4564. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4565. type: array
  4566. oriavgprice:
  4567. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4568. type: number
  4569. orifuturehedgepl:
  4570. description: 期初期货实际损益
  4571. type: number
  4572. orifuturepl:
  4573. description: 期初期货套期损益
  4574. type: number
  4575. orispothedgepl:
  4576. description: 期初现货实际损益
  4577. type: number
  4578. orispotpl:
  4579. description: 期初现货套期损益
  4580. type: number
  4581. planenddate:
  4582. description: 计划结束日期
  4583. type: string
  4584. planstartdate:
  4585. description: 计划开始日期
  4586. type: string
  4587. remark:
  4588. description: 备注
  4589. type: string
  4590. spotbookamount:
  4591. description: 现货账面总额
  4592. type: number
  4593. spotfloatpl:
  4594. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4595. type: number
  4596. spothedgepl:
  4597. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4598. type: number
  4599. spothedgeplchange:
  4600. description: 现货实际损益变动
  4601. type: number
  4602. spotpl:
  4603. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4604. type: number
  4605. spotplchange:
  4606. description: 现货套期损益变动
  4607. type: number
  4608. spottradepl:
  4609. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4610. type: number
  4611. sumobspl:
  4612. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4613. type: number
  4614. tradeuserid:
  4615. description: 交易用户ID
  4616. type: integer
  4617. unexeqty:
  4618. description: 未执行现货量 = 套期现货量 - 执行现货量
  4619. type: number
  4620. updatetime:
  4621. description: 更新时间
  4622. type: string
  4623. vatpl:
  4624. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4625. type: number
  4626. vatrate:
  4627. description: 增值税
  4628. type: number
  4629. wrstandardid:
  4630. description: 现货商品ID
  4631. type: integer
  4632. wrstandardname:
  4633. description: 商品名称
  4634. type: string
  4635. type: object
  4636. models.Ermcp2hedgeditemlink:
  4637. properties:
  4638. areauserid:
  4639. description: 企业ID
  4640. type: integer
  4641. createtime:
  4642. description: '[关联时间]创建时间'
  4643. type: string
  4644. customeruserid:
  4645. description: 对手方 【3:采购合同 4:销售合同】
  4646. type: integer
  4647. deliverygoodsid:
  4648. description: 现货品种ID
  4649. type: integer
  4650. enumdicname:
  4651. description: 单位
  4652. type: string
  4653. hedgeditemid:
  4654. description: 被套期项目ID
  4655. type: integer
  4656. hedgeditemlinkid:
  4657. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4658. type: integer
  4659. hedgeditemnum:
  4660. description: 项目编号
  4661. type: string
  4662. hedgedtype:
  4663. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4664. type: integer
  4665. relatedamount:
  4666. description: 市价总额 = 关联数量 * 期初市场价
  4667. type: number
  4668. relatedhedgeplanid:
  4669. description: 关联计划ID 【1:采购计划 2:销售计划】
  4670. type: integer
  4671. relatedqty:
  4672. description: 关联数量
  4673. type: number
  4674. relatedspotcontractid:
  4675. description: 关联合同ID 【3:采购合同 4:销售合同】
  4676. type: integer
  4677. relatedtype:
  4678. description: 关联类型 - 1:套期关联 2:执行关联
  4679. type: integer
  4680. spotgoodsbrandid:
  4681. description: 现货品牌ID
  4682. type: integer
  4683. spotpricedamount:
  4684. description: '[关联定价总额]定价总额'
  4685. type: number
  4686. spotpricedavgprice:
  4687. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4688. type: number
  4689. spottype:
  4690. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4691. type: integer
  4692. tradeuserid:
  4693. description: 交易用户ID
  4694. type: integer
  4695. unexeqty:
  4696. description: 未执行现货量【项目关联时值】
  4697. type: number
  4698. wrstandardid:
  4699. description: 现货商品ID
  4700. type: integer
  4701. wrstandardname:
  4702. description: 现货商品
  4703. type: string
  4704. required:
  4705. - relatedspotcontractid
  4706. type: object
  4707. models.Ermcp2hedgeditemsDetail:
  4708. properties:
  4709. accountname:
  4710. description: 套期主体
  4711. type: string
  4712. areauserid:
  4713. description: 企业ID
  4714. type: integer
  4715. createtime:
  4716. description: '[日期时间]创建时间'
  4717. type: string
  4718. customeruserid:
  4719. description: 对手方 【3:采购合同 4:销售合同】
  4720. type: integer
  4721. deliverygoodsid:
  4722. description: 现货品种ID
  4723. type: integer
  4724. enumdicname:
  4725. description: 单位
  4726. type: string
  4727. hedgeditemid:
  4728. description: 被套期项目ID
  4729. type: string
  4730. hedgeditemspotid:
  4731. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4732. type: string
  4733. hedgedtype:
  4734. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4735. type: integer
  4736. hedgeplanno:
  4737. description: 计划编号
  4738. type: string
  4739. middlegoodschange:
  4740. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4741. type: number
  4742. oriavgprice:
  4743. description: 期初市场价[当初市场价]
  4744. type: number
  4745. relatedamount:
  4746. description: 市价总额 = 关联数量 * 期初市场价
  4747. type: number
  4748. relatedhedgeplanid:
  4749. description: 关联计划ID 【1:采购计划 2:销售计划】
  4750. type: integer
  4751. relatedqty:
  4752. description: '[期间变化量]关联数量'
  4753. type: number
  4754. relatedspotcontractid:
  4755. description: 关联合同ID 【3:采购合同 4:销售合同】
  4756. type: integer
  4757. relatedtype:
  4758. description: 关联类型 - 1:套期关联 2:执行关联
  4759. type: integer
  4760. spotgoodsbrandid:
  4761. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4762. type: integer
  4763. spotpricedamount:
  4764. description: 定价总额
  4765. type: number
  4766. spotpricedavgprice:
  4767. description: 现货均价 = 定价总额 / 关联数量
  4768. type: number
  4769. spottype:
  4770. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4771. type: integer
  4772. tradeuserid:
  4773. description: 交易用户ID
  4774. type: integer
  4775. unexeqty:
  4776. description: 未执行现货量 = 套期现货量 - 执行现货量
  4777. type: number
  4778. wrstandardid:
  4779. description: 现货商品ID
  4780. type: integer
  4781. wrstandardname:
  4782. description: 现货商品
  4783. type: string
  4784. type: object
  4785. models.Ermcp2hedgeditemspot:
  4786. properties:
  4787. areauserid:
  4788. description: 企业ID
  4789. type: integer
  4790. createtime:
  4791. description: 创建时间
  4792. type: string
  4793. customeruserid:
  4794. description: 对手方 【3:采购合同 4:销售合同】
  4795. type: integer
  4796. deliverygoodsid:
  4797. description: 现货品种ID
  4798. type: integer
  4799. enumdicname:
  4800. description: 单位
  4801. type: string
  4802. hedgeditemid:
  4803. description: 被套期项目ID
  4804. type: string
  4805. hedgeditemspotid:
  4806. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4807. type: string
  4808. hedgedtype:
  4809. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4810. type: integer
  4811. hedgeplanno:
  4812. description: 计划编号
  4813. type: string
  4814. oriavgprice:
  4815. description: 期初市场价[当初市场价]
  4816. type: number
  4817. relatedamount:
  4818. description: 市价总额 = 关联数量 * 期初市场价
  4819. type: number
  4820. relatedhedgeplanid:
  4821. description: 关联计划ID 【1:采购计划 2:销售计划】
  4822. type: integer
  4823. relatedqty:
  4824. description: 关联数量[数量]
  4825. type: number
  4826. relatedspotcontractid:
  4827. description: 关联合同ID 【3:采购合同 4:销售合同】
  4828. type: integer
  4829. relatedtype:
  4830. description: 关联类型 - 1:套期关联 2:执行关联
  4831. type: integer
  4832. spotgoodsbrandid:
  4833. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4834. type: integer
  4835. spotpricedamount:
  4836. description: 定价总额
  4837. type: number
  4838. spotpricedavgprice:
  4839. description: 现货均价 = 定价总额 / 关联数量
  4840. type: number
  4841. spottype:
  4842. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4843. type: integer
  4844. tradeuserid:
  4845. description: 交易用户ID
  4846. type: integer
  4847. wrstandardid:
  4848. description: 现货商品ID
  4849. type: integer
  4850. wrstandardname:
  4851. description: 现货商品
  4852. type: string
  4853. required:
  4854. - hedgeditemid
  4855. type: object
  4856. models.Ermcp2hedgeditemspotDetail:
  4857. properties:
  4858. accountname:
  4859. description: 对手方
  4860. type: string
  4861. areauserid:
  4862. description: 企业ID
  4863. type: integer
  4864. brandname:
  4865. description: 品牌
  4866. type: string
  4867. contractno:
  4868. description: 合同编号
  4869. type: string
  4870. createtime:
  4871. description: 创建时间
  4872. type: string
  4873. customeruserid:
  4874. description: 对手方 【3:采购合同 4:销售合同】
  4875. type: integer
  4876. deliverygoodsid:
  4877. description: 现货品种ID
  4878. type: integer
  4879. enumdicname:
  4880. description: 单位
  4881. type: string
  4882. hedgeditemid:
  4883. description: 被套期项目ID
  4884. type: string
  4885. hedgeditemspotid:
  4886. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4887. type: string
  4888. hedgedtype:
  4889. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4890. type: integer
  4891. oriavgprice:
  4892. description: 期初市场价[当初市场价]
  4893. type: number
  4894. relatedamount:
  4895. description: 市价总额 = 关联数量 * 期初市场价
  4896. type: number
  4897. relatedhedgeplanid:
  4898. description: 关联计划ID 【1:采购计划 2:销售计划】
  4899. type: integer
  4900. relatedqty:
  4901. description: 关联数量[数量]
  4902. type: number
  4903. relatedspotcontractid:
  4904. description: 关联合同ID 【3:采购合同 4:销售合同】
  4905. type: integer
  4906. relatedtype:
  4907. description: 关联类型 - 1:套期关联 2:执行关联
  4908. type: integer
  4909. spotgoodsbrandid:
  4910. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4911. type: integer
  4912. spotpricedamount:
  4913. description: 定价总额[金额]
  4914. type: number
  4915. spotpricedavgprice:
  4916. description: 现货均价 = 定价总额 / 关联数量
  4917. type: number
  4918. spottype:
  4919. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4920. type: integer
  4921. tradeuserid:
  4922. description: 交易用户ID
  4923. type: integer
  4924. wrstandardid:
  4925. description: 现货商品ID
  4926. type: integer
  4927. wrstandardname:
  4928. description: 现货商品
  4929. type: string
  4930. required:
  4931. - hedgeditemid
  4932. type: object
  4933. models.Ermcp2himiddlegoods:
  4934. properties:
  4935. futurehedgeqty:
  4936. description: 期货持仓套期量
  4937. type: number
  4938. hedgeditemid:
  4939. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4940. type: integer
  4941. hiexpsoure:
  4942. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4943. type: number
  4944. middlegoodscode:
  4945. description: 套保商品代码
  4946. type: string
  4947. middlegoodsid:
  4948. description: 套保品种ID
  4949. type: integer
  4950. middlegoodsname:
  4951. description: 套保商品名称
  4952. type: string
  4953. unexehedgeqty:
  4954. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4955. type: number
  4956. required:
  4957. - hedgeditemid
  4958. - middlegoodsid
  4959. type: object
  4960. models.Ermcp2stockspotchangelog:
  4961. properties:
  4962. accountname:
  4963. description: 套期主体
  4964. type: string
  4965. aftervalue:
  4966. description: 现货量
  4967. type: number
  4968. beforevalue:
  4969. description: 变更前现货量
  4970. type: number
  4971. contractno:
  4972. description: '[编号]现货合同编号'
  4973. type: string
  4974. contracttype:
  4975. description: 现货合同类型 - 1:采购 -1:销售
  4976. type: integer
  4977. createtime:
  4978. description: 创建时间
  4979. type: string
  4980. customerusername:
  4981. description: 对手方
  4982. type: string
  4983. deliverygoodsid:
  4984. description: 现货品种ID
  4985. type: integer
  4986. exetype:
  4987. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4988. type: integer
  4989. logid:
  4990. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4991. type: string
  4992. logvalue:
  4993. description: '[期间变化量]现货量变更值'
  4994. type: number
  4995. middlegoodschange:
  4996. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4997. type: number
  4998. operatelogtype:
  4999. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  5000. 27:生产出库
  5001. type: integer
  5002. relatedid:
  5003. description: 现货合同ID
  5004. type: integer
  5005. spotgoodsbrandid:
  5006. description: 现货品牌ID
  5007. type: integer
  5008. tradedate:
  5009. description: 交易日(yyyyMMdd)
  5010. type: string
  5011. userid:
  5012. description: 机构ID
  5013. type: integer
  5014. warehouseinfoid:
  5015. description: 仓库ID
  5016. type: integer
  5017. wrfactortypeid:
  5018. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5019. type: integer
  5020. wrstandardid:
  5021. description: 现货商品ID
  5022. type: integer
  5023. wrstandardname:
  5024. description: 商品名称
  5025. type: string
  5026. type: object
  5027. models.Ermcp3AreaSpot:
  5028. properties:
  5029. areauserid:
  5030. description: 所属机构
  5031. type: integer
  5032. convertratio:
  5033. description: 套保系数
  5034. type: number
  5035. decreaseqty:
  5036. description: 减少数量=-(销售已定价数量+采购计划数量)
  5037. type: number
  5038. enumdicname:
  5039. description: 单位名称
  5040. type: string
  5041. increaseqty:
  5042. description: 增加数量=销售计划数量+采购已定价数量
  5043. type: number
  5044. oritoalspotqty:
  5045. description: 昨日数量
  5046. type: number
  5047. totalspotqty:
  5048. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  5049. type: number
  5050. unitid:
  5051. description: 现货商品单位id
  5052. type: integer
  5053. updatetime:
  5054. description: 更新时间
  5055. type: string
  5056. wrstandardcode:
  5057. description: 现货商品代码
  5058. type: string
  5059. wrstandardid:
  5060. description: 现货商品ID(SEQ_WRSTANDARD)
  5061. type: integer
  5062. wrstandardname:
  5063. description: 现货商品名称
  5064. type: string
  5065. type: object
  5066. models.Ermcp3AreaSpotDetail:
  5067. properties:
  5068. contracttype:
  5069. description: 合同类型 1-采购 -1-销售
  5070. type: integer
  5071. createtime:
  5072. description: 创建时间
  5073. type: string
  5074. enumdicname:
  5075. description: 现货商品单位名称
  5076. type: string
  5077. logtype:
  5078. description: 记录类型 1-套保 2-现货合同
  5079. type: integer
  5080. qty:
  5081. description: 数量
  5082. type: number
  5083. recordname:
  5084. description: 类型名称
  5085. type: string
  5086. relatedid:
  5087. description: 套保计划ID/现货合同ID
  5088. type: string
  5089. relatedno:
  5090. description: 编号
  5091. type: string
  5092. strtime:
  5093. description: 时间
  5094. type: string
  5095. wrstandardcode:
  5096. description: 现货商品代码
  5097. type: string
  5098. wrstandardid:
  5099. description: 现货商品ID(SEQ_WRSTANDARD)
  5100. type: integer
  5101. wrstandardname:
  5102. description: 现货商品名称
  5103. type: string
  5104. type: object
  5105. models.Ermcp3AreaSpotPLReport:
  5106. properties:
  5107. accountid:
  5108. description: 期货账户ID (作废, 默认为0)
  5109. type: integer
  5110. accountname:
  5111. description: 机构名称
  5112. type: string
  5113. actualpl:
  5114. description: 现货损益
  5115. type: number
  5116. areauserid:
  5117. description: 所属机构\交易用户ID
  5118. type: integer
  5119. begindate:
  5120. description: 开始交易日
  5121. type: string
  5122. biztype:
  5123. description: 业务类型 - 1:套保 2:套利
  5124. type: integer
  5125. brandname:
  5126. description: 品牌名称
  5127. type: string
  5128. curamount:
  5129. description: 期末额
  5130. type: number
  5131. curaverageprice:
  5132. description: 期初均价
  5133. type: number
  5134. curbuyamount:
  5135. description: 期末采购总额
  5136. type: number
  5137. curbuyqty:
  5138. description: 期末采购总量
  5139. type: number
  5140. curmarketvalue:
  5141. description: 期初均价
  5142. type: number
  5143. curqty:
  5144. description: 期末量
  5145. type: number
  5146. currencyid:
  5147. description: 结算币种ID【原值】
  5148. type: integer
  5149. currencyname:
  5150. description: 币种名称
  5151. type: string
  5152. cursellamount:
  5153. description: 期末销售总额
  5154. type: number
  5155. cursellqty:
  5156. description: 期末销售总量
  5157. type: number
  5158. curspotprice:
  5159. description: 期初均价
  5160. type: number
  5161. cycletime:
  5162. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5163. type: string
  5164. cycletype:
  5165. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5166. type: integer
  5167. deliverygoodscode:
  5168. description: 现货品种代码
  5169. type: string
  5170. deliverygoodsid:
  5171. description: 现货品种ID
  5172. type: integer
  5173. deliverygoodsname:
  5174. description: 现货品种名称
  5175. type: string
  5176. enddate:
  5177. description: 结束交易日
  5178. type: string
  5179. enumdicname:
  5180. description: 现货品种单位名称(作废)
  5181. type: string
  5182. floatpl:
  5183. description: 期初均价
  5184. type: number
  5185. goodsunitid:
  5186. description: 现货品种单位id(作废)
  5187. type: integer
  5188. oriamount:
  5189. description: 期初额
  5190. type: number
  5191. oriaverageprice:
  5192. description: 期初均价
  5193. type: number
  5194. oribuyamount:
  5195. description: 期初采购总额
  5196. type: number
  5197. oribuyqty:
  5198. description: 期初采购总量
  5199. type: number
  5200. oriqty:
  5201. description: 期初量
  5202. type: number
  5203. orisellamount:
  5204. description: 期初销售总额
  5205. type: number
  5206. orisellqty:
  5207. description: 期初销售总量
  5208. type: number
  5209. reckondate:
  5210. description: 日照时期(yyyyMMdd)
  5211. type: string
  5212. spotgoodsbrandid:
  5213. description: 现货品牌ID
  5214. type: integer
  5215. todaybuyamount:
  5216. description: 今日采购额(今采购额)
  5217. type: number
  5218. todaybuyaverageprice:
  5219. description: 期初均价
  5220. type: number
  5221. todaybuyqty:
  5222. description: 今日采购量(今采购量)
  5223. type: number
  5224. todayinqty:
  5225. description: 今日入库量(今入库量)
  5226. type: number
  5227. todayoutqty:
  5228. description: 今日出库量(今出库量)
  5229. type: number
  5230. todaysellamount:
  5231. description: 今日销售额(今销售额)
  5232. type: number
  5233. todaysellaverageprice:
  5234. description: 期初均价
  5235. type: number
  5236. todaysellqty:
  5237. description: 今日销售量(今销售量)
  5238. type: number
  5239. unitid:
  5240. description: 品类单位id
  5241. type: integer
  5242. unitidname:
  5243. description: 品类单位名称
  5244. type: string
  5245. updatetime:
  5246. description: 更新时间
  5247. type: string
  5248. wrfactortypeid:
  5249. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5250. type: integer
  5251. wrstandardcode:
  5252. description: 现货商品(品类)代码
  5253. type: string
  5254. wrstandardid:
  5255. description: 现货品类ID
  5256. type: integer
  5257. wrstandardname:
  5258. description: 现货商品(品类)名称
  5259. type: string
  5260. type: object
  5261. models.Ermcp3AreaStock:
  5262. properties:
  5263. brandname:
  5264. description: 品牌名称
  5265. type: string
  5266. curstock:
  5267. description: 期末库存量(今日量)
  5268. type: number
  5269. deliverygoodscode:
  5270. description: 现货品种代码
  5271. type: string
  5272. deliverygoodsid:
  5273. description: 现货品种id
  5274. type: integer
  5275. deliverygoodsname:
  5276. description: 现货品种名称
  5277. type: string
  5278. enumdicname:
  5279. description: 单位名称
  5280. type: string
  5281. goodsunitid:
  5282. description: 现货商品单位id
  5283. type: integer
  5284. oristock:
  5285. description: 期初库存量(昨日量)
  5286. type: number
  5287. spotgoodsbrandid:
  5288. description: 现货品牌ID
  5289. type: integer
  5290. todaybuyinqty:
  5291. description: 今日采购入库量
  5292. type: number
  5293. todayproduceinqty:
  5294. description: 今日生产入库量
  5295. type: number
  5296. todayproduceoutqty:
  5297. description: 今日生产出库量
  5298. type: number
  5299. todayselloutqty:
  5300. description: 今日销售出库量
  5301. type: number
  5302. unitid:
  5303. description: 单位id
  5304. type: integer
  5305. updatetime:
  5306. description: 更新时间
  5307. type: string
  5308. userid:
  5309. description: 机构ID
  5310. type: integer
  5311. username:
  5312. description: 机构名称
  5313. type: string
  5314. warehousecode:
  5315. description: 仓库代码
  5316. type: string
  5317. warehouseinfoid:
  5318. description: 仓库ID
  5319. type: string
  5320. warehousename:
  5321. description: 仓库名称
  5322. type: string
  5323. warehousetype:
  5324. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5325. type: integer
  5326. wrstandardcode:
  5327. description: 品类代码
  5328. type: string
  5329. wrstandardid:
  5330. description: 品类ID
  5331. type: string
  5332. wrstandardname:
  5333. description: 品类名称
  5334. type: string
  5335. required:
  5336. - userid
  5337. type: object
  5338. models.Ermcp3AreaStockApply:
  5339. properties:
  5340. applyid:
  5341. description: 申请人
  5342. type: integer
  5343. applyname:
  5344. description: 申请人名称
  5345. type: string
  5346. applyremark:
  5347. description: 申请备注
  5348. type: string
  5349. applysrc:
  5350. description: 申请来源 - 1:管理端 2:终端
  5351. type: integer
  5352. applystatus:
  5353. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5354. type: integer
  5355. applytime:
  5356. description: 申请时间
  5357. type: string
  5358. auditid:
  5359. description: 审核人
  5360. type: integer
  5361. auditname:
  5362. description: 审核人名称
  5363. type: string
  5364. auditremark:
  5365. description: 审核备注
  5366. type: string
  5367. auditsrc:
  5368. description: 审核来源 - 1:管理端 2:终端
  5369. type: integer
  5370. audittime:
  5371. description: 审核时间
  5372. type: string
  5373. audittradedate:
  5374. description: 审核交易日(yyyyMMdd)
  5375. type: string
  5376. brandname:
  5377. description: 品牌名称
  5378. type: string
  5379. buynickname:
  5380. description: 采购方昵称
  5381. type: string
  5382. buyuserid:
  5383. description: 采购方userid
  5384. type: integer
  5385. buyusername:
  5386. description: 采购方名称
  5387. type: string
  5388. contractno:
  5389. description: 合同编号
  5390. type: string
  5391. contractqty:
  5392. description: 合同量
  5393. type: number
  5394. contracttype:
  5395. description: 现货合同类型 - 1:采购 -1:销售
  5396. type: integer
  5397. deliverygoodscode:
  5398. description: 现货品种代码
  5399. type: string
  5400. deliverygoodsid:
  5401. description: 现货品种id
  5402. type: integer
  5403. deliverygoodsname:
  5404. description: 现货品种名称
  5405. type: string
  5406. detailjson:
  5407. description: 明细数据
  5408. type: string
  5409. enumdicname:
  5410. description: 现货商品单位名称
  5411. type: string
  5412. inoutapplyid:
  5413. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5414. type: string
  5415. inouttype:
  5416. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5417. type: integer
  5418. pricetype:
  5419. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5420. type: integer
  5421. qty:
  5422. description: 数量
  5423. type: number
  5424. sellnickname:
  5425. description: 销售方昵称
  5426. type: string
  5427. selluserid:
  5428. description: 销售方userid
  5429. type: integer
  5430. sellusername:
  5431. description: 销售方名称
  5432. type: string
  5433. spotcontractid:
  5434. description: 关联现货合同ID
  5435. type: string
  5436. spotgoodsbrandid:
  5437. description: 现货品牌ID
  5438. type: integer
  5439. unitid:
  5440. description: 单位id
  5441. type: integer
  5442. userid:
  5443. description: 机构ID
  5444. type: integer
  5445. warehousecode:
  5446. description: 仓库代码
  5447. type: string
  5448. warehouseinfoid:
  5449. description: 现货仓库ID
  5450. type: string
  5451. warehousename:
  5452. description: 仓库名称
  5453. type: string
  5454. warehousetype:
  5455. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5456. type: integer
  5457. wrstandardcode:
  5458. description: 品类代码
  5459. type: string
  5460. wrstandardid:
  5461. description: 品类ID
  5462. type: integer
  5463. wrstandardname:
  5464. description: 品类名称
  5465. type: string
  5466. type: object
  5467. models.Ermcp3AreaStockApplySum:
  5468. properties:
  5469. brandname:
  5470. description: 品牌名称
  5471. type: string
  5472. inouttype:
  5473. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5474. type: integer
  5475. spotcontractid:
  5476. description: 关联现货合同ID
  5477. type: string
  5478. spotgoodsbrandid:
  5479. description: 品牌id
  5480. type: integer
  5481. totalqty:
  5482. description: 总数量
  5483. type: number
  5484. wrstandardid:
  5485. description: 品类id
  5486. type: integer
  5487. wrstandardname:
  5488. description: 品类名称
  5489. type: string
  5490. type: object
  5491. models.Ermcp3AreaStockReportEx:
  5492. properties:
  5493. begindate:
  5494. description: 开始交易日
  5495. type: string
  5496. brandname:
  5497. description: 品牌名称
  5498. type: string
  5499. curstock:
  5500. description: 期末库存量
  5501. type: number
  5502. cycletime:
  5503. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5504. type: string
  5505. cycletype:
  5506. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5507. type: integer
  5508. deliverygoodscode:
  5509. description: 现货品种代码
  5510. type: string
  5511. deliverygoodsid:
  5512. description: 现货品种id
  5513. type: integer
  5514. deliverygoodsname:
  5515. description: 现货品种名称
  5516. type: string
  5517. diffqty:
  5518. description: 库存变化量 = 期末 - 期初
  5519. type: number
  5520. enddate:
  5521. description: 结束交易日
  5522. type: string
  5523. enumdicname:
  5524. description: 单位名称
  5525. type: string
  5526. goodsunitid:
  5527. description: 现货单位id
  5528. type: integer
  5529. oristock:
  5530. description: 期初库存量
  5531. type: number
  5532. reckondate:
  5533. description: 日照时期(yyyyMMdd)
  5534. type: string
  5535. spotgoodsbrandid:
  5536. description: 现货品牌ID
  5537. type: integer
  5538. todaybuyinqty:
  5539. description: 今采购入库量
  5540. type: number
  5541. todayproduceinqty:
  5542. description: 今内部入库量
  5543. type: number
  5544. todayproduceoutqty:
  5545. description: 今内部出库量
  5546. type: number
  5547. todayselloutqty:
  5548. description: 今销售出库量
  5549. type: number
  5550. unbuyinqty:
  5551. description: 采购未入库量(数据库未找到相关字段?)
  5552. type: number
  5553. unitid:
  5554. description: 品类单位id
  5555. type: integer
  5556. unselloutqty:
  5557. description: 销售未出库量(数据库未找到相关字段?)
  5558. type: number
  5559. updatetime:
  5560. description: 更新时间
  5561. type: string
  5562. userid:
  5563. description: 机构ID
  5564. type: integer
  5565. username:
  5566. description: 机构名称
  5567. type: string
  5568. warehousecode:
  5569. description: 仓库代码
  5570. type: string
  5571. warehouseinfoid:
  5572. description: 仓库ID
  5573. type: string
  5574. warehousename:
  5575. description: 仓库名称
  5576. type: string
  5577. warehousetype:
  5578. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5579. type: integer
  5580. wrstandardcode:
  5581. description: 品类代码
  5582. type: string
  5583. wrstandardid:
  5584. description: 品类ID
  5585. type: integer
  5586. wrstandardname:
  5587. description: 品类名称
  5588. type: string
  5589. type: object
  5590. models.Ermcp3ArealSumPL:
  5591. properties:
  5592. accountname:
  5593. description: 机构名称
  5594. type: string
  5595. areauserid:
  5596. description: 所属机构\交易用户ID
  5597. type: integer
  5598. begindate:
  5599. description: 开始交易日
  5600. type: string
  5601. currencyid:
  5602. description: 结算币种ID
  5603. type: integer
  5604. currencyname:
  5605. description: 币种名称
  5606. type: string
  5607. cycletime:
  5608. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5609. type: string
  5610. cycletype:
  5611. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5612. type: integer
  5613. enddate:
  5614. description: 结束交易日
  5615. type: string
  5616. enumdicname:
  5617. description: 单位名称(套保品种)
  5618. type: string
  5619. futureactualpl:
  5620. description: 期货损益
  5621. type: number
  5622. futurefloatpl:
  5623. description: 期货浮动损益
  5624. type: number
  5625. futurespotratio:
  5626. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5627. type: number
  5628. goodsunitid:
  5629. description: 套保品种单位id
  5630. type: integer
  5631. hedgeexposurepl:
  5632. description: 套保敞口损益
  5633. type: number
  5634. middlegoodscode:
  5635. description: 套保品种代码
  5636. type: string
  5637. middlegoodsid:
  5638. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5639. type: integer
  5640. middlegoodsname:
  5641. description: 套保品种名称
  5642. type: string
  5643. reckondate:
  5644. description: 日照时期(yyyyMMdd)
  5645. type: string
  5646. spotactualpl:
  5647. description: 现货损益
  5648. type: number
  5649. spotfloatpl:
  5650. description: 现货浮动损益
  5651. type: number
  5652. sumactualpl:
  5653. description: 实际损益 = (ActualPL + FutureActualPL)
  5654. type: number
  5655. sumpl:
  5656. description: 总敞口损益 | 汇总损益
  5657. type: number
  5658. totalfutureqty:
  5659. description: 期货头寸总量
  5660. type: number
  5661. totalneedhedgeqty:
  5662. description: 应套保总量
  5663. type: number
  5664. totalspotqty:
  5665. description: 现货头寸总量
  5666. type: number
  5667. updatetime:
  5668. description: 更新时间
  5669. type: string
  5670. type: object
  5671. models.Ermcp3Brand:
  5672. properties:
  5673. areauserid:
  5674. description: 用户id
  5675. type: integer
  5676. brandid:
  5677. description: 品牌id
  5678. type: integer
  5679. brandname:
  5680. description: 品牌名称
  5681. type: string
  5682. deliverygoodsid:
  5683. description: 品种ID
  5684. type: integer
  5685. isvalid:
  5686. description: 是否有效
  5687. type: integer
  5688. type: object
  5689. models.Ermcp3Contract:
  5690. properties:
  5691. accountid:
  5692. description: 期货账户id
  5693. type: string
  5694. amount:
  5695. description: 金额 [1:一口价、3:暂定价]
  5696. type: number
  5697. attachment:
  5698. description: 附件
  5699. type: string
  5700. auditremark:
  5701. description: 审核意见
  5702. type: string
  5703. audittime:
  5704. description: 审核时间
  5705. type: string
  5706. biztype:
  5707. description: 业务类型 1-套保 2-套利
  5708. type: integer
  5709. brandname:
  5710. description: 品牌名称
  5711. type: string
  5712. buynickname:
  5713. description: 销售方昵称
  5714. type: string
  5715. buyuserid:
  5716. description: 采购方ID
  5717. type: integer
  5718. buyusername:
  5719. description: 采购方名称
  5720. type: string
  5721. contracctstatus:
  5722. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5723. type: integer
  5724. contractmargin:
  5725. description: 合同保证金
  5726. type: number
  5727. contractno:
  5728. description: 现货合同编号
  5729. type: string
  5730. contracttype:
  5731. description: 现货合同类型 - 1:采购 -1:销售
  5732. type: integer
  5733. convertfactor:
  5734. description: 标仓系数(品类)
  5735. type: number
  5736. createtime:
  5737. description: 创建时间
  5738. type: string
  5739. currencyid:
  5740. description: 币种id
  5741. type: integer
  5742. currencyname:
  5743. description: 币种名称
  5744. type: string
  5745. deliveryenddate:
  5746. description: 交收期(结束)
  5747. type: string
  5748. deliverygoodscode:
  5749. description: 现货品种代码
  5750. type: string
  5751. deliverygoodsid:
  5752. description: 现货品种ID
  5753. type: integer
  5754. deliverygoodsname:
  5755. description: 现货品种名称
  5756. type: string
  5757. deliverystartdate:
  5758. description: 交收期(开始)
  5759. type: string
  5760. enddate:
  5761. description: 点价结束日期 [2:点价 3:暂定价]
  5762. type: string
  5763. enumdicname:
  5764. description: 单位名称
  5765. type: string
  5766. goodscode:
  5767. description: 点价合约代码
  5768. type: string
  5769. goodsid:
  5770. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5771. type: integer
  5772. goodsname:
  5773. description: 点价商品名称
  5774. type: string
  5775. margin:
  5776. description: 当前保证金
  5777. type: number
  5778. meruserid:
  5779. description: 跟单员id
  5780. type: integer
  5781. meruserlogincode:
  5782. description: 跟单员登录代码
  5783. type: string
  5784. merusername:
  5785. description: 跟单员名称
  5786. type: string
  5787. pointdesc:
  5788. description: 点价备注
  5789. type: string
  5790. price:
  5791. description: 价格\暂定价 [1:一口价、3:暂定价]
  5792. type: number
  5793. pricemove:
  5794. description: 升贴水 [2:点价 3:暂定价]
  5795. type: number
  5796. pricetype:
  5797. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5798. type: integer
  5799. producttype:
  5800. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5801. type: integer
  5802. qty:
  5803. description: 数量
  5804. type: number
  5805. remark:
  5806. description: 备注
  5807. type: string
  5808. saleuserid:
  5809. description: 业务员id
  5810. type: integer
  5811. saleuserlogincode:
  5812. description: 业务员登录代码
  5813. type: string
  5814. saleusername:
  5815. description: 业务员名称
  5816. type: string
  5817. sellnickname:
  5818. description: 采购方昵称
  5819. type: string
  5820. selluserid:
  5821. description: 销售方ID
  5822. type: integer
  5823. sellusername:
  5824. description: 销售方名称
  5825. type: string
  5826. spotcontractid:
  5827. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5828. type: string
  5829. spotgoodsbrandid:
  5830. description: 现货品牌ID(DGFactoryItem表的ID)
  5831. type: integer
  5832. spotgoodsdesc:
  5833. description: 商品型号
  5834. type: string
  5835. startdate:
  5836. description: 点价开始日期 [2:点价 3:暂定价]
  5837. type: string
  5838. subjectid:
  5839. description: 交易主体ID
  5840. type: integer
  5841. subjectname:
  5842. description: 交易主体名称
  5843. type: string
  5844. tradeuserid:
  5845. description: 交易员id
  5846. type: integer
  5847. tradeuserlogincode:
  5848. description: 交易员登录代码
  5849. type: string
  5850. tradeusername:
  5851. description: 交易员名称
  5852. type: string
  5853. unitid:
  5854. description: 单位id(取品类上的单位id)
  5855. type: integer
  5856. updatetime:
  5857. description: 更新时间
  5858. type: string
  5859. userid:
  5860. description: 所属机构ID
  5861. type: integer
  5862. vatrate:
  5863. description: 增值税率
  5864. type: number
  5865. wrstandardcode:
  5866. description: 品类代码
  5867. type: string
  5868. wrstandardid:
  5869. description: 品类ID
  5870. type: integer
  5871. wrstandardname:
  5872. description: 品类名称
  5873. type: string
  5874. type: object
  5875. models.Ermcp3ContractMiddleGoodsCfg:
  5876. properties:
  5877. agreeunit:
  5878. description: 合约乘数
  5879. type: number
  5880. convertratio:
  5881. description: 期货品种系数
  5882. type: number
  5883. covertqty:
  5884. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5885. type: integer
  5886. middlegoodsid:
  5887. description: 套保品种ID
  5888. type: integer
  5889. middlegoodspricedqty3:
  5890. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5891. example: "0"
  5892. type: string
  5893. pendingpricedqty:
  5894. description: 待点价量
  5895. example: "0"
  5896. type: string
  5897. relatedmiddlegoodsqty:
  5898. description: 已关联量(套保品种-期货)
  5899. example: "0"
  5900. type: string
  5901. spotcontractid:
  5902. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5903. type: string
  5904. type: object
  5905. models.Ermcp3ExposureContractDetail:
  5906. properties:
  5907. biztype:
  5908. description: 业务类型 1-套保 2-套利
  5909. type: integer
  5910. brandname:
  5911. description: 品牌名称
  5912. type: string
  5913. buyuserid:
  5914. description: 采购方id
  5915. type: integer
  5916. buyusername:
  5917. description: 采购方名称
  5918. type: string
  5919. contractno:
  5920. description: 合同编号
  5921. type: string
  5922. contracttype:
  5923. description: 现货合同类型 - 1:采购 -1:销售
  5924. type: integer
  5925. convertfactor:
  5926. description: 标仓系数
  5927. type: number
  5928. convertratio:
  5929. description: 折算系数(套保品种)
  5930. type: number
  5931. curqty:
  5932. description: 今定价量
  5933. type: number
  5934. deliverygoodscode:
  5935. description: 现货品种代码
  5936. type: string
  5937. deliverygoodsid:
  5938. description: 现货品种id
  5939. type: integer
  5940. deliverygoodsname:
  5941. description: 现货品种名称
  5942. type: string
  5943. diffhedgeqty:
  5944. description: 套保变动量
  5945. type: number
  5946. diffneedhedgeqty:
  5947. description: 应套保变动量
  5948. type: number
  5949. diffqty:
  5950. description: 套保品种今变动量
  5951. type: number
  5952. enumdicname:
  5953. description: 单位名称
  5954. type: string
  5955. mgunitname:
  5956. description: 套保品种单位名称
  5957. type: string
  5958. middlegoodscode:
  5959. description: 套保品种代码
  5960. type: string
  5961. middlegoodsid:
  5962. description: 套保品种id
  5963. type: integer
  5964. middlegoodsname:
  5965. description: 套保品种名称
  5966. type: string
  5967. needarbitrageratio:
  5968. description: 应套利比例
  5969. type: number
  5970. needhedgeratio:
  5971. description: 应套保比例
  5972. type: number
  5973. pricedqty:
  5974. description: 已定价量
  5975. type: number
  5976. qty:
  5977. description: 合同量
  5978. type: number
  5979. reckondate:
  5980. description: 交易日(reckondate)
  5981. type: string
  5982. selluserid:
  5983. description: 销售方id
  5984. type: integer
  5985. sellusername:
  5986. description: 销售方名称
  5987. type: string
  5988. spotcontractid:
  5989. description: 合同id
  5990. type: string
  5991. todaypricedqty:
  5992. description: 今定价量
  5993. type: number
  5994. tradedate:
  5995. description: 交易日
  5996. type: string
  5997. unitid:
  5998. description: 品类单位id
  5999. type: integer
  6000. userid:
  6001. description: 机构id
  6002. type: integer
  6003. username:
  6004. description: 交易用户
  6005. type: string
  6006. wrstandardcode:
  6007. description: 现货商品代码
  6008. type: string
  6009. wrstandardid:
  6010. description: 现货商品id
  6011. type: integer
  6012. wrstandardname:
  6013. description: 现货商品名称
  6014. type: string
  6015. type: object
  6016. models.Ermcp3ExposureDetail:
  6017. properties:
  6018. areauserid:
  6019. description: 机构ID
  6020. type: integer
  6021. changeQty:
  6022. description: 套保变动量
  6023. type: number
  6024. contracttype:
  6025. description: 现货合同类型 - 1:采购 -1:销售
  6026. type: integer
  6027. convertfactor:
  6028. description: 标仓系数
  6029. type: number
  6030. convertratio:
  6031. description: 折算系数
  6032. type: number
  6033. createtime:
  6034. description: 时间
  6035. type: string
  6036. enumdicname:
  6037. description: 现货商品单位名称
  6038. type: string
  6039. logtype:
  6040. description: 类型 - 1:套保计划 2:现货合同
  6041. type: integer
  6042. mgunitid:
  6043. description: 套保品种单位id
  6044. type: integer
  6045. mgunitidname:
  6046. description: 套保品种单位名称
  6047. type: string
  6048. middlegoodsId:
  6049. description: 套保商品id
  6050. type: integer
  6051. middlegoodscode:
  6052. description: 套保商品代码
  6053. type: string
  6054. middlegoodsname:
  6055. description: 套保商品名称
  6056. type: string
  6057. qty:
  6058. description: 数量
  6059. type: number
  6060. relateNo:
  6061. description: 现货合同/套保计划编号
  6062. type: string
  6063. unitid:
  6064. description: 现货商品单位id
  6065. type: integer
  6066. wrstandardcode:
  6067. description: 现货商品代码
  6068. type: string
  6069. wrstandardid:
  6070. description: 现货商品ID(SEQ_WRSTANDARD)
  6071. type: integer
  6072. wrstandardname:
  6073. description: 现货商品名称
  6074. type: string
  6075. type: object
  6076. models.Ermcp3ExposureFutuDetail:
  6077. properties:
  6078. accountid:
  6079. description: 交易账户id
  6080. type: integer
  6081. accountname:
  6082. description: 交易账户
  6083. type: string
  6084. begindate:
  6085. description: 开始交易日
  6086. type: string
  6087. buyorsell:
  6088. description: 方向 0-买 1-卖
  6089. type: integer
  6090. diffmgqty:
  6091. description: 套保品种今变化量
  6092. type: number
  6093. diffneedqty:
  6094. description: 应套保总量变化量
  6095. type: number
  6096. difftradeqty:
  6097. description: 交易品种今变化量
  6098. type: number
  6099. enddate:
  6100. description: 结束交易日
  6101. type: string
  6102. enumdicname:
  6103. description: 单位名称
  6104. type: string
  6105. goodscode:
  6106. description: 商品代码
  6107. type: string
  6108. goodsid:
  6109. description: 商品id
  6110. type: integer
  6111. goodsname:
  6112. description: 商品名称
  6113. type: string
  6114. holdqty:
  6115. description: 期末持仓量
  6116. type: number
  6117. middlegoodscode:
  6118. description: 套保商品代码
  6119. type: string
  6120. middlegoodsid:
  6121. description: 套保商品id
  6122. type: integer
  6123. middlegoodsname:
  6124. description: 套保商品名称
  6125. type: string
  6126. oriholdqty:
  6127. description: 期初持仓量
  6128. type: number
  6129. reckondate:
  6130. description: 交易日(RECKONDATE)
  6131. type: string
  6132. todaycloseqty:
  6133. description: 今平仓量
  6134. type: number
  6135. todayopenqty:
  6136. description: 今开仓量
  6137. type: number
  6138. tradedate:
  6139. description: 交易日(RECKONDATE)
  6140. type: string
  6141. username:
  6142. description: 用户名称(交易用户)
  6143. type: string
  6144. type: object
  6145. models.Ermcp3ExposureHedgeplanDetail:
  6146. properties:
  6147. biztype:
  6148. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  6149. type: integer
  6150. changqty:
  6151. description: 应套保总量变化量
  6152. type: number
  6153. contracttype:
  6154. description: 计划类型 - 1:采购 -1:销售
  6155. type: integer
  6156. convertratio:
  6157. description: 折算系数(套保品种)
  6158. type: number
  6159. deliverygoodscode:
  6160. description: 现货商品代码
  6161. type: string
  6162. deliverygoodsid:
  6163. description: 现货商品id
  6164. type: integer
  6165. deliverygoodsname:
  6166. description: 现货商吕名称
  6167. type: string
  6168. dgunitid:
  6169. description: 现货商品单位id
  6170. type: integer
  6171. dgunitidname:
  6172. description: 单位名称(现货商品)
  6173. type: string
  6174. diffqty:
  6175. description: 套保品种今变动量
  6176. type: number
  6177. enumdicname:
  6178. description: 单位名称(品类)
  6179. type: string
  6180. hedgeplanid:
  6181. description: 套保计划id
  6182. type: string
  6183. hedgeplanno:
  6184. description: 套保计划名称
  6185. type: string
  6186. hedgeplanstatus:
  6187. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6188. type: integer
  6189. mgunitidname:
  6190. description: 单位名称(套保商品)
  6191. type: string
  6192. middlegoodscode:
  6193. description: 套保品种代码
  6194. type: string
  6195. middlegoodsid:
  6196. description: 套保品种id
  6197. type: integer
  6198. middlegoodsname:
  6199. description: 套保品种名称
  6200. type: string
  6201. needarbitrageratio:
  6202. description: 应套利比例
  6203. type: number
  6204. needhedgeratio:
  6205. description: 应套保比例
  6206. type: number
  6207. pricedqty:
  6208. description: 已定价量
  6209. type: number
  6210. qty:
  6211. description: 合同量
  6212. type: number
  6213. reckondate:
  6214. description: 交易日(reckondate)
  6215. type: string
  6216. tradedate:
  6217. description: 交易日(登记日)
  6218. type: string
  6219. unitid:
  6220. description: 品类单位id
  6221. type: integer
  6222. userid:
  6223. description: 机构id
  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.Ermcp3ExposureParamChLog:
  6236. properties:
  6237. accountid:
  6238. description: 期货账户ID (作废, 默认为0)
  6239. type: integer
  6240. aftervalue:
  6241. description: 应套保\套利量变更后(调整后应套保总量)
  6242. type: number
  6243. areauserid:
  6244. description: 所属机构\交易用户ID
  6245. type: integer
  6246. beforevalue:
  6247. description: 应套保\套利量变更前(调整前应套保总量)
  6248. type: number
  6249. begindate:
  6250. description: 开始交易日
  6251. type: string
  6252. changelogtype:
  6253. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  6254. type: integer
  6255. curvalue:
  6256. description: 当前套保\套利量(套保总量|套利总量)
  6257. type: number
  6258. diffvalue:
  6259. description: 应套保总量变化量
  6260. type: number
  6261. enddate:
  6262. description: 结束交易日
  6263. type: string
  6264. logdatetime:
  6265. description: 流水日期
  6266. type: string
  6267. logid:
  6268. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  6269. type: string
  6270. middlegoodscode:
  6271. description: 套保品种代码
  6272. type: string
  6273. middlegoodsid:
  6274. description: 套保品种
  6275. type: integer
  6276. middlegoodsname:
  6277. description: 套保品种名称
  6278. type: string
  6279. paramaftervalue:
  6280. description: 参数变更后(调整后参数值)
  6281. type: number
  6282. parambeforevalue:
  6283. description: 参数变更前(调整前参数值)
  6284. type: number
  6285. reckondate:
  6286. description: 交易日(reckondate)
  6287. type: string
  6288. tradedate:
  6289. description: 交易日(yyyyMMdd)
  6290. type: string
  6291. type: object
  6292. models.Ermcp3ExpourseReport:
  6293. properties:
  6294. accountid:
  6295. description: 期货账户ID (作废, 默认为0)
  6296. type: integer
  6297. accountname:
  6298. description: 机构名称
  6299. type: string
  6300. arbitrageqty:
  6301. description: 套利量
  6302. type: number
  6303. areauserid:
  6304. description: 所属机构\交易用户ID
  6305. type: integer
  6306. begindate:
  6307. description: 开始交易日
  6308. type: string
  6309. buyfutureqty:
  6310. description: 买入期货数量
  6311. type: number
  6312. buyplanqty:
  6313. description: 采购计划数量
  6314. type: number
  6315. buypricedqty:
  6316. description: 采购合同已定价数量
  6317. type: number
  6318. cycletime:
  6319. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6320. type: string
  6321. cycletype:
  6322. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6323. type: integer
  6324. diffexposure:
  6325. description: 变动量(套保敞口)
  6326. type: number
  6327. difffutuqty:
  6328. description: 变动量(期货)
  6329. type: number
  6330. diffhedgeqty:
  6331. description: 变动量(现货应套保总量)
  6332. type: number
  6333. diffmgqtya:
  6334. description: 套保变动量
  6335. type: number
  6336. diffmgqtyb:
  6337. description: 套利变动量
  6338. type: number
  6339. diffneedqty:
  6340. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  6341. type: number
  6342. diffqty:
  6343. description: 变动量(总敞口)
  6344. type: number
  6345. diffspotqty:
  6346. description: 变动量(现货) | 除税变动量
  6347. type: number
  6348. enddate:
  6349. description: 结束交易日
  6350. type: string
  6351. enumdicname:
  6352. description: 单位名称
  6353. type: string
  6354. hedgeqty:
  6355. description: 套保量
  6356. type: number
  6357. mgneedhedgeratio:
  6358. description: 套保比例(套保品的)
  6359. type: number
  6360. middlegoodsid:
  6361. description: 套保品种ID
  6362. type: integer
  6363. middlegoodsname:
  6364. description: 套保商品名称
  6365. type: string
  6366. middlgoodscode:
  6367. description: 套保商品代码
  6368. type: string
  6369. needarbitrageqty:
  6370. description: 应套利量
  6371. type: number
  6372. needarbitrageratio:
  6373. description: 套利比例(套保品的)
  6374. type: number
  6375. needhedgeexposoure:
  6376. description: 应套保敞口(套保敞口)
  6377. type: number
  6378. needhedgeqty:
  6379. description: 应套保量
  6380. type: number
  6381. needhedgeratio:
  6382. description: 应套保敞口比例
  6383. type: number
  6384. needqty:
  6385. description: 应套总量 = 应套保量 + 应套利量
  6386. type: number
  6387. oriarbitrageqty:
  6388. description: 期初套利量
  6389. type: number
  6390. oribuyfutureqty:
  6391. description: 期初买入期货数量
  6392. type: number
  6393. oribuyplanqty:
  6394. description: 期初采购计划数量
  6395. type: number
  6396. oribuypricedqty:
  6397. description: 期初采购合同已定价数量
  6398. type: number
  6399. orihedgeqty:
  6400. description: 期初套保量
  6401. type: number
  6402. orineedarbitrageqty:
  6403. description: 期初应套利量
  6404. type: number
  6405. orineedhedgeexposoure:
  6406. description: 期初应套保敞口
  6407. type: number
  6408. orineedhedgeqty:
  6409. description: 期初应套保量
  6410. type: number
  6411. orisellfutureqty:
  6412. description: 期初卖出期货数量
  6413. type: number
  6414. orisellplanqty:
  6415. description: 期初销售计划数量
  6416. type: number
  6417. orisellpricedqty:
  6418. description: 期初销售合同已定价数量
  6419. type: number
  6420. oritotalexposure:
  6421. description: 期初实时总敞口
  6422. type: number
  6423. oritotalfutureqty:
  6424. description: 期初期货头寸总量
  6425. type: number
  6426. oritotalneedhedgeqty:
  6427. description: 期初应套保总量
  6428. type: number
  6429. oritotalspotqty:
  6430. description: 期初现货头寸总量
  6431. type: number
  6432. reckondate:
  6433. description: 日照时期(yyyyMMdd)
  6434. type: string
  6435. sellfutureqty:
  6436. description: 卖出期货数量
  6437. type: number
  6438. sellplanqty:
  6439. description: 销售计划数量
  6440. type: number
  6441. sellpricedqty:
  6442. description: 销售合同已定价数量
  6443. type: number
  6444. totalexposure:
  6445. description: 实时总敞口(总敞口)
  6446. type: number
  6447. totalfutureqty:
  6448. description: 期货头寸总量(期货总量)
  6449. type: number
  6450. totalhedgeratio:
  6451. description: 敞口比例
  6452. type: number
  6453. totalneedhedgeqty:
  6454. description: 应套保总量(现货应套保总量)
  6455. type: number
  6456. totalspotqty:
  6457. description: 现货头寸总量 | 除税总量
  6458. type: number
  6459. unitid:
  6460. description: 单位id
  6461. type: integer
  6462. updatetime:
  6463. description: 更新时间
  6464. type: string
  6465. type: object
  6466. models.Ermcp3FinanceReport:
  6467. properties:
  6468. accountname:
  6469. description: 机构名称
  6470. type: string
  6471. areauserid:
  6472. description: 所属机构\交易用户ID
  6473. type: integer
  6474. begindate:
  6475. description: 开始交易日
  6476. type: string
  6477. biztype:
  6478. description: 业务类型 - 1:套保 2:套利
  6479. type: integer
  6480. brandname:
  6481. description: 品牌名称
  6482. type: string
  6483. buypreinvoicedamount:
  6484. description: 采购预收票额(预收票额)
  6485. type: number
  6486. buyprepaidamount:
  6487. description: 采购预付款额(预付货款额)
  6488. type: number
  6489. buytodayinvoiceamount:
  6490. description: 采购今收票额(今收票额)
  6491. type: number
  6492. buytodayrefundamount:
  6493. description: 采购今收退款额(今收退款额)
  6494. type: number
  6495. buytodaysettleamount:
  6496. description: 采购今付款额(今付货款额)
  6497. type: number
  6498. buyuninvoicedamount:
  6499. description: 采购应收票额(应收票额)
  6500. type: number
  6501. buyunpaidamount:
  6502. description: 采购应付款额(应付货款额)
  6503. type: number
  6504. currencyid:
  6505. description: 结算币种ID
  6506. type: integer
  6507. currencyname:
  6508. description: 币种名称
  6509. type: string
  6510. cycletime:
  6511. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6512. type: string
  6513. cycletype:
  6514. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6515. type: integer
  6516. deliverygoodscode:
  6517. description: 现货品种代码
  6518. type: string
  6519. deliverygoodsid:
  6520. description: 现货品种ID
  6521. type: integer
  6522. deliverygoodsname:
  6523. description: 现货品种名称
  6524. type: string
  6525. enddate:
  6526. description: 结束交易日
  6527. type: string
  6528. reckondate:
  6529. description: 日照时期(yyyyMMdd)
  6530. type: string
  6531. sellpreinvoicedamount:
  6532. description: 销售预开票额(预开票额)
  6533. type: number
  6534. sellprepaidamount:
  6535. description: 销售预收款额(预收货款额)
  6536. type: number
  6537. selltodayinvoiceamount:
  6538. description: 销售今开票额(今开票额)
  6539. type: number
  6540. selltodayrefundamount:
  6541. description: 销售今付退款额(今付退款额)
  6542. type: number
  6543. selltodaysettleamount:
  6544. description: 销售今收款额(今收货款额)
  6545. type: number
  6546. selluninvoicedamount:
  6547. description: 销售应开票额(应开票额)
  6548. type: number
  6549. sellunpaidamount:
  6550. description: 销售应收款额(应收货款额)
  6551. type: number
  6552. spotgoodsbrandid:
  6553. description: 现货品牌ID
  6554. type: integer
  6555. todaypaysum:
  6556. description: 今付款合计
  6557. type: number
  6558. todayreceivesum:
  6559. description: 今收款合计
  6560. type: number
  6561. updatetime:
  6562. description: 更新时间
  6563. type: string
  6564. wrfactortypeid:
  6565. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6566. type: integer
  6567. wrstandardcode:
  6568. description: 品类代码
  6569. type: string
  6570. wrstandardid:
  6571. description: 现货商品ID
  6572. type: integer
  6573. wrstandardname:
  6574. description: 品类名称
  6575. type: string
  6576. type: object
  6577. models.Ermcp3GoodsGroup:
  6578. properties:
  6579. agreeunit:
  6580. description: 合约单位
  6581. type: number
  6582. areauserid:
  6583. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6584. type: integer
  6585. canshort:
  6586. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6587. type: integer
  6588. closepricemode:
  6589. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6590. type: integer
  6591. createtime:
  6592. description: 创建时间
  6593. type: string
  6594. creatorid:
  6595. description: 创建人
  6596. type: integer
  6597. currencyid:
  6598. description: 报价货币ID
  6599. type: integer
  6600. decimalplace:
  6601. description: 报价小数位
  6602. type: integer
  6603. enumdicname:
  6604. description: 单位名称
  6605. type: string
  6606. exchangefullname:
  6607. description: 交易所全称
  6608. type: string
  6609. excludecfg:
  6610. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6611. type: integer
  6612. exexchangecode:
  6613. description: 交易所代码
  6614. type: string
  6615. exexchangeid:
  6616. description: 外部交易所ID[通道交易]
  6617. type: integer
  6618. exexchangename:
  6619. description: 交易所名称
  6620. type: string
  6621. goodsgroupid:
  6622. description: 商品组ID(自增ID)
  6623. type: integer
  6624. goodsgroupname:
  6625. description: 商品组名称
  6626. type: string
  6627. goodsgroupstatus:
  6628. description: 商品组状态 - 1:正常 2:注销
  6629. type: integer
  6630. goodunitid:
  6631. description: 报价单位ID
  6632. type: integer
  6633. groupcategroyid:
  6634. description: 品种分类ID
  6635. type: integer
  6636. innerdealmode:
  6637. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6638. type: integer
  6639. marketid:
  6640. description: 所属市场ID
  6641. type: integer
  6642. modifierid:
  6643. description: 修改人
  6644. type: integer
  6645. modifytime:
  6646. description: 修改时间
  6647. type: string
  6648. outerdealmode:
  6649. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6650. type: integer
  6651. outergroupcode:
  6652. description: 外部商品组代码[通道交易]
  6653. type: string
  6654. quoteminunit:
  6655. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6656. type: integer
  6657. quotesourcegroupid:
  6658. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6659. type: integer
  6660. syncgoodsqty:
  6661. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6662. type: integer
  6663. required:
  6664. - areauserid
  6665. type: object
  6666. models.Ermcp3HPMiddleGoods:
  6667. properties:
  6668. biztype:
  6669. description: 业务类型 1:套保 2:套利
  6670. type: integer
  6671. contracttype:
  6672. description: 合同类型 1:采购 -1:销售
  6673. type: integer
  6674. convertratio:
  6675. description: 折算系数
  6676. type: number
  6677. customername:
  6678. description: 对手手名称
  6679. type: string
  6680. customeruserid:
  6681. description: 对手id
  6682. type: integer
  6683. enumdicname:
  6684. description: 现货单位名称
  6685. type: string
  6686. hedgeplanid:
  6687. description: 计划id
  6688. type: string
  6689. hedgeplanno:
  6690. description: 计划编号
  6691. type: string
  6692. middlegoodsid:
  6693. description: 套保品种ID
  6694. type: integer
  6695. middlegoodsplanqty3:
  6696. description: 应套保计划量
  6697. type: number
  6698. needhedgeratio:
  6699. description: 套保比例
  6700. type: number
  6701. pricedqty:
  6702. description: 已定价量
  6703. type: number
  6704. relatedmiddlegoodsqty:
  6705. description: 已关联量(套保品种)(期货)
  6706. type: number
  6707. unitid:
  6708. description: 现货单位id
  6709. type: integer
  6710. userid:
  6711. description: 用户id
  6712. type: integer
  6713. vatrate:
  6714. description: 增值税率
  6715. type: number
  6716. wrstandardcode:
  6717. description: 现货商品代码
  6718. type: string
  6719. wrstandardid:
  6720. description: 现货商品id
  6721. type: integer
  6722. wrstandardname:
  6723. description: 现货商品名称
  6724. type: string
  6725. type: object
  6726. models.Ermcp3HedgePlan:
  6727. properties:
  6728. accountid:
  6729. description: 资金账号
  6730. type: integer
  6731. areauserid:
  6732. description: 用户ID
  6733. type: integer
  6734. auditid:
  6735. description: 审核id
  6736. type: integer
  6737. auditname:
  6738. description: 审核人名称
  6739. type: string
  6740. auditremark:
  6741. description: 审核备注
  6742. type: string
  6743. auditsrc:
  6744. description: 审核来源 1-管理端 2-终端
  6745. type: integer
  6746. audittime:
  6747. description: 审核时间
  6748. type: string
  6749. contracttype:
  6750. description: 计划类型 - 1:采购 -1:销售
  6751. type: integer
  6752. convertfactor:
  6753. description: 标仓系数
  6754. type: number
  6755. createtime:
  6756. description: 创建时间
  6757. type: string
  6758. currencyid:
  6759. description: 币种id
  6760. type: integer
  6761. currencyname:
  6762. description: 币种名称
  6763. type: string
  6764. deliverygoodscode:
  6765. description: 现货品种代码
  6766. type: string
  6767. deliverygoodsid:
  6768. description: 现货品种ID
  6769. type: integer
  6770. deliverygoodsname:
  6771. description: 现货品种名称
  6772. type: string
  6773. enumdicname:
  6774. description: 单位名称(现货商品)
  6775. type: string
  6776. hedgeplanid:
  6777. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6778. type: string
  6779. hedgeplanno:
  6780. description: 套保计划编号(名称)
  6781. type: string
  6782. hedgeplanstatus:
  6783. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6784. type: integer
  6785. planqty:
  6786. description: 计划数量
  6787. type: number
  6788. plantime:
  6789. description: 计划时间
  6790. type: string
  6791. producttype:
  6792. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6793. type: integer
  6794. remark:
  6795. description: 备注
  6796. type: string
  6797. spotgoodsdesc:
  6798. description: 商品型号
  6799. type: string
  6800. taaccountname:
  6801. description: 资金账号名称
  6802. type: string
  6803. tradeuserid:
  6804. description: 交易用户id
  6805. type: integer
  6806. tradeusername:
  6807. description: 交易用户名称
  6808. type: string
  6809. unitid:
  6810. description: 单位id(现货商品)
  6811. type: integer
  6812. updatetime:
  6813. description: 更新时间
  6814. type: string
  6815. vatrate:
  6816. description: 增值税率
  6817. type: number
  6818. wrstandardcode:
  6819. description: 品类代码
  6820. type: string
  6821. wrstandardid:
  6822. description: 品类id
  6823. type: integer
  6824. wrstandardname:
  6825. description: 品类名称
  6826. type: string
  6827. wrunitid:
  6828. description: 品类单位id
  6829. type: integer
  6830. wrunitidame:
  6831. description: 品类单位名称
  6832. type: string
  6833. type: object
  6834. models.Ermcp3InnerTradeLink:
  6835. properties:
  6836. accountid:
  6837. description: 期货账号代码 | 资金账号ID
  6838. type: integer
  6839. buyorsell:
  6840. description: 方向 - 0:买 1:卖
  6841. type: integer
  6842. channelbuildtype:
  6843. description: 委托单据类型 0:无 1:建仓 2:平仓
  6844. type: integer
  6845. currencyid:
  6846. description: 币种id
  6847. type: integer
  6848. currencyname:
  6849. description: 结算币种 名称
  6850. type: string
  6851. goodscode:
  6852. description: 商品代码
  6853. type: string
  6854. goodsid:
  6855. description: 商品ID
  6856. type: integer
  6857. goodsname:
  6858. description: 商品名称
  6859. type: string
  6860. outtradeid:
  6861. description: 外部成交单号
  6862. type: string
  6863. taname:
  6864. description: 期货账户名称
  6865. type: string
  6866. tradeid:
  6867. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6868. type: string
  6869. tradeprice:
  6870. description: 成交价格
  6871. type: number
  6872. tradeqty:
  6873. description: 期货成交数量
  6874. type: integer
  6875. tradetime:
  6876. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6877. type: string
  6878. username:
  6879. description: 用户名称
  6880. type: string
  6881. type: object
  6882. models.Ermcp3OutTradeLink:
  6883. properties:
  6884. buyorsell:
  6885. description: 买卖方向 - 0:买 1:卖
  6886. type: integer
  6887. channelbuildtype:
  6888. description: 开平标志- 0:无 1:建仓 2:平仓
  6889. type: integer
  6890. currencyname:
  6891. description: 币种名称
  6892. type: string
  6893. exexchangecode:
  6894. description: 交易所代码
  6895. type: string
  6896. exexchangename:
  6897. description: 交易所名称
  6898. type: string
  6899. goodscode:
  6900. description: 合约代码
  6901. type: string
  6902. goodsid:
  6903. description: 合约id
  6904. type: integer
  6905. goodsname:
  6906. description: 合约名称
  6907. type: string
  6908. hasinnerorder:
  6909. description: 是否有内部单关联 - 0:无 1:有
  6910. type: integer
  6911. hedgeaccountcode:
  6912. description: 外部账号 | 对冲账号
  6913. type: string
  6914. outtradeid:
  6915. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6916. type: string
  6917. tradeprice:
  6918. description: 成交价格
  6919. type: number
  6920. tradeqty:
  6921. description: 成交数量
  6922. type: integer
  6923. tradetime:
  6924. description: 成交时间
  6925. type: string
  6926. type: object
  6927. models.Ermcp3PaAreaAuditCfg:
  6928. properties:
  6929. areauserid:
  6930. description: 用户ID
  6931. type: integer
  6932. buyinauditflag:
  6933. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6934. type: integer
  6935. costratioauditflag:
  6936. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6937. type: integer
  6938. customerauditflag:
  6939. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6940. type: integer
  6941. deliveryauditflag:
  6942. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6943. type: integer
  6944. invoiceauditflag:
  6945. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6946. type: integer
  6947. mgneedhedgeratioauditflag:
  6948. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6949. type: integer
  6950. moneyauditflag:
  6951. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6952. type: integer
  6953. operatorid:
  6954. description: 操作人
  6955. type: integer
  6956. operatorsrc:
  6957. description: 操作来源 - 1:管理端 2:终端
  6958. type: integer
  6959. pointpriceauditflag:
  6960. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6961. type: integer
  6962. produceinauditflag:
  6963. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6964. type: integer
  6965. produceoutauditflag:
  6966. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6967. type: integer
  6968. selloutauditflag:
  6969. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6970. type: integer
  6971. sgconvertratioauditflag:
  6972. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6973. type: integer
  6974. sgvtaratioauditflag:
  6975. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6976. type: integer
  6977. spotcontractauditflag:
  6978. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6979. type: integer
  6980. updatetime:
  6981. description: 更新时间
  6982. type: string
  6983. type: object
  6984. models.Ermcp3PaAreaSubject:
  6985. properties:
  6986. areauserid:
  6987. description: 所属机构
  6988. type: integer
  6989. canmodify:
  6990. description: 是否可修改 - 0:否 1:是
  6991. type: integer
  6992. createtime:
  6993. description: 创建时间
  6994. type: string
  6995. creatorid:
  6996. description: 创建人ID
  6997. type: string
  6998. creatorsrc:
  6999. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7000. type: integer
  7001. modifierid:
  7002. description: 修改人
  7003. type: string
  7004. modifiersrc:
  7005. description: 修改人来源 - 1:管理端 2:终端
  7006. type: integer
  7007. modifytime:
  7008. description: 修改时间
  7009. type: string
  7010. parentsubjectid:
  7011. description: 上级主体ID
  7012. type: string
  7013. remark:
  7014. description: 备注
  7015. type: string
  7016. subjectid:
  7017. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  7018. type: integer
  7019. subjectname:
  7020. description: 主体名称
  7021. type: string
  7022. subjectstatus:
  7023. description: '主体状态 - 1:正常 2: 停用'
  7024. type: integer
  7025. subjecttype:
  7026. description: 主体类型 - 1:交易主体 2:业务部门
  7027. type: integer
  7028. type: object
  7029. models.Ermcp3PaTradeLink:
  7030. properties:
  7031. accountid:
  7032. description: 期货账户代码 | 账号ID
  7033. type: integer
  7034. agreeunit:
  7035. description: 合约乘数
  7036. type: number
  7037. buyorsell:
  7038. description: 方向 - 0:买 1:卖
  7039. type: integer
  7040. channelbuildtype:
  7041. description: 委托单据类型 0:无 1:建仓 2:平仓
  7042. type: integer
  7043. charge:
  7044. description: 手续费
  7045. type: number
  7046. closepl:
  7047. description: 平仓盈亏
  7048. type: number
  7049. closetype:
  7050. description: 平仓方式 - 0:无 1:平今 2:平昨
  7051. type: integer
  7052. convertratio:
  7053. description: 折算系数
  7054. type: number
  7055. enumdicname:
  7056. description: 单位名称
  7057. type: string
  7058. executeprice:
  7059. description: 执行价 [期权]
  7060. type: integer
  7061. goodscode:
  7062. description: 合约代码
  7063. type: string
  7064. goodsgroupid:
  7065. description: 对冲品种ID[期货合约商品组ID]
  7066. type: integer
  7067. goodsid:
  7068. description: 商品ID
  7069. type: integer
  7070. goodsname:
  7071. description: 合约名称
  7072. type: string
  7073. goodunitid:
  7074. description: 单位id
  7075. type: integer
  7076. hedgeflag:
  7077. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  7078. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7079. type: integer
  7080. marketid:
  7081. description: 市场ID
  7082. type: integer
  7083. middlegoodsid:
  7084. description: 套保品种ID
  7085. type: integer
  7086. middlegoodsqty:
  7087. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  7088. type: number
  7089. optioncode:
  7090. description: 期权代码 [期权]
  7091. type: string
  7092. ordertype:
  7093. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  7094. type: integer
  7095. ordertypename:
  7096. description: 订单类型
  7097. type: string
  7098. parentaccountid:
  7099. description: 所属母账户
  7100. type: integer
  7101. premium:
  7102. description: 权利金 [期权]
  7103. type: number
  7104. relatedlot:
  7105. description: 已关联数量(已关联数量手) | db:关联手数
  7106. type: number
  7107. relatedouttradeid:
  7108. description: 关联外部成交单ID
  7109. type: string
  7110. relatedqty:
  7111. description: 关联数量
  7112. type: number
  7113. spotcontractid:
  7114. description: 现货合同ID [4:套期保值\10\11]
  7115. type: string
  7116. taname:
  7117. description: 期货账户名称
  7118. type: string
  7119. tradeamount:
  7120. description: 成交金额(账户)
  7121. type: number
  7122. tradedate:
  7123. description: 交易日(yyyyMMdd)
  7124. type: string
  7125. tradeid:
  7126. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7127. type: string
  7128. tradelot:
  7129. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  7130. type: integer
  7131. tradeprice:
  7132. description: 成交价格
  7133. type: number
  7134. tradetime:
  7135. description: 时间 | db:成交时间
  7136. type: string
  7137. tradetype:
  7138. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  7139. type: integer
  7140. userid:
  7141. description: 所属机构 - 所属母账户的UserID
  7142. type: string
  7143. username:
  7144. description: 用户名称
  7145. type: string
  7146. type: object
  7147. models.Ermcp3ParamChangeApp:
  7148. properties:
  7149. aftervalue:
  7150. description: 变更后
  7151. type: number
  7152. applicationid:
  7153. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  7154. type: string
  7155. applyid:
  7156. description: 申请人
  7157. type: string
  7158. applyname:
  7159. description: 申请人名称(代码)
  7160. type: string
  7161. applyremark:
  7162. description: 申请备注
  7163. type: string
  7164. applysrc:
  7165. description: 申请来源 - 1:管理端 2:终端
  7166. type: integer
  7167. applystatus:
  7168. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  7169. type: integer
  7170. applytime:
  7171. description: 申请时间
  7172. type: string
  7173. areauserid:
  7174. description: 所属机构用户ID
  7175. type: integer
  7176. auditid:
  7177. description: 审核人
  7178. type: string
  7179. auditname:
  7180. description: 审核人名称(代码)
  7181. type: string
  7182. auditremark:
  7183. description: 审核备注
  7184. type: string
  7185. auditsrc:
  7186. description: 审核来源 - 1:管理端 2:终端
  7187. type: integer
  7188. audittime:
  7189. description: 审核时间
  7190. type: string
  7191. audittradedate:
  7192. description: 审核交易日(yyyyMMdd)
  7193. type: string
  7194. beforevalue:
  7195. description: 变更前
  7196. type: number
  7197. deliverygoodscode:
  7198. description: 品种代码
  7199. type: string
  7200. deliverygoodsid:
  7201. description: 品种id
  7202. type: integer
  7203. deliverygoodsname:
  7204. description: 品种名称
  7205. type: string
  7206. middlegoodscode:
  7207. description: 套保品种代码
  7208. type: string
  7209. middlegoodsid:
  7210. description: 套保品种ID [ParamChangeType = 2,3,4]
  7211. type: integer
  7212. middlegoodsname:
  7213. description: 套保品种名称
  7214. type: string
  7215. operatetype:
  7216. description: 操作类型 - 1:新增 2:修改
  7217. type: integer
  7218. paramchangetype:
  7219. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  7220. type: integer
  7221. wrstandardcode:
  7222. description: 现货商品代码
  7223. type: string
  7224. wrstandardid:
  7225. description: 现货商品ID [ParamChangeType = 1,2,3]
  7226. type: integer
  7227. wrstandardname:
  7228. description: 现货商品名称
  7229. type: string
  7230. type: object
  7231. models.Ermcp3RootUserAccount:
  7232. properties:
  7233. accountname:
  7234. description: 账户名称(机构名称)
  7235. type: string
  7236. accountstatus:
  7237. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7238. type: integer
  7239. applysrc:
  7240. description: 申请来源 - 1:管理端 2:终端
  7241. type: integer
  7242. auditremark:
  7243. description: 审核备注
  7244. type: string
  7245. auditsrc:
  7246. description: 审核来源 - 1:管理端 2:终端
  7247. type: integer
  7248. audittime:
  7249. description: 审核时间
  7250. type: string
  7251. audituserid:
  7252. description: 审核人
  7253. type: integer
  7254. broker:
  7255. description: 所属经纪人ID
  7256. type: integer
  7257. canceltime:
  7258. description: 销户时间
  7259. type: string
  7260. canceluserid:
  7261. description: 销户人
  7262. type: integer
  7263. canrecommend:
  7264. description: 是否可推荐 - 0:不可 1;可
  7265. type: integer
  7266. createtime:
  7267. description: 创建时间
  7268. type: string
  7269. creatorid:
  7270. description: 创建人
  7271. type: integer
  7272. hasauth:
  7273. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7274. type: integer
  7275. isanonymous:
  7276. description: 是否匿名下单 - 0:否 1:是
  7277. type: integer
  7278. maxinvestornum:
  7279. description: 最大用户数(经纪会员下投资者个数)
  7280. type: integer
  7281. memberuserid:
  7282. description: 所属会员ID
  7283. type: integer
  7284. modifierid:
  7285. description: 修改人
  7286. type: integer
  7287. modifyremark:
  7288. description: 变更备注
  7289. type: string
  7290. modifystatus:
  7291. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7292. type: integer
  7293. modifytime:
  7294. description: 修改时间
  7295. type: string
  7296. nickname:
  7297. description: 昵称
  7298. type: string
  7299. parenttopuser:
  7300. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  7301. type: string
  7302. parentuserid:
  7303. description: 所属机构ID
  7304. type: integer
  7305. reckonaccountid:
  7306. description: 默认结算资金账号ID(机构分润使用) 作废
  7307. type: integer
  7308. refercount:
  7309. description: 推荐总人数
  7310. type: integer
  7311. refereeuserid:
  7312. description: 推荐人ID
  7313. type: integer
  7314. refernum:
  7315. description: 推荐码
  7316. type: string
  7317. rootuserid:
  7318. description: 根用户ID
  7319. type: integer
  7320. subaccountlevel:
  7321. description: 子账户层数
  7322. type: integer
  7323. subarealevelpath:
  7324. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7325. type: string
  7326. userid:
  7327. description: 用户ID
  7328. type: integer
  7329. usertype:
  7330. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7331. type: integer
  7332. type: object
  7333. models.Ermcp3SCMiddleGoods:
  7334. properties:
  7335. biztype:
  7336. description: 业务类型 1:套保 2:套利
  7337. type: integer
  7338. contractno:
  7339. description: 合同编号
  7340. type: string
  7341. contracttype:
  7342. description: 合同类型 1:采购 -1:销售
  7343. type: integer
  7344. convertratio:
  7345. description: 折算系数
  7346. type: number
  7347. customername:
  7348. description: 对手手名称
  7349. type: string
  7350. customeruserid:
  7351. description: 对手id
  7352. type: integer
  7353. deliverygoodscode:
  7354. description: 现货品种代码
  7355. type: string
  7356. deliverygoodsid:
  7357. description: 现货品种ID
  7358. type: integer
  7359. deliverygoodsname:
  7360. description: 现货品种名称
  7361. type: string
  7362. enumdicname:
  7363. description: 现货单位名称
  7364. type: string
  7365. middlegoodsid:
  7366. description: 套保品种ID
  7367. type: integer
  7368. middlegoodspricedqty3:
  7369. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7370. type: number
  7371. needhedgeratio:
  7372. description: 套保比例
  7373. type: number
  7374. pricedqty:
  7375. description: 已定价量
  7376. type: number
  7377. relatedmiddlegoodsqty:
  7378. description: 已关联量(套保品种)(期货)
  7379. type: number
  7380. spotcontractid:
  7381. description: 合同编号
  7382. type: string
  7383. unitid:
  7384. description: 现货单位id
  7385. type: integer
  7386. userid:
  7387. description: 用户id
  7388. type: integer
  7389. vatrate:
  7390. description: 增值税率
  7391. type: number
  7392. wrstandardcode:
  7393. description: 现货商品代码
  7394. type: string
  7395. wrstandardid:
  7396. description: 现货商品id
  7397. type: integer
  7398. wrstandardname:
  7399. description: 现货商品名称
  7400. type: string
  7401. type: object
  7402. models.Ermcp3SCMiddleGoodsReport:
  7403. properties:
  7404. begindate:
  7405. description: 开始交易日
  7406. type: string
  7407. contractno:
  7408. description: 合同编号
  7409. type: string
  7410. contracttype:
  7411. description: 合同类型 1:采购 -1:销售
  7412. type: integer
  7413. convertratio:
  7414. description: 期初均价
  7415. type: number
  7416. cycletime:
  7417. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7418. type: string
  7419. cycletype:
  7420. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7421. type: integer
  7422. deliverygoodscode:
  7423. description: 品种代码
  7424. type: string
  7425. deliverygoodsid:
  7426. description: 现货品种ID
  7427. type: integer
  7428. deliverygoodsname:
  7429. description: 品种名称
  7430. type: string
  7431. diffprice:
  7432. description: 期初均价
  7433. type: number
  7434. diffqty:
  7435. description: 期初均价
  7436. type: number
  7437. enddate:
  7438. description: 结束交易日
  7439. type: string
  7440. hedgeplanqty:
  7441. description: 期初均价
  7442. type: number
  7443. matchname:
  7444. description: 交易对手方(个人:用户名称 企业:简称)
  7445. type: string
  7446. matchnickname:
  7447. description: 交易对手方昵称
  7448. type: string
  7449. middlegoodscode:
  7450. description: 套保品种代码
  7451. type: string
  7452. middlegoodsid:
  7453. description: 套保品种ID
  7454. type: integer
  7455. middlegoodsname:
  7456. description: 套保品种名称
  7457. type: string
  7458. middlegoodspricedqty:
  7459. description: 期初均价
  7460. type: number
  7461. middlegoodspricedqty2:
  7462. description: 期初均价
  7463. type: number
  7464. middlegoodspricedqty3:
  7465. description: 期初均价
  7466. type: number
  7467. needhedgeratio:
  7468. description: 期初均价
  7469. type: number
  7470. pricedamount:
  7471. description: 期初均价
  7472. type: number
  7473. pricedamount2:
  7474. description: 期初均价
  7475. type: number
  7476. pricedqty:
  7477. description: 期初均价
  7478. type: number
  7479. reckondate:
  7480. description: 日照时期(yyyyMMdd)
  7481. type: string
  7482. relatedmiddlegoodsamount:
  7483. description: 期初均价
  7484. type: number
  7485. relatedmiddlegoodsqty:
  7486. description: 期初均价
  7487. type: number
  7488. spotcontractid:
  7489. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7490. type: string
  7491. todayavgfutuprice:
  7492. description: 期初均价
  7493. type: number
  7494. todayavgprice:
  7495. description: 期初均价
  7496. type: number
  7497. todayavgprice2:
  7498. description: 期初均价
  7499. type: number
  7500. todaypricedamount:
  7501. description: 期初均价
  7502. type: number
  7503. todaypricedamount2:
  7504. description: 期初均价
  7505. type: number
  7506. todaypricedqty:
  7507. description: 期初均价
  7508. type: number
  7509. todayrelatedfutureqty:
  7510. description: 期初均价
  7511. type: number
  7512. todayrelatedmiddlegoodsamount:
  7513. description: 期初均价
  7514. type: number
  7515. todayrelatedmiddlegoodsqty:
  7516. description: 期初均价
  7517. type: number
  7518. updatetime:
  7519. description: 更新时间
  7520. type: string
  7521. userid:
  7522. description: 合同所属用户id
  7523. type: integer
  7524. vatrate:
  7525. description: 期初均价
  7526. type: number
  7527. wrstandardcode:
  7528. description: 商品(品类) 代码
  7529. type: string
  7530. wrstandardid:
  7531. description: 现货商品ID
  7532. type: integer
  7533. wrstandardname:
  7534. description: 商品(品类) 名称
  7535. type: string
  7536. type: object
  7537. models.Ermcp3SellBuyContract:
  7538. properties:
  7539. accountid:
  7540. description: 期货账户id
  7541. type: string
  7542. accountname:
  7543. description: 账户名称
  7544. type: string
  7545. attachment:
  7546. description: 附件
  7547. type: string
  7548. audittime:
  7549. description: 审核时间
  7550. type: string
  7551. bizsubjectid:
  7552. description: 归属业务部门ID - SubjectID
  7553. type: integer
  7554. biztype:
  7555. description: 业务类型 1-套保 2-套利
  7556. type: integer
  7557. brandname:
  7558. description: 品牌名称
  7559. type: string
  7560. contracctstatus:
  7561. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7562. type: integer
  7563. contractmargin:
  7564. description: 合同保证金
  7565. type: number
  7566. contractno:
  7567. description: 合同编号
  7568. type: string
  7569. contracttype:
  7570. description: 合同类型 1-采购, -1-销售
  7571. type: integer
  7572. convertfactor:
  7573. description: 标仓系数(品类)
  7574. type: number
  7575. createtime:
  7576. description: 创建时间
  7577. type: string
  7578. currencyid:
  7579. description: 币种id
  7580. type: integer
  7581. currencyname:
  7582. description: 币种名称
  7583. type: string
  7584. daikaiamount:
  7585. description: 应收(开)票额 | 未收票额
  7586. type: number
  7587. deliveryenddate:
  7588. description: 交割结束日
  7589. type: string
  7590. deliverygoodscode:
  7591. description: 现货品种代码
  7592. type: string
  7593. deliverygoodsid:
  7594. description: 现货商品ID
  7595. type: integer
  7596. deliverygoodsname:
  7597. description: 现货品种名称
  7598. type: string
  7599. deliverystartdate:
  7600. description: 交割开始日
  7601. type: string
  7602. enddate:
  7603. description: 点价结束日
  7604. type: string
  7605. enumdicname:
  7606. description: 单位名称
  7607. type: string
  7608. goodscode:
  7609. description: 点价商品代码
  7610. type: string
  7611. goodsgroupid:
  7612. description: 点价商品组id
  7613. type: integer
  7614. goodsid:
  7615. description: 点价商品ID
  7616. type: integer
  7617. goodsname:
  7618. description: 点价商品名称
  7619. type: string
  7620. invoiceamount:
  7621. description: 已开票额
  7622. type: number
  7623. loanamount:
  7624. description: 贷款总额=已定价额+调整金额
  7625. type: number
  7626. margin:
  7627. description: 保证金
  7628. type: number
  7629. meruserid:
  7630. description: 跟单员id
  7631. type: integer
  7632. meruserlogincode:
  7633. description: 跟单员登录代码
  7634. type: string
  7635. merusername:
  7636. description: 跟单员名称
  7637. type: string
  7638. nickname:
  7639. description: 账户昵称
  7640. type: string
  7641. orireckonrealqty:
  7642. description: 应交收量
  7643. type: number
  7644. payamount:
  7645. description: 已收付额(收款或付款)
  7646. type: number
  7647. preinvoiceamount:
  7648. description: 预收(开)票额
  7649. type: number
  7650. prepayamount:
  7651. description: 预收付额
  7652. type: number
  7653. price:
  7654. description: 价格
  7655. type: number
  7656. pricedamount:
  7657. description: 已定价额
  7658. type: number
  7659. pricedavg:
  7660. description: 已点均价
  7661. type: number
  7662. pricedqty:
  7663. description: 已定价量
  7664. type: number
  7665. pricemove:
  7666. description: 升贴水
  7667. type: number
  7668. pricetype:
  7669. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7670. type: integer
  7671. producttype:
  7672. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7673. type: integer
  7674. qty:
  7675. description: 合同量
  7676. type: number
  7677. reckonadjustamount:
  7678. description: 调整金额
  7679. type: number
  7680. reckonedamount:
  7681. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7682. type: number
  7683. reckonotheramount:
  7684. description: 其它费用
  7685. type: number
  7686. reckonrealqty:
  7687. description: 已交收量
  7688. type: number
  7689. remark:
  7690. description: 备注
  7691. type: string
  7692. saleuserid:
  7693. description: 业务员id
  7694. type: integer
  7695. saleuserlogincode:
  7696. description: 业务员登录代码
  7697. type: string
  7698. saleusername:
  7699. description: 业务员名称
  7700. type: string
  7701. spotcontractid:
  7702. description: 合同ID
  7703. type: string
  7704. spotgoodsbrandid:
  7705. description: 现货品牌ID(DGFactoryItem表的ID)
  7706. type: integer
  7707. spotgoodsdesc:
  7708. description: 商品型号(商品规格)
  7709. type: string
  7710. startdate:
  7711. description: 点价开始日
  7712. type: string
  7713. subjectid:
  7714. description: 交易主体ID
  7715. type: integer
  7716. subjectname:
  7717. description: 交易主体名称
  7718. type: string
  7719. totalamount:
  7720. description: 合计总额
  7721. type: number
  7722. tradeuserid:
  7723. description: 交易员id
  7724. type: integer
  7725. tradeuserlogincode:
  7726. description: 交易员登录代码
  7727. type: string
  7728. tradeusername:
  7729. description: 交易员名称
  7730. type: string
  7731. unpayamount:
  7732. description: 应收付款额(应支付或应收款) | 未付款额
  7733. type: number
  7734. unpricedqty:
  7735. description: 未定价量
  7736. type: number
  7737. unsureqty:
  7738. description: 未确定量 | 未交收量
  7739. type: number
  7740. userid:
  7741. description: 机构ID
  7742. type: integer
  7743. vatrate:
  7744. description: 增值税率
  7745. type: number
  7746. wrstandardcode:
  7747. description: 品类代码
  7748. type: string
  7749. wrstandardid:
  7750. description: 品类ID
  7751. type: integer
  7752. wrstandardname:
  7753. description: 品类名称
  7754. type: string
  7755. type: object
  7756. models.Ermcp3SpotGoodsPrice:
  7757. properties:
  7758. areauserid:
  7759. description: 所属机构id
  7760. type: integer
  7761. brandname:
  7762. description: 品牌名称
  7763. type: string
  7764. currencyid:
  7765. description: 报价货币ID
  7766. type: integer
  7767. currencyname:
  7768. description: 币种名称
  7769. type: string
  7770. deliverygoodscode:
  7771. description: 现货商品代码
  7772. type: string
  7773. deliverygoodsid:
  7774. description: 现货商品id
  7775. type: integer
  7776. deliverygoodsname:
  7777. description: 现货商品名称
  7778. type: string
  7779. enumdicname:
  7780. description: 现货商品单位名称
  7781. type: string
  7782. gbenumdicname:
  7783. description: 品类单位名称
  7784. type: string
  7785. gmunitid:
  7786. description: 品类单位id
  7787. type: integer
  7788. isvalid:
  7789. description: 是否有效 - 0:无效 1:有效
  7790. type: integer
  7791. operateid:
  7792. description: 最后操作人
  7793. type: integer
  7794. operatesrc:
  7795. description: 最后操作来源 - 1:管理端 2:终端
  7796. type: integer
  7797. operatetime:
  7798. description: 最后操作时间
  7799. type: string
  7800. operatorname:
  7801. description: 操作人名称
  7802. type: string
  7803. spotgoodsbrandid:
  7804. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7805. type: integer
  7806. spotgoodsprice:
  7807. description: 现货价格
  7808. type: number
  7809. tradedate:
  7810. description: 交易日(yyyyMMdd)
  7811. type: string
  7812. unitid:
  7813. description: 现货商品单位id
  7814. type: integer
  7815. wrstandardcode:
  7816. description: 品类代码
  7817. type: string
  7818. wrstandardid:
  7819. description: 现货品类ID(通用则为0)
  7820. type: integer
  7821. wrstandardname:
  7822. description: 品类名称
  7823. type: string
  7824. type: object
  7825. models.Ermcp3SpotGoodsPriceLog:
  7826. properties:
  7827. areauserid:
  7828. description: 所属机构id
  7829. type: integer
  7830. brandname:
  7831. description: 品牌名称
  7832. type: string
  7833. currencyid:
  7834. description: 报价货币ID
  7835. type: integer
  7836. deliverygoodscode:
  7837. description: 现货商品代码
  7838. type: string
  7839. deliverygoodsid:
  7840. description: 现货商品id
  7841. type: integer
  7842. deliverygoodsname:
  7843. description: 现货商品名称
  7844. type: string
  7845. enumdicname:
  7846. description: 现货商品单位名称
  7847. type: string
  7848. gbenumdicname:
  7849. description: 品类单位名称
  7850. type: string
  7851. gmunitid:
  7852. description: 品类单位id
  7853. type: integer
  7854. logid:
  7855. description: 日志id
  7856. type: integer
  7857. operateid:
  7858. description: 最后操作人
  7859. type: integer
  7860. operatesrc:
  7861. description: 最后操作来源 - 1:管理端 2:终端
  7862. type: integer
  7863. operatetime:
  7864. description: 最后操作时间
  7865. type: string
  7866. operatorname:
  7867. description: 操作人名称
  7868. type: string
  7869. spotgoodsbrandid:
  7870. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7871. type: integer
  7872. spotgoodsprice:
  7873. description: 现货价格
  7874. type: number
  7875. tradedate:
  7876. description: 交易日(yyyyMMdd)
  7877. type: string
  7878. unitid:
  7879. description: 现货商品单位id
  7880. type: integer
  7881. wrstandardcode:
  7882. description: 品类代码
  7883. type: string
  7884. wrstandardid:
  7885. description: 现货品类ID(通用则为0)
  7886. type: integer
  7887. wrstandardname:
  7888. description: 品类名称
  7889. type: string
  7890. type: object
  7891. models.Ermcp3SubTaaccount:
  7892. properties:
  7893. accountid:
  7894. description: 资金账户ID
  7895. type: integer
  7896. parentaccountcode:
  7897. description: 所属根账号代码(母账号代码)
  7898. type: string
  7899. parentaccountid:
  7900. description: 所属根账号(母账号)
  7901. type: integer
  7902. taname:
  7903. description: 资金账号名称
  7904. type: string
  7905. tradestatus:
  7906. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7907. type: integer
  7908. username:
  7909. description: 交易用户
  7910. type: string
  7911. type: object
  7912. models.Ermcp3TaFutuReDataReport:
  7913. properties:
  7914. accountid:
  7915. description: 交易账户
  7916. type: integer
  7917. accountname:
  7918. description: 交易账号名称
  7919. type: string
  7920. agreeunit:
  7921. description: 商品合约单位
  7922. type: number
  7923. begindate:
  7924. description: 开始交易日
  7925. type: string
  7926. buyorsell:
  7927. description: 持仓方向
  7928. type: integer
  7929. charge:
  7930. description: 手续费
  7931. type: number
  7932. closeavgprice:
  7933. description: 期初均价
  7934. type: number
  7935. closepl:
  7936. description: 平仓损益
  7937. type: number
  7938. currencyid:
  7939. description: 结算币种ID
  7940. type: integer
  7941. currencyname:
  7942. description: 币种名称
  7943. type: string
  7944. cycletime:
  7945. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7946. type: string
  7947. cycletype:
  7948. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7949. type: integer
  7950. enddate:
  7951. description: 结束交易日
  7952. type: string
  7953. enumdicname:
  7954. description: 单位名称
  7955. type: string
  7956. floatpl:
  7957. description: 浮动损益
  7958. type: number
  7959. goodscode:
  7960. description: 交易合约代码
  7961. type: string
  7962. goodsgroupid:
  7963. description: 交易品种
  7964. type: integer
  7965. goodsgroupname:
  7966. description: 交易品种名称
  7967. type: string
  7968. goodsgroupspotqty:
  7969. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7970. type: number
  7971. goodsid:
  7972. description: 交易合约
  7973. type: integer
  7974. goodsname:
  7975. description: 交易合约名称
  7976. type: string
  7977. goodunitid:
  7978. description: 交易合约单位id
  7979. type: integer
  7980. holdamount:
  7981. description: 期末持仓额
  7982. type: number
  7983. holdqty:
  7984. description: 期初均价
  7985. type: number
  7986. lastholdamount:
  7987. description: 当前持仓额
  7988. type: number
  7989. lastprice:
  7990. description: 最新价
  7991. type: number
  7992. middlegoodsid:
  7993. description: 套保品种id
  7994. type: integer
  7995. middlegoodsname:
  7996. description: 套保商品名称
  7997. type: string
  7998. middlegoodsqty:
  7999. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  8000. type: number
  8001. middlgoodscode:
  8002. description: 套保商品代码
  8003. type: string
  8004. openamount:
  8005. description: 期末开仓额
  8006. type: number
  8007. openavgprice:
  8008. description: 期初均价
  8009. type: number
  8010. oriholdamount:
  8011. description: 期初持仓额
  8012. type: number
  8013. oriholdqty:
  8014. description: 期初均价
  8015. type: number
  8016. oriopenamount:
  8017. description: 期初开仓额
  8018. type: number
  8019. outergroupcode:
  8020. description: 交易品种代码
  8021. type: string
  8022. qtydecimalplace:
  8023. description: 成交量小数位
  8024. type: integer
  8025. reckondate:
  8026. description: 日照时期(yyyyMMdd)
  8027. type: string
  8028. reckonholdamount:
  8029. description: 结算持仓额
  8030. type: number
  8031. reckonpl:
  8032. description: 结算损益
  8033. type: number
  8034. reckonpl2:
  8035. description: 结算逐笔盈亏
  8036. type: number
  8037. reckonprice:
  8038. description: 结算价
  8039. type: number
  8040. relateduserid:
  8041. description: 账户关联用户ID
  8042. type: integer
  8043. todaycloseamount:
  8044. description: 今平仓额
  8045. type: number
  8046. todaycloseqty:
  8047. description: 期初均价
  8048. type: number
  8049. todaygoodsgroupspotqty:
  8050. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  8051. type: number
  8052. todaymiddlegoodsqty:
  8053. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  8054. type: number
  8055. todayopenamount:
  8056. description: 今开仓额
  8057. type: number
  8058. todayopenqty:
  8059. description: 期初均价
  8060. type: number
  8061. userid:
  8062. description: 账户所属用户ID
  8063. type: integer
  8064. type: object
  8065. models.Ermcp3TradeLinkDetail:
  8066. properties:
  8067. accountid:
  8068. description: 资金账号
  8069. type: integer
  8070. agreeunit:
  8071. description: 合约乘数
  8072. type: number
  8073. areauserid:
  8074. description: 所属机构
  8075. type: string
  8076. bizsubjectid:
  8077. description: 归属业务部门ID - SubjectID
  8078. type: string
  8079. buyorsell:
  8080. description: 方向 - 0:买 1:卖
  8081. type: integer
  8082. channelbuildtype:
  8083. description: 委托单据类型 0:无 1:建仓 2:平仓
  8084. type: integer
  8085. contractno:
  8086. description: 现货编号 (合同编号)
  8087. type: string
  8088. convertratio:
  8089. description: 折算系数
  8090. type: number
  8091. createtime:
  8092. description: 关联时间 | 创建时间
  8093. type: string
  8094. creatorid:
  8095. description: 创建人ID
  8096. type: string
  8097. creatorsrc:
  8098. description: 创建人来源 - 1:管理端 2:终端 3:交易
  8099. type: integer
  8100. enumdicname:
  8101. description: 单位名称
  8102. type: string
  8103. goodscode:
  8104. description: 合约代码
  8105. type: string
  8106. goodsgroupid:
  8107. description: 对冲品种ID[期货合约商品组ID]
  8108. type: integer
  8109. goodsid:
  8110. description: 商品ID
  8111. type: integer
  8112. goodsname:
  8113. description: 合约名称
  8114. type: string
  8115. hedgeflag:
  8116. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  8117. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  8118. type: integer
  8119. linkdetailid:
  8120. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  8121. type: string
  8122. linkstatus:
  8123. description: 关联状态 - 1:成功 2:失败 3:解绑
  8124. type: integer
  8125. middlegoodscode:
  8126. description: 套保品种代码
  8127. type: string
  8128. middlegoodsid:
  8129. description: 套保品种ID
  8130. type: integer
  8131. middlegoodsname:
  8132. description: 套保品种名称
  8133. type: string
  8134. relatedlot:
  8135. description: 关联手数
  8136. type: number
  8137. relatedmode:
  8138. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  8139. type: integer
  8140. relatedqty:
  8141. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  8142. type: number
  8143. retcode:
  8144. description: 返回码
  8145. type: integer
  8146. saleuserid:
  8147. description: 业务员ID
  8148. type: string
  8149. spotcontractid:
  8150. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  8151. type: string
  8152. taname:
  8153. description: 期货账户
  8154. type: string
  8155. tradedate:
  8156. description: 关联交易日(yyyyMMdd)
  8157. type: string
  8158. tradeid:
  8159. description: 期货订单号 | 内部成交单ID
  8160. type: string
  8161. tradelot:
  8162. description: 成交数量 | 成交手数
  8163. type: integer
  8164. tradeprice:
  8165. description: 成交价格
  8166. type: number
  8167. tradetime:
  8168. description: 期货成交时间
  8169. type: string
  8170. tradetradedate:
  8171. description: 成交交易日(yyyyMMdd)
  8172. type: string
  8173. username:
  8174. description: 用户名称
  8175. type: string
  8176. type: object
  8177. models.Ermcp3Wrstandard:
  8178. properties:
  8179. areauserid:
  8180. description: 所属机构
  8181. type: integer
  8182. cantrade:
  8183. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  8184. type: integer
  8185. convertfactor:
  8186. description: 标仓系数
  8187. type: number
  8188. createtime:
  8189. description: 创建时间
  8190. type: string
  8191. creatorid:
  8192. description: 创建人
  8193. type: integer
  8194. deliverygoodsid:
  8195. description: 现货品种ID
  8196. type: integer
  8197. enumdicname:
  8198. description: 品类单位名称
  8199. type: string
  8200. isvalid:
  8201. description: 是否有效 0-无效(停用) 1-有效(正常)
  8202. type: integer
  8203. minivalue:
  8204. description: 最小变动值
  8205. type: integer
  8206. minivaluedp:
  8207. description: 最小变动值小数位
  8208. type: integer
  8209. realminivalue:
  8210. description: 实际最小变动值
  8211. type: integer
  8212. realminivaluedp:
  8213. description: 实际最小变动值小数位
  8214. type: integer
  8215. remark:
  8216. description: 备注
  8217. type: string
  8218. unitid:
  8219. description: 品类单位ID
  8220. type: integer
  8221. updatetime:
  8222. description: 更新时间
  8223. type: string
  8224. wrstandardcode:
  8225. description: 品类代码
  8226. type: string
  8227. wrstandardid:
  8228. description: 品类ID(SEQ_WRSTANDARD)
  8229. type: integer
  8230. wrstandardname:
  8231. description: 品类名称
  8232. type: string
  8233. type: object
  8234. models.Ermcp8EnableHedgeditem:
  8235. properties:
  8236. accountname:
  8237. description: 套期主体
  8238. type: string
  8239. hedgeditemid:
  8240. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8241. type: string
  8242. hedgeditemname:
  8243. description: 项目名称
  8244. type: string
  8245. hedgeditemnum:
  8246. description: 项目编号
  8247. type: string
  8248. hedgedtype:
  8249. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8250. type: integer
  8251. planenddate:
  8252. description: 计划结束日期
  8253. type: string
  8254. planstartdate:
  8255. description: 计划开始日期
  8256. type: string
  8257. wrstandardid:
  8258. description: 现货商品ID
  8259. type: integer
  8260. wrstandardname:
  8261. description: 现货商品
  8262. type: string
  8263. type: object
  8264. models.Ermcp8HedgeditemReport:
  8265. properties:
  8266. accountname:
  8267. description: 套期主体
  8268. type: string
  8269. areauserid:
  8270. description: 企业ID
  8271. type: integer
  8272. curprice:
  8273. description: '[当日现货市场价]当前市场价'
  8274. type: number
  8275. enumdicname:
  8276. description: 单位
  8277. type: string
  8278. exeamount:
  8279. description: '[执行现货金额]执行市价总额'
  8280. type: number
  8281. exeavgprice:
  8282. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  8283. type: number
  8284. exeqty:
  8285. description: '[执行数量]执行现货量'
  8286. type: number
  8287. futurehedgepl:
  8288. description: 期货实际损益
  8289. type: number
  8290. futurehedgeplchange:
  8291. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  8292. type: number
  8293. futurepl:
  8294. description: 期货套期损益
  8295. type: number
  8296. futureplchange:
  8297. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  8298. type: number
  8299. hedgeamount:
  8300. description: '[套期现货金额]套期市价总额'
  8301. type: number
  8302. hedgeditemnum:
  8303. description: 项目编号,模糊查询
  8304. type: string
  8305. hedgeditemstatus:
  8306. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8307. type: integer
  8308. hedgedtype:
  8309. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8310. type: integer
  8311. hedgeqty:
  8312. description: '[套期数量]套期现货量'
  8313. type: number
  8314. oriavgprice:
  8315. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  8316. type: number
  8317. orifuturehedgepl:
  8318. description: 期初期货实际损益
  8319. type: number
  8320. orifuturepl:
  8321. description: 期初期货套期损益
  8322. type: number
  8323. orispothedgepl:
  8324. description: 期初现货实际损益
  8325. type: number
  8326. orispotpl:
  8327. description: 期初现货套期损益
  8328. type: number
  8329. planenddate:
  8330. description: 计划结束日期
  8331. type: string
  8332. planstartdate:
  8333. description: 计划开始日期
  8334. type: string
  8335. spothedgepl:
  8336. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8337. type: number
  8338. spothedgeplchange:
  8339. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  8340. type: number
  8341. spotpl:
  8342. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8343. type: number
  8344. spotplchange:
  8345. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8346. type: number
  8347. tradeuserid:
  8348. description: 交易用户ID
  8349. type: integer
  8350. unexeqty:
  8351. description: 未执行现货量 = 套期现货量 - 执行现货量
  8352. type: number
  8353. wrstandardcode:
  8354. description: 现货品类代码
  8355. type: string
  8356. wrstandardid:
  8357. description: 现货商品ID
  8358. type: integer
  8359. wrstandardname:
  8360. description: '[现货商品]现货品类名称'
  8361. type: string
  8362. type: object
  8363. models.Ermcp8RunningHedgeditem:
  8364. properties:
  8365. accountname:
  8366. description: 套期主体
  8367. type: string
  8368. applyid:
  8369. description: 申请人
  8370. type: integer
  8371. applysrc:
  8372. description: 申请来源 - 1:管理端 2:终端
  8373. type: integer
  8374. areauserid:
  8375. description: 企业ID
  8376. type: integer
  8377. auditid:
  8378. description: 审核人
  8379. type: integer
  8380. auditremark:
  8381. description: 审核备注
  8382. type: string
  8383. auditsrc:
  8384. description: 审核来源 - 1:管理端 2:终端
  8385. type: integer
  8386. audittime:
  8387. description: 审核时间
  8388. type: string
  8389. audittradedate:
  8390. description: 审核交易日(yyyyMMdd)
  8391. type: string
  8392. createtime:
  8393. description: 申请时间
  8394. type: string
  8395. curprice:
  8396. description: 当前市场价
  8397. type: number
  8398. curstock:
  8399. description: 期末库存量 = 采购总量 - 销售总量
  8400. type: number
  8401. deliverygoodsid:
  8402. description: 现货品种ID
  8403. type: integer
  8404. enddate:
  8405. description: 完成日期
  8406. type: string
  8407. endtradedate:
  8408. description: 完成交易日
  8409. type: string
  8410. enumdicname:
  8411. description: 单位
  8412. type: string
  8413. exeamount:
  8414. description: 执行市价总额
  8415. type: number
  8416. exeavgprice:
  8417. description: 执行市场均价= 执行市价总额 / 执行现货量
  8418. type: number
  8419. execontractamount:
  8420. description: 执行定价总额
  8421. type: number
  8422. exeqty:
  8423. description: 执行现货量
  8424. type: number
  8425. exerestamount:
  8426. description: 执行剩余市价总额【现货贸易】
  8427. type: number
  8428. futurefloatpl:
  8429. description: 期货浮动损益
  8430. type: number
  8431. futurehedgepl:
  8432. description: 期货实际损益
  8433. type: number
  8434. futurehedgeplchange:
  8435. description: 期货实际损益变动
  8436. type: number
  8437. futurepl:
  8438. description: 期货套期损益
  8439. type: number
  8440. futureplchange:
  8441. description: 期货套期损益变动
  8442. type: number
  8443. hedgeamount:
  8444. description: 套期市价总额
  8445. type: number
  8446. hedgecontractamount:
  8447. description: 套期定价总额 【定价采购合同】【现货贸易】
  8448. type: number
  8449. hedgeditemid:
  8450. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8451. type: string
  8452. hedgeditemname:
  8453. description: 项目名称
  8454. type: string
  8455. hedgeditemnum:
  8456. description: 项目编号
  8457. type: string
  8458. hedgeditemstatus:
  8459. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8460. type: integer
  8461. hedgedtype:
  8462. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8463. type: integer
  8464. hedgeqty:
  8465. description: 套期现货量
  8466. type: number
  8467. hedgerate:
  8468. description: 套保比率
  8469. type: number
  8470. hedgerestamount:
  8471. description: 套期剩余市价总额【现货贸易】
  8472. type: number
  8473. hedgesumpl:
  8474. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8475. type: number
  8476. middlegoodslist:
  8477. description: 套期商品列表
  8478. items:
  8479. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8480. type: array
  8481. oriavgprice:
  8482. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8483. type: number
  8484. orifuturehedgepl:
  8485. description: 期初期货实际损益
  8486. type: number
  8487. orifuturepl:
  8488. description: 期初期货套期损益
  8489. type: number
  8490. orispothedgepl:
  8491. description: 期初现货实际损益
  8492. type: number
  8493. orispotpl:
  8494. description: 期初现货套期损益
  8495. type: number
  8496. planenddate:
  8497. description: 计划结束日期
  8498. type: string
  8499. planstartdate:
  8500. description: 计划开始日期
  8501. type: string
  8502. remark:
  8503. description: 备注
  8504. type: string
  8505. spotbookamount:
  8506. description: 现货账面总额
  8507. type: number
  8508. spotfloatpl:
  8509. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8510. type: number
  8511. spothedgepl:
  8512. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8513. type: number
  8514. spothedgeplchange:
  8515. description: 现货实际损益变动
  8516. type: number
  8517. spotpl:
  8518. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8519. type: number
  8520. spotplchange:
  8521. description: 现货套期损益变动
  8522. type: number
  8523. spottradepl:
  8524. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8525. type: number
  8526. sumobspl:
  8527. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8528. type: number
  8529. tradeuserid:
  8530. description: 交易用户ID
  8531. type: integer
  8532. unexeqty:
  8533. description: 未执行现货量 = 套期现货量 - 执行现货量
  8534. type: number
  8535. updatetime:
  8536. description: 更新时间
  8537. type: string
  8538. vatpl:
  8539. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8540. type: number
  8541. vatrate:
  8542. description: 增值税
  8543. type: number
  8544. wrstandardid:
  8545. description: 现货商品ID
  8546. type: integer
  8547. wrstandardname:
  8548. description: 商品名称
  8549. type: string
  8550. type: object
  8551. models.ErmcpBizGroupEx:
  8552. properties:
  8553. acclist:
  8554. description: 账号列表
  8555. items:
  8556. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8557. type: array
  8558. bizgroupid:
  8559. description: 业务分组id
  8560. type: integer
  8561. biztype:
  8562. description: 业务类型 1-套保 2-套利
  8563. type: integer
  8564. wrlist:
  8565. description: 现货商品表
  8566. items:
  8567. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8568. type: array
  8569. type: object
  8570. models.ErmcpBizGroupSpotGoods:
  8571. properties:
  8572. areauserid:
  8573. description: 所属机构id
  8574. type: integer
  8575. bizgroupid:
  8576. description: 分组id
  8577. type: integer
  8578. biztype:
  8579. description: 业务类型 1-套保 2-套利
  8580. type: integer
  8581. deliverygoodscode:
  8582. description: 现货商品代码
  8583. type: string
  8584. deliverygoodsid:
  8585. description: 现货商品id
  8586. type: integer
  8587. deliverygoodsname:
  8588. description: 现货商品名称
  8589. type: string
  8590. unitid:
  8591. description: 现货商品单位id
  8592. type: integer
  8593. type: object
  8594. models.ErmcpBizGroupTaAccount:
  8595. properties:
  8596. accountid:
  8597. description: 账号id
  8598. type: integer
  8599. accountname:
  8600. description: 账号名称
  8601. type: string
  8602. areauserid:
  8603. description: 所属机构id
  8604. type: integer
  8605. bizgroupid:
  8606. description: 业务分组id
  8607. type: integer
  8608. ismain:
  8609. description: 是否主账号 1-是 0-否
  8610. type: integer
  8611. type: object
  8612. models.ErmcpDGFactoryItem:
  8613. properties:
  8614. areauserid:
  8615. description: 用户id
  8616. type: integer
  8617. deliverygoodsid:
  8618. description: 现货品种ID
  8619. type: integer
  8620. dgfactoryitemid:
  8621. description: 选择项ID(SEQ_DGFACTORYITEM)
  8622. type: integer
  8623. dgfactoryitemtypeid:
  8624. description: 要素项类型
  8625. type: integer
  8626. dgfactoryitemvalue:
  8627. description: 要素项值(类型为仓库时填写仓库名称)
  8628. type: string
  8629. isvalid:
  8630. description: 是否有效 - 0:无效 1:有效
  8631. type: integer
  8632. orderindex:
  8633. description: 顺序
  8634. type: integer
  8635. warehouseid:
  8636. description: 仓库ID(类型为仓库时填写)
  8637. type: integer
  8638. type: object
  8639. models.ErmcpDeliveryGoods:
  8640. properties:
  8641. agreeunit:
  8642. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8643. type: integer
  8644. areauserid:
  8645. description: 所属机构
  8646. type: integer
  8647. auditflag:
  8648. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8649. type: integer
  8650. categoryid:
  8651. description: 类别ID(SEQ_WRCATEGORY)
  8652. type: integer
  8653. deliverygoodscode:
  8654. description: 现货品种代码
  8655. type: string
  8656. deliverygoodsid:
  8657. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8658. type: integer
  8659. deliverygoodsname:
  8660. description: 现货品种名称
  8661. type: string
  8662. deliverygoodstype:
  8663. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8664. type: integer
  8665. dgstatus:
  8666. description: 品种状态 - 作废 - 0:未激活 1:正常
  8667. type: integer
  8668. enumdicname:
  8669. description: 现货品种单位名称
  8670. type: string
  8671. goodsunitid:
  8672. description: 现货品种单位ID
  8673. type: integer
  8674. isvalid:
  8675. description: 是否有效 - 0:无效 1:有效
  8676. type: integer
  8677. qtydecimalplace:
  8678. description: 成交量小数位
  8679. type: integer
  8680. remark:
  8681. description: 备注
  8682. type: string
  8683. standardqty:
  8684. description: 标准数量(库位数量) [标准品特有]
  8685. type: integer
  8686. standardqtyrange:
  8687. description: 标准数量偏差范围 [标准品特有]
  8688. type: integer
  8689. type: object
  8690. models.ErmcpFuturesCompany:
  8691. properties:
  8692. brokerid:
  8693. description: 经纪公司代码
  8694. type: string
  8695. channeladdress:
  8696. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8697. type: string
  8698. channelid:
  8699. description: 对冲渠道ID
  8700. type: string
  8701. createtime:
  8702. description: 创建时间
  8703. type: string
  8704. creatorid:
  8705. description: 创建人
  8706. type: string
  8707. fcid:
  8708. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8709. type: integer
  8710. fcname:
  8711. description: 期货公司名称
  8712. type: string
  8713. isvalid:
  8714. description: 是否有效 - 0:无效 1:有效
  8715. type: integer
  8716. mhpaddress:
  8717. description: MHP服务地址(IP:Port)
  8718. type: string
  8719. riskrulegroupid:
  8720. description: 风控规则组ID
  8721. type: string
  8722. tradefeetmpid:
  8723. description: 手续费模板ID[TradeConfigTmpType为2]
  8724. type: string
  8725. trademargintmpid:
  8726. description: 保证金模板ID [TradeConfigTmpType为1]
  8727. type: string
  8728. traderatetmpid:
  8729. description: 汇率模板ID[TradeConfigTmpType为3]
  8730. type: string
  8731. updatetime:
  8732. description: 更新时间
  8733. type: string
  8734. updatorid:
  8735. description: 更新人
  8736. type: string
  8737. type: object
  8738. models.ErmcpGGConvertCfg:
  8739. properties:
  8740. convertratio:
  8741. description: 折算系数
  8742. type: number
  8743. destgoodsgroupid:
  8744. description: 目标品种ID
  8745. type: integer
  8746. dstcode:
  8747. description: 目录品种代码
  8748. type: string
  8749. dstexchangecode:
  8750. description: 目标期货交易所
  8751. type: string
  8752. dstname:
  8753. description: 目标品种名称
  8754. type: string
  8755. dstunitid:
  8756. description: 目标品种单位ID
  8757. type: integer
  8758. dstunitidname:
  8759. description: 目标品种单位名称
  8760. type: string
  8761. modifytime:
  8762. description: 修改时间
  8763. type: string
  8764. srccode:
  8765. description: 源品种代码
  8766. type: string
  8767. srcexchangecode:
  8768. description: 源期货交易所
  8769. type: string
  8770. srcgoodsgroupid:
  8771. description: 源品种ID
  8772. type: integer
  8773. srcname:
  8774. description: 源品种名称
  8775. type: string
  8776. srcunitid:
  8777. description: 源品种单位ID
  8778. type: integer
  8779. srcunitidname:
  8780. description: 源品种单位名称
  8781. type: string
  8782. type: object
  8783. models.ErmcpGoods:
  8784. properties:
  8785. agreeunit:
  8786. description: 合约单位
  8787. type: number
  8788. areauserid:
  8789. description: 所属机构
  8790. type: integer
  8791. auditaccountid:
  8792. description: 审核操作员账号
  8793. type: integer
  8794. audittime:
  8795. description: 审核时间
  8796. type: string
  8797. cancelaccountid:
  8798. description: 注销操作员账号
  8799. type: integer
  8800. canceltime:
  8801. description: 注销时间
  8802. type: string
  8803. closepricemode:
  8804. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8805. type: integer
  8806. closepriceparam:
  8807. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8808. type: number
  8809. createtime:
  8810. description: 创建时间
  8811. type: string
  8812. creatorid:
  8813. description: 创建人
  8814. type: integer
  8815. currencyid:
  8816. description: 报价货币ID
  8817. type: integer
  8818. cutmode:
  8819. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8820. type: integer
  8821. decimalplace:
  8822. description: 报价小数位
  8823. type: integer
  8824. delistingdate:
  8825. description: 商品退市时间(状态:退市) -- 已作废
  8826. type: string
  8827. delistingmode:
  8828. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8829. type: integer
  8830. deliveryflag:
  8831. description: 交割标志 - 0:不可交割 1:可交割
  8832. type: integer
  8833. enumdicname:
  8834. description: 单位名称
  8835. type: string
  8836. forceclosemode:
  8837. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8838. type: integer
  8839. forceclosevalue:
  8840. description: 定期强平参数 [收益权]
  8841. type: integer
  8842. goodscode:
  8843. description: 商品代码(内部)
  8844. type: string
  8845. goodscurrencyid:
  8846. description: 合约货币ID
  8847. type: integer
  8848. goodsgroupid:
  8849. description: 所属商品组ID
  8850. type: integer
  8851. goodsid:
  8852. description: 商品ID(自增ID SEQ_GOODS)
  8853. type: integer
  8854. goodsname:
  8855. description: 商品名称
  8856. type: string
  8857. goodsquotetype:
  8858. description: '合约报价类型: 1-直接报价 2-间接报价'
  8859. type: integer
  8860. goodsstatus:
  8861. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8862. type: integer
  8863. goodstradetype:
  8864. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8865. type: integer
  8866. goodunitid:
  8867. description: 报价单位ID
  8868. type: integer
  8869. hasquoter:
  8870. description: 是否有报价商 - 0:无报价商 1:有报价商
  8871. type: integer
  8872. hqprotecttime:
  8873. description: 行情保护时间(秒)
  8874. type: integer
  8875. innerdealmode:
  8876. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8877. type: integer
  8878. isbuylimited:
  8879. description: 是否限制建仓量 - 0:不限制 1:限制
  8880. type: integer
  8881. isvisible:
  8882. description: 游客是否可见 - 0:不可见 1:可见
  8883. type: integer
  8884. lasttradedate:
  8885. description: 最后交易日期(状态:待退市)
  8886. type: string
  8887. listingdate:
  8888. description: 交易开始日期
  8889. type: string
  8890. marketid:
  8891. description: 所属市场ID
  8892. type: integer
  8893. modifierid:
  8894. description: 修改人
  8895. type: integer
  8896. modifystatus:
  8897. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8898. type: integer
  8899. modifytime:
  8900. description: 修改时间
  8901. type: string
  8902. outerdealmode:
  8903. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8904. type: integer
  8905. outgoodscode:
  8906. description: 商品代码(外部)
  8907. type: string
  8908. pictureurl:
  8909. description: 商品图片
  8910. type: string
  8911. qtydecimalplace:
  8912. description: 成交量小数位
  8913. type: integer
  8914. quotegear:
  8915. description: 行情档位(1-10)
  8916. type: integer
  8917. quoteminunit:
  8918. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8919. type: integer
  8920. quoteshowtype:
  8921. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8922. type: integer
  8923. quoteshowtypeinterval:
  8924. description: 行情报价间隔时间(秒)(成交价时为0)
  8925. type: integer
  8926. relatedgoodsid:
  8927. description: 关联参考商品ID
  8928. type: integer
  8929. remark:
  8930. description: 备注
  8931. type: string
  8932. trademode:
  8933. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8934. 21:竞拍-大宗式 22:受托竞价
  8935. type: integer
  8936. required:
  8937. - goodscode
  8938. - goodsid
  8939. - goodsname
  8940. - marketid
  8941. type: object
  8942. models.ErmcpGoodsBrand:
  8943. properties:
  8944. areauserid:
  8945. description: 所属机构
  8946. type: integer
  8947. brandid:
  8948. description: BrandID(SEQ_SPOTGOODSBRAND)
  8949. type: integer
  8950. brandname:
  8951. description: 品牌名称
  8952. type: string
  8953. createtime:
  8954. description: 创建时间
  8955. type: string
  8956. creatorid:
  8957. description: 创建人
  8958. type: integer
  8959. creatorsrc:
  8960. description: 创建人来源 - 1:管理端 2:终端
  8961. type: integer
  8962. deliverygoodsid:
  8963. description: 现货品种ID
  8964. type: integer
  8965. isvalid:
  8966. description: 是否有效 - 0:无效 1:有效
  8967. type: integer
  8968. updatetime:
  8969. description: 更新时间
  8970. type: string
  8971. updatorid:
  8972. description: 更新人
  8973. type: integer
  8974. updatorsrc:
  8975. description: 更新人来源 - 1:管理端 2:终端
  8976. type: integer
  8977. wrstandardid:
  8978. description: 现货商品ID
  8979. type: integer
  8980. type: object
  8981. models.ErmcpGoodsModel:
  8982. properties:
  8983. areauserid:
  8984. description: 所属机构
  8985. type: integer
  8986. convertfactor:
  8987. description: 标仓系数
  8988. type: number
  8989. createtime:
  8990. description: 创建时间
  8991. type: string
  8992. creatorid:
  8993. description: 创建人
  8994. type: integer
  8995. creatorsrc:
  8996. description: 创建人来源 - 1:管理端 2:终端
  8997. type: integer
  8998. deliverygoodsid:
  8999. description: 现货品种ID
  9000. type: integer
  9001. isvalid:
  9002. description: 是否有效 - 0:无效 1:有效
  9003. type: integer
  9004. modelid:
  9005. description: ModelID(SEQ_SPOTGOODSMODEL)
  9006. type: integer
  9007. modelname:
  9008. description: 型号名称
  9009. type: string
  9010. updatetime:
  9011. description: 更新时间
  9012. type: string
  9013. updatorid:
  9014. description: 更新人
  9015. type: integer
  9016. updatorsrc:
  9017. description: 更新人来源 - 1:管理端 2:终端
  9018. type: integer
  9019. wrstandardid:
  9020. description: 现货商品ID
  9021. type: integer
  9022. type: object
  9023. models.ErmcpHisExposure:
  9024. properties:
  9025. needhedgeexposoure:
  9026. description: 应套保敞口
  9027. type: number
  9028. reckondate:
  9029. description: 日照时期(yyyyMMdd)
  9030. type: string
  9031. totalexposure:
  9032. description: 总敞口
  9033. type: number
  9034. type: object
  9035. models.ErmcpLoginTaAccount:
  9036. properties:
  9037. accountid:
  9038. description: 账号id
  9039. type: integer
  9040. accountname:
  9041. description: 账号名称
  9042. type: string
  9043. type: object
  9044. models.ErmcpLoginUser:
  9045. properties:
  9046. acclist:
  9047. description: 关联资金账号
  9048. items:
  9049. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  9050. type: array
  9051. accountname:
  9052. description: 用户名称
  9053. type: string
  9054. clientroleid:
  9055. description: 角色id(usertype=2)
  9056. type: integer
  9057. createtime:
  9058. description: 创建时间
  9059. type: string
  9060. logincode:
  9061. description: 登录代码
  9062. type: string
  9063. loginid:
  9064. description: 登录id(LOGINID)
  9065. type: integer
  9066. loginname:
  9067. description: 登录名称(loginaccount表中的accountname字段)
  9068. type: string
  9069. loginstatus:
  9070. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  9071. type: integer
  9072. memberuserid:
  9073. description: 所属会员id
  9074. type: integer
  9075. mobile:
  9076. description: 手机号
  9077. type: string
  9078. modifytime:
  9079. description: 修改时间
  9080. type: string
  9081. password:
  9082. description: 密码(不可解密)
  9083. type: string
  9084. rolename:
  9085. description: 角色名称
  9086. type: string
  9087. rolestatus:
  9088. description: 角色状态 1-启用 2-停用
  9089. type: integer
  9090. roletype:
  9091. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  9092. type: string
  9093. userid:
  9094. description: 用户id
  9095. type: integer
  9096. usertype:
  9097. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  9098. type: integer
  9099. type: object
  9100. models.ErmcpLoginUserEx:
  9101. properties:
  9102. accountstatus:
  9103. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  9104. type: integer
  9105. mobile:
  9106. description: 手机号
  9107. type: string
  9108. querytype:
  9109. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  9110. type: integer
  9111. roleid:
  9112. description: 角色id(交易账户->用户id)
  9113. type: integer
  9114. rolename:
  9115. description: 角色名称(交易账户->用户名称)
  9116. type: string
  9117. userlist:
  9118. description: 用户列表
  9119. items:
  9120. $ref: '#/definitions/models.ErmcpLoginUser'
  9121. type: array
  9122. usertype:
  9123. description: 用户类型 2-机构 7-企业成员(云平台)
  9124. type: integer
  9125. type: object
  9126. models.ErmcpMiddleGoodsModel:
  9127. properties:
  9128. areauserid:
  9129. description: 机构用户ID
  9130. type: integer
  9131. createtime:
  9132. description: 修改时间
  9133. type: string
  9134. enumdicname:
  9135. description: 单位名称
  9136. type: string
  9137. evaluateratio:
  9138. description: 估价系数
  9139. type: number
  9140. goodsgroupid:
  9141. description: 关联期货品种ID
  9142. type: integer
  9143. goodsunitid:
  9144. description: 单位ID
  9145. type: integer
  9146. isvalid:
  9147. description: 状态 0-无效(停用) 1-有效(正常)
  9148. type: integer
  9149. middlegoodscode:
  9150. description: 套保品种代码
  9151. type: string
  9152. middlegoodsid:
  9153. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  9154. type: integer
  9155. middlegoodsname:
  9156. description: 套保品种名称
  9157. type: string
  9158. modifytime:
  9159. description: 修改时间
  9160. type: string
  9161. needarbitrageratio:
  9162. description: 套利比例
  9163. type: number
  9164. needhedgeratio:
  9165. description: 套保比率
  9166. type: number
  9167. qtydecimalplace:
  9168. description: 数量小数位
  9169. type: integer
  9170. relatedgoodsid:
  9171. description: 关联交易商品ID
  9172. type: integer
  9173. relatedgoodstype:
  9174. description: 关联商品类型 - 1:期货合约 2:现货品种
  9175. type: integer
  9176. remark:
  9177. description: 备注
  9178. type: string
  9179. type: object
  9180. models.ErmcpMiddlegoodsRelateGoods:
  9181. properties:
  9182. agreeunit:
  9183. description: 合约乘数
  9184. type: number
  9185. convertratio:
  9186. description: 折算系数
  9187. type: number
  9188. enumdicname:
  9189. description: 单位名称(交易商品)
  9190. type: string
  9191. goodscode:
  9192. description: 交易商品代码
  9193. type: string
  9194. goodsgroupid:
  9195. description: 交易品种id
  9196. type: integer
  9197. goodsid:
  9198. description: 商品Id
  9199. type: integer
  9200. goodsname:
  9201. description: 交易商品名称
  9202. type: string
  9203. goodunitid:
  9204. description: 交易商品单位id
  9205. type: integer
  9206. middlegoodsid:
  9207. description: 套保商品id
  9208. type: integer
  9209. middlegoodsname:
  9210. description: 套保商品名称
  9211. type: string
  9212. middlegoodsswcode:
  9213. description: 套保商品代码
  9214. type: string
  9215. needarbitrageratio:
  9216. description: 应套利比例
  9217. type: number
  9218. needhedgeratio:
  9219. description: 应套保比例
  9220. type: number
  9221. type: object
  9222. models.ErmcpRole:
  9223. properties:
  9224. areauserid:
  9225. description: 所属机构
  9226. type: integer
  9227. autoid:
  9228. description: 角色ID(自增ID)
  9229. type: integer
  9230. modifierid:
  9231. description: 修改人(创建人)
  9232. type: integer
  9233. modifiername:
  9234. description: 修改人名称
  9235. type: string
  9236. modifytime:
  9237. description: 修改时间(创建时间)
  9238. type: string
  9239. rolename:
  9240. description: 角色名称
  9241. type: string
  9242. rolestatus:
  9243. description: 角色状态 - 1:启用 2:停用
  9244. type: integer
  9245. roletype:
  9246. description: 角色类型 - 1- 管理端 2- 交易端
  9247. type: integer
  9248. type: object
  9249. models.ErmcpRoleMenu:
  9250. properties:
  9251. iconame:
  9252. description: 菜单图标
  9253. type: string
  9254. ishadrole:
  9255. description: 是否有权限
  9256. type: boolean
  9257. menutype:
  9258. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  9259. type: integer
  9260. parentcode:
  9261. description: 上级资源代码
  9262. type: string
  9263. remark:
  9264. description: 菜单备注
  9265. type: string
  9266. resourcecode:
  9267. description: 菜单代码
  9268. type: string
  9269. resourcelevel:
  9270. description: 级别
  9271. type: integer
  9272. resourcename:
  9273. description: 菜单名称
  9274. type: string
  9275. roleid:
  9276. description: 角色id
  9277. type: integer
  9278. sort:
  9279. description: 排序
  9280. type: integer
  9281. url:
  9282. description: URL
  9283. type: string
  9284. userid:
  9285. description: 用户id
  9286. type: integer
  9287. type: object
  9288. models.ErmcpRoleMenuEx:
  9289. properties:
  9290. menu:
  9291. $ref: '#/definitions/models.ErmcpRoleMenu'
  9292. description: 父级菜单
  9293. subMenu:
  9294. description: 子级菜单
  9295. items:
  9296. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  9297. type: array
  9298. type: object
  9299. models.ErmcpSpotContractModelEx:
  9300. properties:
  9301. accountname:
  9302. description: 套期主体
  9303. type: string
  9304. amount:
  9305. description: 金额 [1:一口价、3:暂定价]
  9306. type: number
  9307. attachment:
  9308. description: 附件
  9309. type: string
  9310. auditremark:
  9311. description: 审核意见
  9312. type: string
  9313. audittime:
  9314. description: 审核时间
  9315. type: string
  9316. avgprice:
  9317. description: 定价均价 = 已定价金额 / 已定价量
  9318. type: number
  9319. brandname:
  9320. description: 品牌名称
  9321. type: string
  9322. buyuserid:
  9323. description: 采购方ID
  9324. type: integer
  9325. buyusername:
  9326. description: 采购方名称
  9327. type: string
  9328. contracctstatus:
  9329. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9330. type: integer
  9331. contractmargin:
  9332. description: 合同保证金
  9333. type: number
  9334. contractno:
  9335. description: '[合同编号]现货合同编号'
  9336. type: string
  9337. contracttype:
  9338. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  9339. type: integer
  9340. convertfactor:
  9341. description: 标仓系数
  9342. type: number
  9343. createtime:
  9344. description: 创建时间
  9345. type: string
  9346. customername:
  9347. description: 对手方
  9348. type: string
  9349. customeruserid:
  9350. description: 客户ID
  9351. type: integer
  9352. deliveryenddate:
  9353. description: 交收期(结束)
  9354. type: string
  9355. deliverygoodscode:
  9356. description: 现货品种代码
  9357. type: string
  9358. deliverygoodsid:
  9359. description: 现货品种ID
  9360. type: integer
  9361. deliverygoodsname:
  9362. description: 现货品种名称
  9363. type: string
  9364. deliverystartdate:
  9365. description: 交收期(开始)
  9366. type: string
  9367. enddate:
  9368. description: 点价结束日期 [2:点价 3:暂定价]
  9369. type: string
  9370. enumdicname:
  9371. description: 单位名称
  9372. type: string
  9373. goodscode:
  9374. description: 点价合约代码
  9375. type: string
  9376. goodsid:
  9377. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9378. type: integer
  9379. goodsname:
  9380. description: 点价商品名称
  9381. type: string
  9382. isrelated:
  9383. description: 是否已关联计划项目 - 0:否 1:是
  9384. type: integer
  9385. isrelated2:
  9386. description: 是否已关联现货项目 - 0:否 1:是
  9387. type: integer
  9388. margin:
  9389. description: 当前保证金
  9390. type: number
  9391. modelname:
  9392. description: 型号名称
  9393. type: string
  9394. price:
  9395. description: 价格\暂定价 [1:一口价、3:暂定价]
  9396. type: number
  9397. pricedamount:
  9398. description: 已定价金额 = (点价价格+升贴水) * 数量
  9399. type: number
  9400. pricedqty:
  9401. description: 已定价量
  9402. type: number
  9403. pricemove:
  9404. description: 升贴水 [2:点价 3:暂定价]
  9405. type: number
  9406. pricetype:
  9407. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9408. type: integer
  9409. producttype:
  9410. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9411. type: integer
  9412. qty:
  9413. description: '[合同数量]数量'
  9414. type: number
  9415. remark:
  9416. description: 备注
  9417. type: string
  9418. selluserid:
  9419. description: 销售方ID
  9420. type: integer
  9421. sellusername:
  9422. description: 销售方名称
  9423. type: string
  9424. spotamount:
  9425. description: 合同现货金额 [不含升贴水]
  9426. type: number
  9427. spotavgprice:
  9428. description: 现货均价 = 合同现货金额 / 已定价量
  9429. type: number
  9430. spotcontractid:
  9431. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9432. type: string
  9433. spotgoodsbrandid:
  9434. description: 现货品牌ID
  9435. type: integer
  9436. spotgoodsdesc:
  9437. description: 商品型号
  9438. type: string
  9439. spotgoodsmodelid:
  9440. description: 现货型号ID
  9441. type: integer
  9442. startdate:
  9443. description: 点价开始日期 [2:点价 3:暂定价]
  9444. type: string
  9445. tradeuserid:
  9446. description: 交易用户ID
  9447. type: integer
  9448. unpricedqty:
  9449. description: 未定价量 = 合同数量 - 已定价量
  9450. type: number
  9451. updatetime:
  9452. description: 更新时间
  9453. type: string
  9454. userid:
  9455. description: 机构ID
  9456. type: integer
  9457. wrstandardcode:
  9458. description: 现货商品代码
  9459. type: string
  9460. wrstandardid:
  9461. description: 现货商品ID
  9462. type: integer
  9463. wrstandardname:
  9464. description: '[现货商品]现货商品名称'
  9465. type: string
  9466. type: object
  9467. models.ErmcpTaAccount:
  9468. properties:
  9469. accountid:
  9470. description: 账户id
  9471. type: integer
  9472. accountname:
  9473. description: 账户名称
  9474. type: string
  9475. currencyid:
  9476. description: 币种id
  9477. type: integer
  9478. hedgeaccountcode:
  9479. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9480. type: string
  9481. ismain:
  9482. description: 是否主账户 0-否 1-是
  9483. type: integer
  9484. parentaccountid:
  9485. description: 父账户id
  9486. type: integer
  9487. relateduserid:
  9488. description: 关联userid
  9489. type: integer
  9490. tradefeetmpid:
  9491. description: 手续费模板id
  9492. type: integer
  9493. tradefeetmpname:
  9494. description: 手续费模板名称
  9495. type: string
  9496. trademargintmpid:
  9497. description: 保证金模板id
  9498. type: integer
  9499. trademargintmpname:
  9500. description: 保证金模板名称
  9501. type: string
  9502. traderatetmpid:
  9503. description: 汇率模板id
  9504. type: integer
  9505. traderatetmpname:
  9506. description: 汇率模板名称
  9507. type: string
  9508. tradestatus:
  9509. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9510. type: integer
  9511. userid:
  9512. description: 用户id
  9513. type: integer
  9514. type: object
  9515. models.ErmcpTaAccountEx:
  9516. properties:
  9517. mainAcc:
  9518. $ref: '#/definitions/models.ErmcpTaAccountM'
  9519. description: 主账号
  9520. subacclist:
  9521. description: 子账号列表
  9522. items:
  9523. $ref: '#/definitions/models.ErmcpTaAccount'
  9524. type: array
  9525. type: object
  9526. models.ErmcpTaAccountInfo:
  9527. properties:
  9528. accountid:
  9529. description: 资金账户ID
  9530. type: integer
  9531. accountname:
  9532. description: 账户名称
  9533. type: string
  9534. balance:
  9535. description: 期初余额
  9536. type: number
  9537. capitalbalance:
  9538. description: 本金余额[外部子账户实际出入金余额]
  9539. type: number
  9540. closepl:
  9541. description: 今日平仓盈亏
  9542. type: number
  9543. creditdecrease:
  9544. description: 今日授信减少
  9545. type: number
  9546. creditincrease:
  9547. description: 今日授信增加
  9548. type: number
  9549. curdebt:
  9550. description: 期末欠款
  9551. type: number
  9552. currencyid:
  9553. description: 货币ID
  9554. type: integer
  9555. currentbalance:
  9556. description: 期末余额
  9557. type: number
  9558. freezecharge:
  9559. description: 手续费冻结
  9560. type: number
  9561. freezemargin:
  9562. description: 冻结保证金
  9563. type: number
  9564. fromaccountid:
  9565. description: 所属上级账户
  9566. type: integer
  9567. inamount:
  9568. description: 今日入金金额(包括三方入金)
  9569. type: number
  9570. ismain:
  9571. description: 是否母账号 0:不是母账户 1:是母账户
  9572. type: integer
  9573. mortgagecredit:
  9574. description: 授信金额
  9575. type: number
  9576. oridebt:
  9577. description: 期初欠款
  9578. type: number
  9579. orifreezecharge:
  9580. description: 期初手续费冻结
  9581. type: number
  9582. orifreezemargin:
  9583. description: 期初冻结保证金
  9584. type: number
  9585. orimortgagecredit:
  9586. description: 期初授信金额
  9587. type: number
  9588. oriothercredit:
  9589. description: 期初其它授信金额
  9590. type: number
  9591. oriotherfreezemargin:
  9592. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9593. type: number
  9594. orioutamountfreeze:
  9595. description: 期初出金冻结
  9596. type: number
  9597. oriusedmargin:
  9598. description: 期初占用保证金
  9599. type: number
  9600. othercredit:
  9601. description: 其它授信金额
  9602. type: number
  9603. othercreditdecrease:
  9604. description: 今日其它授信减少
  9605. type: number
  9606. othercreditincrease:
  9607. description: 今日其它授信增加
  9608. type: number
  9609. otherfreezemargin:
  9610. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9611. type: number
  9612. outamount:
  9613. description: 今日出金金额(包括三方出金)
  9614. type: number
  9615. outamountfreeze:
  9616. description: 出金冻结
  9617. type: number
  9618. outthreshold:
  9619. description: 出金阈值
  9620. type: number
  9621. parentaccountid:
  9622. description: 所属根账号
  9623. type: integer
  9624. paycharge:
  9625. description: 今日手续费支出
  9626. type: number
  9627. relateduserid:
  9628. description: 关联用户
  9629. type: integer
  9630. signstatus:
  9631. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9632. type: integer
  9633. sublevelpath:
  9634. description: 账号层级路径(逗号分隔,首尾加逗号)
  9635. type: string
  9636. taaccounttype:
  9637. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9638. type: integer
  9639. thirdinamount:
  9640. description: 今日三方入金
  9641. type: number
  9642. thirdoutamount:
  9643. description: 今日三方出金
  9644. type: number
  9645. tradestatus:
  9646. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9647. type: integer
  9648. transferamount:
  9649. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9650. type: number
  9651. usedmargin:
  9652. description: 占用保证金
  9653. type: number
  9654. userid:
  9655. description: 用户ID
  9656. type: integer
  9657. type: object
  9658. models.ErmcpTaAccountM:
  9659. properties:
  9660. accountid:
  9661. description: 账户id
  9662. type: integer
  9663. accountname:
  9664. description: 账户名称
  9665. type: string
  9666. currencyid:
  9667. description: 币种id
  9668. type: integer
  9669. fcid:
  9670. description: 期货公司id
  9671. type: integer
  9672. fcname:
  9673. description: 期货公司代码
  9674. type: string
  9675. hedgeaccountcode:
  9676. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9677. type: string
  9678. ismain:
  9679. description: 是否主账户 0-否 1-是
  9680. type: integer
  9681. parentaccountid:
  9682. description: 父账户id
  9683. type: integer
  9684. relateduserid:
  9685. description: 关联userid
  9686. type: integer
  9687. tradefeetmpid:
  9688. description: 手续费模板id
  9689. type: integer
  9690. tradefeetmpname:
  9691. description: 手续费模板名称
  9692. type: string
  9693. trademargintmpid:
  9694. description: 保证金模板id
  9695. type: integer
  9696. trademargintmpname:
  9697. description: 保证金模板名称
  9698. type: string
  9699. traderatetmpid:
  9700. description: 汇率模板id
  9701. type: integer
  9702. traderatetmpname:
  9703. description: 汇率模板名称
  9704. type: string
  9705. tradestatus:
  9706. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9707. type: integer
  9708. userid:
  9709. description: 用户id
  9710. type: integer
  9711. type: object
  9712. models.ErmcpTradeConfigTMP:
  9713. properties:
  9714. areauserid:
  9715. description: 所属机构
  9716. type: integer
  9717. basiccurrencyid:
  9718. description: 基本币种ID[汇率] - 目标币种
  9719. type: integer
  9720. mainaccountid:
  9721. description: 主账户ID
  9722. type: integer
  9723. modifierid:
  9724. description: 修改人
  9725. type: integer
  9726. remark:
  9727. description: 备注
  9728. type: string
  9729. tradeconfigtmpid:
  9730. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9731. type: integer
  9732. tradeconfigtmpname:
  9733. description: 交易配置模板名称
  9734. type: string
  9735. tradeconfigtmptype:
  9736. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9737. type: integer
  9738. updatetime:
  9739. description: 更新时间
  9740. type: string
  9741. type: object
  9742. models.Ermcpjrlinkpos:
  9743. properties:
  9744. areauserid:
  9745. description: 所属企业
  9746. type: integer
  9747. averageprice:
  9748. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9749. type: number
  9750. closepl:
  9751. description: 总平仓盈亏 [期货损益]
  9752. type: number
  9753. executeprice:
  9754. description: 执行价 - 1:期货单 为 0
  9755. type: integer
  9756. futurehedgeqty:
  9757. description: 期货套期量
  9758. type: number
  9759. goodsid:
  9760. description: 期货合约
  9761. type: integer
  9762. middlegoodscode:
  9763. description: 套保商品代码
  9764. type: string
  9765. middlegoodsname:
  9766. description: 套保商品名称
  9767. type: string
  9768. netqty:
  9769. description: 净头寸
  9770. type: number
  9771. optioncode:
  9772. description: 期权代码
  9773. type: string
  9774. ordertype:
  9775. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9776. type: integer
  9777. reckonpl:
  9778. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9779. type: number
  9780. spotcontractid:
  9781. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9782. type: string
  9783. todayfutureclosepl:
  9784. description: 今日平仓盈亏
  9785. type: number
  9786. totalbuyamount:
  9787. description: 买金额 [期货]
  9788. type: number
  9789. totalbuyholdamount:
  9790. description: 买持仓总金额[期货]
  9791. type: number
  9792. totalbuyqty:
  9793. description: 买数量
  9794. type: number
  9795. totalcharge:
  9796. description: 手续费
  9797. type: number
  9798. totalpremium:
  9799. description: 权利金 [期权]
  9800. type: number
  9801. totalsellamount:
  9802. description: 卖金额 [期货]
  9803. type: number
  9804. totalsellholdamount:
  9805. description: 卖持仓总金额[期货]
  9806. type: number
  9807. totalsellqty:
  9808. description: 卖数量
  9809. type: number
  9810. updatetime:
  9811. description: 更新时间
  9812. type: string
  9813. required:
  9814. - spotcontractid
  9815. type: object
  9816. models.Ermcppatradelinkdetail:
  9817. properties:
  9818. agreeunit:
  9819. description: 合约乘数
  9820. type: number
  9821. amount:
  9822. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9823. type: number
  9824. areauserid:
  9825. description: 所属机构
  9826. type: integer
  9827. bizsubjectid:
  9828. description: 归属业务部门ID - SubjectID
  9829. type: integer
  9830. buyorsell:
  9831. description: 方向 - 0:买 1:卖
  9832. type: integer
  9833. convertratio:
  9834. description: 品种系数
  9835. type: number
  9836. createtime:
  9837. description: 创建时间
  9838. type: string
  9839. creatorid:
  9840. description: 创建人ID
  9841. type: integer
  9842. creatorsrc:
  9843. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9844. type: integer
  9845. goodsgroupid:
  9846. description: 对冲品种ID[期货合约商品组ID]
  9847. type: integer
  9848. goodsid:
  9849. description: 商品ID
  9850. type: integer
  9851. hedgeditemid:
  9852. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9853. type: integer
  9854. hedgeflag:
  9855. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9856. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9857. type: integer
  9858. linkdetailid:
  9859. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9860. type: string
  9861. linkstatus:
  9862. description: 关联状态 - 1:成功 2:失败 3:解绑
  9863. type: integer
  9864. middlegoodsid:
  9865. description: 套保品种ID
  9866. type: integer
  9867. name:
  9868. description: 账户名/子账户
  9869. type: string
  9870. optioncode:
  9871. description: '[期货合约]期权代码 [期权]'
  9872. type: string
  9873. ordertype:
  9874. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9875. type: integer
  9876. relatedlot:
  9877. description: '[数量]关联手数'
  9878. type: number
  9879. relatedmode:
  9880. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9881. type: integer
  9882. relatedqty:
  9883. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9884. type: number
  9885. retcode:
  9886. description: 返回码
  9887. type: integer
  9888. saleuserid:
  9889. description: 业务员ID
  9890. type: integer
  9891. tradedate:
  9892. description: 关联交易日(yyyyMMdd)
  9893. type: string
  9894. tradeid:
  9895. description: '[成交单号]内部成交单ID'
  9896. type: string
  9897. tradelot:
  9898. description: 成交手数
  9899. type: integer
  9900. tradeprice:
  9901. description: '[价格]成交价格'
  9902. type: number
  9903. tradetime:
  9904. description: 日期时间
  9905. type: string
  9906. tradetradedate:
  9907. description: 成交交易日(yyyyMMdd)
  9908. type: string
  9909. required:
  9910. - hedgeditemid
  9911. type: object
  9912. models.Exchangerateconfig:
  9913. properties:
  9914. descurrencyid:
  9915. description: 目标币种ID
  9916. type: integer
  9917. exchangerate:
  9918. description: 汇率
  9919. type: number
  9920. oricurrencyid:
  9921. description: 源币种ID
  9922. type: integer
  9923. remark:
  9924. description: 备注
  9925. type: string
  9926. type: object
  9927. models.Externalexchange:
  9928. properties:
  9929. autoid:
  9930. description: AutoID - SEQ_EXTERNALEXCHANGE
  9931. type: integer
  9932. exchangefullname:
  9933. description: 外部交易所全称
  9934. type: string
  9935. exexchangecode:
  9936. description: 外部交易所代码
  9937. type: string
  9938. exexchangename:
  9939. description: 外部交易所名称(简称)
  9940. type: string
  9941. ismarketprice:
  9942. description: 是否支持市价 - 0:不支持 1:支持
  9943. type: integer
  9944. quotegear:
  9945. description: 行情档位(1-10)
  9946. type: integer
  9947. showbrokerflag:
  9948. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9949. type: integer
  9950. updatetime:
  9951. description: 更新时间
  9952. type: string
  9953. required:
  9954. - autoid
  9955. type: object
  9956. models.Funcmenulist:
  9957. properties:
  9958. iconame:
  9959. description: 菜单图标
  9960. type: string
  9961. menutype:
  9962. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9963. type: integer
  9964. parentcode:
  9965. description: 上级资源代码
  9966. type: string
  9967. remark:
  9968. description: 备注
  9969. type: string
  9970. resourcecode:
  9971. description: 资源代码
  9972. type: string
  9973. resourcelevel:
  9974. description: 级别 1-一级 2-二级 3-三级 4-四级
  9975. type: integer
  9976. resourcename:
  9977. description: 资源名
  9978. type: string
  9979. sort:
  9980. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9981. type: integer
  9982. url:
  9983. description: URL
  9984. type: string
  9985. required:
  9986. - resourcecode
  9987. type: object
  9988. models.Fworderoperate:
  9989. properties:
  9990. advanceamount:
  9991. description: 总预付款
  9992. type: number
  9993. advanceproofaddr:
  9994. description: 预付款收款凭证(确认结算费用时)
  9995. type: string
  9996. bankfee:
  9997. description: 汇款银行手续费
  9998. type: number
  9999. bankproofaddr:
  10000. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10001. type: string
  10002. customsproofaddr:
  10003. description: 海关税费保证金收据(确认结算费用时)
  10004. type: string
  10005. logisticsfee:
  10006. description: 代缴物流保险费
  10007. type: number
  10008. logisticsproofaddr:
  10009. description: 代缴物流保险费凭证(确认结算费用时)
  10010. type: string
  10011. operatetime:
  10012. description: 操作时间
  10013. type: string
  10014. operatoraccount:
  10015. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10016. type: string
  10017. operatorid:
  10018. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10019. type: integer
  10020. operatorname:
  10021. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10022. type: string
  10023. operatorsrc:
  10024. description: 操作人来源 - 1:管理端 2:终端
  10025. type: integer
  10026. orderid:
  10027. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10028. type: string
  10029. otherfee:
  10030. description: 其它费用
  10031. type: number
  10032. remark:
  10033. description: 操作备注
  10034. type: string
  10035. servicefee:
  10036. description: 综合服务费
  10037. type: number
  10038. settleamount:
  10039. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10040. type: number
  10041. status:
  10042. description: 操作后单据状态 - 枚举"GZBSStatus"
  10043. type: integer
  10044. taxmargin:
  10045. description: 税费保证金
  10046. type: number
  10047. totalfee:
  10048. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10049. type: number
  10050. required:
  10051. - orderid
  10052. - status
  10053. type: object
  10054. models.GErmcpspotgoodsprice:
  10055. properties:
  10056. chg:
  10057. description: 涨跌幅
  10058. type: number
  10059. currencyid:
  10060. description: 报价货币ID
  10061. type: integer
  10062. deliverygoodsid:
  10063. description: 现货品种ID
  10064. type: integer
  10065. prespotgoodsprice:
  10066. description: 上日价格
  10067. type: number
  10068. spotgoodsbrandid:
  10069. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  10070. type: integer
  10071. spotgoodsprice:
  10072. description: 【最新价】当前价格
  10073. type: number
  10074. srcmarketname:
  10075. description: 来源市场名称
  10076. type: string
  10077. todaypricedtotalamount:
  10078. description: 今日定价金额
  10079. type: number
  10080. todaypricedtotalqty:
  10081. description: 今日定价总量
  10082. type: number
  10083. todayspotgoodsprice:
  10084. description: 今日指定价
  10085. type: number
  10086. tradedate:
  10087. description: 【日期】交易日
  10088. type: string
  10089. wrstandardcode:
  10090. description: 现货商品代码
  10091. type: string
  10092. wrstandardid:
  10093. description: 现货商品ID(通用则为0)
  10094. type: integer
  10095. wrstandardname:
  10096. description: 【名称】现货商品名称
  10097. type: string
  10098. ystspotgoodsprice:
  10099. description: 昨价
  10100. type: number
  10101. type: object
  10102. models.GGzbscinoutorder:
  10103. properties:
  10104. applicanttime:
  10105. description: 申请时间
  10106. type: string
  10107. bagweightgm:
  10108. description: 连袋重(克)
  10109. type: number
  10110. checklistno:
  10111. description: 核注清单号
  10112. type: string
  10113. confirmdate:
  10114. description: 进出仓确认时间
  10115. type: string
  10116. confirmername:
  10117. description: 进出仓确认人
  10118. type: string
  10119. confirmtradedate:
  10120. description: 进出仓确认交易日(yyyyMMdd)
  10121. type: string
  10122. contactname:
  10123. description: 申请方联系人
  10124. type: string
  10125. contactnum:
  10126. description: 申请方联系电话
  10127. type: string
  10128. customsno:
  10129. description: 报关单号
  10130. type: string
  10131. customstotalvalue:
  10132. description: 报关总值
  10133. type: number
  10134. goodsname:
  10135. description: 商品名称 - 明细的商品名称拼接("/")
  10136. type: string
  10137. jckdate:
  10138. description: 进出口日期
  10139. type: string
  10140. logisticscompany:
  10141. description: 物流公司名称
  10142. type: string
  10143. logisticsno:
  10144. description: 托运单号
  10145. type: string
  10146. netweightct:
  10147. description: 净重(克拉)
  10148. type: number
  10149. netweightgm:
  10150. description: 净重(克)
  10151. type: number
  10152. orderid:
  10153. description: 申请ID(806+Unix秒时间戳(10位)+xxxxxx)
  10154. type: string
  10155. ordernum:
  10156. description: 单据编号
  10157. type: string
  10158. orderstatus:
  10159. description: 进出仓状态 - 1.待确认 2.待上传 3.报关中 4.进仓中 5.出仓中 20.已关闭 21.确认拒绝(枚举:GZBSCOrderStatus)
  10160. type: integer
  10161. ordertype:
  10162. description: 单据类型 - 1:进仓 2:出仓(枚举:GZBSCOrderType)
  10163. type: integer
  10164. outtype:
  10165. description: 出仓类型 - 1:转厂 2:出境(枚举:GZBSCOutType)
  10166. type: integer
  10167. sealno:
  10168. description: 进出仓封条号
  10169. type: string
  10170. signeedate:
  10171. description: 收发货人日期
  10172. type: string
  10173. signeename:
  10174. description: 收发货人
  10175. type: string
  10176. totalprice:
  10177. description: 总价
  10178. type: number
  10179. useraddress:
  10180. description: 申请方地点
  10181. type: string
  10182. userid:
  10183. description: 申请用户ID
  10184. type: integer
  10185. username:
  10186. description: 申请方名称
  10187. type: string
  10188. required:
  10189. - ordertype
  10190. - userid
  10191. type: object
  10192. models.GGzbscposition:
  10193. properties:
  10194. countryname:
  10195. description: 产销国
  10196. type: string
  10197. currencyname:
  10198. description: 币制
  10199. type: string
  10200. customsno:
  10201. description: 报关单号
  10202. type: string
  10203. customsvalue:
  10204. description: 报关总值
  10205. type: number
  10206. executionflag:
  10207. description: 海关执行标志
  10208. type: string
  10209. freezenetweightct:
  10210. description: 冻结净重(克拉)
  10211. type: number
  10212. goodsid:
  10213. description: 商品ID
  10214. type: string
  10215. goodsname:
  10216. description: 商品名称
  10217. type: string
  10218. goodsnum:
  10219. description: 商品编号
  10220. type: string
  10221. goodsspec:
  10222. description: 规格型号
  10223. type: string
  10224. jckdate:
  10225. description: 进口日期
  10226. type: string
  10227. legalunit:
  10228. description: 法定计量单位
  10229. type: string
  10230. netweightct:
  10231. description: 净重(克拉)
  10232. type: number
  10233. netweightgm:
  10234. description: 净重(克)
  10235. type: number
  10236. oricustomsvalue:
  10237. description: 期初报关总值
  10238. type: number
  10239. orifreezeweight:
  10240. description: 期初冻结净重(克拉)
  10241. type: number
  10242. orinetweightct:
  10243. description: 期初净重(克拉)
  10244. type: number
  10245. orinetweightgm:
  10246. description: 期初净重(克)
  10247. type: number
  10248. oritotalprice:
  10249. description: 期初总价
  10250. type: number
  10251. reportunit:
  10252. description: 申报计量单位
  10253. type: string
  10254. storageperiod:
  10255. description: 存储(监管)期限
  10256. type: string
  10257. totalprice:
  10258. description: 总价
  10259. type: number
  10260. unitprice:
  10261. description: 单价
  10262. type: number
  10263. userid:
  10264. description: 用户ID
  10265. type: integer
  10266. required:
  10267. - userid
  10268. type: object
  10269. models.GGzbscusermonthpay:
  10270. properties:
  10271. accountid:
  10272. description: 资金账户ID
  10273. type: integer
  10274. confirmtime:
  10275. description: 确认时间
  10276. type: string
  10277. handlestatus:
  10278. description: 处理状态
  10279. type: integer
  10280. infee:
  10281. description: 进仓报关费
  10282. type: number
  10283. innum:
  10284. description: 进仓报关单数
  10285. type: number
  10286. outfee:
  10287. description: 出仓报关费
  10288. type: number
  10289. outnum:
  10290. description: 出仓报关单数
  10291. type: number
  10292. paymode:
  10293. description: 支付方式 - 1:线上 2:线下(枚举:GZBSCPayMode)
  10294. type: integer
  10295. paystatus:
  10296. description: 支付状态 - 1:待确认 2:待支付 3:已支付(枚举:GZBSCPayStatus)
  10297. type: integer
  10298. paytime:
  10299. description: 支付时间
  10300. type: string
  10301. powerfee:
  10302. description: 分拣室电费
  10303. type: number
  10304. premium:
  10305. description: 保险费
  10306. type: number
  10307. rentdays:
  10308. description: 月租天数
  10309. type: integer
  10310. servicefee:
  10311. description: 分拣室服务费
  10312. type: number
  10313. startdate:
  10314. description: 协议起始日
  10315. type: string
  10316. storagefee:
  10317. description: 仓储费
  10318. type: number
  10319. totalfee:
  10320. description: 合计费用
  10321. type: number
  10322. trademonth:
  10323. description: 月份(yyyMM)
  10324. type: string
  10325. userid:
  10326. description: 用户ID
  10327. type: integer
  10328. required:
  10329. - userid
  10330. type: object
  10331. models.GGzbscuserpowerfee:
  10332. properties:
  10333. createtime:
  10334. description: 创建时间
  10335. type: string
  10336. endpower:
  10337. description: 月末初数
  10338. type: number
  10339. instrumentno:
  10340. description: 仪表编号
  10341. type: number
  10342. powerfee:
  10343. description: 电费(元)
  10344. type: number
  10345. powerfeeid:
  10346. description: 电费单ID(809+Unix秒时间戳(10位)+xxxxxx)
  10347. type: string
  10348. powernum:
  10349. description: 本月用量
  10350. type: number
  10351. powerunit:
  10352. description: 单位
  10353. type: number
  10354. startpower:
  10355. description: 月初读数
  10356. type: number
  10357. trademonth:
  10358. description: 月份(yyyMM)
  10359. type: string
  10360. userid:
  10361. description: 用户ID
  10362. type: integer
  10363. username:
  10364. description: 使用单位
  10365. type: number
  10366. required:
  10367. - trademonth
  10368. - userid
  10369. type: object
  10370. models.GThjinvesotrdeposit:
  10371. properties:
  10372. depositrate:
  10373. description: 定金比例
  10374. type: number
  10375. qty:
  10376. description: 可用量
  10377. type: integer
  10378. userid:
  10379. description: 用户ID
  10380. type: integer
  10381. required:
  10382. - userid
  10383. type: object
  10384. models.GThjinvesotrdepositlog:
  10385. properties:
  10386. accountname:
  10387. description: 用户名
  10388. type: string
  10389. buyuserid:
  10390. description: 采购用户ID
  10391. type: integer
  10392. changeqty:
  10393. description: 变更量
  10394. type: integer
  10395. curdepositqty:
  10396. description: 可用量(变更后)
  10397. type: string
  10398. depositrate:
  10399. description: 定金比例(选中比例)
  10400. type: number
  10401. logid:
  10402. description: 流水ID(336+Unix秒时间戳(10位)+xxxxxx)
  10403. type: string
  10404. oridepositqty:
  10405. description: 可用量(变更前)
  10406. type: integer
  10407. updatetime:
  10408. description: 更新时间
  10409. type: string
  10410. updatorid:
  10411. description: 更新人
  10412. type: integer
  10413. userid:
  10414. description: 用户ID
  10415. type: integer
  10416. wrtradedetailid:
  10417. description: 采购成交单ID
  10418. type: integer
  10419. required:
  10420. - depositrate
  10421. - userid
  10422. type: object
  10423. models.GThjuserscorelog:
  10424. properties:
  10425. createtime:
  10426. description: 记账时间
  10427. type: string
  10428. redpacketvalue:
  10429. description: 红包值【抽奖】
  10430. type: number
  10431. score:
  10432. description: 变动积分
  10433. type: number
  10434. scoreconfigtype:
  10435. description: 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分
  10436. 7:抽奖配置
  10437. type: integer
  10438. stype:
  10439. description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  10440. 6:自己供求下单积分 7:抽奖配置'
  10441. type: string
  10442. type: object
  10443. models.GZGoods:
  10444. properties:
  10445. address:
  10446. description: 详细地址
  10447. type: string
  10448. cerno:
  10449. description: 证书编号 - 类型:2,4,5
  10450. type: string
  10451. cityname:
  10452. description: 城市名称
  10453. type: string
  10454. countryname:
  10455. description: 国家名称
  10456. type: string
  10457. cpcertno:
  10458. description: 金伯利证书编号 - 类型:3
  10459. type: string
  10460. districtname:
  10461. description: 地区名称
  10462. type: string
  10463. goodsno:
  10464. description: 商品编号
  10465. type: string
  10466. imagepath:
  10467. description: 商品照片(相对地址)
  10468. type: string
  10469. isvalid:
  10470. description: 是否有效 - 0:无效 1:有效
  10471. type: integer
  10472. kppath:
  10473. description: 金伯利证书图片(相对地址) - 类型:3
  10474. type: string
  10475. kpweight:
  10476. description: 金伯利证书重量 - 类型:3
  10477. type: string
  10478. marketprice:
  10479. description: 市场价
  10480. type: string
  10481. mobile:
  10482. description: 手机号码
  10483. type: string
  10484. origin:
  10485. description: 原产地 - 类型:3
  10486. type: string
  10487. performancetemplateid:
  10488. description: 履约计划模板ID
  10489. type: integer
  10490. price:
  10491. description: 总价(价格) - 类型:1,2,3,4,5
  10492. type: number
  10493. priceper:
  10494. description: 克拉单价 - 类型:1,2,3,5
  10495. type: string
  10496. provincename:
  10497. description: 省名称
  10498. type: string
  10499. remainqty:
  10500. description: 剩余重量
  10501. type: number
  10502. remark:
  10503. description: 备注
  10504. type: string
  10505. sellusername:
  10506. description: 账户名称(机构名称)
  10507. type: string
  10508. settingmaterial:
  10509. description: 镶嵌材料 - 类型:4
  10510. type: string
  10511. size1:
  10512. description: 尺寸1 - 类型:2,4,5
  10513. type: string
  10514. size2:
  10515. description: 尺寸2 - 类型:2,4,5
  10516. type: string
  10517. size3:
  10518. description: 尺寸3 - 类型:2,4,5
  10519. type: string
  10520. sizedisplay:
  10521. description: 尺寸
  10522. type: string
  10523. stonedesc:
  10524. description: 配石描述 - 类型:4
  10525. type: string
  10526. userid:
  10527. description: 用户ID
  10528. type: integer
  10529. warehouseid:
  10530. description: 仓库ID
  10531. type: integer
  10532. warehousenamedisplay:
  10533. type: string
  10534. weight:
  10535. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  10536. type: number
  10537. weightavg:
  10538. description: 平均单颗重量 - 类型:1,3
  10539. type: number
  10540. wrpath:
  10541. description: 仓单扫描件(相对地址)
  10542. type: string
  10543. wrstandardid:
  10544. description: 现货商品ID
  10545. type: integer
  10546. wrtradeorderid:
  10547. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  10548. type: string
  10549. zscategory:
  10550. description: 钻石分类 - 枚举”ZSCategory“
  10551. type: integer
  10552. zscategorydisplay:
  10553. type: string
  10554. zscerttype:
  10555. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  10556. type: integer
  10557. zscerttypedisplay:
  10558. type: string
  10559. zsclaritytype1:
  10560. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  10561. type: integer
  10562. zsclaritytype1display:
  10563. type: string
  10564. zsclaritytype2:
  10565. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  10566. type: integer
  10567. zsclaritytype2display:
  10568. type: string
  10569. zscolortype1:
  10570. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  10571. type: integer
  10572. zscolortype1display:
  10573. type: string
  10574. zscolortype2:
  10575. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  10576. type: integer
  10577. zscolortype2display:
  10578. type: string
  10579. zscrystaltype:
  10580. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  10581. type: string
  10582. zscrystaltypedisplay:
  10583. type: string
  10584. zscurrencytype:
  10585. description: 货币类型 - 枚举“ZSCurrencyType”
  10586. type: integer
  10587. zscurrencytypedisplay:
  10588. type: string
  10589. zscurrencytypedisplayunit:
  10590. type: string
  10591. zscuttype1:
  10592. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  10593. type: integer
  10594. zscuttype1display:
  10595. type: string
  10596. zscuttype2:
  10597. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  10598. type: integer
  10599. zscuttype2display:
  10600. type: string
  10601. zsczcolor1type:
  10602. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  10603. type: integer
  10604. zsczcolor1typedisplay:
  10605. type: string
  10606. zsczcolor2type:
  10607. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  10608. type: integer
  10609. zsczcolor2typedisplay:
  10610. type: string
  10611. zsczcolor3type:
  10612. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  10613. type: integer
  10614. zsczcolor3typedisplay:
  10615. type: string
  10616. zsfluorescencetype1:
  10617. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  10618. type: integer
  10619. zsfluorescencetype1display:
  10620. type: string
  10621. zsfluorescencetype2:
  10622. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  10623. type: integer
  10624. zsfluorescencetype2display:
  10625. type: string
  10626. zspolishtype1:
  10627. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  10628. type: integer
  10629. zspolishtype1display:
  10630. type: string
  10631. zspolishtype2:
  10632. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  10633. type: integer
  10634. zspolishtype2display:
  10635. type: string
  10636. zsshapetype:
  10637. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  10638. type: string
  10639. zsshapetypedisplay:
  10640. type: string
  10641. zsstyletype:
  10642. description: 款式 - 类型:4
  10643. type: integer
  10644. zsstyletypedisplay:
  10645. type: string
  10646. zssymmetrytype1:
  10647. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  10648. type: integer
  10649. zssymmetrytype1display:
  10650. type: string
  10651. zssymmetrytype2:
  10652. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  10653. type: integer
  10654. zssymmetrytype2display:
  10655. type: string
  10656. required:
  10657. - goodsno
  10658. type: object
  10659. models.GZHomeData:
  10660. properties:
  10661. purchasedtransactions:
  10662. description: 已购买的交易
  10663. type: integer
  10664. transactioninpurchase:
  10665. description: 求购中的交易
  10666. type: integer
  10667. transactionsonsale:
  10668. description: 出售中的交易
  10669. type: integer
  10670. transactionssold:
  10671. description: 已卖出的交易
  10672. type: integer
  10673. unhandledmessage:
  10674. description: 未处理消息
  10675. type: integer
  10676. type: object
  10677. models.GZWarehouseinfo:
  10678. properties:
  10679. address:
  10680. description: 详细地址
  10681. type: string
  10682. areauserid:
  10683. description: 所属机构
  10684. type: integer
  10685. autoid:
  10686. description: 自增ID
  10687. type: integer
  10688. cityid:
  10689. description: 市
  10690. type: integer
  10691. cityname:
  10692. description: 城市名称
  10693. type: string
  10694. contactname:
  10695. description: 联系人
  10696. type: string
  10697. contactnum:
  10698. description: 联系电话
  10699. type: string
  10700. countryid:
  10701. description: 国家
  10702. type: integer
  10703. countryname:
  10704. description: 国家名称
  10705. type: string
  10706. createtime:
  10707. description: 创建时间
  10708. type: string
  10709. districtid:
  10710. description: 区
  10711. type: integer
  10712. districtname:
  10713. description: 地区名称
  10714. type: string
  10715. hasvideo:
  10716. description: 是否有视频 - 0:无 1:有
  10717. type: integer
  10718. provinceid:
  10719. description: 省
  10720. type: integer
  10721. provincename:
  10722. description: 省名称
  10723. type: string
  10724. remark:
  10725. description: 审核备注
  10726. type: string
  10727. videourl:
  10728. description: 视频地址
  10729. type: string
  10730. warehousecode:
  10731. description: 仓库代码
  10732. type: string
  10733. warehousename:
  10734. description: 仓库名称
  10735. type: string
  10736. warehousestatus:
  10737. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10738. type: integer
  10739. warehousetype:
  10740. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10741. type: integer
  10742. type: object
  10743. models.Goods:
  10744. properties:
  10745. agreeunit:
  10746. description: 合约单位
  10747. type: number
  10748. areauserid:
  10749. description: 所属机构
  10750. type: integer
  10751. auditaccountid:
  10752. description: 审核操作员账号
  10753. type: integer
  10754. audittime:
  10755. description: 审核时间
  10756. type: string
  10757. cancelaccountid:
  10758. description: 注销操作员账号
  10759. type: integer
  10760. canceltime:
  10761. description: 注销时间
  10762. type: string
  10763. closepricemode:
  10764. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10765. type: integer
  10766. closepriceparam:
  10767. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  10768. type: number
  10769. createtime:
  10770. description: 创建时间
  10771. type: string
  10772. creatorid:
  10773. description: 创建人
  10774. type: integer
  10775. currencyid:
  10776. description: 报价货币ID
  10777. type: integer
  10778. cutmode:
  10779. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  10780. type: integer
  10781. decimalplace:
  10782. description: 报价小数位
  10783. type: integer
  10784. delistingdate:
  10785. description: 商品退市时间(状态:退市) -- 已作废
  10786. type: string
  10787. delistingmode:
  10788. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  10789. type: integer
  10790. deliveryflag:
  10791. description: 交割标志 - 0:不可交割 1:可交割
  10792. type: integer
  10793. forceclosemode:
  10794. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  10795. type: integer
  10796. forceclosevalue:
  10797. description: 定期强平参数 [收益权]
  10798. type: integer
  10799. goodscode:
  10800. description: 商品代码(内部)
  10801. type: string
  10802. goodscurrencyid:
  10803. description: 合约货币ID
  10804. type: integer
  10805. goodsgroupid:
  10806. description: 所属商品组ID
  10807. type: integer
  10808. goodsid:
  10809. description: 商品ID(自增ID SEQ_GOODS)
  10810. type: integer
  10811. goodsname:
  10812. description: 商品名称
  10813. type: string
  10814. goodsquotetype:
  10815. description: '合约报价类型: 1-直接报价 2-间接报价'
  10816. type: integer
  10817. goodsstatus:
  10818. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10819. type: integer
  10820. goodstradetype:
  10821. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10822. type: integer
  10823. goodunitid:
  10824. description: 报价单位ID
  10825. type: integer
  10826. hasquoter:
  10827. description: 是否有报价商 - 0:无报价商 1:有报价商
  10828. type: integer
  10829. hqprotecttime:
  10830. description: 行情保护时间(秒)
  10831. type: integer
  10832. innerdealmode:
  10833. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10834. type: integer
  10835. isbuylimited:
  10836. description: 是否限制建仓量 - 0:不限制 1:限制
  10837. type: integer
  10838. isvisible:
  10839. description: 游客是否可见 - 0:不可见 1:可见
  10840. type: integer
  10841. lasttradedate:
  10842. description: 最后交易日期(状态:待退市)
  10843. type: string
  10844. listingdate:
  10845. description: 交易开始日期
  10846. type: string
  10847. marketid:
  10848. description: 所属市场ID
  10849. type: integer
  10850. modifierid:
  10851. description: 修改人
  10852. type: integer
  10853. modifystatus:
  10854. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10855. type: integer
  10856. modifytime:
  10857. description: 修改时间
  10858. type: string
  10859. outerdealmode:
  10860. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10861. type: integer
  10862. outgoodscode:
  10863. description: 商品代码(外部)
  10864. type: string
  10865. pictureurl:
  10866. description: 商品图片
  10867. type: string
  10868. qtydecimalplace:
  10869. description: 成交量小数位
  10870. type: integer
  10871. quotegear:
  10872. description: 行情档位(1-10)
  10873. type: integer
  10874. quoteminunit:
  10875. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10876. type: integer
  10877. quoteshowtype:
  10878. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10879. type: integer
  10880. quoteshowtypeinterval:
  10881. description: 行情报价间隔时间(秒)(成交价时为0)
  10882. type: integer
  10883. remark:
  10884. description: 备注
  10885. type: string
  10886. required:
  10887. - goodscode
  10888. - goodsid
  10889. - goodsname
  10890. - marketid
  10891. type: object
  10892. models.GoodsIDAndName:
  10893. properties:
  10894. goodscode:
  10895. description: 商品代码(内部)
  10896. type: string
  10897. goodsid:
  10898. description: 商品ID(自增ID SEQ_GOODS)
  10899. type: integer
  10900. goodsname:
  10901. description: 商品名称
  10902. type: string
  10903. marketid:
  10904. description: 所属市场ID
  10905. type: integer
  10906. required:
  10907. - goodscode
  10908. - goodsid
  10909. - goodsname
  10910. - marketid
  10911. type: object
  10912. models.Goodsgroup:
  10913. properties:
  10914. agreeunit:
  10915. description: 合约单位
  10916. type: number
  10917. canshort:
  10918. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10919. type: integer
  10920. closepricemode:
  10921. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10922. type: integer
  10923. closepriceparam:
  10924. description: 强平最新价浮动比例 - 方式为2时使用
  10925. type: number
  10926. createtime:
  10927. description: 创建时间
  10928. type: string
  10929. creatorid:
  10930. description: 创建人
  10931. type: integer
  10932. currencyid:
  10933. description: 报价货币ID
  10934. type: integer
  10935. decimalplace:
  10936. description: 报价小数位
  10937. type: integer
  10938. exercisetype:
  10939. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10940. type: integer
  10941. exexchangeid:
  10942. description: 外部交易所ID[通道交易]
  10943. type: integer
  10944. goodsgroupid:
  10945. description: 商品组ID(自增ID)
  10946. type: integer
  10947. goodsgroupname:
  10948. description: 商品组名称
  10949. type: string
  10950. goodsgroupstatus:
  10951. description: 商品组状态 - 1:正常 2:注销
  10952. type: integer
  10953. goodunitid:
  10954. description: 报价单位ID
  10955. type: integer
  10956. innerdealmode:
  10957. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10958. type: integer
  10959. isbuylimited:
  10960. description: 是否限制建仓量 - 0:不限制 1:限制
  10961. type: integer
  10962. marketid:
  10963. description: 所属市场ID
  10964. type: integer
  10965. modifierid:
  10966. description: 修改人
  10967. type: integer
  10968. modifytime:
  10969. description: 修改时间
  10970. type: string
  10971. outerdealmode:
  10972. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10973. type: integer
  10974. outergroupcode:
  10975. description: 外部商品组代码[通道交易]
  10976. type: string
  10977. premiumdecimalplace:
  10978. description: 权利金小数位[场外期权]
  10979. type: integer
  10980. premiumspreadalgorithm:
  10981. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10982. type: integer
  10983. premiumspreadvalue:
  10984. description: 权利金点差值[场外期权]
  10985. type: number
  10986. qtydecimalplace:
  10987. description: 成交量小数位
  10988. type: integer
  10989. quotegear:
  10990. description: 行情档位(1-10)
  10991. type: integer
  10992. quoteminunit:
  10993. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10994. type: integer
  10995. quoterid:
  10996. description: 报价商ID[场外期权]
  10997. type: integer
  10998. quotesourcegroupid:
  10999. description: 所属行情源分组ID[参考行情市场用\通道交易]
  11000. type: integer
  11001. syncgoodsqty:
  11002. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  11003. type: integer
  11004. required:
  11005. - goodsgroupid
  11006. - goodsgroupname
  11007. - goodsgroupstatus
  11008. - marketid
  11009. type: object
  11010. models.Goodssortbypreposition:
  11011. properties:
  11012. goodscode:
  11013. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  11014. type: string
  11015. goodsgroupcode:
  11016. description: 品种代码
  11017. type: string
  11018. prepositionqty:
  11019. description: 昨持仓量
  11020. type: integer
  11021. sortindex:
  11022. description: 排序
  11023. type: integer
  11024. tradedate:
  11025. description: 交易日
  11026. type: string
  11027. updatetime:
  11028. description: 更新时间
  11029. type: string
  11030. required:
  11031. - goodscode
  11032. - tradedate
  11033. type: object
  11034. models.GzbsfworderM:
  11035. properties:
  11036. accountid:
  11037. description: 资金账户ID
  11038. type: integer
  11039. addresscn:
  11040. description: 地址(中文)
  11041. type: string
  11042. addressen:
  11043. description: 地址(英文)
  11044. type: string
  11045. advanceamount:
  11046. description: 总预付款
  11047. type: number
  11048. colorrange:
  11049. description: 颜色范围
  11050. type: string
  11051. companynamecn:
  11052. description: 收货人(中文)
  11053. type: string
  11054. companynameen:
  11055. description: 收货人(英文)
  11056. type: string
  11057. contactfax:
  11058. description: 收货人传真
  11059. type: string
  11060. contactname:
  11061. description: 收货人姓名
  11062. type: string
  11063. contactphoneno:
  11064. description: 收货人电话
  11065. type: string
  11066. contentrange:
  11067. description: 【内容】内容范围
  11068. type: string
  11069. createtime:
  11070. description: 创建时间
  11071. type: string
  11072. executestatus:
  11073. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  11074. type: integer
  11075. gzbsdeliverytype:
  11076. description: 收货方式 - 枚举"GZBSDeliveryType"
  11077. type: integer
  11078. gzbsstatus:
  11079. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  11080. type: integer
  11081. gzbsstatusdisplay:
  11082. description: 单据状态
  11083. type: string
  11084. handlestatus:
  11085. description: 处理状态
  11086. type: integer
  11087. orderdate:
  11088. description: 单据日期
  11089. type: string
  11090. orderid:
  11091. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  11092. type: string
  11093. orderno:
  11094. description: 单据编号 - GZDEBSFW+单据流水号
  11095. type: string
  11096. ordersn:
  11097. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  11098. type: string
  11099. origincountry:
  11100. description: 原产国
  11101. type: string
  11102. otherlogistics:
  11103. description: 指定其它物流
  11104. type: string
  11105. priceper:
  11106. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  11107. type: number
  11108. settleamount:
  11109. description: 总结算费用 - 实际扣除资金,不含税费保证金
  11110. type: number
  11111. shaperange:
  11112. description: 形状范围
  11113. type: string
  11114. taxmargin:
  11115. description: 税费保证金 - 确认结算费用时退回
  11116. type: number
  11117. totalamount:
  11118. description: 总值(美元)
  11119. type: number
  11120. totalgrossweightgm:
  11121. description: 总毛重(克)
  11122. type: number
  11123. totalnetweightgm:
  11124. description: 总净重(克)
  11125. type: number
  11126. totalnetweigthct:
  11127. description: 总净重(克拉)
  11128. type: number
  11129. totalnumber:
  11130. description: 总粒数
  11131. type: integer
  11132. userid:
  11133. description: 用户ID
  11134. type: integer
  11135. weightrange:
  11136. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  11137. type: string
  11138. required:
  11139. - userid
  11140. type: object
  11141. models.GzbsfworderdetailM:
  11142. properties:
  11143. colorinfo:
  11144. description: 彩钻信息
  11145. type: string
  11146. createtime:
  11147. description: 创建时间
  11148. type: string
  11149. grossweightgm:
  11150. description: 毛重(克)
  11151. type: number
  11152. gzcjshape:
  11153. description: 形状(字符)
  11154. type: string
  11155. netweigthct:
  11156. description: 净重(克拉)
  11157. type: number
  11158. netweigthgm:
  11159. description: 净重(克)
  11160. type: number
  11161. ordercontent:
  11162. description: 内容
  11163. type: string
  11164. orderdetailid:
  11165. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  11166. type: string
  11167. orderid:
  11168. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  11169. type: string
  11170. orderindex:
  11171. description: 顺序
  11172. type: integer
  11173. perprice:
  11174. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  11175. type: number
  11176. remark:
  11177. description: 备注(其它)
  11178. type: string
  11179. totalamount:
  11180. description: 总值(美元)
  11181. type: number
  11182. type: object
  11183. models.Gzbsfworderoperate:
  11184. properties:
  11185. advanceproofaddr:
  11186. description: 预付款收款凭证(确认结算费用时)
  11187. type: string
  11188. bankfee:
  11189. description: 汇款银行手续费
  11190. type: number
  11191. bankproofaddr:
  11192. description: 广钻汇款银行手续费凭证(确认结算费用时)
  11193. type: string
  11194. customsproofaddr:
  11195. description: 海关税费保证金收据(确认结算费用时)
  11196. type: string
  11197. gzbsstatus:
  11198. description: 操作后单据状态 - 枚举"GZBSStatus"
  11199. type: integer
  11200. logisticsfee:
  11201. description: 代缴物流保险费
  11202. type: number
  11203. logisticsproofaddr:
  11204. description: 代缴物流保险费凭证(确认结算费用时)
  11205. type: string
  11206. operatetime:
  11207. description: 操作时间
  11208. type: string
  11209. operatoraccount:
  11210. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  11211. type: string
  11212. operatorid:
  11213. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  11214. type: integer
  11215. operatorname:
  11216. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  11217. type: string
  11218. operatorsrc:
  11219. description: 操作人来源 - 1:管理端 2:终端
  11220. type: integer
  11221. orderid:
  11222. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  11223. type: integer
  11224. otherfee:
  11225. description: 其它费用
  11226. type: number
  11227. remark:
  11228. description: 操作备注
  11229. type: string
  11230. servicefee:
  11231. description: 综合服务费
  11232. type: number
  11233. taxmargin:
  11234. description: 税费保证金
  11235. type: number
  11236. totalfee:
  11237. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  11238. type: number
  11239. required:
  11240. - orderid
  11241. type: object
  11242. models.Gzcertaddressconfig:
  11243. properties:
  11244. certregion:
  11245. description: 证书地域 - 1:国内 2:国际
  11246. type: integer
  11247. certtype:
  11248. description: 证书类型
  11249. type: string
  11250. orderindex:
  11251. description: 显示顺序
  11252. type: integer
  11253. orgcnname:
  11254. description: 机构名称(中文)
  11255. type: string
  11256. orgenname:
  11257. description: 机构名称(英文)
  11258. type: string
  11259. queryaddress:
  11260. description: 查询地址
  11261. type: string
  11262. remark:
  11263. description: 备注
  11264. type: string
  11265. updatetime:
  11266. description: 更新时间
  11267. type: string
  11268. type: object
  11269. models.Gzcertaddressparam:
  11270. properties:
  11271. certtype:
  11272. description: 证书类型
  11273. type: string
  11274. orderindex:
  11275. description: 参数顺序
  11276. type: integer
  11277. paramkey:
  11278. description: 参数Key
  11279. type: string
  11280. paramname:
  11281. description: 参数名称
  11282. type: string
  11283. updatetime:
  11284. description: 更新时间
  11285. type: string
  11286. type: object
  11287. models.GzcjbsorderfileM:
  11288. properties:
  11289. canmembervisit:
  11290. description: 会员是否可访问 - 1:可 2:不可
  11291. type: integer
  11292. fileaddress:
  11293. description: 文件地址
  11294. type: string
  11295. filegentype:
  11296. description: 文件生成类型 - 1:系统生成 2:手动上传
  11297. type: integer
  11298. filename:
  11299. description: 文件名称
  11300. type: string
  11301. operatetime:
  11302. description: 操作时间
  11303. type: string
  11304. operatoraccount:
  11305. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  11306. type: string
  11307. operatorid:
  11308. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  11309. type: integer
  11310. operatorsrc:
  11311. description: 操作人来源 - 1:管理端 2:终端
  11312. type: integer
  11313. orderfileid:
  11314. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  11315. type: integer
  11316. orderid:
  11317. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  11318. type: integer
  11319. required:
  11320. - orderid
  11321. type: object
  11322. models.GzcjjcorderM:
  11323. properties:
  11324. accountid:
  11325. description: 资金账户ID
  11326. type: integer
  11327. addresscn:
  11328. description: 地址(中文)
  11329. type: string
  11330. addressen:
  11331. description: 地址(英文)
  11332. type: string
  11333. advanceamount:
  11334. description: 总预付款
  11335. type: number
  11336. colorrange:
  11337. description: 颜色范围
  11338. type: string
  11339. companynamecn:
  11340. description: 公司名称(中文)
  11341. type: string
  11342. companynameen:
  11343. description: 公司名称(英文)
  11344. type: string
  11345. contactname:
  11346. description: 联系人姓名
  11347. type: string
  11348. contactphoneno:
  11349. description: 联系人电话
  11350. type: string
  11351. contactposition:
  11352. description: 联系人职位
  11353. type: string
  11354. createtime:
  11355. description: 创建时间
  11356. type: string
  11357. email:
  11358. description: 邮箱
  11359. type: string
  11360. executestatus:
  11361. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  11362. type: integer
  11363. gzcjaccount:
  11364. description: 送检账户
  11365. type: string
  11366. gzcjaccounttype:
  11367. description: 检测账户类型 - 枚举"GZCJAccountType"
  11368. type: integer
  11369. gzcjcategorytype:
  11370. description: 货物品类 - 枚举"GZCJCategoryType"
  11371. type: integer
  11372. gzcjcategorytypedisplay:
  11373. description: 货物品类
  11374. type: string
  11375. gzcjdeliverytype:
  11376. description: 收货方式 - 枚举"GZCJDeliveryType"
  11377. type: integer
  11378. gzcjdeliverytypedisplay:
  11379. description: 收货方式
  11380. type: string
  11381. gzcjstatus:
  11382. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  11383. type: integer
  11384. gzcjstatusdisplay:
  11385. description: 单据状态(出境检测)
  11386. type: string
  11387. handlestatus:
  11388. description: 处理状态
  11389. type: integer
  11390. invoiceremark:
  11391. description: 复核备注 - 发票装箱单使用
  11392. type: string
  11393. orderid:
  11394. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  11395. type: integer
  11396. orderidstr:
  11397. description: 单据ID 字符(801+Unix秒时间戳(10位)+xxxxxx)
  11398. type: string
  11399. orderno:
  11400. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  11401. type: string
  11402. ordersn:
  11403. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  11404. type: string
  11405. origincountry:
  11406. description: 原产国
  11407. type: string
  11408. processingcountry:
  11409. description: 成品钻石加工国
  11410. type: string
  11411. realservicefee:
  11412. description: 应收综合服务费
  11413. type: number
  11414. servicefeesum:
  11415. description: 汇总综合服务费 - 明细上值汇总
  11416. type: number
  11417. settleamount:
  11418. description: 总结算费用
  11419. type: number
  11420. shaperange:
  11421. description: 形状范围
  11422. type: string
  11423. totalamount:
  11424. description: 总金额(美元)
  11425. type: number
  11426. totalgrossweight:
  11427. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  11428. * 200
  11429. type: number
  11430. totalnumber:
  11431. description: 总粒数
  11432. type: integer
  11433. totalweight:
  11434. description: 总克拉数(保留3位小数)
  11435. type: number
  11436. totalweightgm:
  11437. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  11438. type: number
  11439. userid:
  11440. description: 用户ID
  11441. type: integer
  11442. weightrange:
  11443. description: 重量规格范围 - Min(Weight) - Max(Weight)
  11444. type: string
  11445. zsorigin:
  11446. description: 天然钻石毛坯原产地
  11447. type: string
  11448. required:
  11449. - userid
  11450. type: object
  11451. models.GzcjjcorderdetailM:
  11452. properties:
  11453. amount:
  11454. description: 参考货值(USD)
  11455. type: number
  11456. colorinfo:
  11457. description: 彩钻信息
  11458. type: string
  11459. createtime:
  11460. description: 创建时间
  11461. type: string
  11462. gzcjmarktype:
  11463. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  11464. type: integer
  11465. gzcjpublishtype:
  11466. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  11467. type: integer
  11468. gzcjpublishtypestring:
  11469. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  11470. type: string
  11471. gzcjservicetype:
  11472. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  11473. type: integer
  11474. gzcjservicetypestring:
  11475. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  11476. type: string
  11477. gzcjshapetype:
  11478. description: 形状 - 枚举"GZCJShapeType"
  11479. type: integer
  11480. gzcjshapetypestring:
  11481. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  11482. type: string
  11483. gzno:
  11484. description: 货物编号
  11485. type: string
  11486. orderdetailid:
  11487. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  11488. type: string
  11489. orderid:
  11490. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  11491. type: string
  11492. orderindex:
  11493. description: 顺序
  11494. type: integer
  11495. origincertno:
  11496. description: 原证书号【送检账户为“广钻账户”】
  11497. type: string
  11498. remark:
  11499. description: 备注(其它)
  11500. type: string
  11501. servicefee:
  11502. description: 综合服务费 - 根据市场配置计算
  11503. type: number
  11504. weight:
  11505. description: 重量(CT)
  11506. type: number
  11507. type: object
  11508. models.Gzcjjcorderoperate:
  11509. properties:
  11510. advanceamount:
  11511. description: 总预付款
  11512. type: number
  11513. advanceproofaddr:
  11514. description: 预付检测费和海关税费银行凭证(确认结算费用时)
  11515. type: string
  11516. bankfee:
  11517. description: 汇款银行手续费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11518. type: number
  11519. bankproofaddr:
  11520. description: 广钻汇款银行手续费凭证(确认结算费用时)
  11521. type: string
  11522. customsfee:
  11523. description: 海关税费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11524. type: number
  11525. customsproofaddr:
  11526. description: 海关税费凭证(确认结算费用时)
  11527. type: string
  11528. exchangerate:
  11529. description: 汇率 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11530. type: number
  11531. giaproofaddr:
  11532. description: GIA检测费凭证(确认结算费用时)
  11533. type: string
  11534. giarmbfee:
  11535. description: GIA检测费(¥) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11536. type: number
  11537. giausdfee:
  11538. description: GIA检测费(USD$) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11539. type: number
  11540. logisticsfee:
  11541. description: 代缴物流保险费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11542. type: number
  11543. logisticsproofaddr:
  11544. description: 代缴物流保险费凭证(确认结算费用时)
  11545. type: string
  11546. operatetime:
  11547. description: 操作时间
  11548. type: string
  11549. operatoraccount:
  11550. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  11551. type: string
  11552. operatorid:
  11553. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  11554. type: integer
  11555. operatorname:
  11556. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  11557. type: string
  11558. operatorsrc:
  11559. description: 操作人来源 - 1:管理端 2:终端
  11560. type: integer
  11561. orderid:
  11562. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  11563. type: string
  11564. otherfee:
  11565. description: 其它费用
  11566. type: number
  11567. remark:
  11568. description: 操作备注
  11569. type: string
  11570. servicefee:
  11571. description: 综合服务费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  11572. type: number
  11573. settleamount:
  11574. description: 总结算费用
  11575. type: number
  11576. status:
  11577. description: 操作后单据状态 - 枚举"GZCJStatus"
  11578. type: integer
  11579. totalfee:
  11580. description: 总费用 = GIA检测费(¥) + 海关税费 + 汇款银行手续费 + 代缴物流保险费 + 综合服务费 + 其它费用 [GZCJStatus
  11581. = 10.预付款确认中\13.付款确认中] 时
  11582. type: number
  11583. required:
  11584. - orderid
  11585. - status
  11586. type: object
  11587. models.Gzrapaportprice:
  11588. properties:
  11589. dollar:
  11590. description: 美元
  11591. type: string
  11592. rmb:
  11593. description: 人民币
  11594. type: string
  11595. type: object
  11596. models.Hedgeinnerholderdetail:
  11597. properties:
  11598. accountid:
  11599. description: 账号ID
  11600. type: integer
  11601. buyorsell:
  11602. description: 方向 - 0:买 1:卖
  11603. type: integer
  11604. freezeqty:
  11605. description: 冻结数量 - 按单平使用
  11606. type: integer
  11607. goodsid:
  11608. description: 商品ID
  11609. type: integer
  11610. holderamount:
  11611. description: 持仓金额 [商品币种]
  11612. type: number
  11613. holderdays:
  11614. description: 剩余冻结天数
  11615. type: integer
  11616. holderprice:
  11617. description: 持仓价格
  11618. type: number
  11619. holderqty:
  11620. description: 持仓数量
  11621. type: integer
  11622. marketid:
  11623. description: 市场ID
  11624. type: integer
  11625. openprice:
  11626. description: 建仓价格
  11627. type: number
  11628. openqty:
  11629. description: 建仓数量
  11630. type: integer
  11631. parentaccountid:
  11632. description: 所属母账户
  11633. type: integer
  11634. releaseamount:
  11635. description: 释放持仓金额[商品币种]
  11636. type: number
  11637. tradeamount:
  11638. description: 成交金额[账户]
  11639. type: number
  11640. tradedate:
  11641. description: 交易日(yyyyMMdd)
  11642. type: string
  11643. tradeid:
  11644. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11645. type: string
  11646. tradetime:
  11647. description: 交易时间
  11648. type: string
  11649. required:
  11650. - buyorsell
  11651. - tradeid
  11652. type: object
  11653. models.Hedgemarketopenlog:
  11654. properties:
  11655. accountid:
  11656. description: 资金账号[外部母账户]
  11657. type: integer
  11658. fcname:
  11659. description: 期货公司名称
  11660. type: string
  11661. handlestatus:
  11662. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  11663. type: integer
  11664. marketid:
  11665. description: 市场ID
  11666. type: integer
  11667. status:
  11668. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  11669. type: integer
  11670. tradedate:
  11671. description: 交易日(yyyyMMdd)
  11672. type: string
  11673. updatetime:
  11674. description: 更新时间
  11675. type: string
  11676. required:
  11677. - accountid
  11678. type: object
  11679. models.HsbyBuyMyPayOrder:
  11680. properties:
  11681. agreeunit:
  11682. description: 合约单位
  11683. type: number
  11684. buyaccountid:
  11685. description: 买方账号ID[报价币种]
  11686. type: integer
  11687. buyorderid:
  11688. description: 买方委托单号
  11689. type: string
  11690. createtime:
  11691. description: 创建时间
  11692. type: string
  11693. currencysign:
  11694. description: 货币符号
  11695. type: string
  11696. decimalplace:
  11697. description: 报价小数位
  11698. type: integer
  11699. goodscode:
  11700. description: 商品代码(内部)
  11701. type: string
  11702. goodsid:
  11703. description: 商品ID
  11704. type: integer
  11705. goodsname:
  11706. description: 商品名称
  11707. type: string
  11708. marketid:
  11709. description: 市场ID
  11710. type: integer
  11711. offamount:
  11712. description: 优惠金额
  11713. type: number
  11714. originalamount:
  11715. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  11716. type: number
  11717. payamount:
  11718. description: 支付金额 = TradeAmount + TradeCharge
  11719. type: number
  11720. payflag:
  11721. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11722. type: integer
  11723. paylimitedtime:
  11724. description: 支付期限
  11725. type: string
  11726. paytime:
  11727. description: 付款时间
  11728. type: string
  11729. picurls1:
  11730. description: 预售商品介绍图片[多张用逗号分隔]
  11731. type: string
  11732. picurls2:
  11733. description: 挂牌商品介绍图片[多张用逗号分隔]
  11734. type: string
  11735. sellaccountid:
  11736. description: 卖方账号ID[报价币种]
  11737. type: integer
  11738. sellorderid:
  11739. description: 卖方委托单号
  11740. type: string
  11741. tradeamount:
  11742. description: 成交金额
  11743. type: number
  11744. tradecharge:
  11745. description: 成交手续费(买方)
  11746. type: number
  11747. tradedate:
  11748. description: 交易日(yyyyMMdd)
  11749. type: string
  11750. tradeid:
  11751. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11752. type: string
  11753. trademode:
  11754. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11755. 21:竞拍-大宗式 22:受托竞价
  11756. type: integer
  11757. tradeprice:
  11758. description: 成交价格
  11759. type: number
  11760. tradeqty:
  11761. description: 成交数量
  11762. type: integer
  11763. vendorname1:
  11764. description: 预售商品供应商名称
  11765. type: string
  11766. vendorname2:
  11767. description: 挂牌商品供应商名称
  11768. type: string
  11769. required:
  11770. - goodscode
  11771. - goodsname
  11772. - tradeid
  11773. - trademode
  11774. type: object
  11775. models.HsbyBuyMyTradeDetail:
  11776. properties:
  11777. accountid:
  11778. description: 账户ID[报价币种]
  11779. type: integer
  11780. agreeunit:
  11781. description: 合约单位
  11782. type: number
  11783. amount:
  11784. description: 金额 = 价格 * 数量 * 合约单位
  11785. type: number
  11786. buyorsell:
  11787. description: 买卖 - 0:买 1:卖
  11788. type: integer
  11789. currencysign:
  11790. description: 货币符号
  11791. type: string
  11792. decimalplace:
  11793. description: 报价小数位
  11794. type: integer
  11795. goodscode:
  11796. description: 商品代码(内部)
  11797. type: string
  11798. goodsid:
  11799. description: 商品ID
  11800. type: integer
  11801. goodsname:
  11802. description: 商品名称
  11803. type: string
  11804. marketid:
  11805. description: 市场ID
  11806. type: integer
  11807. orderamount:
  11808. description: 委托金额
  11809. type: number
  11810. orderid:
  11811. description: 单号(成交单号)
  11812. type: string
  11813. picurls1:
  11814. description: 预售商品介绍图片[多张用逗号分隔]
  11815. type: string
  11816. picurls2:
  11817. description: 挂牌商品介绍图片[多张用逗号分隔]
  11818. type: string
  11819. price:
  11820. description: 价格
  11821. type: number
  11822. qty:
  11823. description: 数量
  11824. type: integer
  11825. time:
  11826. description: 时间
  11827. type: string
  11828. trademode:
  11829. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11830. 21:竞拍-大宗式 22:受托竞价
  11831. type: integer
  11832. vendorname1:
  11833. description: 预售商品供应商名称
  11834. type: string
  11835. vendorname2:
  11836. description: 挂牌商品供应商名称
  11837. type: string
  11838. required:
  11839. - accountid
  11840. - buyorsell
  11841. - goodscode
  11842. - goodsid
  11843. - goodsname
  11844. - marketid
  11845. - orderid
  11846. - qty
  11847. - time
  11848. - trademode
  11849. type: object
  11850. models.HsbyGoodsOrderDetail:
  11851. properties:
  11852. buyorsell:
  11853. description: 买卖 - 0:买 1:卖
  11854. type: integer
  11855. currencysign:
  11856. description: 货币符号
  11857. type: string
  11858. customername:
  11859. description: 客户名称(企业名称),已脱敏
  11860. type: string
  11861. enableqty:
  11862. description: 可用数量
  11863. type: integer
  11864. goodunit:
  11865. description: 报价单位
  11866. type: string
  11867. orderid:
  11868. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11869. type: string
  11870. orderprice:
  11871. description: 委托价格
  11872. type: number
  11873. ordertime:
  11874. description: 委托时间
  11875. type: string
  11876. required:
  11877. - buyorsell
  11878. - orderid
  11879. - ordertime
  11880. type: object
  11881. models.HsbyListingGoodsDetail:
  11882. properties:
  11883. agreeunit:
  11884. description: 合约单位
  11885. type: number
  11886. buymaxqty:
  11887. description: 购买上限 [71] - 0为不限
  11888. type: integer
  11889. currency:
  11890. description: 货币
  11891. type: string
  11892. currencysign:
  11893. description: 货币符号
  11894. type: string
  11895. decimalplace:
  11896. description: 报价小数位
  11897. type: integer
  11898. desccityid:
  11899. description: 目的地(市)ID
  11900. type: integer
  11901. descprovinceid:
  11902. description: 目的地(省)ID
  11903. type: integer
  11904. goodscode:
  11905. description: 商品代码(内部)
  11906. type: string
  11907. goodsdesc:
  11908. description: 商品详情
  11909. type: string
  11910. goodsid:
  11911. description: 商品ID(自增ID SEQ_GOODS)
  11912. type: integer
  11913. goodsname:
  11914. description: 商品名称
  11915. type: string
  11916. goodsprice:
  11917. description: 商品价格
  11918. type: number
  11919. hotindex:
  11920. description: 景点热度
  11921. type: integer
  11922. last:
  11923. description: 现价
  11924. type: number
  11925. limitdown:
  11926. description: 跌停价
  11927. type: number
  11928. limitup:
  11929. description: 涨停价
  11930. type: number
  11931. lotsize:
  11932. description: 手数最小变动单位
  11933. type: integer
  11934. marketid:
  11935. description: 所属市场ID
  11936. type: integer
  11937. picurls:
  11938. description: 介绍图片[多张用逗号分隔]
  11939. type: string
  11940. quoteminunit:
  11941. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11942. type: integer
  11943. stepvalue:
  11944. description: 价格最小变动单位
  11945. type: number
  11946. trademode:
  11947. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11948. 21:竞拍-大宗式 22:受托竞价
  11949. type: integer
  11950. vendorattr:
  11951. description: 供应商附件(多张,逗号分隔)
  11952. type: string
  11953. vendorname:
  11954. description: 供应商名称
  11955. type: string
  11956. vendorphone:
  11957. description: 供应商客服电话
  11958. type: string
  11959. videourls:
  11960. description: 介绍视频[多张用逗号分隔]
  11961. type: string
  11962. required:
  11963. - goodscode
  11964. - goodsid
  11965. - goodsname
  11966. - marketid
  11967. - trademode
  11968. type: object
  11969. models.HsbyMarketGoods:
  11970. properties:
  11971. accountid:
  11972. description: 账户ID[报价币种]
  11973. type: integer
  11974. agreeunit:
  11975. description: 合约单位
  11976. type: number
  11977. buyorsell:
  11978. description: 买卖 - 0:买 1:卖
  11979. type: integer
  11980. categoryid:
  11981. description: 类别ID(WRCATEGORY)
  11982. type: integer
  11983. currency:
  11984. description: 货币
  11985. type: string
  11986. currencysign:
  11987. description: 货币符号
  11988. type: string
  11989. customername:
  11990. description: 卖家名称
  11991. type: string
  11992. decimalplace:
  11993. description: 报价小数位
  11994. type: integer
  11995. goodscode:
  11996. description: 商品代码(内部)
  11997. type: string
  11998. goodsid:
  11999. description: 商品ID
  12000. type: integer
  12001. goodsname:
  12002. description: 商品名称
  12003. type: string
  12004. goodsprice:
  12005. description: 商品价格
  12006. type: number
  12007. hascoupon:
  12008. description: 是否可用优惠卷
  12009. type: boolean
  12010. hotindex:
  12011. description: 景点热度
  12012. type: integer
  12013. marketid:
  12014. description: 市场ID
  12015. type: integer
  12016. orderid:
  12017. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12018. type: string
  12019. orderprice:
  12020. description: 委托价格
  12021. type: number
  12022. orderstatus:
  12023. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12024. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12025. 16:成交失败违约(荷兰式竞拍专用)
  12026. type: integer
  12027. picurls:
  12028. description: 介绍图片[多张用逗号分隔]
  12029. type: string
  12030. quoteminunit:
  12031. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12032. type: integer
  12033. sellUserID:
  12034. description: 卖方UserID
  12035. type: integer
  12036. trademode:
  12037. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12038. 21:竞拍-大宗式 22:受托竞价
  12039. type: integer
  12040. videourls:
  12041. description: 介绍视频[多张用逗号分隔]
  12042. type: string
  12043. required:
  12044. - accountid
  12045. - buyorsell
  12046. - goodscode
  12047. - goodsid
  12048. - goodsname
  12049. - marketid
  12050. - orderid
  12051. - trademode
  12052. type: object
  12053. models.HsbyMarketGoodsDetail:
  12054. properties:
  12055. accountid:
  12056. description: 账户ID[报价币种]
  12057. type: integer
  12058. agreeunit:
  12059. description: 合约单位
  12060. type: number
  12061. buymaxqty:
  12062. description: 购买上限 [71] - 0为不限
  12063. type: integer
  12064. buyorsell:
  12065. description: 买卖 - 0:买 1:卖
  12066. type: integer
  12067. cancelqty:
  12068. description: 撤单数量
  12069. type: integer
  12070. categoryid:
  12071. description: 类别ID(WRCATEGORY)
  12072. type: integer
  12073. currency:
  12074. description: 货币
  12075. type: string
  12076. currencysign:
  12077. description: 货币符号
  12078. type: string
  12079. customername:
  12080. description: 卖家名称
  12081. type: string
  12082. decimalplace:
  12083. description: 报价小数位
  12084. type: integer
  12085. goodscode:
  12086. description: 商品代码(内部)
  12087. type: string
  12088. goodsdesc:
  12089. description: 商品详情
  12090. type: string
  12091. goodsid:
  12092. description: 商品ID
  12093. type: integer
  12094. goodsname:
  12095. description: 商品名称
  12096. type: string
  12097. goodsprice:
  12098. description: 商品价格
  12099. type: number
  12100. hotindex:
  12101. description: 景点热度
  12102. type: integer
  12103. lotsize:
  12104. description: 手数最小变动单位
  12105. type: integer
  12106. marketid:
  12107. description: 市场ID
  12108. type: integer
  12109. orderid:
  12110. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12111. type: string
  12112. orderprice:
  12113. description: 委托价格
  12114. type: number
  12115. orderqty:
  12116. description: 委托数量
  12117. type: integer
  12118. orderstatus:
  12119. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12120. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12121. 16:成交失败违约(荷兰式竞拍专用)
  12122. type: integer
  12123. picurls:
  12124. description: 介绍图片[多张用逗号分隔]
  12125. type: string
  12126. quoteminunit:
  12127. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12128. type: integer
  12129. sellUserID:
  12130. description: 卖方UserID
  12131. type: integer
  12132. trademode:
  12133. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12134. 21:竞拍-大宗式 22:受托竞价
  12135. type: integer
  12136. tradeqty:
  12137. description: 成交数量
  12138. type: integer
  12139. vendorattr:
  12140. description: 供应商附件(多张,逗号分隔)
  12141. type: string
  12142. vendorname:
  12143. description: 供应商名称
  12144. type: string
  12145. vendorphone:
  12146. description: 供应商客服电话
  12147. type: string
  12148. videourls:
  12149. description: 介绍视频[多张用逗号分隔]
  12150. type: string
  12151. required:
  12152. - accountid
  12153. - buyorsell
  12154. - goodscode
  12155. - goodsid
  12156. - goodsname
  12157. - marketid
  12158. - orderid
  12159. - orderqty
  12160. - trademode
  12161. type: object
  12162. models.HsbyMarketInfo:
  12163. properties:
  12164. marketid:
  12165. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12166. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12167. type: integer
  12168. marketname:
  12169. description: 市场名称
  12170. type: string
  12171. marketstatus:
  12172. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12173. type: integer
  12174. trademode:
  12175. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12176. 21:竞拍-大宗式 22:受托竞价
  12177. type: integer
  12178. required:
  12179. - marketid
  12180. - marketstatus
  12181. - trademode
  12182. type: object
  12183. models.HsbyMyGoods:
  12184. properties:
  12185. accountid:
  12186. description: 账号Id
  12187. type: integer
  12188. agreeunit:
  12189. description: 合约单位
  12190. type: number
  12191. buyaverageprice:
  12192. description: 持仓均价
  12193. type: number
  12194. buycurholderamount:
  12195. description: 买当前持仓总金额[商品币种]
  12196. type: number
  12197. buycurpositionqty:
  12198. description: 买当前持仓总数量
  12199. type: integer
  12200. buymaxqty:
  12201. description: 购买上限 [71] - 0为不限
  12202. type: integer
  12203. currencysign:
  12204. description: 货币符号
  12205. type: string
  12206. decimalplace:
  12207. description: 报价小数位
  12208. type: integer
  12209. enableqty:
  12210. description: 可用数量
  12211. type: integer
  12212. goodscode:
  12213. description: 商品代码(内部)
  12214. type: string
  12215. goodsid:
  12216. description: 商品Id
  12217. type: integer
  12218. goodsname:
  12219. description: 商品名称
  12220. type: string
  12221. goodsprice:
  12222. description: 商品价格
  12223. type: number
  12224. goodsstatus:
  12225. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  12226. type: integer
  12227. last:
  12228. description: 现价(仅使用于挂牌点选)
  12229. type: number
  12230. limitdown:
  12231. description: 跌停价(仅使用于挂牌点选)
  12232. type: number
  12233. limitup:
  12234. description: 涨停价(仅使用于挂牌点选)
  12235. type: number
  12236. lotsize:
  12237. description: 手数最小变动单位
  12238. type: integer
  12239. marketid:
  12240. description: 所属市场ID
  12241. type: integer
  12242. picurls:
  12243. description: 介绍图片[多张用逗号分隔]
  12244. type: string
  12245. quoteminunit:
  12246. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12247. type: integer
  12248. stepvalue:
  12249. description: 价格最小变动单位
  12250. type: number
  12251. trademode:
  12252. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12253. 21:竞拍-大宗式 22:受托竞价
  12254. type: integer
  12255. required:
  12256. - accountid
  12257. - goodscode
  12258. - goodsid
  12259. - goodsname
  12260. - marketid
  12261. - trademode
  12262. type: object
  12263. models.HsbyMyPackage:
  12264. properties:
  12265. accountid:
  12266. description: 账户ID
  12267. type: integer
  12268. address:
  12269. description: 提货人详细地址
  12270. type: string
  12271. agreeunit:
  12272. description: 合约单位
  12273. type: number
  12274. amount:
  12275. description: 提货金额
  12276. type: number
  12277. auditer:
  12278. description: 审核人
  12279. type: integer
  12280. audittime:
  12281. description: 审核时间
  12282. type: string
  12283. averageprice:
  12284. description: 均价
  12285. type: number
  12286. cardnum:
  12287. description: 提货人证件号码
  12288. type: string
  12289. cardtypeid:
  12290. description: 提货人证件类型
  12291. type: integer
  12292. checkremark:
  12293. description: 审核备注
  12294. type: string
  12295. currencysign:
  12296. description: 货币符号
  12297. type: string
  12298. decimalplace:
  12299. description: 报价小数位
  12300. type: integer
  12301. goodscode:
  12302. description: 商品代码(内部)
  12303. type: string
  12304. goodsid:
  12305. description: 商品ID
  12306. type: integer
  12307. goodsname:
  12308. description: 商品名称
  12309. type: string
  12310. handlestatus:
  12311. description: 处理状态
  12312. type: integer
  12313. marketid:
  12314. description: 市场ID
  12315. type: integer
  12316. phonenum:
  12317. description: 提货人联系方式
  12318. type: string
  12319. picurls:
  12320. description: 介绍图片[多张用逗号分隔]
  12321. type: string
  12322. qty:
  12323. description: 提货数量
  12324. type: number
  12325. recivername:
  12326. description: 提货人姓名
  12327. type: string
  12328. reqtime:
  12329. description: 更新时间
  12330. type: string
  12331. takemode:
  12332. description: 提货方式 - 2:自提 3:配送
  12333. type: integer
  12334. takeorderid:
  12335. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12336. type: string
  12337. takeorderstatus:
  12338. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12339. type: integer
  12340. takeremark:
  12341. description: 提货备注
  12342. type: string
  12343. tradedate:
  12344. description: 交易日(yyyyMMdd)
  12345. type: string
  12346. trademode:
  12347. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12348. 21:竞拍-大宗式 22:受托竞价
  12349. type: integer
  12350. userid:
  12351. description: 用户ID
  12352. type: integer
  12353. vendorname:
  12354. description: 供应商名称
  12355. type: string
  12356. required:
  12357. - goodscode
  12358. - goodsname
  12359. - takeorderid
  12360. - trademode
  12361. type: object
  12362. models.HsbyPreGoods:
  12363. properties:
  12364. agreeunit:
  12365. description: 合约单位
  12366. type: number
  12367. currency:
  12368. description: 货币
  12369. type: string
  12370. currencysign:
  12371. description: 货币符号
  12372. type: string
  12373. decimalplace:
  12374. description: 报价小数位
  12375. type: integer
  12376. desccityid:
  12377. description: 目的地(市)
  12378. type: integer
  12379. descprovinceid:
  12380. description: 目的地(省)
  12381. type: integer
  12382. enableqty:
  12383. description: 剩余数量
  12384. type: integer
  12385. goodscode:
  12386. description: 商品代码(内部)
  12387. type: string
  12388. goodsid:
  12389. description: 商品ID(自增ID SEQ_GOODS)
  12390. type: integer
  12391. goodsname:
  12392. description: 商品名称
  12393. type: string
  12394. goodsstatus:
  12395. description: 商品状态- 2:未上市 3:上市
  12396. type: integer
  12397. lasttradedate:
  12398. description: 最后交易日期(状态:待退市)
  12399. type: string
  12400. listingdate:
  12401. description: 交易开始日期
  12402. type: string
  12403. marketid:
  12404. description: 所属市场ID
  12405. type: integer
  12406. picurls:
  12407. description: 介绍图片[多张用逗号分隔]
  12408. type: string
  12409. presaledqty:
  12410. description: 已预售量(预售结束时更新)
  12411. type: integer
  12412. presaleqty:
  12413. description: 预售数量
  12414. type: integer
  12415. quoteminunit:
  12416. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12417. type: integer
  12418. refprice:
  12419. description: 参考价格[一口价]
  12420. type: number
  12421. relatedgoodsid:
  12422. description: 关联交易合约ID
  12423. type: integer
  12424. trademode:
  12425. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12426. 21:竞拍-大宗式 22:受托竞价
  12427. type: integer
  12428. videourls:
  12429. description: 介绍视频[多张用逗号分隔]
  12430. type: string
  12431. required:
  12432. - goodscode
  12433. - goodsid
  12434. - goodsname
  12435. - marketid
  12436. - trademode
  12437. type: object
  12438. models.HsbyPreGoodsDetail:
  12439. properties:
  12440. agreeunit:
  12441. description: 合约单位
  12442. type: number
  12443. buymaxqty:
  12444. description: 购买上限 [71] - 0为不限
  12445. type: integer
  12446. currency:
  12447. description: 货币
  12448. type: string
  12449. currencysign:
  12450. description: 货币符号
  12451. type: string
  12452. customername:
  12453. description: 发行单位
  12454. type: string
  12455. decimalplace:
  12456. description: 报价小数位
  12457. type: integer
  12458. desccityid:
  12459. description: 目的地(市)ID
  12460. type: integer
  12461. descprovinceid:
  12462. description: 目的地(省)ID
  12463. type: integer
  12464. enableqty:
  12465. description: 剩余数量
  12466. type: integer
  12467. goodscode:
  12468. description: 商品代码(内部)
  12469. type: string
  12470. goodsdesc:
  12471. description: 商品详情
  12472. type: string
  12473. goodsid:
  12474. description: 商品ID(自增ID SEQ_GOODS)
  12475. type: integer
  12476. goodsname:
  12477. description: 商品名称
  12478. type: string
  12479. goodsstatus:
  12480. description: 商品状态- 2:未上市 3:上市
  12481. type: integer
  12482. goodunit:
  12483. description: 报价单位
  12484. type: string
  12485. lasttradedate:
  12486. description: 最后交易日期(状态:待退市)
  12487. type: string
  12488. listingdate:
  12489. description: 交易开始日期
  12490. type: string
  12491. lotsize:
  12492. description: 手数最小变动单位
  12493. type: integer
  12494. marketid:
  12495. description: 所属市场ID
  12496. type: integer
  12497. picurls:
  12498. description: 介绍图片[多张用逗号分隔]
  12499. type: string
  12500. presaledqty:
  12501. description: 已预售量(预售结束时更新)
  12502. type: integer
  12503. presaleqty:
  12504. description: 预售数量
  12505. type: integer
  12506. quoteminunit:
  12507. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12508. type: integer
  12509. refprice:
  12510. description: 参考价格[一口价]
  12511. type: number
  12512. relatedgoodsid:
  12513. description: 关联交易合约ID
  12514. type: integer
  12515. stepvalue:
  12516. description: 价格最小变动单位
  12517. type: number
  12518. trademode:
  12519. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12520. 21:竞拍-大宗式 22:受托竞价
  12521. type: integer
  12522. vendorattr:
  12523. description: 供应商附件(多张,逗号分隔)
  12524. type: string
  12525. vendorname:
  12526. description: 供应商名称
  12527. type: string
  12528. vendorphone:
  12529. description: 供应商客服电话
  12530. type: string
  12531. videourls:
  12532. description: 介绍视频[多张用逗号分隔]
  12533. type: string
  12534. required:
  12535. - goodscode
  12536. - goodsid
  12537. - goodsname
  12538. - marketid
  12539. - trademode
  12540. type: object
  12541. models.HsbySellCollectionOrder:
  12542. properties:
  12543. agreeunit:
  12544. description: 合约单位
  12545. type: number
  12546. buyaccountid:
  12547. description: 买方账号ID[报价币种]
  12548. type: integer
  12549. buyorderid:
  12550. description: 买方委托单号
  12551. type: string
  12552. createtime:
  12553. description: 创建时间
  12554. type: string
  12555. currencysign:
  12556. description: 货币符号
  12557. type: string
  12558. decimalplace:
  12559. description: 报价小数位
  12560. type: integer
  12561. goodscode:
  12562. description: 商品代码(内部)
  12563. type: string
  12564. goodsid:
  12565. description: 商品ID
  12566. type: integer
  12567. goodsname:
  12568. description: 商品名称
  12569. type: string
  12570. marketid:
  12571. description: 市场ID
  12572. type: integer
  12573. offamount:
  12574. description: 优惠金额
  12575. type: number
  12576. payamount:
  12577. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  12578. type: number
  12579. payflag:
  12580. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12581. type: integer
  12582. paylimitedtime:
  12583. description: 支付期限
  12584. type: string
  12585. paytime:
  12586. description: 付款时间
  12587. type: string
  12588. picurls:
  12589. description: 商品介绍图片[多张用逗号分隔]
  12590. type: string
  12591. sellaccountid:
  12592. description: 卖方账号ID[报价币种]
  12593. type: integer
  12594. sellorderid:
  12595. description: 卖方委托单号
  12596. type: string
  12597. tradeamount:
  12598. description: 成交金额
  12599. type: number
  12600. tradecharge:
  12601. description: 成交手续费(买方)
  12602. type: number
  12603. tradedate:
  12604. description: 交易日(yyyyMMdd)
  12605. type: string
  12606. tradeid:
  12607. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12608. type: string
  12609. trademode:
  12610. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12611. 21:竞拍-大宗式 22:受托竞价
  12612. type: integer
  12613. tradeprice:
  12614. description: 成交价格
  12615. type: number
  12616. tradeqty:
  12617. description: 成交数量
  12618. type: integer
  12619. required:
  12620. - goodscode
  12621. - goodsname
  12622. - tradeid
  12623. - trademode
  12624. type: object
  12625. models.HsbySellMyDetail:
  12626. properties:
  12627. accountid:
  12628. description: 账户ID[报价币种]
  12629. type: integer
  12630. agreeunit:
  12631. description: 合约单位
  12632. type: number
  12633. buyorsell:
  12634. description: 买卖 - 0:买 1:卖
  12635. type: integer
  12636. currencysign:
  12637. description: 货币符号
  12638. type: string
  12639. decimalplace:
  12640. description: 报价小数位
  12641. type: integer
  12642. goodscode:
  12643. description: 商品代码(内部)
  12644. type: string
  12645. goodsid:
  12646. description: 商品ID
  12647. type: integer
  12648. goodsname:
  12649. description: 商品名称
  12650. type: string
  12651. marketid:
  12652. description: 市场ID
  12653. type: integer
  12654. orderid:
  12655. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  12656. type: string
  12657. ordertype:
  12658. description: 单据类型:0 - 发布中, 1 - 已完成
  12659. type: integer
  12660. picurls:
  12661. description: 介绍图片[多张用逗号分隔]
  12662. type: string
  12663. price:
  12664. description: 价格
  12665. type: number
  12666. qty:
  12667. description: 数量
  12668. type: integer
  12669. time:
  12670. description: 时间
  12671. type: string
  12672. trademode:
  12673. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12674. 21:竞拍-大宗式 22:受托竞价
  12675. type: integer
  12676. vendorname:
  12677. description: 供应商名称
  12678. type: string
  12679. required:
  12680. - accountid
  12681. - buyorsell
  12682. - goodscode
  12683. - goodsid
  12684. - goodsname
  12685. - marketid
  12686. - orderid
  12687. - time
  12688. - trademode
  12689. type: object
  12690. models.HsbyTopGoods:
  12691. properties:
  12692. agreeunit:
  12693. description: 合约单位
  12694. type: number
  12695. currency:
  12696. description: 货币
  12697. type: string
  12698. currencysign:
  12699. description: 货币符号
  12700. type: string
  12701. decimalplace:
  12702. description: 报价小数位
  12703. type: integer
  12704. desccityid:
  12705. description: 目的地(市)
  12706. type: integer
  12707. descprovinceid:
  12708. description: 目的地(省)
  12709. type: integer
  12710. goodscode:
  12711. description: 商品代码(内部)
  12712. type: string
  12713. goodsid:
  12714. description: 商品ID(自增ID SEQ_GOODS)
  12715. type: integer
  12716. goodsname:
  12717. description: 商品名称
  12718. type: string
  12719. hotindex:
  12720. description: 景点热度
  12721. type: integer
  12722. last:
  12723. description: 现价
  12724. type: number
  12725. marketid:
  12726. description: 所属市场ID
  12727. type: integer
  12728. picurls:
  12729. description: 介绍图片[多张用逗号分隔]
  12730. type: string
  12731. quoteminunit:
  12732. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12733. type: integer
  12734. trademode:
  12735. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12736. 21:竞拍-大宗式 22:受托竞价
  12737. type: integer
  12738. videourls:
  12739. description: 介绍视频[多张用逗号分隔]
  12740. type: string
  12741. required:
  12742. - goodscode
  12743. - goodsid
  12744. - goodsname
  12745. - marketid
  12746. - trademode
  12747. type: object
  12748. models.HybsMyBuyOrderDetail:
  12749. properties:
  12750. accountid:
  12751. description: 账户ID[报价币种]
  12752. type: integer
  12753. agreeunit:
  12754. description: 合约单位
  12755. type: number
  12756. buyorsell:
  12757. description: 买卖 - 0:买 1:卖
  12758. type: integer
  12759. cancelqty:
  12760. description: 撤单数量
  12761. type: integer
  12762. currencysign:
  12763. description: 货币符号
  12764. type: string
  12765. decimalplace:
  12766. description: 报价小数位
  12767. type: integer
  12768. goodscode:
  12769. description: 商品代码(内部)
  12770. type: string
  12771. goodsid:
  12772. description: 商品ID
  12773. type: integer
  12774. goodsname:
  12775. description: 商品名称
  12776. type: string
  12777. listingselecttype:
  12778. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12779. type: integer
  12780. marketid:
  12781. description: 市场ID
  12782. type: integer
  12783. mybuystatus:
  12784. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  12785. type: integer
  12786. orderamount:
  12787. description: 委托金额
  12788. type: number
  12789. orderid:
  12790. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12791. type: string
  12792. orderprice:
  12793. description: 委托价格
  12794. type: number
  12795. orderqty:
  12796. description: 委托数量
  12797. type: integer
  12798. orderstatus:
  12799. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12800. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12801. 16:成交失败违约(荷兰式竞拍专用)
  12802. type: integer
  12803. ordertime:
  12804. description: 委托时间
  12805. type: string
  12806. picurls1:
  12807. description: 预售商品介绍图片[多张用逗号分隔]
  12808. type: string
  12809. picurls2:
  12810. description: 挂牌商品介绍图片[多张用逗号分隔]
  12811. type: string
  12812. trademode:
  12813. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12814. 21:竞拍-大宗式 22:受托竞价
  12815. type: integer
  12816. tradeqty:
  12817. description: 成交数量
  12818. type: integer
  12819. vendorname1:
  12820. description: 预售商品供应商名称
  12821. type: string
  12822. vendorname2:
  12823. description: 挂牌商品供应商名称
  12824. type: string
  12825. required:
  12826. - accountid
  12827. - buyorsell
  12828. - goodscode
  12829. - goodsid
  12830. - goodsname
  12831. - marketid
  12832. - orderid
  12833. - orderqty
  12834. - ordertime
  12835. - trademode
  12836. type: object
  12837. models.InternalEnableTradeDetail:
  12838. properties:
  12839. agreeunit:
  12840. description: 合约乘数
  12841. type: number
  12842. areauserid:
  12843. description: 企业ID
  12844. type: integer
  12845. convertratio:
  12846. description: 品种系数
  12847. type: number
  12848. deliverygoodscode:
  12849. description: 现货品种代码
  12850. type: string
  12851. deliverygoodsid:
  12852. description: 现货品种ID(SEQ_DELIVERYGOODS)
  12853. type: integer
  12854. deliverygoodsname:
  12855. description: 现货品种名称
  12856. type: string
  12857. futurehedgeqty:
  12858. description: '[已关联数量]期货持仓套期量'
  12859. type: number
  12860. goodsid:
  12861. description: 期货合约ID
  12862. type: integer
  12863. hedgeditemid:
  12864. description: 被套期项目ID
  12865. type: string
  12866. hedgeditemnum:
  12867. description: 项目编号
  12868. type: string
  12869. tradeuserid:
  12870. description: 交易用户ID
  12871. type: integer
  12872. unexehedgeqty:
  12873. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  12874. type: number
  12875. unexespotqty:
  12876. description: 未执行现货量
  12877. type: number
  12878. wrstandardcode:
  12879. description: 现货品类代码
  12880. type: string
  12881. wrstandardid:
  12882. description: 现货品类ID(SEQ_WRSTANDARD)
  12883. type: integer
  12884. wrstandardname:
  12885. description: 现货品类名称
  12886. type: string
  12887. required:
  12888. - areauserid
  12889. - goodsid
  12890. - tradeuserid
  12891. type: object
  12892. models.InternalUncorrelatedTradeDetail:
  12893. properties:
  12894. accountid:
  12895. description: 账号ID
  12896. type: integer
  12897. accountname:
  12898. description: 套期主体
  12899. type: string
  12900. agreeunit:
  12901. description: 合约乘数
  12902. type: number
  12903. areauserid:
  12904. description: 所属机构
  12905. type: integer
  12906. bizsubjectid:
  12907. description: 归属业务部门ID - SubjectID
  12908. type: integer
  12909. buyorsell:
  12910. description: 方向 - 0:买 1:卖
  12911. type: integer
  12912. channelbuildtype:
  12913. description: 委托单据类型 0:无 1:建仓 2:平仓
  12914. type: integer
  12915. convertratio:
  12916. description: 品种系数
  12917. type: number
  12918. createtime:
  12919. description: 创建时间
  12920. type: string
  12921. creatorid:
  12922. description: 创建人ID
  12923. type: integer
  12924. creatorsrc:
  12925. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12926. type: integer
  12927. enableqty:
  12928. description: 项目可关联数量 = 套保品种数量 - 关联数量
  12929. type: number
  12930. enumdicname:
  12931. description: 单位
  12932. type: string
  12933. goodscode:
  12934. description: 合约代码
  12935. type: string
  12936. goodsgroupid:
  12937. description: 对冲品种ID[期货合约商品组ID]
  12938. type: integer
  12939. goodsid:
  12940. description: 商品ID
  12941. type: integer
  12942. goodsname:
  12943. description: 合约名称
  12944. type: string
  12945. hedgeditemid:
  12946. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12947. type: integer
  12948. hedgeflag:
  12949. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12950. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12951. type: integer
  12952. linkdetailid:
  12953. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12954. type: string
  12955. linkstatus:
  12956. description: 关联状态 - 1:成功 2:失败 3:解绑
  12957. type: integer
  12958. middlegoodsid:
  12959. description: 套保品种ID
  12960. type: integer
  12961. middlegoodsqty:
  12962. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  12963. type: number
  12964. relatedlot:
  12965. description: '[数量]关联手数'
  12966. type: number
  12967. relatedmode:
  12968. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12969. type: integer
  12970. relatedqty:
  12971. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12972. type: number
  12973. retcode:
  12974. description: 返回码
  12975. type: integer
  12976. saleuserid:
  12977. description: 业务员ID
  12978. type: integer
  12979. tradedate:
  12980. description: 关联交易日(yyyyMMdd)
  12981. type: string
  12982. tradeid:
  12983. description: 成交单号
  12984. type: string
  12985. tradelot:
  12986. description: 成交手数
  12987. type: integer
  12988. tradeprice:
  12989. description: 成交价
  12990. type: number
  12991. tradetime:
  12992. description: 成交时间
  12993. type: string
  12994. tradetradedate:
  12995. description: 成交交易日(yyyyMMdd)
  12996. type: string
  12997. tradeuserid:
  12998. description: 交易用户ID
  12999. type: integer
  13000. type: object
  13001. models.Loginaccount:
  13002. properties:
  13003. accountname:
  13004. description: 账户名称
  13005. type: string
  13006. canoutin:
  13007. description: 是否可出入金 - 0:不可 1:可
  13008. type: integer
  13009. clientroleid:
  13010. description: 终端角色ID
  13011. type: integer
  13012. haslogined:
  13013. description: 是否已登录 - 0:未登录 1:已登录
  13014. type: integer
  13015. hasupdatedpwd:
  13016. description: 是否已更改密码 - 0:未修改 1:已修改
  13017. type: integer
  13018. lastloginip:
  13019. description: 最新登录地址
  13020. type: string
  13021. lastloginmode:
  13022. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  13023. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13024. type: integer
  13025. lastloginremark:
  13026. description: 最新登录描述
  13027. type: string
  13028. lastlogintime:
  13029. description: 最新登录时间
  13030. type: string
  13031. logincode:
  13032. description: 登录代码
  13033. type: string
  13034. loginfailnum:
  13035. description: 连续登录失败次数(登录成功时清零)
  13036. type: integer
  13037. loginid:
  13038. description: 登陆账号
  13039. type: integer
  13040. loginport:
  13041. description: 最新登录端口
  13042. type: integer
  13043. loginstatus:
  13044. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  13045. type: integer
  13046. loginusertype:
  13047. description: 登录账号类型 - 1:投资者 2:机构交易员
  13048. type: integer
  13049. mobile:
  13050. description: 手机号码(加密存储)
  13051. type: string
  13052. modifierid:
  13053. description: 修改人
  13054. type: integer
  13055. modifysrc:
  13056. description: 审核来源 - 1:管理端 2:终端
  13057. type: integer
  13058. modifytime:
  13059. description: 修改时间
  13060. type: string
  13061. pwdwrongcount:
  13062. description: 密码错误次数
  13063. type: integer
  13064. relateduserid:
  13065. description: 关联用户ID(机构)
  13066. type: integer
  13067. taaccountrighttype:
  13068. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  13069. type: integer
  13070. unfreezetime:
  13071. description: 账户解冻时间
  13072. type: string
  13073. userid:
  13074. description: 用户ID
  13075. type: integer
  13076. required:
  13077. - loginid
  13078. type: object
  13079. models.MainAccountInfo:
  13080. properties:
  13081. accountid:
  13082. description: 账号id
  13083. type: integer
  13084. accountname:
  13085. description: 账号名称(taaccount表中的名称)
  13086. type: string
  13087. appid:
  13088. description: AppID
  13089. type: string
  13090. authcode:
  13091. description: 授权码
  13092. type: string
  13093. brokerid:
  13094. description: 经纪商id
  13095. type: string
  13096. fcid:
  13097. description: 期货公司id
  13098. type: integer
  13099. fcname:
  13100. description: 期货公司代码
  13101. type: string
  13102. hedgeaccountcode:
  13103. description: 外部账号代码(主账号登录代码)
  13104. type: string
  13105. hedgeaccountpwd:
  13106. description: 密码
  13107. type: string
  13108. ismain:
  13109. description: 是否主账号
  13110. type: integer
  13111. relateduserid:
  13112. description: 关联用户id
  13113. type: integer
  13114. userid:
  13115. description: 关联用户id
  13116. type: integer
  13117. type: object
  13118. models.Market:
  13119. properties:
  13120. auctionwrtype:
  13121. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  13122. type: integer
  13123. canacceptquote:
  13124. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13125. type: integer
  13126. cangoodsexercise:
  13127. description: '[期权]是否可现货行权- 0:否 1:是'
  13128. type: integer
  13129. cangoodsexercisetype:
  13130. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13131. type: integer
  13132. canmanualquotestrike:
  13133. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13134. type: integer
  13135. canmutistage:
  13136. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13137. type: integer
  13138. canpreexercise:
  13139. description: '[期权]是否可预申报- 0:否 1:是'
  13140. type: integer
  13141. clearinterval:
  13142. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13143. type: integer
  13144. contracttmp:
  13145. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13146. type: string
  13147. exchareaid:
  13148. description: 所属交易所,可以没有
  13149. type: integer
  13150. goodstype:
  13151. description: 商品类型 - 1:交易商品 2:仓单商品
  13152. type: integer
  13153. hasrebate:
  13154. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13155. type: integer
  13156. hastradecredit:
  13157. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13158. type: integer
  13159. haswr:
  13160. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13161. type: integer
  13162. isdeductmargin:
  13163. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13164. type: integer
  13165. isrecordsource:
  13166. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13167. type: integer
  13168. isreleasemargin:
  13169. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13170. type: integer
  13171. marginformula:
  13172. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13173. type: integer
  13174. marginformula2:
  13175. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13176. type: integer
  13177. marketid:
  13178. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13179. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13180. type: integer
  13181. marketname:
  13182. description: 市场名称
  13183. type: string
  13184. marketserviceid:
  13185. description: 市场服务ID
  13186. type: integer
  13187. marketstatus:
  13188. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13189. type: integer
  13190. markettype:
  13191. description: 市场类型- 1:非交易服务 2:交易服务
  13192. type: integer
  13193. matchermode:
  13194. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  13195. type: integer
  13196. openmethod:
  13197. description: 开盘模式 - 0 自动 1手动
  13198. type: integer
  13199. otcuserid:
  13200. description: 场外期权做市商[场外期权]
  13201. type: integer
  13202. outersynctime:
  13203. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13204. type: string
  13205. pendingflag:
  13206. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13207. type: integer
  13208. pendingtime:
  13209. description: 待开市时间[通道交易-对冲](HH:mm)
  13210. type: string
  13211. performancetempid:
  13212. description: 履约计划模板ID - 作废
  13213. type: integer
  13214. premiumquotemode:
  13215. description: 权利金报价方式 - 1:自动 2:手动
  13216. type: integer
  13217. rebateratio:
  13218. description: 返利比率[竞价式]
  13219. type: number
  13220. reckonorder:
  13221. description: 结算顺序
  13222. type: integer
  13223. reckonpricealgorithm:
  13224. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13225. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13226. type: integer
  13227. reckonpriceparam:
  13228. description: 结算价参数
  13229. type: integer
  13230. reckontime:
  13231. description: 结算时间[通道交易-对冲](HH:mm)
  13232. type: string
  13233. roleprioritytype:
  13234. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13235. type: integer
  13236. selllistingauditflag:
  13237. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13238. type: integer
  13239. trademarkettype:
  13240. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13241. type: integer
  13242. trademode:
  13243. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13244. 21:竞拍-大宗式 22:受托竞价
  13245. type: integer
  13246. tradeproperty:
  13247. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13248. 8:场外期权
  13249. type: integer
  13250. tradetype:
  13251. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13252. type: integer
  13253. required:
  13254. - marketid
  13255. - marketstatus
  13256. - openmethod
  13257. - reckonpricealgorithm
  13258. - trademode
  13259. - tradeproperty
  13260. type: object
  13261. models.Marketcalendar:
  13262. properties:
  13263. holidaydate:
  13264. description: 节假日期(yyyy-MM-dd)
  13265. type: string
  13266. marketid:
  13267. description: 市场ID
  13268. type: integer
  13269. type: object
  13270. models.Marketrun:
  13271. properties:
  13272. afternexttradedate:
  13273. description: 下下交易日
  13274. type: string
  13275. clearquoteflag:
  13276. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  13277. type: integer
  13278. lastreckondate:
  13279. description: 最新交易日(结算成功)
  13280. type: string
  13281. machinedate:
  13282. description: 机器时间
  13283. type: string
  13284. manualflag:
  13285. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  13286. type: integer
  13287. marketid:
  13288. description: 市场ID
  13289. type: integer
  13290. nexttradedate:
  13291. description: 下一交易日
  13292. type: string
  13293. pretradedate:
  13294. description: 上一交易日
  13295. type: string
  13296. reckonflag:
  13297. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  13298. type: integer
  13299. runstatus:
  13300. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  13301. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  13302. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  13303. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  13304. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  13305. 62.今日免清算
  13306. type: integer
  13307. sectionid:
  13308. description: 时间段号[多时段时用]
  13309. type: integer
  13310. tradedate:
  13311. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  13312. type: string
  13313. tradedate2:
  13314. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  13315. type: string
  13316. updatetime:
  13317. description: 更新时间
  13318. type: string
  13319. required:
  13320. - marketid
  13321. - nexttradedate
  13322. - reckonflag
  13323. - runstatus
  13324. - tradedate
  13325. - tradedate2
  13326. type: object
  13327. models.Messageboard:
  13328. properties:
  13329. contactnum:
  13330. description: 联系电话
  13331. type: string
  13332. createtime:
  13333. description: 创建时间
  13334. type: string
  13335. message:
  13336. description: 留言信息
  13337. type: string
  13338. messageboardid:
  13339. description: 留言簿ID(SEQ_MessageBoard)
  13340. type: integer
  13341. userid:
  13342. description: 用户ID
  13343. type: integer
  13344. required:
  13345. - messageboardid
  13346. type: object
  13347. models.MyBargainApply:
  13348. properties:
  13349. accountid:
  13350. description: 摘牌资金账号
  13351. type: integer
  13352. applyprice:
  13353. description: 申请价格
  13354. type: string
  13355. applyremark:
  13356. description: 申请备注
  13357. type: string
  13358. applystatus:
  13359. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13360. type: integer
  13361. applytime:
  13362. description: 申请时间
  13363. type: string
  13364. buyorsell:
  13365. description: 买卖 - 0:买 1:卖
  13366. type: integer
  13367. buyusername:
  13368. description: 买方
  13369. type: string
  13370. confirmprice:
  13371. description: 可接受价格(拒绝时填写)-作废
  13372. type: number
  13373. confirmqty:
  13374. description: 可接受数量(拒绝时填写)-作废
  13375. type: integer
  13376. confirmremark:
  13377. description: 确认备注
  13378. type: string
  13379. confirmtime:
  13380. description: 确认时间
  13381. type: string
  13382. confirmuserid:
  13383. description: 确认人
  13384. type: integer
  13385. goodsno:
  13386. description: 商品编号
  13387. type: string
  13388. handlestatus:
  13389. description: 处理状态
  13390. type: integer
  13391. ladingbillid:
  13392. description: 摘牌方提单ID [卖]
  13393. type: integer
  13394. marketid:
  13395. description: 市场ID
  13396. type: integer
  13397. matchaccountid:
  13398. description: 挂牌方资金账号
  13399. type: integer
  13400. matchuserid:
  13401. description: 挂牌方用户ID
  13402. type: integer
  13403. performancetemplateid:
  13404. description: 履约计划模板ID
  13405. type: integer
  13406. price:
  13407. description: 价格
  13408. type: number
  13409. priceper:
  13410. description: 克拉单价 - 类型:1,2,3,5
  13411. type: string
  13412. qty:
  13413. description: 申请数量
  13414. type: number
  13415. refprice:
  13416. description: 参考价格
  13417. type: string
  13418. retcode:
  13419. description: 委托返回代码
  13420. type: integer
  13421. sellusername:
  13422. description: 卖方
  13423. type: string
  13424. sizedisplay:
  13425. description: 尺寸
  13426. type: string
  13427. subnum:
  13428. description: 摘牌方提单子单号 [卖]
  13429. type: integer
  13430. tradedate:
  13431. description: 交易日(yyyyMMdd)
  13432. type: string
  13433. userid:
  13434. description: 摘牌人用户ID
  13435. type: integer
  13436. warehousenamedisplay:
  13437. type: string
  13438. wrbargainid:
  13439. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  13440. type: string
  13441. wrtradeorderid:
  13442. description: 关联委托单ID
  13443. type: string
  13444. zscerttypedisplay:
  13445. type: string
  13446. zsclaritytype1display:
  13447. type: string
  13448. zsclaritytype2display:
  13449. type: string
  13450. zscolortype1display:
  13451. type: string
  13452. zscolortype2display:
  13453. type: string
  13454. zscrystaltypedisplay:
  13455. type: string
  13456. zscurrencytypedisplay:
  13457. type: string
  13458. zscurrencytypedisplayunit:
  13459. type: string
  13460. zscuttype1display:
  13461. type: string
  13462. zscuttype2display:
  13463. type: string
  13464. zsczcolor1typedisplay:
  13465. type: string
  13466. zsczcolor2typedisplay:
  13467. type: string
  13468. zsczcolor3typedisplay:
  13469. type: string
  13470. zsfluorescencetype1display:
  13471. type: string
  13472. zsfluorescencetype2display:
  13473. type: string
  13474. zspolishtype1display:
  13475. type: string
  13476. zspolishtype2display:
  13477. type: string
  13478. zsshapetypedisplay:
  13479. type: string
  13480. zsstyletypedisplay:
  13481. type: string
  13482. zssymmetrytype1display:
  13483. type: string
  13484. zssymmetrytype2display:
  13485. type: string
  13486. required:
  13487. - userid
  13488. type: object
  13489. models.MyBuyOrder:
  13490. properties:
  13491. accountid:
  13492. description: 资金账户ID
  13493. type: integer
  13494. marketid:
  13495. description: 市场ID
  13496. type: integer
  13497. ordertime:
  13498. description: 委托时间
  13499. type: string
  13500. origin:
  13501. description: 原产地
  13502. type: string
  13503. performancetemplateid:
  13504. description: 履约计划模板ID
  13505. type: integer
  13506. remark:
  13507. description: 备注
  13508. type: string
  13509. userid:
  13510. description: 用户ID
  13511. type: integer
  13512. validtime:
  13513. description: 有效期限
  13514. type: string
  13515. warehouseids:
  13516. description: 仓库ID - 多个, 逗号分隔
  13517. type: string
  13518. warehouseinfosdisplay:
  13519. type: string
  13520. wrtradeorderid:
  13521. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  13522. type: string
  13523. wrtradeorderstatus:
  13524. 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、
  13525. type: integer
  13526. zscategory:
  13527. description: 钻石分类 - 枚举”ZSCategory“
  13528. type: integer
  13529. zscategorydisplay:
  13530. type: string
  13531. zsclaritytype:
  13532. description: 净度 - 两个, 逗号分隔
  13533. type: string
  13534. zsclaritytypedisplay:
  13535. type: string
  13536. zscolortype:
  13537. description: 颜色 - 两个, 逗号分隔
  13538. type: string
  13539. zscolortypedisplay:
  13540. type: string
  13541. zscrystaltype:
  13542. description: 晶型 - 多个,逗号分隔
  13543. type: string
  13544. zscrystaltypedisplay:
  13545. type: string
  13546. zscurrencytype:
  13547. description: 货币类型 - 多个, 逗号分隔
  13548. type: string
  13549. zscurrencytypedisplay:
  13550. type: string
  13551. zscuttype:
  13552. description: 切工 - 两个, 逗号分隔
  13553. type: string
  13554. zscuttypedisplay:
  13555. type: string
  13556. zsczcolor1type:
  13557. description: 彩钻颜色1, 逗号分隔
  13558. type: string
  13559. zsczcolor1typedisplay:
  13560. type: string
  13561. zsczcolor2type:
  13562. description: 彩钻颜色2, 逗号分隔
  13563. type: string
  13564. zsczcolor2typedisplay:
  13565. type: string
  13566. zsczcolor3type:
  13567. description: 彩钻颜色3, 逗号分隔
  13568. type: string
  13569. zsczcolor3typedisplay:
  13570. type: string
  13571. zsfluorescencetype:
  13572. description: 荧光 - 多个, 逗号分隔
  13573. type: string
  13574. zsfluorescencetypedisplay:
  13575. type: string
  13576. zspolishtype:
  13577. description: 抛光度 - 两个, 逗号分隔
  13578. type: string
  13579. zspolishtypedisplay:
  13580. type: string
  13581. zsshapetype:
  13582. description: 形状 - 多个, 逗号分隔
  13583. type: string
  13584. zsshapetypedisplay:
  13585. type: string
  13586. zssize:
  13587. description: 尺寸 - 两个小数, 逗号分隔
  13588. type: string
  13589. zsstyletype:
  13590. description: 款式 - 多个, 逗号分隔
  13591. type: string
  13592. zsstyletypedisplay:
  13593. type: string
  13594. zssymmetrytype:
  13595. description: 对称度 - 两个, 逗号分隔
  13596. type: string
  13597. zssymmetrytypedisplay:
  13598. type: string
  13599. zstabledisplay:
  13600. description: 求购信息
  13601. type: string
  13602. required:
  13603. - userid
  13604. type: object
  13605. models.MyCoupon:
  13606. properties:
  13607. accountid:
  13608. description: 资金账户ID
  13609. type: integer
  13610. areauserid:
  13611. description: 所属机构
  13612. type: integer
  13613. conditionvalue:
  13614. description: 条件阈值(可为0)
  13615. type: number
  13616. couponcategroy:
  13617. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  13618. type: integer
  13619. couponname:
  13620. description: 优惠券名称
  13621. type: string
  13622. coupontypeid:
  13623. description: 优惠券类型ID
  13624. type: string
  13625. couponvalue:
  13626. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  13627. type: number
  13628. curfreezeqty:
  13629. description: 期末冻结数量
  13630. type: integer
  13631. curqty:
  13632. description: 期末数量
  13633. type: integer
  13634. isgeneral:
  13635. description: 是否通用券 - 0:否 1:是
  13636. type: integer
  13637. isunusable:
  13638. description: 是否不可用
  13639. type: boolean
  13640. limitedflag:
  13641. description: 是否指定商品 - 0:不限 1:限制
  13642. type: integer
  13643. limitedgoodsids:
  13644. description: 指定商品IDs[逗号分隔,前后加逗号]
  13645. type: string
  13646. orifreezeqty:
  13647. description: 期初冻结数量
  13648. type: integer
  13649. oriqty:
  13650. description: 期初数量
  13651. type: integer
  13652. reasontype:
  13653. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  13654. type: integer
  13655. todaydecrease:
  13656. description: 今日减少
  13657. type: integer
  13658. todayincrease:
  13659. description: 今日增加
  13660. type: integer
  13661. userid:
  13662. description: 用户ID
  13663. type: integer
  13664. userscope:
  13665. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  13666. type: string
  13667. required:
  13668. - accountid
  13669. - coupontypeid
  13670. type: object
  13671. models.MyCouponHold:
  13672. properties:
  13673. accountid:
  13674. description: 资金账户ID
  13675. type: integer
  13676. conditionvalue:
  13677. description: 条件阈值(可为0)
  13678. type: number
  13679. couponcategroy:
  13680. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  13681. type: integer
  13682. couponholdid:
  13683. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  13684. type: string
  13685. couponname:
  13686. description: 优惠券名称
  13687. type: string
  13688. coupontypeid:
  13689. description: 优惠券类型ID - SEQ_COUPONTYPE
  13690. type: string
  13691. couponvalue:
  13692. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  13693. type: number
  13694. createtime:
  13695. description: 创建时间
  13696. type: string
  13697. enddate:
  13698. description: 结束日期
  13699. type: string
  13700. giveapplyid:
  13701. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  13702. type: integer
  13703. holdstatus:
  13704. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  13705. type: integer
  13706. isgeneral:
  13707. description: 是否通用券 - 0:否 1:是
  13708. type: integer
  13709. limitedflag:
  13710. description: 是否指定商品 - 0:不限 1:限制
  13711. type: integer
  13712. limitedgoodsids:
  13713. description: 指定商品IDs[逗号分隔]
  13714. type: string
  13715. qty:
  13716. description: 数量(按1平铺)
  13717. type: integer
  13718. startdate:
  13719. description: 开始日期
  13720. type: string
  13721. userid:
  13722. description: 用户ID
  13723. type: integer
  13724. userscope:
  13725. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  13726. type: string
  13727. required:
  13728. - couponholdid
  13729. type: object
  13730. models.MyDeListing:
  13731. properties:
  13732. buyaccountid:
  13733. description: 买方账号ID
  13734. type: integer
  13735. buychargevalue:
  13736. description: 买方手续费
  13737. type: number
  13738. buyuserid:
  13739. description: 买方用户ID
  13740. type: integer
  13741. deliverygoodsid:
  13742. description: 现货品种ID
  13743. type: integer
  13744. exchangerate:
  13745. description: 汇率
  13746. type: number
  13747. goodsno:
  13748. description: 商品编号
  13749. type: string
  13750. marketid:
  13751. description: 市场ID
  13752. type: integer
  13753. matchusername:
  13754. description: 对手方
  13755. type: string
  13756. oritradeamount:
  13757. description: 成交金额[商品币种]
  13758. type: number
  13759. performanceplanid:
  13760. description: 履约计划ID/合同ID
  13761. type: string
  13762. price:
  13763. description: 价格
  13764. type: number
  13765. qty:
  13766. description: 成交重量
  13767. type: number
  13768. sellaccountid:
  13769. description: 卖方账号ID
  13770. type: integer
  13771. sellchargevalue:
  13772. description: 卖方手续费
  13773. type: number
  13774. selluserid:
  13775. description: 卖方用户ID
  13776. type: integer
  13777. sizedisplay:
  13778. description: 尺寸
  13779. type: string
  13780. tradeamount:
  13781. description: 成交金额
  13782. type: number
  13783. tradedate:
  13784. description: 交易日(yyyyMMdd)
  13785. type: string
  13786. tradeprice:
  13787. description: 成交价格
  13788. type: number
  13789. tradetime:
  13790. description: 成交时间
  13791. type: string
  13792. userid:
  13793. description: 用户ID
  13794. type: integer
  13795. warehousenamedisplay:
  13796. type: string
  13797. wrfactortypeid:
  13798. description: 仓单要素类型ID
  13799. type: integer
  13800. wrstandardid:
  13801. description: 现货商品ID
  13802. type: integer
  13803. wrtradedetailid:
  13804. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  13805. type: string
  13806. zscategory:
  13807. description: 钻石分类 - 枚举”ZSCategory“
  13808. type: integer
  13809. zscategorydisplay:
  13810. type: string
  13811. zscerttypedisplay:
  13812. type: string
  13813. zsclaritytype1display:
  13814. type: string
  13815. zsclaritytype2display:
  13816. type: string
  13817. zscolortype1display:
  13818. type: string
  13819. zscolortype2display:
  13820. type: string
  13821. zscrystaltypedisplay:
  13822. type: string
  13823. zscurrencytype:
  13824. description: 货币类型 - 枚举“ZSCurrencyType”
  13825. type: integer
  13826. zscurrencytypedisplay:
  13827. type: string
  13828. zscurrencytypedisplayunit:
  13829. type: string
  13830. zscuttype1display:
  13831. type: string
  13832. zscuttype2display:
  13833. type: string
  13834. zsczcolor1typedisplay:
  13835. type: string
  13836. zsczcolor2typedisplay:
  13837. type: string
  13838. zsczcolor3typedisplay:
  13839. type: string
  13840. zsfluorescencetype1display:
  13841. type: string
  13842. zsfluorescencetype2display:
  13843. type: string
  13844. zspolishtype1display:
  13845. type: string
  13846. zspolishtype2display:
  13847. type: string
  13848. zsshapetypedisplay:
  13849. type: string
  13850. zsstyletypedisplay:
  13851. type: string
  13852. zssymmetrytype1display:
  13853. type: string
  13854. zssymmetrytype2display:
  13855. type: string
  13856. required:
  13857. - userid
  13858. type: object
  13859. models.MyDelistingApply:
  13860. properties:
  13861. applyprice:
  13862. description: 申请价格
  13863. type: number
  13864. applyqty:
  13865. description: 申请数量
  13866. type: number
  13867. applyremark:
  13868. description: 申请备注
  13869. type: string
  13870. applystatus:
  13871. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13872. type: integer
  13873. applytime:
  13874. description: 申请时间
  13875. type: string
  13876. auditremark:
  13877. description: 确认备注
  13878. type: string
  13879. audittime:
  13880. description: 确认时间
  13881. type: string
  13882. buyuserid:
  13883. description: 买方用户ID
  13884. type: integer
  13885. buyusername:
  13886. description: 买方
  13887. type: string
  13888. buywrtradeorderid:
  13889. description: 买委托单ID
  13890. type: string
  13891. cerno:
  13892. description: 证书编号 - 类型:2,4,5
  13893. type: string
  13894. goodsno:
  13895. description: 商品编号
  13896. type: string
  13897. ladingbillid:
  13898. description: 卖方提单ID
  13899. type: string
  13900. marketid:
  13901. description: 市场ID
  13902. type: integer
  13903. performancetemplateid:
  13904. description: 履约计划模板ID
  13905. type: integer
  13906. price:
  13907. description: 价格
  13908. type: number
  13909. priceper:
  13910. description: 克拉单价
  13911. type: string
  13912. sellaccountid:
  13913. description: 卖方账户ID
  13914. type: integer
  13915. selldelistingapplyid:
  13916. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  13917. type: string
  13918. selltradeorderid:
  13919. description: 卖方委托ID(买方确认成交后更新)
  13920. type: string
  13921. selluserid:
  13922. description: 卖方用户ID
  13923. type: integer
  13924. sellusername:
  13925. description: 卖方
  13926. type: string
  13927. sizedisplay:
  13928. description: 尺寸
  13929. type: string
  13930. subnum:
  13931. description: 卖方提单子单号
  13932. type: integer
  13933. warehouseinfosdisplay:
  13934. type: string
  13935. weight:
  13936. description: 克拉重量
  13937. type: number
  13938. wrfactortypeid:
  13939. description: 仓单要素类型ID
  13940. type: string
  13941. wrstandardid:
  13942. description: 现货商品ID
  13943. type: integer
  13944. zsallproperties:
  13945. type: string
  13946. zscategorydisplay:
  13947. type: string
  13948. zscerttype:
  13949. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  13950. type: integer
  13951. zscerttypedisplay:
  13952. description: 证书类型
  13953. type: string
  13954. zsclaritytypedisplay:
  13955. type: string
  13956. zscolortypedisplay:
  13957. type: string
  13958. zscrystaltypedisplay:
  13959. type: string
  13960. zscurrencytypedisplay:
  13961. type: string
  13962. zscurrencytypedisplayunit:
  13963. description: 价格单位
  13964. type: string
  13965. zscuttypedisplay:
  13966. type: string
  13967. zsczcolor1typedisplay:
  13968. type: string
  13969. zsczcolor2typedisplay:
  13970. type: string
  13971. zsczcolor3typedisplay:
  13972. type: string
  13973. zsfluorescencetypedisplay:
  13974. type: string
  13975. zspolishtypedisplay:
  13976. type: string
  13977. zsshapetypedisplay:
  13978. type: string
  13979. zssizedisplay:
  13980. type: string
  13981. zsstyletypedisplay:
  13982. type: string
  13983. zssymmetrytypedisplay:
  13984. type: string
  13985. zstabledisplay:
  13986. type: string
  13987. required:
  13988. - selluserid
  13989. type: object
  13990. models.MyFavorite:
  13991. properties:
  13992. accountname:
  13993. description: 账户名称(机构名称)
  13994. type: string
  13995. buyorsell:
  13996. description: 买卖 - 0:买 1:卖
  13997. type: integer
  13998. favoritestatus:
  13999. description: 收藏状态 - 1:正常 2:失效
  14000. type: integer
  14001. goodsno:
  14002. description: 商品编号
  14003. type: string
  14004. marketid:
  14005. description: 市场ID
  14006. type: integer
  14007. marketprice:
  14008. description: 市场价
  14009. type: string
  14010. price:
  14011. description: 价格
  14012. type: number
  14013. priceper:
  14014. description: 克拉单价
  14015. type: string
  14016. sellusername:
  14017. description: 卖家
  14018. type: string
  14019. sizedisplay:
  14020. description: 尺寸
  14021. type: string
  14022. userid:
  14023. description: 用户ID
  14024. type: integer
  14025. warehousenamedisplay:
  14026. description: 仓库名称
  14027. type: string
  14028. weight:
  14029. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  14030. type: number
  14031. weightavg:
  14032. description: 平均单颗重量 - 类型:1,3
  14033. type: number
  14034. wrfactortypeid:
  14035. description: 仓单要素类型ID/商品ID(77)
  14036. type: string
  14037. wrstandardid:
  14038. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14039. type: integer
  14040. wrtradeorderid:
  14041. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14042. type: string
  14043. zscategory:
  14044. description: 钻石分类 - 枚举”ZSCategory“
  14045. type: integer
  14046. zscategorydisplay:
  14047. type: string
  14048. zscerttypedisplay:
  14049. type: string
  14050. zsclaritytype1display:
  14051. type: string
  14052. zsclaritytype2display:
  14053. type: string
  14054. zscolortype1display:
  14055. type: string
  14056. zscolortype2display:
  14057. type: string
  14058. zscrystaltypedisplay:
  14059. type: string
  14060. zscurrencytypedisplay:
  14061. type: string
  14062. zscurrencytypedisplayunit:
  14063. type: string
  14064. zscuttype1display:
  14065. type: string
  14066. zscuttype2display:
  14067. type: string
  14068. zsczcolor1typedisplay:
  14069. type: string
  14070. zsczcolor2typedisplay:
  14071. type: string
  14072. zsczcolor3typedisplay:
  14073. type: string
  14074. zsfluorescencetype1display:
  14075. type: string
  14076. zsfluorescencetype2display:
  14077. type: string
  14078. zspolishtype1display:
  14079. type: string
  14080. zspolishtype2display:
  14081. type: string
  14082. zsshapetypedisplay:
  14083. type: string
  14084. zsstyletypedisplay:
  14085. type: string
  14086. zssymmetrytype1display:
  14087. type: string
  14088. zssymmetrytype2display:
  14089. type: string
  14090. required:
  14091. - userid
  14092. type: object
  14093. models.MyPerformanc:
  14094. properties:
  14095. accountname:
  14096. description: '[对手方]账户名称(机构名称)'
  14097. type: string
  14098. amount:
  14099. description: 履约金额
  14100. type: number
  14101. buyaccountid:
  14102. description: 买方账号
  14103. type: integer
  14104. buyerfreezeamount:
  14105. description: 买方履约前冻结资金
  14106. type: number
  14107. buyerfreezeamountremain:
  14108. description: 买方履约前冻结资金剩余
  14109. type: number
  14110. buyerinfo:
  14111. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  14112. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  14113. type: string
  14114. buyorsell:
  14115. description: 方向 - 0:买 1:卖
  14116. type: integer
  14117. buypaidamount:
  14118. description: 买方已冻/已扣金额
  14119. type: number
  14120. buytodayamount:
  14121. description: 买方今日扣/冻金额 (待开市时清零)
  14122. type: number
  14123. curstepid:
  14124. description: 当前步骤ID
  14125. type: string
  14126. goodsno:
  14127. description: 商品编号
  14128. type: string
  14129. overshortamount:
  14130. description: 溢短金额
  14131. type: number
  14132. paymenttype:
  14133. description: 买方支付方式 - 1:冻结 2:扣款
  14134. type: integer
  14135. performanceplanid:
  14136. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14137. type: string
  14138. performancestatus:
  14139. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14140. 9:超时待处理 10:超时关闭
  14141. type: integer
  14142. price:
  14143. description: 价格
  14144. type: number
  14145. priceper:
  14146. description: 克拉单价
  14147. type: string
  14148. relatedorderid:
  14149. description: 关联单号(履约类型的关联单号)
  14150. type: string
  14151. remaindays:
  14152. description: 剩余天数
  14153. type: integer
  14154. sellerfreezeamount:
  14155. description: 卖方履约前冻结资金
  14156. type: number
  14157. sellerfreezeamountremain:
  14158. description: 卖方履约前冻结资金剩余
  14159. type: number
  14160. sellerinfo:
  14161. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  14162. "xxxxxxxx"}'
  14163. type: string
  14164. sellreceivedamount:
  14165. description: 卖方已收金额
  14166. type: number
  14167. selltodayamount:
  14168. description: 卖方今日收取金额(待开市时清零)
  14169. type: number
  14170. sizedisplay:
  14171. description: 尺寸
  14172. type: string
  14173. steptypeid:
  14174. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14175. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14176. type: integer
  14177. warehousenamedisplay:
  14178. type: string
  14179. weight:
  14180. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  14181. type: number
  14182. zscategorydisplay:
  14183. type: string
  14184. zscerttypedisplay:
  14185. type: string
  14186. zsclaritytype1display:
  14187. type: string
  14188. zsclaritytype2display:
  14189. type: string
  14190. zscolortype1display:
  14191. type: string
  14192. zscolortype2display:
  14193. type: string
  14194. zscrystaltypedisplay:
  14195. type: string
  14196. zscurrencytypedisplay:
  14197. type: string
  14198. zscurrencytypedisplayunit:
  14199. type: string
  14200. zscuttype1display:
  14201. type: string
  14202. zscuttype2display:
  14203. type: string
  14204. zsczcolor1typedisplay:
  14205. type: string
  14206. zsczcolor2typedisplay:
  14207. type: string
  14208. zsczcolor3typedisplay:
  14209. type: string
  14210. zsfluorescencetype1display:
  14211. type: string
  14212. zsfluorescencetype2display:
  14213. type: string
  14214. zspolishtype1display:
  14215. type: string
  14216. zspolishtype2display:
  14217. type: string
  14218. zsshapetypedisplay:
  14219. type: string
  14220. zsstyletypedisplay:
  14221. type: string
  14222. zssymmetrytype1display:
  14223. type: string
  14224. zssymmetrytype2display:
  14225. type: string
  14226. type: object
  14227. models.MyRefer:
  14228. properties:
  14229. accountname:
  14230. description: 用户名(脱敏)
  14231. type: string
  14232. createtime:
  14233. description: 时间(yyyy-mm-dd)
  14234. type: string
  14235. score:
  14236. description: 积分
  14237. type: number
  14238. type: object
  14239. models.MySellOrder:
  14240. properties:
  14241. accountid:
  14242. description: 资金账号
  14243. type: integer
  14244. applyid:
  14245. description: 申请单ID
  14246. type: integer
  14247. attachment1:
  14248. description: 附件1
  14249. type: string
  14250. attachment2:
  14251. description: 附件2
  14252. type: string
  14253. buyorsell:
  14254. description: 买卖 - 0:买 1:卖
  14255. type: integer
  14256. canbargain:
  14257. description: 是否可议价 - 0:不可 1:可
  14258. type: integer
  14259. cancelqty:
  14260. description: 撤销数量
  14261. type: integer
  14262. canceltime:
  14263. description: 撤销时间
  14264. type: string
  14265. cerno:
  14266. type: string
  14267. chargealgorithm:
  14268. description: 手续费收取方式 1:比率 2:固定
  14269. type: integer
  14270. chargealgorithmvalue:
  14271. description: 手续费设置值(交易所部分)
  14272. type: number
  14273. chargealgorithmvalue2:
  14274. description: 手续费设置值(会员部分)
  14275. type: number
  14276. clientordertime:
  14277. description: 客户端委托时间
  14278. type: string
  14279. cpcertno:
  14280. type: string
  14281. exchangerate:
  14282. description: 汇率[67]
  14283. type: number
  14284. firstratio:
  14285. description: 首付比率 - [挂牌时指定,摘牌时使用]
  14286. type: number
  14287. fixedprice:
  14288. description: '[克拉单价]固定价格 - [挂牌]'
  14289. type: number
  14290. freezecharge:
  14291. description: 冻结手续费
  14292. type: number
  14293. freezefirstamount:
  14294. description: 冻结首付金额 - [摘牌]
  14295. type: number
  14296. freezemargin:
  14297. description: 冻结保证金
  14298. type: number
  14299. goodsno:
  14300. description: 商品编号
  14301. type: string
  14302. imagepath:
  14303. type: string
  14304. isspecified:
  14305. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  14306. type: integer
  14307. kppath:
  14308. type: string
  14309. kpweight:
  14310. type: string
  14311. marginalgorithm:
  14312. description: 保证金方式 - 1:比率 2:固定
  14313. type: integer
  14314. marginvalue:
  14315. description: 保证金设置值
  14316. type: number
  14317. marketid:
  14318. description: 市场ID
  14319. type: integer
  14320. marketprice:
  14321. type: string
  14322. orderamount:
  14323. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  14324. type: number
  14325. ordertime:
  14326. description: 委托时间
  14327. type: string
  14328. performancetemplateid:
  14329. description: 履约计划模板ID
  14330. type: integer
  14331. price:
  14332. description: 价格
  14333. type: number
  14334. pricefactor:
  14335. description: 价格系数(浮动价时填写) - [挂牌]
  14336. type: number
  14337. pricemove:
  14338. description: 升贴水(浮动价时填写) - [挂牌]
  14339. type: number
  14340. priceper:
  14341. type: string
  14342. relatedwrtradeorderid:
  14343. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  14344. type: integer
  14345. remark:
  14346. type: string
  14347. retcode:
  14348. description: 错误代码
  14349. type: integer
  14350. selledqty:
  14351. description: 成交重量
  14352. type: number
  14353. settingmaterial:
  14354. type: string
  14355. size1:
  14356. type: string
  14357. size2:
  14358. type: string
  14359. size3:
  14360. type: string
  14361. sizedisplay:
  14362. description: 尺寸
  14363. type: string
  14364. stonedesc:
  14365. type: string
  14366. totalqty:
  14367. description: 总重量
  14368. type: number
  14369. tradedate:
  14370. description: 交易日(yyyyMMdd)
  14371. type: string
  14372. tradeprice:
  14373. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14374. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14375. type: number
  14376. unfreezecharge:
  14377. description: 解冻手续费
  14378. type: number
  14379. unfreezefirstamount:
  14380. description: 解冻首付金额 - [摘牌]
  14381. type: number
  14382. unfreezemargin:
  14383. description: 解冻保证金
  14384. type: number
  14385. userid:
  14386. description: 用户ID
  14387. type: integer
  14388. uuid:
  14389. description: 发起端唯一id
  14390. type: string
  14391. validtime:
  14392. description: 有效期限
  14393. type: string
  14394. validtype:
  14395. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  14396. type: integer
  14397. warehousenamedisplay:
  14398. type: string
  14399. wrbargainid:
  14400. description: 议价申请单ID
  14401. type: integer
  14402. wrfactortypeid:
  14403. description: 仓单要素类型ID/商品ID(77)
  14404. type: integer
  14405. wrpath:
  14406. type: string
  14407. wrpricetype:
  14408. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14409. type: integer
  14410. wrstandardid:
  14411. description: 现货商品ID
  14412. type: integer
  14413. wrtradeorderid:
  14414. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14415. type: string
  14416. wrtradeorderstatus:
  14417. 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:撤单解冻贷款失败
  14418. type: integer
  14419. wrtradetype:
  14420. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14421. type: integer
  14422. wrtransferuserid:
  14423. description: 仓单受让用户 - [摘牌]
  14424. type: integer
  14425. zscategory:
  14426. description: 钻石分类 - 枚举”ZSCategory“
  14427. type: integer
  14428. zscategorydisplay:
  14429. description: 钻石分类 - 描述
  14430. type: string
  14431. zscerttypedisplay:
  14432. type: string
  14433. zsclaritytype1display:
  14434. type: string
  14435. zsclaritytype2display:
  14436. type: string
  14437. zscolortype1display:
  14438. type: string
  14439. zscolortype2display:
  14440. type: string
  14441. zscrystaltype:
  14442. type: string
  14443. zscrystaltypedisplay:
  14444. type: string
  14445. zscurrencytype:
  14446. description: 货币类型 - 枚举“ZSCurrencyType”
  14447. type: integer
  14448. zscurrencytypedisplay:
  14449. type: string
  14450. zscurrencytypedisplayunit:
  14451. type: string
  14452. zscuttype1display:
  14453. type: string
  14454. zscuttype2display:
  14455. type: string
  14456. zsczcolor1typedisplay:
  14457. type: string
  14458. zsczcolor2typedisplay:
  14459. type: string
  14460. zsczcolor3typedisplay:
  14461. type: string
  14462. zsfluorescencetype1display:
  14463. type: string
  14464. zsfluorescencetype2display:
  14465. type: string
  14466. zspolishtype1display:
  14467. type: string
  14468. zspolishtype2display:
  14469. type: string
  14470. zsshapetypedisplay:
  14471. type: string
  14472. zsstyletypedisplay:
  14473. type: string
  14474. zssymmetrytype1display:
  14475. type: string
  14476. zssymmetrytype2display:
  14477. type: string
  14478. required:
  14479. - userid
  14480. type: object
  14481. models.MyUsedCoupon:
  14482. properties:
  14483. accountid:
  14484. description: 资金账户ID(买方)
  14485. type: integer
  14486. conditionvalue:
  14487. description: 条件阈值(可为0)
  14488. type: number
  14489. couponcategroy:
  14490. description: 种类 - 1:现金券 2:折扣券
  14491. type: integer
  14492. couponname:
  14493. description: 优惠券名称
  14494. type: string
  14495. coupontypeid:
  14496. description: 优惠券类型ID(买方)
  14497. type: string
  14498. couponvalue:
  14499. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  14500. type: number
  14501. createtime:
  14502. description: 创建时间
  14503. type: string
  14504. goodsid:
  14505. description: 商品ID
  14506. type: integer
  14507. handlestatus:
  14508. description: 处理状态
  14509. type: integer
  14510. marketid:
  14511. description: 市场ID
  14512. type: integer
  14513. offamount:
  14514. description: 优惠金额
  14515. type: number
  14516. orderid:
  14517. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14518. type: string
  14519. sellaccountid:
  14520. description: 资金账户ID(卖方)
  14521. type: integer
  14522. tradeamount:
  14523. description: 成交金额
  14524. type: number
  14525. tradeid:
  14526. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14527. type: string
  14528. usedqty:
  14529. description: 使用数量
  14530. type: integer
  14531. required:
  14532. - coupontypeid
  14533. - orderid
  14534. type: object
  14535. models.MyWRPosition:
  14536. properties:
  14537. cerno:
  14538. description: 证书编号 - 类型:2,4,5
  14539. type: string
  14540. cpcertno:
  14541. description: 金伯利证书编号 - 类型:3
  14542. type: string
  14543. ffreezeqty:
  14544. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  14545. type: number
  14546. ftotalqty:
  14547. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  14548. type: number
  14549. goodsno:
  14550. description: 商品编号
  14551. type: string
  14552. imagepath:
  14553. description: 商品照片(相对地址)
  14554. type: string
  14555. isvalid:
  14556. description: 是否有效 - 0:无效 1:有效
  14557. type: integer
  14558. kppath:
  14559. description: 金伯利证书图片(相对地址) - 类型:3
  14560. type: string
  14561. kpweight:
  14562. description: 金伯利证书重量 - 类型:3
  14563. type: string
  14564. ladingbillid:
  14565. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14566. type: string
  14567. marketflag:
  14568. description: 是否上架,0-全部 1-是 2-否
  14569. type: integer
  14570. marketprice:
  14571. description: 市场价
  14572. type: string
  14573. origin:
  14574. description: 原产地 - 类型:3
  14575. type: string
  14576. price:
  14577. description: 总价(价格) - 类型:1,2,3,4,5
  14578. type: number
  14579. priceper:
  14580. description: 克拉单价 - 类型:1,2,3,5
  14581. type: string
  14582. remark:
  14583. description: 备注
  14584. type: string
  14585. sellmobile:
  14586. description: 手机号码(加密存储)
  14587. type: string
  14588. sellusername:
  14589. description: 账户名称(机构名称)
  14590. type: string
  14591. settingmaterial:
  14592. description: 镶嵌材料 - 类型:4
  14593. type: string
  14594. size1:
  14595. description: 尺寸1 - 类型:2,4,5
  14596. type: string
  14597. size2:
  14598. description: 尺寸2 - 类型:2,4,5
  14599. type: string
  14600. size3:
  14601. description: 尺寸3 - 类型:2,4,5
  14602. type: string
  14603. sizedisplay:
  14604. description: 尺寸
  14605. type: string
  14606. stonedesc:
  14607. description: 配石描述 - 类型:4
  14608. type: string
  14609. subnum:
  14610. description: 提单子单号
  14611. type: integer
  14612. userid:
  14613. description: 用户ID
  14614. type: integer
  14615. warehouseid:
  14616. description: 仓库ID
  14617. type: integer
  14618. warehousenamedisplay:
  14619. type: string
  14620. weight:
  14621. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  14622. type: number
  14623. weightavg:
  14624. description: 平均单颗重量 - 类型:1,3
  14625. type: number
  14626. wrpath:
  14627. description: 仓单扫描件(相对地址)
  14628. type: string
  14629. wrstandardid:
  14630. description: 现货商品ID
  14631. type: integer
  14632. wrtradeorderid:
  14633. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14634. type: string
  14635. wruserid:
  14636. description: 登录用户ID
  14637. type: integer
  14638. zscategory:
  14639. description: 钻石分类 - 枚举”ZSCategory“
  14640. type: integer
  14641. zscategorydisplay:
  14642. type: string
  14643. zscerttype:
  14644. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  14645. type: integer
  14646. zscerttypedisplay:
  14647. type: string
  14648. zsclaritytype1:
  14649. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  14650. type: integer
  14651. zsclaritytype1display:
  14652. type: string
  14653. zsclaritytype2:
  14654. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  14655. type: integer
  14656. zsclaritytype2display:
  14657. type: string
  14658. zscolortype1:
  14659. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  14660. type: integer
  14661. zscolortype1display:
  14662. type: string
  14663. zscolortype2:
  14664. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  14665. type: integer
  14666. zscolortype2display:
  14667. type: string
  14668. zscrystaltype:
  14669. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  14670. type: string
  14671. zscrystaltypedisplay:
  14672. type: string
  14673. zscurrencytype:
  14674. description: 货币类型 - 枚举“ZSCurrencyType”
  14675. type: integer
  14676. zscurrencytypedisplay:
  14677. type: string
  14678. zscurrencytypedisplayunit:
  14679. type: string
  14680. zscuttype1:
  14681. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  14682. type: integer
  14683. zscuttype1display:
  14684. type: string
  14685. zscuttype2:
  14686. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  14687. type: integer
  14688. zscuttype2display:
  14689. type: string
  14690. zsczcolor1type:
  14691. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  14692. type: integer
  14693. zsczcolor1typedisplay:
  14694. type: string
  14695. zsczcolor2type:
  14696. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  14697. type: integer
  14698. zsczcolor2typedisplay:
  14699. type: string
  14700. zsczcolor3type:
  14701. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  14702. type: integer
  14703. zsczcolor3typedisplay:
  14704. type: string
  14705. zsfluorescencetype1:
  14706. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  14707. type: integer
  14708. zsfluorescencetype1display:
  14709. type: string
  14710. zsfluorescencetype2:
  14711. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  14712. type: integer
  14713. zsfluorescencetype2display:
  14714. type: string
  14715. zspolishtype1:
  14716. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  14717. type: integer
  14718. zspolishtype1display:
  14719. type: string
  14720. zspolishtype2:
  14721. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  14722. type: integer
  14723. zspolishtype2display:
  14724. type: string
  14725. zsshapetype:
  14726. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  14727. type: string
  14728. zsshapetypedisplay:
  14729. type: string
  14730. zsstyletype:
  14731. description: 款式 - 类型:4
  14732. type: integer
  14733. zsstyletypedisplay:
  14734. type: string
  14735. zssymmetrytype1:
  14736. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  14737. type: integer
  14738. zssymmetrytype1display:
  14739. type: string
  14740. zssymmetrytype2:
  14741. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  14742. type: integer
  14743. zssymmetrytype2display:
  14744. type: string
  14745. required:
  14746. - wruserid
  14747. type: object
  14748. models.NewFuncmenulist:
  14749. properties:
  14750. authtype:
  14751. description: 权限类型 - 1:菜单 2:组件 3:按钮
  14752. type: integer
  14753. buttonname:
  14754. description: 按钮名称
  14755. type: string
  14756. buttontype:
  14757. description: 按钮类型 - 存按钮样式
  14758. type: string
  14759. component:
  14760. description: 组件名或组件地址
  14761. type: string
  14762. hidden:
  14763. description: 是否隐藏 - 0:显示 1:隐藏
  14764. type: integer
  14765. iconame:
  14766. description: 菜单图标
  14767. type: string
  14768. menutype:
  14769. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  14770. type: integer
  14771. parentcode:
  14772. description: 上级资源代码
  14773. type: string
  14774. remark:
  14775. description: Remark
  14776. type: string
  14777. resourcecode:
  14778. description: 资源代码
  14779. type: string
  14780. resourcelevel:
  14781. description: 级别1-一级 2-二级 3-三级4-四级
  14782. type: integer
  14783. resourcename:
  14784. description: 资源名(Title)
  14785. type: string
  14786. sort:
  14787. description: 排序
  14788. type: integer
  14789. url:
  14790. description: Url
  14791. type: string
  14792. urltype:
  14793. description: 地址类型 - 1:路由 2:外链 3:内联框架
  14794. type: integer
  14795. required:
  14796. - resourcecode
  14797. type: object
  14798. models.OperationPrimaryMenu:
  14799. properties:
  14800. Children:
  14801. description: 二级功能菜单
  14802. items:
  14803. $ref: '#/definitions/models.OperationSecondaryMenu'
  14804. type: array
  14805. Key:
  14806. description: 菜单KEY
  14807. type: string
  14808. Label:
  14809. description: 菜单标题
  14810. type: string
  14811. type: object
  14812. models.OperationSecondaryMenu:
  14813. properties:
  14814. Key:
  14815. description: 菜单KEY
  14816. type: string
  14817. Label:
  14818. description: 菜单标题
  14819. type: string
  14820. TabList:
  14821. description: 三级功能菜单
  14822. items:
  14823. $ref: '#/definitions/models.OperationTabMenu'
  14824. type: array
  14825. type: object
  14826. models.OperationTabMenu:
  14827. properties:
  14828. Key:
  14829. description: 菜单KEY
  14830. type: string
  14831. Label:
  14832. description: 菜单标题
  14833. type: string
  14834. type: object
  14835. models.Patradelinkdetail:
  14836. properties:
  14837. accountname:
  14838. description: 套期主体
  14839. type: string
  14840. agreeunit:
  14841. description: 合约乘数
  14842. type: number
  14843. amount:
  14844. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  14845. type: number
  14846. areauserid:
  14847. description: 所属机构
  14848. type: integer
  14849. bizsubjectid:
  14850. description: 归属业务部门ID - SubjectID
  14851. type: integer
  14852. buyorsell:
  14853. description: 方向 - 0:买 1:卖
  14854. type: integer
  14855. convertratio:
  14856. description: 品种系数
  14857. type: number
  14858. convertratiochange:
  14859. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  14860. type: number
  14861. createtime:
  14862. description: '[日期时间]创建时间'
  14863. type: string
  14864. creatorid:
  14865. description: 创建人ID
  14866. type: integer
  14867. creatorsrc:
  14868. description: 创建人来源 - 1:管理端 2:终端 3:交易
  14869. type: integer
  14870. goodscode:
  14871. description: 商品代码(内部)
  14872. type: string
  14873. goodsgroupid:
  14874. description: 对冲品种ID[期货合约商品组ID]
  14875. type: integer
  14876. goodsid:
  14877. description: 商品ID
  14878. type: integer
  14879. hedgeditemid:
  14880. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  14881. type: integer
  14882. hedgeflag:
  14883. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  14884. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  14885. type: integer
  14886. linkdetailid:
  14887. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  14888. type: string
  14889. linkstatus:
  14890. description: 关联状态 - 1:成功 2:失败 3:解绑
  14891. type: integer
  14892. middlegoodsid:
  14893. description: 套保品种ID
  14894. type: integer
  14895. name:
  14896. description: 账户名/子账户
  14897. type: string
  14898. optioncode:
  14899. description: '[期货合约]期权代码 [期权]'
  14900. type: string
  14901. ordertype:
  14902. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  14903. type: integer
  14904. relatedlot:
  14905. description: '[数量]关联手数'
  14906. type: number
  14907. relatedmode:
  14908. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  14909. type: integer
  14910. relatedqty:
  14911. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  14912. type: number
  14913. retcode:
  14914. description: 返回码
  14915. type: integer
  14916. saleuserid:
  14917. description: 业务员ID
  14918. type: integer
  14919. tradedate:
  14920. description: 关联交易日(yyyyMMdd)
  14921. type: string
  14922. tradeid:
  14923. description: '[成交单号]内部成交单ID'
  14924. type: string
  14925. tradelot:
  14926. description: 成交手数
  14927. type: integer
  14928. tradeprice:
  14929. description: '[价格]成交价格'
  14930. type: number
  14931. tradetradedate:
  14932. description: 成交交易日(yyyyMMdd)
  14933. type: string
  14934. type: object
  14935. models.PromotionIncome:
  14936. properties:
  14937. profitmonth:
  14938. description: 时间
  14939. type: string
  14940. profitstatus:
  14941. description: 状态 - 1:已支付 2:未支付 3:支取中
  14942. type: integer
  14943. sumamount:
  14944. description: 金额
  14945. type: number
  14946. type: object
  14947. models.PromotionIncomeDetail:
  14948. properties:
  14949. buyorsell:
  14950. description: 方向
  14951. type: string
  14952. market:
  14953. description: 市场
  14954. type: string
  14955. profitamount:
  14956. description: 金额
  14957. type: number
  14958. profitroletype:
  14959. description: 级别
  14960. type: string
  14961. tradetime:
  14962. description: 时间
  14963. type: string
  14964. wrstandardcode:
  14965. description: 现货商品代码
  14966. type: string
  14967. wrstandardid:
  14968. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14969. type: integer
  14970. wrstandardname:
  14971. description: 现货商品名称
  14972. type: string
  14973. type: object
  14974. models.PurchaseTransfer:
  14975. properties:
  14976. pictureurls:
  14977. description: 详情图片(逗号分隔)
  14978. type: string
  14979. refgoodsid:
  14980. description: 参考商品ID
  14981. type: integer
  14982. thumurls:
  14983. description: 缩略图片(1:1)(逗号分隔)
  14984. type: string
  14985. unitid:
  14986. description: 现货商品单位ID
  14987. type: integer
  14988. wrstandardcode:
  14989. description: 现货商品代码
  14990. type: string
  14991. wrstandardid:
  14992. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14993. type: integer
  14994. wrstandardname:
  14995. description: 现货商品名称(模糊查询)
  14996. type: string
  14997. type: object
  14998. models.QhjAccountOutInApply:
  14999. properties:
  15000. accountcode:
  15001. description: 资金账号
  15002. type: string
  15003. accountname:
  15004. description: 用户名称(名称)
  15005. type: string
  15006. accountpwd:
  15007. description: 资金密码
  15008. type: string
  15009. accountticket:
  15010. description: 最新账户服务流水号
  15011. type: string
  15012. amount:
  15013. description: 金额
  15014. type: number
  15015. applyremark:
  15016. description: 申请备注
  15017. type: string
  15018. applystatus:
  15019. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  15020. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  15021. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  15022. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  15023. type: integer
  15024. auditid:
  15025. description: 审核人
  15026. type: integer
  15027. audittime:
  15028. description: 审核时间
  15029. type: string
  15030. bank_apply_ticket:
  15031. description: 银行申请流水
  15032. type: string
  15033. bankaccountname:
  15034. description: 银行账户名
  15035. type: string
  15036. bankaccountno:
  15037. description: 银行卡号
  15038. type: string
  15039. bankid:
  15040. description: 银行编号
  15041. type: string
  15042. bankticket:
  15043. description: 银行流水
  15044. type: string
  15045. branchbankid:
  15046. description: 银行支行号
  15047. type: string
  15048. branchbankname:
  15049. description: 银行支行名称
  15050. type: string
  15051. capamountout:
  15052. description: 出金(劣后本金) - 外部子账户
  15053. type: number
  15054. certificatephotourl:
  15055. description: 凭证地址
  15056. type: string
  15057. charge:
  15058. description: 手续费
  15059. type: number
  15060. checkerrorflag:
  15061. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  15062. type: integer
  15063. currency:
  15064. description: 币种
  15065. type: string
  15066. cusbankid:
  15067. description: 托管银行编号
  15068. type: string
  15069. cusbankname:
  15070. description: 托管银行名称
  15071. type: string
  15072. cusbankshortname:
  15073. description: 托管银行简称
  15074. type: string
  15075. exchticket:
  15076. description: 银行服务流水号
  15077. type: string
  15078. executetype:
  15079. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  15080. 7:外部子账户:入金 8:外部子账户:出金'
  15081. type: integer
  15082. extendinfo:
  15083. description: 扩展信息
  15084. type: string
  15085. extoperateid:
  15086. description: 交易服务流水号
  15087. type: integer
  15088. infamount:
  15089. description: 劣后金额(自有)
  15090. type: number
  15091. logincode:
  15092. description: 登录账号(账号)
  15093. type: string
  15094. netaddr:
  15095. description: 调转网址
  15096. type: string
  15097. priamount:
  15098. description: 优先金额(授信)
  15099. type: number
  15100. reauditid:
  15101. description: 复审人
  15102. type: integer
  15103. reauditremark:
  15104. description: 复审备注
  15105. type: string
  15106. reaudittime:
  15107. description: 复审时间
  15108. type: string
  15109. relatedorderid:
  15110. description: 三方关联ID
  15111. type: string
  15112. remark:
  15113. description: 备注
  15114. type: string
  15115. remark2:
  15116. description: 备注(失败原因)
  15117. type: string
  15118. soucreamount:
  15119. description: 原始出入金金额
  15120. type: number
  15121. soucrecurrencyid:
  15122. description: 原始出入金币种
  15123. type: integer
  15124. tradedate:
  15125. description: 交易日(yyyyMMdd)
  15126. type: string
  15127. updatetime:
  15128. description: 更新时间(申请时间)
  15129. type: string
  15130. userid:
  15131. description: 用户id
  15132. type: integer
  15133. userinfotype:
  15134. description: 账户类型 1-个人 2-企业
  15135. type: integer
  15136. type: object
  15137. models.QhjAgreementChangeLog:
  15138. properties:
  15139. agreementcontent:
  15140. description: 协议内容
  15141. type: string
  15142. agreementfrequency:
  15143. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  15144. type: integer
  15145. agreementid:
  15146. description: 协议ID
  15147. type: integer
  15148. agreementname:
  15149. description: 协议名称
  15150. type: string
  15151. agreementno:
  15152. description: 协议编号
  15153. type: string
  15154. agreementtype:
  15155. description: 协议类型 - 1:注册 2:登录 3:交易
  15156. type: integer
  15157. agreementversion:
  15158. description: 协议版本号
  15159. type: integer
  15160. logid:
  15161. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  15162. type: integer
  15163. reviserid:
  15164. description: 修改人
  15165. type: integer
  15166. revisersrc:
  15167. description: 修改来源 - 1:管理端 2:终端
  15168. type: integer
  15169. updatetime:
  15170. description: 更新时间
  15171. type: string
  15172. type: object
  15173. models.QhjAgreementConfig:
  15174. properties:
  15175. agreementcontent:
  15176. description: 协议内容
  15177. type: string
  15178. agreementfrequency:
  15179. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  15180. type: integer
  15181. agreementid:
  15182. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  15183. type: integer
  15184. agreementname:
  15185. description: 协议名称
  15186. type: string
  15187. agreementno:
  15188. description: 协议编号
  15189. type: string
  15190. agreementtype:
  15191. description: 协议类型 - 1:注册 2:登录 3:交易
  15192. type: integer
  15193. agreementversion:
  15194. description: 协议版本号(从1开始每次修改加1)
  15195. type: integer
  15196. createtime:
  15197. description: 创建时间
  15198. type: string
  15199. creatorid:
  15200. description: 创建人
  15201. type: integer
  15202. creatorsrc:
  15203. description: 创建来源 - 1:管理端 2:终端
  15204. type: integer
  15205. isvalid:
  15206. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  15207. type: integer
  15208. reviserid:
  15209. description: 修改人
  15210. type: integer
  15211. revisersrc:
  15212. description: 修改来源 - 1:管理端 2:终端
  15213. type: integer
  15214. updatetime:
  15215. description: 更新时间
  15216. type: string
  15217. type: object
  15218. models.QhjAreaFinanceConfig:
  15219. properties:
  15220. additionalratio:
  15221. description: 追加款比例
  15222. type: number
  15223. advanceratio:
  15224. description: 预付款比例
  15225. type: number
  15226. alarmratio:
  15227. description: 告警比例
  15228. type: number
  15229. consumptiondirectreward:
  15230. description: 消费直推奖励值
  15231. type: number
  15232. consumptionenabled:
  15233. description: 是否启用消费奖励 - 0:不启用 1:启用
  15234. type: integer
  15235. consumptionindirectreward:
  15236. description: 消费间推奖励值
  15237. type: number
  15238. consumptionmodel:
  15239. description: 消费奖励方式 - 1:比率 2:固定
  15240. type: integer
  15241. customerservicenum:
  15242. description: 客服电话
  15243. type: string
  15244. dayinterestrate:
  15245. description: 日利率
  15246. type: number
  15247. disableconsumptiontips:
  15248. description: 关闭消费奖励提示
  15249. type: string
  15250. modifierid:
  15251. description: 修改人ID
  15252. type: integer
  15253. modifysrc:
  15254. description: 审核来源 - 1:管理端 2:终端
  15255. type: integer
  15256. modifytime:
  15257. description: 修改时间
  15258. type: string
  15259. promotionvalue:
  15260. description: 推广奖励值(固定)
  15261. type: number
  15262. scoreconfigvalue1:
  15263. description: 提货积分配置1
  15264. type: integer
  15265. scoreconfigvalue2:
  15266. description: 提货积分配置2
  15267. type: integer
  15268. userid:
  15269. description: 机构用户ID其他做市关系,都设置为 1
  15270. type: integer
  15271. username:
  15272. description: 用户名称
  15273. type: string
  15274. type: object
  15275. models.QhjBankAccountSign:
  15276. properties:
  15277. accountcode:
  15278. description: 资金账号
  15279. type: string
  15280. accountname:
  15281. description: 资金账号对应的账号名(UserName)
  15282. type: string
  15283. accountname2:
  15284. description: 资金账号对应的账号名(UserName) - 密文
  15285. type: string
  15286. accounttype:
  15287. description: 账户类型(UserType)
  15288. type: integer
  15289. applicationtime:
  15290. description: 最后一次更新的时间
  15291. type: string
  15292. applyexchticket:
  15293. description: 申请流水
  15294. type: string
  15295. auditid:
  15296. description: 审核人
  15297. type: integer
  15298. audittime:
  15299. description: 审核时间
  15300. type: string
  15301. bankaccountname:
  15302. description: 签约银行卡账号名
  15303. type: string
  15304. bankaccountname2:
  15305. description: 签约银行卡账号名 - 密文
  15306. type: string
  15307. bankaccountno:
  15308. description: 银行卡号
  15309. type: string
  15310. bankaccountno2:
  15311. description: 银行卡号 - 密文
  15312. type: string
  15313. bankaccounttype:
  15314. description: 银行账户类型 - 1-对私; 2-对公
  15315. type: integer
  15316. bankcardtype:
  15317. description: 银行卡类型
  15318. type: integer
  15319. bankchildaccount:
  15320. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  15321. type: string
  15322. bankcity:
  15323. description: 开户行城市
  15324. type: string
  15325. bankid:
  15326. description: 签约银行ID
  15327. type: string
  15328. bankname:
  15329. description: 签约银行名称
  15330. type: string
  15331. bankprovince:
  15332. description: 开户行省份
  15333. type: string
  15334. branchbankid:
  15335. description: 签约银行支行号
  15336. type: string
  15337. branchbankname:
  15338. description: 签约银行支行名称
  15339. type: string
  15340. cardno:
  15341. description: 证件号码
  15342. type: string
  15343. cardno2:
  15344. description: 证件号码 - 密文
  15345. type: string
  15346. cardtype:
  15347. description: 证件类型
  15348. type: string
  15349. currency:
  15350. description: 币种
  15351. type: string
  15352. cusbankid:
  15353. description: 托管银行编号
  15354. type: string
  15355. cusbankname:
  15356. description: 托管银行名称
  15357. type: string
  15358. direct:
  15359. description: 方向(可以判断那方先发起的签约)
  15360. type: integer
  15361. exchticket:
  15362. description: 最后一次签约成功的流水号
  15363. type: string
  15364. extendinfo:
  15365. description: 扩展信息(JSON字符串)
  15366. type: string
  15367. mobilephone:
  15368. description: 手机号
  15369. type: string
  15370. mobilephone2:
  15371. description: 手机号 - 密文
  15372. type: string
  15373. netaddr:
  15374. description: 调转网址
  15375. type: string
  15376. relateduserid:
  15377. description: 关联使用者userid
  15378. type: integer
  15379. signstatus:
  15380. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15381. 10:审核拒绝 11:换签待审核
  15382. type: integer
  15383. updatetime:
  15384. description: 更新时间(签解约更新时间)
  15385. type: string
  15386. type: object
  15387. models.QhjBankInfo:
  15388. properties:
  15389. bankid:
  15390. description: 银行ID
  15391. type: string
  15392. bankname:
  15393. description: 银行名称
  15394. type: string
  15395. clearbankno:
  15396. description: 清算系统银行编号
  15397. type: string
  15398. orderindex:
  15399. description: 排序顺序
  15400. type: integer
  15401. status:
  15402. description: 状态 - 0:正常 1:注销
  15403. type: integer
  15404. type: object
  15405. models.QhjBrokerApply:
  15406. properties:
  15407. applicantid:
  15408. description: 申请人
  15409. type: integer
  15410. applysrc:
  15411. description: 申请来源 - 1:管理端 2:终端
  15412. type: integer
  15413. applystatus:
  15414. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15415. type: integer
  15416. applytime:
  15417. description: 申请时间
  15418. type: string
  15419. auditorid:
  15420. description: 审核人
  15421. type: integer
  15422. auditremark:
  15423. description: 审核备注
  15424. type: string
  15425. auditsrc:
  15426. description: 审核来源 - 1:管理端 2:终端
  15427. type: integer
  15428. audittime:
  15429. description: 审核时间
  15430. type: string
  15431. audittradedate:
  15432. description: 审核交易日(yyyyMMdd)
  15433. type: string
  15434. brokerapplyid:
  15435. description: 申请ID(SEQ_BROKERAPPLY)
  15436. type: integer
  15437. cardbackphotourl:
  15438. description: 证件背面图片地址
  15439. type: string
  15440. cardfrontphotourl:
  15441. description: 证件正面图片地址
  15442. type: string
  15443. cardnum:
  15444. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  15445. type: string
  15446. customername:
  15447. description: 姓名
  15448. type: string
  15449. logincode:
  15450. description: 登录代码
  15451. type: string
  15452. mobile:
  15453. description: 手机号码
  15454. type: string
  15455. parentuserid:
  15456. description: 所属机构id
  15457. type: integer
  15458. parentusername:
  15459. description: 所属机构名称
  15460. type: string
  15461. refereeuserid:
  15462. description: 推荐人id(经纪人)
  15463. type: integer
  15464. refernum:
  15465. description: 推荐码
  15466. type: string
  15467. remark:
  15468. description: 备注
  15469. type: string
  15470. subarealevelpath:
  15471. description: 层级路径
  15472. type: string
  15473. tradedate:
  15474. description: 交易日(yyyyMMdd)
  15475. type: string
  15476. userid:
  15477. description: 申请人用户ID
  15478. type: integer
  15479. userinfotype:
  15480. description: 用户类型 1-个人 2-企业
  15481. type: integer
  15482. username:
  15483. description: 用户名称
  15484. type: string
  15485. type: object
  15486. models.QhjBrokerApplyEx:
  15487. properties:
  15488. applylist:
  15489. description: 经纪人申请记录(只返回最新一条)
  15490. items:
  15491. $ref: '#/definitions/models.QhjBrokerApply'
  15492. type: array
  15493. canrecommend:
  15494. description: 是否经纪人 0-不是 1-是
  15495. type: integer
  15496. refernum:
  15497. description: 推荐码
  15498. type: string
  15499. userid:
  15500. description: 用户id
  15501. type: integer
  15502. userinfotype:
  15503. description: 用户类型 1-个人 2-企业
  15504. type: integer
  15505. type: object
  15506. models.QhjBrokerRewardLog:
  15507. properties:
  15508. accountid:
  15509. description: 资金账号ID
  15510. type: integer
  15511. createtime:
  15512. description: 创建时间(时间)
  15513. type: string
  15514. handlestatus:
  15515. description: 处理状态
  15516. type: integer
  15517. logid:
  15518. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15519. type: string
  15520. marketid:
  15521. description: 市场ID
  15522. type: integer
  15523. mmaccountid:
  15524. description: 做市商资金账号ID
  15525. type: string
  15526. mmuserid:
  15527. description: 做市商用户ID
  15528. type: string
  15529. rewardamount:
  15530. description: 奖励金额
  15531. type: number
  15532. rewardmodel:
  15533. description: 消费奖励方式 - 1:比率 2:固定
  15534. type: integer
  15535. rewardtype:
  15536. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  15537. type: integer
  15538. rewardvalue:
  15539. description: 配置奖励值
  15540. type: number
  15541. srcamount:
  15542. description: 成交金额 [消费奖励] (金额)
  15543. type: number
  15544. srcgoodsid:
  15545. description: 来源商品ID [消费奖励]
  15546. type: string
  15547. srctime:
  15548. description: 来源时间 (成交时间) [消费奖励]
  15549. type: string
  15550. srctradeid:
  15551. description: 来源成交单ID [消费奖励] - 排除提货成交
  15552. type: string
  15553. srcuserid:
  15554. description: 来源用户ID(推广账户)
  15555. type: string
  15556. srcusername:
  15557. description: 推广账户名称
  15558. type: string
  15559. tradedate:
  15560. description: 交易日(yyyyMMdd)
  15561. type: string
  15562. userid:
  15563. description: 经纪人用户ID
  15564. type: integer
  15565. type: object
  15566. models.QhjContract:
  15567. properties:
  15568. contractconfirmtime:
  15569. description: 合同确认时间(时间)
  15570. type: string
  15571. currisklevel:
  15572. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15573. type: integer
  15574. decimalplace:
  15575. description: 商品报价小数位
  15576. type: integer
  15577. enumdicname:
  15578. description: 单位名称
  15579. type: string
  15580. goodscode:
  15581. description: 商品代码
  15582. type: string
  15583. goodsid:
  15584. description: 商品ID [5:融资单]
  15585. type: integer
  15586. goodsname:
  15587. description: 商品名称
  15588. type: string
  15589. goodunitid:
  15590. description: 商品单位id
  15591. type: integer
  15592. initmargin:
  15593. description: 初始保证金(首付款)
  15594. type: number
  15595. lenderamount:
  15596. description: 贷款金额(总额|订单总额)
  15597. type: number
  15598. marginratio:
  15599. description: 保证金比率(首付比例)
  15600. type: number
  15601. payamount:
  15602. description: 已付(已付货款)
  15603. type: number
  15604. reckonrecovermargin:
  15605. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15606. type: number
  15607. recoveredmargin:
  15608. description: 已追缴保证金
  15609. type: number
  15610. remainamount:
  15611. description: 合同剩余金额(融资额)
  15612. type: number
  15613. scfcontractid:
  15614. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15615. type: string
  15616. scfcontractstatus:
  15617. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15618. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15619. type: integer
  15620. scfcontracttype:
  15621. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15622. type: integer
  15623. totalinterest:
  15624. description: 已计总利息(利息)
  15625. type: number
  15626. tradeprice:
  15627. description: 成交价格(成本价格)
  15628. type: number
  15629. userid:
  15630. description: 用户ID
  15631. type: integer
  15632. username:
  15633. description: 用户名称
  15634. type: string
  15635. wrqty:
  15636. description: 仓单数量(数量)
  15637. type: number
  15638. type: object
  15639. models.QhjContractLog:
  15640. properties:
  15641. amount:
  15642. description: 支付金额
  15643. type: number
  15644. amounttype:
  15645. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  15646. type: integer
  15647. logid:
  15648. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15649. type: string
  15650. remainamount:
  15651. description: 剩余货款
  15652. type: number
  15653. scfcontractid:
  15654. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15655. type: integer
  15656. updatetime:
  15657. description: 更新时间
  15658. type: string
  15659. type: object
  15660. models.QhjCusBankSignBankEx:
  15661. properties:
  15662. banklst:
  15663. description: 银行列表
  15664. items:
  15665. $ref: '#/definitions/models.QhjBankInfo'
  15666. type: array
  15667. canallot:
  15668. description: 是否支持跨行调拨 - 0:不支持 1:支持
  15669. type: integer
  15670. canallotquery:
  15671. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  15672. type: integer
  15673. canbindcard:
  15674. description: 是否可绑卡与解卡 - 0:不可 1:可以
  15675. type: integer
  15676. caninamount:
  15677. description: 是否可入金 - 0:不可 1:可以
  15678. type: integer
  15679. caninamount2:
  15680. description: 是否可入金(网银端) - 0:不可 1:可以
  15681. type: integer
  15682. canmodifybankcard:
  15683. description: 是否可修改银行卡号 - 0:不可 1:可以
  15684. type: integer
  15685. canmodifyphone:
  15686. description: 是否可修改手机号 - 0:不可 1:可以
  15687. type: integer
  15688. canmodifysigninfo:
  15689. description: 是否可修改签约信息 - 0:不可 1:可以
  15690. type: integer
  15691. canoutamount:
  15692. description: 是否可出金 - 0:不可 1:可以
  15693. type: integer
  15694. canoutamount2:
  15695. description: 是否可出金(网银端) - 0:不可 1:可以
  15696. type: integer
  15697. canrelease:
  15698. description: 是否可解约 - 0:不可 1:可以
  15699. type: integer
  15700. canrelease2:
  15701. description: 是否可解约(网银端) - 0:不可 1:可以
  15702. type: integer
  15703. cansign:
  15704. description: 是否可签约 - 0:不可 1:可以
  15705. type: integer
  15706. cansign2:
  15707. description: 是否可签约(网银端) - 0:不可 1:可以
  15708. type: integer
  15709. currency:
  15710. description: 币种
  15711. type: string
  15712. cusbankid:
  15713. description: 托管银行编号(对应清算中心TRAN_NO)
  15714. type: string
  15715. cusbankname:
  15716. description: 银行业务名称
  15717. type: string
  15718. cusbankshortname:
  15719. description: 银行业务简称
  15720. type: string
  15721. exchbankid:
  15722. description: 交易所开户银行ID
  15723. type: string
  15724. exchpaybankaccname:
  15725. description: 交易所支出结算账户户名
  15726. type: string
  15727. exchpaybankaccno:
  15728. description: 交易所支出结算账户
  15729. type: string
  15730. isneedcheck:
  15731. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  15732. type: integer
  15733. isneedclear:
  15734. description: 是否需要清算 - 0:不需要 1:需要
  15735. type: integer
  15736. lastcheckstatus:
  15737. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  15738. type: integer
  15739. lastchecktime:
  15740. description: 最后对账时间
  15741. type: string
  15742. lastclearstatus:
  15743. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  15744. type: integer
  15745. lastcleartime:
  15746. description: 最后清算时间
  15747. type: string
  15748. lastsignintime:
  15749. description: 最后签到时间
  15750. type: string
  15751. lastsignouttime:
  15752. description: 最后签退时间
  15753. type: string
  15754. riskinfo:
  15755. description: 签约风险提示书
  15756. type: string
  15757. signstatus:
  15758. description: 当前签到/签退状态 - 1:签到 2:签退
  15759. type: integer
  15760. tradedate:
  15761. description: 交易日(yyyyMMdd)
  15762. type: string
  15763. updatetime:
  15764. description: 当前签到/签退更新时间
  15765. type: string
  15766. type: object
  15767. models.QhjCustomer:
  15768. properties:
  15769. address:
  15770. description: 通讯地址
  15771. type: string
  15772. attachment1:
  15773. description: 附件1
  15774. type: string
  15775. attachment2:
  15776. description: 附件2
  15777. type: string
  15778. audittime:
  15779. description: 审核时间
  15780. type: string
  15781. cardbackphotourl:
  15782. description: 证件反面图片地址
  15783. type: string
  15784. cardfrontphotourl:
  15785. description: 证件正面图片地址
  15786. type: string
  15787. cardnum:
  15788. description: 证件号码
  15789. type: string
  15790. cardtype:
  15791. description: 证件类型
  15792. type: integer
  15793. cardtypename:
  15794. description: 证件类型名称
  15795. type: string
  15796. cityid:
  15797. description: 市
  15798. type: integer
  15799. cityname:
  15800. description: 城市名称
  15801. type: string
  15802. contactname:
  15803. description: 联系人
  15804. type: string
  15805. countryid:
  15806. description: 国家
  15807. type: integer
  15808. countryname:
  15809. description: 国家名称
  15810. type: string
  15811. createtime:
  15812. description: 创建时间
  15813. type: string
  15814. customername:
  15815. description: 客户名称
  15816. type: string
  15817. districtid:
  15818. description: 区域
  15819. type: integer
  15820. districtname:
  15821. description: 地区名称
  15822. type: string
  15823. email:
  15824. description: 邮件
  15825. type: string
  15826. legalpersonname:
  15827. description: 法人姓名(企业)
  15828. type: string
  15829. logincode:
  15830. description: 登录账号(代码)
  15831. type: string
  15832. memberuserid:
  15833. description: 所属机构ID(所属会员)
  15834. type: integer
  15835. memberusername:
  15836. description: 所属会员名称
  15837. type: string
  15838. mobile:
  15839. description: 手机号码
  15840. type: string
  15841. modifytime:
  15842. description: 修改时间
  15843. type: string
  15844. nickname:
  15845. description: 昵称
  15846. type: string
  15847. parentuserid:
  15848. description: 上级机构(所属机构)
  15849. type: integer
  15850. parentusername:
  15851. description: 所属机构名称
  15852. type: string
  15853. provinceid:
  15854. description: 省
  15855. type: integer
  15856. provincename:
  15857. description: 省名称
  15858. type: string
  15859. proxystatementurl:
  15860. description: 授权委托书
  15861. type: string
  15862. remark:
  15863. description: 备注
  15864. type: string
  15865. status:
  15866. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  15867. type: integer
  15868. statusdesc:
  15869. description: 账户状态中文描述
  15870. type: string
  15871. taxpayernum:
  15872. description: 纳税人识别号
  15873. type: string
  15874. telphone:
  15875. description: 联系电话
  15876. type: string
  15877. userid:
  15878. description: 用户ID
  15879. type: integer
  15880. userinfotype:
  15881. description: 客户类型 1-个人 2-企业
  15882. type: integer
  15883. username:
  15884. description: 用户名称
  15885. type: string
  15886. type: object
  15887. models.QhjCustomerSignLog:
  15888. properties:
  15889. agreementcontent:
  15890. description: 协议内容
  15891. type: string
  15892. agreementid:
  15893. description: 协议ID
  15894. type: integer
  15895. agreementname:
  15896. description: 协议名称
  15897. type: string
  15898. agreementno:
  15899. description: 协议编号
  15900. type: string
  15901. agreementtype:
  15902. description: 协议类型 - 1:注册 2:登录 3:交易
  15903. type: integer
  15904. agreementversion:
  15905. description: 协议版本号
  15906. type: integer
  15907. createtime:
  15908. description: 创建时间
  15909. type: string
  15910. goodscode:
  15911. description: 商品代码
  15912. type: string
  15913. goodsid:
  15914. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15915. type: integer
  15916. goodsname:
  15917. description: 商品名称
  15918. type: string
  15919. logid:
  15920. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  15921. type: integer
  15922. nodetype:
  15923. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15924. type: integer
  15925. signadressurl:
  15926. description: 签约文件地址
  15927. type: string
  15928. signtimestamp:
  15929. description: 签约状态时间戳
  15930. type: string
  15931. userid:
  15932. description: 客户ID
  15933. type: integer
  15934. username:
  15935. description: 客户名称
  15936. type: string
  15937. type: object
  15938. models.QhjCustomerSignStatus:
  15939. properties:
  15940. createtime:
  15941. description: 创建时间
  15942. type: string
  15943. goodscode:
  15944. description: 商品代码
  15945. type: string
  15946. goodsid:
  15947. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15948. type: integer
  15949. goodsname:
  15950. description: 商品名称
  15951. type: string
  15952. nodetype:
  15953. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  15954. type: integer
  15955. signtimestamp:
  15956. description: 签约状态时间戳
  15957. type: string
  15958. tradedate:
  15959. description: 创建交易日(yyyyMMdd)
  15960. type: string
  15961. updatetime:
  15962. description: 更新时间
  15963. type: string
  15964. userid:
  15965. description: 客户ID
  15966. type: integer
  15967. username:
  15968. description: 客户名称
  15969. type: string
  15970. type: object
  15971. models.QhjMgrAccountOutInApply:
  15972. properties:
  15973. accountcode:
  15974. description: 资金账号
  15975. type: string
  15976. accountname:
  15977. description: 用户名称(名称)
  15978. type: string
  15979. accountpwd:
  15980. description: 资金密码
  15981. type: string
  15982. accountticket:
  15983. description: 最新账户服务流水号
  15984. type: string
  15985. amount:
  15986. description: 金额
  15987. type: number
  15988. applyremark:
  15989. description: 申请备注
  15990. type: string
  15991. applystatus:
  15992. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  15993. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  15994. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  15995. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  15996. type: integer
  15997. auditid:
  15998. description: 审核人
  15999. type: integer
  16000. audittime:
  16001. description: 审核时间
  16002. type: string
  16003. bank_apply_ticket:
  16004. description: 银行申请流水
  16005. type: string
  16006. bankaccountname:
  16007. description: 银行账户名
  16008. type: string
  16009. bankaccountno:
  16010. description: 银行卡号
  16011. type: string
  16012. bankid:
  16013. description: 银行编号
  16014. type: string
  16015. bankname:
  16016. description: 银行名称
  16017. type: string
  16018. bankticket:
  16019. description: 银行流水
  16020. type: string
  16021. branchbankid:
  16022. description: 银行支行号
  16023. type: string
  16024. branchbankname:
  16025. description: 银行支行名称
  16026. type: string
  16027. capamountout:
  16028. description: 出金(劣后本金) - 外部子账户
  16029. type: number
  16030. certificatephotourl:
  16031. description: 凭证地址
  16032. type: string
  16033. charge:
  16034. description: 手续费
  16035. type: number
  16036. checkerrorflag:
  16037. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  16038. type: integer
  16039. currency:
  16040. description: 币种
  16041. type: string
  16042. cusbankid:
  16043. description: 托管银行编号
  16044. type: string
  16045. exchticket:
  16046. description: 银行服务流水号
  16047. type: string
  16048. executetype:
  16049. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  16050. 7:外部子账户:入金 8:外部子账户:出金'
  16051. type: integer
  16052. extendinfo:
  16053. description: 扩展信息
  16054. type: string
  16055. extoperateid:
  16056. description: 交易服务流水号
  16057. type: integer
  16058. infamount:
  16059. description: 劣后金额(自有)
  16060. type: number
  16061. logincode:
  16062. description: 登录账号(账号)
  16063. type: string
  16064. netaddr:
  16065. description: 调转网址
  16066. type: string
  16067. priamount:
  16068. description: 优先金额(授信)
  16069. type: number
  16070. reauditid:
  16071. description: 复审人
  16072. type: integer
  16073. reauditremark:
  16074. description: 复审备注
  16075. type: string
  16076. reaudittime:
  16077. description: 复审时间
  16078. type: string
  16079. relatedorderid:
  16080. description: 三方关联ID
  16081. type: string
  16082. remark:
  16083. description: 备注
  16084. type: string
  16085. remark2:
  16086. description: 备注(失败原因)
  16087. type: string
  16088. soucreamount:
  16089. description: 原始出入金金额
  16090. type: number
  16091. soucrecurrencyid:
  16092. description: 原始出入金币种
  16093. type: integer
  16094. tradedate:
  16095. description: 交易日(yyyyMMdd)
  16096. type: string
  16097. updatetime:
  16098. description: 更新时间(申请时间)
  16099. type: string
  16100. userid:
  16101. description: 用户id
  16102. type: integer
  16103. userinfotype:
  16104. description: 账户类型 1-个人 2-企业
  16105. type: integer
  16106. type: object
  16107. models.QhjMgrBrokerApply:
  16108. properties:
  16109. applicantid:
  16110. description: 申请人
  16111. type: integer
  16112. applysrc:
  16113. description: 申请来源 - 1:管理端 2:终端
  16114. type: integer
  16115. applystatus:
  16116. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16117. type: integer
  16118. applytime:
  16119. description: 申请时间
  16120. type: string
  16121. auditorid:
  16122. description: 审核人
  16123. type: integer
  16124. auditremark:
  16125. description: 审核备注
  16126. type: string
  16127. auditsrc:
  16128. description: 审核来源 - 1:管理端 2:终端
  16129. type: integer
  16130. audittime:
  16131. description: 审核时间
  16132. type: string
  16133. audittradedate:
  16134. description: 审核交易日(yyyyMMdd)
  16135. type: string
  16136. brokerapplyid:
  16137. description: 申请ID(SEQ_BROKERAPPLY)
  16138. type: integer
  16139. cardbackphotourl:
  16140. description: 证件背面图片地址
  16141. type: string
  16142. cardfrontphotourl:
  16143. description: 证件正面图片地址
  16144. type: string
  16145. cardnum:
  16146. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  16147. type: string
  16148. customername:
  16149. description: 姓名
  16150. type: string
  16151. filterstatus:
  16152. description: 筛选条件
  16153. type: string
  16154. logincode:
  16155. description: 登录代码
  16156. type: string
  16157. mobile:
  16158. description: 手机号码
  16159. type: string
  16160. parentuserid:
  16161. description: 所属机构id
  16162. type: integer
  16163. parentusername:
  16164. description: 所属机构名称
  16165. type: string
  16166. refereeuserid:
  16167. description: 推荐人id(经纪人)
  16168. type: integer
  16169. refernum:
  16170. description: 推荐码
  16171. type: string
  16172. remark:
  16173. description: 备注
  16174. type: string
  16175. subarealevelpath:
  16176. description: 层级路径
  16177. type: string
  16178. tradedate:
  16179. description: 交易日(yyyyMMdd)
  16180. type: string
  16181. userid:
  16182. description: 申请人用户ID
  16183. type: integer
  16184. userinfotype:
  16185. description: 用户类型 1-个人 2-企业
  16186. type: integer
  16187. username:
  16188. description: 用户名称
  16189. type: string
  16190. type: object
  16191. models.QhjMgrBrokerRewardReport:
  16192. properties:
  16193. createtime:
  16194. description: 创建时间(注册时间)
  16195. type: string
  16196. cycletime:
  16197. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  16198. type: string
  16199. cycletype:
  16200. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16201. type: integer
  16202. directtotalnum:
  16203. description: 直推总人数【期末】
  16204. type: integer
  16205. indirecttotalnum:
  16206. description: 间推总人数【期末】
  16207. type: integer
  16208. mobile:
  16209. description: 电话号码
  16210. type: string
  16211. refereeuserid:
  16212. description: 推荐人id(经纪人id)
  16213. type: integer
  16214. refereeusername:
  16215. description: 推荐人名称(经纪人) 上级经纪人名称
  16216. type: string
  16217. refernum:
  16218. description: 推荐码
  16219. type: string
  16220. subarealevelpath:
  16221. description: 用户层级路径
  16222. type: string
  16223. todayrewardamount:
  16224. description: 奖励总金额【汇总】
  16225. type: number
  16226. updatetime:
  16227. description: 更新时间
  16228. type: string
  16229. userid:
  16230. description: 经纪人用户ID
  16231. type: integer
  16232. userinfotype:
  16233. description: 用户类型 1-个人 2-企业
  16234. type: integer
  16235. username:
  16236. description: 用户名称
  16237. type: string
  16238. type: object
  16239. models.QhjMgrContract:
  16240. properties:
  16241. contractconfirmtime:
  16242. description: 合同确认时间(时间)
  16243. type: string
  16244. currisklevel:
  16245. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16246. type: integer
  16247. decimalplace:
  16248. description: 商品报价小数位
  16249. type: integer
  16250. enumdicname:
  16251. description: 单位名称
  16252. type: string
  16253. goodscode:
  16254. description: 商品代码
  16255. type: string
  16256. goodsid:
  16257. description: 商品ID [5:融资单]
  16258. type: integer
  16259. goodsname:
  16260. description: 商品名称
  16261. type: string
  16262. goodunitid:
  16263. description: 商品单位id
  16264. type: integer
  16265. initmargin:
  16266. description: 初始保证金(首付款)
  16267. type: number
  16268. lenderamount:
  16269. description: 贷款金额(总额|订单总额)
  16270. type: number
  16271. logincode:
  16272. description: 账号(登录代码)
  16273. type: string
  16274. marginratio:
  16275. description: 保证金比率(首付比例)
  16276. type: number
  16277. mobile:
  16278. description: 电话号码(用户资料里的电话)
  16279. type: string
  16280. payamount:
  16281. description: 已付(已付货款)
  16282. type: number
  16283. reckonrecovermargin:
  16284. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  16285. type: number
  16286. recoveredmargin:
  16287. description: 已追缴保证金
  16288. type: number
  16289. remainamount:
  16290. description: 合同剩余金额(融资额)
  16291. type: number
  16292. scfcontractid:
  16293. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16294. type: string
  16295. scfcontractstatus:
  16296. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16297. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16298. type: integer
  16299. scfcontracttype:
  16300. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  16301. type: integer
  16302. totalinterest:
  16303. description: 已计总利息(利息)
  16304. type: number
  16305. tradedate:
  16306. description: 交易日
  16307. type: string
  16308. tradeprice:
  16309. description: 成交价格(成本价格)
  16310. type: number
  16311. userid:
  16312. description: 用户ID
  16313. type: integer
  16314. userinfotype:
  16315. description: 用户类型 1-个人 2-企业
  16316. type: integer
  16317. username:
  16318. description: 用户名称
  16319. type: string
  16320. wrqty:
  16321. description: 仓单数量(数量)
  16322. type: number
  16323. type: object
  16324. models.QhjMgrCustomer:
  16325. properties:
  16326. address:
  16327. description: 通讯地址
  16328. type: string
  16329. attachment1:
  16330. description: 附件1
  16331. type: string
  16332. audittime:
  16333. description: 审核时间
  16334. type: string
  16335. birthday:
  16336. description: 生日
  16337. type: string
  16338. brokerid:
  16339. description: 所属客户经理id
  16340. type: integer
  16341. brokername:
  16342. description: 所属客户经理名称
  16343. type: string
  16344. cardbackphotourl:
  16345. description: 证件反面图片地址
  16346. type: string
  16347. cardfrontphotourl:
  16348. description: 证件正面图片地址
  16349. type: string
  16350. cardnum:
  16351. description: 证件号码
  16352. type: string
  16353. cardtype:
  16354. description: 证件类型
  16355. type: integer
  16356. cardtypename:
  16357. description: 证件类型名称
  16358. type: string
  16359. cityid:
  16360. description: 市
  16361. type: integer
  16362. cityname:
  16363. description: 城市名称
  16364. type: string
  16365. contactname:
  16366. description: 联系人
  16367. type: string
  16368. countryid:
  16369. description: 国家
  16370. type: integer
  16371. countryname:
  16372. description: 国家名称
  16373. type: string
  16374. createtime:
  16375. description: 创建时间
  16376. type: string
  16377. customername:
  16378. description: 客户名称
  16379. type: string
  16380. districtid:
  16381. description: 区域
  16382. type: integer
  16383. districtname:
  16384. description: 地区名称
  16385. type: string
  16386. email:
  16387. description: 邮件
  16388. type: string
  16389. legalpersonname:
  16390. description: 法人姓名(企业)
  16391. type: string
  16392. logincode:
  16393. description: 登录账号(代码)
  16394. type: string
  16395. memberuserid:
  16396. description: 所属机构ID(所属会员)
  16397. type: integer
  16398. memberusername:
  16399. description: 所属会员名称
  16400. type: string
  16401. mobile:
  16402. description: 手机号码
  16403. type: string
  16404. modifytime:
  16405. description: 修改时间
  16406. type: string
  16407. nickname:
  16408. description: 昵称
  16409. type: string
  16410. parentuserid:
  16411. description: 上级机构(所属机构)
  16412. type: integer
  16413. parentusername:
  16414. description: 所属机构名称
  16415. type: string
  16416. provinceid:
  16417. description: 省
  16418. type: integer
  16419. provincename:
  16420. description: 省名称
  16421. type: string
  16422. proxystatementurl:
  16423. description: 授权委托书
  16424. type: string
  16425. querytype:
  16426. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  16427. type: integer
  16428. remark:
  16429. description: 备注
  16430. type: string
  16431. sex:
  16432. description: 性别 0-女 1-男
  16433. type: integer
  16434. status:
  16435. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  16436. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  16437. type: integer
  16438. statusdesc:
  16439. description: 账户状态中文描述
  16440. type: string
  16441. taxpayernum:
  16442. description: 纳税人识别号
  16443. type: string
  16444. telphone:
  16445. description: 联系电话
  16446. type: string
  16447. userid:
  16448. description: 用户ID
  16449. type: integer
  16450. userinfotype:
  16451. description: 客户类型 1-个人 2-企业
  16452. type: integer
  16453. username:
  16454. description: 用户名称
  16455. type: string
  16456. type: object
  16457. models.QhjMgrPickGoods:
  16458. properties:
  16459. enumdicname:
  16460. description: 单位名称(提货商品)
  16461. type: string
  16462. goodsid:
  16463. description: 商品id
  16464. type: integer
  16465. imageaddress:
  16466. description: 图片
  16467. type: string
  16468. modifierid:
  16469. description: 修改人
  16470. type: integer
  16471. modifiername:
  16472. description: 修改人名称
  16473. type: string
  16474. modifysrc:
  16475. description: 修改来源 - 1:管理端 2:终端
  16476. type: integer
  16477. pickupgoodsagreeunit:
  16478. description: 合约乘数
  16479. type: number
  16480. pickupgoodsdesc:
  16481. description: 描述
  16482. type: string
  16483. pickupgoodsid:
  16484. description: 提货商品ID
  16485. type: string
  16486. pickupgoodsname:
  16487. description: 提货商品名称
  16488. type: string
  16489. pickupgoodsstatus:
  16490. description: 状态 - 1:正常 2:停用 3:注销
  16491. type: integer
  16492. pickupgoodsunitid:
  16493. description: 单位ID
  16494. type: integer
  16495. pickupratio:
  16496. description: 提货系数
  16497. type: number
  16498. preparedays:
  16499. description: 备货期(天)
  16500. type: integer
  16501. remark:
  16502. description: 备注
  16503. type: string
  16504. updatetime:
  16505. description: 更新时间
  16506. type: string
  16507. type: object
  16508. models.QhjMgrPositionRsp:
  16509. properties:
  16510. accountid:
  16511. description: 账号Id
  16512. type: integer
  16513. accountname:
  16514. description: 用户名称
  16515. type: string
  16516. agreeunit:
  16517. description: 合约乘数
  16518. type: number
  16519. averageprice:
  16520. description: 均价
  16521. type: number
  16522. avialqty:
  16523. description: 可用数量
  16524. type: number
  16525. decimalplace:
  16526. description: 报价小数位
  16527. type: integer
  16528. enumdicname:
  16529. description: 单位名称(商品)
  16530. type: string
  16531. frozenqty:
  16532. description: 冻结数量
  16533. type: number
  16534. goodscode:
  16535. description: 商品代码(内部)
  16536. type: string
  16537. goodsid:
  16538. description: 商品Id
  16539. type: integer
  16540. goodsname:
  16541. description: 商品名称
  16542. type: string
  16543. goodunitid:
  16544. description: 报价单位ID
  16545. type: integer
  16546. holderamount:
  16547. description: 金额
  16548. type: number
  16549. holderqty:
  16550. description: 持有数量
  16551. type: number
  16552. holdertype:
  16553. description: 持仓类别 - 1:单边持仓 2:双边持仓
  16554. type: integer
  16555. logincode:
  16556. description: 登录代码(账户)
  16557. type: string
  16558. marketid:
  16559. description: 市场id
  16560. type: integer
  16561. qtydecimalplace:
  16562. description: 成交量小数位
  16563. type: integer
  16564. trademode:
  16565. description: 交易模式
  16566. type: integer
  16567. userid:
  16568. description: 用户id
  16569. type: integer
  16570. userinfotype:
  16571. description: 账户类型 1-个人 2-企业
  16572. type: integer
  16573. type: object
  16574. models.QhjMgrSubArea:
  16575. properties:
  16576. accountname:
  16577. description: 账户名称(机构名称)
  16578. type: string
  16579. memberuserid:
  16580. description: 所属会员ID
  16581. type: integer
  16582. parenttopuser:
  16583. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16584. type: string
  16585. parentuserid:
  16586. description: 所属机构ID
  16587. type: integer
  16588. rootuserid:
  16589. description: 根用户ID
  16590. type: string
  16591. subaccountlevel:
  16592. description: 子账户层数
  16593. type: integer
  16594. subarealevelpath:
  16595. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16596. type: string
  16597. userid:
  16598. description: 用户ID
  16599. type: integer
  16600. usertype:
  16601. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16602. type: integer
  16603. type: object
  16604. models.QhjMgrTradeDetailRsp:
  16605. properties:
  16606. accountid:
  16607. description: 资金账号
  16608. type: integer
  16609. accountname:
  16610. description: 用户名称
  16611. type: string
  16612. agreeunit:
  16613. description: 合约乘数
  16614. type: number
  16615. buyorsell:
  16616. description: 成交类型(方向) 0:买 1:卖
  16617. type: integer
  16618. decimalplace:
  16619. description: 报价小数位
  16620. type: integer
  16621. enumdicname:
  16622. description: 单位名称(商品)
  16623. type: string
  16624. goodscode:
  16625. description: 商品代码(内部)
  16626. type: string
  16627. goodsid:
  16628. description: 商品id
  16629. type: integer
  16630. goodsname:
  16631. description: 商品名称
  16632. type: string
  16633. goodunitid:
  16634. description: 报价单位ID
  16635. type: integer
  16636. logincode:
  16637. description: 登录代码(账户)
  16638. type: string
  16639. marketid:
  16640. description: 市场id
  16641. type: integer
  16642. orderid:
  16643. description: 关联委托单号
  16644. type: string
  16645. qtydecimalplace:
  16646. description: 成交量小数位
  16647. type: integer
  16648. tradeamount:
  16649. description: 金额
  16650. type: number
  16651. tradedate:
  16652. description: 交易日
  16653. type: string
  16654. tradeid:
  16655. description: 成交单号
  16656. type: string
  16657. trademode:
  16658. description: 交易模式
  16659. type: integer
  16660. tradeprice:
  16661. description: 价格
  16662. type: number
  16663. tradeqty:
  16664. description: 数量
  16665. type: number
  16666. tradetime:
  16667. description: 成交时间
  16668. type: string
  16669. userid:
  16670. description: 用户id
  16671. type: integer
  16672. userinfotype:
  16673. description: 账户类型 1-个人 2-企业
  16674. type: integer
  16675. type: object
  16676. models.QhjMgrTradeOrderDetailRsp:
  16677. properties:
  16678. accountid:
  16679. description: 资金账号
  16680. type: integer
  16681. accountname:
  16682. description: 用户名称
  16683. type: string
  16684. agreeunit:
  16685. description: 合约乘数
  16686. type: number
  16687. amount:
  16688. description: 金额
  16689. type: number
  16690. decimalplace:
  16691. description: 报价小数位
  16692. type: integer
  16693. enumdicname:
  16694. description: 单位名称(商品)
  16695. type: string
  16696. goodscode:
  16697. description: 商品代码(内部)
  16698. type: string
  16699. goodsid:
  16700. description: 商品id
  16701. type: integer
  16702. goodsname:
  16703. description: 商品名称
  16704. type: string
  16705. goodunitid:
  16706. description: 报价单位ID
  16707. type: integer
  16708. logincode:
  16709. description: 登录代码(账户)
  16710. type: string
  16711. marketid:
  16712. description: 市场id
  16713. type: integer
  16714. orderid:
  16715. description: 关联委托单号
  16716. type: string
  16717. orderprice:
  16718. description: 价格
  16719. type: number
  16720. orderqty:
  16721. description: 数量
  16722. type: number
  16723. orderstatus:
  16724. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16725. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16726. 16:成交失败违约(荷兰式竞拍专用)
  16727. type: integer
  16728. ordertime:
  16729. description: 委托时间
  16730. type: string
  16731. qtydecimalplace:
  16732. description: 成交量小数位
  16733. type: integer
  16734. tradedate:
  16735. description: 交易日
  16736. type: string
  16737. trademode:
  16738. description: 交易模式
  16739. type: integer
  16740. userid:
  16741. description: 用户id
  16742. type: integer
  16743. userinfotype:
  16744. description: 账户类型 1-个人 2-企业
  16745. type: integer
  16746. type: object
  16747. models.QhjMgrTradePayOrder:
  16748. properties:
  16749. accountname:
  16750. description: 用户名称
  16751. type: string
  16752. advanceratio:
  16753. description: 首付比率
  16754. type: number
  16755. agreeunit:
  16756. description: 合约乘数
  16757. type: number
  16758. buyaccountid:
  16759. description: 买方账号ID[报价币种]
  16760. type: integer
  16761. buyorderid:
  16762. description: 买方委托单号(关联单号)
  16763. type: string
  16764. createtime:
  16765. description: 创建时间
  16766. type: string
  16767. decimalplace:
  16768. description: 报价小数位
  16769. type: integer
  16770. enumdicname:
  16771. description: 单位名称(商品)
  16772. type: string
  16773. goodscode:
  16774. description: 商品代码(内部)
  16775. type: string
  16776. goodsid:
  16777. description: 商品ID
  16778. type: integer
  16779. goodsname:
  16780. description: 商品名称
  16781. type: string
  16782. goodunitid:
  16783. description: 报价单位ID
  16784. type: integer
  16785. logincode:
  16786. description: 登录代码(账户)
  16787. type: string
  16788. marketid:
  16789. description: 市场id
  16790. type: integer
  16791. offamount:
  16792. description: 优惠金额
  16793. type: number
  16794. operatetype:
  16795. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16796. type: integer
  16797. payamount:
  16798. description: 支付金额(金额)
  16799. type: number
  16800. payflag:
  16801. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16802. type: integer
  16803. paylimitedtime:
  16804. description: 支付期限
  16805. type: string
  16806. paytime:
  16807. description: 付款时间
  16808. type: string
  16809. qtydecimalplace:
  16810. description: 成交量小数位
  16811. type: integer
  16812. sellaccountid:
  16813. description: 卖方账号ID[报价币种]
  16814. type: integer
  16815. sellorderid:
  16816. description: 卖方委托单号
  16817. type: string
  16818. tradeamount:
  16819. description: 成交金额(优惠后金额)
  16820. type: number
  16821. tradecharge:
  16822. description: 成交手续费(买方)
  16823. type: number
  16824. tradedate:
  16825. description: 交易日(yyyyMMdd)
  16826. type: string
  16827. tradeid:
  16828. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16829. type: string
  16830. trademode:
  16831. description: 交易模式
  16832. type: integer
  16833. tradeprice:
  16834. description: 成交价格(价格)
  16835. type: number
  16836. tradeqty:
  16837. description: 成交数量(数量)
  16838. type: number
  16839. tradetime:
  16840. description: 成交时间
  16841. type: string
  16842. userid:
  16843. description: 用户id
  16844. type: integer
  16845. userinfotype:
  16846. description: 账户类型 1-个人 2-企业
  16847. type: integer
  16848. type: object
  16849. models.QhjMyTeamEx:
  16850. properties:
  16851. accountname:
  16852. description: 用户名称
  16853. type: string
  16854. accountstatus:
  16855. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16856. type: integer
  16857. createtime:
  16858. description: 创建时间
  16859. type: string
  16860. mobile:
  16861. description: 手机号码
  16862. type: string
  16863. refereeuserid:
  16864. description: 推荐人id
  16865. type: integer
  16866. refernum:
  16867. description: 推荐码
  16868. type: string
  16869. subList:
  16870. items:
  16871. $ref: '#/definitions/models.QhjMyTeamEx'
  16872. type: array
  16873. userid:
  16874. description: 用户id
  16875. type: integer
  16876. userinfotype:
  16877. description: 用户类型 1-个人 2-企业
  16878. type: integer
  16879. type: object
  16880. models.QhjNodeAgreementConfig:
  16881. properties:
  16882. agreementcontent:
  16883. description: 协议内容
  16884. type: string
  16885. agreementid:
  16886. description: 协议ID
  16887. type: integer
  16888. agreementname:
  16889. description: 协议名称
  16890. type: string
  16891. agreementno:
  16892. description: 协议编号
  16893. type: string
  16894. agreementtype:
  16895. description: 协议类型 - 1:注册 2:登录 3:交易
  16896. type: integer
  16897. agreementversion:
  16898. description: 协议版本号
  16899. type: integer
  16900. configid:
  16901. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  16902. type: integer
  16903. createtime:
  16904. description: 创建时间
  16905. type: string
  16906. goodsid:
  16907. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  16908. type: integer
  16909. nodetype:
  16910. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  16911. type: integer
  16912. type: object
  16913. models.QhjParentAreaList:
  16914. properties:
  16915. accountname:
  16916. description: 账户名称(机构名称)
  16917. type: string
  16918. userid:
  16919. description: 用户ID
  16920. type: integer
  16921. usertype:
  16922. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16923. type: integer
  16924. type: object
  16925. models.QhjPayOrder:
  16926. properties:
  16927. advanceratio:
  16928. description: 首付比率
  16929. type: number
  16930. buyaccountid:
  16931. description: 买方账号ID[报价币种]
  16932. type: integer
  16933. buyorderid:
  16934. description: 买方委托单号
  16935. type: string
  16936. createtime:
  16937. description: 创建时间
  16938. type: string
  16939. decimalplace:
  16940. description: 商品报价小数位
  16941. type: integer
  16942. enumdicname:
  16943. description: 单位名称
  16944. type: string
  16945. goodscode:
  16946. description: 商品代码
  16947. type: string
  16948. goodsid:
  16949. description: 商品ID
  16950. type: integer
  16951. goodsname:
  16952. description: 商品名称
  16953. type: string
  16954. goodunitid:
  16955. description: 商品单位id
  16956. type: integer
  16957. marketid:
  16958. description: 市场ID
  16959. type: integer
  16960. offamount:
  16961. description: 优惠金额
  16962. type: number
  16963. operatetype:
  16964. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16965. type: integer
  16966. payamount:
  16967. description: 支付金额
  16968. type: number
  16969. payflag:
  16970. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16971. type: integer
  16972. paylimitedtime:
  16973. description: 支付期限
  16974. type: string
  16975. paytime:
  16976. description: 付款时间
  16977. type: string
  16978. qtydecimalplace:
  16979. description: 成交量小数位
  16980. type: integer
  16981. sellaccountid:
  16982. description: 卖方账号ID[报价币种]
  16983. type: integer
  16984. sellorderid:
  16985. description: 卖方委托单号
  16986. type: string
  16987. tradeamount:
  16988. description: 成交金额(优惠后金额)
  16989. type: number
  16990. tradecharge:
  16991. description: 成交手续费(买方)
  16992. type: number
  16993. tradedate:
  16994. description: 交易日(yyyyMMdd)
  16995. type: string
  16996. tradeid:
  16997. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16998. type: string
  16999. tradeprice:
  17000. description: 成交价格
  17001. type: number
  17002. tradeqty:
  17003. description: 成交数量
  17004. type: number
  17005. type: object
  17006. models.QhjPickArea:
  17007. properties:
  17008. address:
  17009. description: 详细地址
  17010. type: string
  17011. cityid:
  17012. description: 市
  17013. type: integer
  17014. cityname:
  17015. description: 城市名称
  17016. type: string
  17017. countryid:
  17018. description: 国家
  17019. type: integer
  17020. countryname:
  17021. description: 国家名称
  17022. type: string
  17023. districtid:
  17024. description: 地区
  17025. type: integer
  17026. districtname:
  17027. description: 地区名称
  17028. type: string
  17029. fromuserid:
  17030. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  17031. type: integer
  17032. fromusername:
  17033. description: 所属机构名称
  17034. type: string
  17035. provinceid:
  17036. description: 省
  17037. type: integer
  17038. provincename:
  17039. description: 省名称
  17040. type: string
  17041. suborgtype:
  17042. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  17043. type: integer
  17044. userid:
  17045. description: 机构用户ID 其他做市关系,都设置为 1
  17046. type: integer
  17047. username:
  17048. description: 机构用户名称(门店门称)
  17049. type: string
  17050. type: object
  17051. models.QhjPickGoods:
  17052. properties:
  17053. enumdicname:
  17054. description: 单位名称(提货商品)
  17055. type: string
  17056. goodsid:
  17057. description: 商品id
  17058. type: integer
  17059. imageaddress:
  17060. description: 图片
  17061. type: string
  17062. modifierid:
  17063. description: 修改人
  17064. type: integer
  17065. modifiername:
  17066. description: 修改人名称
  17067. type: string
  17068. modifysrc:
  17069. description: 修改来源 - 1:管理端 2:终端
  17070. type: integer
  17071. pickupgoodsagreeunit:
  17072. description: 合约乘数
  17073. type: number
  17074. pickupgoodsdesc:
  17075. description: 描述
  17076. type: string
  17077. pickupgoodsid:
  17078. description: 提货商品ID
  17079. type: string
  17080. pickupgoodsname:
  17081. description: 提货商品名称
  17082. type: string
  17083. pickupgoodsstatus:
  17084. description: 状态 - 1:正常 2:停用 3:注销
  17085. type: integer
  17086. pickupgoodsunitid:
  17087. description: 单位ID
  17088. type: integer
  17089. pickupratio:
  17090. description: 提货系数
  17091. type: number
  17092. preparedays:
  17093. description: 备货期(天)
  17094. type: integer
  17095. remark:
  17096. description: 备注
  17097. type: string
  17098. updatetime:
  17099. description: 更新时间
  17100. type: string
  17101. type: object
  17102. models.QhjRSTriggerLog:
  17103. properties:
  17104. accountid:
  17105. description: 用户资金账户
  17106. type: integer
  17107. accountname:
  17108. description: 账号名称(ACCOUNTID对应的名称)
  17109. type: string
  17110. currencyid:
  17111. description: 币种id
  17112. type: integer
  17113. currencyname:
  17114. description: 币种名称
  17115. type: string
  17116. decimalplace:
  17117. description: 商品报价小数位
  17118. type: integer
  17119. enumdicname:
  17120. description: 单位名称
  17121. type: string
  17122. goodscode:
  17123. description: 定投商品代码
  17124. type: string
  17125. goodsid:
  17126. description: 定投商品ID
  17127. type: integer
  17128. goodsname:
  17129. description: 定投商品名称
  17130. type: string
  17131. goodunitid:
  17132. description: 定投商品单位id
  17133. type: integer
  17134. logid:
  17135. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  17136. type: string
  17137. logincode:
  17138. description: 账号(登录代码)
  17139. type: string
  17140. qtydecimalplace:
  17141. description: 成交量小数位
  17142. type: integer
  17143. regularlycycle:
  17144. description: 定投频率 - 1:每周 2:每月
  17145. type: integer
  17146. regularlycyclevalue:
  17147. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  17148. type: string
  17149. regularlymode:
  17150. description: 定投方式 - 1:按数量 2:按金额
  17151. type: integer
  17152. regularlymodevalue:
  17153. description: 定投方式值 - 数量或金额
  17154. type: number
  17155. regularlystrategyid:
  17156. description: 定投策略ID
  17157. type: integer
  17158. retcode:
  17159. description: 错误码
  17160. type: string
  17161. tradeid:
  17162. description: 成交单ID
  17163. type: string
  17164. triggeramount:
  17165. description: 触发金额
  17166. type: number
  17167. triggerqty:
  17168. description: 触发数量
  17169. type: number
  17170. triggerstatus:
  17171. description: 触发状态 - 1:成功 2:失败
  17172. type: integer
  17173. triggertime:
  17174. description: 触发时间
  17175. type: string
  17176. triggertradedate:
  17177. description: 触发交易日
  17178. type: string
  17179. userid:
  17180. description: 所属用户ID
  17181. type: integer
  17182. userinfotype:
  17183. description: 用户类型 1-个人 2-企业
  17184. type: integer
  17185. username:
  17186. description: 用户名称(userid对应的名称)
  17187. type: string
  17188. type: object
  17189. models.QhjRStrategy:
  17190. properties:
  17191. accountid:
  17192. description: 用户资金账户
  17193. type: integer
  17194. accountname:
  17195. description: 账号名称(ACCOUNTID对应的名称)
  17196. type: string
  17197. currencyid:
  17198. description: 币种id
  17199. type: integer
  17200. currencyname:
  17201. description: 币种名称
  17202. type: string
  17203. decimalplace:
  17204. description: 商品报价小数位
  17205. type: integer
  17206. enumdicname:
  17207. description: 单位名称
  17208. type: string
  17209. goodscode:
  17210. description: 定投商品代码
  17211. type: string
  17212. goodsid:
  17213. description: 定投商品ID
  17214. type: integer
  17215. goodsname:
  17216. description: 定投商品名称
  17217. type: string
  17218. goodunitid:
  17219. description: 定投商品单位id
  17220. type: integer
  17221. lasteffecttradedate:
  17222. description: 最新生效交易日
  17223. type: string
  17224. laststoptradedate:
  17225. description: 最新暂停交易日
  17226. type: string
  17227. lasttriggertradedate:
  17228. description: 最新触发交易日
  17229. type: string
  17230. logincode:
  17231. description: 账号(登录代码)
  17232. type: string
  17233. nexttriggeramount:
  17234. description: 下次触发金额
  17235. type: number
  17236. nexttriggerdate:
  17237. description: 下次触发日期
  17238. type: string
  17239. nexttriggerqty:
  17240. description: 下次触发数量 [按小数位放大值]
  17241. type: number
  17242. qtydecimalplace:
  17243. description: 成交量小数位
  17244. type: integer
  17245. regularlycycle:
  17246. description: 定投频率 - 1:每周 2:每月
  17247. type: integer
  17248. regularlycyclevalue:
  17249. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  17250. type: string
  17251. regularlymode:
  17252. description: 定投方式 - 1:按数量 2:按金额
  17253. type: integer
  17254. regularlymodevalue:
  17255. description: 定投方式值 - 数量或金额
  17256. type: number
  17257. regularlystrategyid:
  17258. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  17259. type: integer
  17260. regularlystrategystatus:
  17261. description: 策略状态 - 1:正常 2:暂停 3:终止
  17262. type: integer
  17263. remark:
  17264. description: 备注
  17265. type: string
  17266. triggersuccesstimes:
  17267. description: 累计定投成功次数
  17268. type: string
  17269. triggertotalamount:
  17270. description: 累计定投金额(成功)
  17271. type: number
  17272. triggertotalqty:
  17273. description: 累计定投数量(成功) [按小数位放大值]
  17274. type: number
  17275. triggertotaltimes:
  17276. description: 累计定投总次数
  17277. type: string
  17278. updatesrc:
  17279. description: 更新来源 - 1:管理端 2:终端
  17280. type: integer
  17281. updatetime:
  17282. description: 更新时间
  17283. type: string
  17284. updatorid:
  17285. description: 更新人
  17286. type: string
  17287. userid:
  17288. description: 所属用户ID
  17289. type: integer
  17290. userinfotype:
  17291. description: 用户类型 1-个人 2-企业
  17292. type: integer
  17293. username:
  17294. description: 用户名称(userid对应的名称)
  17295. type: string
  17296. type: object
  17297. models.QhjReckonPriceLog:
  17298. properties:
  17299. decimalplace:
  17300. description: 商品报价小数位
  17301. type: integer
  17302. goodscode:
  17303. description: 商品代码
  17304. type: string
  17305. goodsid:
  17306. description: 商品ID
  17307. type: integer
  17308. goodsname:
  17309. description: 商品名称
  17310. type: string
  17311. lastreckonprice:
  17312. description: 上日结算价
  17313. type: number
  17314. nextdnlimitprice:
  17315. description: 下个交易日跌停价
  17316. type: number
  17317. nexttrade:
  17318. description: 下个交易日
  17319. type: string
  17320. nextuplimitprice:
  17321. description: 下个交易日涨停价
  17322. type: number
  17323. reckonprice:
  17324. description: 今日结算价(定投价)
  17325. type: number
  17326. reckontime:
  17327. description: 结算时间
  17328. type: string
  17329. totalholderqty:
  17330. description: 总持仓数
  17331. type: integer
  17332. totalstock:
  17333. description: 总库存
  17334. type: integer
  17335. tradedate:
  17336. description: 交易日
  17337. type: string
  17338. updowncount:
  17339. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  17340. type: integer
  17341. updownflag:
  17342. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  17343. type: integer
  17344. updownrate:
  17345. description: 今日涨跌幅
  17346. type: number
  17347. updownrate_2d:
  17348. description: 连续两日涨跌幅
  17349. type: number
  17350. updownrate_3d:
  17351. description: 连续三日涨跌幅
  17352. type: number
  17353. type: object
  17354. models.QhjScoreLog:
  17355. properties:
  17356. accountid:
  17357. description: 账户ID
  17358. type: integer
  17359. createtime:
  17360. description: 创建时间(时间)
  17361. type: string
  17362. goodsid:
  17363. description: 商品ID
  17364. type: integer
  17365. hasuploaded:
  17366. description: 是否已同步(千海金) 0:未同步 1;已同步
  17367. type: integer
  17368. logid:
  17369. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17370. type: string
  17371. marketid:
  17372. description: 市场ID
  17373. type: integer
  17374. relatedamount:
  17375. description: 关联金额
  17376. type: number
  17377. relatedorderid:
  17378. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  17379. type: string
  17380. scoreconfigvalue1:
  17381. description: 积分配置1
  17382. type: integer
  17383. scoreconfigvalue2:
  17384. description: 积分配置1
  17385. type: integer
  17386. scoretype:
  17387. description: 积分类型 - 1:提货积分
  17388. type: integer
  17389. scorevalue:
  17390. description: 积分
  17391. type: number
  17392. tradedate:
  17393. description: 交易日(yyyyMMdd)
  17394. type: string
  17395. uploadedtime:
  17396. description: 同步时间
  17397. type: string
  17398. userid:
  17399. description: 用户ID
  17400. type: integer
  17401. type: object
  17402. models.QhjSiteColumnDetail:
  17403. properties:
  17404. author:
  17405. description: 作者
  17406. type: string
  17407. brief:
  17408. description: 简介
  17409. type: string
  17410. columnid:
  17411. description: 所属栏目
  17412. type: integer
  17413. context:
  17414. description: 内容
  17415. type: string
  17416. coverimage:
  17417. description: 封面图片
  17418. type: string
  17419. creaedate:
  17420. description: 创建时间
  17421. type: string
  17422. creatorid:
  17423. description: 创建人
  17424. type: integer
  17425. hits:
  17426. description: 点击数
  17427. type: integer
  17428. id:
  17429. description: ID(SEQ_SITE_COLUMNDETAIL)
  17430. type: integer
  17431. isshow:
  17432. description: 是否展示 - 0:不展示 1:展示
  17433. type: integer
  17434. istop:
  17435. description: 是否置顶 - 0:不置 1:置顶
  17436. type: integer
  17437. modifierid:
  17438. description: 操作人
  17439. type: integer
  17440. publishdate:
  17441. description: 发布日期
  17442. type: string
  17443. status:
  17444. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  17445. type: integer
  17446. title:
  17447. description: 标题
  17448. type: string
  17449. updatedate:
  17450. description: 修改时间
  17451. type: string
  17452. userid:
  17453. description: 用户ID(默认为0, 核心为为机构用户ID)
  17454. type: integer
  17455. username:
  17456. description: 用户名称
  17457. type: string
  17458. type: object
  17459. models.QhjTeamOrder:
  17460. properties:
  17461. accountid:
  17462. description: 账户ID[报价币种]
  17463. type: integer
  17464. accountname:
  17465. description: 账户名称
  17466. type: string
  17467. agreeunit:
  17468. description: 合约乘数
  17469. type: number
  17470. buyorsell:
  17471. description: 方向 - 0:买 1:卖
  17472. type: integer
  17473. decimalplace:
  17474. description: 报价小数位
  17475. type: integer
  17476. enumdicname:
  17477. description: 单位名称
  17478. type: string
  17479. goodscode:
  17480. description: 商品代码(内部)
  17481. type: string
  17482. goodsid:
  17483. description: 商品ID
  17484. type: integer
  17485. goodsname:
  17486. description: 商品名称
  17487. type: string
  17488. goodunitid:
  17489. description: 报价单位ID
  17490. type: integer
  17491. marketid:
  17492. description: 市场ID
  17493. type: integer
  17494. marketname:
  17495. description: 市场名称
  17496. type: string
  17497. qtydecimalplace:
  17498. description: 成交量小数位
  17499. type: integer
  17500. refereeuserid:
  17501. description: 推荐人ID
  17502. type: integer
  17503. tradeamount:
  17504. description: 成交金额[账户币种,用于所有权]
  17505. type: number
  17506. tradedate:
  17507. description: 交易日(yyyyMMdd)
  17508. type: string
  17509. trademode:
  17510. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17511. 21:竞拍-大宗式 22:受托竞价
  17512. type: integer
  17513. tradeprice:
  17514. description: 成交价格
  17515. type: number
  17516. tradeqty:
  17517. description: 成交数量
  17518. type: number
  17519. tradetime:
  17520. description: 成交时间
  17521. type: string
  17522. userid:
  17523. description: 用户ID
  17524. type: integer
  17525. type: object
  17526. models.QhjTradeGoodsPickup:
  17527. properties:
  17528. accountid:
  17529. description: 账户ID
  17530. type: integer
  17531. address:
  17532. description: 提货人详细地址
  17533. type: string
  17534. amount:
  17535. description: 提货金额
  17536. type: number
  17537. artradedate:
  17538. description: 自动收货交易日(yyyyMMdd)
  17539. type: string
  17540. auditer:
  17541. description: 审核人
  17542. type: integer
  17543. auditsrc:
  17544. description: 更新来源 - 1:管理端 2:终端
  17545. type: integer
  17546. audittime:
  17547. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  17548. type: string
  17549. audittradedate:
  17550. description: 审核交易日(yyyyMMdd)
  17551. type: string
  17552. cardnum:
  17553. description: 提货人证件号码
  17554. type: string
  17555. cardtypeid:
  17556. description: 提货人证件类型
  17557. type: integer
  17558. checkremark:
  17559. description: 审核备注
  17560. type: string
  17561. cityid:
  17562. description: 市
  17563. type: integer
  17564. cityname:
  17565. description: 城市名称
  17566. type: string
  17567. confirmtime:
  17568. description: 取货时间 或 收货时间
  17569. type: string
  17570. countryid:
  17571. description: 国家
  17572. type: integer
  17573. countryname:
  17574. description: 国家名称
  17575. type: string
  17576. decimalplace:
  17577. description: 商品报价小数位
  17578. type: integer
  17579. districtid:
  17580. description: 地区
  17581. type: integer
  17582. districtname:
  17583. description: 地区名称
  17584. type: string
  17585. enumdicname:
  17586. description: 单位名称(提货商品)
  17587. type: string
  17588. expresscompany:
  17589. description: 物流公司
  17590. type: string
  17591. expressnum:
  17592. description: 物流单号
  17593. type: string
  17594. goodsagreeunit:
  17595. description: 交易商品乘数
  17596. type: number
  17597. goodscode:
  17598. description: 商品代码
  17599. type: string
  17600. goodsid:
  17601. description: 商品ID
  17602. type: integer
  17603. goodsname:
  17604. description: 商品名称
  17605. type: string
  17606. goodsqty:
  17607. description: 交易商品手数(69模式按成交量小数位放大取整)
  17608. type: number
  17609. handlestatus:
  17610. description: 处理状态
  17611. type: integer
  17612. logincode:
  17613. description: 账号(登录代码, 有可能为空)
  17614. type: string
  17615. marketid:
  17616. description: 市场ID
  17617. type: integer
  17618. phonenum:
  17619. description: 提货人联系方式
  17620. type: string
  17621. pickupgoodsagreeunit:
  17622. description: 提货商品合约乘数
  17623. type: number
  17624. pickupgoodsid:
  17625. description: 提货商品ID
  17626. type: string
  17627. pickupgoodsname:
  17628. description: 提货商品名称
  17629. type: string
  17630. pickupgoodsqty:
  17631. description: 提货商品手数(数量)
  17632. type: number
  17633. pickupgoodsunitid:
  17634. description: 单位ID(提货商品)
  17635. type: integer
  17636. pickupratio:
  17637. description: 提货系数
  17638. type: number
  17639. preparedays:
  17640. description: 备货期(天)-提货单明细表
  17641. type: integer
  17642. provinceid:
  17643. description: 省
  17644. type: integer
  17645. provincename:
  17646. description: 省名称
  17647. type: string
  17648. qty:
  17649. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  17650. type: number
  17651. qtydecimalplace:
  17652. description: 商品数量小数位
  17653. type: integer
  17654. recivername:
  17655. description: 提货人姓名
  17656. type: string
  17657. reqtime:
  17658. description: 提货申请时间
  17659. type: string
  17660. storeuserid:
  17661. description: 门店用户ID (千海金)
  17662. type: integer
  17663. storeusername:
  17664. description: 门店用户名称
  17665. type: string
  17666. takemode:
  17667. description: 提货方式 - 2:自提 3:配送(邮寄)
  17668. type: integer
  17669. takeorderid:
  17670. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17671. type: string
  17672. takeorderstatus:
  17673. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  17674. 7:已拒绝 8:已撤销
  17675. type: integer
  17676. takeremark:
  17677. description: 提货备注
  17678. type: string
  17679. tradedate:
  17680. description: 交易日(yyyyMMdd)
  17681. type: string
  17682. updatetime:
  17683. description: 更新时间
  17684. type: string
  17685. userid:
  17686. description: 用户ID
  17687. type: integer
  17688. userinfotype:
  17689. description: 客户类型 1-个人 2-企业
  17690. type: integer
  17691. username:
  17692. description: 用户名称
  17693. type: string
  17694. type: object
  17695. models.QhjUserNodeCfgAndStatus:
  17696. properties:
  17697. agreementcontent:
  17698. description: 协议内容
  17699. type: string
  17700. agreementid:
  17701. description: 协议ID
  17702. type: integer
  17703. agreementname:
  17704. description: 协议名称
  17705. type: string
  17706. agreementno:
  17707. description: 协议编号
  17708. type: string
  17709. agreementtype:
  17710. description: 协议类型 - 1:注册 2:登录 3:交易
  17711. type: integer
  17712. agreementversion:
  17713. description: 协议版本号
  17714. type: integer
  17715. configid:
  17716. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  17717. type: integer
  17718. createtime:
  17719. description: 创建时间
  17720. type: string
  17721. goodsid:
  17722. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  17723. type: integer
  17724. nodetype:
  17725. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  17726. type: integer
  17727. signtimestamp:
  17728. description: 签约状态时间戳(最近一次)
  17729. type: string
  17730. tradedate:
  17731. description: 签约交易日(yyyyMMdd)
  17732. type: string
  17733. userid:
  17734. description: 客户ID
  17735. type: integer
  17736. type: object
  17737. models.Qhjgoodsex:
  17738. properties:
  17739. canfinance:
  17740. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  17741. type: integer
  17742. canregularlybuy:
  17743. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  17744. type: integer
  17745. defaulttradeuserid:
  17746. description: 默认交易用户ID
  17747. type: integer
  17748. deliverygoodsid:
  17749. description: 现货品种ID
  17750. type: integer
  17751. goodsid:
  17752. description: 商品ID(自增ID SEQ_GOODS)
  17753. type: integer
  17754. minamount:
  17755. description: 最小购买金额
  17756. type: number
  17757. regularlybuyminamount:
  17758. description: 定投最小金额
  17759. type: number
  17760. regularlybuyminqty:
  17761. description: 定投最小数量
  17762. type: number
  17763. spotgoodsbrandid:
  17764. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  17765. type: integer
  17766. visibilityforenterprise:
  17767. description: 企业客户是否可见 - 0:不可见 1:可见
  17768. type: integer
  17769. visibilityforpersonal:
  17770. description: 个人客户是否可见 - 0:不可见 1:可见
  17771. type: integer
  17772. wrstandardid:
  17773. description: 现货商品ID
  17774. type: integer
  17775. type: object
  17776. models.QueryErrorInfosRsp:
  17777. properties:
  17778. description:
  17779. description: 异常描述
  17780. type: string
  17781. errorcode:
  17782. description: 异常代码
  17783. type: string
  17784. errorid:
  17785. description: 异常ID
  17786. type: integer
  17787. modulecode:
  17788. description: 所属模块
  17789. type: string
  17790. operatecode:
  17791. description: 所属操作
  17792. type: string
  17793. rownumber:
  17794. description: 行号
  17795. type: string
  17796. required:
  17797. - errorid
  17798. type: object
  17799. models.QueryHedgeOrderDetailRsp:
  17800. properties:
  17801. accountid:
  17802. description: 账户ID
  17803. type: integer
  17804. buyorsell:
  17805. description: 买卖 - 0:买 1:卖
  17806. type: integer
  17807. cancellogincode:
  17808. description: 撤单人
  17809. type: string
  17810. channelbuildtype:
  17811. description: 开平标志 - 0:无 1:建仓 2:平仓
  17812. type: integer
  17813. channelinnerorderstatus:
  17814. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  17815. 9:全部成交
  17816. type: integer
  17817. channeloperatetype:
  17818. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  17819. type: integer
  17820. closetype:
  17821. description: 平仓方式 - 0:无 1:平今 2:平昨
  17822. type: integer
  17823. curexchangerate:
  17824. description: 当前汇率
  17825. type: number
  17826. decimalplace:
  17827. description: 商品报价小数位
  17828. type: integer
  17829. exchangefullname:
  17830. description: 外部交易所全称
  17831. type: string
  17832. goodscode:
  17833. description: 商品代码(内部)
  17834. type: string
  17835. goodsid:
  17836. description: 商品ID
  17837. type: integer
  17838. goodsname:
  17839. description: 商品名称
  17840. type: string
  17841. marketid:
  17842. description: 市场ID
  17843. type: integer
  17844. openfreezemargin:
  17845. description: 冻结保证金(冻结交易金额)
  17846. type: number
  17847. orderid:
  17848. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17849. type: string
  17850. orderlogincode:
  17851. description: 委托人
  17852. type: string
  17853. orderprice:
  17854. description: 委托价格(账户)
  17855. type: number
  17856. orderqty:
  17857. description: 委托数量
  17858. type: integer
  17859. ordertime:
  17860. description: 委托时间
  17861. type: string
  17862. pricemode:
  17863. description: '取价方式 - 1:市价 2: 限价'
  17864. type: integer
  17865. tradedate:
  17866. description: 交易日(yyyyMMdd)
  17867. type: string
  17868. tradeqty:
  17869. description: 成交数量
  17870. type: integer
  17871. type: object
  17872. models.QueryHedgeTradeDetailRsp:
  17873. properties:
  17874. accountid:
  17875. description: 账号ID
  17876. type: integer
  17877. buyorsell:
  17878. description: 方向 - 0:买 1:卖
  17879. type: integer
  17880. channelbuildtype:
  17881. description: 委托单据类型 0:无 1:建仓 2:平仓
  17882. type: integer
  17883. closecharge:
  17884. description: 平仓手续费(账户)
  17885. type: number
  17886. closecharge2:
  17887. description: 平仓手续费(商品)
  17888. type: number
  17889. closepl:
  17890. description: 平仓盈亏(账户)
  17891. type: number
  17892. closepl2:
  17893. description: 平仓盈亏(商品)
  17894. type: number
  17895. closepl3:
  17896. description: 平仓盈亏(账户)(逐笔)
  17897. type: number
  17898. closepl4:
  17899. description: 平仓盈亏(商品)(逐笔)
  17900. type: number
  17901. closetype:
  17902. description: 平仓方式 - 0:无 1:平今 2:平昨
  17903. type: integer
  17904. curexchangerate:
  17905. description: 当前汇率
  17906. type: number
  17907. decimalplace:
  17908. description: 商品报价小数位
  17909. type: integer
  17910. exchangefullname:
  17911. description: 外部交易所全称
  17912. type: string
  17913. goodscode:
  17914. description: 商品代码(内部)
  17915. type: string
  17916. goodsid:
  17917. description: 商品ID
  17918. type: integer
  17919. goodsname:
  17920. description: 商品名称
  17921. type: string
  17922. marketid:
  17923. description: 市场ID
  17924. type: integer
  17925. opencharge:
  17926. description: 建仓手续费(账户)
  17927. type: number
  17928. opencharge2:
  17929. description: 建仓手续费(商品)
  17930. type: number
  17931. orderid:
  17932. description: 委托单号
  17933. type: string
  17934. orderlogincode:
  17935. description: 委托人
  17936. type: string
  17937. tradeamount:
  17938. description: 成交金额(账户)
  17939. type: number
  17940. tradedate:
  17941. description: 交易日(yyyyMMdd)
  17942. type: string
  17943. tradeid:
  17944. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17945. type: string
  17946. tradeprice:
  17947. description: 成交价格
  17948. type: number
  17949. tradeqty:
  17950. description: 成交数量
  17951. type: integer
  17952. tradetime:
  17953. description: 成交时间
  17954. type: string
  17955. tradetype:
  17956. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  17957. type: integer
  17958. type: object
  17959. models.QuotePrimaryMenu:
  17960. properties:
  17961. Index:
  17962. description: 序号
  17963. type: integer
  17964. Key:
  17965. description: 键名
  17966. type: string
  17967. Name:
  17968. description: 菜单名称
  17969. type: string
  17970. SubMenus:
  17971. description: 子菜单
  17972. items:
  17973. $ref: '#/definitions/models.QuoteSecondaryMenu'
  17974. type: array
  17975. SubTitleType:
  17976. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  17977. type: integer
  17978. TradeModes:
  17979. description: 包含市场交易类型
  17980. type: string
  17981. type: object
  17982. models.QuoteSecondaryMenu:
  17983. properties:
  17984. ExExchangeCode:
  17985. description: 外部交易所代码
  17986. type: string
  17987. ExExchangeID:
  17988. description: 外部交易所ID
  17989. type: integer
  17990. GoodsGroupIDs:
  17991. description: 商品组ID列表
  17992. items:
  17993. type: integer
  17994. type: array
  17995. Index:
  17996. description: 序号
  17997. type: integer
  17998. MarketID:
  17999. description: 市场ID
  18000. type: integer
  18001. MenuTitle:
  18002. description: 菜单标题(市场名称或外部交易所名称)
  18003. type: string
  18004. TradeMode:
  18005. description: 交易模式
  18006. type: integer
  18007. type: object
  18008. models.Reckondaytaaccount:
  18009. properties:
  18010. accountid:
  18011. description: 资金账户ID
  18012. type: integer
  18013. accountname:
  18014. description: 账户名称
  18015. type: string
  18016. accountpl:
  18017. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  18018. type: number
  18019. avaiablemoney:
  18020. description: 可用资金
  18021. type: number
  18022. avaiableoutmoney:
  18023. description: 可出资金
  18024. type: number
  18025. balance:
  18026. description: 期初余额
  18027. type: number
  18028. capitalbalance:
  18029. description: 本金余额[外部子账户实际出入金余额]
  18030. type: number
  18031. changeflag:
  18032. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  18033. type: integer
  18034. clearbalance:
  18035. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  18036. type: number
  18037. clearpl:
  18038. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  18039. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  18040. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  18041. type: number
  18042. closepl:
  18043. description: 今日平仓盈亏
  18044. type: number
  18045. closepl2:
  18046. description: 平仓盈亏(逐笔)
  18047. type: number
  18048. creditdecrease:
  18049. description: 今日授信减少
  18050. type: number
  18051. creditincrease:
  18052. description: 今日授信增加
  18053. type: number
  18054. curdebt:
  18055. description: 期末欠款
  18056. type: number
  18057. currencyid:
  18058. description: 货币ID
  18059. type: integer
  18060. currentbalance:
  18061. description: 期末余额
  18062. type: number
  18063. cycletype:
  18064. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  18065. type: integer
  18066. defercharge:
  18067. description: 今日递延费2支出[111, 112]
  18068. type: number
  18069. deliveryamountin:
  18070. description: 今日交收货款收入
  18071. type: number
  18072. deliveryamountout:
  18073. description: 今日交收货款支出
  18074. type: number
  18075. deliverycharge:
  18076. description: 今日交收手续费支出 [105,106]
  18077. type: number
  18078. deliverycompensationfeein:
  18079. description: 今日交收补偿费收入
  18080. type: number
  18081. deliverycompensationfeeout:
  18082. description: 今日交收补偿费支出
  18083. type: number
  18084. dividedcharge:
  18085. description: 今日已收手续费分成
  18086. type: number
  18087. floatnetvalue:
  18088. description: 浮动净值 = 净值 + 浮动盈亏
  18089. type: number
  18090. floatpl:
  18091. description: 浮动盈亏 - 每日有负债类商品
  18092. type: number
  18093. freezecharge:
  18094. description: 手续费冻结
  18095. type: number
  18096. freezemargin:
  18097. description: 冻结保证金
  18098. type: number
  18099. fromaccountid:
  18100. description: 所属上级账户
  18101. type: integer
  18102. holdcharge:
  18103. description: 今日持仓过夜费支出[108,109,110]
  18104. type: number
  18105. inamount:
  18106. description: 今日入金金额
  18107. type: number
  18108. interestcharge:
  18109. description: 今日递延费支出[103, 104]
  18110. type: number
  18111. ismain:
  18112. description: 是否账号 0:不是母账户 1:是母账户
  18113. type: integer
  18114. ismarketaccount:
  18115. description: 是否机构接单账号 0:不是 1:是
  18116. type: integer
  18117. isreckonaccount:
  18118. description: 是否机构分润账号 0:不是 1:是
  18119. type: integer
  18120. mortgagecredit:
  18121. description: 授信金额
  18122. type: number
  18123. netvalue:
  18124. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  18125. type: number
  18126. oridebt:
  18127. description: 期初欠款
  18128. type: number
  18129. orifreezecharge:
  18130. description: 期初手续费冻结
  18131. type: number
  18132. orifreezemargin:
  18133. description: 期初冻结保证金
  18134. type: number
  18135. orimortgagecredit:
  18136. description: 期初授信金额
  18137. type: number
  18138. oriothercredit:
  18139. description: 期初其它授信金额
  18140. type: number
  18141. oriotherfreezemargin:
  18142. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  18143. type: number
  18144. orioutamountfreeze:
  18145. description: 期初出金冻结
  18146. type: number
  18147. oriusedmargin:
  18148. description: 期初占用保证金
  18149. type: number
  18150. othercredit:
  18151. description: 其它授信金额
  18152. type: number
  18153. othercreditdecrease:
  18154. description: 今日其它授信减少
  18155. type: number
  18156. othercreditincrease:
  18157. description: 今日其它授信增加
  18158. type: number
  18159. otherfreezemargin:
  18160. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  18161. type: number
  18162. otherincome:
  18163. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  18164. type: number
  18165. otherpay:
  18166. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  18167. type: number
  18168. outamount:
  18169. description: 今日出金金额
  18170. type: number
  18171. outamountfreeze:
  18172. description: 出金冻结
  18173. type: number
  18174. outthreshold:
  18175. description: 出金阈值
  18176. type: number
  18177. ownershipvalue:
  18178. description: 所有权市值
  18179. type: number
  18180. parentaccountid:
  18181. description: 所属根账户
  18182. type: integer
  18183. password:
  18184. description: 资金密码
  18185. type: string
  18186. paycharge:
  18187. description: 今日手续费支出
  18188. type: number
  18189. paycharge2:
  18190. description: 今日手续费支出(外部配置)
  18191. type: number
  18192. payexchcharge:
  18193. description: 今日应付交易所手续费
  18194. type: number
  18195. reckondate:
  18196. description: 日照日期(yyyyMMdd)
  18197. type: string
  18198. reckonpl:
  18199. description: 今日结算盈亏
  18200. type: number
  18201. reckonpl2:
  18202. description: 结算盈亏(逐笔) - 汇总取期末
  18203. type: number
  18204. relatedaccountstatus:
  18205. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  18206. type: integer
  18207. relateuserid:
  18208. description: 关联用户
  18209. type: integer
  18210. riskrate:
  18211. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  18212. type: number
  18213. signstatus:
  18214. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  18215. type: integer
  18216. spotvalue:
  18217. description: 现货市值-统计服务更新
  18218. type: number
  18219. sublevelpath:
  18220. description: 账号层级路径(逗号分隔,首尾加逗号)
  18221. type: string
  18222. taaccounttype:
  18223. description: 外部/内部账号 - 1:外部账号 2:内部账号
  18224. type: integer
  18225. thirdinamount:
  18226. description: 今日三方入金
  18227. type: number
  18228. thirdoutamount:
  18229. description: 今日三方出金
  18230. type: number
  18231. tradeamount:
  18232. description: 今日成交金额
  18233. type: number
  18234. tradecharge:
  18235. description: 今日交易手续费支出 [101,102]
  18236. type: number
  18237. tradeqty:
  18238. description: 今日成交量
  18239. type: integer
  18240. tradestatus:
  18241. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  18242. type: integer
  18243. transferamount:
  18244. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  18245. type: number
  18246. usedmargin:
  18247. description: 占用保证金
  18248. type: number
  18249. userid:
  18250. description: 用户ID
  18251. type: integer
  18252. required:
  18253. - userid
  18254. type: object
  18255. models.Reckongzmemtradesum:
  18256. properties:
  18257. buylistingamount:
  18258. description: 买挂牌金额 - 无数据,预留
  18259. type: number
  18260. buylistinglot:
  18261. description: 买挂牌宗数
  18262. type: integer
  18263. buylistingqty:
  18264. description: 买挂牌数量 - 无数据,预留
  18265. type: number
  18266. buytradeamount:
  18267. description: 购买金额
  18268. type: number
  18269. buytradelot:
  18270. description: 购买宗数
  18271. type: integer
  18272. buytradeqty:
  18273. description: 购买数量
  18274. type: number
  18275. marketid:
  18276. description: 市场ID
  18277. type: integer
  18278. reckondate:
  18279. description: 日照日期(yyyyMMdd)
  18280. type: string
  18281. selllistingamount:
  18282. description: 卖挂牌金额
  18283. type: number
  18284. selllistinglot:
  18285. description: 卖挂牌宗数
  18286. type: integer
  18287. selllistingqty:
  18288. description: 卖挂牌数量
  18289. type: number
  18290. selltradeamount:
  18291. description: 销售金额
  18292. type: number
  18293. selltradelot:
  18294. description: 销售宗数
  18295. type: integer
  18296. selltradeqty:
  18297. description: 销售数量
  18298. type: number
  18299. updatetime:
  18300. description: 更新时间
  18301. type: string
  18302. userid:
  18303. description: 用户ID
  18304. type: integer
  18305. zscategory:
  18306. description: 钻石分类 - 枚举”ZSCategory“
  18307. type: integer
  18308. zscategorydisplay:
  18309. type: string
  18310. zscurrencytype:
  18311. description: 货币类型 - 枚举“ZSCurrencyType”
  18312. type: integer
  18313. zscurrencytypedisplay:
  18314. type: string
  18315. zscurrencytypedisplayunit:
  18316. type: string
  18317. required:
  18318. - userid
  18319. type: object
  18320. models.RegisterMoney:
  18321. properties:
  18322. amount:
  18323. description: 红包
  18324. type: number
  18325. type: object
  18326. models.RelatedTaAccount:
  18327. properties:
  18328. accountid:
  18329. description: 资金账户ID
  18330. type: integer
  18331. type: object
  18332. models.RoleMenu:
  18333. properties:
  18334. hasright:
  18335. description: 是否有权限 0-没有权限 1-有权限
  18336. type: integer
  18337. iconame:
  18338. description: 菜单图标
  18339. type: string
  18340. menutype:
  18341. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  18342. type: integer
  18343. parentcode:
  18344. description: 上级资源代码
  18345. type: string
  18346. remark:
  18347. description: 菜单备注
  18348. type: string
  18349. resourcecode:
  18350. description: 菜单代码
  18351. type: string
  18352. resourcelevel:
  18353. description: 级别
  18354. type: integer
  18355. resourcename:
  18356. description: 菜单名称
  18357. type: string
  18358. roleid:
  18359. description: 角色id
  18360. type: integer
  18361. sort:
  18362. description: 排序
  18363. type: integer
  18364. subMenu:
  18365. description: 子级菜单(结构同上层一样, swag解析不出来)
  18366. items:
  18367. $ref: '#/definitions/models.RoleMenu'
  18368. type: array
  18369. url:
  18370. description: URL
  18371. type: string
  18372. userid:
  18373. description: 用户id
  18374. type: integer
  18375. type: object
  18376. models.SearchGoods:
  18377. properties:
  18378. goodscode:
  18379. description: 商品代码(内部)
  18380. type: string
  18381. goodsid:
  18382. description: 商品ID(自增ID SEQ_GOODS)
  18383. type: integer
  18384. goodsname:
  18385. description: 商品名称
  18386. type: string
  18387. marketid:
  18388. description: 所属市场ID
  18389. type: integer
  18390. marketname:
  18391. description: 市场名称
  18392. type: string
  18393. trademode:
  18394. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  18395. 21:竞拍-大宗式 22:受托竞价
  18396. type: integer
  18397. required:
  18398. - goodscode
  18399. - goodsid
  18400. - goodsname
  18401. - marketid
  18402. - trademode
  18403. type: object
  18404. models.SellOrder:
  18405. properties:
  18406. accountid:
  18407. description: 资金账号
  18408. type: integer
  18409. applyid:
  18410. description: 申请单ID
  18411. type: integer
  18412. attachment1:
  18413. description: 附件1
  18414. type: string
  18415. attachment2:
  18416. description: 附件2
  18417. type: string
  18418. buyorsell:
  18419. description: 买卖 - 0:买 1:卖
  18420. type: integer
  18421. canbargain:
  18422. description: 是否可议价 - 0:不可 1:可
  18423. type: integer
  18424. cancelqty:
  18425. description: 撤销数量
  18426. type: integer
  18427. canceltime:
  18428. description: 撤销时间
  18429. type: string
  18430. cerno:
  18431. type: string
  18432. chargealgorithm:
  18433. description: 手续费收取方式 1:比率 2:固定
  18434. type: integer
  18435. chargealgorithmvalue:
  18436. description: 手续费设置值(交易所部分)
  18437. type: number
  18438. chargealgorithmvalue2:
  18439. description: 手续费设置值(会员部分)
  18440. type: number
  18441. clientordertime:
  18442. description: 客户端委托时间
  18443. type: string
  18444. cpcertno:
  18445. type: string
  18446. exchangerate:
  18447. description: 汇率[67]
  18448. type: number
  18449. firstratio:
  18450. description: 首付比率 - [挂牌时指定,摘牌时使用]
  18451. type: number
  18452. fixedprice:
  18453. description: '[克拉单价]固定价格 - [挂牌]'
  18454. type: number
  18455. freezecharge:
  18456. description: 冻结手续费
  18457. type: number
  18458. freezefirstamount:
  18459. description: 冻结首付金额 - [摘牌]
  18460. type: number
  18461. freezemargin:
  18462. description: 冻结保证金
  18463. type: number
  18464. goodsno:
  18465. description: 商品编号
  18466. type: string
  18467. imagepath:
  18468. type: string
  18469. isQueryDiamond:
  18470. description: 是否钻石查询
  18471. type: boolean
  18472. isspecified:
  18473. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  18474. type: integer
  18475. kppath:
  18476. type: string
  18477. kpweight:
  18478. type: string
  18479. marginalgorithm:
  18480. description: 保证金方式 - 1:比率 2:固定
  18481. type: integer
  18482. marginvalue:
  18483. description: 保证金设置值
  18484. type: number
  18485. marketid:
  18486. description: 市场ID
  18487. type: integer
  18488. marketprice:
  18489. type: string
  18490. orderamount:
  18491. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  18492. type: number
  18493. ordertime:
  18494. description: 委托时间
  18495. type: string
  18496. performancetemplateid:
  18497. description: 履约计划模板ID
  18498. type: integer
  18499. price:
  18500. description: 价格
  18501. type: number
  18502. pricefactor:
  18503. description: 价格系数(浮动价时填写) - [挂牌]
  18504. type: number
  18505. pricemove:
  18506. description: 升贴水(浮动价时填写) - [挂牌]
  18507. type: number
  18508. priceper:
  18509. type: string
  18510. relatedwrtradeorderid:
  18511. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  18512. type: integer
  18513. remainqty:
  18514. description: 剩余重量
  18515. type: number
  18516. remark:
  18517. type: string
  18518. retcode:
  18519. description: 错误代码
  18520. type: integer
  18521. sellusername:
  18522. description: 卖方(查询字段-模糊查询)
  18523. type: string
  18524. settingmaterial:
  18525. description: 镶嵌材料
  18526. type: string
  18527. size1:
  18528. type: string
  18529. size2:
  18530. type: string
  18531. size3:
  18532. type: string
  18533. sizedisplay:
  18534. description: 尺寸
  18535. type: string
  18536. stonedesc:
  18537. description: 配石描述
  18538. type: string
  18539. totalqty:
  18540. description: 总重量
  18541. type: number
  18542. tradedate:
  18543. description: 交易日(yyyyMMdd)
  18544. type: string
  18545. tradeprice:
  18546. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  18547. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18548. type: number
  18549. unfreezecharge:
  18550. description: 解冻手续费
  18551. type: number
  18552. unfreezefirstamount:
  18553. description: 解冻首付金额 - [摘牌]
  18554. type: number
  18555. unfreezemargin:
  18556. description: 解冻保证金
  18557. type: number
  18558. userid:
  18559. description: 用户ID
  18560. type: integer
  18561. uuid:
  18562. description: 发起端唯一id
  18563. type: string
  18564. validtime:
  18565. description: 有效期限
  18566. type: string
  18567. validtype:
  18568. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18569. type: integer
  18570. warehousenamedisplay:
  18571. type: string
  18572. wrbargainid:
  18573. description: 议价申请单ID
  18574. type: integer
  18575. wrfactortypeid:
  18576. description: 仓单要素类型ID/商品ID(77)
  18577. type: integer
  18578. wrpath:
  18579. type: string
  18580. wrpricetype:
  18581. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18582. type: integer
  18583. wrstandardid:
  18584. description: 现货商品ID
  18585. type: integer
  18586. wrtradeorderid:
  18587. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18588. type: string
  18589. wrtradeorderstatus:
  18590. 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:撤单解冻贷款失败
  18591. type: integer
  18592. wrtradetype:
  18593. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18594. type: integer
  18595. wrtransferuserid:
  18596. description: 仓单受让用户 - [摘牌]
  18597. type: integer
  18598. zscategory:
  18599. description: 钻石分类 - 枚举”ZSCategory“
  18600. type: integer
  18601. zscategorydisplay:
  18602. description: 钻石分类 - 描述
  18603. type: string
  18604. zscerttypedisplay:
  18605. type: string
  18606. zsclaritytype1display:
  18607. type: string
  18608. zsclaritytype2display:
  18609. type: string
  18610. zscolortype1display:
  18611. type: string
  18612. zscolortype2display:
  18613. type: string
  18614. zscrystaltype:
  18615. type: string
  18616. zscrystaltypedisplay:
  18617. type: string
  18618. zscurrencytype:
  18619. description: 货币类型 - 枚举“ZSCurrencyType”
  18620. type: integer
  18621. zscurrencytypedisplay:
  18622. type: string
  18623. zscurrencytypedisplayunit:
  18624. type: string
  18625. zscuttype1display:
  18626. type: string
  18627. zscuttype2display:
  18628. type: string
  18629. zsczcolor1typedisplay:
  18630. type: string
  18631. zsczcolor2typedisplay:
  18632. type: string
  18633. zsczcolor3typedisplay:
  18634. type: string
  18635. zsfluorescencetype1display:
  18636. type: string
  18637. zsfluorescencetype2display:
  18638. type: string
  18639. zspolishtype1display:
  18640. type: string
  18641. zspolishtype2display:
  18642. type: string
  18643. zsshapetypedisplay:
  18644. type: string
  18645. zsstyletypedisplay:
  18646. type: string
  18647. zssymmetrytype1display:
  18648. type: string
  18649. zssymmetrytype2display:
  18650. type: string
  18651. type: object
  18652. models.SellOrderQueryReq:
  18653. properties:
  18654. origin:
  18655. description: 原产地
  18656. type: string
  18657. page:
  18658. description: 页码
  18659. type: integer
  18660. pagesize:
  18661. description: 每页大小
  18662. type: integer
  18663. total:
  18664. description: 总条数
  18665. type: integer
  18666. warehouseid:
  18667. description: 仓库ID
  18668. type: integer
  18669. weight1:
  18670. description: 总重量(克拉重量)-从
  18671. type: number
  18672. weight2:
  18673. description: 总重量(克拉重量)-至
  18674. type: number
  18675. weightavg1:
  18676. description: 平均单颗重量-从
  18677. type: number
  18678. weightavg2:
  18679. description: 平均单颗重量-至
  18680. type: number
  18681. zscategory:
  18682. description: 钻石分类 - 枚举”ZSCategory“
  18683. type: integer
  18684. zscerttype:
  18685. description: 证书类型
  18686. items:
  18687. type: string
  18688. type: array
  18689. zsclaritytype:
  18690. description: 净度
  18691. items:
  18692. type: integer
  18693. type: array
  18694. zscolortype:
  18695. description: 颜色
  18696. items:
  18697. type: integer
  18698. type: array
  18699. zscurrencytype:
  18700. description: 货币类型 - 枚举“ZSCurrencyType”
  18701. items:
  18702. type: string
  18703. type: array
  18704. zscuttype:
  18705. description: 切工
  18706. items:
  18707. type: integer
  18708. type: array
  18709. zsczcolor1type:
  18710. description: 彩钻颜色1
  18711. items:
  18712. type: string
  18713. type: array
  18714. zsfluorescencetype:
  18715. description: 荧光
  18716. items:
  18717. type: integer
  18718. type: array
  18719. zspolishtype:
  18720. description: 抛光度
  18721. items:
  18722. type: integer
  18723. type: array
  18724. zsshapetype:
  18725. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  18726. items:
  18727. type: string
  18728. type: array
  18729. zsstyletype:
  18730. description: 款式
  18731. items:
  18732. type: string
  18733. type: array
  18734. zssymmetrytype:
  18735. description: 对称度
  18736. items:
  18737. type: integer
  18738. type: array
  18739. required:
  18740. - zscategory
  18741. type: object
  18742. models.Sitecolumnconfig:
  18743. properties:
  18744. columnname:
  18745. description: 栏目名称
  18746. type: string
  18747. columntype:
  18748. description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  18749. type: integer
  18750. creaedate:
  18751. description: 创建时间
  18752. type: string
  18753. creatorid:
  18754. description: 创建人
  18755. type: integer
  18756. id:
  18757. description: ID(SEQ_SITE_COLUMNCONFIG)
  18758. type: integer
  18759. isshow:
  18760. description: 是否展示 - 0:不展示 1:展示
  18761. type: integer
  18762. modifierid:
  18763. description: 操作人
  18764. type: integer
  18765. sort:
  18766. description: 排序
  18767. type: integer
  18768. updatedate:
  18769. description: 修改时间
  18770. type: string
  18771. type: object
  18772. models.Spotgoodsprice:
  18773. properties:
  18774. prespotgoodsprice:
  18775. description: 上日价格
  18776. type: number
  18777. spotgoodsprice:
  18778. description: 当前价格
  18779. type: number
  18780. spotgoodsqty:
  18781. description: 招标量
  18782. type: number
  18783. tradedate:
  18784. description: 交易日(yyyyMMdd)
  18785. type: string
  18786. wrstandardcode:
  18787. description: 现货商品代码
  18788. type: string
  18789. wrstandardid:
  18790. description: 现货商品ID(通用则为0)
  18791. type: integer
  18792. wrstandardname:
  18793. description: 现货商品名称
  18794. type: string
  18795. type: object
  18796. models.Systemparam:
  18797. properties:
  18798. loginid:
  18799. description: 更新用户账号,登录账号
  18800. type: string
  18801. modifyflag:
  18802. description: 修改标志0 不允许修改 1 允许修改
  18803. type: integer
  18804. paramcode:
  18805. description: 参数代码
  18806. type: string
  18807. paramname:
  18808. description: 参数名
  18809. type: string
  18810. paramtype:
  18811. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  18812. type: integer
  18813. paramvalue:
  18814. description: 参数值
  18815. type: string
  18816. paramvalue2:
  18817. description: 参数值(CLOB)
  18818. type: string
  18819. regexpress:
  18820. description: 正则表达式
  18821. type: string
  18822. remark:
  18823. description: 备注
  18824. type: string
  18825. serverip:
  18826. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  18827. type: string
  18828. showflag:
  18829. description: 是否显示0 不显示 1 显示
  18830. type: integer
  18831. updatetime:
  18832. description: 更新时间
  18833. type: string
  18834. userid:
  18835. description: 更新用户ID
  18836. type: integer
  18837. required:
  18838. - paramcode
  18839. type: object
  18840. models.Szdz3convertconfig:
  18841. properties:
  18842. canin:
  18843. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  18844. type: integer
  18845. canout:
  18846. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  18847. type: integer
  18848. converttype:
  18849. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18850. 6:交易转花生米(不设置)
  18851. type: integer
  18852. createtime:
  18853. description: 创建时间
  18854. type: string
  18855. creatorid:
  18856. description: 创建人
  18857. type: integer
  18858. daymaxvalue:
  18859. description: 当日最大转入限制
  18860. type: number
  18861. freezedays:
  18862. description: 冻结天数 [5:花生米转交易]
  18863. type: integer
  18864. innergoodsid:
  18865. description: 内部商品ID[交易]
  18866. type: integer
  18867. inratio:
  18868. description: 目标值
  18869. type: integer
  18870. modifierid:
  18871. description: 修改人
  18872. type: integer
  18873. modifytime:
  18874. description: 修改时间
  18875. type: string
  18876. outergoodscode:
  18877. description: 外部商品代码[JD\PD]
  18878. type: string
  18879. outratio:
  18880. description: 源值
  18881. type: integer
  18882. pddecimalplace:
  18883. description: PD小数位
  18884. type: integer
  18885. timemaxvalue:
  18886. description: 单次最大转入限制
  18887. type: number
  18888. timeminvalue:
  18889. description: 单次最小转入限制
  18890. type: number
  18891. required:
  18892. - converttype
  18893. - innergoodsid
  18894. - outergoodscode
  18895. type: object
  18896. models.Szdz3searchwhitelist:
  18897. properties:
  18898. createtime:
  18899. description: 创建时间
  18900. type: string
  18901. creatorid:
  18902. description: 创建人
  18903. type: integer
  18904. modifierid:
  18905. description: 修改人
  18906. type: integer
  18907. modifytime:
  18908. description: 修改时间
  18909. type: string
  18910. userid:
  18911. description: 用户ID
  18912. type: integer
  18913. required:
  18914. - userid
  18915. type: object
  18916. models.TBGoods:
  18917. properties:
  18918. agreeunit:
  18919. description: 合约乘数
  18920. type: number
  18921. enumdicname:
  18922. description: 单位名称
  18923. type: string
  18924. goodscode:
  18925. description: 商品代码(内部)
  18926. type: string
  18927. goodsid:
  18928. description: 商品ID(自增ID SEQ_GOODS)
  18929. type: integer
  18930. goodsname:
  18931. description: 商品名称
  18932. type: string
  18933. type: object
  18934. models.TBGoodsGroup:
  18935. properties:
  18936. GDLST:
  18937. description: 商品列表
  18938. items:
  18939. $ref: '#/definitions/models.TBGoods'
  18940. type: array
  18941. convertratio:
  18942. description: 折算系数
  18943. type: number
  18944. enumdicname:
  18945. description: 单位名称
  18946. type: string
  18947. exexchangecode:
  18948. description: 交易所代码
  18949. type: string
  18950. exexchangename:
  18951. description: 交易所名称
  18952. type: string
  18953. goodsgroupid:
  18954. description: 商品组ID(自增ID)
  18955. type: integer
  18956. goodsgroupname:
  18957. description: 商品组名称
  18958. type: string
  18959. goodunitid:
  18960. description: 报价单位ID
  18961. type: integer
  18962. type: object
  18963. models.TBMiddleGoods:
  18964. properties:
  18965. GPLST:
  18966. description: 期货品种列表
  18967. items:
  18968. $ref: '#/definitions/models.TBGoodsGroup'
  18969. type: array
  18970. WDLST:
  18971. description: 商品信息列表(现货品类)
  18972. items:
  18973. $ref: '#/definitions/models.TBWrstandard'
  18974. type: array
  18975. areauserid:
  18976. description: 机构用户ID
  18977. type: integer
  18978. enumdicname:
  18979. description: 单位名称
  18980. type: string
  18981. goodsunitid:
  18982. description: 套保品种单位id
  18983. type: integer
  18984. middlegoodscode:
  18985. description: 套保品种代码
  18986. type: string
  18987. middlegoodsid:
  18988. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  18989. type: integer
  18990. middlegoodsname:
  18991. description: 套保品种名称
  18992. type: string
  18993. needarbitrageratio:
  18994. description: 套利比率
  18995. type: number
  18996. needhedgeratio:
  18997. description: 套保比率
  18998. type: number
  18999. type: object
  19000. models.TBWrstandard:
  19001. properties:
  19002. convertratio:
  19003. description: 折算系数
  19004. type: number
  19005. deliverygoodsname:
  19006. description: 品种名称
  19007. type: string
  19008. enumdicname:
  19009. description: 单位名称
  19010. type: string
  19011. vatrate:
  19012. description: 增值税率
  19013. type: number
  19014. wrstandardcode:
  19015. description: 现货商品代码
  19016. type: string
  19017. wrstandardid:
  19018. description: 现货商品ID(SEQ_WRSTANDARD)
  19019. type: integer
  19020. wrstandardname:
  19021. description: 现货商品名称
  19022. type: string
  19023. type: object
  19024. models.THJDeliveryMode:
  19025. properties:
  19026. enumdicname:
  19027. description: 枚举项名称
  19028. type: string
  19029. enumitemname:
  19030. description: 枚举项值
  19031. type: integer
  19032. type: object
  19033. models.THJDeliveryMonth:
  19034. properties:
  19035. enddate:
  19036. description: 预售结束日期(yyyy-mm-dd)
  19037. type: string
  19038. endmonth:
  19039. description: 预售结束月份(yyyy-mm)
  19040. type: string
  19041. orderqty:
  19042. description: 委托数量
  19043. type: integer
  19044. presaleapplyid:
  19045. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19046. type: string
  19047. remainqty:
  19048. description: 可用数量
  19049. type: integer
  19050. tradeqty:
  19051. description: 成交数量
  19052. type: integer
  19053. unitprice:
  19054. description: '[参考价]商品单价'
  19055. type: number
  19056. type: object
  19057. models.THJFriend:
  19058. properties:
  19059. accoutstatus:
  19060. description: 状态
  19061. type: string
  19062. createtime:
  19063. description: 创建时间
  19064. type: string
  19065. customername:
  19066. description: 客户名称(企业名称),模糊查询
  19067. type: string
  19068. frienduserid:
  19069. description: 用户UserID
  19070. type: string
  19071. groupname:
  19072. description: 分级名称
  19073. type: string
  19074. hasauth:
  19075. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  19076. type: integer
  19077. mobile:
  19078. description: 手机号码(加密存储),加密串精确查询
  19079. type: string
  19080. type: object
  19081. models.THJGoodsDetailRsp:
  19082. properties:
  19083. goodsinfo:
  19084. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  19085. description: 商品信息
  19086. spotgoodspricelogs:
  19087. description: 历史价格走势
  19088. items:
  19089. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  19090. type: array
  19091. type: object
  19092. models.THJPresaleApplyDeposit:
  19093. properties:
  19094. depositid:
  19095. description: 自增ID autoid
  19096. type: string
  19097. depositrate:
  19098. description: 定金比例
  19099. type: number
  19100. discountamount:
  19101. description: 优惠金额(每吨)
  19102. type: number
  19103. presaleapplyid:
  19104. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19105. type: string
  19106. type: object
  19107. models.THJProduct:
  19108. properties:
  19109. bannerpicurl:
  19110. description: Banner图(逗号分隔)
  19111. type: string
  19112. pictureurls:
  19113. description: 详情图片(逗号分隔)
  19114. type: string
  19115. thumurls:
  19116. description: 缩略图片(1:1)(逗号分隔)
  19117. type: string
  19118. wrstandardcode:
  19119. description: 现货商品代码
  19120. type: string
  19121. wrstandardid:
  19122. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  19123. type: string
  19124. wrstandardname:
  19125. description: 现货商品名称
  19126. type: string
  19127. type: object
  19128. models.THJProfit:
  19129. properties:
  19130. brokerprofitrate:
  19131. description: 会员释出比例
  19132. type: string
  19133. brokerrate:
  19134. description: 会员比例
  19135. type: string
  19136. buyorselldisplay:
  19137. description: 方向
  19138. type: string
  19139. chargeamount:
  19140. description: 手续费总额
  19141. type: number
  19142. firend:
  19143. description: 下单好友
  19144. type: string
  19145. levelonevalue:
  19146. description: 一级比例
  19147. type: string
  19148. leveltwovalue:
  19149. description: 二级比例
  19150. type: string
  19151. marketname:
  19152. description: 市场
  19153. type: string
  19154. profitamount:
  19155. description: 分润金额
  19156. type: number
  19157. profitroletypedisplay:
  19158. description: 分润角色
  19159. type: string
  19160. tradeid:
  19161. description: 成交单号
  19162. type: string
  19163. tradeqty:
  19164. description: 成交数量
  19165. type: integer
  19166. tradetimedisplay:
  19167. description: 成交时间
  19168. type: string
  19169. wrstandardname:
  19170. description: 商品
  19171. type: string
  19172. type: object
  19173. models.THJPurchaseTradeDetail_Date:
  19174. properties:
  19175. depositrate:
  19176. description: 定金比例
  19177. type: number
  19178. enddate:
  19179. description: 预售结束日期
  19180. type: string
  19181. endmonth:
  19182. description: 交收月份(yyyy-mm)
  19183. type: string
  19184. takestartdate:
  19185. description: 提货开始日期
  19186. type: string
  19187. tradeprice:
  19188. description: 摘牌价格
  19189. type: number
  19190. tradeqty:
  19191. description: 摘牌数量
  19192. type: integer
  19193. transferamount:
  19194. description: 转让金额
  19195. type: number
  19196. transferid:
  19197. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  19198. type: string
  19199. transferprice:
  19200. description: 转让价格
  19201. type: number
  19202. type: object
  19203. models.THJPurchaseTradeDetail_Goodsinfo:
  19204. properties:
  19205. minivalue:
  19206. description: 最小变动值
  19207. type: integer
  19208. minivaluedp:
  19209. description: 最小变动值小数位
  19210. type: integer
  19211. pictureurls:
  19212. description: 详情图片(逗号分隔)
  19213. type: string
  19214. refgoodscode:
  19215. description: 参考商品代码
  19216. type: string
  19217. refgoodsid:
  19218. description: 参考商品ID
  19219. type: integer
  19220. unitid:
  19221. description: 现货商品单位ID
  19222. type: integer
  19223. wrstandardcode:
  19224. description: 现货商品代码
  19225. type: string
  19226. wrstandardid:
  19227. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  19228. type: integer
  19229. wrstandardname:
  19230. description: 现货商品名称(模糊查询)
  19231. type: string
  19232. type: object
  19233. models.THJPurchaseTradeDetailRsp:
  19234. properties:
  19235. deliverydate:
  19236. description: 交割日期
  19237. items:
  19238. $ref: '#/definitions/models.THJPurchaseTradeDetail_Date'
  19239. type: array
  19240. goodsinfo:
  19241. $ref: '#/definitions/models.THJPurchaseTradeDetail_Goodsinfo'
  19242. description: 商品信息
  19243. spotgoodspricelogs:
  19244. description: 历史价格走势
  19245. items:
  19246. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  19247. type: array
  19248. type: object
  19249. models.THJSigninReq:
  19250. properties:
  19251. userid:
  19252. description: 用户ID
  19253. type: integer
  19254. required:
  19255. - userid
  19256. type: object
  19257. models.THJSigninRsp:
  19258. properties:
  19259. signinstatus:
  19260. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  19261. type: integer
  19262. type: object
  19263. models.THJSpotGoodsPriceLog:
  19264. properties:
  19265. spotgoodsprice:
  19266. description: 现货价格
  19267. type: number
  19268. tradedate:
  19269. description: 交易日(yyyyMMdd)
  19270. type: string
  19271. type: object
  19272. models.THJTradeData:
  19273. properties:
  19274. accountname:
  19275. description: 被推荐人
  19276. type: string
  19277. buytradelot:
  19278. description: 购买笔数
  19279. type: integer
  19280. buytradeqty:
  19281. description: 购买数量
  19282. type: number
  19283. marketid:
  19284. description: 市场ID 采购-64201 供求-65201
  19285. type: integer
  19286. reckondate:
  19287. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  19288. type: string
  19289. selltradelot:
  19290. description: 销售笔数
  19291. type: integer
  19292. selltradeqty:
  19293. description: 销售数量
  19294. type: number
  19295. userid:
  19296. description: 用户ID
  19297. type: integer
  19298. wrstandardname:
  19299. description: 现货商品名称
  19300. type: string
  19301. required:
  19302. - marketid
  19303. - userid
  19304. type: object
  19305. models.THJUserLevelInfo:
  19306. properties:
  19307. appup:
  19308. description: 晋升已累计的数量
  19309. type: integer
  19310. checkday:
  19311. description: 最近一次考核日
  19312. type: string
  19313. levelgroup:
  19314. description: 当前等级
  19315. type: string
  19316. nextlevelgroup:
  19317. description: 下一等级
  19318. type: string
  19319. notyet:
  19320. description: 晋升还差多少数量
  19321. type: integer
  19322. progress:
  19323. description: 进度
  19324. type: number
  19325. type: object
  19326. models.THJWrstandard:
  19327. properties:
  19328. areauserid:
  19329. description: 所属机构
  19330. type: integer
  19331. bannerpicurl:
  19332. description: Banner图(逗号分隔)
  19333. type: string
  19334. convertfactor:
  19335. description: 标仓系数
  19336. type: number
  19337. deliverygoodsid:
  19338. description: 现货品种ID
  19339. type: integer
  19340. isvalid:
  19341. description: 是否有效 - 0:无效 1:有效
  19342. type: integer
  19343. minivalue:
  19344. description: 最小变动值
  19345. type: integer
  19346. minivaluedp:
  19347. description: 最小变动值小数位
  19348. type: integer
  19349. pictureurls:
  19350. description: 详情图片(逗号分隔)
  19351. type: string
  19352. realminivalue:
  19353. description: 实际最小变动值
  19354. type: integer
  19355. realminivaluedp:
  19356. description: 实际最小变动值小数位
  19357. type: integer
  19358. storagefee:
  19359. description: '仓储费(固定: 111)'
  19360. type: number
  19361. thumurls:
  19362. description: 缩略图片(1:1)(逗号分隔)
  19363. type: string
  19364. unitid:
  19365. description: 现货商品单位ID
  19366. type: integer
  19367. vatrate:
  19368. description: 现货增值税率
  19369. type: number
  19370. wrsstatus:
  19371. description: 状态 - 作废 - 0:未激活 1:正常
  19372. type: integer
  19373. wrstandardcode:
  19374. description: 现货商品代码
  19375. type: string
  19376. wrstandardid:
  19377. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  19378. type: integer
  19379. wrstandardname:
  19380. description: 现货商品名称(模糊查询)
  19381. type: string
  19382. type: object
  19383. models.THJWrstandardDetail_GoodsInfo:
  19384. properties:
  19385. bannerpicurl:
  19386. description: Banner图(逗号分隔)
  19387. type: string
  19388. pictureurls:
  19389. description: 详情图片(逗号分隔)
  19390. type: string
  19391. spotgoodsprice:
  19392. description: 现货价格
  19393. type: number
  19394. unitid:
  19395. description: 现货商品单位ID
  19396. type: integer
  19397. wrstandardcode:
  19398. description: 现货商品代码
  19399. type: string
  19400. wrstandardid:
  19401. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  19402. type: integer
  19403. wrstandardname:
  19404. description: 现货商品名称
  19405. type: string
  19406. type: object
  19407. models.THJWrstandardDetailRsp:
  19408. properties:
  19409. deliverymodes:
  19410. description: 交割方式
  19411. items:
  19412. $ref: '#/definitions/models.THJDeliveryMode'
  19413. type: array
  19414. deliverymonth:
  19415. description: 交割月份
  19416. items:
  19417. $ref: '#/definitions/models.THJDeliveryMonth'
  19418. type: array
  19419. goodsinfo:
  19420. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  19421. description: 商品信息
  19422. presaleapplydeposits:
  19423. description: 支付方式
  19424. items:
  19425. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  19426. type: array
  19427. spotgoodspricelogs:
  19428. description: 历史价格走势
  19429. items:
  19430. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  19431. type: array
  19432. type: object
  19433. models.Taaccount:
  19434. properties:
  19435. accountflag:
  19436. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  19437. type: integer
  19438. accountid:
  19439. description: 资金账户ID
  19440. type: integer
  19441. accountname:
  19442. description: 账户名称
  19443. type: string
  19444. balance:
  19445. description: 期初余额
  19446. type: number
  19447. capitalbalance:
  19448. description: 本金余额[外部子账户实际出入金余额]
  19449. type: number
  19450. changeflag:
  19451. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  19452. type: integer
  19453. changetime:
  19454. description: 账户状态变更时间
  19455. type: string
  19456. closepl:
  19457. description: 今日平仓盈亏
  19458. type: number
  19459. creditdecrease:
  19460. description: 今日授信减少
  19461. type: number
  19462. creditincrease:
  19463. description: 今日授信增加
  19464. type: number
  19465. curamount:
  19466. description: 总市值(从持仓中统计)
  19467. type: number
  19468. currencyid:
  19469. description: 货币ID
  19470. type: integer
  19471. currentbalance:
  19472. description: 期末余额
  19473. type: number
  19474. freezecharge:
  19475. description: 手续费冻结
  19476. type: number
  19477. freezemargin:
  19478. description: 冻结保证金
  19479. type: number
  19480. fromaccountid:
  19481. description: 所属上级账户
  19482. type: integer
  19483. inamount:
  19484. description: 今日入金金额(包括三方入金)
  19485. type: number
  19486. ismain:
  19487. description: 是否母账号 0:不是母账户 1:是母账户
  19488. type: integer
  19489. ismarketaccount:
  19490. description: 是否机构接单账号 0:不是 1:是
  19491. type: integer
  19492. isreckonaccount:
  19493. description: 是否机构分润账号 0:不是 1:是
  19494. type: integer
  19495. mortgagecredit:
  19496. description: 授信金额
  19497. type: number
  19498. orifreezecharge:
  19499. description: 期初手续费冻结
  19500. type: number
  19501. orifreezemargin:
  19502. description: 期初冻结保证金
  19503. type: number
  19504. orimortgagecredit:
  19505. description: 期初授信金额
  19506. type: number
  19507. oriothercredit:
  19508. description: 期初其它授信金额
  19509. type: number
  19510. oriotherfreezemargin:
  19511. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  19512. type: number
  19513. orioutamountfreeze:
  19514. description: 期初出金冻结
  19515. type: number
  19516. oriusedmargin:
  19517. description: 期初占用保证金
  19518. type: number
  19519. othercredit:
  19520. description: 其它授信金额
  19521. type: number
  19522. othercreditdecrease:
  19523. description: 今日其它授信减少
  19524. type: number
  19525. othercreditincrease:
  19526. description: 今日其它授信增加
  19527. type: number
  19528. otherfreezemargin:
  19529. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  19530. type: number
  19531. otherincome:
  19532. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  19533. type: number
  19534. otherpay:
  19535. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  19536. type: number
  19537. outamount:
  19538. description: 今日出金金额(包括三方出金)
  19539. type: number
  19540. outamountfreeze:
  19541. description: 出金冻结
  19542. type: number
  19543. outthreshold:
  19544. description: 出金阈值
  19545. type: number
  19546. parentaccountid:
  19547. description: 所属根账号
  19548. type: integer
  19549. paycharge:
  19550. description: 今日手续费支出
  19551. type: number
  19552. relatedaccountstatus:
  19553. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  19554. type: integer
  19555. relateduserid:
  19556. description: 关联用户
  19557. type: integer
  19558. remainamount:
  19559. description: 融资额(从融资合同中统计)
  19560. type: number
  19561. serivcegroup:
  19562. description: 服务分组
  19563. type: integer
  19564. signstatus:
  19565. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  19566. type: integer
  19567. sublevelpath:
  19568. description: 账号层级路径(逗号分隔,首尾加逗号)
  19569. type: string
  19570. taaccounttype:
  19571. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  19572. type: integer
  19573. thirdinamount:
  19574. description: 今日三方入金
  19575. type: number
  19576. thirdoutamount:
  19577. description: 今日三方出金
  19578. type: number
  19579. tradestatus:
  19580. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  19581. type: integer
  19582. tradestatuschangetime:
  19583. description: 激活时间
  19584. type: string
  19585. transferamount:
  19586. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  19587. type: number
  19588. usedmargin:
  19589. description: 占用保证金
  19590. type: number
  19591. userid:
  19592. description: 用户ID
  19593. type: integer
  19594. required:
  19595. - accountid
  19596. - userid
  19597. type: object
  19598. models.Tablecolumnconfig:
  19599. properties:
  19600. aligntype:
  19601. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  19602. type: integer
  19603. autoid:
  19604. description: AutoID
  19605. type: integer
  19606. columnfield:
  19607. description: 列字段
  19608. type: string
  19609. columntitle:
  19610. description: 列Title
  19611. type: string
  19612. columnwidth:
  19613. description: 列宽
  19614. type: string
  19615. fixed:
  19616. description: 固定类型 - 空 | left | right
  19617. type: string
  19618. formatterstring:
  19619. description: 格式化字符
  19620. type: string
  19621. formattertype:
  19622. description: 格式化类型
  19623. type: string
  19624. groupname:
  19625. description: 表头分组名称
  19626. type: string
  19627. ismerge:
  19628. description: 是否合并显示 - 0:不合并 1:合并
  19629. type: integer
  19630. isshow:
  19631. description: 是否显示 - 0:不显示 1:显示
  19632. type: integer
  19633. needsummary:
  19634. description: 是否需要汇总 - 0:不需要 1:需要
  19635. type: integer
  19636. orderindex:
  19637. description: 顺序
  19638. type: integer
  19639. remark:
  19640. description: 备注
  19641. type: string
  19642. summarytype:
  19643. description: 汇总类型 - 1:加总 2:最后一个
  19644. type: integer
  19645. tablekey:
  19646. description: 列表Key
  19647. type: string
  19648. required:
  19649. - autoid
  19650. type: object
  19651. models.Thjinvesotrdeposit:
  19652. properties:
  19653. depositqty:
  19654. description: 可用量
  19655. type: integer
  19656. depositrate:
  19657. description: 定金比例
  19658. type: number
  19659. userid:
  19660. description: 用户ID
  19661. type: integer
  19662. type: object
  19663. models.Thjinvestorlevelgroup:
  19664. properties:
  19665. grouplevel:
  19666. description: 分组级别 - 唯一
  19667. type: integer
  19668. groupname:
  19669. description: 分级名称
  19670. type: string
  19671. keepbuyqty:
  19672. description: 保级一级采购总量
  19673. type: integer
  19674. levelgroupid:
  19675. description: 自增ID(SEQ_THJ_INVESTORLEVELGROUP)
  19676. type: integer
  19677. levelonealgorithm:
  19678. description: 一级分润算法(采购) 1:比率 2:固定
  19679. type: integer
  19680. levelonealgorithm2:
  19681. description: 一级分润算法(供求) 1:比率 2:固定
  19682. type: integer
  19683. levelonealgorithm3:
  19684. description: 一级分润算法(转让) 1:比率 2:固定
  19685. type: integer
  19686. levelonevalue:
  19687. description: 一级分润值(采购)
  19688. type: number
  19689. levelonevalue2:
  19690. description: 一级分润值(供求)
  19691. type: number
  19692. levelonevalue3:
  19693. description: 一级分润值(转让)
  19694. type: number
  19695. leveltwoalgorithm:
  19696. description: 二级级分润算法(采购) 1:比率 2:固定
  19697. type: integer
  19698. leveltwovalue:
  19699. description: 二级分润值(采购)
  19700. type: number
  19701. upbuyqty:
  19702. description: 晋级一级采购总量
  19703. type: integer
  19704. updatetime:
  19705. description: 平台更新时间
  19706. type: string
  19707. updatorid:
  19708. description: 更新人
  19709. type: integer
  19710. type: object
  19711. models.Thjpurchasetradedetail:
  19712. properties:
  19713. buyaccountid:
  19714. description: 买方账号ID
  19715. type: integer
  19716. buychargevalue:
  19717. description: 买方到期手续费
  19718. type: number
  19719. buyconfirmremark:
  19720. description: 买方确认备注
  19721. type: string
  19722. buyconfirmtime:
  19723. description: 买方确认时间
  19724. type: string
  19725. buyfreezecharge:
  19726. description: 买方摘牌冻结手续费
  19727. type: number
  19728. buyuserid:
  19729. description: 买方用户ID
  19730. type: integer
  19731. contactinfo:
  19732. description: 联系方式
  19733. type: string
  19734. contactname:
  19735. description: 联系人姓名
  19736. type: string
  19737. contractaddrbuy:
  19738. description: 贸易合同地址(买家)
  19739. type: string
  19740. contractaddrsell:
  19741. description: 贸易合同地址(卖家)
  19742. type: string
  19743. createtime:
  19744. description: 预售挂牌时间
  19745. type: string
  19746. deliverygoodsid:
  19747. description: 现货品种ID
  19748. type: integer
  19749. depositrate:
  19750. description: 定金比例
  19751. type: number
  19752. desaddress:
  19753. description: 目的地地址
  19754. type: string
  19755. discountamount:
  19756. description: 优惠总金额(优惠金额*TradeQty)
  19757. type: number
  19758. enddate:
  19759. description: 到期日期
  19760. type: string
  19761. enddatemonth:
  19762. description: 交收月份(提货日期)
  19763. type: string
  19764. handlestatus:
  19765. description: 处理状态
  19766. type: integer
  19767. lastamount:
  19768. description: 到期总货款 = 到期价格 * 摘牌数量
  19769. type: number
  19770. lastprice:
  19771. description: '[实际价]到期价格'
  19772. type: number
  19773. lastpricedate:
  19774. description: 到期价格日期 - 暂不使用
  19775. type: string
  19776. marketid:
  19777. description: 市场ID
  19778. type: integer
  19779. orderstatus:
  19780. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  19781. (枚举:THJOrderStatus)
  19782. type: integer
  19783. payeddeposit:
  19784. description: '[定金]买方已付定金(预付款)'
  19785. type: number
  19786. payedtradedate:
  19787. description: 支付尾款成功交易日
  19788. type: string
  19789. presaleapplyid:
  19790. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19791. type: string
  19792. presalestatus:
  19793. description: 预留状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19794. type: integer
  19795. receiptinfo:
  19796. description: 发票信息
  19797. type: string
  19798. remainamount:
  19799. description: '[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额'
  19800. type: number
  19801. sellaccountid:
  19802. description: 卖方账号ID
  19803. type: integer
  19804. sellchargevalue:
  19805. description: 卖方到期手续费
  19806. type: number
  19807. sellconfirmattach:
  19808. description: 卖方确认附件
  19809. type: string
  19810. sellconfirmremark:
  19811. description: 卖方确认备注
  19812. type: string
  19813. sellconfirmtime:
  19814. description: 卖方确认时间
  19815. type: string
  19816. sellconfirmtradedate:
  19817. description: 卖方确认交易日
  19818. type: string
  19819. selluserid:
  19820. description: 卖方用户ID
  19821. type: integer
  19822. thjdeliverymode:
  19823. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19824. type: integer
  19825. thjdeliverymodedisplay:
  19826. description: 提货方式
  19827. type: string
  19828. thjorderstatusdisplay:
  19829. description: 状态
  19830. type: string
  19831. tradeamount:
  19832. description: 摘牌总货款
  19833. type: number
  19834. tradedate:
  19835. description: 交易日(yyyyMMdd)
  19836. type: string
  19837. tradeprice:
  19838. description: 摘牌价格 - 参考价
  19839. type: number
  19840. tradeqty:
  19841. description: '[预售价]摘牌数量'
  19842. type: integer
  19843. tradetime:
  19844. description: 摘牌时间(委托时间)
  19845. type: string
  19846. transferprice:
  19847. description: 转让价格 - 购买价
  19848. type: number
  19849. unitid:
  19850. description: 商品单位
  19851. type: integer
  19852. warehouseid:
  19853. description: 仓库ID
  19854. type: integer
  19855. warehousename:
  19856. description: 仓库名称
  19857. type: string
  19858. wrfactortypeid:
  19859. description: 仓单要素类型ID
  19860. type: string
  19861. wrstandardid:
  19862. description: 现货商品ID
  19863. type: integer
  19864. wrstandardname:
  19865. description: 现货商品名称
  19866. type: string
  19867. wrtradedetailid:
  19868. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19869. type: string
  19870. required:
  19871. - buyuserid
  19872. type: object
  19873. models.Thjpurchasetransfer:
  19874. properties:
  19875. buyaccountid:
  19876. description: 买方账号ID
  19877. type: integer
  19878. buyuserid:
  19879. description: 买方用户ID
  19880. type: integer
  19881. contractaddr:
  19882. description: 协议转让合同地址
  19883. type: string
  19884. createtime:
  19885. description: 转让挂牌时间
  19886. type: string
  19887. deliverygoodsid:
  19888. description: 现货品种ID
  19889. type: integer
  19890. enddate:
  19891. description: 到期日期
  19892. type: string
  19893. enddatemonth:
  19894. description: 交收月份(提货日期)
  19895. type: string
  19896. handlestatus:
  19897. description: 处理状态
  19898. type: integer
  19899. marketid:
  19900. description: 市场ID(固定为(64202)
  19901. type: integer
  19902. ordertype:
  19903. description: 类型 - 1:转让委托 - 挂牌中(卖方) 2:转让成交(卖方) 3:转让委托 - 已完成(卖方)
  19904. type: integer
  19905. payeddeposit:
  19906. description: 买方已付定金(预付款)
  19907. type: number
  19908. presaleapplyid:
  19909. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19910. type: string
  19911. presalestatus:
  19912. description: 预售状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19913. type: integer
  19914. remark:
  19915. description: 备注
  19916. type: string
  19917. sellaccountid:
  19918. description: 卖方账号ID
  19919. type: integer
  19920. sellcharge:
  19921. description: 卖方手续费值
  19922. type: number
  19923. sellchargealgorithm:
  19924. description: 卖方手续费收取方式 1:比率 2:固定
  19925. type: integer
  19926. sellchargealgorithmvalue:
  19927. description: 手续费设置值(交易所部分)
  19928. type: number
  19929. selluserid:
  19930. description: 卖方用户ID
  19931. type: integer
  19932. tradedate:
  19933. description: 交易日(yyyyMMdd)
  19934. type: string
  19935. tradeprice:
  19936. description: 参考价
  19937. type: number
  19938. transferamount:
  19939. description: 转让金额
  19940. type: number
  19941. transferid:
  19942. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  19943. type: string
  19944. transferprice:
  19945. description: 转让价格
  19946. type: number
  19947. transferqty:
  19948. description: 数量
  19949. type: integer
  19950. transferstatus:
  19951. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19952. type: integer
  19953. transfertradedate:
  19954. description: 转让交易日
  19955. type: string
  19956. transfertradetime:
  19957. description: 转让成交时间
  19958. type: string
  19959. unitid:
  19960. description: 现货商品单位ID
  19961. type: integer
  19962. warehouseid:
  19963. description: 仓库ID
  19964. type: integer
  19965. wrfactortypeid:
  19966. description: 仓单要素类型ID
  19967. type: string
  19968. wrstandardid:
  19969. description: 现货商品ID
  19970. type: integer
  19971. wrstandardname:
  19972. description: 现货商品名称
  19973. type: string
  19974. wrtradedetailid:
  19975. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19976. type: string
  19977. required:
  19978. - ordertype
  19979. type: object
  19980. models.ThjpurchasetransferDetail:
  19981. properties:
  19982. buyusername:
  19983. description: 受让人
  19984. type: string
  19985. contactinfo:
  19986. description: 联系方式
  19987. type: string
  19988. contactname:
  19989. description: 联系人姓名
  19990. type: string
  19991. contractaddr:
  19992. description: 协议转让合同地址
  19993. type: string
  19994. contractaddrbuy:
  19995. description: 贸易合同地址(买家)
  19996. type: string
  19997. contractaddrsell:
  19998. description: 贸易合同地址(卖家)
  19999. type: string
  20000. createtime:
  20001. description: 转让委托时间
  20002. type: string
  20003. depositrate:
  20004. description: 定金比例
  20005. type: number
  20006. desaddress:
  20007. description: 目的地地址
  20008. type: string
  20009. enddate:
  20010. description: 到期日期
  20011. type: string
  20012. enddatemonth:
  20013. description: 交收月份(提货日期)
  20014. type: string
  20015. lastprice:
  20016. description: '[实际价]到期价格'
  20017. type: number
  20018. payeddeposit:
  20019. description: 买方已付定金(预付款(含定金))
  20020. type: number
  20021. receiptinfo:
  20022. description: 发票信息
  20023. type: string
  20024. sellusername:
  20025. description: 转让人
  20026. type: string
  20027. thjdeliverymode:
  20028. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  20029. type: integer
  20030. tradeprice:
  20031. description: 预售价格
  20032. type: number
  20033. transferamount:
  20034. description: 转让金额
  20035. type: number
  20036. transferid:
  20037. description: 转让单号
  20038. type: string
  20039. transferprice:
  20040. description: 转让价格
  20041. type: number
  20042. transferqty:
  20043. description: 转让数量
  20044. type: integer
  20045. transferstatus:
  20046. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  20047. type: integer
  20048. transfertradetime:
  20049. description: 转让成交时间
  20050. type: string
  20051. warehousename:
  20052. description: 仓库名称
  20053. type: string
  20054. wrstandardcode:
  20055. description: 现货商品代码
  20056. type: string
  20057. wrstandardid:
  20058. description: 现货商品ID
  20059. type: integer
  20060. wrstandardname:
  20061. description: 现货商品名称
  20062. type: string
  20063. wrtradedetailid:
  20064. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20065. type: string
  20066. type: object
  20067. models.Thjscoreconfig:
  20068. properties:
  20069. parma1:
  20070. description: 参数1
  20071. type: integer
  20072. parma2:
  20073. description: 参数2
  20074. type: integer
  20075. parma3:
  20076. description: 参数3
  20077. type: integer
  20078. parma4:
  20079. description: 参数4
  20080. type: integer
  20081. parma5:
  20082. description: 参数5
  20083. type: integer
  20084. parma6:
  20085. description: 参数6
  20086. type: integer
  20087. parma7:
  20088. description: 参数6
  20089. type: integer
  20090. scoreconfigtype:
  20091. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  20092. 7:抽奖得红包
  20093. type: integer
  20094. type: object
  20095. models.Thjspotquoteconfig:
  20096. properties:
  20097. autoid:
  20098. description: 自增ID(SEQ_THJ_SPOTQUOTECONFIG)
  20099. type: integer
  20100. relatedid:
  20101. description: 关联新闻ID(Site_ColumnDetail)
  20102. type: integer
  20103. spotmonth:
  20104. description: 现货月份(yyyy-MM)
  20105. type: string
  20106. spotname:
  20107. description: 现货名称
  20108. type: string
  20109. spotprice:
  20110. description: 现货招标价
  20111. type: string
  20112. spotqty:
  20113. description: 现货采购量
  20114. type: string
  20115. spotsrc:
  20116. description: 现货来源
  20117. type: string
  20118. updatetime:
  20119. description: 更新时间
  20120. type: string
  20121. type: object
  20122. models.TjmdHolderDetailTradeInfo:
  20123. properties:
  20124. agreeunit:
  20125. description: 合约乘数
  20126. type: number
  20127. buyaccountid:
  20128. description: 买方账户
  20129. type: string
  20130. buyusername:
  20131. description: 买方
  20132. type: string
  20133. delistingdate:
  20134. description: 最后结算日
  20135. type: string
  20136. expiredate:
  20137. description: 到期结算价定价日
  20138. type: string
  20139. exprieprice:
  20140. description: 到期清算价格
  20141. type: string
  20142. goodscode:
  20143. description: 商品代码
  20144. type: string
  20145. goodsid:
  20146. description: 商品ID
  20147. type: integer
  20148. goodsname:
  20149. description: 商品名称(交易标的)
  20150. type: string
  20151. lasttradedate:
  20152. description: 最后交易日
  20153. type: string
  20154. listingdate:
  20155. description: 开始交易日
  20156. type: string
  20157. openprice:
  20158. description: 成交价
  20159. type: number
  20160. openqty:
  20161. description: 交易数量
  20162. type: integer
  20163. sellaccountid:
  20164. description: 卖方账户
  20165. type: string
  20166. sellusername:
  20167. description: 卖方
  20168. type: string
  20169. tradeamount:
  20170. description: 初始名义价值
  20171. type: number
  20172. tradedate:
  20173. description: 成交日期
  20174. type: string
  20175. tradeid:
  20176. description: 成交编号
  20177. type: string
  20178. type: object
  20179. models.TjmdMarketSection:
  20180. properties:
  20181. marketsectionid:
  20182. description: 市场版块ID(SEQ_MARKETSECTION)
  20183. type: integer
  20184. marketsectionname:
  20185. description: 市场版块名称
  20186. type: string
  20187. mlist:
  20188. description: 市场列表(板块下面有多少个市场)
  20189. items:
  20190. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  20191. type: array
  20192. orderindex:
  20193. description: 排序
  20194. type: integer
  20195. pictureurl:
  20196. description: 图片url, 规格(90*90)
  20197. type: string
  20198. remark:
  20199. description: 备注
  20200. type: string
  20201. type: object
  20202. models.TjmdMarketSectionConfig:
  20203. properties:
  20204. auctionwrtype:
  20205. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  20206. type: integer
  20207. canacceptquote:
  20208. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  20209. type: integer
  20210. cangoodsexercise:
  20211. description: '[期权]是否可现货行权- 0:否 1:是'
  20212. type: integer
  20213. cangoodsexercisetype:
  20214. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  20215. type: integer
  20216. canmanualquotestrike:
  20217. description: 是否可手动报行权价- 0:否 1:是 [期权]
  20218. type: integer
  20219. canmutistage:
  20220. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  20221. type: integer
  20222. canpreexercise:
  20223. description: '[期权]是否可预申报- 0:否 1:是'
  20224. type: integer
  20225. clearinterval:
  20226. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  20227. type: integer
  20228. contracttmp:
  20229. description: 合同模板[荷兰式][竞价式][仓单贸易]
  20230. type: string
  20231. exchareaid:
  20232. description: 所属交易所,可以没有
  20233. type: integer
  20234. financemarketid:
  20235. description: 融资回购市场ID [仓单贸易]
  20236. type: integer
  20237. goodstype:
  20238. description: 商品类型 - 1:交易商品 2:仓单商品
  20239. type: integer
  20240. hasrebate:
  20241. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  20242. type: integer
  20243. hastradecredit:
  20244. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  20245. type: integer
  20246. haswr:
  20247. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  20248. type: integer
  20249. isdeductmargin:
  20250. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  20251. type: integer
  20252. isrecordsource:
  20253. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  20254. type: integer
  20255. isreleasemargin:
  20256. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  20257. type: integer
  20258. isupdatereckonprice:
  20259. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  20260. type: integer
  20261. listingmode:
  20262. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  20263. type: integer
  20264. marginformula:
  20265. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  20266. type: integer
  20267. marginformula2:
  20268. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  20269. type: integer
  20270. marketid:
  20271. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  20272. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  20273. type: integer
  20274. marketname:
  20275. description: 市场名称
  20276. type: string
  20277. marketsectionid:
  20278. description: 市场版块ID(SEQ_MARKETSECTION)
  20279. type: integer
  20280. marketserviceid:
  20281. description: 市场服务ID
  20282. type: integer
  20283. marketstatus:
  20284. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  20285. type: integer
  20286. markettype:
  20287. description: 市场类型- 1:非交易服务 2:交易服务
  20288. type: integer
  20289. matchermode:
  20290. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  20291. type: integer
  20292. nowrquotaflag:
  20293. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  20294. type: integer
  20295. openmethod:
  20296. description: 开盘模式 - 0 自动 1手动
  20297. type: integer
  20298. orderindex:
  20299. description: 排序
  20300. type: integer
  20301. otcuserid:
  20302. description: 场外期权做市商[场外期权]
  20303. type: integer
  20304. outersynctime:
  20305. description: 外部同步时间点(h24:mi:ss)[场外期权]
  20306. type: string
  20307. paylaterflag:
  20308. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  20309. type: integer
  20310. pendingflag:
  20311. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  20312. type: integer
  20313. pendingtime:
  20314. description: 待开市时间[通道交易-对冲](HH:mm)
  20315. type: string
  20316. performancetempid:
  20317. description: 履约计划模板ID - 作废
  20318. type: integer
  20319. premiumquotemode:
  20320. description: 权利金报价方式 - 1:自动 2:手动
  20321. type: integer
  20322. rebateratio:
  20323. description: 返利比率[竞价式]
  20324. type: number
  20325. reckonorder:
  20326. description: 结算顺序
  20327. type: integer
  20328. reckonpricealgorithm:
  20329. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  20330. 6.卖一价 7.买一卖一均价 8.外部结算价'
  20331. type: integer
  20332. reckonpriceparam:
  20333. description: 结算价参数
  20334. type: integer
  20335. reckontime:
  20336. description: 结算时间[通道交易-对冲](HH:mm)
  20337. type: string
  20338. roleprioritytype:
  20339. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  20340. type: integer
  20341. selllistingauditflag:
  20342. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  20343. type: integer
  20344. trademarkettype:
  20345. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  20346. type: integer
  20347. trademode:
  20348. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  20349. 21:竞拍-大宗式 22:受托竞价
  20350. type: integer
  20351. tradeproperty:
  20352. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  20353. 8:场外期权
  20354. type: integer
  20355. tradetype:
  20356. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  20357. type: integer
  20358. updatereckonpriceinterval:
  20359. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  20360. type: integer
  20361. type: object
  20362. models.TjmdQuoteGoods:
  20363. properties:
  20364. buyqty:
  20365. description: 买量(暂不做, 无值, 保留字段)
  20366. type: number
  20367. decimalplace:
  20368. description: 报价小数位
  20369. type: integer
  20370. goodscode:
  20371. description: 合约代码
  20372. type: string
  20373. goodsgroupid:
  20374. description: 商品组ID(自增ID)
  20375. type: integer
  20376. goodsgroupname:
  20377. description: 商品组名称
  20378. type: string
  20379. goodsid:
  20380. description: 合约id
  20381. type: integer
  20382. goodsname:
  20383. description: 合约名称
  20384. type: string
  20385. refgoodscode:
  20386. description: 标的合约代码
  20387. type: string
  20388. refgoodsid:
  20389. description: 标的合约id
  20390. type: integer
  20391. refgoodsname:
  20392. description: 标的合约名称
  20393. type: string
  20394. sellqty:
  20395. description: 卖量(暂不做, 无值, 保留字段)
  20396. type: number
  20397. type: object
  20398. models.TjmdTodayAccountMargin:
  20399. properties:
  20400. accountid:
  20401. description: 账号ID
  20402. type: integer
  20403. goodsid:
  20404. description: 商品ID
  20405. type: integer
  20406. infoc:
  20407. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  20408. description: 配置参数
  20409. marketid:
  20410. description: 市场ID
  20411. type: integer
  20412. type: object
  20413. models.TjmdTradeOrderDetail:
  20414. properties:
  20415. buyorsell:
  20416. description: 买卖方向 0-买 1-卖
  20417. type: integer
  20418. goodsid:
  20419. description: 商品id
  20420. type: integer
  20421. marketmaxsub:
  20422. description: 市价最大偏移范围 [浮动价 - 点差]
  20423. type: number
  20424. orderid:
  20425. description: 委托单号
  20426. type: string
  20427. orderprice:
  20428. description: 期初均价
  20429. type: number
  20430. orderqty:
  20431. description: 委托数量
  20432. type: integer
  20433. pricemode:
  20434. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  20435. type: integer
  20436. userid:
  20437. description: 用户id
  20438. type: integer
  20439. username:
  20440. description: 用户名称(已脱敏)
  20441. type: string
  20442. type: object
  20443. models.TjmdTransferApply:
  20444. properties:
  20445. applyid:
  20446. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  20447. type: integer
  20448. applystatus:
  20449. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  20450. type: integer
  20451. applytime:
  20452. description: 申请时间(时间)
  20453. type: string
  20454. auditremark:
  20455. description: 审核备注(拒绝原因?)
  20456. type: string
  20457. begindate:
  20458. description: 开始交易日(yyyymmdd)
  20459. type: string
  20460. buyorsell:
  20461. description: 买卖 - 0:买 1:卖
  20462. type: integer
  20463. enddate:
  20464. description: 结束交易日(yyyymmdd)
  20465. type: string
  20466. goodscode:
  20467. description: 商品代码
  20468. type: string
  20469. goodsid:
  20470. description: 商品ID
  20471. type: integer
  20472. goodsname:
  20473. description: 商品名称
  20474. type: string
  20475. marketid:
  20476. description: 市场ID
  20477. type: integer
  20478. qty:
  20479. description: 期初均价
  20480. type: number
  20481. tradeid:
  20482. description: 成交单号(关联持仓)
  20483. type: string
  20484. transferamount:
  20485. description: 转让总金额(金额)
  20486. type: number
  20487. transferprice:
  20488. description: 转让价格(协议价格)
  20489. type: number
  20490. type: object
  20491. models.TradeHolderDetail:
  20492. properties:
  20493. accountid:
  20494. description: 账号ID
  20495. type: integer
  20496. agreeunit:
  20497. description: 合约乘数
  20498. type: number
  20499. buyorsell:
  20500. description: 方向 - 0:买 1:卖
  20501. type: integer
  20502. currencyid:
  20503. description: 商品币种id
  20504. type: integer
  20505. currencyname:
  20506. description: 币种名称
  20507. type: string
  20508. decimalplace:
  20509. description: 商品价格小数位
  20510. type: integer
  20511. enumdicname:
  20512. description: 商品单位名称
  20513. type: string
  20514. expirecycle:
  20515. description: 行权周期(天) - 1:滚动行权时填写
  20516. type: integer
  20517. expiredate:
  20518. description: 行权日(yyyyMMdd) - 到期日
  20519. type: string
  20520. expiretype:
  20521. description: 行权日类型 - 1:滚动行权 2:固定日行权
  20522. type: integer
  20523. freezeqty:
  20524. description: 期初均价
  20525. type: number
  20526. goodscode:
  20527. description: 商品代码
  20528. type: string
  20529. goodsid:
  20530. description: 商品ID
  20531. type: integer
  20532. goodsname:
  20533. description: 商品名称
  20534. type: string
  20535. goodunitid:
  20536. description: 商品单位id
  20537. type: integer
  20538. holderamount:
  20539. description: 持仓金额
  20540. type: number
  20541. holdercredit:
  20542. description: 持仓授信金额
  20543. type: number
  20544. holderdays:
  20545. description: 剩余冻结天数
  20546. type: integer
  20547. holderprice:
  20548. description: 持仓价格
  20549. type: number
  20550. holderqty:
  20551. description: 期初均价
  20552. type: number
  20553. isconfirmexercise:
  20554. description: 是否确认行权- 0:否 1:是
  20555. type: integer
  20556. ispreexercise:
  20557. description: 是否预申报- 0:否 1:是 2:不可行权
  20558. type: integer
  20559. marketid:
  20560. description: 市场id
  20561. type: integer
  20562. marketname:
  20563. description: 市场名称
  20564. type: string
  20565. openprice:
  20566. description: 建仓价格
  20567. type: number
  20568. openqty:
  20569. description: 期初均价
  20570. type: number
  20571. optiontype:
  20572. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20573. type: integer
  20574. preexerciseprice:
  20575. description: 预申报价格
  20576. type: number
  20577. premium:
  20578. description: 权利金
  20579. type: number
  20580. qtydecimalplace:
  20581. description: 商品成交量小数位
  20582. type: integer
  20583. refgoodscode:
  20584. description: 标的合约代码
  20585. type: string
  20586. refgoodsid:
  20587. description: 标的合约id
  20588. type: integer
  20589. releaseamount:
  20590. description: 释放持仓金额
  20591. type: number
  20592. releaseholdercredit:
  20593. description: 释放持仓授信金额
  20594. type: number
  20595. taname:
  20596. description: 资金账号名称
  20597. type: string
  20598. tradeamount:
  20599. description: 成交金额
  20600. type: number
  20601. tradedate:
  20602. description: 交易日(yyyyMMdd)
  20603. type: string
  20604. tradeid:
  20605. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20606. type: string
  20607. trademode:
  20608. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  20609. 21:竞拍-大宗式 22:受托竞价 46:掉期
  20610. type: integer
  20611. tradeproperty:
  20612. description: 交易属性
  20613. type: integer
  20614. tradetime:
  20615. description: 交易时间
  20616. type: string
  20617. userid:
  20618. description: 用户id
  20619. type: integer
  20620. username:
  20621. description: 用户名称
  20622. type: string
  20623. type: object
  20624. models.Unlinkermcphedgeplan:
  20625. properties:
  20626. accountid:
  20627. description: 期货账户ID - 作废
  20628. type: integer
  20629. accountname:
  20630. description: 交易用户
  20631. type: string
  20632. applyid:
  20633. description: 申请人
  20634. type: integer
  20635. applysrc:
  20636. description: 申请来源 - 1:管理端 2:终端
  20637. type: integer
  20638. applytime:
  20639. description: 申请时间
  20640. type: string
  20641. areauserid:
  20642. description: '[企业ID]机构ID'
  20643. type: integer
  20644. auditid:
  20645. description: 审核人
  20646. type: integer
  20647. auditremark:
  20648. description: 审核备注
  20649. type: string
  20650. auditsrc:
  20651. description: 审核来源 - 1:管理端 2:终端
  20652. type: integer
  20653. audittime:
  20654. description: 审核时间
  20655. type: string
  20656. audittradedate:
  20657. description: 审核交易日(yyyyMMdd)
  20658. type: string
  20659. biztype:
  20660. description: 业务类型 - 1:套保
  20661. type: integer
  20662. contracttype:
  20663. description: 计划类型 - 1:采购 -1:销售
  20664. type: integer
  20665. convertfactor:
  20666. description: 标仓系数 - 作废
  20667. type: number
  20668. createtime:
  20669. description: 创建时间
  20670. type: string
  20671. currencyid:
  20672. description: 结算币种ID - 作废
  20673. type: integer
  20674. deliverygoodsid:
  20675. description: 现货品种ID
  20676. type: integer
  20677. enumdicname:
  20678. description: 结算币种
  20679. type: string
  20680. hedgeplanid:
  20681. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  20682. type: string
  20683. hedgeplanno:
  20684. description: '[计划编号]套保计划编号,模糊查询'
  20685. type: string
  20686. hedgeplanstatus:
  20687. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  20688. type: integer
  20689. isrelated:
  20690. description: 是否已关联计划项目 - 0:否 1:是
  20691. type: integer
  20692. planqty:
  20693. description: '[计划量]计划数量'
  20694. type: number
  20695. plantime:
  20696. description: 计划时间
  20697. type: string
  20698. producttype:
  20699. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  20700. type: integer
  20701. remark:
  20702. description: 备注
  20703. type: string
  20704. spotgoodsdesc:
  20705. description: 商品型号
  20706. type: string
  20707. tradedate:
  20708. description: 交易日(yyyyMMdd)
  20709. type: string
  20710. tradeuserid:
  20711. description: 交易用户ID
  20712. type: integer
  20713. updatetime:
  20714. description: 更新时间
  20715. type: string
  20716. wrstandardid:
  20717. description: 现货商品ID
  20718. type: integer
  20719. wrstandardname:
  20720. description: 现货商品,模糊查询
  20721. type: string
  20722. required:
  20723. - areauserid
  20724. type: object
  20725. models.UserCollectConfig:
  20726. properties:
  20727. accountstatus:
  20728. description: 账户状态 - 1:正常 2:停用 3:注销
  20729. type: integer
  20730. collectaccountname:
  20731. description: 收款人账户名称
  20732. type: string
  20733. collectaccountno:
  20734. description: 收款人账户
  20735. type: string
  20736. collectbankname:
  20737. description: 收款人开户行
  20738. type: string
  20739. collectbranchbankname:
  20740. description: 收款人开户支行
  20741. type: string
  20742. collectconfigid:
  20743. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  20744. type: string
  20745. remark:
  20746. description: 备注
  20747. type: string
  20748. userid:
  20749. description: 收款人用户ID
  20750. type: integer
  20751. type: object
  20752. models.UserReceiveInfo:
  20753. properties:
  20754. address:
  20755. description: 提货人详细地址
  20756. type: string
  20757. autoid:
  20758. description: AutoID
  20759. type: integer
  20760. cardnum:
  20761. description: 证件号码(加密存储)
  20762. type: string
  20763. cardtypeid:
  20764. description: 证件类型
  20765. type: integer
  20766. cityid:
  20767. description: 市
  20768. type: integer
  20769. cityname:
  20770. description: 城市名称
  20771. type: string
  20772. countryid:
  20773. description: 国家
  20774. type: integer
  20775. countryname:
  20776. description: 国家名称
  20777. type: string
  20778. districtid:
  20779. description: 地区
  20780. type: integer
  20781. districtname:
  20782. description: 地区名称
  20783. type: string
  20784. hasencrypt:
  20785. description: 数据是否已加密 - 0:未加密 1:已加密
  20786. type: integer
  20787. isdefault:
  20788. description: 是否默认地址 - 0:否 1:是
  20789. type: integer
  20790. phonenum:
  20791. description: 提货人联系方式(加密存储)
  20792. type: string
  20793. provinceid:
  20794. description: 省
  20795. type: integer
  20796. provincename:
  20797. description: 省名称
  20798. type: string
  20799. receivername:
  20800. description: 提货人姓名
  20801. type: string
  20802. takeremark:
  20803. description: 提货备注
  20804. type: string
  20805. userid:
  20806. description: 用户ID
  20807. type: integer
  20808. type: object
  20809. models.Useraccount:
  20810. properties:
  20811. accountname:
  20812. description: 账户名称(机构名称)
  20813. type: string
  20814. accountstatus:
  20815. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  20816. type: integer
  20817. applysrc:
  20818. description: 申请来源 - 1:管理端 2:终端
  20819. type: integer
  20820. auditremark:
  20821. description: 审核备注
  20822. type: string
  20823. auditsrc:
  20824. description: 审核来源 - 1:管理端 2:终端
  20825. type: integer
  20826. audittime:
  20827. description: 审核时间
  20828. type: string
  20829. audituserid:
  20830. description: 审核人
  20831. type: integer
  20832. broker:
  20833. description: 所属经纪人ID
  20834. type: integer
  20835. canceltime:
  20836. description: 销户时间
  20837. type: string
  20838. canceluserid:
  20839. description: 销户人
  20840. type: integer
  20841. canrecommend:
  20842. description: 是否可推荐 - 0:不可 1;可
  20843. type: integer
  20844. createtime:
  20845. description: 创建时间
  20846. type: string
  20847. creatorid:
  20848. description: 创建人
  20849. type: integer
  20850. curscore:
  20851. description: 积分
  20852. type: integer
  20853. hasauth:
  20854. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  20855. type: integer
  20856. isanonymous:
  20857. description: 是否匿名下单 - 0:否 1:是
  20858. type: integer
  20859. issigned:
  20860. description: 今日是否已签到
  20861. type: boolean
  20862. maxinvestornum:
  20863. description: 最大用户数(经纪会员下投资者个数)
  20864. type: integer
  20865. memberuserid:
  20866. description: 所属会员ID
  20867. type: integer
  20868. modifierid:
  20869. description: 修改人
  20870. type: integer
  20871. modifyremark:
  20872. description: 变更备注
  20873. type: string
  20874. modifystatus:
  20875. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  20876. type: integer
  20877. modifytime:
  20878. description: 修改时间
  20879. type: string
  20880. parenttopuser:
  20881. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  20882. type: string
  20883. parentuserid:
  20884. description: 所属机构ID
  20885. type: integer
  20886. reckonaccountid:
  20887. description: 默认结算资金账号ID(机构分润使用) 作废
  20888. type: integer
  20889. refercount:
  20890. description: 推荐总人数
  20891. type: integer
  20892. refereeuserid:
  20893. description: 推荐人ID
  20894. type: integer
  20895. refernum:
  20896. description: 推荐码
  20897. type: string
  20898. rootuserid:
  20899. description: 根用户ID
  20900. type: integer
  20901. subaccountlevel:
  20902. description: 子账户层数
  20903. type: integer
  20904. subarealevelpath:
  20905. description: 子机构层级路径(逗号分隔,首尾加逗号)
  20906. type: string
  20907. todayrefercount:
  20908. description: 今日推荐人数
  20909. type: integer
  20910. userid:
  20911. description: 用户ID
  20912. type: integer
  20913. usertype:
  20914. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20915. type: integer
  20916. required:
  20917. - userid
  20918. type: object
  20919. models.Userfavoritegoods:
  20920. properties:
  20921. goodsid:
  20922. description: 商品ID
  20923. type: integer
  20924. required:
  20925. - goodsid
  20926. type: object
  20927. models.Userinfo:
  20928. properties:
  20929. address:
  20930. description: 地址
  20931. type: string
  20932. attachment1:
  20933. description: 附件1
  20934. type: string
  20935. attachment2:
  20936. description: 附件2
  20937. type: string
  20938. bankaccount:
  20939. description: 银行帐号 (加密存储)
  20940. type: string
  20941. bankaccountname:
  20942. description: 收款人名称
  20943. type: string
  20944. bankcardfrontphotourl:
  20945. description: 银行卡正面照地址
  20946. type: string
  20947. bankid:
  20948. description: 银行编码
  20949. type: string
  20950. bankname:
  20951. description: 银行名称
  20952. type: string
  20953. biznature:
  20954. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  20955. type: integer
  20956. bizscope:
  20957. description: 企业经营范围(企业)
  20958. type: string
  20959. cardbackphotourl:
  20960. description: 证件背面图片地址
  20961. type: string
  20962. cardfrontphotourl:
  20963. description: 证件正面图片地址
  20964. type: string
  20965. cardnum:
  20966. description: 证件号码(加密存储)
  20967. type: string
  20968. cardtypeid:
  20969. description: 证件类型ID
  20970. type: integer
  20971. cityid:
  20972. description: 市
  20973. type: integer
  20974. company:
  20975. description: 公司(个人)
  20976. type: string
  20977. contactname:
  20978. description: 联系人
  20979. type: string
  20980. countryid:
  20981. description: 国家
  20982. type: integer
  20983. createtime:
  20984. description: 创建时间
  20985. type: string
  20986. creatorid:
  20987. description: 创建人
  20988. type: integer
  20989. customername:
  20990. description: 客户名称(企业名称)
  20991. type: string
  20992. districtid:
  20993. description: 地区
  20994. type: integer
  20995. email:
  20996. description: 邮件(加密存储)
  20997. type: string
  20998. fax:
  20999. description: 传真(加密存储)
  21000. type: string
  21001. halfbodyphotourl:
  21002. description: 半身照地址
  21003. type: string
  21004. hasencrypt:
  21005. description: 数据是否已加密 - 0:未加密 1:已加密
  21006. type: integer
  21007. headurl:
  21008. description: 头像地址
  21009. type: string
  21010. legalcardbackphotourl:
  21011. description: 法人身份证背面照地址
  21012. type: string
  21013. legalcardfrontphotourl:
  21014. description: 法人身份证正面照地址
  21015. type: string
  21016. legalpersonname:
  21017. description: 法人姓名(企业)
  21018. type: string
  21019. mobile:
  21020. description: 手机号码(加密存储)
  21021. type: string
  21022. mobile2:
  21023. description: 手机号码[明文-尚志]
  21024. type: string
  21025. modifierid:
  21026. description: 修改人
  21027. type: integer
  21028. modifiertime:
  21029. description: 修改时间
  21030. type: string
  21031. needinvoice:
  21032. description: 是否需要发票 - 0:不需要 1:需要
  21033. type: integer
  21034. nickname:
  21035. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  21036. type: string
  21037. openmode:
  21038. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  21039. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  21040. type: integer
  21041. otherurl:
  21042. description: 其它图片地址[使用分号分隔]
  21043. type: string
  21044. postalcode:
  21045. description: 邮政编码
  21046. type: string
  21047. provinceid:
  21048. description: 省
  21049. type: integer
  21050. qq:
  21051. description: QQ(加密存储
  21052. type: string
  21053. remark:
  21054. description: 备注
  21055. type: string
  21056. sex:
  21057. description: '用户性别 0: 女 1: 男'
  21058. type: integer
  21059. signpdfurl:
  21060. description: 签约pdf文件
  21061. type: string
  21062. telphone:
  21063. description: 联系电话(加密存储)
  21064. type: string
  21065. userid:
  21066. description: 用户ID
  21067. type: integer
  21068. userinfotype:
  21069. description: 用户信息类型 - 1:个人 2:企业
  21070. type: integer
  21071. userstatus:
  21072. description: 用户状态 - 1:正常 2:注销
  21073. type: integer
  21074. usertype:
  21075. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  21076. type: integer
  21077. wechat:
  21078. description: 微信(加密存储)
  21079. type: string
  21080. wskhinfo:
  21081. description: 开户申请信息(JSON)
  21082. type: string
  21083. required:
  21084. - userid
  21085. type: object
  21086. models.WRPositionReport:
  21087. properties:
  21088. accountid:
  21089. description: 帐户ID
  21090. type: integer
  21091. brandid:
  21092. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  21093. type: integer
  21094. buylistinglot:
  21095. description: 买挂牌宗数
  21096. type: integer
  21097. buytradeamount:
  21098. description: 购买金额
  21099. type: number
  21100. buytradelot:
  21101. description: 购买宗数
  21102. type: integer
  21103. buytradeqty:
  21104. description: 购买数量
  21105. type: number
  21106. creditcurqty:
  21107. description: 授信当前数量
  21108. type: integer
  21109. creditfreezeqty:
  21110. description: 授信冻结数量
  21111. type: integer
  21112. credittotalqty:
  21113. description: 授信总数量
  21114. type: integer
  21115. credittradeqty:
  21116. description: 授信成交数量
  21117. type: integer
  21118. decreaseqty:
  21119. description: 今日减少数量
  21120. type: integer
  21121. deliverygoodsid:
  21122. description: 交割商品ID
  21123. type: integer
  21124. deliverymonthid:
  21125. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  21126. type: integer
  21127. freezeqty:
  21128. description: 总冻结数量
  21129. type: integer
  21130. increaseqty:
  21131. description: 今日增加数量
  21132. type: integer
  21133. marketvalue:
  21134. description: 市值
  21135. type: number
  21136. pickupqty:
  21137. description: 今日提货数量
  21138. type: integer
  21139. qualityid:
  21140. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  21141. type: integer
  21142. reckondate:
  21143. description: 日照时期(yyyyMMdd)
  21144. type: string
  21145. relatedqty:
  21146. description: 关联数量
  21147. type: integer
  21148. selllistingamount:
  21149. description: 卖挂牌金额
  21150. type: number
  21151. selllistinglot:
  21152. description: 卖挂牌宗数
  21153. type: integer
  21154. selllistingqty:
  21155. description: 卖挂牌数量
  21156. type: number
  21157. selltradeamount:
  21158. description: 销售金额
  21159. type: number
  21160. selltradelot:
  21161. description: 销售宗数
  21162. type: integer
  21163. selltradeqty:
  21164. description: 销售数量
  21165. type: number
  21166. specid:
  21167. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  21168. type: integer
  21169. totalprice:
  21170. description: 销售金额(¥)
  21171. type: number
  21172. totalqty:
  21173. description: 总数量
  21174. type: integer
  21175. totalweight:
  21176. description: 销售重量(ct)
  21177. type: number
  21178. tradewrqty:
  21179. description: 订单仓单头寸总数量
  21180. type: integer
  21181. transfertradewrqty:
  21182. description: 今日转订单数量
  21183. type: integer
  21184. warehouseid:
  21185. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  21186. type: integer
  21187. wrfactortypeid:
  21188. description: 仓单要素类型ID
  21189. type: integer
  21190. wrpositionid:
  21191. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  21192. type: integer
  21193. wrstandardcode:
  21194. description: 现货商品代码
  21195. type: string
  21196. wrstandardid:
  21197. description: 现货商品ID
  21198. type: integer
  21199. wruserid:
  21200. description: 持有人ID
  21201. type: integer
  21202. zscategory:
  21203. description: 商品分类
  21204. type: integer
  21205. zscategorydisplay:
  21206. type: string
  21207. zscurrencytype:
  21208. description: 商品币种
  21209. type: integer
  21210. zscurrencytypedisplay:
  21211. type: string
  21212. zscurrencytypedisplayunit:
  21213. type: string
  21214. type: object
  21215. models.WRSConverTDetail:
  21216. properties:
  21217. convertratio:
  21218. description: 套保系数
  21219. type: number
  21220. deliverygoodscode:
  21221. description: 现货商品代码
  21222. type: string
  21223. deliverygoodsid:
  21224. description: 现货品种ID
  21225. type: integer
  21226. deliverygoodsname:
  21227. description: 现货商品名称
  21228. type: string
  21229. enumdicname:
  21230. description: 单位名称
  21231. type: string
  21232. goodsunitid:
  21233. description: 套保品种单位id
  21234. type: integer
  21235. middlegoodscode:
  21236. description: 套保品种代码
  21237. type: string
  21238. middlegoodsid:
  21239. description: 套保品种ID
  21240. type: integer
  21241. middlegoodsname:
  21242. description: 套保品种名称
  21243. type: string
  21244. modifytime:
  21245. description: 修改时间
  21246. type: string
  21247. wrstandardid:
  21248. description: 品类ID
  21249. type: integer
  21250. type: object
  21251. models.WRStandardInfo:
  21252. properties:
  21253. areauserid:
  21254. description: 所属机构
  21255. type: integer
  21256. convertfactor:
  21257. description: 标仓系数
  21258. type: number
  21259. createtime:
  21260. description: 创建时间
  21261. type: string
  21262. creatorid:
  21263. description: 创建人
  21264. type: integer
  21265. deliverygoodsid:
  21266. description: 品种ID
  21267. type: integer
  21268. deliverygoodsname:
  21269. description: 交割商品名称
  21270. type: string
  21271. factoryitemjson:
  21272. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  21273. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  21274. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  21275. 逗号分隔'
  21276. type: string
  21277. isvalid:
  21278. description: 是否有效 - 0:无效 1:有效
  21279. type: integer
  21280. minivalue:
  21281. description: 最小变动值
  21282. type: integer
  21283. minivaluedp:
  21284. description: 最小变动值小数位
  21285. type: integer
  21286. realminivalue:
  21287. description: 实际最小变动值
  21288. type: integer
  21289. realminivaluedp:
  21290. description: 实际最小变动值小数位
  21291. type: integer
  21292. remark:
  21293. description: 备注
  21294. type: string
  21295. unitid:
  21296. description: 单位ID
  21297. type: integer
  21298. unitname:
  21299. description: 单位
  21300. type: string
  21301. updatetime:
  21302. description: 更新时间
  21303. type: string
  21304. updatorid:
  21305. description: 更新人
  21306. type: integer
  21307. wrsstatus:
  21308. description: 状态 - 作废 - 0:未激活 1:正常
  21309. type: integer
  21310. wrstandardcode:
  21311. description: 现货品类代码
  21312. type: string
  21313. wrstandardid:
  21314. description: 现货品类ID(SEQ_WRSTANDARD)
  21315. type: integer
  21316. wrstandardname:
  21317. description: 现货品类名称
  21318. type: string
  21319. required:
  21320. - wrstandardid
  21321. type: object
  21322. models.WRTradeBargainApply:
  21323. properties:
  21324. accountid:
  21325. description: 摘牌资金账号
  21326. type: integer
  21327. applyprice:
  21328. description: 申请价格(议价价格)
  21329. type: string
  21330. applyqty:
  21331. description: 摘牌数量(议价数量)
  21332. type: number
  21333. applyremark:
  21334. description: 申请备注
  21335. type: string
  21336. applystatus:
  21337. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  21338. type: integer
  21339. applytime:
  21340. description: 申请时间(议价时间)
  21341. type: string
  21342. begindate:
  21343. description: 开始交易日(yyyymmdd)
  21344. type: string
  21345. buyorsell:
  21346. description: 买卖(挂牌类型) - 0:买 1:卖
  21347. type: integer
  21348. confirmremark:
  21349. description: 确认备注
  21350. type: string
  21351. confirmtime:
  21352. description: 确认时间
  21353. type: string
  21354. confirmuserid:
  21355. description: 确认人
  21356. type: integer
  21357. deliverygoodscode:
  21358. description: 品种代码
  21359. type: string
  21360. deliverygoodsid:
  21361. description: 品种ID
  21362. type: integer
  21363. deliverygoodsname:
  21364. description: 品种名称
  21365. type: string
  21366. deliverymonth:
  21367. description: 交收月
  21368. type: string
  21369. enddate:
  21370. description: 结束交易日(yyyymmdd)
  21371. type: string
  21372. enumdicname:
  21373. description: 单位名称
  21374. type: string
  21375. fixedprice:
  21376. description: 期初均价
  21377. type: number
  21378. handlestatus:
  21379. description: 处理状态
  21380. type: integer
  21381. marginvalue:
  21382. description: 期初均价
  21383. type: number
  21384. marketid:
  21385. description: 市场ID
  21386. type: integer
  21387. matchaccountid:
  21388. description: 挂牌方资金账号
  21389. type: integer
  21390. matchuserid:
  21391. description: 挂牌方用户id
  21392. type: integer
  21393. matchusername:
  21394. description: 挂牌方用户名称(已脱敏)
  21395. type: string
  21396. minivalue:
  21397. description: 现货商品最小变动值
  21398. type: integer
  21399. optioncompare:
  21400. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21401. type: string
  21402. orderqty:
  21403. description: 挂牌数量
  21404. type: integer
  21405. refprice:
  21406. description: 参考价格
  21407. type: string
  21408. retcode:
  21409. description: 委托返回代码
  21410. type: integer
  21411. templatename:
  21412. description: 履约方式(履约模板名称)
  21413. type: string
  21414. tradedate:
  21415. description: 交易日(yyyyMMdd)
  21416. type: string
  21417. userid:
  21418. description: 摘牌人用户ID(议价人ID)
  21419. type: integer
  21420. username:
  21421. description: 议价人名字(已脱敏)
  21422. type: string
  21423. validtime:
  21424. description: 有效期限
  21425. type: string
  21426. warehouseid:
  21427. description: 仓库ID
  21428. type: integer
  21429. warehousename:
  21430. description: 仓库名称
  21431. type: string
  21432. wrbargainid:
  21433. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  21434. type: string
  21435. wrfactortypeid:
  21436. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21437. type: string
  21438. wrfactortypename:
  21439. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21440. type: string
  21441. wrstandardcode:
  21442. description: 现货商品代码
  21443. type: string
  21444. wrstandardid:
  21445. description: 现货商品ID
  21446. type: integer
  21447. wrstandardname:
  21448. description: 商品名称
  21449. type: string
  21450. wrtradeorderid:
  21451. description: 关联委托单ID
  21452. type: string
  21453. wrtypename:
  21454. description: 商品
  21455. type: string
  21456. type: object
  21457. models.Warehouseinfo:
  21458. properties:
  21459. address:
  21460. description: 详细地址
  21461. type: string
  21462. areauserid:
  21463. description: 所属机构
  21464. type: integer
  21465. autoid:
  21466. description: 自增ID
  21467. type: integer
  21468. cityid:
  21469. description: 市
  21470. type: integer
  21471. contactname:
  21472. description: 联系人
  21473. type: string
  21474. contactnum:
  21475. description: 联系电话
  21476. type: string
  21477. countryid:
  21478. description: 国家
  21479. type: integer
  21480. createtime:
  21481. description: 创建时间
  21482. type: string
  21483. districtid:
  21484. description: 区
  21485. type: integer
  21486. hasvideo:
  21487. description: 是否有视频 - 0:无 1:有
  21488. type: integer
  21489. provinceid:
  21490. description: 省
  21491. type: integer
  21492. remark:
  21493. description: 审核备注
  21494. type: string
  21495. videourl:
  21496. description: 视频地址
  21497. type: string
  21498. warehousecode:
  21499. description: 仓库代码
  21500. type: string
  21501. warehousename:
  21502. description: 仓库名称
  21503. type: string
  21504. warehousestatus:
  21505. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  21506. type: integer
  21507. warehousetype:
  21508. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  21509. type: integer
  21510. required:
  21511. - autoid
  21512. - warehousecode
  21513. type: object
  21514. models.WrAverageTradePrice:
  21515. properties:
  21516. averageprice:
  21517. description: 期初均价
  21518. type: number
  21519. tradedate:
  21520. description: 交易日yyyymm
  21521. type: string
  21522. type: object
  21523. models.WrBrandAndYears:
  21524. properties:
  21525. brandlst:
  21526. description: 品牌列表
  21527. items:
  21528. $ref: '#/definitions/models.DgFactoryItem'
  21529. type: array
  21530. yearslst:
  21531. description: 年份列表
  21532. items:
  21533. $ref: '#/definitions/models.DgFactoryItem'
  21534. type: array
  21535. type: object
  21536. models.WrBsGoodsInfo:
  21537. properties:
  21538. buyorsell:
  21539. description: 买卖方向 0-买 1-卖
  21540. type: integer
  21541. goodsid:
  21542. description: 交易合约ID
  21543. type: integer
  21544. lstitem:
  21545. description: 商品信息项
  21546. items:
  21547. $ref: '#/definitions/models.WrTypeItem'
  21548. type: array
  21549. lststep:
  21550. description: 履约规则
  21551. items:
  21552. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  21553. type: array
  21554. type: object
  21555. models.WrBuybackDetail:
  21556. properties:
  21557. buybackamount:
  21558. description: 回购金额
  21559. type: number
  21560. buybackqty:
  21561. description: 回购数量
  21562. type: number
  21563. buybackreleasemargin:
  21564. description: 回购释放保证金
  21565. type: number
  21566. buybacktime:
  21567. description: 回购时间
  21568. type: string
  21569. errordesc:
  21570. description: 错误描述
  21571. type: string
  21572. handlestatus:
  21573. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  21574. type: integer
  21575. relatedwrid:
  21576. description: 关联仓单ID
  21577. type: integer
  21578. scfcontractid:
  21579. description: SCF合同ID
  21580. type: string
  21581. scfwrbuybackid:
  21582. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  21583. type: integer
  21584. tradedate:
  21585. description: 交易日(yyyyMMdd)
  21586. type: string
  21587. type: object
  21588. models.WrClientAdSpaceConfig:
  21589. properties:
  21590. adspaceid:
  21591. description: 广告位ID
  21592. type: integer
  21593. adspacename:
  21594. description: 广告位名称
  21595. type: string
  21596. adspacetype:
  21597. description: 广告位类型 - 1:固定广告位
  21598. type: integer
  21599. areauserid:
  21600. description: 所属机构ID
  21601. type: integer
  21602. createdate:
  21603. description: 创建时间
  21604. type: string
  21605. imagepath:
  21606. description: 图片
  21607. type: string
  21608. modifierid:
  21609. description: 操作人
  21610. type: integer
  21611. recsize:
  21612. description: 推荐尺寸
  21613. type: string
  21614. title:
  21615. description: 标题
  21616. type: string
  21617. updatedate:
  21618. description: 更新时间
  21619. type: string
  21620. urlcontent:
  21621. description: 链接(地址\商品ID\功能菜单Key\appid)
  21622. type: string
  21623. urltype:
  21624. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  21625. type: integer
  21626. type: object
  21627. models.WrDeliveryAvalidHoldLB:
  21628. properties:
  21629. accountid:
  21630. description: 资金账号
  21631. type: integer
  21632. avalidqty:
  21633. description: 数量(可点选数量)
  21634. type: number
  21635. deliverygoodsid:
  21636. description: 品种id
  21637. type: integer
  21638. enumdicname:
  21639. description: 单位名称
  21640. type: string
  21641. goodsid:
  21642. description: x合约商品id
  21643. type: integer
  21644. ladingbillid:
  21645. description: 提单id
  21646. type: string
  21647. pgoodscode:
  21648. description: p商品代码(点价合约)
  21649. type: string
  21650. pgoodsid:
  21651. description: p商品id(点价合约)
  21652. type: integer
  21653. pgoodsname:
  21654. description: p商品名称(点价合约)
  21655. type: string
  21656. pricemove:
  21657. description: 升贴水
  21658. type: number
  21659. subnum:
  21660. description: 提单子id
  21661. type: integer
  21662. userid:
  21663. description: 用户id
  21664. type: integer
  21665. username:
  21666. description: 仓单持有人
  21667. type: string
  21668. warehousecode:
  21669. description: 仓库代码
  21670. type: string
  21671. warehouseid:
  21672. description: 仓库id
  21673. type: integer
  21674. warehousename:
  21675. description: 仓库名称
  21676. type: string
  21677. wrfactortypeid:
  21678. description: 仓单要素id
  21679. type: string
  21680. wrstandardcode:
  21681. description: 品代码
  21682. type: string
  21683. wrstandardid:
  21684. description: 品类d
  21685. type: integer
  21686. wrstandardname:
  21687. description: 品类名称
  21688. type: string
  21689. wrtypename:
  21690. description: 商品
  21691. type: string
  21692. xgoodscode:
  21693. description: x合约代码
  21694. type: string
  21695. xgoodsname:
  21696. description: x合约名称
  21697. type: string
  21698. type: object
  21699. models.WrDeliveryDetail:
  21700. properties:
  21701. accountid:
  21702. description: 账号ID
  21703. type: integer
  21704. averageprice:
  21705. description: 期初均价
  21706. type: number
  21707. begindate:
  21708. description: 开始交易日(yyyymmdd)
  21709. type: string
  21710. buyorsell:
  21711. description: 方向 - 0:买 1:卖
  21712. type: integer
  21713. deliveryamount:
  21714. description: 货款金额(X总货款+P总货款)
  21715. type: number
  21716. deliveryid:
  21717. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  21718. type: string
  21719. deliveryorderid:
  21720. description: 申报单号
  21721. type: string
  21722. deliverypricemove:
  21723. description: 升贴水(升贴水总额)
  21724. type: number
  21725. deliveryqty:
  21726. description: 交收数量(点选数量)
  21727. type: number
  21728. deliverystatus:
  21729. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  21730. type: integer
  21731. deliverytime:
  21732. description: 交割时间
  21733. type: string
  21734. deliverytotalamount:
  21735. description: 交收金额
  21736. type: number
  21737. enddate:
  21738. description: 结束交易日(yyyymmdd)
  21739. type: string
  21740. enumdicname:
  21741. description: 单位名称
  21742. type: string
  21743. matchaccountid:
  21744. description: 对手账号ID
  21745. type: integer
  21746. matchusername:
  21747. description: 对手方名称(仓单持有人)
  21748. type: string
  21749. p1goodsremainamount:
  21750. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  21751. type: number
  21752. pdeliverycloseqty:
  21753. description: p合约平仓数量
  21754. type: number
  21755. pdeliveryprice:
  21756. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  21757. type: number
  21758. pgoodscode:
  21759. description: 商品代码
  21760. type: string
  21761. pgoodsid:
  21762. description: p点选合约id
  21763. type: integer
  21764. pgoodsname:
  21765. description: 商品名称
  21766. type: string
  21767. ppricemode:
  21768. description: 点价价格方式 - 1:商品价 2:固定值
  21769. type: integer
  21770. tradedate:
  21771. description: 交易日(yyyymmdd)
  21772. type: string
  21773. userid:
  21774. description: 用户id
  21775. type: integer
  21776. username:
  21777. description: 用户名称
  21778. type: string
  21779. warehousename:
  21780. description: 仓库名称
  21781. type: string
  21782. wrfactortypeid:
  21783. description: 仓单要素类型ID
  21784. type: string
  21785. wrtypename:
  21786. description: 商品
  21787. type: string
  21788. xdeliverycloseqty:
  21789. description: 合约数量
  21790. type: number
  21791. xgoodsamount:
  21792. description: 期初均价
  21793. type: number
  21794. xgoodscode:
  21795. description: 商品代码
  21796. type: string
  21797. xgoodsid:
  21798. description: x交易合约ID
  21799. type: integer
  21800. xgoodsname:
  21801. description: 商品名称
  21802. type: string
  21803. type: object
  21804. models.WrDeliveryGoodsSection:
  21805. properties:
  21806. dglst:
  21807. description: 板块商品列表
  21808. items:
  21809. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  21810. type: array
  21811. imagepath:
  21812. description: 图片地址
  21813. type: string
  21814. orderindex:
  21815. description: 排序
  21816. type: integer
  21817. sectionid:
  21818. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  21819. = 1的版块1 - 云融指数
  21820. type: integer
  21821. sectionname:
  21822. description: 版块名称
  21823. type: string
  21824. sectiontype:
  21825. description: 版块类型 - 1:指数版块 2:普通版块
  21826. type: integer
  21827. type: object
  21828. models.WrDeliveryGoodsSectionConfig:
  21829. properties:
  21830. deliverygoodscode:
  21831. description: 现货商品代码
  21832. type: string
  21833. deliverygoodsid:
  21834. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21835. type: integer
  21836. deliverygoodsname:
  21837. description: 现货商品名称
  21838. type: string
  21839. orderindex:
  21840. description: 排序
  21841. type: integer
  21842. type: object
  21843. models.WrDraftUserInfo:
  21844. properties:
  21845. address:
  21846. description: 地址
  21847. type: string
  21848. attachment1:
  21849. description: 附件1
  21850. type: string
  21851. attachment2:
  21852. description: 附件2
  21853. type: string
  21854. attachment3:
  21855. description: 附件3
  21856. type: string
  21857. attachment4:
  21858. description: 附件4
  21859. type: string
  21860. attachment5:
  21861. description: 附件5
  21862. type: string
  21863. bankaccount:
  21864. description: 银行帐号 (加密存储)
  21865. type: string
  21866. bankaccountname:
  21867. description: 收款人名称
  21868. type: string
  21869. bankcardfrontphotourl:
  21870. description: 银行卡正面照地址
  21871. type: string
  21872. bankid:
  21873. description: 银行编码
  21874. type: string
  21875. bankname:
  21876. description: 银行名称
  21877. type: string
  21878. birthday:
  21879. description: 生日(个人:年月日)
  21880. type: string
  21881. biznature:
  21882. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  21883. type: integer
  21884. bizscope:
  21885. description: 企业经营范围(企业)
  21886. type: string
  21887. biztype:
  21888. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  21889. type: integer
  21890. cardbackphotourl:
  21891. description: 证件背面图片地址
  21892. type: string
  21893. cardfrontphotourl:
  21894. description: 证件正面图片地址
  21895. type: string
  21896. cardnum:
  21897. description: 证件号码(加密存储)
  21898. type: string
  21899. cardtypeid:
  21900. description: 证件类型ID
  21901. type: integer
  21902. cityid:
  21903. description: 市
  21904. type: integer
  21905. company:
  21906. description: 公司(个人)
  21907. type: string
  21908. contactcardbackphotourl:
  21909. description: 联系人证件背面图片地址
  21910. type: string
  21911. contactcardfrontphotourl:
  21912. description: 联系人证件正面图片地址
  21913. type: string
  21914. contactname:
  21915. description: 联系人
  21916. type: string
  21917. countryid:
  21918. description: 国家
  21919. type: integer
  21920. createtime:
  21921. description: 创建时间
  21922. type: string
  21923. creatorid:
  21924. description: 创建人
  21925. type: integer
  21926. creditquota:
  21927. description: 授信额度(金瑞)
  21928. type: number
  21929. customername:
  21930. description: 客户名称(企业名称)
  21931. type: string
  21932. districtid:
  21933. description: 地区
  21934. type: integer
  21935. email:
  21936. description: 邮件(加密存储)
  21937. type: string
  21938. fax:
  21939. description: 传真(加密存储)
  21940. type: string
  21941. halfbodyphotourl:
  21942. description: 半身照地址
  21943. type: string
  21944. hasencrypt:
  21945. description: 数据是否已加密 - 0:未加密 1:已加密
  21946. type: integer
  21947. headurl:
  21948. description: 头像地址
  21949. type: string
  21950. legalcardbackphotourl:
  21951. description: 法人身份证背面照地址
  21952. type: string
  21953. legalcardfrontphotourl:
  21954. description: 法人身份证正面照地址
  21955. type: string
  21956. legalpersonname:
  21957. description: 法人姓名(企业)
  21958. type: string
  21959. mobile:
  21960. description: 手机号码(加密存储)
  21961. type: string
  21962. mobile2:
  21963. description: 手机号码[明文-尚志]
  21964. type: string
  21965. modifierid:
  21966. description: 修改人
  21967. type: integer
  21968. modifiertime:
  21969. description: 修改时间
  21970. type: string
  21971. needinvoice:
  21972. description: 是否需要发票 - 0:不需要 1:需要
  21973. type: integer
  21974. nickname:
  21975. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  21976. type: string
  21977. openmode:
  21978. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  21979. 6:苹果手机端注册 7:PC交易端注册"
  21980. type: integer
  21981. otherurl:
  21982. description: 其它图片地址[使用分号分隔]
  21983. type: string
  21984. postalcode:
  21985. description: 邮政编码
  21986. type: string
  21987. provinceid:
  21988. description: 省
  21989. type: integer
  21990. proxystatementurl:
  21991. description: 授权委托书
  21992. type: string
  21993. qq:
  21994. description: QQ(加密存储
  21995. type: string
  21996. remark:
  21997. description: 备注
  21998. type: string
  21999. sex:
  22000. description: '用户性别 0: 女 1: 男'
  22001. type: integer
  22002. signpdfurl:
  22003. description: 签约pdf文件
  22004. type: string
  22005. taxpayernum:
  22006. description: 纳税人识别号
  22007. type: string
  22008. telphone:
  22009. description: 联系电话(加密存储)
  22010. type: string
  22011. userid:
  22012. description: 用户ID
  22013. type: integer
  22014. userinfotype:
  22015. description: 用户信息类型 - 1:个人 2:企业
  22016. type: integer
  22017. userstatus:
  22018. description: 用户状态 - 1:正常 2:注销
  22019. type: integer
  22020. usertype:
  22021. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  22022. type: integer
  22023. wechat:
  22024. description: 微信(加密存储)
  22025. type: string
  22026. wskhinfo:
  22027. description: 开户申请信息(JSON)
  22028. type: string
  22029. type: object
  22030. models.WrFAProductDetail:
  22031. properties:
  22032. accountid:
  22033. description: 资金账号
  22034. type: integer
  22035. areauserid:
  22036. description: 金融机构ID
  22037. type: integer
  22038. financingdays:
  22039. description: 天数(天)
  22040. type: integer
  22041. interestminlen:
  22042. description: 最小起息天数
  22043. type: integer
  22044. interestrate:
  22045. description: 利率
  22046. type: number
  22047. interestratemode:
  22048. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  22049. type: integer
  22050. interestsettlemode:
  22051. description: 结息方式 - 1:按日结息 3:按月结息
  22052. type: integer
  22053. interestsettlevalue:
  22054. description: 结息方式值
  22055. type: integer
  22056. isautoloan:
  22057. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  22058. type: integer
  22059. loantag:
  22060. description: '放款标识: "放款快" 或者为空'
  22061. type: string
  22062. marginratio:
  22063. description: 保证金比率质押率 - [仓单质押]
  22064. type: number
  22065. productdetailid:
  22066. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  22067. type: integer
  22068. productid:
  22069. description: 金融产品ID
  22070. type: integer
  22071. productname:
  22072. description: 产品名称
  22073. type: string
  22074. updatetime:
  22075. description: 更新时间
  22076. type: string
  22077. username:
  22078. description: 融出方
  22079. type: string
  22080. type: object
  22081. models.WrFactorTypeInfo:
  22082. properties:
  22083. deliverygoodscode:
  22084. description: 品种代码
  22085. type: string
  22086. deliverygoodsname:
  22087. description: 品种名称
  22088. type: string
  22089. dgfactoryitemid:
  22090. description: 选择项id
  22091. type: integer
  22092. dgfactoryitemtypeid:
  22093. description: 要素选择项ID (1-仓库 2-品牌)
  22094. type: integer
  22095. dgfactoryitemvalue:
  22096. description: 要素项值
  22097. type: string
  22098. itemtypename:
  22099. description: 要素项名称
  22100. type: string
  22101. optioncompare:
  22102. description: 选择比较串
  22103. type: string
  22104. warehouseid:
  22105. description: 仓库id
  22106. type: integer
  22107. wrfactortypeid:
  22108. description: 仓单要素ID
  22109. type: string
  22110. wrfactortypename:
  22111. description: 要素名称
  22112. type: string
  22113. wrfactortypename2:
  22114. description: 要素名称(不含仓库)
  22115. type: string
  22116. wrstandardcode:
  22117. description: 品类代码
  22118. type: string
  22119. wrstandardid:
  22120. description: 品类id
  22121. type: integer
  22122. wrstandardname:
  22123. description: 品类名称
  22124. type: string
  22125. type: object
  22126. models.WrFilterItem:
  22127. properties:
  22128. itemcode:
  22129. description: 代码
  22130. type: string
  22131. itemid:
  22132. description: 项id
  22133. type: integer
  22134. itemname:
  22135. description: 名称
  22136. type: string
  22137. itemtype:
  22138. description: 类型 1-品种 2-品类(商品) 3-仓库
  22139. type: integer
  22140. type: object
  22141. models.WrFinanceBuyApply:
  22142. properties:
  22143. applydate:
  22144. description: 申请时间
  22145. type: string
  22146. applystatus:
  22147. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  22148. type: integer
  22149. applyuserid:
  22150. description: 申请人
  22151. type: integer
  22152. auditdate:
  22153. description: 审核时间
  22154. type: string
  22155. auditremark:
  22156. description: 审核备注
  22157. type: string
  22158. audituserid:
  22159. description: 审核人
  22160. type: integer
  22161. buyaccountid:
  22162. description: 买方资金账号
  22163. type: integer
  22164. buyorsell:
  22165. description: 买卖 - 0:买 1:卖
  22166. type: integer
  22167. buyuserid:
  22168. description: 买方用户ID
  22169. type: integer
  22170. buyusername:
  22171. description: 买方名称
  22172. type: string
  22173. buywrtradeorderid:
  22174. description: 融资方买委托单ID
  22175. type: string
  22176. deliverygoodscode:
  22177. description: 品种代码
  22178. type: string
  22179. deliverygoodsid:
  22180. description: 品种ID
  22181. type: integer
  22182. deliverygoodsname:
  22183. description: 品种名称
  22184. type: string
  22185. deliverymonth:
  22186. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  22187. type: string
  22188. enumdicname:
  22189. description: 单位名称
  22190. type: string
  22191. financeaccountid:
  22192. description: 融资方资金帐户ID
  22193. type: integer
  22194. financeapplyid:
  22195. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22196. type: string
  22197. financeareauserid:
  22198. description: 融资方用户ID
  22199. type: string
  22200. financename:
  22201. description: 融出方名称
  22202. type: string
  22203. financetype:
  22204. description: 融资类型 1-融资回购
  22205. type: integer
  22206. financingdays:
  22207. description: 天数(天)
  22208. type: integer
  22209. freezebuymargin:
  22210. description: 冻结融资保证金(买方)
  22211. type: number
  22212. handleremark:
  22213. description: 处理备注
  22214. type: string
  22215. handlestatus:
  22216. description: 处理状态
  22217. type: integer
  22218. interestminlen:
  22219. description: 最小起息天数
  22220. type: integer
  22221. interestrate:
  22222. description: 利率
  22223. type: number
  22224. interestratemode:
  22225. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  22226. type: integer
  22227. interestsettlemode:
  22228. description: 结息方式 - 1:按日结息 3:按月结息
  22229. type: integer
  22230. interestsettlevalue:
  22231. description: 结息方式值
  22232. type: integer
  22233. isautoloan:
  22234. description: 是否自动放款 - 0:手动 1:自动
  22235. type: integer
  22236. marginratio:
  22237. description: 保证金比率质押率 - [仓单质押]
  22238. type: number
  22239. marketid:
  22240. description: 市场ID
  22241. type: integer
  22242. minivalue:
  22243. description: 现货商品最小变动值
  22244. type: integer
  22245. optioncompare:
  22246. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22247. type: string
  22248. orderqty:
  22249. description: 委托数量(商品数量)
  22250. type: number
  22251. productdetailid:
  22252. description: 产品组合ID
  22253. type: integer
  22254. productid:
  22255. description: 金融产品ID
  22256. type: integer
  22257. productname:
  22258. description: 产品名称
  22259. type: string
  22260. remark:
  22261. description: 备注
  22262. type: string
  22263. scfcontractid:
  22264. description: 仓单回购合同ID
  22265. type: string
  22266. sellaccountid:
  22267. description: 卖方资金账号
  22268. type: integer
  22269. selluserid:
  22270. description: 卖方用户ID
  22271. type: integer
  22272. sellwrtradeorderid:
  22273. description: 卖方委托单ID
  22274. type: string
  22275. tradeamount:
  22276. description: 成交金额(借款金额)
  22277. type: number
  22278. tradedate:
  22279. description: 交易日(yyyyMMdd)
  22280. type: string
  22281. tradeprice:
  22282. description: 成交价格
  22283. type: number
  22284. warehouseid:
  22285. description: 仓库ID
  22286. type: integer
  22287. warehousename:
  22288. description: 仓库名称
  22289. type: string
  22290. wrfactortypeid:
  22291. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22292. type: string
  22293. wrfactortypename:
  22294. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22295. type: string
  22296. wrpricetype:
  22297. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  22298. type: integer
  22299. wrstandardcode:
  22300. description: 现货商品代码
  22301. type: string
  22302. wrstandardid:
  22303. description: 现货商品ID
  22304. type: integer
  22305. wrstandardname:
  22306. description: 商品名称
  22307. type: string
  22308. wrtypename:
  22309. description: 商品
  22310. type: string
  22311. type: object
  22312. models.WrFriendApply:
  22313. properties:
  22314. applicantid:
  22315. description: 申请人
  22316. type: integer
  22317. applyname:
  22318. description: 申请人名称
  22319. type: string
  22320. applysrc:
  22321. description: 申请来源 - 1:管理端 2:终端
  22322. type: integer
  22323. applystatus:
  22324. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22325. type: integer
  22326. applytime:
  22327. description: 申请时间
  22328. type: string
  22329. auditname:
  22330. description: 审核人名称
  22331. type: string
  22332. auditorid:
  22333. description: 审核人
  22334. type: integer
  22335. auditremark:
  22336. description: 审核备注
  22337. type: string
  22338. auditsrc:
  22339. description: 审核来源 - 1:管理端 2:终端
  22340. type: integer
  22341. audittime:
  22342. description: 审核时间
  22343. type: string
  22344. friendapplyid:
  22345. description: 申请ID(SEQ_FRIENDAPPLY)
  22346. type: string
  22347. friendname:
  22348. description: 好友名字(已脱敏)
  22349. type: string
  22350. frienduserid:
  22351. description: 好友用户ID
  22352. type: string
  22353. remark:
  22354. description: 备注
  22355. type: string
  22356. userid:
  22357. description: 申请人用户ID
  22358. type: integer
  22359. type: object
  22360. models.WrFtDeliveryGoods:
  22361. properties:
  22362. deliverygoodscode:
  22363. description: 品种代码
  22364. type: string
  22365. deliverygoodsid:
  22366. description: 品种ID
  22367. type: integer
  22368. deliverygoodsname:
  22369. description: 品种名称
  22370. type: string
  22371. wdlst:
  22372. description: 商品列表
  22373. items:
  22374. $ref: '#/definitions/models.WrFtWrstandard'
  22375. type: array
  22376. type: object
  22377. models.WrFtWrstandard:
  22378. properties:
  22379. enumdicname:
  22380. description: 单位名称
  22381. type: string
  22382. minivalue:
  22383. description: 最小变动值
  22384. type: integer
  22385. wrstandardcode:
  22386. description: 现货商品代码
  22387. type: string
  22388. wrstandardid:
  22389. description: 现货商品ID
  22390. type: integer
  22391. wrstandardname:
  22392. description: 商品名称
  22393. type: string
  22394. type: object
  22395. models.WrGoodsInfo:
  22396. properties:
  22397. haswr:
  22398. description: 0:仓单预售 1:仓单贸易
  22399. type: integer
  22400. lstitem:
  22401. description: 商品信息项
  22402. items:
  22403. $ref: '#/definitions/models.WrTypeItem'
  22404. type: array
  22405. lststep:
  22406. description: 履约规则
  22407. items:
  22408. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  22409. type: array
  22410. marketid:
  22411. description: 市场id
  22412. type: integer
  22413. type: object
  22414. models.WrGoodsPerformanceStep:
  22415. properties:
  22416. autoid:
  22417. description: AutoID
  22418. type: integer
  22419. isauto:
  22420. description: 是否自动 - 0:不自动 1:自动
  22421. type: integer
  22422. remark:
  22423. description: 备注
  22424. type: string
  22425. stepdate:
  22426. description: 天数信息(T+N)
  22427. type: string
  22428. stepdays:
  22429. description: 距离上一步天数
  22430. type: integer
  22431. stepindex:
  22432. description: 步骤序号
  22433. type: integer
  22434. stepinfo:
  22435. description: 步骤信息(步骤名称+步骤值)
  22436. type: string
  22437. steptypeid:
  22438. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22439. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22440. type: integer
  22441. steptypename:
  22442. description: 步骤名称
  22443. type: string
  22444. stepvalue:
  22445. description: 期初均价
  22446. type: number
  22447. templateid:
  22448. description: 履约计划模板ID
  22449. type: integer
  22450. type: object
  22451. models.WrHoldLB:
  22452. properties:
  22453. accountid:
  22454. description: 持有人帐户ID
  22455. type: integer
  22456. bannerpicurl:
  22457. description: Banner图
  22458. type: string
  22459. createtime:
  22460. description: 创建时间(过户时间)
  22461. type: string
  22462. deliverygoodscode:
  22463. description: 品种代码
  22464. type: string
  22465. deliverygoodsid:
  22466. description: 品种ID
  22467. type: integer
  22468. deliverygoodsname:
  22469. description: 品种名称
  22470. type: string
  22471. enableqty:
  22472. description: 可用数量
  22473. type: number
  22474. enumdicname:
  22475. description: 单位名称
  22476. type: string
  22477. freezerqty:
  22478. description: 冻结数量
  22479. type: number
  22480. ladingbillid:
  22481. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  22482. type: string
  22483. minivalue:
  22484. description: 现货商品最小变动值
  22485. type: integer
  22486. optioncompare:
  22487. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22488. type: string
  22489. parentsubnum:
  22490. description: 拆分父子单号
  22491. type: integer
  22492. pledgeqty:
  22493. description: 质押数量
  22494. type: number
  22495. qty:
  22496. description: 数量
  22497. type: number
  22498. spotgoodsprice:
  22499. description: 参考价(THJ)
  22500. type: number
  22501. subnum:
  22502. description: 提单子单号
  22503. type: integer
  22504. thumurls:
  22505. description: 缩略图
  22506. type: string
  22507. tradedate:
  22508. description: 交易日(yyyyMMdd)
  22509. type: string
  22510. userid:
  22511. description: 持有人ID
  22512. type: integer
  22513. warehouseid:
  22514. description: 仓库ID
  22515. type: integer
  22516. warehousename:
  22517. description: 仓库名称
  22518. type: string
  22519. wrfactortypeid:
  22520. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22521. type: string
  22522. wrfactortypename:
  22523. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22524. type: string
  22525. wrholdeno:
  22526. description: 仓单编号
  22527. type: string
  22528. wrid:
  22529. description: 仓单变更ID
  22530. type: string
  22531. wrstandardcode:
  22532. description: 现货商品代码
  22533. type: string
  22534. wrstandardid:
  22535. description: 现货商品ID
  22536. type: integer
  22537. wrstandardname:
  22538. description: 商品名称
  22539. type: string
  22540. wrtypename:
  22541. description: 商品
  22542. type: string
  22543. type: object
  22544. models.WrMarketTradeConfig:
  22545. properties:
  22546. basisdownratio:
  22547. description: 浮动价基差下限比例(仓单贸易)
  22548. type: number
  22549. basisupratio:
  22550. description: 浮动价基差上限比例(仓单贸易)
  22551. type: number
  22552. buychargealgorithm:
  22553. description: 买方手续费收取方式 1:比率 2:固定
  22554. type: integer
  22555. buychargealgorithm2:
  22556. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  22557. type: integer
  22558. buychargealgorithmvalue:
  22559. description: 买方手续费设置值(交易所部分)
  22560. type: number
  22561. buychargealgorithmvalue2:
  22562. description: 买方手续费设置值(会员部分)
  22563. type: number
  22564. buychargealgorithmvalue3:
  22565. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  22566. type: number
  22567. buychargealgorithmvalue4:
  22568. description: 回购买方手续费设置值(会员部分) --77:现货商城
  22569. type: number
  22570. buyfirstmarginalgorithm:
  22571. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  22572. type: integer
  22573. buyfirstmarginvalue:
  22574. description: 买方出价保证金设置值 - [竞拍]
  22575. type: number
  22576. buymarginalgorithm:
  22577. description: 买方保证金方式 - 1:比率 2:固定
  22578. type: integer
  22579. buymarginvalue:
  22580. description: 买方保证金设置值
  22581. type: number
  22582. buyreleaseratio:
  22583. description: 买方释放比率[2:分步履约]
  22584. type: number
  22585. executemode:
  22586. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  22587. type: integer
  22588. executeside:
  22589. description: 执行方[2:分步履约] - 1:买方 2:卖方
  22590. type: integer
  22591. failedchargealgorithm:
  22592. description: 流拍手续费收取方式 1:比率 2:固定
  22593. type: integer
  22594. failedchargevalue:
  22595. description: 流拍手续费设置值
  22596. type: number
  22597. failedchargevalue2:
  22598. description: 流拍卖方手续费设置值
  22599. type: number
  22600. holddays:
  22601. description: 合同期限[2:分步履约]
  22602. type: integer
  22603. listingmode:
  22604. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  22605. type: integer
  22606. marketid:
  22607. description: 市场ID-仓单贸易、竞拍、预售
  22608. type: integer
  22609. minqty:
  22610. description: 最小执行量[2:分步履约]
  22611. type: number
  22612. modifierid:
  22613. description: 修改人
  22614. type: integer
  22615. nowrquotaflag:
  22616. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  22617. type: integer
  22618. performancetempid:
  22619. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  22620. 立即执行(-1)
  22621. type: integer
  22622. performancetempid2:
  22623. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  22624. 立即执行
  22625. type: integer
  22626. performancetempid2s:
  22627. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  22628. - 履约方式: 立即执行
  22629. type: string
  22630. performancetempids:
  22631. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  22632. - 履约方式: 立即执行(-1)
  22633. type: string
  22634. performanceway:
  22635. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  22636. type: integer
  22637. sellchargealgorithm:
  22638. description: 卖方手续费收取方式 1:比率 2:固定
  22639. type: integer
  22640. sellchargealgorithm2:
  22641. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  22642. type: integer
  22643. sellchargealgorithmvalue:
  22644. description: 卖方手续费设置值(交易所部分)
  22645. type: number
  22646. sellchargealgorithmvalue2:
  22647. description: 卖方手续费设置值(会员部分)
  22648. type: number
  22649. sellchargealgorithmvalue3:
  22650. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  22651. type: number
  22652. sellchargealgorithmvalue4:
  22653. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  22654. type: number
  22655. sellmarginalgorithm:
  22656. description: 卖方保证金方式 - 1:比率 2:固定
  22657. type: integer
  22658. sellmarginvalue:
  22659. description: 卖方保证金设置值
  22660. type: number
  22661. sellmarginvalue2:
  22662. description: 卖方保证金设置值(无仓单)
  22663. type: number
  22664. sellreleaseratio:
  22665. description: 卖方释放比率[2:分步履约]
  22666. type: number
  22667. updatetime:
  22668. description: 更新时间
  22669. type: string
  22670. type: object
  22671. models.WrOrderDetail:
  22672. properties:
  22673. accountid:
  22674. description: 交易账号(资金账号)
  22675. type: integer
  22676. allfriendsflag:
  22677. description: 是否全好友可见 - 0:否 1:是
  22678. type: integer
  22679. amount:
  22680. description: 期初均价
  22681. type: number
  22682. bannerpicurl:
  22683. description: Banner图
  22684. type: string
  22685. begindate:
  22686. description: 开始交易日(yyyymmdd)
  22687. type: string
  22688. buyorsell:
  22689. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  22690. type: integer
  22691. canbargain:
  22692. description: 是否可议价 - 0:不可 1:可
  22693. type: integer
  22694. cancelqty:
  22695. description: 撤销数量
  22696. type: number
  22697. canpart:
  22698. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  22699. type: integer
  22700. delistminqty:
  22701. description: 起摘数量
  22702. type: integer
  22703. deliverygoodscode:
  22704. description: 品种代码
  22705. type: string
  22706. deliverygoodsid:
  22707. description: 品种ID
  22708. type: integer
  22709. deliverygoodsname:
  22710. description: 品种名称
  22711. type: string
  22712. deliverymonth:
  22713. description: 交收月
  22714. type: string
  22715. enddate:
  22716. description: 结束交易日(yyyymmdd)
  22717. type: string
  22718. enumdicname:
  22719. description: 单位名称
  22720. type: string
  22721. fixedprice:
  22722. description: 固定价格 - [挂牌]
  22723. type: number
  22724. freezecharge:
  22725. description: 期初均价
  22726. type: number
  22727. freezemargin:
  22728. description: 期初均价
  22729. type: number
  22730. futupricemove:
  22731. description: 期货升贴水
  22732. type: number
  22733. futushow:
  22734. description: 期货合约/升贴水
  22735. type: string
  22736. goodscode:
  22737. description: 期货合约
  22738. type: string
  22739. goodsid:
  22740. description: 期货商品id
  22741. type: integer
  22742. goodsname:
  22743. description: 商品名称
  22744. type: string
  22745. haswr:
  22746. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22747. type: integer
  22748. isspecified:
  22749. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  22750. type: integer
  22751. ladingbillid:
  22752. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  22753. type: string
  22754. marginvalue:
  22755. description: 期初均价
  22756. type: number
  22757. marketid:
  22758. description: 市场ID
  22759. type: integer
  22760. matchusername:
  22761. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  22762. type: string
  22763. minivalue:
  22764. description: 现货商品最小变动值
  22765. type: integer
  22766. optioncompare:
  22767. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22768. type: string
  22769. orderqty:
  22770. description: 委托数量
  22771. type: number
  22772. ordertime:
  22773. description: 委托时间(挂牌时间)
  22774. type: string
  22775. performancetemplateid:
  22776. description: 履约模板id
  22777. type: integer
  22778. pricemove:
  22779. description: 升贴水(浮动价时填写) - [挂牌]
  22780. type: number
  22781. taname:
  22782. description: 交易用户名称(资金账号名称)
  22783. type: string
  22784. thumurls:
  22785. description: 缩略图
  22786. type: string
  22787. tradedate:
  22788. description: 交易日(yyyyMMdd)
  22789. type: string
  22790. tradeprice:
  22791. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  22792. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  22793. type: number
  22794. tradeqty:
  22795. description: 成交数量
  22796. type: number
  22797. unitid:
  22798. description: 现货商品单位ID
  22799. type: integer
  22800. userid:
  22801. description: 用户ID
  22802. type: integer
  22803. validtime:
  22804. description: 挂牌有效期
  22805. type: string
  22806. validtype:
  22807. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22808. type: integer
  22809. warehouseid:
  22810. description: 仓库ID
  22811. type: integer
  22812. warehousename:
  22813. description: 仓库名称
  22814. type: string
  22815. wrfactortypeid:
  22816. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22817. type: string
  22818. wrfactortypename:
  22819. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22820. type: string
  22821. wrpricetype:
  22822. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  22823. type: integer
  22824. wrstandardcode:
  22825. description: 现货商品代码
  22826. type: string
  22827. wrstandardid:
  22828. description: 现货商品ID
  22829. type: integer
  22830. wrstandardname:
  22831. description: 商品名称
  22832. type: string
  22833. wrtradeorderid:
  22834. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22835. type: string
  22836. wrtradeorderstatus:
  22837. 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:撤单解冻贷款失败
  22838. type: integer
  22839. wrtradetype:
  22840. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  22841. type: integer
  22842. wrtypename:
  22843. description: 商品
  22844. type: string
  22845. type: object
  22846. models.WrOrderQuote:
  22847. properties:
  22848. bannerpicurl:
  22849. description: Banner图
  22850. type: string
  22851. buyprice:
  22852. description: 买价
  22853. type: number
  22854. buypricemove:
  22855. description: 买升贴水(基差)
  22856. type: number
  22857. buyqty:
  22858. description: 买量
  22859. type: number
  22860. deliverygoodscode:
  22861. description: 品种代码
  22862. type: string
  22863. deliverygoodsid:
  22864. description: 品种id
  22865. type: integer
  22866. deliverygoodsname:
  22867. description: 品种名称
  22868. type: string
  22869. deliverymonth:
  22870. description: 交收月
  22871. type: string
  22872. enumdicname:
  22873. description: 单位名称
  22874. type: string
  22875. goodscode:
  22876. description: 商品合约(浮动价列表才有)
  22877. type: string
  22878. goodsid:
  22879. description: 商品id(浮动价列表才有)
  22880. type: integer
  22881. minivalue:
  22882. description: 现货商品最小变动值
  22883. type: integer
  22884. pictureurls:
  22885. description: 详情图片(逗号分隔)
  22886. type: string
  22887. sellprice:
  22888. description: 卖价
  22889. type: number
  22890. sellpricemove:
  22891. description: 卖升贴水(基差)
  22892. type: number
  22893. sellqty:
  22894. description: 卖量
  22895. type: number
  22896. spotgoodsprice:
  22897. description: 参考价(THJ)
  22898. type: number
  22899. thumurls:
  22900. description: 缩略图片(1:1)(逗号分隔)
  22901. type: string
  22902. warehousecode:
  22903. description: 仓库代码
  22904. type: string
  22905. warehouseid:
  22906. description: 仓库id
  22907. type: integer
  22908. warehousename:
  22909. description: 仓库名称
  22910. type: string
  22911. wrfactortypeid:
  22912. description: 仓单要素id
  22913. type: string
  22914. wrfactortypename:
  22915. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22916. type: string
  22917. wrgoodsname:
  22918. description: 商品(商品名称+仓库要素名称 拼接)
  22919. type: string
  22920. wrstandardcode:
  22921. description: 商品代码
  22922. type: string
  22923. wrstandardid:
  22924. description: 商品id
  22925. type: integer
  22926. wrstandardname:
  22927. description: 商品名称
  22928. type: string
  22929. type: object
  22930. models.WrOrderQuoteDetail:
  22931. properties:
  22932. buyorsell:
  22933. description: 买卖 - 0:买 1:卖
  22934. type: integer
  22935. delistminqty:
  22936. description: 期初均价
  22937. type: number
  22938. deliverymonth:
  22939. description: 交收月
  22940. type: string
  22941. enumdicname:
  22942. description: 单位名称
  22943. type: string
  22944. fixedprice:
  22945. description: 买(卖)价
  22946. type: number
  22947. marketid:
  22948. description: 市场id
  22949. type: integer
  22950. minivalue:
  22951. description: 现货商品最小变动值
  22952. type: integer
  22953. orderqty:
  22954. description: 买(卖)量(=委托量-成交量)
  22955. type: number
  22956. ordertime:
  22957. description: 委托时间
  22958. type: string
  22959. pricemove:
  22960. description: 买(卖)升贴水- 基差
  22961. type: number
  22962. userid:
  22963. description: 购买方(销售方)用户ID
  22964. type: integer
  22965. username:
  22966. description: 购买方(销售方)
  22967. type: string
  22968. wrtradeorderid:
  22969. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22970. type: string
  22971. type: object
  22972. models.WrOutInApply:
  22973. properties:
  22974. address:
  22975. description: 详细地址
  22976. type: string
  22977. applyid:
  22978. description: 申请单id
  22979. type: string
  22980. applystatus:
  22981. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  22982. 8:已撤销
  22983. type: integer
  22984. applytime:
  22985. description: 申请时间
  22986. type: string
  22987. applytype:
  22988. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  22989. type: integer
  22990. appointmentmodel:
  22991. description: 预约方式 - 1:物流 2:自送 3:自提
  22992. type: integer
  22993. appointmentmodeldisplay:
  22994. description: 预约方式(显示枚举)
  22995. type: string
  22996. appointmentremark:
  22997. description: 申请备注
  22998. type: string
  22999. bannerpicurl:
  23000. description: Banner图
  23001. type: string
  23002. begindate:
  23003. description: 开始交易日(yyyymmdd)
  23004. type: string
  23005. contactname:
  23006. description: 联系人
  23007. type: string
  23008. contactnum:
  23009. description: 联系方式
  23010. type: string
  23011. deliverygoodscode:
  23012. description: 品种代码
  23013. type: string
  23014. deliverygoodsid:
  23015. description: 品种ID
  23016. type: integer
  23017. deliverygoodsname:
  23018. description: 品种名称
  23019. type: string
  23020. enddate:
  23021. description: 结束交易日(yyyymmdd)
  23022. type: string
  23023. enumdicname:
  23024. description: 单位名称
  23025. type: string
  23026. expresscompany:
  23027. description: 物流公司
  23028. type: string
  23029. expressnum:
  23030. description: 物流单号
  23031. type: string
  23032. minivalue:
  23033. description: 现货商品最小变动值
  23034. type: integer
  23035. optioncompare:
  23036. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23037. type: string
  23038. qty:
  23039. description: 数量
  23040. type: integer
  23041. userid:
  23042. description: 用户id
  23043. type: integer
  23044. warehouseid:
  23045. description: 仓库ID
  23046. type: integer
  23047. warehousename:
  23048. description: 仓库名称
  23049. type: string
  23050. wrfactortypeid:
  23051. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23052. type: string
  23053. wrfactortypename:
  23054. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23055. type: string
  23056. wrstandardcode:
  23057. description: 现货商品代码
  23058. type: string
  23059. wrstandardid:
  23060. description: 现货商品ID
  23061. type: integer
  23062. wrstandardname:
  23063. description: 商品名称
  23064. type: string
  23065. wrtypename:
  23066. description: 商品
  23067. type: string
  23068. type: object
  23069. models.WrPerformancePlan:
  23070. properties:
  23071. activatemonth:
  23072. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  23073. type: string
  23074. amount:
  23075. description: 履约金额(总金额)
  23076. type: number
  23077. begindate:
  23078. description: 开始交易日(yyyymmdd)
  23079. type: string
  23080. buyaccountid:
  23081. description: 买方账号
  23082. type: integer
  23083. buyerfreezeamount:
  23084. description: 履约冻结(买履约)
  23085. type: number
  23086. buyerfreezeamountremain:
  23087. description: 履约冻结剩余(买履约)
  23088. type: number
  23089. buyorsell:
  23090. description: 买卖方向 0-买 1-卖
  23091. type: integer
  23092. buypaidamount:
  23093. description: 买方已冻/已扣金额 (已付金额)
  23094. type: number
  23095. buyusername:
  23096. description: 买方名字
  23097. type: string
  23098. contractid:
  23099. description: 合同ID
  23100. type: integer
  23101. createtime:
  23102. description: 创建时间
  23103. type: string
  23104. creatorid:
  23105. description: 创建人
  23106. type: integer
  23107. curstepdeadline:
  23108. description: 当前步骤到期时间
  23109. type: string
  23110. curstepid:
  23111. description: 当前步骤ID
  23112. type: string
  23113. curstepname:
  23114. description: 当前步骤名称
  23115. type: string
  23116. deliverygoodscode:
  23117. description: 品种代码
  23118. type: string
  23119. deliverygoodsid:
  23120. description: 品种ID
  23121. type: integer
  23122. deliverygoodsname:
  23123. description: 品种名称
  23124. type: string
  23125. enddate:
  23126. description: 结束交易日(yyyymmdd)
  23127. type: string
  23128. enumdicname:
  23129. description: 单位名称
  23130. type: string
  23131. expressfee:
  23132. description: 运费
  23133. type: number
  23134. expressfeeconfirmed:
  23135. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  23136. type: integer
  23137. hasovershort:
  23138. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  23139. type: integer
  23140. haswr:
  23141. description: 类型 0-仓单预售 1-仓单贸易
  23142. type: integer
  23143. marketid:
  23144. description: 市场ID
  23145. type: integer
  23146. middleaccountid:
  23147. description: 中间商资金账号ID
  23148. type: integer
  23149. middleuserid:
  23150. description: 中间商用户ID
  23151. type: integer
  23152. minivalue:
  23153. description: 现货商品最小变动值
  23154. type: integer
  23155. optioncompare:
  23156. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23157. type: string
  23158. overshortamount:
  23159. description: 溢短金额
  23160. type: number
  23161. overshortqty:
  23162. description: 溢短数量
  23163. type: number
  23164. paymenttype:
  23165. description: 付款方式 - 1:冻结 2:扣款
  23166. type: integer
  23167. performanceplanid:
  23168. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  23169. type: string
  23170. performancestatus:
  23171. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  23172. 9:超时待处理 10:超时关闭
  23173. type: integer
  23174. performancetype:
  23175. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  23176. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  23177. type: integer
  23178. qty:
  23179. description: 履约数量
  23180. type: number
  23181. relatedorderid:
  23182. description: 关联单号(履约类型的关联单号)
  23183. type: string
  23184. remark:
  23185. description: 备注
  23186. type: string
  23187. sellaccountid:
  23188. description: 卖方账号
  23189. type: integer
  23190. sellerfreezeamount:
  23191. description: 履约冻结(卖履约)
  23192. type: number
  23193. sellerfreezeamountremain:
  23194. description: 履约冻结剩余(卖履约)
  23195. type: number
  23196. sellreceivedamount:
  23197. description: 卖方已收金额
  23198. type: number
  23199. sellusername:
  23200. description: 卖方名字
  23201. type: string
  23202. shipremark:
  23203. description: 发货备注[物流单号]
  23204. type: string
  23205. starttime:
  23206. description: 开始时间
  23207. type: string
  23208. steptypeid:
  23209. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  23210. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  23211. type: integer
  23212. typename:
  23213. description: 履约类型 名称
  23214. type: string
  23215. unpaidamount:
  23216. description: 期初均价
  23217. type: number
  23218. userid:
  23219. description: 用户id
  23220. type: integer
  23221. warehouseid:
  23222. description: 仓库ID
  23223. type: integer
  23224. warehousename:
  23225. description: 仓库名称
  23226. type: string
  23227. wrfactortypeid:
  23228. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23229. type: string
  23230. wrfactortypename:
  23231. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23232. type: string
  23233. wrstandardcode:
  23234. description: 现货商品代码
  23235. type: string
  23236. wrstandardid:
  23237. description: 现货商品ID
  23238. type: integer
  23239. wrstandardname:
  23240. description: 商品名称
  23241. type: string
  23242. wrtransferuserid:
  23243. description: 仓单受让用户
  23244. type: integer
  23245. wrtypename:
  23246. description: 商品
  23247. type: string
  23248. required:
  23249. - userid
  23250. type: object
  23251. models.WrPerformancePlanStep:
  23252. properties:
  23253. delaydays:
  23254. description: 延期申请天数
  23255. type: integer
  23256. deliverygoodscode:
  23257. description: 品种代码
  23258. type: string
  23259. deliverygoodsid:
  23260. description: 品种ID
  23261. type: integer
  23262. deliverygoodsname:
  23263. description: 品种名称
  23264. type: string
  23265. endtime:
  23266. description: 结束日期
  23267. type: string
  23268. enumdicname:
  23269. description: 单位名称
  23270. type: string
  23271. executeside:
  23272. description: 步骤执行方 - 1:买方 2:卖方
  23273. type: integer
  23274. handlestatus:
  23275. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  23276. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  23277. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  23278. type: integer
  23279. isauto:
  23280. description: 是否自动 - 0:不自动 1:自动
  23281. type: integer
  23282. islastreceivestep:
  23283. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  23284. type: integer
  23285. minivalue:
  23286. description: 现货商品最小变动值
  23287. type: integer
  23288. optioncompare:
  23289. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23290. type: string
  23291. overdays:
  23292. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  23293. type: integer
  23294. performancestepid:
  23295. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  23296. type: string
  23297. planid:
  23298. description: 所属履约计划ID
  23299. type: string
  23300. realamount:
  23301. description: 实际完成金额
  23302. type: number
  23303. relatedorderid:
  23304. description: 关联单号
  23305. type: string
  23306. remaindays:
  23307. description: 剩余天数
  23308. type: integer
  23309. remark:
  23310. description: 错误备注
  23311. type: string
  23312. starttime:
  23313. description: 开始日期
  23314. type: string
  23315. stepamount:
  23316. description: 步骤金额
  23317. type: number
  23318. stepdays:
  23319. description: 距离上一步天数(分钟)
  23320. type: integer
  23321. stepindex:
  23322. description: 步骤序号
  23323. type: integer
  23324. steplanchtype:
  23325. description: 步骤启动类型 - 1:系统自动 2:手动
  23326. type: integer
  23327. stepremark:
  23328. description: 步骤备注
  23329. type: string
  23330. stepstatus:
  23331. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  23332. type: integer
  23333. steptypeid:
  23334. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  23335. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  23336. type: integer
  23337. steptypename:
  23338. description: 步骤名称
  23339. type: string
  23340. stepvalue:
  23341. description: 步骤值
  23342. type: number
  23343. warehouseid:
  23344. description: 仓库ID
  23345. type: integer
  23346. warehousename:
  23347. description: 仓库名称
  23348. type: string
  23349. wrfactortypeid:
  23350. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23351. type: string
  23352. wrfactortypename:
  23353. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23354. type: string
  23355. wrstandardcode:
  23356. description: 现货商品代码
  23357. type: string
  23358. wrstandardid:
  23359. description: 现货商品ID
  23360. type: integer
  23361. wrstandardname:
  23362. description: 商品名称
  23363. type: string
  23364. wrtypename:
  23365. description: 商品
  23366. type: string
  23367. type: object
  23368. models.WrPerformanceStepType:
  23369. properties:
  23370. canauto:
  23371. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  23372. type: integer
  23373. steptypeid:
  23374. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  23375. type: integer
  23376. steptypename:
  23377. description: 步骤类型名称
  23378. type: string
  23379. type: object
  23380. models.WrPerformanceTemplateEx:
  23381. properties:
  23382. autoid:
  23383. description: AutoID 模板id
  23384. type: integer
  23385. createtime:
  23386. description: 创建时间
  23387. type: string
  23388. creatorid:
  23389. description: 创建人
  23390. type: integer
  23391. lstStep:
  23392. description: 步骤信息列表
  23393. items:
  23394. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  23395. type: array
  23396. paymenttype:
  23397. description: 支付方式 - 1:冻结 2:扣款
  23398. type: integer
  23399. takemode:
  23400. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  23401. type: integer
  23402. templatename:
  23403. description: 模板名称
  23404. type: string
  23405. templatetype:
  23406. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  23407. (无仓单) 5:挂牌期权 6:竞拍-降价式
  23408. type: integer
  23409. userid:
  23410. description: 所属用户
  23411. type: integer
  23412. type: object
  23413. models.WrPosition:
  23414. properties:
  23415. accountid:
  23416. description: 帐户ID
  23417. type: integer
  23418. buyexcuteqty:
  23419. description: 采购履约中数量
  23420. type: number
  23421. creditcurqty:
  23422. description: 授信当前数量(预售仓单:预售当前量)
  23423. type: number
  23424. creditenableqty:
  23425. description: '授信可用数量(预售仓单: 可用数量)'
  23426. type: number
  23427. creditfreezeqty:
  23428. description: '授信冻结数量(预售仓单: 当前数量)'
  23429. type: number
  23430. credittotalqty:
  23431. description: 授信总数量(预售仓单:预售总量)
  23432. type: number
  23433. credittradeqty:
  23434. description: 授信成交数量(预售仓单:成交总量)
  23435. type: number
  23436. deliverygoodscode:
  23437. description: 品种代码
  23438. type: string
  23439. deliverygoodsid:
  23440. description: 品种ID
  23441. type: integer
  23442. deliverygoodsname:
  23443. description: 品种名称
  23444. type: string
  23445. enalbeqty:
  23446. description: 可用数量
  23447. type: number
  23448. enumdicname:
  23449. description: 单位名称
  23450. type: string
  23451. freezeqty:
  23452. description: 总冻结数量
  23453. type: number
  23454. haswr:
  23455. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23456. type: integer
  23457. minivalue:
  23458. description: 现货商品最小变动值
  23459. type: integer
  23460. modifytime:
  23461. description: 修改时间(过户时间)
  23462. type: string
  23463. optioncompare:
  23464. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23465. type: string
  23466. pledgeqty:
  23467. description: 质押数量
  23468. type: number
  23469. querytype:
  23470. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  23471. type: integer
  23472. sellexcuteqty:
  23473. description: 销售履约中数量
  23474. type: number
  23475. totalqty:
  23476. description: 总数量(库存数量)
  23477. type: number
  23478. warehouseid:
  23479. description: 仓库ID
  23480. type: integer
  23481. warehousename:
  23482. description: 仓库名称
  23483. type: string
  23484. wrfactortypeid:
  23485. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23486. type: string
  23487. wrfactortypename:
  23488. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23489. type: string
  23490. wrpositionid:
  23491. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  23492. type: string
  23493. wrpositionno:
  23494. description: 仓单编号
  23495. type: string
  23496. wrstandardcode:
  23497. description: 现货商品代码
  23498. type: string
  23499. wrstandardid:
  23500. description: 现货商品ID
  23501. type: integer
  23502. wrstandardname:
  23503. description: 商品名称
  23504. type: string
  23505. wrtypename:
  23506. description: 商品
  23507. type: string
  23508. wruserid:
  23509. description: 持有人ID
  23510. type: integer
  23511. type: object
  23512. models.WrPreSaleInfo:
  23513. properties:
  23514. bannerpicurl:
  23515. description: Banner图
  23516. type: string
  23517. baseqty:
  23518. description: 中签基数
  23519. type: number
  23520. createtime:
  23521. description: 创建时间
  23522. type: string
  23523. deliverygoodsid:
  23524. description: 现货品种ID
  23525. type: integer
  23526. enddate:
  23527. description: 预售结束日期
  23528. type: string
  23529. enumdicname:
  23530. description: 单位名称
  23531. type: string
  23532. lotteryflag:
  23533. description: 摇号标识 - 0:未摇号 1:已摇号
  23534. type: integer
  23535. lotteryqty:
  23536. description: 摇号总量
  23537. type: number
  23538. luckyqty:
  23539. description: 已中签量
  23540. type: number
  23541. marketid:
  23542. description: 市场ID
  23543. type: integer
  23544. maxbuyqty:
  23545. description: 单人最大申购量
  23546. type: number
  23547. maxluckyqty:
  23548. description: 单人最大中签量
  23549. type: number
  23550. pictureurls:
  23551. description: 详情图片(逗号分隔)
  23552. type: string
  23553. placeqty:
  23554. description: 已配售量
  23555. type: number
  23556. presaleapplyid:
  23557. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  23558. example: "0"
  23559. type: string
  23560. presaleqty:
  23561. description: 预售总量
  23562. type: number
  23563. presalestatus:
  23564. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  23565. type: integer
  23566. sellaccountid:
  23567. description: 发行方资金账户ID
  23568. type: integer
  23569. selluserid:
  23570. description: 发行方用户ID
  23571. type: integer
  23572. sellwrtradeorderid:
  23573. description: 发行方卖委托单ID
  23574. type: string
  23575. startdate:
  23576. description: 预售开始日期
  23577. type: string
  23578. takestartdate:
  23579. description: 提货开始日期
  23580. type: string
  23581. thumurls:
  23582. description: 缩略图片(1:1)(逗号分隔)
  23583. type: string
  23584. tradedate:
  23585. description: 交易日
  23586. type: string
  23587. unitid:
  23588. description: 单位ID
  23589. type: integer
  23590. unitprice:
  23591. description: 商品单价
  23592. type: number
  23593. username:
  23594. description: 发行方用户名称
  23595. type: string
  23596. warehousecode:
  23597. description: 仓库代码(仓库简称)
  23598. type: string
  23599. warehouseid:
  23600. description: 仓库ID
  23601. type: integer
  23602. warehousename:
  23603. description: 仓库名称
  23604. type: string
  23605. wrfactortypeid:
  23606. description: 仓单要素类型ID - 根据现货商品\仓库生成
  23607. example: "0"
  23608. type: string
  23609. wrstandardid:
  23610. description: 现货商品ID
  23611. type: integer
  23612. wrstandardname:
  23613. description: 现货商品名称
  23614. type: string
  23615. type: object
  23616. models.WrQuoteOrderMyq:
  23617. properties:
  23618. buyorsell:
  23619. description: 买卖 - 0:买 1:卖
  23620. type: integer
  23621. canbargain:
  23622. description: 是否可议价 - 0:不可 1:可
  23623. type: integer
  23624. canpart:
  23625. description: 是否允许部份摘牌 - 0:不允许 1:允许
  23626. type: integer
  23627. delistminqty:
  23628. description: 期初均价
  23629. type: number
  23630. deliverygoodscode:
  23631. description: 品种代码
  23632. type: string
  23633. deliverygoodsid:
  23634. description: 品种ID
  23635. type: integer
  23636. deliverygoodsname:
  23637. description: 品种名称
  23638. type: string
  23639. deliverymonth:
  23640. description: 交收月
  23641. type: string
  23642. enumdicname:
  23643. description: 单位名称
  23644. type: string
  23645. fixedprice:
  23646. description: 买(卖)价
  23647. type: number
  23648. goodscode:
  23649. description: 商品合约代码
  23650. type: string
  23651. marginflag:
  23652. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  23653. type: integer
  23654. marginvalue:
  23655. description: 保证金设置值
  23656. type: number
  23657. minivalue:
  23658. description: 现货商品最小变动值
  23659. type: integer
  23660. orderqty:
  23661. description: 买(卖)量(=委托量-成交量)
  23662. type: number
  23663. ordertime:
  23664. description: 委托时间
  23665. type: string
  23666. performancetemplateid:
  23667. description: 履约模板id
  23668. type: integer
  23669. pricemove:
  23670. description: 买(卖)升贴水- 基差
  23671. type: number
  23672. templatename:
  23673. description: 履约模板名称
  23674. type: string
  23675. userid:
  23676. description: 购买方(销售方)用户ID
  23677. type: integer
  23678. username:
  23679. description: 购买方(销售方)
  23680. type: string
  23681. validtime:
  23682. description: 有效期限
  23683. type: string
  23684. validtype:
  23685. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  23686. type: integer
  23687. warehousename:
  23688. description: 仓库名称
  23689. type: string
  23690. wrfactortypeid:
  23691. description: 仓单要素id
  23692. type: string
  23693. wrstandardcode:
  23694. description: 现货商品代码
  23695. type: string
  23696. wrstandardid:
  23697. description: 现货商品ID
  23698. type: integer
  23699. wrstandardname:
  23700. description: 商品名称
  23701. type: string
  23702. wrtradeorderid:
  23703. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23704. type: string
  23705. wrtypename:
  23706. description: 商品
  23707. type: string
  23708. type: object
  23709. models.WrReckonSpotGoodsTradeSum:
  23710. properties:
  23711. begindate:
  23712. description: 开始日期(结果含开始日期) yyyymmdd
  23713. type: string
  23714. enddate:
  23715. description: 结束日期(结果含结束日期) yyyymmdd
  23716. type: string
  23717. istoday:
  23718. description: 是否当日
  23719. type: boolean
  23720. marketid:
  23721. description: 市场ID
  23722. type: integer
  23723. price:
  23724. description: 价格 = 日成交金额 / 日成交数量
  23725. type: string
  23726. reckondate:
  23727. description: 日期 格式 yyyymmdd
  23728. type: string
  23729. tradeamount:
  23730. description: 期初均价
  23731. type: number
  23732. tradeqty:
  23733. description: 期初均价
  23734. type: number
  23735. wrstandardid:
  23736. description: 现货商品ID
  23737. type: integer
  23738. type: object
  23739. models.WrScfContract:
  23740. properties:
  23741. borroweruserid:
  23742. description: 借款用户ID
  23743. type: integer
  23744. buybackwrpositionqty:
  23745. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  23746. type: number
  23747. closeinterest:
  23748. description: 已结利息 -> 已结费用
  23749. type: number
  23750. currisklevel:
  23751. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  23752. type: integer
  23753. deadline:
  23754. description: 截止日期(yyyyMMdd) -> 借款到期时间
  23755. type: string
  23756. deliverygoodscode:
  23757. description: 品种代码
  23758. type: string
  23759. deliverygoodsid:
  23760. description: 品种ID
  23761. type: integer
  23762. deliverygoodsname:
  23763. description: 品种名称
  23764. type: string
  23765. enumdicname:
  23766. description: 单位名称
  23767. type: string
  23768. financingdays:
  23769. description: 天数(天)
  23770. type: integer
  23771. initmargin:
  23772. description: 保证金 - [仓单回购]
  23773. type: number
  23774. interestamount:
  23775. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  23776. type: number
  23777. interestdebt:
  23778. description: 利息欠款(记录负数) -> 费用欠款
  23779. type: number
  23780. interestminlen:
  23781. description: 最小起息天数
  23782. type: integer
  23783. interestrate:
  23784. description: 利率
  23785. type: number
  23786. interestratemode:
  23787. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  23788. type: integer
  23789. interestsettlemode:
  23790. description: 结息方式 - 1:按日结息 3:按月结息
  23791. type: integer
  23792. interestsettlevalue:
  23793. description: 结息方式值
  23794. type: integer
  23795. isautoloan:
  23796. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  23797. type: integer
  23798. lastcloseinterestday:
  23799. description: 最近结息日(yyyyMMdd)
  23800. type: string
  23801. lenderamount:
  23802. description: 贷款金额 -> 借款金额
  23803. type: number
  23804. lenderuserid:
  23805. description: 贷款方用户ID -> 融出方用户ID
  23806. type: integer
  23807. lenderusername:
  23808. description: 融出方
  23809. type: string
  23810. marginratio:
  23811. description: 保证金比率质押率 - [仓单质押]
  23812. type: number
  23813. marketid:
  23814. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  23815. type: integer
  23816. minivalue:
  23817. description: 现货商品最小变动值
  23818. type: integer
  23819. optioncompare:
  23820. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23821. type: string
  23822. pricemove:
  23823. description: 估值升贴水值
  23824. type: number
  23825. productdetailid:
  23826. description: 产品组合ID
  23827. type: integer
  23828. productid:
  23829. description: 金融产品ID
  23830. type: integer
  23831. productname:
  23832. description: 产品名称
  23833. type: string
  23834. remainamount:
  23835. description: 合同剩余金额 -> 剩余金额
  23836. type: number
  23837. remainwrpositionqty:
  23838. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  23839. type: number
  23840. remark:
  23841. description: 备注
  23842. type: string
  23843. scfcontractid:
  23844. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  23845. type: string
  23846. scfcontractstatus:
  23847. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  23848. 9:违约结束 10:已注销 11:已关闭 99:未提交
  23849. type: integer
  23850. scfcontracttype:
  23851. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  23852. type: integer
  23853. startinterestday:
  23854. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  23855. type: string
  23856. totalinterest:
  23857. description: 已计利息 -> 已计费用
  23858. type: number
  23859. unpaidinterest:
  23860. description: 期初均价
  23861. type: number
  23862. updatetime:
  23863. description: 更新时间
  23864. type: string
  23865. warehouseid:
  23866. description: 仓库ID
  23867. type: integer
  23868. warehousename:
  23869. description: 仓库名称
  23870. type: string
  23871. wrfactortypeid:
  23872. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23873. type: string
  23874. wrfactortypename:
  23875. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23876. type: string
  23877. wrqty:
  23878. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  23879. type: number
  23880. wrstandardcode:
  23881. description: 现货商品代码
  23882. type: string
  23883. wrstandardid:
  23884. description: 现货商品ID
  23885. type: integer
  23886. wrstandardname:
  23887. description: 商品名称
  23888. type: string
  23889. wrtypename:
  23890. description: 商品
  23891. type: string
  23892. type: object
  23893. models.WrScfContractInterest:
  23894. properties:
  23895. closeinterest:
  23896. description: 已结利息
  23897. type: number
  23898. closeintereststatus:
  23899. description: 结息状态 - 1:未结 2:已结
  23900. type: integer
  23901. closetime:
  23902. description: 结息时间
  23903. type: string
  23904. closetradedate:
  23905. description: 结息交易日
  23906. type: string
  23907. creatorid:
  23908. description: 操作人ID
  23909. type: integer
  23910. dayrate:
  23911. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  23912. type: number
  23913. interest:
  23914. description: 利息
  23915. type: number
  23916. interestamount:
  23917. description: 计息金额
  23918. type: number
  23919. interestday:
  23920. description: 计息日(yyyyMMdd)
  23921. type: string
  23922. scfcontractid:
  23923. description: SCF合同ID
  23924. type: string
  23925. scfcontractinterestid:
  23926. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  23927. type: integer
  23928. updatetime:
  23929. description: 更新时间
  23930. type: string
  23931. type: object
  23932. models.WrSearchUser:
  23933. properties:
  23934. userid:
  23935. description: 用户ID
  23936. type: integer
  23937. username:
  23938. description: 用户名称(已脱敏)
  23939. type: string
  23940. username2:
  23941. description: 用户名称(未脱敏)
  23942. type: string
  23943. usertype:
  23944. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  23945. type: integer
  23946. required:
  23947. - username
  23948. type: object
  23949. models.WrSiteColumnDetail:
  23950. properties:
  23951. author:
  23952. description: 作者
  23953. type: string
  23954. brief:
  23955. description: 简介
  23956. type: string
  23957. context:
  23958. description: 内容
  23959. type: string
  23960. coverimage:
  23961. description: 封面图片
  23962. type: string
  23963. creaedate:
  23964. description: 创建时间
  23965. type: string
  23966. id:
  23967. description: ID(SEQ_SITE_COLUMNDETAIL)
  23968. type: integer
  23969. istop:
  23970. description: 是否置顶 - 0:不置 1:置顶
  23971. type: integer
  23972. publishdate:
  23973. description: 发布日期
  23974. type: string
  23975. title:
  23976. description: 标题
  23977. type: string
  23978. updatedate:
  23979. description: 修改时间
  23980. type: string
  23981. type: object
  23982. models.WrSpecialMatchOrder:
  23983. properties:
  23984. amount:
  23985. description: 金额 = 数量 * 价格
  23986. type: number
  23987. buyorsell:
  23988. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23989. type: integer
  23990. cancelqty:
  23991. description: 撤销数量
  23992. type: number
  23993. deliverygoodscode:
  23994. description: 品种代码
  23995. type: string
  23996. deliverygoodsid:
  23997. description: 品种ID
  23998. type: integer
  23999. deliverygoodsname:
  24000. description: 品种名称
  24001. type: string
  24002. enumdicname:
  24003. description: 单位名称
  24004. type: string
  24005. fixedprice:
  24006. description: 固定价格(价格)
  24007. type: number
  24008. haswr:
  24009. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  24010. type: integer
  24011. isspecified:
  24012. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  24013. type: integer
  24014. marketid:
  24015. description: 市场ID
  24016. type: integer
  24017. matchuserid:
  24018. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  24019. type: integer
  24020. matchusername:
  24021. description: 指定方
  24022. type: string
  24023. minivalue:
  24024. description: 现货商品最小变动值
  24025. type: integer
  24026. optioncompare:
  24027. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  24028. type: string
  24029. orderqty:
  24030. description: 委托数量
  24031. type: number
  24032. ordertime:
  24033. description: 委托时间
  24034. type: string
  24035. pricemove:
  24036. description: 升贴水(浮动价时填写) - [挂牌]
  24037. type: number
  24038. tradedate:
  24039. description: 交易日(yyyyMMdd)
  24040. type: string
  24041. tradeprice:
  24042. description: 成交价格
  24043. type: number
  24044. tradeqty:
  24045. description: 成交数量
  24046. type: number
  24047. userid:
  24048. description: 用户ID
  24049. type: integer
  24050. username:
  24051. description: 发起方
  24052. type: string
  24053. warehouseid:
  24054. description: 仓库ID
  24055. type: integer
  24056. warehousename:
  24057. description: 仓库名称
  24058. type: string
  24059. wrfactortypeid:
  24060. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  24061. type: string
  24062. wrfactortypename:
  24063. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  24064. type: string
  24065. wrpricetype:
  24066. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  24067. type: integer
  24068. wrstandardcode:
  24069. description: 现货商品代码
  24070. type: string
  24071. wrstandardid:
  24072. description: 现货商品ID
  24073. type: integer
  24074. wrstandardname:
  24075. description: 商品名称
  24076. type: string
  24077. wrtradeorderid:
  24078. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  24079. type: string
  24080. wrtradeorderstatus:
  24081. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  24082. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  24083. type: integer
  24084. wrtradetype:
  24085. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  24086. type: integer
  24087. wrtypename:
  24088. description: 商品
  24089. type: string
  24090. type: object
  24091. models.WrSpotGroupTradeSum:
  24092. properties:
  24093. deliverygoodscode:
  24094. description: 现货品种代码
  24095. type: string
  24096. deliverygoodsid:
  24097. description: 现货品种ID(SEQ_DELIVERYGOODS)
  24098. type: integer
  24099. deliverygoodsname:
  24100. description: 现货品种名称
  24101. type: string
  24102. lastavgprice:
  24103. description: 上上个交易日价格(前2天价格)
  24104. type: string
  24105. lastreckondate:
  24106. description: 上上个交易日(前2天交易日)
  24107. type: string
  24108. reckondate:
  24109. description: 上个交易日(前1天交易日)
  24110. type: string
  24111. todayavgprice:
  24112. description: 上个交易日价格(前1天价格)
  24113. type: string
  24114. updown:
  24115. description: 涨跌
  24116. type: string
  24117. updownratio:
  24118. description: 涨幅(已格式化, 直接显示即可)
  24119. type: string
  24120. type: object
  24121. models.WrSpotGroupTradeSumDetail:
  24122. properties:
  24123. deliverygoodsid:
  24124. description: 现货商品id
  24125. type: integer
  24126. price:
  24127. description: 价格
  24128. type: number
  24129. reckondate:
  24130. description: 日期(yyymmdd, 如:20211031)
  24131. type: string
  24132. type: object
  24133. models.WrSpotGroupTradeSumEx:
  24134. properties:
  24135. lst:
  24136. description: 指数列表
  24137. items:
  24138. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  24139. type: array
  24140. prereckondate:
  24141. description: 上上个交易日(yyymmdd)
  24142. type: string
  24143. reckondate:
  24144. description: 上个交易日(yyyymmdd)
  24145. type: string
  24146. type: object
  24147. models.WrStandardFactoryItem:
  24148. properties:
  24149. dgfactoryitemid:
  24150. description: 选择项id
  24151. type: integer
  24152. dgfactoryitemvalue:
  24153. description: 要素项值
  24154. type: string
  24155. warehouseid:
  24156. description: 仓库id
  24157. type: integer
  24158. type: object
  24159. models.WrStandardFactoryItemEx:
  24160. properties:
  24161. dgfactoryitemtypeid:
  24162. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  24163. type: integer
  24164. itemlst:
  24165. description: 要素项列表
  24166. items:
  24167. $ref: '#/definitions/models.WrStandardFactoryItem'
  24168. type: array
  24169. itemtypename:
  24170. description: 要素项类型名称
  24171. type: string
  24172. wrstandardid:
  24173. description: 品类
  24174. type: integer
  24175. type: object
  24176. models.WrTradeDetail:
  24177. properties:
  24178. accountid:
  24179. description: 资金账号
  24180. type: integer
  24181. bannerpicurl:
  24182. description: Banner图
  24183. type: string
  24184. begindate:
  24185. description: 开始交易日(yyyymmdd)
  24186. type: string
  24187. buyorsell:
  24188. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  24189. type: integer
  24190. chargevalue:
  24191. description: 手续费
  24192. type: number
  24193. contractaddr:
  24194. description: 合同地址
  24195. type: string
  24196. deliverygoodscode:
  24197. description: 品种代码
  24198. type: string
  24199. deliverygoodsid:
  24200. description: 品种ID
  24201. type: integer
  24202. deliverygoodsname:
  24203. description: 品种名称
  24204. type: string
  24205. deliverymonth:
  24206. description: 交收月
  24207. type: string
  24208. enddate:
  24209. description: 结束交易日(yyyymmdd)
  24210. type: string
  24211. enumdicname:
  24212. description: 单位名称
  24213. type: string
  24214. haswr:
  24215. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  24216. type: integer
  24217. marketid:
  24218. description: 市场ID
  24219. type: integer
  24220. matchaccountid:
  24221. description: 对手账号
  24222. type: integer
  24223. matchusername:
  24224. description: 对手方
  24225. type: string
  24226. minivalue:
  24227. description: 现货商品最小变动值
  24228. type: integer
  24229. optioncompare:
  24230. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  24231. type: string
  24232. thumurls:
  24233. description: 缩略图
  24234. type: string
  24235. tradedate:
  24236. description: 交易日(yyyyMMdd)
  24237. type: string
  24238. tradeprice:
  24239. description: 成交价格
  24240. type: number
  24241. tradeqty:
  24242. description: 成交数量
  24243. type: number
  24244. tradetime:
  24245. description: 成交时间
  24246. type: string
  24247. unitid:
  24248. description: 现货商品单位ID
  24249. type: integer
  24250. userid:
  24251. description: 用户ID
  24252. type: integer
  24253. warehouseid:
  24254. description: 仓库ID
  24255. type: integer
  24256. warehousename:
  24257. description: 仓库名称
  24258. type: string
  24259. wrfactortypeid:
  24260. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  24261. type: string
  24262. wrfactortypename:
  24263. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  24264. type: string
  24265. wrstandardcode:
  24266. description: 现货商品代码
  24267. type: string
  24268. wrstandardid:
  24269. description: 现货商品ID
  24270. type: integer
  24271. wrstandardname:
  24272. description: 商品名称
  24273. type: string
  24274. wrtradedetailid:
  24275. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  24276. type: string
  24277. wrtradetype:
  24278. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  24279. type: integer
  24280. wrtypename:
  24281. description: 商品
  24282. type: string
  24283. type: object
  24284. models.WrTradeOrderDetail:
  24285. properties:
  24286. buyorsell:
  24287. description: 买卖方向 0-买 1-卖
  24288. type: integer
  24289. goodsid:
  24290. description: 商品id
  24291. type: integer
  24292. orderid:
  24293. description: 委托单号
  24294. type: string
  24295. orderprice:
  24296. description: 期初均价
  24297. type: number
  24298. orderqty:
  24299. description: 委托数量
  24300. type: integer
  24301. userid:
  24302. description: 用户id
  24303. type: integer
  24304. username:
  24305. description: 用户名称(已脱敏)
  24306. type: string
  24307. type: object
  24308. models.WrTypeItem:
  24309. properties:
  24310. name:
  24311. description: 名称
  24312. type: string
  24313. value:
  24314. description: 值
  24315. type: string
  24316. type: object
  24317. models.WrUserFriend:
  24318. properties:
  24319. friendname:
  24320. description: 朋友名称(已脱敏)
  24321. type: string
  24322. frienduserid:
  24323. description: 朋友id
  24324. type: integer
  24325. isfriend:
  24326. description: 是否好友 0-不是 1-是
  24327. type: integer
  24328. userid:
  24329. description: 用户id
  24330. type: integer
  24331. type: object
  24332. models.WrUserReceiptInfo:
  24333. properties:
  24334. address:
  24335. description: 地址[发票类型:企业]
  24336. type: string
  24337. autoid:
  24338. description: AutoID
  24339. type: integer
  24340. contactinfo:
  24341. description: 联系方式
  24342. type: string
  24343. email:
  24344. description: 收件邮箱
  24345. type: string
  24346. idnum:
  24347. description: 身份证号码[发票类型:个人]
  24348. type: string
  24349. isdefault:
  24350. description: 是否默认地址 - 0:否 1:是
  24351. type: integer
  24352. receiptaccount:
  24353. description: 发票帐号[发票类型:企业]
  24354. type: string
  24355. receiptbank:
  24356. description: 发票开户行[发票类型:企业]
  24357. type: string
  24358. receipttype:
  24359. description: 发票类型 - 1:个人 2:企业
  24360. type: integer
  24361. taxpayerid:
  24362. description: 纳税人识别号
  24363. type: string
  24364. userid:
  24365. description: 用户ID
  24366. type: integer
  24367. username:
  24368. description: 户名(个人姓名或企业名称)
  24369. type: string
  24370. type: object
  24371. models.Wrtradetradequote:
  24372. properties:
  24373. buyaccountid:
  24374. description: 买方账号ID
  24375. type: integer
  24376. buychargevalue:
  24377. description: 买方手续费
  24378. type: number
  24379. buyuserid:
  24380. description: 买方用户ID
  24381. type: integer
  24382. deliverygoodsid:
  24383. description: 现货品种ID
  24384. type: integer
  24385. exchangerate:
  24386. description: 汇率
  24387. type: number
  24388. marketid:
  24389. description: 市场ID
  24390. type: integer
  24391. oritradeamount:
  24392. description: 成交金额[商品币种]
  24393. type: number
  24394. performanceplanid:
  24395. description: 履约计划ID/合同ID
  24396. type: integer
  24397. sellaccountid:
  24398. description: 卖方账号ID
  24399. type: integer
  24400. sellchargevalue:
  24401. description: 卖方手续费
  24402. type: number
  24403. selluserid:
  24404. description: 卖方用户ID
  24405. type: integer
  24406. tradeamount:
  24407. description: 成交金额
  24408. type: number
  24409. tradedate:
  24410. description: 交易日(yyyyMMdd)
  24411. type: string
  24412. tradeprice:
  24413. description: 成交价格
  24414. type: number
  24415. tradeqty:
  24416. description: 成交数量
  24417. type: integer
  24418. tradetime:
  24419. description: 成交时间
  24420. type: string
  24421. wrfactortypeid:
  24422. description: 仓单要素类型ID
  24423. type: integer
  24424. wrstandardid:
  24425. description: 现货商品ID
  24426. type: integer
  24427. wrtradedetailid:
  24428. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  24429. type: integer
  24430. type: object
  24431. models.XHBRAND:
  24432. properties:
  24433. brandid:
  24434. description: 品牌id
  24435. type: integer
  24436. brandname:
  24437. description: 品牌名称
  24438. type: string
  24439. isvalid:
  24440. description: 是否有效 0-无效 1-有效
  24441. type: integer
  24442. type: object
  24443. models.XHDeliveryGoods:
  24444. properties:
  24445. areauserid:
  24446. description: 所属机构
  24447. type: integer
  24448. bdlst:
  24449. description: 品牌列表
  24450. items:
  24451. $ref: '#/definitions/models.XHBRAND'
  24452. type: array
  24453. deliverygoodscode:
  24454. description: 现货品种代码
  24455. type: string
  24456. deliverygoodsid:
  24457. description: 现货品种ID(SEQ_DELIVERYGOODS)
  24458. type: integer
  24459. deliverygoodsname:
  24460. description: 现货品种名称
  24461. type: string
  24462. dgstatus:
  24463. description: 品种状态 - 作废 - 0:未激活 1:正常
  24464. type: integer
  24465. filterSubEmpty:
  24466. description: 过滤下级为空的
  24467. type: integer
  24468. isvalid:
  24469. description: 是否有效 - 0:无效 1:有效
  24470. type: integer
  24471. remark:
  24472. description: 备注
  24473. type: string
  24474. unitid:
  24475. description: 单位id(目前看,数据库中是空值)
  24476. type: integer
  24477. wdlst:
  24478. description: 品类(现货商品)列表
  24479. items:
  24480. $ref: '#/definitions/models.XHWrstandard'
  24481. type: array
  24482. type: object
  24483. models.XHMiddleGoods:
  24484. properties:
  24485. GPLST:
  24486. description: 期货品种列表
  24487. items:
  24488. $ref: '#/definitions/models.TBGoodsGroup'
  24489. type: array
  24490. convertratio:
  24491. description: 拆算系数
  24492. type: number
  24493. costratio:
  24494. description: 成本权重
  24495. type: number
  24496. deliverygoodsid:
  24497. description: 现货商品id
  24498. type: integer
  24499. enumdicname:
  24500. description: 单位名称
  24501. type: string
  24502. middlegoodscode:
  24503. description: 套保品种代码
  24504. type: string
  24505. middlegoodsid:
  24506. description: 套保品种id
  24507. type: integer
  24508. middlegoodsname:
  24509. description: 套保品种名称
  24510. type: string
  24511. unitid:
  24512. description: 单位id
  24513. type: integer
  24514. type: object
  24515. models.XHWrstandard:
  24516. properties:
  24517. bannerpicurl:
  24518. description: banner图
  24519. type: string
  24520. deliverygoodsid:
  24521. description: 品种ID
  24522. type: integer
  24523. enumdicname:
  24524. description: 单位名称
  24525. type: string
  24526. mglst:
  24527. description: 套保品列表
  24528. items:
  24529. $ref: '#/definitions/models.XHMiddleGoods'
  24530. type: array
  24531. pictureurls:
  24532. description: 详情图片(逗号分隔)
  24533. type: string
  24534. thumurls:
  24535. description: 缩略图片(1:1)(逗号分隔)
  24536. type: string
  24537. unitid:
  24538. description: 单位id
  24539. type: integer
  24540. vatrate:
  24541. description: 增值税率
  24542. type: number
  24543. wrstandardcode:
  24544. description: 现货商品代码
  24545. type: string
  24546. wrstandardid:
  24547. description: 现货商品ID(SEQ_WRSTANDARD)
  24548. type: integer
  24549. wrstandardname:
  24550. description: 现货商品名称
  24551. type: string
  24552. type: object
  24553. models.XhcpSellBackApplyEx:
  24554. properties:
  24555. applyremark:
  24556. description: 申请备注
  24557. type: string
  24558. expirytype:
  24559. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  24560. type: integer
  24561. goodsspec:
  24562. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  24563. type: integer
  24564. holeflag:
  24565. description: 是否破洞[原封] - 1:无破洞 2:破洞
  24566. type: integer
  24567. isunopened:
  24568. description: 是否原封 - 1:否 2:是
  24569. type: integer
  24570. mpflag:
  24571. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  24572. type: integer
  24573. openflag:
  24574. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  24575. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  24576. type: integer
  24577. phonenum:
  24578. description: 联系电话
  24579. type: string
  24580. userid:
  24581. description: 所属用户ID
  24582. type: integer
  24583. zpflag:
  24584. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  24585. type: integer
  24586. required:
  24587. - userid
  24588. type: object
  24589. models.Xhcpsellbackapply:
  24590. properties:
  24591. applyid:
  24592. description: 申请人
  24593. type: integer
  24594. applyremark:
  24595. description: 申请备注
  24596. type: string
  24597. applysrc:
  24598. description: 申请来源 - 1:管理端 2:终端
  24599. type: integer
  24600. applystatus:
  24601. description: 申请状态 - 1:待确认 2:已处理
  24602. type: integer
  24603. applytime:
  24604. description: 申请时间
  24605. type: string
  24606. auditremark:
  24607. description: 审核备注
  24608. type: string
  24609. auditsrc:
  24610. description: 审核来源 - 1:管理端 2:终端
  24611. type: integer
  24612. expirytype:
  24613. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  24614. type: integer
  24615. goodsspec:
  24616. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  24617. type: integer
  24618. holeflag:
  24619. description: 是否破洞[原封] - 1:无破洞 2:破洞
  24620. type: integer
  24621. isunopened:
  24622. description: 是否原封 - 1:否 2:是
  24623. type: integer
  24624. mpflag:
  24625. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  24626. type: integer
  24627. openflag:
  24628. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  24629. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  24630. type: integer
  24631. phonenum:
  24632. description: 联系电话
  24633. type: string
  24634. sellbackapplyid:
  24635. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  24636. type: string
  24637. userid:
  24638. description: 所属用户ID
  24639. type: integer
  24640. zpflag:
  24641. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  24642. type: integer
  24643. required:
  24644. - userid
  24645. type: object
  24646. order.QueryHisTradeDetailRsp:
  24647. properties:
  24648. accountid:
  24649. description: 账户ID[报价币种]
  24650. type: integer
  24651. advanceratio:
  24652. description: 首付比率
  24653. type: number
  24654. buildtype:
  24655. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  24656. type: integer
  24657. buyorsell:
  24658. description: 方向 - 0:买 1:卖
  24659. type: integer
  24660. charge:
  24661. description: 手续费
  24662. type: number
  24663. closecharge:
  24664. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24665. type: number
  24666. closeexchagechargevalue:
  24667. description: 平仓交易所手续费设置值
  24668. type: number
  24669. closefeealgorithm:
  24670. description: 平仓手续费收取方式 1:比率 2:固定
  24671. type: integer
  24672. closememberchargevalue:
  24673. description: 平仓会员手续费设置值
  24674. type: number
  24675. closepl:
  24676. description: 平仓盈亏
  24677. type: number
  24678. closepl2:
  24679. description: 平仓盈亏[逐笔]
  24680. type: number
  24681. closeqty:
  24682. description: 平仓数量(先建后平操作 需要记录)
  24683. type: number
  24684. creditamount:
  24685. description: 授信金额
  24686. type: number
  24687. decimalplace:
  24688. description: 商品报价小数位
  24689. type: integer
  24690. enumdicname:
  24691. description: 单位名称
  24692. type: string
  24693. gcaccountid:
  24694. description: 账户ID[合约币种]
  24695. type: integer
  24696. goodscode:
  24697. description: 商品代码
  24698. type: string
  24699. goodsid:
  24700. description: 商品ID
  24701. type: integer
  24702. goodsname:
  24703. description: 商品名称
  24704. type: string
  24705. goodunitid:
  24706. description: 商品单位id
  24707. type: integer
  24708. histradedate:
  24709. description: 历史交易日
  24710. type: string
  24711. intclosepl:
  24712. description: 整型盈亏(用于交易结算试算平衡-收益权)
  24713. type: integer
  24714. isconfirmexercise:
  24715. description: 是否确认行权- 0:否 1:是
  24716. type: integer
  24717. ismain:
  24718. description: 是否主单 - 0:不是 1:是
  24719. type: integer
  24720. ispreexercise:
  24721. description: 是否预申报- 0:否 1:是
  24722. type: integer
  24723. isreckoned:
  24724. description: 是否结算 - 0:未结算 1:已结算
  24725. type: integer
  24726. isvaliddata:
  24727. description: 是否有效 - 0:无效 1:有效
  24728. type: integer
  24729. listingselecttype:
  24730. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24731. type: integer
  24732. marketid:
  24733. description: 市场ID
  24734. type: integer
  24735. marketname:
  24736. description: 市场名称
  24737. type: string
  24738. matchaccountid:
  24739. description: 对手账号id
  24740. type: integer
  24741. memberuserid:
  24742. description: 会员id 个人投资者 需要填写
  24743. type: integer
  24744. opencharge:
  24745. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24746. type: number
  24747. openexchagechargevalue:
  24748. description: 建仓交易所手续费设置值
  24749. type: number
  24750. openfeealgorithm:
  24751. description: 建仓手续费收取方式 1:比率 2:固定
  24752. type: integer
  24753. openmemberchargevalue:
  24754. description: 建仓会员手续费设置值
  24755. type: number
  24756. openqty:
  24757. description: 开仓数量(先建后平操作 需要记录)
  24758. type: number
  24759. optiontype:
  24760. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24761. type: integer
  24762. orderid:
  24763. description: 委托单号
  24764. type: string
  24765. payamount:
  24766. description: 支付金额(付款金额)
  24767. type: number
  24768. performanceplanid:
  24769. description: 履约计划ID[期权]
  24770. type: integer
  24771. performancestatus:
  24772. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24773. type: integer
  24774. preexerciseprice:
  24775. description: 预申报价格
  24776. type: number
  24777. premium:
  24778. description: 权利金 - [持仓单的权利金]
  24779. type: number
  24780. qtydecimalplace:
  24781. description: 商品报价小数位
  24782. type: integer
  24783. recvamount:
  24784. description: 到账金额 = 成交金额 - 手续费
  24785. type: number
  24786. relatedouttradeid:
  24787. description: 关联外部成交单ID
  24788. type: integer
  24789. status:
  24790. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24791. type: integer
  24792. totalamount:
  24793. description: 订单总额 = 成交金额 + 手续费
  24794. type: number
  24795. tradeamount:
  24796. description: 成交金额[账户币种,用于所有权]
  24797. type: number
  24798. tradedate:
  24799. description: 交易日(yyyyMMdd)
  24800. type: string
  24801. tradeid:
  24802. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24803. type: string
  24804. trademode:
  24805. description: 交易模式
  24806. type: integer
  24807. tradeprice:
  24808. description: 成交价格
  24809. type: number
  24810. tradeproperty:
  24811. description: 交易属性
  24812. type: integer
  24813. tradeqty:
  24814. description: 成交数量
  24815. type: number
  24816. tradetime:
  24817. description: 成交时间
  24818. type: string
  24819. tradetype:
  24820. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24821. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24822. type: integer
  24823. required:
  24824. - accountid
  24825. - buyorsell
  24826. - goodsid
  24827. - histradedate
  24828. - marketid
  24829. - memberuserid
  24830. - orderid
  24831. - tradeamount
  24832. - tradedate
  24833. - tradeid
  24834. - tradeprice
  24835. - tradeqty
  24836. - tradetime
  24837. type: object
  24838. order.QueryHisTradeOrderDetailRsp:
  24839. properties:
  24840. accountid:
  24841. description: 账户ID[报价币种]
  24842. type: integer
  24843. buildtype:
  24844. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24845. type: integer
  24846. buyorsell:
  24847. description: 买卖 - 0:买 1:卖
  24848. type: integer
  24849. cancelorderid:
  24850. description: 撤单单号(撤单时填写)
  24851. type: string
  24852. cancelqty:
  24853. description: 撤单数量
  24854. type: number
  24855. clientordertime:
  24856. description: 客户端委托时间
  24857. type: string
  24858. clientticket:
  24859. description: 客户端流水号
  24860. type: string
  24861. clienttype:
  24862. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24863. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24864. type: integer
  24865. closeexchagechargevalue:
  24866. description: 平仓交易所手续费设置值
  24867. type: number
  24868. closefeealgorithm:
  24869. description: 平仓手续费收取方式 1:比率 2:固定
  24870. type: integer
  24871. closefreezecharge:
  24872. description: 平仓冻结手续费(先建后平操作,需要记录)
  24873. type: number
  24874. closememberchargevalue:
  24875. description: 平仓会员手续费设置值
  24876. type: number
  24877. closeqty:
  24878. description: 平仓数量(先建后平操作 需要记录)
  24879. type: number
  24880. closetradeqty:
  24881. description: 平仓成交数量(先建后平操作,需要记录)
  24882. type: number
  24883. closeunfreezecharge:
  24884. description: 平仓解冻手续费(先建后平操作,需要记录)
  24885. type: number
  24886. decimalplace:
  24887. description: 商品报价小数位
  24888. type: integer
  24889. delistingtype:
  24890. description: 摘牌类型 - 1:价格最优 2:点选成交
  24891. type: integer
  24892. enumdicname:
  24893. description: 单位名称
  24894. type: string
  24895. freezecharge:
  24896. description: 冻结手续费
  24897. type: number
  24898. freezemargin:
  24899. description: 冻结保证金(冻结交易金额)
  24900. type: number
  24901. gcaccountid:
  24902. description: 账户ID[合约币种]
  24903. type: integer
  24904. goodscode:
  24905. description: 商品代码
  24906. type: string
  24907. goodsid:
  24908. description: 商品ID
  24909. type: integer
  24910. goodsname:
  24911. description: 商品名称
  24912. type: string
  24913. goodunitid:
  24914. description: 商品单位id
  24915. type: integer
  24916. histradedate:
  24917. description: 历史交易日
  24918. type: string
  24919. isconfirmexercise:
  24920. description: 是否确认行权- 0:否 1:是
  24921. type: integer
  24922. ispreexercise:
  24923. description: 是否预申报- 0:否 1:是
  24924. type: integer
  24925. isvaliddata:
  24926. description: 是否有效 - 0:无效 1:有效
  24927. type: integer
  24928. listingselecttype:
  24929. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24930. type: integer
  24931. marginalgorithm:
  24932. description: 保证金收取方式 1:比率 2:固定
  24933. type: integer
  24934. marginvalue:
  24935. description: 即市保证金设置值
  24936. type: number
  24937. marketid:
  24938. description: 市场ID
  24939. type: integer
  24940. marketmaxsub:
  24941. description: 市价最大偏移范围
  24942. type: number
  24943. marketname:
  24944. description: 市场名称
  24945. type: string
  24946. memberuserid:
  24947. description: 所属会员UserID
  24948. type: integer
  24949. openexchagechargevalue:
  24950. description: 建仓交易所手续费设置值
  24951. type: number
  24952. openfeealgorithm:
  24953. description: 建仓手续费收取方式 1:比率 2:固定
  24954. type: integer
  24955. openfreezecharge:
  24956. description: 开仓冻结手续费(先建后平操作,需要记录)
  24957. type: number
  24958. openmemberchargevalue:
  24959. description: 建仓会员手续费设置值
  24960. type: number
  24961. openqty:
  24962. description: 开仓数量(先建后平操作,需要记录)
  24963. type: number
  24964. opentradeqty:
  24965. description: 开仓成交数量(先建后平操作,需要记录)
  24966. type: number
  24967. openunfreezecharge:
  24968. description: 开仓解冻手续费(先建后平操作,需要记录)
  24969. type: number
  24970. operatetype:
  24971. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24972. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24973. 15:管理端协议转让
  24974. type: integer
  24975. operatorid:
  24976. description: 登录账号(LoginID)
  24977. type: integer
  24978. optiontype:
  24979. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24980. type: integer
  24981. orderid:
  24982. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24983. type: string
  24984. orderprice:
  24985. description: 委托价格
  24986. type: number
  24987. orderqty:
  24988. description: 委托数量
  24989. type: number
  24990. ordersrc:
  24991. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24992. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24993. type: integer
  24994. orderstatus:
  24995. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24996. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24997. 16:成交失败违约(荷兰式竞拍专用)
  24998. type: integer
  24999. ordertime:
  25000. description: 委托时间
  25001. type: string
  25002. preexerciseprice:
  25003. description: 预申报价格
  25004. type: number
  25005. premium:
  25006. description: 权利金
  25007. type: number
  25008. preorderid:
  25009. description: 关联预埋单号(止盈止损单时填写)
  25010. type: string
  25011. pricemode:
  25012. description: '取价方式 - 1:市价 2: 限价'
  25013. type: integer
  25014. qtydecimalplace:
  25015. description: 成交量小数位
  25016. type: integer
  25017. quoteid:
  25018. description: 报价单ID
  25019. type: integer
  25020. relatedid:
  25021. description: 关联单号(交割单)
  25022. type: string
  25023. retcode:
  25024. description: 错误代码
  25025. type: integer
  25026. sessionid:
  25027. description: 会话ID
  25028. type: integer
  25029. tradedate:
  25030. description: 交易日(yyyyMMdd)
  25031. type: string
  25032. trademode:
  25033. description: 交易模式
  25034. type: integer
  25035. tradeproperty:
  25036. description: 交易属性
  25037. type: integer
  25038. tradeqty:
  25039. description: 成交数量
  25040. type: number
  25041. unfreezecharge:
  25042. description: 解冻手续费
  25043. type: number
  25044. unfreezemargin:
  25045. description: 解冻保证金
  25046. type: number
  25047. updatetime:
  25048. description: 更新时间
  25049. type: string
  25050. uuid:
  25051. description: 发起端唯一id
  25052. type: string
  25053. validtime:
  25054. description: 有效期限
  25055. type: string
  25056. validtype:
  25057. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  25058. type: integer
  25059. volumetype:
  25060. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  25061. type: integer
  25062. required:
  25063. - accountid
  25064. - buildtype
  25065. - buyorsell
  25066. - goodsid
  25067. - histradedate
  25068. - marketid
  25069. - memberuserid
  25070. - operatetype
  25071. - orderid
  25072. - orderqty
  25073. - ordertime
  25074. - pricemode
  25075. - tradedate
  25076. - validtype
  25077. type: object
  25078. order.QueryTradeDetailRsp:
  25079. properties:
  25080. accountid:
  25081. description: 账户ID[报价币种]
  25082. type: integer
  25083. advanceratio:
  25084. description: 首付比率
  25085. type: number
  25086. buildtype:
  25087. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  25088. type: integer
  25089. buyorsell:
  25090. description: 方向 - 0:买 1:卖
  25091. type: integer
  25092. charge:
  25093. description: 手续费
  25094. type: number
  25095. closecharge:
  25096. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  25097. type: number
  25098. closeexchagechargevalue:
  25099. description: 平仓交易所手续费设置值
  25100. type: number
  25101. closefeealgorithm:
  25102. description: 平仓手续费收取方式 1:比率 2:固定
  25103. type: integer
  25104. closememberchargevalue:
  25105. description: 平仓会员手续费设置值
  25106. type: number
  25107. closepl:
  25108. description: 平仓盈亏
  25109. type: number
  25110. closepl2:
  25111. description: 平仓盈亏[逐笔]
  25112. type: number
  25113. closeqty:
  25114. description: 平仓数量(先建后平操作 需要记录)
  25115. type: number
  25116. creditamount:
  25117. description: 授信金额
  25118. type: number
  25119. decimalplace:
  25120. description: 商品报价小数位
  25121. type: integer
  25122. enumdicname:
  25123. description: 单位名称
  25124. type: string
  25125. gcaccountid:
  25126. description: 账户ID[合约币种]
  25127. type: integer
  25128. goodscode:
  25129. description: 商品代码
  25130. type: string
  25131. goodsid:
  25132. description: 商品ID
  25133. type: integer
  25134. goodsname:
  25135. description: 商品名称
  25136. type: string
  25137. goodunitid:
  25138. description: 商品单位id
  25139. type: integer
  25140. intclosepl:
  25141. description: 整型盈亏(用于交易结算试算平衡-收益权)
  25142. type: integer
  25143. isconfirmexercise:
  25144. description: 是否确认行权- 0:否 1:是
  25145. type: integer
  25146. ismain:
  25147. description: 是否主单 - 0:不是 1:是
  25148. type: integer
  25149. ispreexercise:
  25150. description: 是否预申报- 0:否 1:是
  25151. type: integer
  25152. isreckoned:
  25153. description: 是否结算 - 0:未结算 1:已结算
  25154. type: integer
  25155. listingselecttype:
  25156. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  25157. type: integer
  25158. marketid:
  25159. description: 市场ID
  25160. type: integer
  25161. marketname:
  25162. description: 市场名称
  25163. type: string
  25164. matchaccountid:
  25165. description: 对手账号id
  25166. type: integer
  25167. memberuserid:
  25168. description: 会员id 个人投资者 需要填写
  25169. type: integer
  25170. opencharge:
  25171. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  25172. type: number
  25173. openexchagechargevalue:
  25174. description: 建仓交易所手续费设置值
  25175. type: number
  25176. openfeealgorithm:
  25177. description: 建仓手续费收取方式 1:比率 2:固定
  25178. type: integer
  25179. openmemberchargevalue:
  25180. description: 建仓会员手续费设置值
  25181. type: number
  25182. openqty:
  25183. description: 开仓数量(先建后平操作 需要记录)
  25184. type: number
  25185. optiontype:
  25186. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  25187. type: integer
  25188. orderid:
  25189. description: 委托单号
  25190. type: string
  25191. payamount:
  25192. description: 支付金额(付款金额)
  25193. type: number
  25194. performanceplanid:
  25195. description: 履约计划ID[期权]
  25196. type: integer
  25197. performancestatus:
  25198. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  25199. type: integer
  25200. preexerciseprice:
  25201. description: 预申报价格
  25202. type: number
  25203. premium:
  25204. description: 权利金 - [持仓单的权利金]
  25205. type: number
  25206. qtydecimalplace:
  25207. description: 商品报价小数位
  25208. type: integer
  25209. recvamount:
  25210. description: 到账金额 = 成交金额 - 手续费
  25211. type: number
  25212. relatedouttradeid:
  25213. description: 关联外部成交单ID
  25214. type: integer
  25215. status:
  25216. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  25217. type: integer
  25218. totalamount:
  25219. description: 订单总额 = 成交金额 + 手续费
  25220. type: number
  25221. tradeamount:
  25222. description: 成交金额[账户币种,用于所有权]
  25223. type: number
  25224. tradedate:
  25225. description: 交易日(yyyyMMdd)
  25226. type: string
  25227. tradeid:
  25228. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  25229. type: string
  25230. trademode:
  25231. description: 交易模式
  25232. type: integer
  25233. tradeprice:
  25234. description: 成交价格
  25235. type: number
  25236. tradeproperty:
  25237. description: 交易属性
  25238. type: integer
  25239. tradeqty:
  25240. description: 成交数量
  25241. type: number
  25242. tradetime:
  25243. description: 成交时间
  25244. type: string
  25245. tradetype:
  25246. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  25247. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  25248. type: integer
  25249. required:
  25250. - accountid
  25251. - buyorsell
  25252. - goodsid
  25253. - marketid
  25254. - memberuserid
  25255. - orderid
  25256. - tradeamount
  25257. - tradedate
  25258. - tradeid
  25259. - tradeprice
  25260. - tradeqty
  25261. - tradetime
  25262. type: object
  25263. order.QueryTradeOrderDetailRsp:
  25264. properties:
  25265. accountid:
  25266. description: 账户ID[报价币种]
  25267. type: integer
  25268. buildtype:
  25269. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  25270. type: integer
  25271. buyorsell:
  25272. description: 买卖 - 0:买 1:卖
  25273. type: integer
  25274. cancelorderid:
  25275. description: 撤单单号(撤单时填写)
  25276. type: string
  25277. cancelqty:
  25278. description: 撤单数量
  25279. type: number
  25280. clienttype:
  25281. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  25282. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  25283. type: integer
  25284. closefreezecharge:
  25285. description: 平仓冻结手续费(先建后平操作,需要记录)
  25286. type: number
  25287. closeqty:
  25288. description: 平仓数量(先建后平操作 需要记录)
  25289. type: number
  25290. closetradeqty:
  25291. description: 平仓成交数量(先建后平操作,需要记录)
  25292. type: number
  25293. closeunfreezecharge:
  25294. description: 平仓解冻手续费(先建后平操作,需要记录)
  25295. type: number
  25296. decimalplace:
  25297. description: 商品报价小数位
  25298. type: integer
  25299. delistingtype:
  25300. description: 摘牌类型 - 1:价格最优 2:点选成交
  25301. type: integer
  25302. enableqty:
  25303. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  25304. type: number
  25305. enumdicname:
  25306. description: 单位名称
  25307. type: string
  25308. freezecharge:
  25309. description: 冻结手续费
  25310. type: number
  25311. freezemargin:
  25312. description: 冻结保证金(冻结交易金额)
  25313. type: number
  25314. goodscode:
  25315. description: 商品代码
  25316. type: string
  25317. goodsid:
  25318. description: 商品ID
  25319. type: integer
  25320. goodsname:
  25321. description: 商品名称
  25322. type: string
  25323. goodunitid:
  25324. description: 商品单位id
  25325. type: integer
  25326. listingselecttype:
  25327. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  25328. type: integer
  25329. marketid:
  25330. description: 市场ID
  25331. type: integer
  25332. marketname:
  25333. description: 市场名称
  25334. type: string
  25335. openfreezecharge:
  25336. description: 开仓冻结手续费(先建后平操作,需要记录)
  25337. type: number
  25338. openqty:
  25339. description: 开仓数量(先建后平操作,需要记录)
  25340. type: number
  25341. opentradeqty:
  25342. description: 开仓成交数量(先建后平操作,需要记录)
  25343. type: number
  25344. openunfreezecharge:
  25345. description: 开仓解冻手续费(先建后平操作,需要记录)
  25346. type: number
  25347. operatetype:
  25348. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  25349. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  25350. 15:管理端协议转让
  25351. type: integer
  25352. operatorid:
  25353. description: 登录账号(LoginID)
  25354. type: integer
  25355. orderid:
  25356. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  25357. type: string
  25358. orderprice:
  25359. description: 委托价格
  25360. type: number
  25361. orderqty:
  25362. description: 委托数量
  25363. type: number
  25364. ordersrc:
  25365. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  25366. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  25367. type: integer
  25368. orderstatus:
  25369. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  25370. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  25371. 16:成交失败违约(荷兰式竞拍专用)
  25372. type: integer
  25373. ordertime:
  25374. description: 委托时间
  25375. type: string
  25376. preorderid:
  25377. description: 关联预埋单号(止盈止损单时填写)
  25378. type: string
  25379. pricemode:
  25380. description: '取价方式 - 1:市价 2: 限价'
  25381. type: integer
  25382. qtydecimalplace:
  25383. description: 商品报价小数位
  25384. type: integer
  25385. relatedid:
  25386. description: 关联单号(交割单)
  25387. type: string
  25388. tradedate:
  25389. description: 交易日(yyyyMMdd)
  25390. type: string
  25391. trademode:
  25392. description: 交易模式
  25393. type: integer
  25394. tradeqty:
  25395. description: 成交数量
  25396. type: number
  25397. unfreezecharge:
  25398. description: 解冻手续费
  25399. type: number
  25400. unfreezemargin:
  25401. description: 解冻保证金
  25402. type: number
  25403. validtime:
  25404. description: 有效期限
  25405. type: string
  25406. validtype:
  25407. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  25408. type: integer
  25409. volumetype:
  25410. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  25411. type: integer
  25412. required:
  25413. - accountid
  25414. - buildtype
  25415. - buyorsell
  25416. - goodsid
  25417. - marketid
  25418. - operatetype
  25419. - orderqty
  25420. - ordertime
  25421. - pricemode
  25422. - tradedate
  25423. - validtype
  25424. type: object
  25425. order.QueryTradePositionRsp:
  25426. properties:
  25427. accountid:
  25428. description: 资金账户
  25429. type: integer
  25430. agreeunit:
  25431. description: 合约单位
  25432. type: number
  25433. averageprice:
  25434. description: 持仓均价
  25435. type: number
  25436. buyorsell:
  25437. description: 方向 - 0:买 1:卖
  25438. type: integer
  25439. closetotalqty:
  25440. description: 平仓总数量
  25441. type: number
  25442. curholderamount:
  25443. description: 当前持仓总金额[商品币种]
  25444. type: number
  25445. curpositionqty:
  25446. description: 当前持仓总数量
  25447. type: number
  25448. currencyid:
  25449. description: 报价货币ID
  25450. type: integer
  25451. curtdposition:
  25452. description: 期末今日头寸
  25453. type: number
  25454. decimalplace:
  25455. description: 报价小数位
  25456. type: integer
  25457. enableqty:
  25458. description: 可用量
  25459. type: number
  25460. fretdposition:
  25461. description: 冻结今日头寸
  25462. type: number
  25463. frozenqty:
  25464. description: 持仓冻结数量
  25465. type: number
  25466. goodscode:
  25467. description: 商品代码
  25468. type: string
  25469. goodsid:
  25470. description: 商品Id
  25471. type: integer
  25472. goodsname:
  25473. description: 商品名称
  25474. type: string
  25475. goodunit:
  25476. description: 报价单位
  25477. type: string
  25478. goodunitid:
  25479. description: 报价单位ID
  25480. type: integer
  25481. holderamount:
  25482. description: 期初持仓总金额[商品币种]
  25483. type: number
  25484. lastprice:
  25485. description: 最新价
  25486. type: number
  25487. marketamount:
  25488. description: 市值
  25489. type: number
  25490. marketid:
  25491. description: 所属市场ID
  25492. type: integer
  25493. openreqqty:
  25494. description: 开仓申请数量(用于比较最大持仓数量)
  25495. type: number
  25496. opentotalqty:
  25497. description: 开仓总数量
  25498. type: number
  25499. otherfrozenqty:
  25500. description: 持仓其他冻结数量(交割冻结)
  25501. type: number
  25502. positionpl:
  25503. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  25504. * 合约单位
  25505. type: number
  25506. positionplrate:
  25507. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  25508. type: number
  25509. positionqty:
  25510. description: 期初持仓数量
  25511. type: number
  25512. qtydecimalplace:
  25513. description: 成交量小数位
  25514. type: integer
  25515. refgoodscode:
  25516. description: 参考商品代码
  25517. type: string
  25518. refgoodsid:
  25519. description: 参考商品ID
  25520. type: integer
  25521. tnqty:
  25522. description: T+N冻结总量
  25523. type: number
  25524. tnusedqty:
  25525. description: T+N使用量(可以使用T+N的冻结数量)
  25526. type: number
  25527. trademode:
  25528. description: 交易模式
  25529. type: integer
  25530. tradeproperty:
  25531. description: 交易属性
  25532. type: integer
  25533. usedmargin:
  25534. description: 占用保证金[商品币种]
  25535. type: number
  25536. required:
  25537. - goodsid
  25538. type: object
  25539. pb.GoodsMarginCfgStruct:
  25540. properties:
  25541. CustomerTypeID:
  25542. description: 投资者客户类型
  25543. type: integer
  25544. GoodsID:
  25545. description: 商品ID
  25546. type: integer
  25547. IsDefault:
  25548. description: 是否默认标志位
  25549. type: integer
  25550. LockMarginValue:
  25551. description: 锁仓保证金
  25552. type: number
  25553. MarginAlgorithm:
  25554. description: 保证金计算方式
  25555. type: integer
  25556. MarketMarginValue:
  25557. description: 即市保证金值
  25558. type: number
  25559. RealMarginAlgorithm:
  25560. description: 实付保证金计算方式
  25561. type: integer
  25562. RealMarginValue:
  25563. description: 实付比例
  25564. type: number
  25565. ReckonMarginValue:
  25566. description: 结算保证金值
  25567. type: number
  25568. type: object
  25569. quote.HistoryData:
  25570. properties:
  25571. c:
  25572. description: 收盘价
  25573. type: number
  25574. f:
  25575. description: 是否补充数据
  25576. type: boolean
  25577. h:
  25578. description: 最高价
  25579. type: number
  25580. hv:
  25581. description: 持仓量
  25582. type: integer
  25583. l:
  25584. description: 最低价
  25585. type: number
  25586. o:
  25587. description: 开盘价
  25588. type: number
  25589. s:
  25590. description: 结算价,日线周期(包括)以上才有
  25591. type: number
  25592. ts:
  25593. description: 时间
  25594. type: string
  25595. tt:
  25596. description: 总金额
  25597. type: number
  25598. tv:
  25599. description: 总量(成交量)
  25600. type: integer
  25601. type: object
  25602. quote.HistoryTikData:
  25603. properties:
  25604. AV:
  25605. description: 卖量
  25606. type: integer
  25607. Ask:
  25608. description: 卖价
  25609. type: number
  25610. BV:
  25611. description: 买量
  25612. type: integer
  25613. Bid:
  25614. description: 买价
  25615. type: number
  25616. HI:
  25617. description: 单笔持仓
  25618. type: integer
  25619. HV:
  25620. description: 持仓量
  25621. type: integer
  25622. PE:
  25623. description: 现价
  25624. type: number
  25625. TDR:
  25626. description: 交易方向,0:买 1:卖
  25627. type: integer
  25628. TK:
  25629. description: 交易类型
  25630. type: integer
  25631. TS:
  25632. description: 行情时间文本
  25633. type: string
  25634. TT:
  25635. description: 现金额
  25636. type: number
  25637. Vol:
  25638. description: 现量
  25639. type: integer
  25640. type: object
  25641. quote.QueryQuoteDayRsp:
  25642. properties:
  25643. ask:
  25644. description: 卖1
  25645. type: number
  25646. ask2:
  25647. description: 卖2
  25648. type: number
  25649. ask3:
  25650. description: 卖3
  25651. type: number
  25652. ask4:
  25653. description: 卖4
  25654. type: number
  25655. ask5:
  25656. description: 卖5
  25657. type: number
  25658. ask6:
  25659. description: 卖6
  25660. type: number
  25661. ask7:
  25662. description: 卖7
  25663. type: number
  25664. ask8:
  25665. description: 卖8
  25666. type: number
  25667. ask9:
  25668. description: 卖9
  25669. type: number
  25670. ask10:
  25671. description: 卖10
  25672. type: number
  25673. askorderid:
  25674. description: 卖单号1
  25675. type: integer
  25676. askorderid2:
  25677. description: 卖单号2
  25678. type: integer
  25679. askorderid3:
  25680. description: 卖单号3
  25681. type: integer
  25682. askorderid4:
  25683. description: 卖单号4
  25684. type: integer
  25685. askorderid5:
  25686. description: 卖单号5
  25687. type: integer
  25688. askordervolume:
  25689. description: 卖单量1
  25690. type: integer
  25691. askordervolume2:
  25692. description: 卖单量2
  25693. type: integer
  25694. askordervolume3:
  25695. description: 卖单量3
  25696. type: integer
  25697. askordervolume4:
  25698. description: 卖单量4
  25699. type: integer
  25700. askordervolume5:
  25701. description: 卖单量5
  25702. type: integer
  25703. askordervolume6:
  25704. description: 卖单量6
  25705. type: integer
  25706. askordervolume7:
  25707. description: 卖单量7
  25708. type: integer
  25709. askordervolume8:
  25710. description: 卖单量8
  25711. type: integer
  25712. askordervolume9:
  25713. description: 卖单量9
  25714. type: integer
  25715. askordervolume10:
  25716. description: 卖单量10
  25717. type: integer
  25718. askqueueinfo:
  25719. description: 大利市卖港股用
  25720. type: string
  25721. askvolume:
  25722. description: 卖量1
  25723. type: integer
  25724. askvolume2:
  25725. description: 卖量2
  25726. type: integer
  25727. askvolume3:
  25728. description: 卖量3
  25729. type: integer
  25730. askvolume4:
  25731. description: 卖量4
  25732. type: integer
  25733. askvolume5:
  25734. description: 卖量5
  25735. type: integer
  25736. askvolume6:
  25737. description: 卖量6
  25738. type: integer
  25739. askvolume7:
  25740. description: 卖量7
  25741. type: integer
  25742. askvolume8:
  25743. description: 卖量8
  25744. type: integer
  25745. askvolume9:
  25746. description: 卖量9
  25747. type: integer
  25748. askvolume10:
  25749. description: 卖量10
  25750. type: integer
  25751. averageprice:
  25752. description: 均价
  25753. type: number
  25754. bid:
  25755. description: 买1
  25756. type: number
  25757. bid2:
  25758. description: 买2
  25759. type: number
  25760. bid3:
  25761. description: 买3
  25762. type: number
  25763. bid4:
  25764. description: 买4
  25765. type: number
  25766. bid5:
  25767. description: 买5
  25768. type: number
  25769. bid6:
  25770. description: 买6
  25771. type: number
  25772. bid7:
  25773. description: 买7
  25774. type: number
  25775. bid8:
  25776. description: 买8
  25777. type: number
  25778. bid9:
  25779. description: 买9
  25780. type: number
  25781. bid10:
  25782. description: 买10
  25783. type: number
  25784. bidorderid:
  25785. description: 买单号1
  25786. type: integer
  25787. bidorderid2:
  25788. description: 买单号2
  25789. type: integer
  25790. bidorderid3:
  25791. description: 买单号3
  25792. type: integer
  25793. bidorderid4:
  25794. description: 买单号4
  25795. type: integer
  25796. bidorderid5:
  25797. description: 买单号5
  25798. type: integer
  25799. bidordervolume:
  25800. description: 买单量1
  25801. type: integer
  25802. bidordervolume2:
  25803. description: 买单量2
  25804. type: integer
  25805. bidordervolume3:
  25806. description: 买单量3
  25807. type: integer
  25808. bidordervolume4:
  25809. description: 买单量4
  25810. type: integer
  25811. bidordervolume5:
  25812. description: 买单量5
  25813. type: integer
  25814. bidordervolume6:
  25815. description: 买单量6
  25816. type: integer
  25817. bidordervolume7:
  25818. description: 买单量7
  25819. type: integer
  25820. bidordervolume8:
  25821. description: 买单量8
  25822. type: integer
  25823. bidordervolume9:
  25824. description: 买单量9
  25825. type: integer
  25826. bidordervolume10:
  25827. description: 买单量10
  25828. type: integer
  25829. bidqueueinfo:
  25830. description: 大利市买港股用
  25831. type: string
  25832. bidvolume:
  25833. description: 买量1
  25834. type: integer
  25835. bidvolume2:
  25836. description: 买量2
  25837. type: integer
  25838. bidvolume3:
  25839. description: 买量3
  25840. type: integer
  25841. bidvolume4:
  25842. description: 买量4
  25843. type: integer
  25844. bidvolume5:
  25845. description: 买量5
  25846. type: integer
  25847. bidvolume6:
  25848. description: 买量6
  25849. type: integer
  25850. bidvolume7:
  25851. description: 买量7
  25852. type: integer
  25853. bidvolume8:
  25854. description: 买量8
  25855. type: integer
  25856. bidvolume9:
  25857. description: 买量9
  25858. type: integer
  25859. bidvolume10:
  25860. description: 买量10
  25861. type: integer
  25862. calloptionpremiums:
  25863. description: 认购期权1
  25864. type: integer
  25865. calloptionpremiums2:
  25866. description: 认购期权2
  25867. type: integer
  25868. calloptionpremiums3:
  25869. description: 认购期权3
  25870. type: integer
  25871. calloptionpremiums4:
  25872. description: 认购期权4
  25873. type: integer
  25874. calloptionpremiums5:
  25875. description: 认购期权5
  25876. type: integer
  25877. cleartime:
  25878. description: 清盘时间
  25879. type: integer
  25880. exchangecode:
  25881. description: 交易所代码
  25882. type: integer
  25883. exchangedate:
  25884. description: 交易日
  25885. type: integer
  25886. goodscode:
  25887. description: 商品代码
  25888. type: string
  25889. grepmarketprice:
  25890. description: 暗盘价 港股专用
  25891. type: number
  25892. highest:
  25893. description: 最高价
  25894. type: number
  25895. holdincrement:
  25896. description: 单笔持仓
  25897. type: integer
  25898. holdvolume:
  25899. description: 持仓
  25900. type: integer
  25901. iep:
  25902. description: 平衡价 港股专用
  25903. type: number
  25904. iev:
  25905. description: 平衡量 港股专用
  25906. type: number
  25907. inventory:
  25908. description: 库存
  25909. type: integer
  25910. iscleared:
  25911. description: 是否清盘标志
  25912. type: integer
  25913. issettled:
  25914. description: 是否结算标志
  25915. type: integer
  25916. last:
  25917. description: 最新价
  25918. type: number
  25919. lastlot:
  25920. description: 最新成交手数
  25921. type: integer
  25922. lasttime:
  25923. description: 行情时间(只有现价变化行情时间才变化)
  25924. type: string
  25925. lastturnover:
  25926. description: 最新成交金额
  25927. type: number
  25928. lastvolume:
  25929. description: 最新成交量
  25930. type: integer
  25931. limitdown:
  25932. description: 跌停价
  25933. type: number
  25934. limitup:
  25935. description: 涨停价
  25936. type: number
  25937. lowest:
  25938. description: 最低价
  25939. type: number
  25940. nontotalholdervolume:
  25941. description: 非交易持仓量
  25942. type: integer
  25943. nontotallot:
  25944. description: 非交易总手数
  25945. type: integer
  25946. nontotalturnover:
  25947. description: 非交易总金额
  25948. type: integer
  25949. nontotalvolume:
  25950. description: 非交易总量
  25951. type: integer
  25952. opened:
  25953. description: 开盘价
  25954. type: number
  25955. opentime:
  25956. description: 开盘时间
  25957. type: string
  25958. orderid:
  25959. description: 序号
  25960. type: integer
  25961. preclose:
  25962. description: 昨收
  25963. type: number
  25964. preholdvolume:
  25965. description: 昨持仓
  25966. type: integer
  25967. presettle:
  25968. description: 昨结价
  25969. type: number
  25970. publictradetype:
  25971. description: 公共交易标志类型 港股专用
  25972. type: string
  25973. putoptionpremiums:
  25974. description: 认沽期权1
  25975. type: integer
  25976. putoptionpremiums2:
  25977. description: 认沽期权2
  25978. type: integer
  25979. putoptionpremiums3:
  25980. description: 认沽期权3
  25981. type: integer
  25982. putoptionpremiums4:
  25983. description: 认沽期权4
  25984. type: integer
  25985. putoptionpremiums5:
  25986. description: 认沽期权5
  25987. type: integer
  25988. settle:
  25989. description: 结算价
  25990. type: number
  25991. strikeprice:
  25992. description: 发行价
  25993. type: number
  25994. totalaskvolume:
  25995. description: 内盘
  25996. type: integer
  25997. totalbidvolume:
  25998. description: 外盘
  25999. type: integer
  26000. totallot:
  26001. description: 总手数
  26002. type: integer
  26003. totalturnover:
  26004. description: 总金额
  26005. type: number
  26006. totalvolume:
  26007. description: 总量
  26008. type: integer
  26009. utclasttime:
  26010. description: utc的行情时间
  26011. type: string
  26012. type: object
  26013. quote.QueryTSDataRsp:
  26014. properties:
  26015. Count:
  26016. description: 交易日应有数据个数
  26017. type: integer
  26018. decimalPlace:
  26019. description: 小数位
  26020. type: integer
  26021. endTime:
  26022. description: 结束时间
  26023. type: string
  26024. goodsCode:
  26025. description: 商品代码
  26026. type: string
  26027. historyDatas:
  26028. description: 历史数据
  26029. items:
  26030. $ref: '#/definitions/quote.HistoryData'
  26031. type: array
  26032. outGoodsCode:
  26033. description: 外部商品代码
  26034. type: string
  26035. preSettle:
  26036. description: 昨结价
  26037. type: number
  26038. runSteps:
  26039. description: 交易日开休市计划
  26040. items:
  26041. $ref: '#/definitions/quote.TSDataRunStep'
  26042. type: array
  26043. startTime:
  26044. description: 开始时间
  26045. type: string
  26046. tradeDate:
  26047. description: 交易日
  26048. type: string
  26049. type: object
  26050. quote.TSDataRunStep:
  26051. properties:
  26052. end:
  26053. description: 真实结束时间
  26054. type: string
  26055. endflag:
  26056. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  26057. type: integer
  26058. endtime:
  26059. description: 结束时间(HH:mm)
  26060. type: string
  26061. endweekday:
  26062. description: 结束周几
  26063. type: integer
  26064. groupid:
  26065. description: 分组ID
  26066. type: integer
  26067. runstep:
  26068. description: 运行阶段 - 2:连续交易
  26069. type: integer
  26070. sectionid:
  26071. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  26072. 结束时间=结算时间 结束周几=结算周几
  26073. type: integer
  26074. start:
  26075. description: 真实开始时间
  26076. type: string
  26077. startflag:
  26078. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  26079. type: integer
  26080. starttime:
  26081. description: 起始时间(HH:mm)
  26082. type: string
  26083. startweekday:
  26084. description: 起始周几
  26085. type: integer
  26086. tradeweekday:
  26087. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  26088. type: integer
  26089. type: object
  26090. szdz.QueryConvertLogRsp:
  26091. properties:
  26092. accountid:
  26093. description: 资金账户ID
  26094. type: integer
  26095. clientticket:
  26096. description: 客户端流水号
  26097. type: string
  26098. converttype:
  26099. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  26100. type: integer
  26101. createtime:
  26102. description: 记账时间
  26103. type: string
  26104. daymaxvalue:
  26105. description: 配置当日最大转入限制
  26106. type: number
  26107. daymaxvalue2:
  26108. description: 配置当日最大转入限制(转入)
  26109. type: number
  26110. goodscode:
  26111. description: 商品代码
  26112. type: string
  26113. goodsname:
  26114. description: 商品名称
  26115. type: string
  26116. handlestatus:
  26117. description: 处理状态
  26118. type: integer
  26119. innergoodsid:
  26120. description: 内部商品ID
  26121. type: integer
  26122. inratio:
  26123. description: 配置转入比值
  26124. type: integer
  26125. invalue:
  26126. description: 目标值
  26127. type: number
  26128. logid:
  26129. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  26130. type: integer
  26131. mobile:
  26132. description: 手机号码(加密存储)
  26133. type: string
  26134. outergoodscode:
  26135. description: 外部商品代码[JD\PD]
  26136. type: string
  26137. outratio:
  26138. description: 配置转出比值
  26139. type: integer
  26140. outvalue:
  26141. description: 源值
  26142. type: number
  26143. pddecimalplace:
  26144. description: PD小数位
  26145. type: integer
  26146. qty:
  26147. description: 数量
  26148. type: string
  26149. remark:
  26150. description: 备注
  26151. type: string
  26152. sessionid:
  26153. description: 会话ID
  26154. type: integer
  26155. timemaxvalue:
  26156. description: 配置单次最大转入限制
  26157. type: number
  26158. timemaxvalue2:
  26159. description: 配置单次最大转入限制(转入)
  26160. type: number
  26161. timeminvalue:
  26162. description: 配置单次最小数量限制
  26163. type: number
  26164. timeminvalue2:
  26165. description: 配置单次最小数量限制(转入)
  26166. type: number
  26167. tradedate:
  26168. description: 交易日(yyyyMMdd)
  26169. type: string
  26170. userid:
  26171. description: 用户ID
  26172. type: integer
  26173. required:
  26174. - logid
  26175. type: object
  26176. szdz.QueryGoodsPickupRsp:
  26177. properties:
  26178. accountid:
  26179. description: 账户ID
  26180. type: integer
  26181. address:
  26182. description: 提货人详细地址
  26183. type: string
  26184. auditer:
  26185. description: 审核人
  26186. type: integer
  26187. audittime:
  26188. description: 审核时间
  26189. type: string
  26190. cardnum:
  26191. description: 提货人证件号码
  26192. type: string
  26193. cardtypeid:
  26194. description: 提货人证件类型
  26195. type: integer
  26196. checkremark:
  26197. description: 审核备注
  26198. type: string
  26199. goodscode:
  26200. description: 商品代码
  26201. type: string
  26202. goodsid:
  26203. description: 商品ID
  26204. type: integer
  26205. goodsname:
  26206. description: 商品名称
  26207. type: string
  26208. handlestatus:
  26209. description: 处理状态
  26210. type: integer
  26211. marketid:
  26212. description: 市场ID
  26213. type: integer
  26214. phonenum:
  26215. description: 提货人联系方式
  26216. type: string
  26217. qty:
  26218. description: 提货数量
  26219. type: number
  26220. recivername:
  26221. description: 提货人姓名
  26222. type: string
  26223. reqtime:
  26224. description: 更新时间
  26225. type: string
  26226. takemode:
  26227. description: 提货方式 - 2:自提 3:配送
  26228. type: integer
  26229. takeorderid:
  26230. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  26231. type: string
  26232. takeorderstatus:
  26233. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26234. type: integer
  26235. takeremark:
  26236. description: 提货备注
  26237. type: string
  26238. tradedate:
  26239. description: 交易日(yyyyMMdd)
  26240. type: string
  26241. userid:
  26242. description: 用户ID
  26243. type: integer
  26244. required:
  26245. - takeorderid
  26246. type: object
  26247. szdz.QueryRecieptOrderRsp:
  26248. properties:
  26249. accountName:
  26250. description: 所属账号名称(已脱敏)
  26251. type: string
  26252. accountid:
  26253. description: 资金账号
  26254. type: integer
  26255. buyorsell:
  26256. description: 方向 - 0:买 1:卖
  26257. type: integer
  26258. enableqty:
  26259. description: 可摘数量
  26260. type: integer
  26261. goodscode:
  26262. description: 商品代码
  26263. type: string
  26264. goodsid:
  26265. description: 商品ID
  26266. type: integer
  26267. goodsname:
  26268. description: 商品名称
  26269. type: string
  26270. orderid:
  26271. description: 委托单号
  26272. type: string
  26273. orderprice:
  26274. description: 委托价格
  26275. type: number
  26276. ordertime:
  26277. description: 委托时间
  26278. type: string
  26279. tradedate:
  26280. description: 交易日(yyyyMMdd)
  26281. type: string
  26282. required:
  26283. - ordertime
  26284. type: object
  26285. szdz.QuerySZDZTradePositionRsp:
  26286. properties:
  26287. accountid:
  26288. description: 账号Id
  26289. type: integer
  26290. agreeunit:
  26291. description: 合约单位
  26292. type: number
  26293. averageprice:
  26294. description: 持仓均价
  26295. type: number
  26296. buyorsell:
  26297. description: 方向 - 0:买 1:卖
  26298. type: integer
  26299. closetotalqty:
  26300. description: 平仓总数量
  26301. type: integer
  26302. curholderamount:
  26303. description: 当前持仓总金额
  26304. type: number
  26305. curpositionqty:
  26306. description: 当前持仓总数量
  26307. type: integer
  26308. currencyid:
  26309. description: 报价货币ID
  26310. type: integer
  26311. curtdposition:
  26312. description: 期末今日头寸
  26313. type: integer
  26314. decimalplace:
  26315. description: 报价小数位
  26316. type: integer
  26317. enableqty:
  26318. description: 可用量
  26319. type: integer
  26320. fretdposition:
  26321. description: 冻结今日头寸
  26322. type: integer
  26323. frozenqty:
  26324. description: 持仓冻结数量
  26325. type: integer
  26326. goodscode:
  26327. description: 商品代码(内部)
  26328. type: string
  26329. goodsid:
  26330. description: 商品Id
  26331. type: integer
  26332. goodsname:
  26333. description: 商品名称
  26334. type: string
  26335. goodunit:
  26336. description: 报价单位
  26337. type: string
  26338. goodunitid:
  26339. description: 报价单位ID
  26340. type: integer
  26341. holderamount:
  26342. description: 期初持仓总金额
  26343. type: number
  26344. marketid:
  26345. description: 市场ID
  26346. type: integer
  26347. openreqqty:
  26348. description: 开仓申请数量
  26349. type: integer
  26350. opentotalqty:
  26351. description: 开仓总数量
  26352. type: integer
  26353. otherfrozenqty:
  26354. description: 持仓其他冻结数量(交割冻结)
  26355. type: integer
  26356. positionqty:
  26357. description: 期初持仓数量
  26358. type: integer
  26359. szdz3freezqty:
  26360. description: 尚志大宗转换冻结总数量
  26361. type: integer
  26362. tnqty:
  26363. description: T+N冻结总量
  26364. type: integer
  26365. tnusedqty:
  26366. description: T+N使用量
  26367. type: integer
  26368. trademode:
  26369. description: 交易模式
  26370. type: integer
  26371. usedmargin:
  26372. description: 占用保证金
  26373. type: number
  26374. type: object
  26375. taaccount.QueryAmountLogRsp:
  26376. properties:
  26377. accountid:
  26378. description: 资金账户ID
  26379. type: integer
  26380. agoodscode:
  26381. description: 竞拍商品代码
  26382. type: string
  26383. agoodsname:
  26384. description: 竞拍商品名称
  26385. type: string
  26386. amount:
  26387. description: 资金金额
  26388. type: number
  26389. amountadjusttype:
  26390. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  26391. type: integer
  26392. autoid:
  26393. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  26394. type: integer
  26395. balance:
  26396. description: 期初余额
  26397. type: number
  26398. businesscode:
  26399. description: 业务编号
  26400. type: integer
  26401. createtime:
  26402. description: 发生时间
  26403. type: string
  26404. currencyid:
  26405. description: 币种ID
  26406. type: integer
  26407. currentbalance:
  26408. description: 期末余额(变动后金额)
  26409. type: number
  26410. dgoodscode:
  26411. description: 交割商品代码
  26412. type: string
  26413. dgoodsname:
  26414. description: 交割商品名称
  26415. type: string
  26416. goodscode:
  26417. description: 商品代码
  26418. type: string
  26419. goodsid:
  26420. description: 商品ID
  26421. type: integer
  26422. goodsname:
  26423. description: 商品名称
  26424. type: string
  26425. marketid:
  26426. description: 市场ID
  26427. type: integer
  26428. marketname:
  26429. description: 市场名称
  26430. type: string
  26431. moneyticket:
  26432. description: 资金流水号:银行端流水号
  26433. type: integer
  26434. operatetype:
  26435. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  26436. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  26437. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  26438. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  26439. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  26440. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  26441. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  26442. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  26443. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  26444. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  26445. type: integer
  26446. relationorderid:
  26447. description: 关联单号
  26448. type: string
  26449. remark:
  26450. description: 备注
  26451. type: string
  26452. trademode:
  26453. description: 交易模式
  26454. type: integer
  26455. required:
  26456. - accountid
  26457. - amount
  26458. - amountadjusttype
  26459. - autoid
  26460. - balance
  26461. - createtime
  26462. - currentbalance
  26463. - operatetype
  26464. type: object
  26465. taaccount.QueryHisAmountLogRsp:
  26466. properties:
  26467. accountid:
  26468. description: 资金账户ID
  26469. type: integer
  26470. agoodscode:
  26471. description: 竞拍商品代码
  26472. type: string
  26473. agoodsname:
  26474. description: 竞拍商品名称
  26475. type: string
  26476. amount:
  26477. description: 资金金额
  26478. type: number
  26479. amountadjusttype:
  26480. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  26481. type: integer
  26482. autoid:
  26483. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  26484. type: integer
  26485. balance:
  26486. description: 期初余额
  26487. type: number
  26488. businesscode:
  26489. description: 业务编号
  26490. type: integer
  26491. createtime:
  26492. description: 发生时间
  26493. type: string
  26494. currencyid:
  26495. description: 币种ID
  26496. type: integer
  26497. currentbalance:
  26498. description: 期末余额(变动后金额)
  26499. type: number
  26500. dgoodscode:
  26501. description: 交割商品代码
  26502. type: string
  26503. dgoodsname:
  26504. description: 交割商品名称
  26505. type: string
  26506. goodscode:
  26507. description: 商品代码
  26508. type: string
  26509. goodsid:
  26510. description: 商品ID
  26511. type: integer
  26512. goodsname:
  26513. description: 商品名称
  26514. type: string
  26515. histradedate:
  26516. description: 历史交易日
  26517. type: string
  26518. isvaliddata:
  26519. description: 是否有效 - 0:无效 1:有效
  26520. type: integer
  26521. marketid:
  26522. description: 市场ID
  26523. type: integer
  26524. marketname:
  26525. description: 市场名称
  26526. type: string
  26527. moneyticket:
  26528. description: 资金流水号:银行端流水号
  26529. type: integer
  26530. operatetype:
  26531. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  26532. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  26533. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  26534. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  26535. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  26536. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  26537. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  26538. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  26539. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  26540. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  26541. type: integer
  26542. relationorderid:
  26543. description: 关联单号
  26544. type: string
  26545. remark:
  26546. description: 备注
  26547. type: string
  26548. trademode:
  26549. description: 交易模式
  26550. type: integer
  26551. required:
  26552. - accountid
  26553. - amount
  26554. - amountadjusttype
  26555. - autoid
  26556. - balance
  26557. - createtime
  26558. - currentbalance
  26559. - histradedate
  26560. - operatetype
  26561. type: object
  26562. trade.QueryRecieptOrderRsp:
  26563. properties:
  26564. accountName:
  26565. description: 所属账号名称(已脱敏)
  26566. type: string
  26567. accountid:
  26568. description: 资金账号
  26569. type: integer
  26570. buyorsell:
  26571. description: 方向 - 0:买 1:卖
  26572. type: integer
  26573. enableqty:
  26574. description: 可摘数量
  26575. type: integer
  26576. goodscode:
  26577. description: 商品代码
  26578. type: string
  26579. goodsid:
  26580. description: 商品ID
  26581. type: integer
  26582. goodsname:
  26583. description: 商品名称
  26584. type: string
  26585. orderid:
  26586. description: 委托单号
  26587. type: string
  26588. orderprice:
  26589. description: 委托价格
  26590. type: number
  26591. ordertime:
  26592. description: 委托时间
  26593. type: string
  26594. tradedate:
  26595. description: 交易日(yyyyMMdd)
  26596. type: string
  26597. required:
  26598. - ordertime
  26599. type: object
  26600. user.LoginQueryRsp:
  26601. properties:
  26602. areaRoles:
  26603. description: 所属角色信息
  26604. items:
  26605. $ref: '#/definitions/models.Arearole'
  26606. type: array
  26607. exchangeRateConfigs:
  26608. description: 汇率信息
  26609. items:
  26610. $ref: '#/definitions/models.Exchangerateconfig'
  26611. type: array
  26612. externalExchanges:
  26613. description: 外部交易所
  26614. items:
  26615. $ref: '#/definitions/models.Externalexchange'
  26616. type: array
  26617. goodsgroups:
  26618. description: 商品组
  26619. items:
  26620. $ref: '#/definitions/models.Goodsgroup'
  26621. type: array
  26622. loginAccount:
  26623. $ref: '#/definitions/models.Loginaccount'
  26624. description: 登录账号
  26625. markets:
  26626. description: 市场
  26627. items:
  26628. $ref: '#/definitions/models.Market'
  26629. type: array
  26630. systemParams:
  26631. description: 系统参数
  26632. items:
  26633. $ref: '#/definitions/models.Systemparam'
  26634. type: array
  26635. userAccount:
  26636. $ref: '#/definitions/models.Useraccount'
  26637. description: 用户账号
  26638. userInfo:
  26639. $ref: '#/definitions/models.Userinfo'
  26640. description: 用户信息
  26641. username:
  26642. description: 用户姓名
  26643. type: string
  26644. type: object
  26645. user.UpdateUserHeadUrlReq:
  26646. properties:
  26647. headurl:
  26648. type: string
  26649. userID:
  26650. type: integer
  26651. required:
  26652. - headurl
  26653. - userID
  26654. type: object
  26655. info:
  26656. contact: {}
  26657. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  26658. termsOfService: http://www.muchinfo.cn
  26659. title: MTP2.0 查询服务 API
  26660. version: "1.0"
  26661. paths:
  26662. /CPTrade/QueryCPTradeMyBidInfos:
  26663. get:
  26664. parameters:
  26665. - description: 资金账户
  26666. in: query
  26667. name: accountid
  26668. required: true
  26669. type: integer
  26670. - description: 预售市场ID
  26671. in: query
  26672. name: marketid
  26673. type: integer
  26674. - description: 预售商品ID
  26675. in: query
  26676. name: goodsid
  26677. type: integer
  26678. produces:
  26679. - application/json
  26680. responses:
  26681. "200":
  26682. description: OK
  26683. schema:
  26684. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  26685. "500":
  26686. description: Internal Server Error
  26687. schema:
  26688. $ref: '#/definitions/app.Response'
  26689. security:
  26690. - ApiKeyAuth: []
  26691. summary: 查询产能预售我的出价信息
  26692. tags:
  26693. - 产能预售
  26694. /CPTrade/QueryCPTradeOrderDetail:
  26695. get:
  26696. parameters:
  26697. - description: 预售商品ID
  26698. in: query
  26699. name: goodsid
  26700. type: integer
  26701. - description: 预售市场ID
  26702. in: query
  26703. name: marketid
  26704. type: integer
  26705. - description: 预售商品ID列表 - 格式:1,2,3
  26706. in: query
  26707. name: goodsids
  26708. type: string
  26709. produces:
  26710. - application/json
  26711. responses:
  26712. "200":
  26713. description: OK
  26714. schema:
  26715. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  26716. "500":
  26717. description: Internal Server Error
  26718. schema:
  26719. $ref: '#/definitions/app.Response'
  26720. security:
  26721. - ApiKeyAuth: []
  26722. summary: 查询产能预售委托单信息
  26723. tags:
  26724. - 产能预售
  26725. /CPTrade/QueryMyCPTradeGoods:
  26726. get:
  26727. parameters:
  26728. - description: 资金账户
  26729. in: query
  26730. name: accountid
  26731. required: true
  26732. type: integer
  26733. produces:
  26734. - application/json
  26735. responses:
  26736. "200":
  26737. description: OK
  26738. schema:
  26739. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  26740. "500":
  26741. description: Internal Server Error
  26742. schema:
  26743. $ref: '#/definitions/app.Response'
  26744. security:
  26745. - ApiKeyAuth: []
  26746. summary: 查询我的预售信息
  26747. tags:
  26748. - 产能预售
  26749. /CPTrade/QueryPositionCancel:
  26750. get:
  26751. parameters:
  26752. - description: 账户ID
  26753. in: query
  26754. name: userid
  26755. required: true
  26756. type: integer
  26757. - description: 注销ID
  26758. in: query
  26759. name: cancelid
  26760. type: integer
  26761. - description: 资金账户ID
  26762. in: query
  26763. name: accountid
  26764. type: integer
  26765. produces:
  26766. - application/json
  26767. responses:
  26768. "200":
  26769. description: OK
  26770. schema:
  26771. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  26772. "500":
  26773. description: Internal Server Error
  26774. schema:
  26775. $ref: '#/definitions/app.Response'
  26776. security:
  26777. - ApiKeyAuth: []
  26778. summary: 查询远期订单注销申请信息
  26779. tags:
  26780. - 产能预售
  26781. /CPTrade/QueryPreasleApply:
  26782. get:
  26783. parameters:
  26784. - description: 账户ID
  26785. in: query
  26786. name: userid
  26787. required: true
  26788. type: integer
  26789. - description: 申请ID
  26790. in: query
  26791. name: applyid
  26792. type: integer
  26793. - description: 资金账户ID
  26794. in: query
  26795. name: accountid
  26796. type: integer
  26797. produces:
  26798. - application/json
  26799. responses:
  26800. "200":
  26801. description: OK
  26802. schema:
  26803. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  26804. "500":
  26805. description: Internal Server Error
  26806. schema:
  26807. $ref: '#/definitions/app.Response'
  26808. security:
  26809. - ApiKeyAuth: []
  26810. summary: 查询产能预售申请信息
  26811. tags:
  26812. - 产能预售
  26813. /CPTrade/QueryPresaleGoodsEx:
  26814. get:
  26815. parameters:
  26816. - description: 预售商品ID
  26817. in: query
  26818. name: goodsid
  26819. type: integer
  26820. - description: 预售市场ID
  26821. in: query
  26822. name: marketid
  26823. type: integer
  26824. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  26825. in: query
  26826. name: presalemode
  26827. type: integer
  26828. - description: 预售商品ID列表 - 格式:1,2,3
  26829. in: query
  26830. name: goodsids
  26831. type: string
  26832. - description: 预售商品代码
  26833. in: query
  26834. name: goodscode
  26835. type: string
  26836. produces:
  26837. - application/json
  26838. responses:
  26839. "200":
  26840. description: OK
  26841. schema:
  26842. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  26843. "500":
  26844. description: Internal Server Error
  26845. schema:
  26846. $ref: '#/definitions/app.Response'
  26847. security:
  26848. - ApiKeyAuth: []
  26849. summary: 查询产能预售商品扩展信息
  26850. tags:
  26851. - 产能预售
  26852. /CPTrade/QueryUserGoodsData:
  26853. get:
  26854. parameters:
  26855. - description: 资金账户ID
  26856. in: query
  26857. name: accountid
  26858. required: true
  26859. type: integer
  26860. produces:
  26861. - application/json
  26862. responses:
  26863. "200":
  26864. description: OK
  26865. schema:
  26866. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  26867. "500":
  26868. description: Internal Server Error
  26869. schema:
  26870. $ref: '#/definitions/app.Response'
  26871. security:
  26872. - ApiKeyAuth: []
  26873. summary: 查询远期订单信息
  26874. tags:
  26875. - 产能预售
  26876. /Common/DeleteNewFuncmenu:
  26877. delete:
  26878. consumes:
  26879. - application/json
  26880. parameters:
  26881. - description: 菜单表数据,只需要resourcecode字段即可
  26882. in: body
  26883. name: data
  26884. required: true
  26885. schema:
  26886. $ref: '#/definitions/models.NewFuncmenulist'
  26887. produces:
  26888. - application/json
  26889. responses:
  26890. "200":
  26891. description: OK
  26892. schema:
  26893. $ref: '#/definitions/app.Response'
  26894. "500":
  26895. description: Internal Server Error
  26896. schema:
  26897. $ref: '#/definitions/app.Response'
  26898. security:
  26899. - ApiKeyAuth: []
  26900. summary: 删除菜单表数据
  26901. tags:
  26902. - 通用服务
  26903. /Common/FindNewFuncmenu:
  26904. get:
  26905. parameters:
  26906. - description: 资源代码
  26907. in: query
  26908. name: resourcecode
  26909. type: string
  26910. - description: 上级资源代码
  26911. in: query
  26912. name: parentcode
  26913. type: string
  26914. - description: 资源名(Title), 模糊查询
  26915. in: query
  26916. name: resourcename
  26917. type: string
  26918. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26919. in: query
  26920. name: menutype
  26921. type: string
  26922. produces:
  26923. - application/json
  26924. responses:
  26925. "200":
  26926. description: OK
  26927. schema:
  26928. items:
  26929. $ref: '#/definitions/models.NewFuncmenulist'
  26930. type: array
  26931. "500":
  26932. description: Internal Server Error
  26933. schema:
  26934. $ref: '#/definitions/app.Response'
  26935. security:
  26936. - ApiKeyAuth: []
  26937. summary: 获取菜单表数据
  26938. tags:
  26939. - 通用服务
  26940. /Common/GetAllEnums:
  26941. get:
  26942. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  26943. parameters:
  26944. - description: 起始自增ID
  26945. in: query
  26946. name: autoid
  26947. type: integer
  26948. produces:
  26949. - application/json
  26950. responses:
  26951. "200":
  26952. description: OK
  26953. schema:
  26954. $ref: '#/definitions/models.Enumdicitem'
  26955. "500":
  26956. description: Internal Server Error
  26957. schema:
  26958. $ref: '#/definitions/app.Response'
  26959. summary: 获取所有枚举信息
  26960. tags:
  26961. - 通用服务
  26962. /Common/GetClientMenus:
  26963. get:
  26964. parameters:
  26965. - description: 登录账号
  26966. in: query
  26967. name: loginID
  26968. required: true
  26969. type: integer
  26970. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  26971. in: query
  26972. name: clientType
  26973. type: integer
  26974. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  26975. in: query
  26976. name: name
  26977. type: string
  26978. produces:
  26979. - application/json
  26980. responses:
  26981. "200":
  26982. description: OK
  26983. schema:
  26984. items:
  26985. $ref: '#/definitions/common.ClientMenu'
  26986. type: array
  26987. "500":
  26988. description: Internal Server Error
  26989. schema:
  26990. $ref: '#/definitions/app.Response'
  26991. security:
  26992. - ApiKeyAuth: []
  26993. summary: 获取交易端菜单
  26994. tags:
  26995. - 通用服务
  26996. /Common/GetClientNewFuncmenu:
  26997. get:
  26998. parameters:
  26999. - description: 登录账号
  27000. in: query
  27001. name: loginid
  27002. required: true
  27003. type: integer
  27004. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  27005. in: query
  27006. name: menutype
  27007. required: true
  27008. type: integer
  27009. produces:
  27010. - application/json
  27011. responses:
  27012. "200":
  27013. description: OK
  27014. schema:
  27015. items:
  27016. $ref: '#/definitions/models.NewFuncmenulist'
  27017. type: array
  27018. "500":
  27019. description: Internal Server Error
  27020. schema:
  27021. $ref: '#/definitions/app.Response'
  27022. security:
  27023. - ApiKeyAuth: []
  27024. summary: 获取终端菜单
  27025. tags:
  27026. - 通用服务
  27027. /Common/GetDivisions:
  27028. get:
  27029. produces:
  27030. - application/json
  27031. responses:
  27032. "200":
  27033. description: OK
  27034. schema:
  27035. $ref: '#/definitions/models.Division'
  27036. "500":
  27037. description: Internal Server Error
  27038. schema:
  27039. $ref: '#/definitions/app.Response'
  27040. summary: 查询区域信息
  27041. tags:
  27042. - 通用服务
  27043. /Common/GetPCWebMenus:
  27044. get:
  27045. parameters:
  27046. - description: 登录账号
  27047. in: query
  27048. name: loginID
  27049. required: true
  27050. type: integer
  27051. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  27052. in: query
  27053. name: name
  27054. type: string
  27055. produces:
  27056. - application/json
  27057. responses:
  27058. "200":
  27059. description: OK
  27060. schema:
  27061. items:
  27062. $ref: '#/definitions/common.PCWebMenu'
  27063. type: array
  27064. "500":
  27065. description: Internal Server Error
  27066. schema:
  27067. $ref: '#/definitions/app.Response'
  27068. security:
  27069. - ApiKeyAuth: []
  27070. summary: 获取PCWeb交易端菜单
  27071. tags:
  27072. - 通用服务
  27073. /Common/GetServerTime:
  27074. get:
  27075. produces:
  27076. - application/json
  27077. responses:
  27078. "200":
  27079. description: OK
  27080. schema:
  27081. $ref: '#/definitions/app.Response'
  27082. "500":
  27083. description: Internal Server Error
  27084. schema:
  27085. $ref: '#/definitions/app.Response'
  27086. summary: 获取服务器时间
  27087. tags:
  27088. - 通用服务
  27089. /Common/InsertNewFuncmenu:
  27090. post:
  27091. consumes:
  27092. - application/json
  27093. parameters:
  27094. - description: 菜单表数据
  27095. in: body
  27096. name: data
  27097. required: true
  27098. schema:
  27099. $ref: '#/definitions/models.NewFuncmenulist'
  27100. produces:
  27101. - application/json
  27102. responses:
  27103. "200":
  27104. description: OK
  27105. schema:
  27106. $ref: '#/definitions/app.Response'
  27107. "500":
  27108. description: Internal Server Error
  27109. schema:
  27110. $ref: '#/definitions/app.Response'
  27111. security:
  27112. - ApiKeyAuth: []
  27113. summary: 插入菜单表数据
  27114. tags:
  27115. - 通用服务
  27116. /Common/NoticeReaded:
  27117. post:
  27118. parameters:
  27119. - description: 登录账号
  27120. in: query
  27121. name: loginID
  27122. required: true
  27123. type: integer
  27124. - description: 通知公告ID
  27125. in: query
  27126. name: noticeID
  27127. required: true
  27128. type: integer
  27129. produces:
  27130. - application/json
  27131. responses:
  27132. "200":
  27133. description: OK
  27134. schema:
  27135. $ref: '#/definitions/app.Response'
  27136. "500":
  27137. description: Internal Server Error
  27138. schema:
  27139. $ref: '#/definitions/app.Response'
  27140. security:
  27141. - ApiKeyAuth: []
  27142. summary: 通知公告设置已读请求
  27143. tags:
  27144. - 通用服务
  27145. /Common/QueryErrorInfos:
  27146. get:
  27147. description: 如果传入rowNumber,则返回此rowNumber后的数据
  27148. parameters:
  27149. - description: 起始行号前索引
  27150. in: query
  27151. name: rowNumber
  27152. type: string
  27153. produces:
  27154. - application/json
  27155. responses:
  27156. "200":
  27157. description: OK
  27158. schema:
  27159. $ref: '#/definitions/models.QueryErrorInfosRsp'
  27160. "500":
  27161. description: Internal Server Error
  27162. schema:
  27163. $ref: '#/definitions/app.Response'
  27164. summary: 获取数据库错误信息
  27165. tags:
  27166. - 通用服务
  27167. /Common/QueryImageConfigs:
  27168. get:
  27169. parameters:
  27170. - description: 用户id
  27171. in: query
  27172. name: userId
  27173. type: integer
  27174. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  27175. in: query
  27176. name: imageType
  27177. type: integer
  27178. produces:
  27179. - application/json
  27180. responses:
  27181. "200":
  27182. description: OK
  27183. schema:
  27184. $ref: '#/definitions/common.QueryImageConfigsRsp'
  27185. "500":
  27186. description: Internal Server Error
  27187. schema:
  27188. $ref: '#/definitions/app.Response'
  27189. summary: 查询轮播图配置信息
  27190. tags:
  27191. - 通用服务
  27192. /Common/QueryNotice:
  27193. get:
  27194. parameters:
  27195. - description: 页码
  27196. in: query
  27197. name: page
  27198. type: integer
  27199. - description: 每页条数
  27200. in: query
  27201. name: pagesize
  27202. type: integer
  27203. - description: 分页标志 0-page从0开始 1-page从1开始
  27204. in: query
  27205. name: pageflag
  27206. type: integer
  27207. - description: 登录账号
  27208. in: query
  27209. name: loginID
  27210. required: true
  27211. type: integer
  27212. - description: 消息类型 - 1:公告通知 2:系统消息
  27213. in: query
  27214. name: msgType
  27215. type: integer
  27216. - description: 是否只获取未读信息
  27217. in: query
  27218. name: onlyUnRead
  27219. type: boolean
  27220. - description: 自增ID,传入后会返回这个ID后面的记录
  27221. in: query
  27222. name: lastID
  27223. type: integer
  27224. produces:
  27225. - application/json
  27226. responses:
  27227. "200":
  27228. description: OK
  27229. schema:
  27230. $ref: '#/definitions/common.QueryNoticeRsp'
  27231. "500":
  27232. description: Internal Server Error
  27233. schema:
  27234. $ref: '#/definitions/app.Response'
  27235. security:
  27236. - ApiKeyAuth: []
  27237. summary: 通知公告系统消息查询
  27238. tags:
  27239. - 通用服务
  27240. /Common/QueryProvincesAndCities:
  27241. get:
  27242. parameters:
  27243. - description: 省ID
  27244. in: query
  27245. name: provinceID
  27246. type: integer
  27247. produces:
  27248. - application/json
  27249. responses:
  27250. "200":
  27251. description: OK
  27252. schema:
  27253. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  27254. "500":
  27255. description: Internal Server Error
  27256. schema:
  27257. $ref: '#/definitions/app.Response'
  27258. summary: 查询省市信息(不包括区)
  27259. tags:
  27260. - 通用服务
  27261. /Common/QueryRates:
  27262. get:
  27263. parameters:
  27264. - description: 页码
  27265. in: query
  27266. name: page
  27267. type: integer
  27268. - description: 每页条数
  27269. in: query
  27270. name: pagesize
  27271. type: integer
  27272. - description: 源币种ID
  27273. in: query
  27274. name: oricurrencyid
  27275. type: integer
  27276. - description: 目标币种ID
  27277. in: query
  27278. name: descurrencyid
  27279. type: integer
  27280. produces:
  27281. - application/json
  27282. responses:
  27283. "200":
  27284. description: OK
  27285. schema:
  27286. items:
  27287. $ref: '#/definitions/models.Exchangerateconfig'
  27288. type: array
  27289. "500":
  27290. description: Internal Server Error
  27291. schema:
  27292. $ref: '#/definitions/app.Response'
  27293. security:
  27294. - ApiKeyAuth: []
  27295. - LoginID: []
  27296. - Group: []
  27297. summary: 查询汇率信息
  27298. tags:
  27299. - 通用服务
  27300. /Common/QueryTableDefine:
  27301. get:
  27302. parameters:
  27303. - description: 表key
  27304. in: query
  27305. name: tableKey
  27306. type: string
  27307. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  27308. in: query
  27309. name: tableType
  27310. type: integer
  27311. produces:
  27312. - application/json
  27313. responses:
  27314. "200":
  27315. description: OK
  27316. schema:
  27317. $ref: '#/definitions/common.QueryTableDefineRsp'
  27318. "500":
  27319. description: Internal Server Error
  27320. schema:
  27321. $ref: '#/definitions/app.Response'
  27322. summary: 查询交易端列表头信息
  27323. tags:
  27324. - 通用服务
  27325. /Common/QueryTraderMenu:
  27326. get:
  27327. parameters:
  27328. - description: 登录账号
  27329. in: query
  27330. name: loginid
  27331. required: true
  27332. type: integer
  27333. produces:
  27334. - application/json
  27335. responses:
  27336. "200":
  27337. description: OK
  27338. schema:
  27339. $ref: '#/definitions/common.QueryTraderMenuRsp'
  27340. "500":
  27341. description: Internal Server Error
  27342. schema:
  27343. $ref: '#/definitions/app.Response'
  27344. summary: 查询交易端菜单
  27345. tags:
  27346. - 通用服务
  27347. /Common/UpdateNewFuncmenu:
  27348. put:
  27349. consumes:
  27350. - application/json
  27351. parameters:
  27352. - description: 菜单表数据
  27353. in: body
  27354. name: data
  27355. required: true
  27356. schema:
  27357. $ref: '#/definitions/models.NewFuncmenulist'
  27358. produces:
  27359. - application/json
  27360. responses:
  27361. "200":
  27362. description: OK
  27363. schema:
  27364. $ref: '#/definitions/app.Response'
  27365. "500":
  27366. description: Internal Server Error
  27367. schema:
  27368. $ref: '#/definitions/app.Response'
  27369. security:
  27370. - ApiKeyAuth: []
  27371. summary: 更新菜单表数据
  27372. tags:
  27373. - 通用服务
  27374. /Delivery/QueryDeliveryRelation:
  27375. get:
  27376. parameters:
  27377. - description: 商品ID
  27378. in: query
  27379. name: goodsid
  27380. type: integer
  27381. - description: 品种ID
  27382. in: query
  27383. name: deliverygoodsid
  27384. type: integer
  27385. - description: 市场ID
  27386. in: query
  27387. name: marketid
  27388. type: integer
  27389. produces:
  27390. - application/json
  27391. responses:
  27392. "200":
  27393. description: OK
  27394. schema:
  27395. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  27396. "500":
  27397. description: Internal Server Error
  27398. schema:
  27399. $ref: '#/definitions/app.Response'
  27400. security:
  27401. - ApiKeyAuth: []
  27402. summary: 查询商品交割关系表
  27403. tags:
  27404. - 交割服务
  27405. /Ermcp/GetErmcpGoods:
  27406. get:
  27407. parameters:
  27408. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  27409. in: query
  27410. name: userid
  27411. type: integer
  27412. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27413. in: query
  27414. name: lastUpdateTime
  27415. type: string
  27416. produces:
  27417. - application/json
  27418. responses:
  27419. "200":
  27420. description: OK
  27421. schema:
  27422. $ref: '#/definitions/models.ErmcpGoods'
  27423. "500":
  27424. description: Internal Server Error
  27425. schema:
  27426. $ref: '#/definitions/app.Response'
  27427. security:
  27428. - ApiKeyAuth: []
  27429. summary: 查询企业风管期货商品信息
  27430. tags:
  27431. - 企业风险管理(app)
  27432. /Ermcp/GetErmcpGoodsSortByPosition:
  27433. get:
  27434. parameters:
  27435. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  27436. in: query
  27437. name: sortIndex
  27438. type: string
  27439. produces:
  27440. - application/json
  27441. responses:
  27442. "200":
  27443. description: OK
  27444. schema:
  27445. $ref: '#/definitions/models.Goodssortbypreposition'
  27446. "500":
  27447. description: Internal Server Error
  27448. schema:
  27449. $ref: '#/definitions/app.Response'
  27450. security:
  27451. - ApiKeyAuth: []
  27452. summary: 查询企业风管期货主力、次主力商品信息
  27453. tags:
  27454. - 企业风险管理(app)
  27455. /Ermcp/GetErmcpOutAccountStatus:
  27456. get:
  27457. parameters:
  27458. - description: 登录账号
  27459. in: query
  27460. name: loginID
  27461. required: true
  27462. type: integer
  27463. produces:
  27464. - application/json
  27465. responses:
  27466. "200":
  27467. description: OK
  27468. schema:
  27469. $ref: '#/definitions/models.Hedgemarketopenlog'
  27470. "500":
  27471. description: Internal Server Error
  27472. schema:
  27473. $ref: '#/definitions/app.Response'
  27474. security:
  27475. - ApiKeyAuth: []
  27476. summary: 获取目标登录账号当前对冲账号在线状态
  27477. tags:
  27478. - 企业风险管理(app)
  27479. /Ermcp/GetErmcpRoleFuncMenuLists:
  27480. get:
  27481. parameters:
  27482. - description: 登录账号
  27483. in: query
  27484. name: loginID
  27485. required: true
  27486. type: integer
  27487. produces:
  27488. - application/json
  27489. responses:
  27490. "200":
  27491. description: OK
  27492. schema:
  27493. $ref: '#/definitions/models.Funcmenulist'
  27494. "500":
  27495. description: Internal Server Error
  27496. schema:
  27497. $ref: '#/definitions/app.Response'
  27498. security:
  27499. - ApiKeyAuth: []
  27500. summary: 获取企业风管终端权限
  27501. tags:
  27502. - 企业风险管理(app)
  27503. /Ermcp/QueryAccMgrBizGroupSet:
  27504. get:
  27505. parameters:
  27506. - description: 用户ID
  27507. in: query
  27508. name: userid
  27509. required: true
  27510. type: integer
  27511. - description: 现货商品id
  27512. in: query
  27513. name: deliverygoodsid
  27514. type: integer
  27515. produces:
  27516. - application/json
  27517. responses:
  27518. "200":
  27519. description: OK
  27520. schema:
  27521. items:
  27522. $ref: '#/definitions/models.ErmcpBizGroupEx'
  27523. type: array
  27524. "500":
  27525. description: Internal Server Error
  27526. schema:
  27527. $ref: '#/definitions/app.Response'
  27528. security:
  27529. - ApiKeyAuth: []
  27530. summary: 查询业务类型分组(账户管理/账户设置)
  27531. tags:
  27532. - 企业风险管理(app)
  27533. /Ermcp/QueryAccMgrLoginUser:
  27534. get:
  27535. parameters:
  27536. - description: 用户ID
  27537. in: query
  27538. name: userid
  27539. required: true
  27540. type: integer
  27541. - description: 用户类型 2-机构 7-企业成员
  27542. in: query
  27543. name: usertype
  27544. type: integer
  27545. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  27546. in: query
  27547. name: querytype
  27548. required: true
  27549. type: integer
  27550. produces:
  27551. - application/json
  27552. responses:
  27553. "200":
  27554. description: OK
  27555. schema:
  27556. items:
  27557. $ref: '#/definitions/models.ErmcpLoginUserEx'
  27558. type: array
  27559. "500":
  27560. description: Internal Server Error
  27561. schema:
  27562. $ref: '#/definitions/app.Response'
  27563. security:
  27564. - ApiKeyAuth: []
  27565. summary: 查询账户管理登录账号(账户管理/登录账号)
  27566. tags:
  27567. - 企业风险管理(app)
  27568. /Ermcp/QueryAccMgrMainAccountInfo:
  27569. get:
  27570. parameters:
  27571. - description: 用户ID
  27572. in: query
  27573. name: userid
  27574. type: integer
  27575. - description: 主账号id
  27576. in: query
  27577. name: accountid
  27578. type: integer
  27579. produces:
  27580. - application/json
  27581. responses:
  27582. "200":
  27583. description: OK
  27584. schema:
  27585. items:
  27586. $ref: '#/definitions/models.MainAccountInfo'
  27587. type: array
  27588. "500":
  27589. description: Internal Server Error
  27590. schema:
  27591. $ref: '#/definitions/app.Response'
  27592. security:
  27593. - ApiKeyAuth: []
  27594. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  27595. tags:
  27596. - 企业风险管理(app)
  27597. /Ermcp/QueryAccMgrRole:
  27598. get:
  27599. parameters:
  27600. - description: 用户ID
  27601. in: query
  27602. name: userid
  27603. required: true
  27604. type: integer
  27605. produces:
  27606. - application/json
  27607. responses:
  27608. "200":
  27609. description: OK
  27610. schema:
  27611. items:
  27612. $ref: '#/definitions/models.ErmcpRole'
  27613. type: array
  27614. "500":
  27615. description: Internal Server Error
  27616. schema:
  27617. $ref: '#/definitions/app.Response'
  27618. security:
  27619. - ApiKeyAuth: []
  27620. summary: 查询账户管理角色设置(账户管理/角色设置)
  27621. tags:
  27622. - 企业风险管理(app)
  27623. /Ermcp/QueryAccMgrRoleMenu:
  27624. get:
  27625. parameters:
  27626. - description: 用户ID
  27627. in: query
  27628. name: userid
  27629. required: true
  27630. type: integer
  27631. - description: 角色id(可多个,逗号隔开)
  27632. in: query
  27633. name: roleid
  27634. type: string
  27635. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  27636. in: query
  27637. name: menutype
  27638. type: integer
  27639. produces:
  27640. - application/json
  27641. responses:
  27642. "200":
  27643. description: OK
  27644. schema:
  27645. items:
  27646. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  27647. type: array
  27648. "500":
  27649. description: Internal Server Error
  27650. schema:
  27651. $ref: '#/definitions/app.Response'
  27652. security:
  27653. - ApiKeyAuth: []
  27654. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  27655. tags:
  27656. - 企业风险管理(app)
  27657. /Ermcp/QueryAccMgrTaAccountInfo:
  27658. get:
  27659. parameters:
  27660. - description: 用户ID
  27661. in: query
  27662. name: userid
  27663. required: true
  27664. type: integer
  27665. - description: 账号id
  27666. in: query
  27667. name: accountid
  27668. type: integer
  27669. produces:
  27670. - application/json
  27671. responses:
  27672. "200":
  27673. description: OK
  27674. schema:
  27675. items:
  27676. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  27677. type: array
  27678. "500":
  27679. description: Internal Server Error
  27680. schema:
  27681. $ref: '#/definitions/app.Response'
  27682. security:
  27683. - ApiKeyAuth: []
  27684. summary: 查询账户管理授信(账户管理/账户设置/授信)
  27685. tags:
  27686. - 企业风险管理(app)
  27687. /Ermcp/QueryAccMgrTaaccount:
  27688. get:
  27689. parameters:
  27690. - description: 用户ID
  27691. in: query
  27692. name: userid
  27693. required: true
  27694. type: integer
  27695. produces:
  27696. - application/json
  27697. responses:
  27698. "200":
  27699. description: OK
  27700. schema:
  27701. items:
  27702. $ref: '#/definitions/models.ErmcpTaAccountEx'
  27703. type: array
  27704. "500":
  27705. description: Internal Server Error
  27706. schema:
  27707. $ref: '#/definitions/app.Response'
  27708. security:
  27709. - ApiKeyAuth: []
  27710. summary: 查询账户管理期货账号(账户管理/期货账号)
  27711. tags:
  27712. - 企业风险管理(app)
  27713. /Ermcp/QueryAvaildGoodsGroup:
  27714. get:
  27715. parameters:
  27716. - description: 所属机构ID
  27717. in: query
  27718. name: userid
  27719. required: true
  27720. type: integer
  27721. produces:
  27722. - application/json
  27723. responses:
  27724. "200":
  27725. description: OK
  27726. schema:
  27727. items:
  27728. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  27729. type: array
  27730. "500":
  27731. description: Internal Server Error
  27732. schema:
  27733. $ref: '#/definitions/app.Response'
  27734. security:
  27735. - ApiKeyAuth: []
  27736. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  27737. tags:
  27738. - 企业风险管理(app)
  27739. /Ermcp/QueryBusinessDj:
  27740. get:
  27741. parameters:
  27742. - description: 用户ID
  27743. in: query
  27744. name: UserId
  27745. required: true
  27746. type: integer
  27747. - description: 用户类型 2-机构 7-企业成员
  27748. in: query
  27749. name: usertype
  27750. type: integer
  27751. - description: 现货合同ID, 不填则查所有
  27752. in: query
  27753. name: relatedid
  27754. type: string
  27755. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27756. in: query
  27757. name: applystatus
  27758. type: string
  27759. produces:
  27760. - application/json
  27761. responses:
  27762. "200":
  27763. description: OK
  27764. schema:
  27765. items:
  27766. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  27767. type: array
  27768. "500":
  27769. description: Internal Server Error
  27770. schema:
  27771. $ref: '#/definitions/app.Response'
  27772. security:
  27773. - ApiKeyAuth: []
  27774. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  27775. tags:
  27776. - 企业风险管理(app)
  27777. /Ermcp/QueryBusinessFp:
  27778. get:
  27779. parameters:
  27780. - description: 用户ID
  27781. in: query
  27782. name: UserId
  27783. required: true
  27784. type: integer
  27785. - description: 用户类型 2-机构 7-企业成员
  27786. in: query
  27787. name: usertype
  27788. type: integer
  27789. - description: 现货合同ID, 不填则查所有
  27790. in: query
  27791. name: relatedid
  27792. type: string
  27793. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27794. in: query
  27795. name: applystatus
  27796. type: string
  27797. produces:
  27798. - application/json
  27799. responses:
  27800. "200":
  27801. description: OK
  27802. schema:
  27803. items:
  27804. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  27805. type: array
  27806. "500":
  27807. description: Internal Server Error
  27808. schema:
  27809. $ref: '#/definitions/app.Response'
  27810. security:
  27811. - ApiKeyAuth: []
  27812. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  27813. tags:
  27814. - 企业风险管理(app)
  27815. /Ermcp/QueryBusinessJs:
  27816. get:
  27817. parameters:
  27818. - description: 用户ID
  27819. in: query
  27820. name: UserId
  27821. required: true
  27822. type: integer
  27823. - description: 用户类型 2-机构 7-企业成员
  27824. in: query
  27825. name: usertype
  27826. type: integer
  27827. - description: 现货合同ID, 不填则查所有
  27828. in: query
  27829. name: relatedid
  27830. type: string
  27831. - description: 操作申请id
  27832. in: query
  27833. name: operateapplyid
  27834. type: string
  27835. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27836. in: query
  27837. name: applystatus
  27838. type: string
  27839. produces:
  27840. - application/json
  27841. responses:
  27842. "200":
  27843. description: OK
  27844. schema:
  27845. items:
  27846. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  27847. type: array
  27848. "500":
  27849. description: Internal Server Error
  27850. schema:
  27851. $ref: '#/definitions/app.Response'
  27852. security:
  27853. - ApiKeyAuth: []
  27854. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  27855. tags:
  27856. - 企业风险管理(app)
  27857. /Ermcp/QueryBusinessJsEx:
  27858. get:
  27859. parameters:
  27860. - description: 用户ID
  27861. in: query
  27862. name: UserId
  27863. required: true
  27864. type: integer
  27865. - description: 用户类型 2-机构 7-企业成员
  27866. in: query
  27867. name: usertype
  27868. type: integer
  27869. - description: 现货合同ID, 不填则查所有
  27870. in: query
  27871. name: relatedid
  27872. type: string
  27873. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27874. in: query
  27875. name: applystatus
  27876. type: string
  27877. produces:
  27878. - application/json
  27879. responses:
  27880. "200":
  27881. description: OK
  27882. schema:
  27883. items:
  27884. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  27885. type: array
  27886. "500":
  27887. description: Internal Server Error
  27888. schema:
  27889. $ref: '#/definitions/app.Response'
  27890. security:
  27891. - ApiKeyAuth: []
  27892. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  27893. tags:
  27894. - 企业风险管理(app)
  27895. /Ermcp/QueryBusinessKx:
  27896. get:
  27897. parameters:
  27898. - description: 用户ID
  27899. in: query
  27900. name: UserId
  27901. required: true
  27902. type: integer
  27903. - description: 用户类型 2-机构 7-企业成员
  27904. in: query
  27905. name: usertype
  27906. type: integer
  27907. - description: 现货合同ID, 不填则查所有
  27908. in: query
  27909. name: relatedid
  27910. type: string
  27911. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27912. in: query
  27913. name: applystatus
  27914. type: string
  27915. produces:
  27916. - application/json
  27917. responses:
  27918. "200":
  27919. description: OK
  27920. schema:
  27921. items:
  27922. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  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. - 企业风险管理(app)
  27933. /Ermcp/QueryChangeLog:
  27934. get:
  27935. parameters:
  27936. - description: 合同ID
  27937. in: query
  27938. name: RelatedId
  27939. required: true
  27940. type: string
  27941. produces:
  27942. - application/json
  27943. responses:
  27944. "200":
  27945. description: OK
  27946. schema:
  27947. items:
  27948. $ref: '#/definitions/ermcp.QryOPLogRsp'
  27949. type: array
  27950. "500":
  27951. description: Internal Server Error
  27952. schema:
  27953. $ref: '#/definitions/app.Response'
  27954. security:
  27955. - ApiKeyAuth: []
  27956. summary: 查询变更记录
  27957. tags:
  27958. - 企业风险管理(app)
  27959. /Ermcp/QueryErmcpHisOrderDetails:
  27960. get:
  27961. parameters:
  27962. - description: 资金账户ID
  27963. in: query
  27964. name: accountID
  27965. required: true
  27966. type: integer
  27967. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27968. in: query
  27969. name: startDate
  27970. type: string
  27971. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27972. in: query
  27973. name: endDate
  27974. type: string
  27975. produces:
  27976. - application/json
  27977. responses:
  27978. "200":
  27979. description: OK
  27980. schema:
  27981. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27982. "500":
  27983. description: Internal Server Error
  27984. schema:
  27985. $ref: '#/definitions/app.Response'
  27986. security:
  27987. - ApiKeyAuth: []
  27988. summary: 获取企业风管期货历史委托单信息
  27989. tags:
  27990. - 企业风险管理(app)
  27991. /Ermcp/QueryErmcpHisTradeDetails:
  27992. get:
  27993. parameters:
  27994. - description: 资金账户ID
  27995. in: query
  27996. name: accountID
  27997. required: true
  27998. type: integer
  27999. - description: 商品ID
  28000. in: query
  28001. name: goodsID
  28002. type: integer
  28003. - description: 买卖方向,0:买 1:卖
  28004. in: query
  28005. name: buyOrSell
  28006. type: integer
  28007. - description: 关联委托单号
  28008. in: query
  28009. name: orderID
  28010. type: integer
  28011. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28012. in: query
  28013. name: startDate
  28014. type: string
  28015. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28016. in: query
  28017. name: endDate
  28018. type: string
  28019. produces:
  28020. - application/json
  28021. responses:
  28022. "200":
  28023. description: OK
  28024. schema:
  28025. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  28026. "500":
  28027. description: Internal Server Error
  28028. schema:
  28029. $ref: '#/definitions/app.Response'
  28030. security:
  28031. - ApiKeyAuth: []
  28032. summary: 获取企业风管期货历史成交单信息
  28033. tags:
  28034. - 企业风险管理(app)
  28035. /Ermcp/QueryErmcpInnerHolderDetails:
  28036. get:
  28037. parameters:
  28038. - description: 资金账户ID
  28039. in: query
  28040. name: accountID
  28041. required: true
  28042. type: integer
  28043. - description: 商品ID
  28044. in: query
  28045. name: goodsID
  28046. type: integer
  28047. - description: 买卖方向,0:买 1:卖
  28048. in: query
  28049. name: buyOrSell
  28050. type: integer
  28051. produces:
  28052. - application/json
  28053. responses:
  28054. "200":
  28055. description: OK
  28056. schema:
  28057. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  28058. "500":
  28059. description: Internal Server Error
  28060. schema:
  28061. $ref: '#/definitions/app.Response'
  28062. security:
  28063. - ApiKeyAuth: []
  28064. summary: 获取企业风管期货内部持仓单信息
  28065. tags:
  28066. - 企业风险管理(app)
  28067. /Ermcp/QueryErmcpOrderDetails:
  28068. get:
  28069. parameters:
  28070. - description: 资金账户ID
  28071. in: query
  28072. name: accountID
  28073. required: true
  28074. type: integer
  28075. produces:
  28076. - application/json
  28077. responses:
  28078. "200":
  28079. description: OK
  28080. schema:
  28081. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  28082. "500":
  28083. description: Internal Server Error
  28084. schema:
  28085. $ref: '#/definitions/app.Response'
  28086. security:
  28087. - ApiKeyAuth: []
  28088. summary: 获取企业风管期货委托单信息
  28089. tags:
  28090. - 企业风险管理(app)
  28091. /Ermcp/QueryErmcpTradeDetails:
  28092. get:
  28093. parameters:
  28094. - description: 资金账户ID
  28095. in: query
  28096. name: accountID
  28097. required: true
  28098. type: integer
  28099. - description: 商品ID
  28100. in: query
  28101. name: goodsID
  28102. type: integer
  28103. - description: 买卖方向,0:买 1:卖
  28104. in: query
  28105. name: buyOrSell
  28106. type: integer
  28107. - description: 关联委托单号
  28108. in: query
  28109. name: orderID
  28110. type: integer
  28111. produces:
  28112. - application/json
  28113. responses:
  28114. "200":
  28115. description: OK
  28116. schema:
  28117. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  28118. "500":
  28119. description: Internal Server Error
  28120. schema:
  28121. $ref: '#/definitions/app.Response'
  28122. security:
  28123. - ApiKeyAuth: []
  28124. summary: 获取企业风管期货成交单信息
  28125. tags:
  28126. - 企业风险管理(app)
  28127. /Ermcp/QueryErmcpTradePosition:
  28128. get:
  28129. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  28130. parameters:
  28131. - description: 资金账户ID
  28132. in: query
  28133. name: accountID
  28134. required: true
  28135. type: integer
  28136. - description: 所属市场ID
  28137. in: query
  28138. name: marketID
  28139. type: integer
  28140. produces:
  28141. - application/json
  28142. responses:
  28143. "200":
  28144. description: OK
  28145. schema:
  28146. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  28147. "500":
  28148. description: Internal Server Error
  28149. schema:
  28150. $ref: '#/definitions/app.Response'
  28151. security:
  28152. - ApiKeyAuth: []
  28153. summary: 获取企业风管期货持仓头寸信息
  28154. tags:
  28155. - 企业风险管理(app)
  28156. /Ermcp/QueryExposureDetail:
  28157. get:
  28158. parameters:
  28159. - description: 所属机构ID
  28160. in: query
  28161. name: areaUserId
  28162. required: true
  28163. type: integer
  28164. - description: 套保商品
  28165. in: query
  28166. name: middleGoodsId
  28167. required: true
  28168. type: integer
  28169. produces:
  28170. - application/json
  28171. responses:
  28172. "200":
  28173. description: OK
  28174. schema:
  28175. items:
  28176. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  28177. type: array
  28178. "500":
  28179. description: Internal Server Error
  28180. schema:
  28181. $ref: '#/definitions/app.Response'
  28182. security:
  28183. - ApiKeyAuth: []
  28184. summary: 查询敞口现货明细
  28185. tags:
  28186. - 企业风险管理(app)
  28187. /Ermcp/QueryExposureGoods:
  28188. get:
  28189. parameters:
  28190. - description: 套保商品id
  28191. in: query
  28192. name: middlegoodsid
  28193. required: true
  28194. type: integer
  28195. produces:
  28196. - application/json
  28197. responses:
  28198. "200":
  28199. description: OK
  28200. schema:
  28201. items:
  28202. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  28203. type: array
  28204. "500":
  28205. description: Internal Server Error
  28206. schema:
  28207. $ref: '#/definitions/app.Response'
  28208. security:
  28209. - ApiKeyAuth: []
  28210. summary: 查询敞口主力合约
  28211. tags:
  28212. - 企业风险管理(app)
  28213. /Ermcp/QueryExposureHedgePosition:
  28214. get:
  28215. parameters:
  28216. - description: 用户id
  28217. in: query
  28218. name: userid
  28219. required: true
  28220. type: integer
  28221. produces:
  28222. - application/json
  28223. responses:
  28224. "200":
  28225. description: OK
  28226. schema:
  28227. items:
  28228. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  28229. type: array
  28230. "500":
  28231. description: Internal Server Error
  28232. schema:
  28233. $ref: '#/definitions/app.Response'
  28234. security:
  28235. - ApiKeyAuth: []
  28236. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  28237. tags:
  28238. - 企业风险管理(app)
  28239. /Ermcp/QueryExposureHedgePositionDetail:
  28240. get:
  28241. parameters:
  28242. - description: 所属机构ID
  28243. in: query
  28244. name: userid
  28245. required: true
  28246. type: integer
  28247. - description: 商品id
  28248. in: query
  28249. name: goodsId
  28250. required: true
  28251. type: integer
  28252. produces:
  28253. - application/json
  28254. responses:
  28255. "200":
  28256. description: OK
  28257. schema:
  28258. items:
  28259. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  28260. type: array
  28261. "500":
  28262. description: Internal Server Error
  28263. schema:
  28264. $ref: '#/definitions/app.Response'
  28265. security:
  28266. - ApiKeyAuth: []
  28267. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  28268. tags:
  28269. - 企业风险管理(app)
  28270. /Ermcp/QueryExposureSpot:
  28271. get:
  28272. parameters:
  28273. - description: 所属机构ID
  28274. in: query
  28275. name: areaUserId
  28276. required: true
  28277. type: integer
  28278. produces:
  28279. - application/json
  28280. responses:
  28281. "200":
  28282. description: OK
  28283. schema:
  28284. items:
  28285. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  28286. type: array
  28287. "500":
  28288. description: Internal Server Error
  28289. schema:
  28290. $ref: '#/definitions/app.Response'
  28291. security:
  28292. - ApiKeyAuth: []
  28293. summary: 查询敞口现货头寸(敞口/现货头寸)
  28294. tags:
  28295. - 企业风险管理(app)
  28296. /Ermcp/QueryExposureSpotDetail:
  28297. get:
  28298. parameters:
  28299. - description: 所属机构ID
  28300. in: query
  28301. name: areaUserId
  28302. required: true
  28303. type: integer
  28304. - description: 现货品种ID
  28305. in: query
  28306. name: wrstandardId
  28307. required: true
  28308. type: integer
  28309. produces:
  28310. - application/json
  28311. responses:
  28312. "200":
  28313. description: OK
  28314. schema:
  28315. items:
  28316. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  28317. type: array
  28318. "500":
  28319. description: Internal Server Error
  28320. schema:
  28321. $ref: '#/definitions/app.Response'
  28322. security:
  28323. - ApiKeyAuth: []
  28324. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  28325. tags:
  28326. - 企业风险管理(app)
  28327. /Ermcp/QueryFuturesCompany:
  28328. get:
  28329. produces:
  28330. - application/json
  28331. responses:
  28332. "200":
  28333. description: OK
  28334. schema:
  28335. items:
  28336. $ref: '#/definitions/models.ErmcpFuturesCompany'
  28337. type: array
  28338. "500":
  28339. description: Internal Server Error
  28340. schema:
  28341. $ref: '#/definitions/app.Response'
  28342. security:
  28343. - ApiKeyAuth: []
  28344. summary: 查询期货公司
  28345. tags:
  28346. - 企业风险管理(app)
  28347. /Ermcp/QueryGGConvertConfig:
  28348. get:
  28349. parameters:
  28350. - description: 品种id(不填则查所有)
  28351. in: query
  28352. name: goodsgroupid
  28353. type: integer
  28354. produces:
  28355. - application/json
  28356. responses:
  28357. "200":
  28358. description: OK
  28359. schema:
  28360. items:
  28361. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  28362. type: array
  28363. "500":
  28364. description: Internal Server Error
  28365. schema:
  28366. $ref: '#/definitions/app.Response'
  28367. security:
  28368. - ApiKeyAuth: []
  28369. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  28370. tags:
  28371. - 企业风险管理(app)
  28372. /Ermcp/QueryGoodsBrand:
  28373. get:
  28374. parameters:
  28375. - description: 用户ID
  28376. in: query
  28377. name: userid
  28378. required: true
  28379. type: integer
  28380. - description: 现货商品ID
  28381. in: query
  28382. name: wrstandardid
  28383. type: integer
  28384. produces:
  28385. - application/json
  28386. responses:
  28387. "200":
  28388. description: OK
  28389. schema:
  28390. items:
  28391. $ref: '#/definitions/models.ErmcpGoodsBrand'
  28392. type: array
  28393. "500":
  28394. description: Internal Server Error
  28395. schema:
  28396. $ref: '#/definitions/app.Response'
  28397. security:
  28398. - ApiKeyAuth: []
  28399. summary: 查询商品品牌
  28400. tags:
  28401. - 企业风险管理(app)
  28402. /Ermcp/QueryGoodsModel:
  28403. get:
  28404. parameters:
  28405. - description: 用户ID
  28406. in: query
  28407. name: userid
  28408. required: true
  28409. type: integer
  28410. produces:
  28411. - application/json
  28412. responses:
  28413. "200":
  28414. description: OK
  28415. schema:
  28416. items:
  28417. $ref: '#/definitions/models.ErmcpGoodsModel'
  28418. type: array
  28419. "500":
  28420. description: Internal Server Error
  28421. schema:
  28422. $ref: '#/definitions/app.Response'
  28423. security:
  28424. - ApiKeyAuth: []
  28425. summary: 查询商品型号
  28426. tags:
  28427. - 企业风险管理(app)
  28428. /Ermcp/QueryHisExposure:
  28429. get:
  28430. parameters:
  28431. - description: 用户id
  28432. in: query
  28433. name: userid
  28434. required: true
  28435. type: integer
  28436. - description: 每个品种记录数
  28437. in: query
  28438. name: lastNum
  28439. required: true
  28440. type: integer
  28441. produces:
  28442. - application/json
  28443. responses:
  28444. "200":
  28445. description: OK
  28446. schema:
  28447. items:
  28448. $ref: '#/definitions/ermcp.HisExposureRsp'
  28449. type: array
  28450. "500":
  28451. description: Internal Server Error
  28452. schema:
  28453. $ref: '#/definitions/app.Response'
  28454. security:
  28455. - ApiKeyAuth: []
  28456. summary: 查询历史敞口(菜单:敞口/历史敞口)
  28457. tags:
  28458. - 企业风险管理(app)
  28459. /Ermcp/QueryMiddleGoods:
  28460. get:
  28461. parameters:
  28462. - description: 所属机构ID
  28463. in: query
  28464. name: userid
  28465. required: true
  28466. type: integer
  28467. - description: 状态 0-停用 1-正常
  28468. in: query
  28469. name: status
  28470. required: true
  28471. type: integer
  28472. produces:
  28473. - application/json
  28474. responses:
  28475. "200":
  28476. description: OK
  28477. schema:
  28478. items:
  28479. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  28480. type: array
  28481. "500":
  28482. description: Internal Server Error
  28483. schema:
  28484. $ref: '#/definitions/app.Response'
  28485. security:
  28486. - ApiKeyAuth: []
  28487. summary: 查询套保品种(菜单:套保品种)
  28488. tags:
  28489. - 企业风险管理(app)
  28490. /Ermcp/QueryMiddleGoodsChangeLog:
  28491. get:
  28492. parameters:
  28493. - description: 所属机构ID
  28494. in: query
  28495. name: userid
  28496. required: true
  28497. type: integer
  28498. - description: 套保品种id
  28499. in: query
  28500. name: middlegoodsid
  28501. required: true
  28502. type: integer
  28503. produces:
  28504. - application/json
  28505. responses:
  28506. "200":
  28507. description: OK
  28508. schema:
  28509. items:
  28510. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  28511. type: array
  28512. "500":
  28513. description: Internal Server Error
  28514. schema:
  28515. $ref: '#/definitions/app.Response'
  28516. security:
  28517. - ApiKeyAuth: []
  28518. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  28519. tags:
  28520. - 企业风险管理(app)
  28521. /Ermcp/QueryMiddleGoodsDetail:
  28522. get:
  28523. parameters:
  28524. - description: 所属机构ID
  28525. in: query
  28526. name: userid
  28527. required: true
  28528. type: integer
  28529. - description: 套保品种id
  28530. in: query
  28531. name: middlegoodsid
  28532. type: integer
  28533. produces:
  28534. - application/json
  28535. responses:
  28536. "200":
  28537. description: OK
  28538. schema:
  28539. items:
  28540. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  28541. type: array
  28542. "500":
  28543. description: Internal Server Error
  28544. schema:
  28545. $ref: '#/definitions/app.Response'
  28546. security:
  28547. - ApiKeyAuth: []
  28548. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  28549. tags:
  28550. - 企业风险管理(app)
  28551. /Ermcp/QueryPendingAuditInfo:
  28552. get:
  28553. parameters:
  28554. - description: 用户ID
  28555. in: query
  28556. name: UserId
  28557. required: true
  28558. type: integer
  28559. produces:
  28560. - application/json
  28561. responses:
  28562. "200":
  28563. description: OK
  28564. schema:
  28565. items:
  28566. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  28567. type: array
  28568. "500":
  28569. description: Internal Server Error
  28570. schema:
  28571. $ref: '#/definitions/app.Response'
  28572. security:
  28573. - ApiKeyAuth: []
  28574. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  28575. tags:
  28576. - 企业风险管理(app)
  28577. /Ermcp/QueryRealtimeExposure:
  28578. get:
  28579. parameters:
  28580. - description: 所属机构ID
  28581. in: query
  28582. name: userid
  28583. required: true
  28584. type: integer
  28585. produces:
  28586. - application/json
  28587. responses:
  28588. "200":
  28589. description: OK
  28590. schema:
  28591. items:
  28592. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  28593. type: array
  28594. "500":
  28595. description: Internal Server Error
  28596. schema:
  28597. $ref: '#/definitions/app.Response'
  28598. security:
  28599. - ApiKeyAuth: []
  28600. summary: 查询实时敞口
  28601. tags:
  28602. - 企业风险管理(app)
  28603. /Ermcp/QueryRealtimeExposurePosition:
  28604. get:
  28605. parameters:
  28606. - description: 用户id
  28607. in: query
  28608. name: userid
  28609. required: true
  28610. type: integer
  28611. - description: 套保商品ID
  28612. in: query
  28613. name: middleGoodsId
  28614. required: true
  28615. type: integer
  28616. produces:
  28617. - application/json
  28618. responses:
  28619. "200":
  28620. description: OK
  28621. schema:
  28622. items:
  28623. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  28624. type: array
  28625. "500":
  28626. description: Internal Server Error
  28627. schema:
  28628. $ref: '#/definitions/app.Response'
  28629. security:
  28630. - ApiKeyAuth: []
  28631. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  28632. tags:
  28633. - 企业风险管理(app)
  28634. /Ermcp/QueryRoleMenu:
  28635. get:
  28636. parameters:
  28637. - description: 登录ID
  28638. in: query
  28639. name: loginid
  28640. required: true
  28641. type: integer
  28642. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  28643. in: query
  28644. name: menutype
  28645. type: integer
  28646. produces:
  28647. - application/json
  28648. responses:
  28649. "200":
  28650. description: OK
  28651. schema:
  28652. items:
  28653. $ref: '#/definitions/models.RoleMenu'
  28654. type: array
  28655. "500":
  28656. description: Internal Server Error
  28657. schema:
  28658. $ref: '#/definitions/app.Response'
  28659. security:
  28660. - ApiKeyAuth: []
  28661. summary: 查询角色菜单和权限
  28662. tags:
  28663. - 企业风险管理(app)
  28664. /Ermcp/QueryTradeConfigTMP:
  28665. get:
  28666. parameters:
  28667. - description: 所属机构id
  28668. in: query
  28669. name: areauserid
  28670. type: integer
  28671. produces:
  28672. - application/json
  28673. responses:
  28674. "200":
  28675. description: OK
  28676. schema:
  28677. items:
  28678. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  28679. type: array
  28680. "500":
  28681. description: Internal Server Error
  28682. schema:
  28683. $ref: '#/definitions/app.Response'
  28684. security:
  28685. - ApiKeyAuth: []
  28686. summary: 查询交易模板配置
  28687. tags:
  28688. - 企业风险管理(app)
  28689. /Ermcp/QueryUserInfo:
  28690. get:
  28691. parameters:
  28692. - description: 所属机构用户ID
  28693. in: query
  28694. name: MemberUserID
  28695. required: true
  28696. type: integer
  28697. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  28698. in: query
  28699. name: queryType
  28700. required: true
  28701. type: integer
  28702. produces:
  28703. - application/json
  28704. responses:
  28705. "200":
  28706. description: OK
  28707. schema:
  28708. items:
  28709. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  28710. type: array
  28711. "500":
  28712. description: Internal Server Error
  28713. schema:
  28714. $ref: '#/definitions/app.Response'
  28715. security:
  28716. - ApiKeyAuth: []
  28717. summary: 查询客户资料
  28718. tags:
  28719. - 企业风险管理(app)
  28720. /Ermcp/QueryWarehouseInfo:
  28721. get:
  28722. parameters:
  28723. - description: 用户ID
  28724. in: query
  28725. name: userid
  28726. required: true
  28727. type: integer
  28728. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  28729. in: query
  28730. name: status
  28731. type: string
  28732. produces:
  28733. - application/json
  28734. responses:
  28735. "200":
  28736. description: OK
  28737. schema:
  28738. items:
  28739. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  28740. type: array
  28741. "500":
  28742. description: Internal Server Error
  28743. schema:
  28744. $ref: '#/definitions/app.Response'
  28745. security:
  28746. - ApiKeyAuth: []
  28747. summary: 查询仓库信息
  28748. tags:
  28749. - 企业风险管理(app)
  28750. /Ermcp3/QryAreaExpourseContractDetail:
  28751. get:
  28752. parameters:
  28753. - description: 用户ID
  28754. in: query
  28755. name: userid
  28756. required: true
  28757. type: integer
  28758. - description: 套保商品id
  28759. in: query
  28760. name: middlegoodsid
  28761. required: true
  28762. type: integer
  28763. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28764. in: query
  28765. name: cycletype
  28766. required: true
  28767. type: integer
  28768. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28769. 全(0)【原值】
  28770. in: query
  28771. name: cycletime
  28772. required: true
  28773. type: string
  28774. produces:
  28775. - application/json
  28776. responses:
  28777. "200":
  28778. description: OK
  28779. schema:
  28780. items:
  28781. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  28782. type: array
  28783. "500":
  28784. description: Internal Server Error
  28785. schema:
  28786. $ref: '#/definitions/app.Response'
  28787. security:
  28788. - ApiKeyAuth: []
  28789. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  28790. tags:
  28791. - 企业风险管理v3(app)
  28792. /Ermcp3/QryAreaExpourseFutuDetail:
  28793. get:
  28794. parameters:
  28795. - description: 用户ID
  28796. in: query
  28797. name: userid
  28798. required: true
  28799. type: integer
  28800. - description: 套保商品id
  28801. in: query
  28802. name: middlegoodsid
  28803. required: true
  28804. type: integer
  28805. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28806. in: query
  28807. name: cycletype
  28808. required: true
  28809. type: integer
  28810. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28811. 全(0)【原值】
  28812. in: query
  28813. name: cycletime
  28814. required: true
  28815. type: string
  28816. produces:
  28817. - application/json
  28818. responses:
  28819. "200":
  28820. description: OK
  28821. schema:
  28822. items:
  28823. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  28824. type: array
  28825. "500":
  28826. description: Internal Server Error
  28827. schema:
  28828. $ref: '#/definitions/app.Response'
  28829. security:
  28830. - ApiKeyAuth: []
  28831. summary: 查询敞口期货明细(敞口报表/期货明细)
  28832. tags:
  28833. - 企业风险管理v3(app)
  28834. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  28835. get:
  28836. parameters:
  28837. - description: 用户ID
  28838. in: query
  28839. name: userid
  28840. required: true
  28841. type: integer
  28842. - description: 套保商品id
  28843. in: query
  28844. name: middlegoodsid
  28845. required: true
  28846. type: integer
  28847. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28848. in: query
  28849. name: cycletype
  28850. required: true
  28851. type: integer
  28852. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28853. 全(0)【原值】
  28854. in: query
  28855. name: cycletime
  28856. required: true
  28857. type: string
  28858. produces:
  28859. - application/json
  28860. responses:
  28861. "200":
  28862. description: OK
  28863. schema:
  28864. items:
  28865. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  28866. type: array
  28867. "500":
  28868. description: Internal Server Error
  28869. schema:
  28870. $ref: '#/definitions/app.Response'
  28871. security:
  28872. - ApiKeyAuth: []
  28873. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  28874. tags:
  28875. - 企业风险管理v3(app)
  28876. /Ermcp3/QryAreaExpourseParamChLogDetail:
  28877. get:
  28878. parameters:
  28879. - description: 用户ID
  28880. in: query
  28881. name: userid
  28882. required: true
  28883. type: integer
  28884. - description: 套保商品id
  28885. in: query
  28886. name: middlegoodsid
  28887. required: true
  28888. type: integer
  28889. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28890. in: query
  28891. name: cycletype
  28892. required: true
  28893. type: integer
  28894. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28895. 全(0)【原值】
  28896. in: query
  28897. name: cycletime
  28898. required: true
  28899. type: string
  28900. produces:
  28901. - application/json
  28902. responses:
  28903. "200":
  28904. description: OK
  28905. schema:
  28906. items:
  28907. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  28908. type: array
  28909. "500":
  28910. description: Internal Server Error
  28911. schema:
  28912. $ref: '#/definitions/app.Response'
  28913. security:
  28914. - ApiKeyAuth: []
  28915. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  28916. tags:
  28917. - 企业风险管理v3(app)
  28918. /Ermcp3/QryAreaExpourseReport:
  28919. get:
  28920. parameters:
  28921. - description: 用户ID
  28922. in: query
  28923. name: userid
  28924. required: true
  28925. type: integer
  28926. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  28927. in: query
  28928. name: querytype
  28929. required: true
  28930. type: integer
  28931. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28932. in: query
  28933. name: cycletype
  28934. required: true
  28935. type: integer
  28936. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28937. 全(0)【原值】
  28938. in: query
  28939. name: cycletime
  28940. required: true
  28941. type: string
  28942. produces:
  28943. - application/json
  28944. responses:
  28945. "200":
  28946. description: OK
  28947. schema:
  28948. items:
  28949. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  28950. type: array
  28951. "500":
  28952. description: Internal Server Error
  28953. schema:
  28954. $ref: '#/definitions/app.Response'
  28955. security:
  28956. - ApiKeyAuth: []
  28957. summary: 查询敞口报表
  28958. tags:
  28959. - 企业风险管理v3(app)
  28960. /Ermcp3/QryAreaSpotplReport:
  28961. get:
  28962. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  28963. parameters:
  28964. - description: 用户ID
  28965. in: query
  28966. name: userid
  28967. required: true
  28968. type: integer
  28969. - description: 查询类型 1-报表 2-报表明细
  28970. in: query
  28971. name: querytype
  28972. required: true
  28973. type: integer
  28974. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28975. in: query
  28976. name: cycletype
  28977. required: true
  28978. type: integer
  28979. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28980. 全(0)【原值】
  28981. in: query
  28982. name: cycletime
  28983. required: true
  28984. type: string
  28985. - description: 现货品种id(明细必填)
  28986. in: query
  28987. name: deliverygoodsid
  28988. type: integer
  28989. - description: 币种id(明细必填)
  28990. in: query
  28991. name: currencyid
  28992. type: integer
  28993. - description: 日/周/月报表汇总维度 1:品种+品类
  28994. in: query
  28995. name: sumflag
  28996. type: integer
  28997. produces:
  28998. - application/json
  28999. responses:
  29000. "200":
  29001. description: OK
  29002. schema:
  29003. items:
  29004. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  29005. type: array
  29006. "500":
  29007. description: Internal Server Error
  29008. schema:
  29009. $ref: '#/definitions/app.Response'
  29010. security:
  29011. - ApiKeyAuth: []
  29012. summary: 查询现货报表
  29013. tags:
  29014. - 企业风险管理v3(app)
  29015. /Ermcp3/QryAreaStockReport:
  29016. get:
  29017. parameters:
  29018. - description: 用户ID
  29019. in: query
  29020. name: userid
  29021. required: true
  29022. type: integer
  29023. - description: 查询类型 1-报表 2-报表明细
  29024. in: query
  29025. name: querytype
  29026. required: true
  29027. type: integer
  29028. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29029. in: query
  29030. name: cycletype
  29031. required: true
  29032. type: integer
  29033. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  29034. 全(0)【原值】
  29035. in: query
  29036. name: cycletime
  29037. required: true
  29038. type: string
  29039. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  29040. in: query
  29041. name: sumfields
  29042. type: string
  29043. - description: 品种ID
  29044. in: query
  29045. name: deliverygoodsid
  29046. type: integer
  29047. - description: 品类ID
  29048. in: query
  29049. name: wrstandardid
  29050. type: integer
  29051. - description: 品牌ID
  29052. in: query
  29053. name: spotgoodsbrandid
  29054. type: integer
  29055. - description: 仓库ID
  29056. in: query
  29057. name: warehouseinfoid
  29058. type: integer
  29059. produces:
  29060. - application/json
  29061. responses:
  29062. "200":
  29063. description: OK
  29064. schema:
  29065. items:
  29066. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  29067. type: array
  29068. "500":
  29069. description: Internal Server Error
  29070. schema:
  29071. $ref: '#/definitions/app.Response'
  29072. security:
  29073. - ApiKeyAuth: []
  29074. summary: 查询库存报表
  29075. tags:
  29076. - 企业风险管理v3(app)
  29077. /Ermcp3/QryAreaSumPL:
  29078. get:
  29079. parameters:
  29080. - description: 用户ID
  29081. in: query
  29082. name: userid
  29083. required: true
  29084. type: integer
  29085. - description: 查询类型 1-报表 2-报表明细
  29086. in: query
  29087. name: querytype
  29088. required: true
  29089. type: integer
  29090. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29091. in: query
  29092. name: cycletype
  29093. required: true
  29094. type: integer
  29095. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  29096. 全(0)【原值】
  29097. in: query
  29098. name: cycletime
  29099. required: true
  29100. type: string
  29101. - description: 币种id(明细必填)
  29102. in: query
  29103. name: currencyid
  29104. type: integer
  29105. - description: 套保品种ID, 查询类型为2时起效
  29106. in: query
  29107. name: middlegoodsid
  29108. type: integer
  29109. produces:
  29110. - application/json
  29111. responses:
  29112. "200":
  29113. description: OK
  29114. schema:
  29115. items:
  29116. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  29117. type: array
  29118. "500":
  29119. description: Internal Server Error
  29120. schema:
  29121. $ref: '#/definitions/app.Response'
  29122. security:
  29123. - ApiKeyAuth: []
  29124. summary: 查询汇总损益表
  29125. tags:
  29126. - 企业风险管理v3(app)
  29127. /Ermcp3/QryFinanceReport:
  29128. get:
  29129. parameters:
  29130. - description: 用户ID
  29131. in: query
  29132. name: userid
  29133. required: true
  29134. type: integer
  29135. - description: 查询类型 1-报表 2-报表明细
  29136. in: query
  29137. name: querytype
  29138. required: true
  29139. type: integer
  29140. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29141. in: query
  29142. name: cycletype
  29143. required: true
  29144. type: integer
  29145. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  29146. 全(0)【原值】
  29147. in: query
  29148. name: cycletime
  29149. required: true
  29150. type: string
  29151. - description: 币种id(报表明细必填)
  29152. in: query
  29153. name: currencyid
  29154. type: integer
  29155. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  29156. in: query
  29157. name: sumfields
  29158. type: string
  29159. produces:
  29160. - application/json
  29161. responses:
  29162. "200":
  29163. description: OK
  29164. schema:
  29165. items:
  29166. $ref: '#/definitions/models.Ermcp3FinanceReport'
  29167. type: array
  29168. "500":
  29169. description: Internal Server Error
  29170. schema:
  29171. $ref: '#/definitions/app.Response'
  29172. security:
  29173. - ApiKeyAuth: []
  29174. summary: 查询财务报表
  29175. tags:
  29176. - 企业风险管理v3(app)
  29177. /Ermcp3/QrySCMiddleGoodsReport:
  29178. get:
  29179. parameters:
  29180. - description: 用户ID
  29181. in: query
  29182. name: userid
  29183. required: true
  29184. type: integer
  29185. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29186. in: query
  29187. name: cycletype
  29188. required: true
  29189. type: integer
  29190. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  29191. 全(0)【原值】
  29192. in: query
  29193. name: cycletime
  29194. required: true
  29195. type: string
  29196. - description: 合同id
  29197. in: query
  29198. name: spotcontractid
  29199. type: integer
  29200. - description: 套保品种id
  29201. in: query
  29202. name: middlegoodsid
  29203. type: integer
  29204. - description: 现货品种id
  29205. in: query
  29206. name: deliverygoodsid
  29207. type: integer
  29208. - description: 现货商品id
  29209. in: query
  29210. name: wrstandardid
  29211. type: integer
  29212. - description: 合同编号(模糊匹配)
  29213. in: query
  29214. name: contractno
  29215. type: string
  29216. produces:
  29217. - application/json
  29218. responses:
  29219. "200":
  29220. description: OK
  29221. schema:
  29222. items:
  29223. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  29224. type: array
  29225. "500":
  29226. description: Internal Server Error
  29227. schema:
  29228. $ref: '#/definitions/app.Response'
  29229. security:
  29230. - ApiKeyAuth: []
  29231. summary: 查询定价报表
  29232. tags:
  29233. - 企业风险管理v3(app)
  29234. /Ermcp3/QryTaFutureDataReport:
  29235. get:
  29236. parameters:
  29237. - description: 用户ID
  29238. in: query
  29239. name: userid
  29240. required: true
  29241. type: integer
  29242. - description: 查询类型 1-报表 2-报表明细
  29243. in: query
  29244. name: querytype
  29245. required: true
  29246. type: integer
  29247. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29248. in: query
  29249. name: cycletype
  29250. required: true
  29251. type: integer
  29252. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  29253. 全(0)【原值】
  29254. in: query
  29255. name: cycletime
  29256. required: true
  29257. type: string
  29258. - description: 币种id(查明细必填)
  29259. in: query
  29260. name: currencyid
  29261. type: integer
  29262. - description: 品种id(查明细必填)
  29263. in: query
  29264. name: goodsgroupid
  29265. type: integer
  29266. - description: 商品id(查明细必填)
  29267. in: query
  29268. name: goodsid
  29269. type: integer
  29270. - description: 买卖方向(查明细必填)
  29271. in: query
  29272. name: buyorsell
  29273. type: integer
  29274. produces:
  29275. - application/json
  29276. responses:
  29277. "200":
  29278. description: OK
  29279. schema:
  29280. items:
  29281. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  29282. type: array
  29283. "500":
  29284. description: Internal Server Error
  29285. schema:
  29286. $ref: '#/definitions/app.Response'
  29287. security:
  29288. - ApiKeyAuth: []
  29289. summary: 查询期货报表
  29290. tags:
  29291. - 企业风险管理v3(app)
  29292. /Ermcp3/QueryAreaStock:
  29293. get:
  29294. parameters:
  29295. - description: 用户ID
  29296. in: query
  29297. name: userid
  29298. required: true
  29299. type: integer
  29300. produces:
  29301. - application/json
  29302. responses:
  29303. "200":
  29304. description: OK
  29305. schema:
  29306. items:
  29307. $ref: '#/definitions/models.Ermcp3AreaStock'
  29308. type: array
  29309. "500":
  29310. description: Internal Server Error
  29311. schema:
  29312. $ref: '#/definitions/app.Response'
  29313. security:
  29314. - ApiKeyAuth: []
  29315. summary: 查询机构库存(库存管理/当前库存)
  29316. tags:
  29317. - 企业风险管理v3(app)
  29318. /Ermcp3/QueryAreaStockApply:
  29319. get:
  29320. parameters:
  29321. - description: 用户ID
  29322. in: query
  29323. name: userid
  29324. required: true
  29325. type: integer
  29326. - description: 用户类型 2-机构 7-企业成员
  29327. in: query
  29328. name: usertype
  29329. type: integer
  29330. - description: 现货商品ID
  29331. in: query
  29332. name: deliverygoodsid
  29333. type: integer
  29334. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  29335. in: query
  29336. name: inouttype
  29337. type: string
  29338. - description: 合同ID
  29339. in: query
  29340. name: spotcontractid
  29341. type: integer
  29342. - description: 品类ID
  29343. in: query
  29344. name: wrstandardid
  29345. type: integer
  29346. - description: 品牌ID
  29347. in: query
  29348. name: spotgoodsbrandid
  29349. type: integer
  29350. - description: 仓库ID
  29351. in: query
  29352. name: warehouseinfoid
  29353. type: integer
  29354. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29355. in: query
  29356. name: applystatus
  29357. type: string
  29358. produces:
  29359. - application/json
  29360. responses:
  29361. "200":
  29362. description: OK
  29363. schema:
  29364. items:
  29365. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  29366. type: array
  29367. "500":
  29368. description: Internal Server Error
  29369. schema:
  29370. $ref: '#/definitions/app.Response'
  29371. security:
  29372. - ApiKeyAuth: []
  29373. summary: 查询库存申请(出入库记录|库存审核)
  29374. tags:
  29375. - 企业风险管理v3(app)
  29376. /Ermcp3/QueryAreaStockApplySum:
  29377. get:
  29378. parameters:
  29379. - description: 合同ID
  29380. in: query
  29381. name: spotcontractid
  29382. required: true
  29383. type: integer
  29384. produces:
  29385. - application/json
  29386. responses:
  29387. "200":
  29388. description: OK
  29389. schema:
  29390. items:
  29391. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  29392. type: array
  29393. "500":
  29394. description: Internal Server Error
  29395. schema:
  29396. $ref: '#/definitions/app.Response'
  29397. security:
  29398. - ApiKeyAuth: []
  29399. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  29400. tags:
  29401. - 企业风险管理v3(app)
  29402. /Ermcp3/QueryDGFactoryItem:
  29403. get:
  29404. parameters:
  29405. - description: 用户id
  29406. in: query
  29407. name: userid
  29408. type: integer
  29409. - description: 用户类型 2-机构 7-企业成员
  29410. in: query
  29411. name: usertype
  29412. type: integer
  29413. - description: 选择项ID(SEQ_DGFACTORYITEM)
  29414. in: query
  29415. name: dgfactoryitemid
  29416. type: integer
  29417. - description: 现货品种ID
  29418. in: query
  29419. name: deliverygoodsid
  29420. type: integer
  29421. - description: 要素项类型
  29422. in: query
  29423. name: dgfactoryitemtypeid
  29424. type: integer
  29425. - description: 顺序
  29426. in: query
  29427. name: orderindex
  29428. type: integer
  29429. produces:
  29430. - application/json
  29431. responses:
  29432. "200":
  29433. description: OK
  29434. schema:
  29435. items:
  29436. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  29437. type: array
  29438. "500":
  29439. description: Internal Server Error
  29440. schema:
  29441. $ref: '#/definitions/app.Response'
  29442. security:
  29443. - ApiKeyAuth: []
  29444. summary: 查询品种要素定义项
  29445. tags:
  29446. - 企业风险管理v3(app)
  29447. /Ermcp3/QueryDeliveryGoods:
  29448. get:
  29449. parameters:
  29450. - description: 用户id
  29451. in: query
  29452. name: userid
  29453. required: true
  29454. type: integer
  29455. - description: 用户类型 2-机构 7-企业成员
  29456. in: query
  29457. name: usertype
  29458. type: integer
  29459. - description: 排除已配置的业务类型商品 1-套保 2-套利
  29460. in: query
  29461. name: excludecfg
  29462. type: integer
  29463. produces:
  29464. - application/json
  29465. responses:
  29466. "200":
  29467. description: OK
  29468. schema:
  29469. items:
  29470. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  29471. type: array
  29472. "500":
  29473. description: Internal Server Error
  29474. schema:
  29475. $ref: '#/definitions/app.Response'
  29476. security:
  29477. - ApiKeyAuth: []
  29478. summary: 查询现货商品
  29479. tags:
  29480. - 企业风险管理v3(app)
  29481. /Ermcp3/QueryDeliveryGoodsDetail:
  29482. get:
  29483. parameters:
  29484. - description: 用户id
  29485. in: query
  29486. name: userid
  29487. required: true
  29488. type: integer
  29489. - description: 用户类型 2-机构 7-企业成员
  29490. in: query
  29491. name: usertype
  29492. type: integer
  29493. - description: 现货商品id
  29494. in: query
  29495. name: deliverygoodsid
  29496. type: integer
  29497. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  29498. in: query
  29499. name: filtersubempty
  29500. type: integer
  29501. produces:
  29502. - application/json
  29503. responses:
  29504. "200":
  29505. description: OK
  29506. schema:
  29507. items:
  29508. $ref: '#/definitions/models.XHDeliveryGoods'
  29509. type: array
  29510. "500":
  29511. description: Internal Server Error
  29512. schema:
  29513. $ref: '#/definitions/app.Response'
  29514. security:
  29515. - ApiKeyAuth: []
  29516. summary: 查询现货商品详情
  29517. tags:
  29518. - 企业风险管理v3(app)
  29519. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  29520. get:
  29521. parameters:
  29522. - description: 合同id
  29523. in: query
  29524. name: spotcontractid
  29525. required: true
  29526. type: string
  29527. produces:
  29528. - application/json
  29529. responses:
  29530. "200":
  29531. description: OK
  29532. schema:
  29533. items:
  29534. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  29535. type: array
  29536. "500":
  29537. description: Internal Server Error
  29538. schema:
  29539. $ref: '#/definitions/app.Response'
  29540. security:
  29541. - ApiKeyAuth: []
  29542. summary: 查询现货合同期现配置信息
  29543. tags:
  29544. - 企业风险管理v3(app)
  29545. /Ermcp3/QueryExposureDetail:
  29546. get:
  29547. parameters:
  29548. - description: 用户id
  29549. in: query
  29550. name: userid
  29551. required: true
  29552. type: integer
  29553. - description: 用户类型 2-机构 7-企业成员
  29554. in: query
  29555. name: usertype
  29556. type: integer
  29557. - description: 套保商品
  29558. in: query
  29559. name: middlegoodsid
  29560. required: true
  29561. type: integer
  29562. produces:
  29563. - application/json
  29564. responses:
  29565. "200":
  29566. description: OK
  29567. schema:
  29568. items:
  29569. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  29570. type: array
  29571. "500":
  29572. description: Internal Server Error
  29573. schema:
  29574. $ref: '#/definitions/app.Response'
  29575. security:
  29576. - ApiKeyAuth: []
  29577. summary: 查询敞口现货明细
  29578. tags:
  29579. - 企业风险管理v3(app)
  29580. /Ermcp3/QueryExposureSpot:
  29581. get:
  29582. parameters:
  29583. - description: 用户id
  29584. in: query
  29585. name: userid
  29586. required: true
  29587. type: integer
  29588. - description: 用户类型 2-机构 7-企业成员
  29589. in: query
  29590. name: usertype
  29591. type: integer
  29592. produces:
  29593. - application/json
  29594. responses:
  29595. "200":
  29596. description: OK
  29597. schema:
  29598. items:
  29599. $ref: '#/definitions/models.Ermcp3AreaSpot'
  29600. type: array
  29601. "500":
  29602. description: Internal Server Error
  29603. schema:
  29604. $ref: '#/definitions/app.Response'
  29605. security:
  29606. - ApiKeyAuth: []
  29607. summary: 查询敞口现货头寸(敞口/现货头寸)
  29608. tags:
  29609. - 企业风险管理v3(app)
  29610. /Ermcp3/QueryExposureSpotDetail:
  29611. get:
  29612. parameters:
  29613. - description: 用户id
  29614. in: query
  29615. name: userid
  29616. required: true
  29617. type: integer
  29618. - description: 用户类型 2-机构 7-企业成员
  29619. in: query
  29620. name: usertype
  29621. type: integer
  29622. - description: 现货商品ID
  29623. in: query
  29624. name: wrstandardid
  29625. required: true
  29626. type: integer
  29627. produces:
  29628. - application/json
  29629. responses:
  29630. "200":
  29631. description: OK
  29632. schema:
  29633. items:
  29634. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  29635. type: array
  29636. "500":
  29637. description: Internal Server Error
  29638. schema:
  29639. $ref: '#/definitions/app.Response'
  29640. security:
  29641. - ApiKeyAuth: []
  29642. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  29643. tags:
  29644. - 企业风险管理v3(app)
  29645. /Ermcp3/QueryGoodsGroup:
  29646. get:
  29647. parameters:
  29648. - description: 用户id
  29649. in: query
  29650. name: userid
  29651. required: true
  29652. type: integer
  29653. - description: 用户类型 2-机构 7-企业成员
  29654. in: query
  29655. name: usertype
  29656. type: integer
  29657. - description: 排除套保品中已关联的商品组 1-排除
  29658. in: query
  29659. name: excludecfg
  29660. type: integer
  29661. produces:
  29662. - application/json
  29663. responses:
  29664. "200":
  29665. description: OK
  29666. schema:
  29667. items:
  29668. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  29669. type: array
  29670. "500":
  29671. description: Internal Server Error
  29672. schema:
  29673. $ref: '#/definitions/app.Response'
  29674. security:
  29675. - ApiKeyAuth: []
  29676. summary: 查询期货商品组
  29677. tags:
  29678. - 企业风险管理v3(app)
  29679. /Ermcp3/QueryGoodsWrstandard:
  29680. get:
  29681. parameters:
  29682. - description: 用户id
  29683. in: query
  29684. name: userid
  29685. required: true
  29686. type: integer
  29687. - description: 用户类型 2-机构 7-企业成员
  29688. in: query
  29689. name: usertype
  29690. type: integer
  29691. - description: 现货商品id
  29692. in: query
  29693. name: deliverygoodsid
  29694. type: integer
  29695. produces:
  29696. - application/json
  29697. responses:
  29698. "200":
  29699. description: OK
  29700. schema:
  29701. items:
  29702. $ref: '#/definitions/models.Ermcp3Wrstandard'
  29703. type: array
  29704. "500":
  29705. description: Internal Server Error
  29706. schema:
  29707. $ref: '#/definitions/app.Response'
  29708. security:
  29709. - ApiKeyAuth: []
  29710. summary: 查询商品品类
  29711. tags:
  29712. - 企业风险管理v3(app)
  29713. /Ermcp3/QueryGoodsbrand:
  29714. get:
  29715. parameters:
  29716. - description: 用户id
  29717. in: query
  29718. name: userid
  29719. required: true
  29720. type: integer
  29721. - description: 用户类型 2-机构 7-企业成员
  29722. in: query
  29723. name: usertype
  29724. type: integer
  29725. produces:
  29726. - application/json
  29727. responses:
  29728. "200":
  29729. description: OK
  29730. schema:
  29731. items:
  29732. $ref: '#/definitions/models.Ermcp3Brand'
  29733. type: array
  29734. "500":
  29735. description: Internal Server Error
  29736. schema:
  29737. $ref: '#/definitions/app.Response'
  29738. security:
  29739. - ApiKeyAuth: []
  29740. summary: 查询商品品牌
  29741. tags:
  29742. - 企业风险管理v3(app)
  29743. /Ermcp3/QueryHPMiddleGoods:
  29744. get:
  29745. parameters:
  29746. - description: 用户ID(填登录用户的userid)
  29747. in: query
  29748. name: userid
  29749. required: true
  29750. type: integer
  29751. - description: 买卖方向 0-买 1-卖
  29752. in: query
  29753. name: buyorsell
  29754. required: true
  29755. type: integer
  29756. - description: 商品组id
  29757. in: query
  29758. name: goodsgroupid
  29759. required: true
  29760. type: integer
  29761. - description: 套保计划编号(模糊匹配)
  29762. in: query
  29763. name: hedgeplanno
  29764. type: string
  29765. - description: 现货商品名称(模糊匹配)
  29766. in: query
  29767. name: wrstandardname
  29768. type: string
  29769. produces:
  29770. - application/json
  29771. responses:
  29772. "200":
  29773. description: OK
  29774. schema:
  29775. items:
  29776. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  29777. type: array
  29778. "500":
  29779. description: Internal Server Error
  29780. schema:
  29781. $ref: '#/definitions/app.Response'
  29782. security:
  29783. - ApiKeyAuth: []
  29784. summary: 查询可关联套保计划
  29785. tags:
  29786. - 企业风险管理v3(app)
  29787. /Ermcp3/QueryHedgePlan:
  29788. get:
  29789. parameters:
  29790. - description: 用户ID
  29791. in: query
  29792. name: userid
  29793. required: true
  29794. type: integer
  29795. - description: 用户类型 2-机构 7-企业成员
  29796. in: query
  29797. name: usertype
  29798. type: integer
  29799. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29800. in: query
  29801. name: hedgeplanstatus
  29802. required: true
  29803. type: string
  29804. produces:
  29805. - application/json
  29806. responses:
  29807. "200":
  29808. description: OK
  29809. schema:
  29810. items:
  29811. $ref: '#/definitions/models.Ermcp3HedgePlan'
  29812. type: array
  29813. "500":
  29814. description: Internal Server Error
  29815. schema:
  29816. $ref: '#/definitions/app.Response'
  29817. security:
  29818. - ApiKeyAuth: []
  29819. summary: 查询套保计划
  29820. tags:
  29821. - 企业风险管理v3(app)
  29822. /Ermcp3/QueryInnerTradeLink:
  29823. get:
  29824. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  29825. parameters:
  29826. - description: 外部成交单号
  29827. in: query
  29828. name: outtradeid
  29829. required: true
  29830. type: integer
  29831. produces:
  29832. - application/json
  29833. responses:
  29834. "200":
  29835. description: OK
  29836. schema:
  29837. items:
  29838. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  29839. type: array
  29840. "500":
  29841. description: Internal Server Error
  29842. schema:
  29843. $ref: '#/definitions/app.Response'
  29844. security:
  29845. - ApiKeyAuth: []
  29846. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  29847. tags:
  29848. - 企业风险管理v3(app)
  29849. /Ermcp3/QueryMiddleGoodsDetail:
  29850. get:
  29851. parameters:
  29852. - description: 用户id
  29853. in: query
  29854. name: userid
  29855. required: true
  29856. type: integer
  29857. - description: 用户类型 2-机构 7-企业成员
  29858. in: query
  29859. name: usertype
  29860. type: integer
  29861. - description: 套保品种id
  29862. in: query
  29863. name: middlegoodsid
  29864. type: integer
  29865. produces:
  29866. - application/json
  29867. responses:
  29868. "200":
  29869. description: OK
  29870. schema:
  29871. items:
  29872. $ref: '#/definitions/models.TBMiddleGoods'
  29873. type: array
  29874. "500":
  29875. description: Internal Server Error
  29876. schema:
  29877. $ref: '#/definitions/app.Response'
  29878. security:
  29879. - ApiKeyAuth: []
  29880. summary: 查询套保品种详情(套保品种/商品详情)
  29881. tags:
  29882. - 企业风险管理v3(app)
  29883. /Ermcp3/QueryOutTradeLink:
  29884. get:
  29885. description: 页面 app 现货->期现关联->外部成交单关联
  29886. parameters:
  29887. - description: 用户ID(填登录用户的userid)
  29888. in: query
  29889. name: userid
  29890. required: true
  29891. type: integer
  29892. - description: 外部订单号(模糊匹配)
  29893. in: query
  29894. name: outtradeid
  29895. type: string
  29896. - description: 合约名称/代码(模糊匹配)
  29897. in: query
  29898. name: goodsname
  29899. type: string
  29900. - description: 关联状态 0-未关联 1-已关联
  29901. in: query
  29902. name: hasinnerorder
  29903. type: integer
  29904. produces:
  29905. - application/json
  29906. responses:
  29907. "200":
  29908. description: OK
  29909. schema:
  29910. items:
  29911. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  29912. type: array
  29913. "500":
  29914. description: Internal Server Error
  29915. schema:
  29916. $ref: '#/definitions/app.Response'
  29917. security:
  29918. - ApiKeyAuth: []
  29919. summary: 查询外部成交单关联
  29920. tags:
  29921. - 企业风险管理v3(app)
  29922. /Ermcp3/QueryPaAreaAuditCfg:
  29923. get:
  29924. parameters:
  29925. - description: 用户id
  29926. in: query
  29927. name: userid
  29928. required: true
  29929. type: integer
  29930. produces:
  29931. - application/json
  29932. responses:
  29933. "200":
  29934. description: OK
  29935. schema:
  29936. items:
  29937. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  29938. type: array
  29939. "500":
  29940. description: Internal Server Error
  29941. schema:
  29942. $ref: '#/definitions/app.Response'
  29943. security:
  29944. - ApiKeyAuth: []
  29945. summary: 查询审核设置
  29946. tags:
  29947. - 企业风险管理v3(app)
  29948. /Ermcp3/QueryPaAreaSubject:
  29949. get:
  29950. parameters:
  29951. - description: 用户id
  29952. in: query
  29953. name: userid
  29954. required: true
  29955. type: integer
  29956. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  29957. in: query
  29958. name: subjectid
  29959. type: integer
  29960. - description: 主体类型 - 1:交易主体 2:业务部门
  29961. in: query
  29962. name: subjecttype
  29963. type: integer
  29964. - description: '主体状态 - 1:正常 2: 停用'
  29965. in: query
  29966. name: subjectstatus
  29967. type: integer
  29968. produces:
  29969. - application/json
  29970. responses:
  29971. "200":
  29972. description: OK
  29973. schema:
  29974. items:
  29975. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  29976. type: array
  29977. "500":
  29978. description: Internal Server Error
  29979. schema:
  29980. $ref: '#/definitions/app.Response'
  29981. security:
  29982. - ApiKeyAuth: []
  29983. summary: 查询交易主体
  29984. tags:
  29985. - 企业风险管理v3(app)
  29986. /Ermcp3/QueryPaTradeLink:
  29987. get:
  29988. description: 页面 app 现货->期现关联->期现单据关联
  29989. parameters:
  29990. - description: 用户ID
  29991. in: query
  29992. name: userid
  29993. required: true
  29994. type: integer
  29995. produces:
  29996. - application/json
  29997. responses:
  29998. "200":
  29999. description: OK
  30000. schema:
  30001. items:
  30002. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  30003. type: array
  30004. "500":
  30005. description: Internal Server Error
  30006. schema:
  30007. $ref: '#/definitions/app.Response'
  30008. security:
  30009. - ApiKeyAuth: []
  30010. summary: 查询期现单据关联
  30011. tags:
  30012. - 企业风险管理v3(app)
  30013. /Ermcp3/QueryPaTradeLinkDetail:
  30014. get:
  30015. description: 页面 app 现货->期现关联->关联记录
  30016. parameters:
  30017. - description: 用户ID(填登录用户的userid)
  30018. in: query
  30019. name: userid
  30020. required: true
  30021. type: integer
  30022. - description: 关联状态 1:成功 2:失败 3:解绑
  30023. in: query
  30024. name: linkstatus
  30025. type: integer
  30026. - description: 期货订单号(模糊匹配)
  30027. in: query
  30028. name: tradeid
  30029. type: string
  30030. - description: 现货编号(模糊匹配)
  30031. in: query
  30032. name: contractno
  30033. type: string
  30034. - description: 期货账户(模糊匹配)
  30035. in: query
  30036. name: taname
  30037. type: string
  30038. produces:
  30039. - application/json
  30040. responses:
  30041. "200":
  30042. description: OK
  30043. schema:
  30044. items:
  30045. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  30046. type: array
  30047. "500":
  30048. description: Internal Server Error
  30049. schema:
  30050. $ref: '#/definitions/app.Response'
  30051. security:
  30052. - ApiKeyAuth: []
  30053. summary: 查询期现关联记录
  30054. tags:
  30055. - 企业风险管理v3(app)
  30056. /Ermcp3/QueryParamChangeApp:
  30057. get:
  30058. description: |-
  30059. 原型页面:
  30060. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  30061. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  30062. parameters:
  30063. - description: 用户ID
  30064. in: query
  30065. name: userid
  30066. required: true
  30067. type: integer
  30068. - description: 现货品种id
  30069. in: query
  30070. name: deliverygoodsid
  30071. type: integer
  30072. - description: 现货商品id
  30073. in: query
  30074. name: wrstandardid
  30075. type: integer
  30076. - description: 套保商品id
  30077. in: query
  30078. name: middlegoodsid
  30079. type: integer
  30080. - description: 操作类型 1:新增 2:修改
  30081. in: query
  30082. name: operatetype
  30083. type: integer
  30084. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  30085. in: query
  30086. name: paramchangetype
  30087. type: integer
  30088. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  30089. in: query
  30090. name: ftstatus
  30091. type: string
  30092. produces:
  30093. - application/json
  30094. responses:
  30095. "200":
  30096. description: OK
  30097. schema:
  30098. items:
  30099. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  30100. type: array
  30101. "500":
  30102. description: Internal Server Error
  30103. schema:
  30104. $ref: '#/definitions/app.Response'
  30105. security:
  30106. - ApiKeyAuth: []
  30107. summary: 查询现货商品参数变更申请(流水)
  30108. tags:
  30109. - 企业风险管理v3(app)
  30110. /Ermcp3/QueryRootUserAccount:
  30111. get:
  30112. parameters:
  30113. - description: 用户ID
  30114. in: query
  30115. name: userid
  30116. required: true
  30117. type: integer
  30118. produces:
  30119. - application/json
  30120. responses:
  30121. "200":
  30122. description: OK
  30123. schema:
  30124. items:
  30125. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  30126. type: array
  30127. "500":
  30128. description: Internal Server Error
  30129. schema:
  30130. $ref: '#/definitions/app.Response'
  30131. security:
  30132. - ApiKeyAuth: []
  30133. summary: 查询顶级用户信息
  30134. tags:
  30135. - 企业风险管理v3(app)
  30136. /Ermcp3/QuerySCMiddleGoods:
  30137. get:
  30138. description: |-
  30139. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  30140. 现货编号 即 合同编号
  30141. parameters:
  30142. - description: 用户ID(填登录用户的userid)
  30143. in: query
  30144. name: userid
  30145. required: true
  30146. type: integer
  30147. - description: 买卖方向 0-买 1-卖
  30148. in: query
  30149. name: buyorsell
  30150. required: true
  30151. type: integer
  30152. - description: 商品组id
  30153. in: query
  30154. name: goodsgroupid
  30155. required: true
  30156. type: integer
  30157. - description: 业务类型 1:套保 2:套利
  30158. in: query
  30159. name: biztype
  30160. type: integer
  30161. - description: 现货编号(模糊匹配)
  30162. in: query
  30163. name: contractno
  30164. type: string
  30165. - description: 对手方(模糊匹配)
  30166. in: query
  30167. name: customername
  30168. type: string
  30169. - description: 现货商品名称(模糊匹配)
  30170. in: query
  30171. name: wrstandardname
  30172. type: string
  30173. produces:
  30174. - application/json
  30175. responses:
  30176. "200":
  30177. description: OK
  30178. schema:
  30179. items:
  30180. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  30181. type: array
  30182. "500":
  30183. description: Internal Server Error
  30184. schema:
  30185. $ref: '#/definitions/app.Response'
  30186. security:
  30187. - ApiKeyAuth: []
  30188. summary: 查询现货订单
  30189. tags:
  30190. - 企业风险管理v3(app)
  30191. /Ermcp3/QuerySpotContract:
  30192. get:
  30193. parameters:
  30194. - description: 用户id(当指定contractid, userid可不填)
  30195. in: query
  30196. name: userid
  30197. required: true
  30198. type: integer
  30199. - description: 用户类型 2-机构 7-企业成员
  30200. in: query
  30201. name: usertype
  30202. type: integer
  30203. - description: 合同类型 1-采购, -1-销售
  30204. in: query
  30205. name: contracttype
  30206. type: integer
  30207. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  30208. in: query
  30209. name: querytype
  30210. type: string
  30211. - description: 合同ID(SpotContractId)
  30212. in: query
  30213. name: contractid
  30214. type: string
  30215. - description: 合同编号(模糊匹配)
  30216. in: query
  30217. name: contractno
  30218. type: string
  30219. - description: 商品名称(模糊匹配)
  30220. in: query
  30221. name: wrstandardname
  30222. type: string
  30223. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  30224. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  30225. in: query
  30226. name: status
  30227. type: string
  30228. - description: 是否只查今日的合同 1-查今日合同
  30229. in: query
  30230. name: istoday
  30231. type: integer
  30232. produces:
  30233. - application/json
  30234. responses:
  30235. "200":
  30236. description: OK
  30237. schema:
  30238. items:
  30239. $ref: '#/definitions/models.Ermcp3Contract'
  30240. type: array
  30241. "500":
  30242. description: Internal Server Error
  30243. schema:
  30244. $ref: '#/definitions/app.Response'
  30245. security:
  30246. - ApiKeyAuth: []
  30247. summary: 查询现货合同
  30248. tags:
  30249. - 企业风险管理v3(app)
  30250. /Ermcp3/QuerySpotContractBS:
  30251. get:
  30252. parameters:
  30253. - description: 用户id
  30254. in: query
  30255. name: userid
  30256. required: true
  30257. type: integer
  30258. - description: 用户类型 2-机构 7-企业成员
  30259. in: query
  30260. name: usertype
  30261. type: integer
  30262. - description: 合同类型 1-采购, -1-销售
  30263. in: query
  30264. name: contracttype
  30265. required: true
  30266. type: integer
  30267. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  30268. in: query
  30269. name: querytype
  30270. type: integer
  30271. - description: 合同ID(SpotContractId)
  30272. in: query
  30273. name: contractid
  30274. type: string
  30275. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  30276. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  30277. in: query
  30278. name: status
  30279. type: string
  30280. - description: 是否只查今日的合同 1-查今日合同
  30281. in: query
  30282. name: istoday
  30283. type: integer
  30284. produces:
  30285. - application/json
  30286. responses:
  30287. "200":
  30288. description: OK
  30289. schema:
  30290. items:
  30291. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  30292. type: array
  30293. "500":
  30294. description: Internal Server Error
  30295. schema:
  30296. $ref: '#/definitions/app.Response'
  30297. security:
  30298. - ApiKeyAuth: []
  30299. summary: 查询合同(采购/销售)
  30300. tags:
  30301. - 企业风险管理v3(app)
  30302. /Ermcp3/QuerySpotGoodsPrice:
  30303. get:
  30304. parameters:
  30305. - description: 用户ID
  30306. in: query
  30307. name: userid
  30308. required: true
  30309. type: integer
  30310. produces:
  30311. - application/json
  30312. responses:
  30313. "200":
  30314. description: OK
  30315. schema:
  30316. items:
  30317. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  30318. type: array
  30319. "500":
  30320. description: Internal Server Error
  30321. schema:
  30322. $ref: '#/definitions/app.Response'
  30323. security:
  30324. - ApiKeyAuth: []
  30325. summary: 查询现货市价(现货市价)
  30326. tags:
  30327. - 企业风险管理v3(app)
  30328. /Ermcp3/QuerySpotGoodsPriceLog:
  30329. get:
  30330. parameters:
  30331. - description: 用户ID
  30332. in: query
  30333. name: userid
  30334. required: true
  30335. type: integer
  30336. - description: 现货商品ID
  30337. in: query
  30338. name: deliverygoodsid
  30339. required: true
  30340. type: integer
  30341. - description: 品牌ID
  30342. in: query
  30343. name: brandid
  30344. type: integer
  30345. - description: 品类ID
  30346. in: query
  30347. name: wrstandardid
  30348. type: integer
  30349. produces:
  30350. - application/json
  30351. responses:
  30352. "200":
  30353. description: OK
  30354. schema:
  30355. items:
  30356. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  30357. type: array
  30358. "500":
  30359. description: Internal Server Error
  30360. schema:
  30361. $ref: '#/definitions/app.Response'
  30362. security:
  30363. - ApiKeyAuth: []
  30364. summary: 查询现货市价详情(现货市价/详情)
  30365. tags:
  30366. - 企业风险管理v3(app)
  30367. /Ermcp3/QuerySubTaaccount:
  30368. get:
  30369. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  30370. parameters:
  30371. - description: 母账号id
  30372. in: query
  30373. name: parentaccountid
  30374. type: integer
  30375. - description: 母账号代码
  30376. in: query
  30377. name: parentaccountcode
  30378. type: string
  30379. produces:
  30380. - application/json
  30381. responses:
  30382. "200":
  30383. description: OK
  30384. schema:
  30385. items:
  30386. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  30387. type: array
  30388. "500":
  30389. description: Internal Server Error
  30390. schema:
  30391. $ref: '#/definitions/app.Response'
  30392. security:
  30393. - ApiKeyAuth: []
  30394. summary: 查询期货子账户
  30395. tags:
  30396. - 企业风险管理v3(app)
  30397. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  30398. get:
  30399. parameters:
  30400. - description: 套期项目ID
  30401. in: query
  30402. name: hedgeditemid
  30403. required: true
  30404. type: integer
  30405. produces:
  30406. - application/json
  30407. responses:
  30408. "200":
  30409. description: OK
  30410. schema:
  30411. items:
  30412. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  30413. type: array
  30414. "500":
  30415. description: Internal Server Error
  30416. schema:
  30417. $ref: '#/definitions/app.Response'
  30418. security:
  30419. - ApiKeyAuth: []
  30420. summary: 现货成交明细查询
  30421. tags:
  30422. - 企业风险管理v8
  30423. /Ermcp8/QueryERMCP2HedgedItemspot:
  30424. get:
  30425. parameters:
  30426. - description: 套期项目ID
  30427. in: query
  30428. name: hedgeditemid
  30429. required: true
  30430. type: integer
  30431. produces:
  30432. - application/json
  30433. responses:
  30434. "200":
  30435. description: OK
  30436. schema:
  30437. items:
  30438. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  30439. type: array
  30440. "500":
  30441. description: Internal Server Error
  30442. schema:
  30443. $ref: '#/definitions/app.Response'
  30444. security:
  30445. - ApiKeyAuth: []
  30446. summary: 套期计划明细查询
  30447. tags:
  30448. - 企业风险管理v8
  30449. /Ermcp8/QueryERMCPJRLinkPos:
  30450. get:
  30451. parameters:
  30452. - description: 套期项目ID
  30453. in: query
  30454. name: hedgeditemid
  30455. required: true
  30456. type: integer
  30457. produces:
  30458. - application/json
  30459. responses:
  30460. "200":
  30461. description: OK
  30462. schema:
  30463. items:
  30464. $ref: '#/definitions/models.Ermcpjrlinkpos'
  30465. type: array
  30466. "500":
  30467. description: Internal Server Error
  30468. schema:
  30469. $ref: '#/definitions/app.Response'
  30470. security:
  30471. - ApiKeyAuth: []
  30472. summary: 期货持仓明细查询
  30473. tags:
  30474. - 企业风险管理v8
  30475. /Ermcp8/QueryERMCPPatradeLinkDetail:
  30476. get:
  30477. parameters:
  30478. - description: 套期项目ID
  30479. in: query
  30480. name: hedgeditemid
  30481. required: true
  30482. type: integer
  30483. produces:
  30484. - application/json
  30485. responses:
  30486. "200":
  30487. description: OK
  30488. schema:
  30489. items:
  30490. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  30491. type: array
  30492. "500":
  30493. description: Internal Server Error
  30494. schema:
  30495. $ref: '#/definitions/app.Response'
  30496. security:
  30497. - ApiKeyAuth: []
  30498. summary: 期货成交单明细查询
  30499. tags:
  30500. - 企业风险管理v8
  30501. /Ermcp8/QueryErmcp2AreaExposure:
  30502. get:
  30503. parameters:
  30504. - description: 用户ID
  30505. in: query
  30506. name: userid
  30507. required: true
  30508. type: string
  30509. produces:
  30510. - application/json
  30511. responses:
  30512. "200":
  30513. description: OK
  30514. schema:
  30515. items:
  30516. $ref: '#/definitions/models.Ermcp2AreaExposure'
  30517. type: array
  30518. "500":
  30519. description: Internal Server Error
  30520. schema:
  30521. $ref: '#/definitions/app.Response'
  30522. security:
  30523. - ApiKeyAuth: []
  30524. summary: 企业敞口查询
  30525. tags:
  30526. - 企业风险管理v8
  30527. /Ermcp8/QueryErmcp2HedgedItem:
  30528. get:
  30529. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  30530. parameters:
  30531. - description: 用户ID
  30532. in: query
  30533. name: userid
  30534. required: true
  30535. type: string
  30536. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  30537. in: query
  30538. name: hedgedtype
  30539. type: integer
  30540. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  30541. in: query
  30542. name: hedgeditemstatus
  30543. type: integer
  30544. produces:
  30545. - application/json
  30546. responses:
  30547. "200":
  30548. description: OK
  30549. schema:
  30550. items:
  30551. $ref: '#/definitions/models.Ermcp2hedgeditem'
  30552. type: array
  30553. "500":
  30554. description: Internal Server Error
  30555. schema:
  30556. $ref: '#/definitions/app.Response'
  30557. security:
  30558. - ApiKeyAuth: []
  30559. summary: 查询被套期项目信息
  30560. tags:
  30561. - 企业风险管理v8
  30562. /Ermcp8/QueryErmcp2HedgedItemLink:
  30563. get:
  30564. parameters:
  30565. - description: 现货合同ID
  30566. in: query
  30567. name: spotcontractid
  30568. required: true
  30569. type: integer
  30570. produces:
  30571. - application/json
  30572. responses:
  30573. "200":
  30574. description: OK
  30575. schema:
  30576. items:
  30577. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  30578. type: array
  30579. "500":
  30580. description: Internal Server Error
  30581. schema:
  30582. $ref: '#/definitions/app.Response'
  30583. security:
  30584. - ApiKeyAuth: []
  30585. summary: 现货合同关联被套期项目查询
  30586. tags:
  30587. - 企业风险管理v8
  30588. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  30589. get:
  30590. parameters:
  30591. - description: 用户ID
  30592. in: query
  30593. name: userid
  30594. required: true
  30595. type: integer
  30596. - description: 套保品种ID
  30597. in: query
  30598. name: middlegoodsid
  30599. required: true
  30600. type: integer
  30601. produces:
  30602. - application/json
  30603. responses:
  30604. "200":
  30605. description: OK
  30606. schema:
  30607. items:
  30608. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  30609. type: array
  30610. "500":
  30611. description: Internal Server Error
  30612. schema:
  30613. $ref: '#/definitions/app.Response'
  30614. security:
  30615. - ApiKeyAuth: []
  30616. summary: 敞口明细 - 计划变动明细
  30617. tags:
  30618. - 企业风险管理v8
  30619. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  30620. get:
  30621. parameters:
  30622. - description: 用户ID
  30623. in: query
  30624. name: userid
  30625. required: true
  30626. type: integer
  30627. - description: 套保品种ID
  30628. in: query
  30629. name: middlegoodsid
  30630. required: true
  30631. type: integer
  30632. produces:
  30633. - application/json
  30634. responses:
  30635. "200":
  30636. description: OK
  30637. schema:
  30638. items:
  30639. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  30640. type: array
  30641. "500":
  30642. description: Internal Server Error
  30643. schema:
  30644. $ref: '#/definitions/app.Response'
  30645. security:
  30646. - ApiKeyAuth: []
  30647. summary: 敞口明细 - 现货变动明细查询
  30648. tags:
  30649. - 企业风险管理v8
  30650. /Ermcp8/QueryErmcp8EnableHedgeditem:
  30651. get:
  30652. parameters:
  30653. - description: 用户ID
  30654. in: query
  30655. name: userid
  30656. required: true
  30657. type: integer
  30658. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  30659. in: query
  30660. name: spottype
  30661. required: true
  30662. type: integer
  30663. - description: 现货商品ID
  30664. in: query
  30665. name: wrstandardid
  30666. type: integer
  30667. produces:
  30668. - application/json
  30669. responses:
  30670. "200":
  30671. description: OK
  30672. schema:
  30673. items:
  30674. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  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. - 企业风险管理v8
  30685. /Ermcp8/QueryErmcp8HedgeditemReport:
  30686. get:
  30687. parameters:
  30688. - description: 用户ID
  30689. in: query
  30690. name: userid
  30691. required: true
  30692. type: integer
  30693. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30694. in: query
  30695. name: cycletype
  30696. type: integer
  30697. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  30698. 全(0)【原值】
  30699. in: query
  30700. name: cycletime
  30701. required: true
  30702. type: string
  30703. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  30704. in: query
  30705. name: hedgedtype
  30706. type: integer
  30707. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  30708. in: query
  30709. name: hedgeditemstatus
  30710. type: integer
  30711. - description: 项目编号,模糊查询
  30712. in: query
  30713. name: hedgeditemnum
  30714. type: string
  30715. - description: 现货商品ID
  30716. in: query
  30717. name: wrstandardid
  30718. type: integer
  30719. produces:
  30720. - application/json
  30721. responses:
  30722. "200":
  30723. description: OK
  30724. schema:
  30725. items:
  30726. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  30727. type: array
  30728. "500":
  30729. description: Internal Server Error
  30730. schema:
  30731. $ref: '#/definitions/app.Response'
  30732. security:
  30733. - ApiKeyAuth: []
  30734. summary: 套期项目报表查询
  30735. tags:
  30736. - 企业风险管理v8
  30737. /Ermcp8/QueryErmcp8RunningHedgeditem:
  30738. get:
  30739. parameters:
  30740. - description: 用户ID
  30741. in: query
  30742. name: userid
  30743. required: true
  30744. type: string
  30745. produces:
  30746. - application/json
  30747. responses:
  30748. "200":
  30749. description: OK
  30750. schema:
  30751. items:
  30752. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  30753. type: array
  30754. "500":
  30755. description: Internal Server Error
  30756. schema:
  30757. $ref: '#/definitions/app.Response'
  30758. security:
  30759. - ApiKeyAuth: []
  30760. summary: 查询执行中项目查询信息
  30761. tags:
  30762. - 企业风险管理v8
  30763. /Ermcp8/QueryInternalEnableTradeDetail:
  30764. get:
  30765. parameters:
  30766. - description: 企业ID
  30767. in: query
  30768. name: areauserid
  30769. required: true
  30770. type: integer
  30771. - description: 期货合约ID
  30772. in: query
  30773. name: goodsid
  30774. required: true
  30775. type: integer
  30776. - description: 交易用户ID
  30777. in: query
  30778. name: tradeuserid
  30779. required: true
  30780. type: integer
  30781. produces:
  30782. - application/json
  30783. responses:
  30784. "200":
  30785. description: OK
  30786. schema:
  30787. items:
  30788. $ref: '#/definitions/models.InternalEnableTradeDetail'
  30789. type: array
  30790. "500":
  30791. description: Internal Server Error
  30792. schema:
  30793. $ref: '#/definitions/app.Response'
  30794. security:
  30795. - ApiKeyAuth: []
  30796. summary: 内部成交单可关联项目查询
  30797. tags:
  30798. - 企业风险管理v8
  30799. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  30800. get:
  30801. parameters:
  30802. - description: 用户编号
  30803. in: query
  30804. name: userid
  30805. required: true
  30806. type: integer
  30807. - description: 起始日期(格式yyyymmdd)
  30808. in: query
  30809. name: begindate
  30810. type: string
  30811. - description: 终止日期(格式yyyymmdd)
  30812. in: query
  30813. name: enddate
  30814. type: string
  30815. - description: 合约代码
  30816. in: query
  30817. name: goodscode
  30818. type: string
  30819. - description: 合约名称
  30820. in: query
  30821. name: goodsname
  30822. type: string
  30823. - description: 成交单号
  30824. in: query
  30825. name: tradeid
  30826. type: integer
  30827. - description: 方向 - 0:买 1:卖
  30828. in: query
  30829. name: buyorsell
  30830. type: integer
  30831. - description: 套期主体
  30832. in: query
  30833. name: accountname
  30834. type: string
  30835. produces:
  30836. - application/json
  30837. responses:
  30838. "200":
  30839. description: OK
  30840. schema:
  30841. items:
  30842. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  30843. type: array
  30844. "500":
  30845. description: Internal Server Error
  30846. schema:
  30847. $ref: '#/definitions/app.Response'
  30848. security:
  30849. - ApiKeyAuth: []
  30850. summary: 内部未关联成交单查询
  30851. tags:
  30852. - 企业风险管理v8
  30853. /Ermcp8/QueryMarketCalendar:
  30854. get:
  30855. parameters:
  30856. - description: 市场ID
  30857. in: query
  30858. name: marketid
  30859. type: integer
  30860. produces:
  30861. - application/json
  30862. responses:
  30863. "200":
  30864. description: OK
  30865. schema:
  30866. items:
  30867. $ref: '#/definitions/models.Marketcalendar'
  30868. type: array
  30869. "500":
  30870. description: Internal Server Error
  30871. schema:
  30872. $ref: '#/definitions/app.Response'
  30873. security:
  30874. - ApiKeyAuth: []
  30875. summary: 市场节假日查询
  30876. tags:
  30877. - 企业风险管理v8
  30878. /Ermcp8/QueryPatradeLinkDetail:
  30879. get:
  30880. parameters:
  30881. - description: 用户ID
  30882. in: query
  30883. name: userid
  30884. required: true
  30885. type: integer
  30886. - description: 套保品种ID
  30887. in: query
  30888. name: middlegoodsid
  30889. required: true
  30890. type: integer
  30891. produces:
  30892. - application/json
  30893. responses:
  30894. "200":
  30895. description: OK
  30896. schema:
  30897. items:
  30898. $ref: '#/definitions/models.Patradelinkdetail'
  30899. type: array
  30900. "500":
  30901. description: Internal Server Error
  30902. schema:
  30903. $ref: '#/definitions/app.Response'
  30904. security:
  30905. - ApiKeyAuth: []
  30906. summary: 敞口明细 - 期货变动明细
  30907. tags:
  30908. - 企业风险管理v8
  30909. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  30910. get:
  30911. parameters:
  30912. - description: 企业ID
  30913. in: query
  30914. name: areauserid
  30915. required: true
  30916. type: integer
  30917. - description: 计划类型 - 1:采购 -1:销售
  30918. in: query
  30919. name: contracttype
  30920. type: integer
  30921. - description: 计划编号,模糊查询
  30922. in: query
  30923. name: hedgeplanno
  30924. type: string
  30925. - description: 现货商品,模糊查询
  30926. in: query
  30927. name: wrstandardname
  30928. type: string
  30929. produces:
  30930. - application/json
  30931. responses:
  30932. "200":
  30933. description: OK
  30934. schema:
  30935. items:
  30936. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  30937. type: array
  30938. "500":
  30939. description: Internal Server Error
  30940. schema:
  30941. $ref: '#/definitions/app.Response'
  30942. security:
  30943. - ApiKeyAuth: []
  30944. summary: 未关联购销计划
  30945. tags:
  30946. - 企业风险管理v8
  30947. /Ermcp8/QueryUnLinkSpotContract:
  30948. get:
  30949. parameters:
  30950. - description: 用户ID
  30951. in: query
  30952. name: userid
  30953. required: true
  30954. type: integer
  30955. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  30956. in: query
  30957. name: pricetype
  30958. type: integer
  30959. - description: 合同编号, 模拟查询
  30960. in: query
  30961. name: contractno
  30962. type: string
  30963. - description: 对手方, 模拟查询
  30964. in: query
  30965. name: customername
  30966. type: string
  30967. - description: 项合同类型 - 1:采购 -1:销售
  30968. in: query
  30969. name: contracttype
  30970. type: integer
  30971. produces:
  30972. - application/json
  30973. responses:
  30974. "200":
  30975. description: OK
  30976. schema:
  30977. items:
  30978. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  30979. type: array
  30980. "500":
  30981. description: Internal Server Error
  30982. schema:
  30983. $ref: '#/definitions/app.Response'
  30984. security:
  30985. - ApiKeyAuth: []
  30986. summary: 未关联合同查询
  30987. tags:
  30988. - 企业风险管理v8
  30989. /Erms2/QueryArbitrageStrategy:
  30990. get:
  30991. parameters:
  30992. - description: 账户ID
  30993. in: query
  30994. name: userid
  30995. required: true
  30996. type: integer
  30997. - description: 商品组ID(品种ID)
  30998. in: query
  30999. name: goodsgroupid
  31000. type: string
  31001. produces:
  31002. - application/json
  31003. responses:
  31004. "200":
  31005. description: OK
  31006. schema:
  31007. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  31008. "500":
  31009. description: Internal Server Error
  31010. schema:
  31011. $ref: '#/definitions/app.Response'
  31012. security:
  31013. - ApiKeyAuth: []
  31014. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  31015. tags:
  31016. - 风险管理
  31017. /Erms2/QueryInnerTradeDetail:
  31018. get:
  31019. parameters:
  31020. - description: 资金账户
  31021. in: query
  31022. name: accountid
  31023. required: true
  31024. type: integer
  31025. produces:
  31026. - application/json
  31027. responses:
  31028. "200":
  31029. description: OK
  31030. schema:
  31031. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  31032. "500":
  31033. description: Internal Server Error
  31034. schema:
  31035. $ref: '#/definitions/app.Response'
  31036. security:
  31037. - ApiKeyAuth: []
  31038. summary: 查询内部成交单信息
  31039. tags:
  31040. - 风险管理
  31041. /Erms2/QuerySpotContract:
  31042. get:
  31043. parameters:
  31044. - description: 策略申请ID
  31045. in: query
  31046. name: asapplyid
  31047. required: true
  31048. type: integer
  31049. - description: 现货合同ID
  31050. in: query
  31051. name: spotcontractid
  31052. type: integer
  31053. produces:
  31054. - application/json
  31055. responses:
  31056. "200":
  31057. description: OK
  31058. schema:
  31059. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  31060. "500":
  31061. description: Internal Server Error
  31062. schema:
  31063. $ref: '#/definitions/app.Response'
  31064. security:
  31065. - ApiKeyAuth: []
  31066. summary: 查询现货合同表信息(指定策略ID、未结束的)
  31067. tags:
  31068. - 风险管理
  31069. /Erms3/AddErms2ASApply:
  31070. post:
  31071. parameters:
  31072. - description: 申请参数
  31073. in: body
  31074. name: jsonBody
  31075. required: true
  31076. schema:
  31077. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  31078. produces:
  31079. - application/json
  31080. responses:
  31081. "200":
  31082. description: OK
  31083. schema:
  31084. $ref: '#/definitions/app.Response'
  31085. "500":
  31086. description: Internal Server Error
  31087. schema:
  31088. $ref: '#/definitions/app.Response'
  31089. security:
  31090. - ApiKeyAuth: []
  31091. summary: 新增期现套利业务申请
  31092. tags:
  31093. - 风险管理v3
  31094. /Erms3/AddErms2SpotTradeApply:
  31095. post:
  31096. parameters:
  31097. - description: 申请参数
  31098. in: body
  31099. name: jsonBody
  31100. required: true
  31101. schema:
  31102. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  31103. produces:
  31104. - application/json
  31105. responses:
  31106. "200":
  31107. description: OK
  31108. schema:
  31109. $ref: '#/definitions/app.Response'
  31110. "500":
  31111. description: Internal Server Error
  31112. schema:
  31113. $ref: '#/definitions/app.Response'
  31114. security:
  31115. - ApiKeyAuth: []
  31116. summary: 新增现货贸易业务申请
  31117. tags:
  31118. - 风险管理v3
  31119. /Erms3/AddSpotContractApply:
  31120. post:
  31121. parameters:
  31122. - description: 申请参数
  31123. in: body
  31124. name: jsonBody
  31125. required: true
  31126. schema:
  31127. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  31128. produces:
  31129. - application/json
  31130. responses:
  31131. "200":
  31132. description: OK
  31133. schema:
  31134. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  31135. "500":
  31136. description: Internal Server Error
  31137. schema:
  31138. $ref: '#/definitions/app.Response'
  31139. security:
  31140. - ApiKeyAuth: []
  31141. summary: 新增现货合同申请
  31142. tags:
  31143. - 风险管理v3
  31144. /Erms3/AddUserInfoApply:
  31145. post:
  31146. parameters:
  31147. - description: 用户信息
  31148. in: body
  31149. name: jsonBody
  31150. required: true
  31151. schema:
  31152. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  31153. produces:
  31154. - application/json
  31155. responses:
  31156. "200":
  31157. description: OK
  31158. schema:
  31159. $ref: '#/definitions/app.Response'
  31160. "500":
  31161. description: Internal Server Error
  31162. schema:
  31163. $ref: '#/definitions/app.Response'
  31164. security:
  31165. - ApiKeyAuth: []
  31166. summary: 新增客户申请
  31167. tags:
  31168. - 风险管理v3
  31169. /Erms3/DeleteUserInfoApply:
  31170. get:
  31171. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  31172. parameters:
  31173. - description: 用户ID
  31174. in: query
  31175. name: userID
  31176. required: true
  31177. type: integer
  31178. produces:
  31179. - application/json
  31180. responses:
  31181. "200":
  31182. description: OK
  31183. schema:
  31184. $ref: '#/definitions/app.Response'
  31185. "500":
  31186. description: Internal Server Error
  31187. schema:
  31188. $ref: '#/definitions/app.Response'
  31189. security:
  31190. - ApiKeyAuth: []
  31191. summary: 删除客户申请
  31192. tags:
  31193. - 风险管理v3
  31194. /Erms3/ModifyUserInfoApply:
  31195. post:
  31196. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  31197. int, "userstate": 2 }'
  31198. parameters:
  31199. - description: 用户信息
  31200. in: body
  31201. name: jsonBody
  31202. required: true
  31203. schema:
  31204. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  31205. produces:
  31206. - application/json
  31207. responses:
  31208. "200":
  31209. description: OK
  31210. schema:
  31211. $ref: '#/definitions/app.Response'
  31212. "500":
  31213. description: Internal Server Error
  31214. schema:
  31215. $ref: '#/definitions/app.Response'
  31216. security:
  31217. - ApiKeyAuth: []
  31218. summary: 修改客户申请
  31219. tags:
  31220. - 风险管理v3
  31221. /Erms3/QueryBusinessInfo:
  31222. get:
  31223. parameters:
  31224. - description: 资金账号ID列表,用逗号分隔
  31225. in: query
  31226. name: accountids
  31227. required: true
  31228. type: string
  31229. - description: 状态,0为未结束 1为已结束
  31230. in: query
  31231. name: status
  31232. required: true
  31233. type: integer
  31234. produces:
  31235. - application/json
  31236. responses:
  31237. "200":
  31238. description: OK
  31239. schema:
  31240. items:
  31241. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  31242. type: array
  31243. "500":
  31244. description: Internal Server Error
  31245. schema:
  31246. $ref: '#/definitions/app.Response'
  31247. security:
  31248. - ApiKeyAuth: []
  31249. summary: 查询业务表单数据
  31250. tags:
  31251. - 风险管理v3
  31252. /Erms3/QueryPendingAuditContract:
  31253. get:
  31254. parameters:
  31255. - description: 资金账号ID列表,逗号隔开
  31256. in: query
  31257. name: accountids
  31258. required: true
  31259. type: string
  31260. - description: 合同类型 1-采购 -1-销售
  31261. in: query
  31262. name: contracttype
  31263. required: true
  31264. type: integer
  31265. - description: 合同模式 1-普通 2-回购
  31266. in: query
  31267. name: contractmode
  31268. required: true
  31269. type: integer
  31270. produces:
  31271. - application/json
  31272. responses:
  31273. "200":
  31274. description: OK
  31275. schema:
  31276. items:
  31277. $ref: '#/definitions/erms3.QryAuditContractRsp'
  31278. type: array
  31279. "500":
  31280. description: Internal Server Error
  31281. schema:
  31282. $ref: '#/definitions/app.Response'
  31283. security:
  31284. - ApiKeyAuth: []
  31285. summary: 查询待审核合同
  31286. tags:
  31287. - 风险管理v3
  31288. /Erms3/QueryPendingBusiness:
  31289. get:
  31290. parameters:
  31291. - description: 资金账号ID列表,逗号隔开
  31292. in: query
  31293. name: accountids
  31294. required: true
  31295. type: string
  31296. produces:
  31297. - application/json
  31298. responses:
  31299. "200":
  31300. description: OK
  31301. schema:
  31302. items:
  31303. $ref: '#/definitions/erms3.QryPendingBizRsp'
  31304. type: array
  31305. "500":
  31306. description: Internal Server Error
  31307. schema:
  31308. $ref: '#/definitions/app.Response'
  31309. security:
  31310. - ApiKeyAuth: []
  31311. summary: 查询待审核基差贸易业务
  31312. tags:
  31313. - 风险管理v3
  31314. /Erms3/QuerySpotContractAppleForm:
  31315. get:
  31316. parameters:
  31317. - description: 登录账号
  31318. in: query
  31319. name: loginID
  31320. required: true
  31321. type: integer
  31322. produces:
  31323. - application/json
  31324. responses:
  31325. "200":
  31326. description: OK
  31327. schema:
  31328. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  31329. "500":
  31330. description: Internal Server Error
  31331. schema:
  31332. $ref: '#/definitions/app.Response'
  31333. security:
  31334. - ApiKeyAuth: []
  31335. summary: 查询合同申请表单数据
  31336. tags:
  31337. - 风险管理v3
  31338. /Erms3/QuerySpotContractDetail:
  31339. get:
  31340. parameters:
  31341. - description: 资金账号ID列表,用逗号分隔
  31342. in: query
  31343. name: accountids
  31344. required: true
  31345. type: string
  31346. - description: 合同类型,1为采购合同 -1为销售合同
  31347. in: query
  31348. name: contracttype
  31349. required: true
  31350. type: integer
  31351. - description: 合同模式,1为普通合同 2为回购销售合同
  31352. in: query
  31353. name: contractmode
  31354. required: true
  31355. type: integer
  31356. - description: 状态,0为履约中 1为已完成
  31357. in: query
  31358. name: status
  31359. required: true
  31360. type: integer
  31361. produces:
  31362. - application/json
  31363. responses:
  31364. "200":
  31365. description: OK
  31366. schema:
  31367. items:
  31368. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  31369. type: array
  31370. "500":
  31371. description: Internal Server Error
  31372. schema:
  31373. $ref: '#/definitions/app.Response'
  31374. security:
  31375. - ApiKeyAuth: []
  31376. summary: 查询合同详细信息
  31377. tags:
  31378. - 风险管理v3
  31379. /Erms3/QueryUserInfoApplies:
  31380. get:
  31381. parameters:
  31382. - description: 页码
  31383. in: query
  31384. name: page
  31385. type: integer
  31386. - description: 每页条数
  31387. in: query
  31388. name: pagesize
  31389. type: integer
  31390. - description: 客户名称,支持模糊查询
  31391. in: query
  31392. name: userName
  31393. type: string
  31394. produces:
  31395. - application/json
  31396. responses:
  31397. "200":
  31398. description: OK
  31399. schema:
  31400. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  31401. "500":
  31402. description: Internal Server Error
  31403. schema:
  31404. $ref: '#/definitions/app.Response'
  31405. security:
  31406. - ApiKeyAuth: []
  31407. summary: 客户申请信息查询
  31408. tags:
  31409. - 风险管理v3
  31410. /Erms3/QueryUserInfos:
  31411. get:
  31412. parameters:
  31413. - description: 页码
  31414. in: query
  31415. name: page
  31416. type: integer
  31417. - description: 每页条数
  31418. in: query
  31419. name: pagesize
  31420. type: integer
  31421. - description: 客户名称,支持模糊查询
  31422. in: query
  31423. name: userName
  31424. type: string
  31425. produces:
  31426. - application/json
  31427. responses:
  31428. "200":
  31429. description: OK
  31430. schema:
  31431. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  31432. "500":
  31433. description: Internal Server Error
  31434. schema:
  31435. $ref: '#/definitions/app.Response'
  31436. security:
  31437. - ApiKeyAuth: []
  31438. summary: 客户信息查询
  31439. tags:
  31440. - 风险管理v3
  31441. /Ferroalloy/GetSpotGoodsPrice:
  31442. get:
  31443. parameters:
  31444. - description: 页码
  31445. in: query
  31446. name: page
  31447. type: integer
  31448. - description: 每页条数
  31449. in: query
  31450. name: pagesize
  31451. type: integer
  31452. produces:
  31453. - application/json
  31454. responses:
  31455. "200":
  31456. description: OK
  31457. schema:
  31458. items:
  31459. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  31460. type: array
  31461. "500":
  31462. description: Internal Server Error
  31463. schema:
  31464. $ref: '#/definitions/app.Response'
  31465. security:
  31466. - ApiKeyAuth: []
  31467. summary: 获取现货行情
  31468. tags:
  31469. - 铁合金
  31470. /Ferroalloy/QueryInvestorLevelGroup:
  31471. get:
  31472. produces:
  31473. - application/json
  31474. responses:
  31475. "200":
  31476. description: OK
  31477. schema:
  31478. items:
  31479. $ref: '#/definitions/models.Thjinvestorlevelgroup'
  31480. type: array
  31481. "500":
  31482. description: Internal Server Error
  31483. schema:
  31484. $ref: '#/definitions/app.Response'
  31485. summary: 查询查询我推荐的好友等级
  31486. tags:
  31487. - 铁合金
  31488. /Ferroalloy/QueryMyDeposit:
  31489. get:
  31490. parameters:
  31491. - description: 用户ID
  31492. in: query
  31493. name: userid
  31494. required: true
  31495. type: integer
  31496. produces:
  31497. - application/json
  31498. responses:
  31499. "200":
  31500. description: OK
  31501. schema:
  31502. items:
  31503. $ref: '#/definitions/models.Thjinvesotrdeposit'
  31504. type: array
  31505. "500":
  31506. description: Internal Server Error
  31507. schema:
  31508. $ref: '#/definitions/app.Response'
  31509. security:
  31510. - ApiKeyAuth: []
  31511. summary: 查询本人定金比例
  31512. tags:
  31513. - 铁合金
  31514. /Ferroalloy/QueryMyRefer:
  31515. get:
  31516. parameters:
  31517. - description: 用户ID
  31518. in: query
  31519. name: userid
  31520. required: true
  31521. type: integer
  31522. - description: 页码
  31523. in: query
  31524. name: page
  31525. type: integer
  31526. - description: 每页条数
  31527. in: query
  31528. name: pagesize
  31529. type: integer
  31530. produces:
  31531. - application/json
  31532. responses:
  31533. "200":
  31534. description: OK
  31535. schema:
  31536. items:
  31537. $ref: '#/definitions/models.MyRefer'
  31538. type: array
  31539. "500":
  31540. description: Internal Server Error
  31541. schema:
  31542. $ref: '#/definitions/app.Response'
  31543. security:
  31544. - ApiKeyAuth: []
  31545. summary: 查询我的推荐列表
  31546. tags:
  31547. - 铁合金
  31548. /Ferroalloy/QueryMyRegisterMoney:
  31549. get:
  31550. parameters:
  31551. - description: 资金账户
  31552. in: query
  31553. name: accountid
  31554. required: true
  31555. type: integer
  31556. produces:
  31557. - application/json
  31558. responses:
  31559. "200":
  31560. description: OK
  31561. schema:
  31562. items:
  31563. $ref: '#/definitions/models.RegisterMoney'
  31564. type: array
  31565. "500":
  31566. description: Internal Server Error
  31567. schema:
  31568. $ref: '#/definitions/app.Response'
  31569. summary: 查询我的注册红包
  31570. tags:
  31571. - 铁合金
  31572. /Ferroalloy/QuerySpotgoodsPrice:
  31573. get:
  31574. parameters:
  31575. - description: 页码
  31576. in: query
  31577. name: page
  31578. type: integer
  31579. - description: 每页条数
  31580. in: query
  31581. name: pagesize
  31582. type: integer
  31583. produces:
  31584. - application/json
  31585. responses:
  31586. "200":
  31587. description: OK
  31588. schema:
  31589. items:
  31590. $ref: '#/definitions/models.Spotgoodsprice'
  31591. type: array
  31592. "500":
  31593. description: Internal Server Error
  31594. schema:
  31595. $ref: '#/definitions/app.Response'
  31596. security:
  31597. - ApiKeyAuth: []
  31598. summary: 查询行情-现货列表
  31599. tags:
  31600. - 铁合金
  31601. /Ferroalloy/QueryTHJFriends:
  31602. get:
  31603. parameters:
  31604. - description: 用户ID
  31605. in: query
  31606. name: userid
  31607. required: true
  31608. type: integer
  31609. - description: 客户名称(企业名称),模糊查询
  31610. in: query
  31611. name: customername
  31612. type: string
  31613. - description: 手机号码(加密存储),加密串精确查询
  31614. in: query
  31615. name: mobile
  31616. type: string
  31617. - description: 等级ID
  31618. in: query
  31619. name: levelgroupid
  31620. type: integer
  31621. - description: 页码
  31622. in: query
  31623. name: page
  31624. type: integer
  31625. - description: 每页条数
  31626. in: query
  31627. name: pagesize
  31628. type: integer
  31629. produces:
  31630. - application/json
  31631. responses:
  31632. "200":
  31633. description: OK
  31634. schema:
  31635. items:
  31636. $ref: '#/definitions/models.THJFriend'
  31637. type: array
  31638. "500":
  31639. description: Internal Server Error
  31640. schema:
  31641. $ref: '#/definitions/app.Response'
  31642. security:
  31643. - ApiKeyAuth: []
  31644. summary: 查询好友
  31645. tags:
  31646. - 铁合金
  31647. /Ferroalloy/QueryTHJGoodsDetail:
  31648. get:
  31649. parameters:
  31650. - description: 现货商品ID
  31651. in: query
  31652. name: wrstandardid
  31653. required: true
  31654. type: integer
  31655. produces:
  31656. - application/json
  31657. responses:
  31658. "200":
  31659. description: OK
  31660. schema:
  31661. items:
  31662. $ref: '#/definitions/models.THJGoodsDetailRsp'
  31663. type: array
  31664. "500":
  31665. description: Internal Server Error
  31666. schema:
  31667. $ref: '#/definitions/app.Response'
  31668. security:
  31669. - ApiKeyAuth: []
  31670. summary: 查询商品详情
  31671. tags:
  31672. - 铁合金
  31673. /Ferroalloy/QueryTHJInvesotrDepositLog:
  31674. get:
  31675. parameters:
  31676. - description: 用户ID
  31677. in: query
  31678. name: userid
  31679. required: true
  31680. type: integer
  31681. - description: 定金比例(选中比例)
  31682. in: query
  31683. name: depositrate
  31684. required: true
  31685. type: number
  31686. - description: 页码
  31687. in: query
  31688. name: page
  31689. type: integer
  31690. - description: 每页条数
  31691. in: query
  31692. name: pagesize
  31693. type: integer
  31694. produces:
  31695. - application/json
  31696. responses:
  31697. "200":
  31698. description: OK
  31699. schema:
  31700. items:
  31701. $ref: '#/definitions/models.GThjinvesotrdepositlog'
  31702. type: array
  31703. "500":
  31704. description: Internal Server Error
  31705. schema:
  31706. $ref: '#/definitions/app.Response'
  31707. security:
  31708. - ApiKeyAuth: []
  31709. summary: 比例变更流水查询
  31710. tags:
  31711. - 铁合金
  31712. /Ferroalloy/QueryTHJListing:
  31713. get:
  31714. parameters:
  31715. - description: 现货商品名称(模糊查询)
  31716. in: query
  31717. name: wrstandardname
  31718. type: string
  31719. - description: 页码
  31720. in: query
  31721. name: page
  31722. type: integer
  31723. - description: 每页条数
  31724. in: query
  31725. name: pagesize
  31726. type: integer
  31727. produces:
  31728. - application/json
  31729. responses:
  31730. "200":
  31731. description: OK
  31732. schema:
  31733. items:
  31734. $ref: '#/definitions/models.THJWrstandard'
  31735. type: array
  31736. "500":
  31737. description: Internal Server Error
  31738. schema:
  31739. $ref: '#/definitions/app.Response'
  31740. security:
  31741. - ApiKeyAuth: []
  31742. summary: 查询供求列表
  31743. tags:
  31744. - 铁合金
  31745. /Ferroalloy/QueryTHJProduct:
  31746. get:
  31747. parameters:
  31748. - description: 用户ID
  31749. in: query
  31750. name: userid
  31751. required: true
  31752. type: integer
  31753. - description: 关注标志 true-已关注 false-未关注
  31754. in: query
  31755. name: favoriteflag
  31756. type: boolean
  31757. - description: 页码
  31758. in: query
  31759. name: page
  31760. type: integer
  31761. - description: 每页条数
  31762. in: query
  31763. name: pagesize
  31764. type: integer
  31765. produces:
  31766. - application/json
  31767. responses:
  31768. "200":
  31769. description: OK
  31770. schema:
  31771. items:
  31772. $ref: '#/definitions/models.THJProduct'
  31773. type: array
  31774. "500":
  31775. description: Internal Server Error
  31776. schema:
  31777. $ref: '#/definitions/app.Response'
  31778. security:
  31779. - ApiKeyAuth: []
  31780. summary: 获取产品介绍列表
  31781. tags:
  31782. - 铁合金
  31783. /Ferroalloy/QueryTHJProfits:
  31784. get:
  31785. parameters:
  31786. - description: 用户ID
  31787. in: query
  31788. name: userid
  31789. required: true
  31790. type: integer
  31791. - description: 市场ID
  31792. in: query
  31793. name: marketid
  31794. type: integer
  31795. - description: 好友名称,模糊查询
  31796. in: query
  31797. name: accountname
  31798. type: string
  31799. - description: 商品代码或商品名称,模糊查询
  31800. in: query
  31801. name: goods
  31802. type: string
  31803. - description: 分润机构角色 - 1:平台 2:经纪会员 3:一级交易商 4:二级交易商(枚举:THJProfitRoleType)
  31804. in: query
  31805. name: marketid
  31806. type: integer
  31807. - description: 页码
  31808. in: query
  31809. name: page
  31810. type: integer
  31811. - description: 每页条数
  31812. in: query
  31813. name: pagesize
  31814. type: integer
  31815. produces:
  31816. - application/json
  31817. responses:
  31818. "200":
  31819. description: OK
  31820. schema:
  31821. items:
  31822. $ref: '#/definitions/models.THJProfit'
  31823. type: array
  31824. "500":
  31825. description: Internal Server Error
  31826. schema:
  31827. $ref: '#/definitions/app.Response'
  31828. security:
  31829. - ApiKeyAuth: []
  31830. summary: 查询收益
  31831. tags:
  31832. - 铁合金
  31833. /Ferroalloy/QueryTHJPromotionIncome:
  31834. get:
  31835. parameters:
  31836. - description: 用户ID
  31837. in: query
  31838. name: userid
  31839. required: true
  31840. type: integer
  31841. - description: 状态 - 0:全部 1:已支付 2:未支付
  31842. in: query
  31843. name: profitstatus
  31844. type: integer
  31845. - description: 页码
  31846. in: query
  31847. name: page
  31848. type: integer
  31849. - description: 每页条数
  31850. in: query
  31851. name: pagesize
  31852. type: integer
  31853. produces:
  31854. - application/json
  31855. responses:
  31856. "200":
  31857. description: OK
  31858. schema:
  31859. items:
  31860. $ref: '#/definitions/models.PromotionIncome'
  31861. type: array
  31862. "500":
  31863. description: Internal Server Error
  31864. schema:
  31865. $ref: '#/definitions/app.Response'
  31866. security:
  31867. - ApiKeyAuth: []
  31868. summary: 查询我的推广-推广收益
  31869. tags:
  31870. - 铁合金
  31871. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  31872. get:
  31873. parameters:
  31874. - description: 用户ID
  31875. in: query
  31876. name: userid
  31877. required: true
  31878. type: integer
  31879. - description: 月份,格式:yyyymm
  31880. in: query
  31881. name: mouth
  31882. required: true
  31883. type: string
  31884. - description: 页码
  31885. in: query
  31886. name: page
  31887. type: integer
  31888. - description: 每页条数
  31889. in: query
  31890. name: pagesize
  31891. type: integer
  31892. produces:
  31893. - application/json
  31894. responses:
  31895. "200":
  31896. description: OK
  31897. schema:
  31898. items:
  31899. $ref: '#/definitions/models.PromotionIncomeDetail'
  31900. type: array
  31901. "500":
  31902. description: Internal Server Error
  31903. schema:
  31904. $ref: '#/definitions/app.Response'
  31905. security:
  31906. - ApiKeyAuth: []
  31907. summary: 查询我的推广-推广收益-明细
  31908. tags:
  31909. - 铁合金
  31910. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  31911. get:
  31912. parameters:
  31913. - description: 用户ID
  31914. in: query
  31915. name: userid
  31916. required: true
  31917. type: integer
  31918. - description: 类型 - 0:未完成 1:已完成
  31919. in: query
  31920. name: type
  31921. type: integer
  31922. - description: 页码
  31923. in: query
  31924. name: page
  31925. type: integer
  31926. - description: 每页条数
  31927. in: query
  31928. name: pagesize
  31929. type: integer
  31930. produces:
  31931. - application/json
  31932. responses:
  31933. "200":
  31934. description: OK
  31935. schema:
  31936. items:
  31937. $ref: '#/definitions/models.Thjpurchasetradedetail'
  31938. type: array
  31939. "500":
  31940. description: Internal Server Error
  31941. schema:
  31942. $ref: '#/definitions/app.Response'
  31943. security:
  31944. - ApiKeyAuth: []
  31945. summary: 查询我的订单-采购订单
  31946. tags:
  31947. - 铁合金
  31948. /Ferroalloy/QueryTHJPurchaseTransfer:
  31949. get:
  31950. parameters:
  31951. - description: 现货商品名称(模糊查询)
  31952. in: query
  31953. name: wrstandardname
  31954. type: string
  31955. - description: 页码
  31956. in: query
  31957. name: page
  31958. type: integer
  31959. - description: 每页条数
  31960. in: query
  31961. name: pagesize
  31962. type: integer
  31963. produces:
  31964. - application/json
  31965. responses:
  31966. "200":
  31967. description: OK
  31968. schema:
  31969. items:
  31970. $ref: '#/definitions/models.PurchaseTransfer'
  31971. type: array
  31972. "500":
  31973. description: Internal Server Error
  31974. schema:
  31975. $ref: '#/definitions/app.Response'
  31976. security:
  31977. - ApiKeyAuth: []
  31978. summary: 查询合同转让列表
  31979. tags:
  31980. - 铁合金
  31981. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  31982. get:
  31983. parameters:
  31984. - description: 现货商品ID
  31985. in: query
  31986. name: wrstandardid
  31987. required: true
  31988. type: integer
  31989. produces:
  31990. - application/json
  31991. responses:
  31992. "200":
  31993. description: OK
  31994. schema:
  31995. items:
  31996. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  31997. type: array
  31998. "500":
  31999. description: Internal Server Error
  32000. schema:
  32001. $ref: '#/definitions/app.Response'
  32002. security:
  32003. - ApiKeyAuth: []
  32004. summary: 查询合同转让详情
  32005. tags:
  32006. - 铁合金
  32007. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  32008. get:
  32009. parameters:
  32010. - description: 用户ID
  32011. in: query
  32012. name: userid
  32013. required: true
  32014. type: integer
  32015. - description: 类型 - 1:转让 2:受让 3:转让委托已完成
  32016. in: query
  32017. name: ordertype
  32018. required: true
  32019. type: integer
  32020. - description: 页码
  32021. in: query
  32022. name: page
  32023. type: integer
  32024. - description: 每页条数
  32025. in: query
  32026. name: pagesize
  32027. type: integer
  32028. produces:
  32029. - application/json
  32030. responses:
  32031. "200":
  32032. description: OK
  32033. schema:
  32034. items:
  32035. $ref: '#/definitions/models.Thjpurchasetransfer'
  32036. type: array
  32037. "500":
  32038. description: Internal Server Error
  32039. schema:
  32040. $ref: '#/definitions/app.Response'
  32041. security:
  32042. - ApiKeyAuth: []
  32043. summary: 查询我的订单-转让/受让订单
  32044. tags:
  32045. - 铁合金
  32046. /Ferroalloy/QueryTHJPurchaseTransferOrderDetail:
  32047. get:
  32048. parameters:
  32049. - description: 转让单号
  32050. in: query
  32051. name: transferid
  32052. required: true
  32053. type: string
  32054. produces:
  32055. - application/json
  32056. responses:
  32057. "200":
  32058. description: OK
  32059. schema:
  32060. items:
  32061. $ref: '#/definitions/models.ThjpurchasetransferDetail'
  32062. type: array
  32063. "500":
  32064. description: Internal Server Error
  32065. schema:
  32066. $ref: '#/definitions/app.Response'
  32067. security:
  32068. - ApiKeyAuth: []
  32069. summary: 查询我的订单-转让/受让订单-详情
  32070. tags:
  32071. - 铁合金
  32072. /Ferroalloy/QueryTHJScoreConfig:
  32073. get:
  32074. parameters:
  32075. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  32076. 6:自己供求下单积分 7:抽奖配置'
  32077. in: query
  32078. name: stype
  32079. type: string
  32080. produces:
  32081. - application/json
  32082. responses:
  32083. "200":
  32084. description: OK
  32085. schema:
  32086. items:
  32087. $ref: '#/definitions/models.Thjscoreconfig'
  32088. type: array
  32089. "500":
  32090. description: Internal Server Error
  32091. schema:
  32092. $ref: '#/definitions/app.Response'
  32093. security:
  32094. - ApiKeyAuth: []
  32095. summary: 查询积分配置
  32096. tags:
  32097. - 铁合金
  32098. /Ferroalloy/QueryTHJTradeData:
  32099. get:
  32100. parameters:
  32101. - description: 用户ID
  32102. in: query
  32103. name: userid
  32104. required: true
  32105. type: integer
  32106. - description: 市场ID 采购-64201 供求-65201
  32107. in: query
  32108. name: marketid
  32109. required: true
  32110. type: integer
  32111. - description: 页码
  32112. in: query
  32113. name: page
  32114. type: integer
  32115. - description: 每页条数
  32116. in: query
  32117. name: pagesize
  32118. type: integer
  32119. produces:
  32120. - application/json
  32121. responses:
  32122. "200":
  32123. description: OK
  32124. schema:
  32125. items:
  32126. $ref: '#/definitions/models.THJTradeData'
  32127. type: array
  32128. "500":
  32129. description: Internal Server Error
  32130. schema:
  32131. $ref: '#/definitions/app.Response'
  32132. security:
  32133. - ApiKeyAuth: []
  32134. summary: 获取我的推广-交易数据
  32135. tags:
  32136. - 铁合金
  32137. /Ferroalloy/QueryTHJWrstandard:
  32138. get:
  32139. parameters:
  32140. - description: 现货商品名称(模糊查询)
  32141. in: query
  32142. name: wrstandardname
  32143. type: string
  32144. - description: 页码
  32145. in: query
  32146. name: page
  32147. type: integer
  32148. - description: 每页条数
  32149. in: query
  32150. name: pagesize
  32151. type: integer
  32152. produces:
  32153. - application/json
  32154. responses:
  32155. "200":
  32156. description: OK
  32157. schema:
  32158. items:
  32159. $ref: '#/definitions/models.THJWrstandard'
  32160. type: array
  32161. "500":
  32162. description: Internal Server Error
  32163. schema:
  32164. $ref: '#/definitions/app.Response'
  32165. security:
  32166. - ApiKeyAuth: []
  32167. summary: 查询采购列表
  32168. tags:
  32169. - 铁合金
  32170. /Ferroalloy/QueryTHJWrstandardDetail:
  32171. get:
  32172. parameters:
  32173. - description: 现货商品ID
  32174. in: query
  32175. name: wrstandardid
  32176. required: true
  32177. type: integer
  32178. produces:
  32179. - application/json
  32180. responses:
  32181. "200":
  32182. description: OK
  32183. schema:
  32184. items:
  32185. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  32186. type: array
  32187. "500":
  32188. description: Internal Server Error
  32189. schema:
  32190. $ref: '#/definitions/app.Response'
  32191. security:
  32192. - ApiKeyAuth: []
  32193. summary: 查询采购详情
  32194. tags:
  32195. - 铁合金
  32196. /Ferroalloy/QueryTHJinvesotrdeposit:
  32197. get:
  32198. parameters:
  32199. - description: 用户ID
  32200. in: query
  32201. name: userid
  32202. required: true
  32203. type: integer
  32204. - description: 预售申请ID
  32205. in: query
  32206. name: presaleapplyid
  32207. required: true
  32208. type: string
  32209. - description: 页码
  32210. in: query
  32211. name: page
  32212. type: integer
  32213. - description: 每页条数
  32214. in: query
  32215. name: pagesize
  32216. type: integer
  32217. produces:
  32218. - application/json
  32219. responses:
  32220. "200":
  32221. description: OK
  32222. schema:
  32223. items:
  32224. $ref: '#/definitions/models.GThjinvesotrdeposit'
  32225. type: array
  32226. "500":
  32227. description: Internal Server Error
  32228. schema:
  32229. $ref: '#/definitions/app.Response'
  32230. security:
  32231. - ApiKeyAuth: []
  32232. summary: 定金比例个性化查询
  32233. tags:
  32234. - 铁合金
  32235. /Ferroalloy/QueryThjSpotQuoteConfig:
  32236. get:
  32237. produces:
  32238. - application/json
  32239. responses:
  32240. "200":
  32241. description: OK
  32242. schema:
  32243. items:
  32244. $ref: '#/definitions/models.Thjspotquoteconfig'
  32245. type: array
  32246. "500":
  32247. description: Internal Server Error
  32248. schema:
  32249. $ref: '#/definitions/app.Response'
  32250. summary: 查询现货行情配置表
  32251. tags:
  32252. - 铁合金
  32253. /Ferroalloy/QueryUserLevelInfo:
  32254. get:
  32255. parameters:
  32256. - description: 用户ID
  32257. in: query
  32258. name: userid
  32259. required: true
  32260. type: integer
  32261. produces:
  32262. - application/json
  32263. responses:
  32264. "200":
  32265. description: OK
  32266. schema:
  32267. items:
  32268. $ref: '#/definitions/models.THJUserLevelInfo'
  32269. type: array
  32270. "500":
  32271. description: Internal Server Error
  32272. schema:
  32273. $ref: '#/definitions/app.Response'
  32274. security:
  32275. - ApiKeyAuth: []
  32276. summary: 查询用户等级信息
  32277. tags:
  32278. - 铁合金
  32279. /Ferroalloy/QueryUserScoreLog:
  32280. get:
  32281. parameters:
  32282. - description: 用户ID
  32283. in: query
  32284. name: userid
  32285. required: true
  32286. type: integer
  32287. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  32288. 6:自己供求下单积分 7:抽奖配置'
  32289. in: query
  32290. name: stype
  32291. type: string
  32292. - description: 页码
  32293. in: query
  32294. name: page
  32295. type: integer
  32296. - description: 每页条数
  32297. in: query
  32298. name: pagesize
  32299. type: integer
  32300. produces:
  32301. - application/json
  32302. responses:
  32303. "200":
  32304. description: OK
  32305. schema:
  32306. items:
  32307. $ref: '#/definitions/models.GThjuserscorelog'
  32308. type: array
  32309. "500":
  32310. description: Internal Server Error
  32311. schema:
  32312. $ref: '#/definitions/app.Response'
  32313. security:
  32314. - ApiKeyAuth: []
  32315. summary: 查询我的积分流水
  32316. tags:
  32317. - 铁合金
  32318. /Ferroalloy/Signin:
  32319. post:
  32320. parameters:
  32321. - description: 用户签到请求
  32322. in: body
  32323. name: jsonBody
  32324. required: true
  32325. schema:
  32326. $ref: '#/definitions/models.THJSigninReq'
  32327. produces:
  32328. - application/json
  32329. responses:
  32330. "200":
  32331. description: OK
  32332. schema:
  32333. $ref: '#/definitions/models.THJSigninRsp'
  32334. "500":
  32335. description: Internal Server Error
  32336. schema:
  32337. $ref: '#/definitions/app.Response'
  32338. security:
  32339. - ApiKeyAuth: []
  32340. summary: 用户签到
  32341. tags:
  32342. - 铁合金
  32343. /Guangzuan/GZBSFWOrderOperate:
  32344. get:
  32345. parameters:
  32346. - description: 单据ID
  32347. in: query
  32348. name: orderid
  32349. required: true
  32350. type: integer
  32351. produces:
  32352. - application/json
  32353. responses:
  32354. "200":
  32355. description: OK
  32356. schema:
  32357. items:
  32358. $ref: '#/definitions/models.Gzbsfworderoperate'
  32359. type: array
  32360. "500":
  32361. description: Internal Server Error
  32362. schema:
  32363. $ref: '#/definitions/app.Response'
  32364. security:
  32365. - ApiKeyAuth: []
  32366. - LoginID: []
  32367. - Group: []
  32368. summary: 保税服务单据操作信息
  32369. tags:
  32370. - 广钻
  32371. /Guangzuan/GetGoods:
  32372. get:
  32373. parameters:
  32374. - description: 商品编号
  32375. in: query
  32376. name: goodsno
  32377. required: true
  32378. type: string
  32379. produces:
  32380. - application/json
  32381. responses:
  32382. "200":
  32383. description: OK
  32384. schema:
  32385. $ref: '#/definitions/models.GZGoods'
  32386. "500":
  32387. description: Internal Server Error
  32388. schema:
  32389. $ref: '#/definitions/app.Response'
  32390. security:
  32391. - ApiKeyAuth: []
  32392. - LoginID: []
  32393. - Group: []
  32394. summary: 获取钻石详情
  32395. tags:
  32396. - 广钻
  32397. /Guangzuan/GzCertAddressConfig:
  32398. get:
  32399. produces:
  32400. - application/json
  32401. responses:
  32402. "200":
  32403. description: OK
  32404. schema:
  32405. items:
  32406. $ref: '#/definitions/models.Gzcertaddressconfig'
  32407. type: array
  32408. "500":
  32409. description: Internal Server Error
  32410. schema:
  32411. $ref: '#/definitions/app.Response'
  32412. security:
  32413. - ApiKeyAuth: []
  32414. - LoginID: []
  32415. - Group: []
  32416. summary: Rapaport最新报价表(广钻)
  32417. tags:
  32418. - 广钻
  32419. /Guangzuan/GzCertAddressParam:
  32420. get:
  32421. produces:
  32422. - application/json
  32423. responses:
  32424. "200":
  32425. description: OK
  32426. schema:
  32427. items:
  32428. $ref: '#/definitions/models.Gzcertaddressparam'
  32429. type: array
  32430. "500":
  32431. description: Internal Server Error
  32432. schema:
  32433. $ref: '#/definitions/app.Response'
  32434. security:
  32435. - ApiKeyAuth: []
  32436. - LoginID: []
  32437. - Group: []
  32438. summary: 钻石证书地址参数
  32439. tags:
  32440. - 广钻
  32441. /Guangzuan/HomeData:
  32442. get:
  32443. parameters:
  32444. - description: 用户ID
  32445. in: query
  32446. name: userid
  32447. required: true
  32448. type: integer
  32449. produces:
  32450. - application/json
  32451. responses:
  32452. "200":
  32453. description: OK
  32454. schema:
  32455. $ref: '#/definitions/models.GZHomeData'
  32456. "500":
  32457. description: Internal Server Error
  32458. schema:
  32459. $ref: '#/definitions/app.Response'
  32460. security:
  32461. - ApiKeyAuth: []
  32462. - LoginID: []
  32463. - Group: []
  32464. summary: 首页统计数据
  32465. tags:
  32466. - 广钻
  32467. /Guangzuan/PriceCalc:
  32468. get:
  32469. parameters:
  32470. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  32471. in: query
  32472. name: zsshape
  32473. required: true
  32474. type: integer
  32475. - description: 颜色(D-M)
  32476. in: query
  32477. name: zscolor
  32478. required: true
  32479. type: string
  32480. - description: 净度
  32481. in: query
  32482. name: zsclarity
  32483. required: true
  32484. type: string
  32485. - description: 重量
  32486. in: query
  32487. name: weight
  32488. required: true
  32489. type: number
  32490. - description: 汇率
  32491. in: query
  32492. name: rate
  32493. required: true
  32494. type: number
  32495. - description: 折扣(%), 方向(加:10, 减:-10 )
  32496. in: query
  32497. name: discount
  32498. type: number
  32499. produces:
  32500. - application/json
  32501. responses:
  32502. "200":
  32503. description: OK
  32504. schema:
  32505. items:
  32506. $ref: '#/definitions/models.Gzrapaportprice'
  32507. type: array
  32508. "500":
  32509. description: Internal Server Error
  32510. schema:
  32511. $ref: '#/definitions/app.Response'
  32512. security:
  32513. - ApiKeyAuth: []
  32514. - LoginID: []
  32515. - Group: []
  32516. summary: 钻石价格计算器
  32517. tags:
  32518. - 广钻
  32519. /Guangzuan/QueryBScinOutOrderDetail:
  32520. get:
  32521. parameters:
  32522. - description: 用户ID
  32523. in: query
  32524. name: userid
  32525. required: true
  32526. type: integer
  32527. - description: 申请ID
  32528. in: query
  32529. name: orderid
  32530. required: true
  32531. type: string
  32532. - description: 页码
  32533. in: query
  32534. name: page
  32535. type: integer
  32536. - description: 每页条数
  32537. in: query
  32538. name: pagesize
  32539. type: integer
  32540. produces:
  32541. - application/json
  32542. responses:
  32543. "200":
  32544. description: OK
  32545. schema:
  32546. items:
  32547. $ref: '#/definitions/models.BScoutorderdetailatt'
  32548. type: array
  32549. "500":
  32550. description: Internal Server Error
  32551. schema:
  32552. $ref: '#/definitions/app.Response'
  32553. security:
  32554. - ApiKeyAuth: []
  32555. summary: 保税仓出库申请明细附表查询
  32556. tags:
  32557. - 广钻
  32558. /Guangzuan/QueryBscinoutorder:
  32559. get:
  32560. parameters:
  32561. - description: 用户ID
  32562. in: query
  32563. name: userid
  32564. required: true
  32565. type: integer
  32566. - description: 申请ID
  32567. in: query
  32568. name: orderid
  32569. required: true
  32570. type: string
  32571. - description: 进出口月份(yyyMM)
  32572. in: query
  32573. name: jckdate
  32574. required: true
  32575. type: string
  32576. - description: 页码
  32577. in: query
  32578. name: page
  32579. type: integer
  32580. - description: 每页条数
  32581. in: query
  32582. name: pagesize
  32583. type: integer
  32584. produces:
  32585. - application/json
  32586. responses:
  32587. "200":
  32588. description: OK
  32589. schema:
  32590. items:
  32591. $ref: '#/definitions/models.Bscinoutorder'
  32592. type: array
  32593. "500":
  32594. description: Internal Server Error
  32595. schema:
  32596. $ref: '#/definitions/app.Response'
  32597. security:
  32598. - ApiKeyAuth: []
  32599. summary: 保税仓本月进口明细/本月出境明细/本月转厂明细查询
  32600. tags:
  32601. - 广钻
  32602. /Guangzuan/QueryBuyOrder:
  32603. get:
  32604. parameters:
  32605. - description: 页码
  32606. in: query
  32607. name: page
  32608. type: integer
  32609. - description: 每页条数
  32610. in: query
  32611. name: pagesize
  32612. type: integer
  32613. - description: 商品(查询字段-模糊查询)
  32614. in: query
  32615. name: zsallproperties
  32616. type: string
  32617. - description: 钻石分类, 格式:1,2,3
  32618. in: query
  32619. name: zscategorys
  32620. type: string
  32621. - description: 委托单号
  32622. in: query
  32623. name: wrtradeorderid
  32624. type: integer
  32625. - description: 买方(查询字段-模糊查询)
  32626. in: query
  32627. name: buyusername
  32628. type: string
  32629. produces:
  32630. - application/json
  32631. responses:
  32632. "200":
  32633. description: OK
  32634. schema:
  32635. items:
  32636. $ref: '#/definitions/models.BuyOrder'
  32637. type: array
  32638. "500":
  32639. description: Internal Server Error
  32640. schema:
  32641. $ref: '#/definitions/app.Response'
  32642. security:
  32643. - ApiKeyAuth: []
  32644. - LoginID: []
  32645. - Group: []
  32646. summary: 查询求购大厅委托单
  32647. tags:
  32648. - 广钻
  32649. /Guangzuan/QueryDiamond:
  32650. post:
  32651. parameters:
  32652. - description: 钻石搜索入参
  32653. in: body
  32654. name: data
  32655. required: true
  32656. schema:
  32657. $ref: '#/definitions/models.SellOrderQueryReq'
  32658. produces:
  32659. - application/json
  32660. responses:
  32661. "200":
  32662. description: OK
  32663. schema:
  32664. items:
  32665. $ref: '#/definitions/models.SellOrder'
  32666. type: array
  32667. "500":
  32668. description: Internal Server Error
  32669. schema:
  32670. $ref: '#/definitions/app.Response'
  32671. security:
  32672. - ApiKeyAuth: []
  32673. - LoginID: []
  32674. - Group: []
  32675. summary: 钻石搜索
  32676. tags:
  32677. - 广钻
  32678. /Guangzuan/QueryFworderoperate:
  32679. get:
  32680. parameters:
  32681. - description: 单据ID
  32682. in: query
  32683. name: orderid
  32684. required: true
  32685. type: string
  32686. - description: 操作后单据状态
  32687. in: query
  32688. name: status
  32689. required: true
  32690. type: integer
  32691. produces:
  32692. - application/json
  32693. responses:
  32694. "200":
  32695. description: OK
  32696. schema:
  32697. items:
  32698. $ref: '#/definitions/models.Fworderoperate'
  32699. type: array
  32700. "500":
  32701. description: Internal Server Error
  32702. schema:
  32703. $ref: '#/definitions/app.Response'
  32704. security:
  32705. - ApiKeyAuth: []
  32706. - LoginID: []
  32707. - Group: []
  32708. summary: 查询保税服务单据操作
  32709. tags:
  32710. - 广钻
  32711. /Guangzuan/QueryGZBSFWOrder:
  32712. get:
  32713. parameters:
  32714. - description: 用户ID
  32715. in: query
  32716. name: userid
  32717. required: true
  32718. type: integer
  32719. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  32720. in: query
  32721. name: executestatus
  32722. type: integer
  32723. - description: 页码
  32724. in: query
  32725. name: page
  32726. type: integer
  32727. - description: 每页条数
  32728. in: query
  32729. name: pagesize
  32730. type: integer
  32731. produces:
  32732. - application/json
  32733. responses:
  32734. "200":
  32735. description: OK
  32736. schema:
  32737. items:
  32738. $ref: '#/definitions/models.GzbsfworderM'
  32739. type: array
  32740. "500":
  32741. description: Internal Server Error
  32742. schema:
  32743. $ref: '#/definitions/app.Response'
  32744. security:
  32745. - ApiKeyAuth: []
  32746. - LoginID: []
  32747. - Group: []
  32748. summary: 查询保税服务单据
  32749. tags:
  32750. - 广钻
  32751. /Guangzuan/QueryGZBSFWOrderDetail:
  32752. get:
  32753. parameters:
  32754. - description: 用户ID
  32755. in: query
  32756. name: userid
  32757. required: true
  32758. type: integer
  32759. - description: 单据ID
  32760. in: query
  32761. name: orderid
  32762. type: string
  32763. - description: 页码
  32764. in: query
  32765. name: page
  32766. type: integer
  32767. - description: 每页条数
  32768. in: query
  32769. name: pagesize
  32770. type: integer
  32771. produces:
  32772. - application/json
  32773. responses:
  32774. "200":
  32775. description: OK
  32776. schema:
  32777. items:
  32778. $ref: '#/definitions/models.GzbsfworderdetailM'
  32779. type: array
  32780. "500":
  32781. description: Internal Server Error
  32782. schema:
  32783. $ref: '#/definitions/app.Response'
  32784. security:
  32785. - ApiKeyAuth: []
  32786. - LoginID: []
  32787. - Group: []
  32788. summary: 查询保税服务单据明细
  32789. tags:
  32790. - 广钻
  32791. /Guangzuan/QueryGZCJBSOrderFile:
  32792. get:
  32793. parameters:
  32794. - description: 单据ID
  32795. in: query
  32796. name: orderid
  32797. required: true
  32798. type: integer
  32799. - description: 页码
  32800. in: query
  32801. name: page
  32802. type: integer
  32803. - description: 每页条数
  32804. in: query
  32805. name: pagesize
  32806. type: integer
  32807. produces:
  32808. - application/json
  32809. responses:
  32810. "200":
  32811. description: OK
  32812. schema:
  32813. items:
  32814. $ref: '#/definitions/models.GzcjbsorderfileM'
  32815. type: array
  32816. "500":
  32817. description: Internal Server Error
  32818. schema:
  32819. $ref: '#/definitions/app.Response'
  32820. security:
  32821. - ApiKeyAuth: []
  32822. - LoginID: []
  32823. - Group: []
  32824. summary: 出境保税单据文件
  32825. tags:
  32826. - 广钻
  32827. /Guangzuan/QueryGZCJJCOrder:
  32828. get:
  32829. parameters:
  32830. - description: 用户ID
  32831. in: query
  32832. name: userid
  32833. required: true
  32834. type: integer
  32835. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  32836. in: query
  32837. name: executestatus
  32838. type: integer
  32839. - description: 页码
  32840. in: query
  32841. name: page
  32842. type: integer
  32843. - description: 每页条数
  32844. in: query
  32845. name: pagesize
  32846. type: integer
  32847. produces:
  32848. - application/json
  32849. responses:
  32850. "200":
  32851. description: OK
  32852. schema:
  32853. items:
  32854. $ref: '#/definitions/models.GzcjjcorderM'
  32855. type: array
  32856. "500":
  32857. description: Internal Server Error
  32858. schema:
  32859. $ref: '#/definitions/app.Response'
  32860. security:
  32861. - ApiKeyAuth: []
  32862. - LoginID: []
  32863. - Group: []
  32864. summary: 查询出境检测单据
  32865. tags:
  32866. - 广钻
  32867. /Guangzuan/QueryGZCJJCOrderDetail:
  32868. get:
  32869. parameters:
  32870. - description: 用户ID
  32871. in: query
  32872. name: userid
  32873. required: true
  32874. type: integer
  32875. - description: 单据ID
  32876. in: query
  32877. name: orderid
  32878. type: string
  32879. - description: 页码
  32880. in: query
  32881. name: page
  32882. type: integer
  32883. - description: 每页条数
  32884. in: query
  32885. name: pagesize
  32886. type: integer
  32887. produces:
  32888. - application/json
  32889. responses:
  32890. "200":
  32891. description: OK
  32892. schema:
  32893. items:
  32894. $ref: '#/definitions/models.GzcjjcorderdetailM'
  32895. type: array
  32896. "500":
  32897. description: Internal Server Error
  32898. schema:
  32899. $ref: '#/definitions/app.Response'
  32900. security:
  32901. - ApiKeyAuth: []
  32902. - LoginID: []
  32903. - Group: []
  32904. summary: 查询出境检测单据明细(批次信息)
  32905. tags:
  32906. - 广钻
  32907. /Guangzuan/QueryGzbscPosition:
  32908. get:
  32909. parameters:
  32910. - description: 用户ID
  32911. in: query
  32912. name: userid
  32913. required: true
  32914. type: integer
  32915. - description: 页码
  32916. in: query
  32917. name: page
  32918. type: integer
  32919. - description: 每页条数
  32920. in: query
  32921. name: pagesize
  32922. type: integer
  32923. produces:
  32924. - application/json
  32925. responses:
  32926. "200":
  32927. description: OK
  32928. schema:
  32929. items:
  32930. $ref: '#/definitions/models.GGzbscposition'
  32931. type: array
  32932. "500":
  32933. description: Internal Server Error
  32934. schema:
  32935. $ref: '#/definitions/app.Response'
  32936. security:
  32937. - ApiKeyAuth: []
  32938. summary: 保税商品报关头寸表查询
  32939. tags:
  32940. - 广钻
  32941. /Guangzuan/QueryGzbscinOutOrder:
  32942. get:
  32943. parameters:
  32944. - description: 用户ID
  32945. in: query
  32946. name: userid
  32947. required: true
  32948. type: integer
  32949. - description: 单据类型 - 1:进仓 2:出仓(枚举:GZBSCOrderType)
  32950. in: query
  32951. name: ordertype
  32952. required: true
  32953. type: integer
  32954. - description: 列表类型 - 0.全部 1.待上传 2.进行中 3.已结束
  32955. in: query
  32956. name: listtype
  32957. type: integer
  32958. - description: 页码
  32959. in: query
  32960. name: page
  32961. type: integer
  32962. - description: 每页条数
  32963. in: query
  32964. name: pagesize
  32965. type: integer
  32966. produces:
  32967. - application/json
  32968. responses:
  32969. "200":
  32970. description: OK
  32971. schema:
  32972. items:
  32973. $ref: '#/definitions/models.GGzbscinoutorder'
  32974. type: array
  32975. "500":
  32976. description: Internal Server Error
  32977. schema:
  32978. $ref: '#/definitions/app.Response'
  32979. security:
  32980. - ApiKeyAuth: []
  32981. summary: 保税仓出入库申请表查询
  32982. tags:
  32983. - 广钻
  32984. /Guangzuan/QueryGzbscusermonthpay:
  32985. get:
  32986. parameters:
  32987. - description: 用户ID
  32988. in: query
  32989. name: userid
  32990. required: true
  32991. type: integer
  32992. - description: 支付状态 - 1:待确认 2:待支付 3:已支付(枚举:GZBSCPayStatus)
  32993. in: query
  32994. name: paystatus
  32995. type: integer
  32996. - description: 页码
  32997. in: query
  32998. name: page
  32999. type: integer
  33000. - description: 每页条数
  33001. in: query
  33002. name: pagesize
  33003. type: integer
  33004. produces:
  33005. - application/json
  33006. responses:
  33007. "200":
  33008. description: OK
  33009. schema:
  33010. items:
  33011. $ref: '#/definitions/models.GGzbscusermonthpay'
  33012. type: array
  33013. "500":
  33014. description: Internal Server Error
  33015. schema:
  33016. $ref: '#/definitions/app.Response'
  33017. security:
  33018. - ApiKeyAuth: []
  33019. summary: 保税仓用户月付款通知书表查询(计费管理)
  33020. tags:
  33021. - 广钻
  33022. /Guangzuan/QueryGzbscuserpowerfee:
  33023. get:
  33024. parameters:
  33025. - description: 用户ID
  33026. in: query
  33027. name: userid
  33028. required: true
  33029. type: integer
  33030. - description: 月份(yyyMM)
  33031. in: query
  33032. name: trademonth
  33033. required: true
  33034. type: string
  33035. - description: 页码
  33036. in: query
  33037. name: page
  33038. type: integer
  33039. - description: 每页条数
  33040. in: query
  33041. name: pagesize
  33042. type: integer
  33043. produces:
  33044. - application/json
  33045. responses:
  33046. "200":
  33047. description: OK
  33048. schema:
  33049. items:
  33050. $ref: '#/definitions/models.GGzbscuserpowerfee'
  33051. type: array
  33052. "500":
  33053. description: Internal Server Error
  33054. schema:
  33055. $ref: '#/definitions/app.Response'
  33056. security:
  33057. - ApiKeyAuth: []
  33058. summary: 保税仓月电费登记表查询
  33059. tags:
  33060. - 广钻
  33061. /Guangzuan/QueryGzcjjcorderoperate:
  33062. get:
  33063. parameters:
  33064. - description: 单据ID
  33065. in: query
  33066. name: orderid
  33067. required: true
  33068. type: string
  33069. - description: 操作后单据状态
  33070. in: query
  33071. name: status
  33072. required: true
  33073. type: integer
  33074. produces:
  33075. - application/json
  33076. responses:
  33077. "200":
  33078. description: OK
  33079. schema:
  33080. items:
  33081. $ref: '#/definitions/models.Gzcjjcorderoperate'
  33082. type: array
  33083. "500":
  33084. description: Internal Server Error
  33085. schema:
  33086. $ref: '#/definitions/app.Response'
  33087. security:
  33088. - ApiKeyAuth: []
  33089. - LoginID: []
  33090. - Group: []
  33091. summary: 查询出境检测单据操作
  33092. tags:
  33093. - 广钻
  33094. /Guangzuan/QueryMemberReport:
  33095. get:
  33096. parameters:
  33097. - description: 用户ID
  33098. in: query
  33099. name: userid
  33100. required: true
  33101. type: integer
  33102. - description: 页码
  33103. in: query
  33104. name: page
  33105. type: integer
  33106. - description: 每页条数
  33107. in: query
  33108. name: pagesize
  33109. type: integer
  33110. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  33111. in: query
  33112. name: cycletype
  33113. type: string
  33114. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  33115. in: query
  33116. name: begindate
  33117. required: true
  33118. type: string
  33119. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  33120. in: query
  33121. name: enddate
  33122. required: true
  33123. type: string
  33124. produces:
  33125. - application/json
  33126. responses:
  33127. "200":
  33128. description: OK
  33129. schema:
  33130. items:
  33131. $ref: '#/definitions/models.Reckondaytaaccount'
  33132. type: array
  33133. "500":
  33134. description: Internal Server Error
  33135. schema:
  33136. $ref: '#/definitions/app.Response'
  33137. security:
  33138. - ApiKeyAuth: []
  33139. - LoginID: []
  33140. - Group: []
  33141. summary: 查询会员报表
  33142. tags:
  33143. - 广钻
  33144. /Guangzuan/QueryMyBargainApply:
  33145. get:
  33146. parameters:
  33147. - description: 用户ID
  33148. in: query
  33149. name: userid
  33150. required: true
  33151. type: integer
  33152. - description: 页码
  33153. in: query
  33154. name: page
  33155. type: integer
  33156. - description: 每页条数
  33157. in: query
  33158. name: pagesize
  33159. type: integer
  33160. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  33161. in: query
  33162. name: applystatus
  33163. type: integer
  33164. - description: 查询类型 - 0:我的询价 1:我订单的询价
  33165. in: query
  33166. name: type
  33167. type: integer
  33168. - description: 关联委托单ID
  33169. in: query
  33170. name: wrtradeorderid
  33171. type: string
  33172. produces:
  33173. - application/json
  33174. responses:
  33175. "200":
  33176. description: OK
  33177. schema:
  33178. items:
  33179. $ref: '#/definitions/models.MyBargainApply'
  33180. type: array
  33181. "500":
  33182. description: Internal Server Error
  33183. schema:
  33184. $ref: '#/definitions/app.Response'
  33185. security:
  33186. - ApiKeyAuth: []
  33187. - LoginID: []
  33188. - Group: []
  33189. summary: 查询询价-求购
  33190. tags:
  33191. - 广钻
  33192. /Guangzuan/QueryMyBuyOrder:
  33193. get:
  33194. parameters:
  33195. - description: 用户ID
  33196. in: query
  33197. name: userid
  33198. required: true
  33199. type: integer
  33200. - description: 页码
  33201. in: query
  33202. name: page
  33203. type: integer
  33204. - description: 每页条数
  33205. in: query
  33206. name: pagesize
  33207. type: integer
  33208. - description: 商品(查询字段-模糊查询)
  33209. in: query
  33210. name: zsallproperties
  33211. type: string
  33212. - description: 钻石分类, 格式:1,2,3
  33213. in: query
  33214. name: zscategorys
  33215. type: string
  33216. - description: 委托单号
  33217. in: query
  33218. name: wrtradeorderid
  33219. type: integer
  33220. - description: 是否历史查询
  33221. in: query
  33222. name: ishis
  33223. type: boolean
  33224. - description: 开始交易日(yyyymmdd)
  33225. in: query
  33226. name: begindate
  33227. type: string
  33228. - description: 结束交易日(yyyymmdd)
  33229. in: query
  33230. name: enddate
  33231. type: string
  33232. produces:
  33233. - application/json
  33234. responses:
  33235. "200":
  33236. description: OK
  33237. schema:
  33238. items:
  33239. $ref: '#/definitions/models.MyBuyOrder'
  33240. type: array
  33241. "500":
  33242. description: Internal Server Error
  33243. schema:
  33244. $ref: '#/definitions/app.Response'
  33245. security:
  33246. - ApiKeyAuth: []
  33247. - LoginID: []
  33248. - Group: []
  33249. summary: 查询我的求购
  33250. tags:
  33251. - 广钻
  33252. /Guangzuan/QueryMyDeListing:
  33253. get:
  33254. parameters:
  33255. - description: 用户ID
  33256. in: query
  33257. name: userid
  33258. required: true
  33259. type: integer
  33260. - description: 页码
  33261. in: query
  33262. name: page
  33263. type: integer
  33264. - description: 每页条数
  33265. in: query
  33266. name: pagesize
  33267. type: integer
  33268. - description: 商品(查询字段-模糊查询)
  33269. in: query
  33270. name: zsallproperties
  33271. type: string
  33272. - description: 钻石分类, 格式:1,2,3
  33273. in: query
  33274. name: zscategorys
  33275. type: string
  33276. - description: 成交单号
  33277. in: query
  33278. name: wrtradedetailid
  33279. type: integer
  33280. - description: 方向,0-购买 1-出售
  33281. in: query
  33282. name: buyorsell
  33283. type: integer
  33284. - description: 对手方(模糊匹配)
  33285. in: query
  33286. name: matchusername
  33287. type: string
  33288. - description: 开始交易日(yyyymmdd)
  33289. in: query
  33290. name: begindate
  33291. type: string
  33292. - description: 结束交易日(yyyymmdd)
  33293. in: query
  33294. name: enddate
  33295. type: string
  33296. produces:
  33297. - application/json
  33298. responses:
  33299. "200":
  33300. description: OK
  33301. schema:
  33302. items:
  33303. $ref: '#/definitions/models.MyDeListing'
  33304. type: array
  33305. "500":
  33306. description: Internal Server Error
  33307. schema:
  33308. $ref: '#/definitions/app.Response'
  33309. security:
  33310. - ApiKeyAuth: []
  33311. - LoginID: []
  33312. - Group: []
  33313. summary: 查询我的摘牌
  33314. tags:
  33315. - 广钻
  33316. /Guangzuan/QueryMyDelistingApply:
  33317. get:
  33318. parameters:
  33319. - description: 用户ID
  33320. in: query
  33321. name: userid
  33322. required: true
  33323. type: integer
  33324. - description: 页码
  33325. in: query
  33326. name: page
  33327. type: integer
  33328. - description: 每页条数
  33329. in: query
  33330. name: pagesize
  33331. type: integer
  33332. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  33333. in: query
  33334. name: applystatus
  33335. type: integer
  33336. - description: 查询类型 - 0:我的询价 1:我订单的询价
  33337. in: query
  33338. name: type
  33339. type: integer
  33340. - description: 买委托单ID
  33341. in: query
  33342. name: buywrtradeorderid
  33343. type: string
  33344. produces:
  33345. - application/json
  33346. responses:
  33347. "200":
  33348. description: OK
  33349. schema:
  33350. items:
  33351. $ref: '#/definitions/models.MyDelistingApply'
  33352. type: array
  33353. "500":
  33354. description: Internal Server Error
  33355. schema:
  33356. $ref: '#/definitions/app.Response'
  33357. security:
  33358. - ApiKeyAuth: []
  33359. - LoginID: []
  33360. - Group: []
  33361. summary: 查询询价-出售
  33362. tags:
  33363. - 广钻
  33364. /Guangzuan/QueryMyFavorite:
  33365. get:
  33366. parameters:
  33367. - description: 用户ID
  33368. in: query
  33369. name: userid
  33370. required: true
  33371. type: integer
  33372. - description: 页码
  33373. in: query
  33374. name: page
  33375. type: integer
  33376. - description: 每页条数
  33377. in: query
  33378. name: pagesize
  33379. type: integer
  33380. - description: 钻石分类, 格式:1,2,3
  33381. in: query
  33382. name: zscategorys
  33383. type: string
  33384. produces:
  33385. - application/json
  33386. responses:
  33387. "200":
  33388. description: OK
  33389. schema:
  33390. items:
  33391. $ref: '#/definitions/models.MyFavorite'
  33392. type: array
  33393. "500":
  33394. description: Internal Server Error
  33395. schema:
  33396. $ref: '#/definitions/app.Response'
  33397. security:
  33398. - ApiKeyAuth: []
  33399. - LoginID: []
  33400. - Group: []
  33401. summary: 查询我的收藏
  33402. tags:
  33403. - 广钻
  33404. /Guangzuan/QueryMyPerformanc:
  33405. get:
  33406. parameters:
  33407. - description: 用户ID
  33408. in: query
  33409. name: userid
  33410. required: true
  33411. type: integer
  33412. - description: 页码
  33413. in: query
  33414. name: page
  33415. type: integer
  33416. - description: 每页条数
  33417. in: query
  33418. name: pagesize
  33419. type: integer
  33420. - description: 商品(查询字段-模糊查询)
  33421. in: query
  33422. name: zsallproperties
  33423. type: string
  33424. - description: 方向,0-买 1-卖
  33425. in: query
  33426. name: buyorsell
  33427. type: integer
  33428. - description: 是否历史查询
  33429. in: query
  33430. name: ishis
  33431. type: boolean
  33432. - description: 开始交易日(yyyymmdd)
  33433. in: query
  33434. name: begindate
  33435. type: string
  33436. - description: 结束交易日(yyyymmdd)
  33437. in: query
  33438. name: enddate
  33439. type: string
  33440. produces:
  33441. - application/json
  33442. responses:
  33443. "200":
  33444. description: OK
  33445. schema:
  33446. items:
  33447. $ref: '#/definitions/models.MyPerformanc'
  33448. type: array
  33449. "500":
  33450. description: Internal Server Error
  33451. schema:
  33452. $ref: '#/definitions/app.Response'
  33453. security:
  33454. - ApiKeyAuth: []
  33455. - LoginID: []
  33456. - Group: []
  33457. summary: 查询我的履约
  33458. tags:
  33459. - 广钻
  33460. /Guangzuan/QueryMySellOrder:
  33461. get:
  33462. parameters:
  33463. - description: 用户ID
  33464. in: query
  33465. name: userid
  33466. required: true
  33467. type: integer
  33468. - description: 页码
  33469. in: query
  33470. name: page
  33471. type: integer
  33472. - description: 每页条数
  33473. in: query
  33474. name: pagesize
  33475. type: integer
  33476. - description: 商品(查询字段-模糊查询)
  33477. in: query
  33478. name: zsallproperties
  33479. type: string
  33480. - description: 钻石分类, 格式:1,2,3
  33481. in: query
  33482. name: zscategorys
  33483. type: string
  33484. - description: 委托单号
  33485. in: query
  33486. name: wrtradeorderid
  33487. type: integer
  33488. - description: 是否历史查询
  33489. in: query
  33490. name: ishis
  33491. type: boolean
  33492. - description: 开始交易日(yyyymmdd)
  33493. in: query
  33494. name: begindate
  33495. type: string
  33496. - description: 结束交易日(yyyymmdd)
  33497. in: query
  33498. name: enddate
  33499. type: string
  33500. produces:
  33501. - application/json
  33502. responses:
  33503. "200":
  33504. description: OK
  33505. schema:
  33506. items:
  33507. $ref: '#/definitions/models.MySellOrder'
  33508. type: array
  33509. "500":
  33510. description: Internal Server Error
  33511. schema:
  33512. $ref: '#/definitions/app.Response'
  33513. security:
  33514. - ApiKeyAuth: []
  33515. - LoginID: []
  33516. - Group: []
  33517. summary: 查询我的出售
  33518. tags:
  33519. - 广钻
  33520. /Guangzuan/QueryMyWRPosition:
  33521. get:
  33522. parameters:
  33523. - description: 页码
  33524. in: query
  33525. name: page
  33526. type: integer
  33527. - description: 每页条数
  33528. in: query
  33529. name: pagesize
  33530. type: integer
  33531. - description: 登录用户ID
  33532. in: query
  33533. name: wruserid
  33534. required: true
  33535. type: integer
  33536. - description: 商品(查询字段-模糊查询)
  33537. in: query
  33538. name: zsallproperties
  33539. type: string
  33540. - description: 钻石分类, 格式:1,2,3
  33541. in: query
  33542. name: zscategorys
  33543. type: string
  33544. - description: 仓库ID
  33545. in: query
  33546. name: warehouseid
  33547. type: integer
  33548. - description: 是否上架,0-全部 1-是 2-否
  33549. in: query
  33550. name: marketflag
  33551. type: integer
  33552. produces:
  33553. - application/json
  33554. responses:
  33555. "200":
  33556. description: OK
  33557. schema:
  33558. items:
  33559. $ref: '#/definitions/models.MyWRPosition'
  33560. type: array
  33561. "500":
  33562. description: Internal Server Error
  33563. schema:
  33564. $ref: '#/definitions/app.Response'
  33565. security:
  33566. - ApiKeyAuth: []
  33567. - LoginID: []
  33568. - Group: []
  33569. summary: 查询我的库存
  33570. tags:
  33571. - 广钻
  33572. /Guangzuan/QuerySellOrder:
  33573. get:
  33574. parameters:
  33575. - description: 页码
  33576. in: query
  33577. name: page
  33578. type: integer
  33579. - description: 每页条数
  33580. in: query
  33581. name: pagesize
  33582. type: integer
  33583. - description: 商品(查询字段-模糊查询)
  33584. in: query
  33585. name: zsallproperties
  33586. type: string
  33587. - description: 钻石分类, 格式:1,2,3
  33588. in: query
  33589. name: zscategorys
  33590. type: string
  33591. - description: 委托单号
  33592. in: query
  33593. name: wrtradeorderid
  33594. type: integer
  33595. - description: 卖方(查询字段-模糊查询)
  33596. in: query
  33597. name: buyusername
  33598. type: string
  33599. produces:
  33600. - application/json
  33601. responses:
  33602. "200":
  33603. description: OK
  33604. schema:
  33605. items:
  33606. $ref: '#/definitions/models.SellOrder'
  33607. type: array
  33608. "500":
  33609. description: Internal Server Error
  33610. schema:
  33611. $ref: '#/definitions/app.Response'
  33612. security:
  33613. - ApiKeyAuth: []
  33614. - LoginID: []
  33615. - Group: []
  33616. summary: 查询出售大厅委托单
  33617. tags:
  33618. - 广钻
  33619. /Guangzuan/QueryTradeReport:
  33620. get:
  33621. parameters:
  33622. - description: 用户ID
  33623. in: query
  33624. name: userid
  33625. required: true
  33626. type: integer
  33627. - description: 页码
  33628. in: query
  33629. name: page
  33630. type: integer
  33631. - description: 每页条数
  33632. in: query
  33633. name: pagesize
  33634. type: integer
  33635. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  33636. in: query
  33637. name: cycletype
  33638. type: string
  33639. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  33640. in: query
  33641. name: begindate
  33642. required: true
  33643. type: string
  33644. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  33645. in: query
  33646. name: enddate
  33647. required: true
  33648. type: string
  33649. - description: 商品分类
  33650. in: query
  33651. name: zscategory
  33652. type: integer
  33653. - description: 商品币种
  33654. in: query
  33655. name: zscurrencytype
  33656. type: integer
  33657. produces:
  33658. - application/json
  33659. responses:
  33660. "200":
  33661. description: OK
  33662. schema:
  33663. items:
  33664. $ref: '#/definitions/models.Reckongzmemtradesum'
  33665. type: array
  33666. "500":
  33667. description: Internal Server Error
  33668. schema:
  33669. $ref: '#/definitions/app.Response'
  33670. security:
  33671. - ApiKeyAuth: []
  33672. - LoginID: []
  33673. - Group: []
  33674. summary: 查询交易报表
  33675. tags:
  33676. - 广钻
  33677. /Guangzuan/QueryWRPositionReport:
  33678. get:
  33679. parameters:
  33680. - description: 用户ID
  33681. in: query
  33682. name: userid
  33683. required: true
  33684. type: integer
  33685. - description: 页码
  33686. in: query
  33687. name: page
  33688. type: integer
  33689. - description: 每页条数
  33690. in: query
  33691. name: pagesize
  33692. type: integer
  33693. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  33694. in: query
  33695. name: cycletype
  33696. type: string
  33697. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  33698. in: query
  33699. name: begindate
  33700. required: true
  33701. type: string
  33702. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  33703. in: query
  33704. name: enddate
  33705. required: true
  33706. type: string
  33707. - description: 商品分类
  33708. in: query
  33709. name: zscategory
  33710. type: integer
  33711. - description: 商品币种
  33712. in: query
  33713. name: zscurrencytype
  33714. type: integer
  33715. produces:
  33716. - application/json
  33717. responses:
  33718. "200":
  33719. description: OK
  33720. schema:
  33721. items:
  33722. $ref: '#/definitions/models.WRPositionReport'
  33723. type: array
  33724. "500":
  33725. description: Internal Server Error
  33726. schema:
  33727. $ref: '#/definitions/app.Response'
  33728. security:
  33729. - ApiKeyAuth: []
  33730. - LoginID: []
  33731. - Group: []
  33732. summary: 查询仓储报表
  33733. tags:
  33734. - 广钻
  33735. /Guangzuan/QueryWarehouseInfo:
  33736. get:
  33737. parameters:
  33738. - description: 页码
  33739. in: query
  33740. name: page
  33741. type: integer
  33742. - description: 每页条数
  33743. in: query
  33744. name: pagesize
  33745. type: integer
  33746. - description: 用户ID
  33747. in: query
  33748. name: userid
  33749. required: true
  33750. type: integer
  33751. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  33752. in: query
  33753. name: status
  33754. type: string
  33755. - description: 是返回交易所仓库
  33756. in: query
  33757. name: isincludeexchange
  33758. type: boolean
  33759. produces:
  33760. - application/json
  33761. responses:
  33762. "200":
  33763. description: OK
  33764. schema:
  33765. items:
  33766. $ref: '#/definitions/models.GZWarehouseinfo'
  33767. type: array
  33768. "500":
  33769. description: Internal Server Error
  33770. schema:
  33771. $ref: '#/definitions/app.Response'
  33772. security:
  33773. - ApiKeyAuth: []
  33774. - LoginID: []
  33775. - Group: []
  33776. summary: 查询仓库信息
  33777. tags:
  33778. - 广钻
  33779. /HSBY/GetHsbyMyCount:
  33780. get:
  33781. description: 说明: 不包括已完成的数量。
  33782. parameters:
  33783. - description: 资金账户列表,格式:1,2,3
  33784. in: query
  33785. name: accountIDs
  33786. required: true
  33787. type: string
  33788. produces:
  33789. - application/json
  33790. responses:
  33791. "200":
  33792. description: OK
  33793. schema:
  33794. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  33795. "500":
  33796. description: Internal Server Error
  33797. schema:
  33798. $ref: '#/definitions/app.Response'
  33799. security:
  33800. - ApiKeyAuth: []
  33801. summary: 获取我的订单与包裹数量
  33802. tags:
  33803. - 定制【海商报业】
  33804. /HSBY/QueryClientFixedADConfigs:
  33805. get:
  33806. produces:
  33807. - application/json
  33808. responses:
  33809. "200":
  33810. description: OK
  33811. schema:
  33812. $ref: '#/definitions/models.Clientfixedadconfig'
  33813. "500":
  33814. description: Internal Server Error
  33815. schema:
  33816. $ref: '#/definitions/app.Response'
  33817. security:
  33818. - ApiKeyAuth: []
  33819. summary: 获取终端固定广告配置
  33820. tags:
  33821. - 定制【海商报业】
  33822. /HSBY/QueryHsbyBuyMyTradeDetail:
  33823. get:
  33824. parameters:
  33825. - description: 页码
  33826. in: query
  33827. name: page
  33828. type: integer
  33829. - description: 每页条数
  33830. in: query
  33831. name: pagesize
  33832. type: integer
  33833. - description: 资金账户列表,格式:1,2,3
  33834. in: query
  33835. name: accountIDs
  33836. required: true
  33837. type: string
  33838. produces:
  33839. - application/json
  33840. responses:
  33841. "200":
  33842. description: OK
  33843. schema:
  33844. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  33845. "500":
  33846. description: Internal Server Error
  33847. schema:
  33848. $ref: '#/definitions/app.Response'
  33849. security:
  33850. - ApiKeyAuth: []
  33851. summary: 查询"我的订单 - 已完成"单据信息
  33852. tags:
  33853. - 定制【海商报业】
  33854. /HSBY/QueryHsbyGoodsOrderDetails:
  33855. get:
  33856. description: 说明:查询结果已按委托价格和委托时间排序
  33857. parameters:
  33858. - description: 商品ID
  33859. in: query
  33860. name: goodsID
  33861. required: true
  33862. type: integer
  33863. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  33864. in: query
  33865. name: accountIDs
  33866. type: string
  33867. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  33868. in: query
  33869. name: buyOrSell
  33870. type: integer
  33871. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  33872. in: query
  33873. name: price
  33874. type: number
  33875. - description: 档位,不传则默认为3档
  33876. in: query
  33877. name: speed
  33878. type: integer
  33879. produces:
  33880. - application/json
  33881. responses:
  33882. "200":
  33883. description: OK
  33884. schema:
  33885. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  33886. "500":
  33887. description: Internal Server Error
  33888. schema:
  33889. $ref: '#/definitions/app.Response'
  33890. security:
  33891. - ApiKeyAuth: []
  33892. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  33893. tags:
  33894. - 定制【海商报业】
  33895. /HSBY/QueryHsbyListingGoodsDetail:
  33896. get:
  33897. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  33898. parameters:
  33899. - description: 商品ID
  33900. in: query
  33901. name: goodsID
  33902. required: true
  33903. type: integer
  33904. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  33905. in: query
  33906. name: accountID
  33907. type: integer
  33908. produces:
  33909. - application/json
  33910. responses:
  33911. "200":
  33912. description: OK
  33913. schema:
  33914. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  33915. "500":
  33916. description: Internal Server Error
  33917. schema:
  33918. $ref: '#/definitions/app.Response'
  33919. security:
  33920. - ApiKeyAuth: []
  33921. summary: 查询二级市场(挂牌点选)商品信息详情
  33922. tags:
  33923. - 定制【海商报业】
  33924. /HSBY/QueryHsbyMarketGoodsDetail:
  33925. get:
  33926. parameters:
  33927. - description: 委托单号
  33928. in: query
  33929. name: orderID
  33930. required: true
  33931. type: integer
  33932. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  33933. in: query
  33934. name: accountID
  33935. type: integer
  33936. produces:
  33937. - application/json
  33938. responses:
  33939. "200":
  33940. description: OK
  33941. schema:
  33942. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  33943. "500":
  33944. description: Internal Server Error
  33945. schema:
  33946. $ref: '#/definitions/app.Response'
  33947. security:
  33948. - ApiKeyAuth: []
  33949. summary: 查询三级市场(商城)商品信息详情
  33950. tags:
  33951. - 定制【海商报业】
  33952. /HSBY/QueryHsbyMarketGoodses:
  33953. get:
  33954. parameters:
  33955. - description: 页码
  33956. in: query
  33957. name: page
  33958. type: integer
  33959. - description: 每页条数
  33960. in: query
  33961. name: pagesize
  33962. type: integer
  33963. - description: 市场ID列表,格式:1,2,3
  33964. in: query
  33965. name: marketIDs
  33966. required: true
  33967. type: string
  33968. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  33969. in: query
  33970. name: accountID
  33971. required: true
  33972. type: integer
  33973. - description: 类别ID
  33974. in: query
  33975. name: categoryID
  33976. type: integer
  33977. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  33978. in: query
  33979. name: goodsIDs
  33980. type: string
  33981. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  33982. in: query
  33983. name: couponTypeID
  33984. type: integer
  33985. produces:
  33986. - application/json
  33987. responses:
  33988. "200":
  33989. description: OK
  33990. schema:
  33991. $ref: '#/definitions/models.HsbyMarketGoods'
  33992. "500":
  33993. description: Internal Server Error
  33994. schema:
  33995. $ref: '#/definitions/app.Response'
  33996. security:
  33997. - ApiKeyAuth: []
  33998. summary: 查询特卖商品列表(三级商城)
  33999. tags:
  34000. - 定制【海商报业】
  34001. /HSBY/QueryHsbyMarkets:
  34002. get:
  34003. produces:
  34004. - application/json
  34005. responses:
  34006. "200":
  34007. description: OK
  34008. schema:
  34009. $ref: '#/definitions/models.HsbyMarketInfo'
  34010. "500":
  34011. description: Internal Server Error
  34012. schema:
  34013. $ref: '#/definitions/app.Response'
  34014. security:
  34015. - ApiKeyAuth: []
  34016. summary: 查询海商报业相关市场信息
  34017. tags:
  34018. - 定制【海商报业】
  34019. /HSBY/QueryHsbyMyBuyOrderDetails:
  34020. get:
  34021. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  34022. parameters:
  34023. - description: 资金账户列表,格式:1,2,3
  34024. in: query
  34025. name: accountIDs
  34026. required: true
  34027. type: string
  34028. produces:
  34029. - application/json
  34030. responses:
  34031. "200":
  34032. description: OK
  34033. schema:
  34034. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  34035. "500":
  34036. description: Internal Server Error
  34037. schema:
  34038. $ref: '#/definitions/app.Response'
  34039. security:
  34040. - ApiKeyAuth: []
  34041. summary: 查询“我的订单”信息
  34042. tags:
  34043. - 定制【海商报业】
  34044. /HSBY/QueryHsbyMyGoods:
  34045. get:
  34046. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  34047. parameters:
  34048. - description: 资金账户列表,格式:1,2,3
  34049. in: query
  34050. name: accountIDs
  34051. required: true
  34052. type: string
  34053. produces:
  34054. - application/json
  34055. responses:
  34056. "200":
  34057. description: OK
  34058. schema:
  34059. $ref: '#/definitions/models.HsbyMyGoods'
  34060. "500":
  34061. description: Internal Server Error
  34062. schema:
  34063. $ref: '#/definitions/app.Response'
  34064. security:
  34065. - ApiKeyAuth: []
  34066. summary: 查询“我的商品”信息
  34067. tags:
  34068. - 定制【海商报业】
  34069. /HSBY/QueryHsbyMyPackages:
  34070. get:
  34071. parameters:
  34072. - description: 资金账户列表,格式:1,2,3
  34073. in: query
  34074. name: accountIDs
  34075. required: true
  34076. type: string
  34077. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  34078. in: query
  34079. name: takeOrderStatus
  34080. type: integer
  34081. produces:
  34082. - application/json
  34083. responses:
  34084. "200":
  34085. description: OK
  34086. schema:
  34087. $ref: '#/definitions/models.HsbyMyPackage'
  34088. "500":
  34089. description: Internal Server Error
  34090. schema:
  34091. $ref: '#/definitions/app.Response'
  34092. security:
  34093. - ApiKeyAuth: []
  34094. summary: 查询我的包裹信息
  34095. tags:
  34096. - 定制【海商报业】
  34097. /HSBY/QueryHsbyPreGoodsDetail:
  34098. get:
  34099. parameters:
  34100. - description: 商品ID
  34101. in: query
  34102. name: goodsID
  34103. required: true
  34104. type: integer
  34105. - description: 资金账户,主要用于获取预售商品购买上限
  34106. in: query
  34107. name: accountID
  34108. type: integer
  34109. produces:
  34110. - application/json
  34111. responses:
  34112. "200":
  34113. description: OK
  34114. schema:
  34115. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  34116. "500":
  34117. description: Internal Server Error
  34118. schema:
  34119. $ref: '#/definitions/app.Response'
  34120. security:
  34121. - ApiKeyAuth: []
  34122. summary: 查询一级市场(预售)商品信息详情
  34123. tags:
  34124. - 定制【海商报业】
  34125. /HSBY/QueryHsbyPreGoodses:
  34126. get:
  34127. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  34128. parameters:
  34129. - description: 页码
  34130. in: query
  34131. name: page
  34132. type: integer
  34133. - description: 每页条数
  34134. in: query
  34135. name: pagesize
  34136. type: integer
  34137. - description: 市场ID列表,格式:1,2,3
  34138. in: query
  34139. name: marketIDs
  34140. required: true
  34141. type: string
  34142. - description: 目的地(省)ID
  34143. in: query
  34144. name: descProvinceID
  34145. type: integer
  34146. - description: 目的地(市)ID
  34147. in: query
  34148. name: descCityID
  34149. type: integer
  34150. produces:
  34151. - application/json
  34152. responses:
  34153. "200":
  34154. description: OK
  34155. schema:
  34156. $ref: '#/definitions/models.HsbyPreGoods'
  34157. "500":
  34158. description: Internal Server Error
  34159. schema:
  34160. $ref: '#/definitions/app.Response'
  34161. security:
  34162. - ApiKeyAuth: []
  34163. summary: 查询新品上市商品列表(一级市场预售)
  34164. tags:
  34165. - 定制【海商报业】
  34166. /HSBY/QueryHsbySellMyDetails:
  34167. get:
  34168. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  34169. parameters:
  34170. - description: 页码
  34171. in: query
  34172. name: page
  34173. type: integer
  34174. - description: 每页条数
  34175. in: query
  34176. name: pagesize
  34177. type: integer
  34178. - description: 资金账户列表,格式:1,2,3
  34179. in: query
  34180. name: accountIDs
  34181. required: true
  34182. type: string
  34183. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  34184. in: query
  34185. name: orderType
  34186. type: integer
  34187. produces:
  34188. - application/json
  34189. responses:
  34190. "200":
  34191. description: OK
  34192. schema:
  34193. $ref: '#/definitions/models.HsbySellMyDetail'
  34194. "500":
  34195. description: Internal Server Error
  34196. schema:
  34197. $ref: '#/definitions/app.Response'
  34198. security:
  34199. - ApiKeyAuth: []
  34200. summary: 查询"我的闲置"单据信息
  34201. tags:
  34202. - 定制【海商报业】
  34203. /HSBY/QueryHsbyTopGoodses:
  34204. get:
  34205. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  34206. parameters:
  34207. - description: 页码
  34208. in: query
  34209. name: page
  34210. type: integer
  34211. - description: 每页条数
  34212. in: query
  34213. name: pagesize
  34214. type: integer
  34215. - description: 市场ID列表,格式:1,2,3
  34216. in: query
  34217. name: marketIDs
  34218. required: true
  34219. type: string
  34220. - description: 目的地(省)ID
  34221. in: query
  34222. name: descProvinceID
  34223. type: integer
  34224. - description: 目的地(市)ID
  34225. in: query
  34226. name: descCityID
  34227. type: integer
  34228. produces:
  34229. - application/json
  34230. responses:
  34231. "200":
  34232. description: OK
  34233. schema:
  34234. $ref: '#/definitions/models.HsbyTopGoods'
  34235. "500":
  34236. description: Internal Server Error
  34237. schema:
  34238. $ref: '#/definitions/app.Response'
  34239. security:
  34240. - ApiKeyAuth: []
  34241. summary: 查询热卖商品列表(二级市场挂牌点选)
  34242. tags:
  34243. - 定制【海商报业】
  34244. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  34245. get:
  34246. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  34247. parameters:
  34248. - description: 商品ID
  34249. in: query
  34250. name: goodsID
  34251. required: true
  34252. type: integer
  34253. produces:
  34254. - application/json
  34255. responses:
  34256. "200":
  34257. description: OK
  34258. schema:
  34259. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  34260. "500":
  34261. description: Internal Server Error
  34262. schema:
  34263. $ref: '#/definitions/app.Response'
  34264. security:
  34265. - ApiKeyAuth: []
  34266. summary: 查询游客三级市场(商城)商品信息详情
  34267. tags:
  34268. - 定制【海商报业】
  34269. /HSBY/QueryHsbyVisitorMarketGoodses:
  34270. get:
  34271. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  34272. parameters:
  34273. - description: 页码
  34274. in: query
  34275. name: page
  34276. type: integer
  34277. - description: 每页条数
  34278. in: query
  34279. name: pagesize
  34280. type: integer
  34281. - description: 市场ID列表,格式:1,2,3
  34282. in: query
  34283. name: marketIDs
  34284. required: true
  34285. type: string
  34286. - description: 类别ID
  34287. in: query
  34288. name: categoryID
  34289. type: integer
  34290. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  34291. in: query
  34292. name: goodsIDs
  34293. type: string
  34294. produces:
  34295. - application/json
  34296. responses:
  34297. "200":
  34298. description: OK
  34299. schema:
  34300. $ref: '#/definitions/models.HsbyMarketGoods'
  34301. "500":
  34302. description: Internal Server Error
  34303. schema:
  34304. $ref: '#/definitions/app.Response'
  34305. security:
  34306. - ApiKeyAuth: []
  34307. summary: 查询游客特卖商品列表(三级商城)
  34308. tags:
  34309. - 定制【海商报业】
  34310. /HSBY/QueryMyCollectionOrders:
  34311. get:
  34312. parameters:
  34313. - description: 页码
  34314. in: query
  34315. name: page
  34316. type: integer
  34317. - description: 每页条数
  34318. in: query
  34319. name: pagesize
  34320. type: integer
  34321. - description: 资金账户,格式:1,2,3
  34322. in: query
  34323. name: accountIDs
  34324. required: true
  34325. type: string
  34326. produces:
  34327. - application/json
  34328. responses:
  34329. "200":
  34330. description: OK
  34331. schema:
  34332. $ref: '#/definitions/models.HsbySellCollectionOrder'
  34333. "500":
  34334. description: Internal Server Error
  34335. schema:
  34336. $ref: '#/definitions/app.Response'
  34337. security:
  34338. - ApiKeyAuth: []
  34339. summary: 我的闲置中收款信息查询
  34340. tags:
  34341. - 定制【海商报业】
  34342. /HSBY/QueryMyCouponHolds:
  34343. get:
  34344. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  34345. parameters:
  34346. - description: 资金账户列表,格式:1,2,3
  34347. in: query
  34348. name: accountIDs
  34349. required: true
  34350. type: string
  34351. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  34352. in: query
  34353. name: holdStatus
  34354. type: string
  34355. produces:
  34356. - application/json
  34357. responses:
  34358. "200":
  34359. description: OK
  34360. schema:
  34361. $ref: '#/definitions/models.MyCouponHold'
  34362. "500":
  34363. description: Internal Server Error
  34364. schema:
  34365. $ref: '#/definitions/app.Response'
  34366. security:
  34367. - ApiKeyAuth: []
  34368. summary: 我的优惠卷持仓查询
  34369. tags:
  34370. - 定制【海商报业】
  34371. /HSBY/QueryMyCoupons:
  34372. get:
  34373. parameters:
  34374. - description: 资金账户列表,格式:1,2,3
  34375. in: query
  34376. name: accountIDs
  34377. required: true
  34378. type: string
  34379. - description: 商品ID, 一般与sellUserID配套传入
  34380. in: query
  34381. name: goodsID
  34382. type: integer
  34383. - description: 卖方UserID
  34384. in: query
  34385. name: sellUserID
  34386. type: integer
  34387. produces:
  34388. - application/json
  34389. responses:
  34390. "200":
  34391. description: OK
  34392. schema:
  34393. $ref: '#/definitions/models.MyCoupon'
  34394. "500":
  34395. description: Internal Server Error
  34396. schema:
  34397. $ref: '#/definitions/app.Response'
  34398. security:
  34399. - ApiKeyAuth: []
  34400. summary: 我的优惠卷查询
  34401. tags:
  34402. - 定制【海商报业】
  34403. /HSBY/QueryMyPayOrders:
  34404. get:
  34405. parameters:
  34406. - description: 页码
  34407. in: query
  34408. name: page
  34409. type: integer
  34410. - description: 每页条数
  34411. in: query
  34412. name: pagesize
  34413. type: integer
  34414. - description: 资金账户列表,格式:1,2,3
  34415. in: query
  34416. name: accountIDs
  34417. required: true
  34418. type: string
  34419. - description: 买方委托单号
  34420. in: query
  34421. name: buyOrderID
  34422. type: integer
  34423. - description: 卖方委托单号
  34424. in: query
  34425. name: sellOrderID
  34426. type: integer
  34427. produces:
  34428. - application/json
  34429. responses:
  34430. "200":
  34431. description: OK
  34432. schema:
  34433. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  34434. "500":
  34435. description: Internal Server Error
  34436. schema:
  34437. $ref: '#/definitions/app.Response'
  34438. security:
  34439. - ApiKeyAuth: []
  34440. summary: 获取我的订单中待付款信息
  34441. tags:
  34442. - 定制【海商报业】
  34443. /HSBY/QueryMyUsedCoupon:
  34444. get:
  34445. parameters:
  34446. - description: 资金账户列表,格式:1,2,3
  34447. in: query
  34448. name: accountIDs
  34449. required: true
  34450. type: string
  34451. produces:
  34452. - application/json
  34453. responses:
  34454. "200":
  34455. description: OK
  34456. schema:
  34457. $ref: '#/definitions/models.MyUsedCoupon'
  34458. "500":
  34459. description: Internal Server Error
  34460. schema:
  34461. $ref: '#/definitions/app.Response'
  34462. security:
  34463. - ApiKeyAuth: []
  34464. summary: 已使用优惠卷查询
  34465. tags:
  34466. - 定制【海商报业】
  34467. /HSBY/QueryProvincesAndCities:
  34468. get:
  34469. description: 查询结果只包括二级市场商品已关连的省市信息。
  34470. parameters:
  34471. - description: 省ID
  34472. in: query
  34473. name: provinceID
  34474. type: integer
  34475. produces:
  34476. - application/json
  34477. responses:
  34478. "200":
  34479. description: OK
  34480. schema:
  34481. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  34482. "500":
  34483. description: Internal Server Error
  34484. schema:
  34485. $ref: '#/definitions/app.Response'
  34486. security:
  34487. - ApiKeyAuth: []
  34488. summary: 查询省市信息(不包括区)
  34489. tags:
  34490. - 定制【海商报业】
  34491. /HSBY/SetHsbyMyPackagesStatus:
  34492. post:
  34493. parameters:
  34494. - description: 提货单号
  34495. in: query
  34496. name: takeOrderID
  34497. required: true
  34498. type: string
  34499. - description: 资金账号
  34500. in: query
  34501. name: accountID
  34502. required: true
  34503. type: integer
  34504. produces:
  34505. - application/json
  34506. responses:
  34507. "200":
  34508. description: OK
  34509. schema:
  34510. $ref: '#/definitions/app.Response'
  34511. "500":
  34512. description: Internal Server Error
  34513. schema:
  34514. $ref: '#/definitions/app.Response'
  34515. security:
  34516. - ApiKeyAuth: []
  34517. summary: 设置我的包裹已收货状态
  34518. tags:
  34519. - 定制【海商报业】
  34520. /Market/GetAllExExchanges:
  34521. get:
  34522. produces:
  34523. - application/json
  34524. responses:
  34525. "200":
  34526. description: OK
  34527. schema:
  34528. $ref: '#/definitions/models.Goods'
  34529. "500":
  34530. description: Internal Server Error
  34531. schema:
  34532. $ref: '#/definitions/app.Response'
  34533. security:
  34534. - ApiKeyAuth: []
  34535. summary: 获取所有外部交易所信息
  34536. tags:
  34537. - 通用市场
  34538. /Market/QueryGoodsesByLoginID:
  34539. get:
  34540. parameters:
  34541. - description: 登录账号
  34542. in: query
  34543. name: loginID
  34544. required: true
  34545. type: integer
  34546. - description: 市场ID列表,格式:1,2,3
  34547. in: query
  34548. name: marketIDs
  34549. type: string
  34550. produces:
  34551. - application/json
  34552. responses:
  34553. "200":
  34554. description: OK
  34555. schema:
  34556. $ref: '#/definitions/models.Goods'
  34557. "500":
  34558. description: Internal Server Error
  34559. schema:
  34560. $ref: '#/definitions/app.Response'
  34561. security:
  34562. - ApiKeyAuth: []
  34563. summary: 获取登录账号有权限的商品信息
  34564. tags:
  34565. - 通用市场
  34566. /Market/QueryMarketRun:
  34567. get:
  34568. parameters:
  34569. - description: 市场ID,不传返回所有
  34570. in: query
  34571. name: marketID
  34572. type: integer
  34573. produces:
  34574. - application/json
  34575. responses:
  34576. "200":
  34577. description: OK
  34578. schema:
  34579. $ref: '#/definitions/models.Marketrun'
  34580. "500":
  34581. description: Internal Server Error
  34582. schema:
  34583. $ref: '#/definitions/app.Response'
  34584. summary: 查询市场运行信息
  34585. tags:
  34586. - 通用市场
  34587. /Market/QueryMarketsByLoginID:
  34588. get:
  34589. parameters:
  34590. - description: 登录账号
  34591. in: query
  34592. name: loginID
  34593. required: true
  34594. type: integer
  34595. produces:
  34596. - application/json
  34597. responses:
  34598. "200":
  34599. description: OK
  34600. schema:
  34601. $ref: '#/definitions/models.Market'
  34602. "500":
  34603. description: Internal Server Error
  34604. schema:
  34605. $ref: '#/definitions/app.Response'
  34606. security:
  34607. - ApiKeyAuth: []
  34608. summary: 获取登录账号有权限的市场信息
  34609. tags:
  34610. - 通用市场
  34611. /Order/QueryHisTradeDetail:
  34612. get:
  34613. parameters:
  34614. - description: 资金账户 - 格式:1,2,3
  34615. in: query
  34616. name: accountID
  34617. required: true
  34618. type: string
  34619. - description: 成交单号
  34620. in: query
  34621. name: tradeID
  34622. type: integer
  34623. - description: 委托单号
  34624. in: query
  34625. name: orderID
  34626. type: integer
  34627. - description: 商品ID
  34628. in: query
  34629. name: goodsID
  34630. type: integer
  34631. - description: 交易模式 - 格式:1,2,3
  34632. in: query
  34633. name: tradeMode
  34634. type: string
  34635. - description: 委托单据类型
  34636. in: query
  34637. name: buildType
  34638. type: integer
  34639. - description: 成交类别 - 格式:1,2,3
  34640. in: query
  34641. name: tradeType
  34642. type: string
  34643. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  34644. in: query
  34645. name: startDate
  34646. type: string
  34647. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  34648. in: query
  34649. name: endDate
  34650. type: string
  34651. produces:
  34652. - application/json
  34653. responses:
  34654. "200":
  34655. description: OK
  34656. schema:
  34657. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  34658. "500":
  34659. description: Internal Server Error
  34660. schema:
  34661. $ref: '#/definitions/app.Response'
  34662. security:
  34663. - ApiKeyAuth: []
  34664. summary: 历史成交单查询(合约市场)
  34665. tags:
  34666. - 通用单据
  34667. /Order/QueryHisTradeOrderDetail:
  34668. get:
  34669. parameters:
  34670. - description: 资金账户 - 格式:1,2,3
  34671. in: query
  34672. name: accountID
  34673. required: true
  34674. type: string
  34675. - description: 交易模式 - 格式:1,2,3
  34676. in: query
  34677. name: tradeMode
  34678. type: string
  34679. - description: 委托状态 - 格式:1,2,3
  34680. in: query
  34681. name: orderStatus
  34682. type: string
  34683. - description: 委托单号
  34684. in: query
  34685. name: orderID
  34686. type: integer
  34687. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  34688. in: query
  34689. name: startDate
  34690. type: string
  34691. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  34692. in: query
  34693. name: endDate
  34694. type: string
  34695. produces:
  34696. - application/json
  34697. responses:
  34698. "200":
  34699. description: OK
  34700. schema:
  34701. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  34702. "500":
  34703. description: Internal Server Error
  34704. schema:
  34705. $ref: '#/definitions/app.Response'
  34706. security:
  34707. - ApiKeyAuth: []
  34708. summary: 历史委托单查询请求(合约市场)
  34709. tags:
  34710. - 通用单据
  34711. /Order/QueryTradeDetail:
  34712. get:
  34713. parameters:
  34714. - description: 资金账户 - 格式:1,2,3
  34715. in: query
  34716. name: accountID
  34717. required: true
  34718. type: string
  34719. - description: 成交单号
  34720. in: query
  34721. name: tradeID
  34722. type: integer
  34723. - description: 委托单号
  34724. in: query
  34725. name: orderID
  34726. type: integer
  34727. - description: 交易模式 - 格式:1,2,3
  34728. in: query
  34729. name: tradeMode
  34730. type: string
  34731. - description: 委托单据类型
  34732. in: query
  34733. name: buildType
  34734. type: integer
  34735. - description: 成交类别 - 格式:1,2,3
  34736. in: query
  34737. name: tradeType
  34738. type: string
  34739. - description: 商品ID
  34740. in: query
  34741. name: goodsID
  34742. type: integer
  34743. produces:
  34744. - application/json
  34745. responses:
  34746. "200":
  34747. description: OK
  34748. schema:
  34749. $ref: '#/definitions/order.QueryTradeDetailRsp'
  34750. "500":
  34751. description: Internal Server Error
  34752. schema:
  34753. $ref: '#/definitions/app.Response'
  34754. security:
  34755. - ApiKeyAuth: []
  34756. summary: 成交单查询(合约市场)
  34757. tags:
  34758. - 通用单据
  34759. /Order/QueryTradeHolderDetail:
  34760. get:
  34761. parameters:
  34762. - description: 用户id
  34763. in: query
  34764. name: userid
  34765. type: integer
  34766. - description: 资金账号, 格式 1,2,3
  34767. in: query
  34768. name: accids
  34769. type: string
  34770. - description: 交易模式, 格式 1,2,3
  34771. in: query
  34772. name: trademodes
  34773. type: string
  34774. - description: 市场id, 格式 1,2,3
  34775. in: query
  34776. name: marketids
  34777. type: string
  34778. - description: 商品id
  34779. in: query
  34780. name: goodsid
  34781. type: integer
  34782. - description: 买卖方向 0-买 1-卖
  34783. in: query
  34784. name: buyorsell
  34785. type: integer
  34786. produces:
  34787. - application/json
  34788. responses:
  34789. "200":
  34790. description: OK
  34791. schema:
  34792. items:
  34793. $ref: '#/definitions/models.TradeHolderDetail'
  34794. type: array
  34795. "500":
  34796. description: Internal Server Error
  34797. schema:
  34798. $ref: '#/definitions/app.Response'
  34799. security:
  34800. - ApiKeyAuth: []
  34801. summary: 查询持仓明细
  34802. tags:
  34803. - 通用单据
  34804. /Order/QueryTradeOrderDetail:
  34805. get:
  34806. parameters:
  34807. - description: 资金账户 - 格式:1,2,3
  34808. in: query
  34809. name: accountID
  34810. required: true
  34811. type: string
  34812. - description: 交易模式 - 格式:1,2,3
  34813. in: query
  34814. name: tradeMode
  34815. type: string
  34816. - description: 委托状态 - 格式:1,2,3
  34817. in: query
  34818. name: orderStatus
  34819. type: string
  34820. - description: 委托单号
  34821. in: query
  34822. name: orderID
  34823. type: integer
  34824. produces:
  34825. - application/json
  34826. responses:
  34827. "200":
  34828. description: OK
  34829. schema:
  34830. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  34831. "500":
  34832. description: Internal Server Error
  34833. schema:
  34834. $ref: '#/definitions/app.Response'
  34835. security:
  34836. - ApiKeyAuth: []
  34837. summary: 委托单查询请求(合约市场)
  34838. tags:
  34839. - 通用单据
  34840. /Order/QueryTradePosition:
  34841. get:
  34842. parameters:
  34843. - description: 资金账户 - 格式:1,2,3
  34844. in: query
  34845. name: accountID
  34846. required: true
  34847. type: string
  34848. - description: 交易模式 - 格式:1,2,3
  34849. in: query
  34850. name: tradeMode
  34851. type: string
  34852. produces:
  34853. - application/json
  34854. responses:
  34855. "200":
  34856. description: OK
  34857. schema:
  34858. $ref: '#/definitions/order.QueryTradePositionRsp'
  34859. "500":
  34860. description: Internal Server Error
  34861. schema:
  34862. $ref: '#/definitions/app.Response'
  34863. security:
  34864. - ApiKeyAuth: []
  34865. summary: 持仓汇总查询(合约市场)
  34866. tags:
  34867. - 通用单据
  34868. /Qhj/QueryAccountInOutApply:
  34869. get:
  34870. parameters:
  34871. - description: 用户ID
  34872. in: query
  34873. name: userid
  34874. required: true
  34875. type: integer
  34876. - description: 申请起始日期(格式yyyymmdd)
  34877. in: query
  34878. name: begindate
  34879. type: string
  34880. - description: 申请截止日期(格式yyyymmdd)
  34881. in: query
  34882. name: enddate
  34883. type: string
  34884. - description: 模糊搜索名称
  34885. in: query
  34886. name: likename
  34887. type: string
  34888. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  34889. in: query
  34890. name: applystatus
  34891. type: integer
  34892. - description: 查询类型 1-提现(出金) 2-充值(入金)
  34893. in: query
  34894. name: querytype
  34895. type: integer
  34896. produces:
  34897. - application/json
  34898. responses:
  34899. "200":
  34900. description: OK
  34901. schema:
  34902. items:
  34903. $ref: '#/definitions/models.QhjAccountOutInApply'
  34904. type: array
  34905. "500":
  34906. description: Internal Server Error
  34907. schema:
  34908. $ref: '#/definitions/app.Response'
  34909. security:
  34910. - ApiKeyAuth: []
  34911. summary: 查询充值提现
  34912. tags:
  34913. - 大连千海金
  34914. /Qhj/QueryAreaFinanceConfig:
  34915. get:
  34916. parameters:
  34917. - description: 机构用户ID 其他做市关系,都设置为 1
  34918. in: query
  34919. name: userid
  34920. type: integer
  34921. produces:
  34922. - application/json
  34923. responses:
  34924. "200":
  34925. description: OK
  34926. schema:
  34927. items:
  34928. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  34929. type: array
  34930. "500":
  34931. description: Internal Server Error
  34932. schema:
  34933. $ref: '#/definitions/app.Response'
  34934. security:
  34935. - ApiKeyAuth: []
  34936. summary: 查询企业配置表
  34937. tags:
  34938. - 大连千海金
  34939. /Qhj/QueryBankAccountSign:
  34940. get:
  34941. parameters:
  34942. - description: 用户ID
  34943. in: query
  34944. name: userid
  34945. required: true
  34946. type: integer
  34947. produces:
  34948. - application/json
  34949. responses:
  34950. "200":
  34951. description: OK
  34952. schema:
  34953. items:
  34954. $ref: '#/definitions/models.QhjBankAccountSign'
  34955. type: array
  34956. "500":
  34957. description: Internal Server Error
  34958. schema:
  34959. $ref: '#/definitions/app.Response'
  34960. security:
  34961. - ApiKeyAuth: []
  34962. summary: 查询签约银行信息(提现账户管理)
  34963. tags:
  34964. - 大连千海金
  34965. /Qhj/QueryBankInfo:
  34966. get:
  34967. produces:
  34968. - application/json
  34969. responses:
  34970. "200":
  34971. description: OK
  34972. schema:
  34973. items:
  34974. $ref: '#/definitions/models.QhjBankInfo'
  34975. type: array
  34976. "500":
  34977. description: Internal Server Error
  34978. schema:
  34979. $ref: '#/definitions/app.Response'
  34980. security:
  34981. - ApiKeyAuth: []
  34982. summary: 查询开户行
  34983. tags:
  34984. - 大连千海金
  34985. /Qhj/QueryBrokerApply:
  34986. get:
  34987. parameters:
  34988. - description: 所属机构ID
  34989. in: query
  34990. name: userid
  34991. type: integer
  34992. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  34993. in: query
  34994. name: filterstatus
  34995. type: string
  34996. produces:
  34997. - application/json
  34998. responses:
  34999. "200":
  35000. description: OK
  35001. schema:
  35002. items:
  35003. $ref: '#/definitions/models.QhjBrokerApply'
  35004. type: array
  35005. "500":
  35006. description: Internal Server Error
  35007. schema:
  35008. $ref: '#/definitions/app.Response'
  35009. security:
  35010. - ApiKeyAuth: []
  35011. summary: 查询经纪人申请
  35012. tags:
  35013. - 大连千海金
  35014. /Qhj/QueryBrokerApplyEx:
  35015. get:
  35016. parameters:
  35017. - description: 所属机构ID
  35018. in: query
  35019. name: userid
  35020. type: integer
  35021. produces:
  35022. - application/json
  35023. responses:
  35024. "200":
  35025. description: OK
  35026. schema:
  35027. items:
  35028. $ref: '#/definitions/models.QhjBrokerApplyEx'
  35029. type: array
  35030. "500":
  35031. description: Internal Server Error
  35032. schema:
  35033. $ref: '#/definitions/app.Response'
  35034. security:
  35035. - ApiKeyAuth: []
  35036. summary: 查询经纪人信息和申请记录
  35037. tags:
  35038. - 大连千海金
  35039. /Qhj/QueryBrokerRewardLog:
  35040. get:
  35041. parameters:
  35042. - description: 用户ID
  35043. in: query
  35044. name: userid
  35045. required: true
  35046. type: integer
  35047. - description: 开始交易日(yyyymmdd)
  35048. in: query
  35049. name: begindate
  35050. type: string
  35051. - description: 结束交易日(yyyymmdd)
  35052. in: query
  35053. name: enddate
  35054. type: string
  35055. produces:
  35056. - application/json
  35057. responses:
  35058. "200":
  35059. description: OK
  35060. schema:
  35061. items:
  35062. $ref: '#/definitions/models.QhjBrokerRewardLog'
  35063. type: array
  35064. "500":
  35065. description: Internal Server Error
  35066. schema:
  35067. $ref: '#/definitions/app.Response'
  35068. security:
  35069. - ApiKeyAuth: []
  35070. summary: 查询奖励流水(我的奖励)
  35071. tags:
  35072. - 大连千海金
  35073. /Qhj/QueryContract:
  35074. get:
  35075. parameters:
  35076. - description: 用户ID
  35077. in: query
  35078. name: userid
  35079. type: integer
  35080. - description: scf合同id
  35081. in: query
  35082. name: scfcontractid
  35083. type: integer
  35084. produces:
  35085. - application/json
  35086. responses:
  35087. "200":
  35088. description: OK
  35089. schema:
  35090. items:
  35091. $ref: '#/definitions/models.QhjContract'
  35092. type: array
  35093. "500":
  35094. description: Internal Server Error
  35095. schema:
  35096. $ref: '#/definitions/app.Response'
  35097. security:
  35098. - ApiKeyAuth: []
  35099. summary: 查询融资明细(合同)
  35100. tags:
  35101. - 大连千海金
  35102. /Qhj/QueryContractLog:
  35103. get:
  35104. parameters:
  35105. - description: scf合同id
  35106. in: query
  35107. name: scfcontractid
  35108. required: true
  35109. type: integer
  35110. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  35111. in: query
  35112. name: amounttype
  35113. type: string
  35114. produces:
  35115. - application/json
  35116. responses:
  35117. "200":
  35118. description: OK
  35119. schema:
  35120. items:
  35121. $ref: '#/definitions/models.QhjContractLog'
  35122. type: array
  35123. "500":
  35124. description: Internal Server Error
  35125. schema:
  35126. $ref: '#/definitions/app.Response'
  35127. security:
  35128. - ApiKeyAuth: []
  35129. summary: 查询融资明细流水(融资明细详情页中的流水)
  35130. tags:
  35131. - 大连千海金
  35132. /Qhj/QueryCusBankSignBank:
  35133. get:
  35134. produces:
  35135. - application/json
  35136. responses:
  35137. "200":
  35138. description: OK
  35139. schema:
  35140. items:
  35141. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  35142. type: array
  35143. "500":
  35144. description: Internal Server Error
  35145. schema:
  35146. $ref: '#/definitions/app.Response'
  35147. security:
  35148. - ApiKeyAuth: []
  35149. summary: 查询托管银行
  35150. tags:
  35151. - 大连千海金
  35152. /Qhj/QueryCustomerInfo:
  35153. get:
  35154. parameters:
  35155. - description: 用户ID
  35156. in: query
  35157. name: userid
  35158. required: true
  35159. type: integer
  35160. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  35161. in: query
  35162. name: querytype
  35163. required: true
  35164. type: integer
  35165. - description: 客户类型 1-个人 2-企业
  35166. in: query
  35167. name: userinfotype
  35168. type: integer
  35169. - description: 客户名称(模糊匹配)
  35170. in: query
  35171. name: customername
  35172. type: string
  35173. - description: 昵称(模糊匹配)
  35174. in: query
  35175. name: nickname
  35176. type: string
  35177. - description: 是否包含子级 1-包含
  35178. in: query
  35179. name: includesub
  35180. type: integer
  35181. produces:
  35182. - application/json
  35183. responses:
  35184. "200":
  35185. description: OK
  35186. schema:
  35187. items:
  35188. $ref: '#/definitions/models.QhjCustomer'
  35189. type: array
  35190. "500":
  35191. description: Internal Server Error
  35192. schema:
  35193. $ref: '#/definitions/app.Response'
  35194. security:
  35195. - ApiKeyAuth: []
  35196. summary: 查询客户资料
  35197. tags:
  35198. - 大连千海金
  35199. /Qhj/QueryGoodsEx:
  35200. get:
  35201. parameters:
  35202. - description: 商品id
  35203. in: query
  35204. name: goodsid
  35205. type: integer
  35206. produces:
  35207. - application/json
  35208. responses:
  35209. "200":
  35210. description: OK
  35211. schema:
  35212. items:
  35213. $ref: '#/definitions/models.Qhjgoodsex'
  35214. type: array
  35215. "500":
  35216. description: Internal Server Error
  35217. schema:
  35218. $ref: '#/definitions/app.Response'
  35219. security:
  35220. - ApiKeyAuth: []
  35221. summary: 交易商品扩展表
  35222. tags:
  35223. - 大连千海金
  35224. /Qhj/QueryMyTeam:
  35225. get:
  35226. parameters:
  35227. - description: 用户ID
  35228. in: query
  35229. name: userid
  35230. required: true
  35231. type: integer
  35232. produces:
  35233. - application/json
  35234. responses:
  35235. "200":
  35236. description: OK
  35237. schema:
  35238. items:
  35239. $ref: '#/definitions/models.QhjMyTeamEx'
  35240. type: array
  35241. "500":
  35242. description: Internal Server Error
  35243. schema:
  35244. $ref: '#/definitions/app.Response'
  35245. security:
  35246. - ApiKeyAuth: []
  35247. summary: 查询我的团队
  35248. tags:
  35249. - 大连千海金
  35250. /Qhj/QueryMyTeamOrder:
  35251. get:
  35252. parameters:
  35253. - description: 页码
  35254. in: query
  35255. name: page
  35256. type: integer
  35257. - description: 每页条数
  35258. in: query
  35259. name: pagesize
  35260. type: integer
  35261. - description: 用户ID
  35262. in: query
  35263. name: userid
  35264. required: true
  35265. type: integer
  35266. - description: 交易模式
  35267. in: query
  35268. name: trademode
  35269. type: integer
  35270. - description: 名称(模糊搜索账户)
  35271. in: query
  35272. name: filtername
  35273. type: string
  35274. produces:
  35275. - application/json
  35276. responses:
  35277. "200":
  35278. description: OK
  35279. schema:
  35280. items:
  35281. $ref: '#/definitions/models.QhjTeamOrder'
  35282. type: array
  35283. "500":
  35284. description: Internal Server Error
  35285. schema:
  35286. $ref: '#/definitions/app.Response'
  35287. security:
  35288. - ApiKeyAuth: []
  35289. summary: 查询团队订单(我的团队/团队订单)
  35290. tags:
  35291. - 大连千海金
  35292. /Qhj/QueryParentAreaList:
  35293. get:
  35294. parameters:
  35295. - description: 用户ID
  35296. in: query
  35297. name: userid
  35298. required: true
  35299. type: integer
  35300. produces:
  35301. - application/json
  35302. responses:
  35303. "200":
  35304. description: OK
  35305. schema:
  35306. items:
  35307. $ref: '#/definitions/models.QhjParentAreaList'
  35308. type: array
  35309. "500":
  35310. description: Internal Server Error
  35311. schema:
  35312. $ref: '#/definitions/app.Response'
  35313. security:
  35314. - ApiKeyAuth: []
  35315. summary: 查询所属机构列表
  35316. tags:
  35317. - 大连千海金
  35318. /Qhj/QueryPayOrder:
  35319. get:
  35320. parameters:
  35321. - description: 资金账号id
  35322. in: query
  35323. name: accountid
  35324. required: true
  35325. type: integer
  35326. - description: 成交单号
  35327. in: query
  35328. name: tradeid
  35329. type: integer
  35330. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  35331. in: query
  35332. name: payflag
  35333. type: string
  35334. produces:
  35335. - application/json
  35336. responses:
  35337. "200":
  35338. description: OK
  35339. schema:
  35340. items:
  35341. $ref: '#/definitions/models.QhjPayOrder'
  35342. type: array
  35343. "500":
  35344. description: Internal Server Error
  35345. schema:
  35346. $ref: '#/definitions/app.Response'
  35347. security:
  35348. - ApiKeyAuth: []
  35349. summary: 查询待付款单据
  35350. tags:
  35351. - 大连千海金
  35352. /Qhj/QueryPickArea:
  35353. get:
  35354. parameters:
  35355. - description: 用户ID
  35356. in: query
  35357. name: userid
  35358. type: integer
  35359. produces:
  35360. - application/json
  35361. responses:
  35362. "200":
  35363. description: OK
  35364. schema:
  35365. items:
  35366. $ref: '#/definitions/models.QhjPickArea'
  35367. type: array
  35368. "500":
  35369. description: Internal Server Error
  35370. schema:
  35371. $ref: '#/definitions/app.Response'
  35372. security:
  35373. - ApiKeyAuth: []
  35374. summary: 查询提货门店
  35375. tags:
  35376. - 大连千海金
  35377. /Qhj/QueryPickGoods:
  35378. get:
  35379. parameters:
  35380. - description: 交易商品id
  35381. in: query
  35382. name: goodsid
  35383. required: true
  35384. type: integer
  35385. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  35386. in: query
  35387. name: status
  35388. type: string
  35389. produces:
  35390. - application/json
  35391. responses:
  35392. "200":
  35393. description: OK
  35394. schema:
  35395. items:
  35396. $ref: '#/definitions/models.QhjPickGoods'
  35397. type: array
  35398. "500":
  35399. description: Internal Server Error
  35400. schema:
  35401. $ref: '#/definitions/app.Response'
  35402. security:
  35403. - ApiKeyAuth: []
  35404. summary: 查询提货商品
  35405. tags:
  35406. - 大连千海金
  35407. /Qhj/QueryRSTriggerLog:
  35408. get:
  35409. parameters:
  35410. - description: 用户ID
  35411. in: query
  35412. name: userid
  35413. type: integer
  35414. - description: 定投策略id
  35415. in: query
  35416. name: regularlystrategyid
  35417. type: integer
  35418. - description: 商品id
  35419. in: query
  35420. name: goodsid
  35421. type: integer
  35422. - description: 开始交易日(yyyymmdd)
  35423. in: query
  35424. name: begindate
  35425. type: string
  35426. - description: 结束交易日(yyyymmdd)
  35427. in: query
  35428. name: enddate
  35429. type: string
  35430. - description: 名称(模糊搜索账户)
  35431. in: query
  35432. name: filtername
  35433. type: string
  35434. produces:
  35435. - application/json
  35436. responses:
  35437. "200":
  35438. description: OK
  35439. schema:
  35440. items:
  35441. $ref: '#/definitions/models.QhjRSTriggerLog'
  35442. type: array
  35443. "500":
  35444. description: Internal Server Error
  35445. schema:
  35446. $ref: '#/definitions/app.Response'
  35447. security:
  35448. - ApiKeyAuth: []
  35449. summary: 查询定投记录(定投管理/详情/定投记录)
  35450. tags:
  35451. - 大连千海金
  35452. /Qhj/QueryRStrategy:
  35453. get:
  35454. parameters:
  35455. - description: 用户ID
  35456. in: query
  35457. name: userid
  35458. type: integer
  35459. - description: 商品id
  35460. in: query
  35461. name: goodsid
  35462. type: integer
  35463. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  35464. in: query
  35465. name: status
  35466. type: string
  35467. - description: 名称(模糊搜索账户)
  35468. in: query
  35469. name: filtername
  35470. type: string
  35471. produces:
  35472. - application/json
  35473. responses:
  35474. "200":
  35475. description: OK
  35476. schema:
  35477. items:
  35478. $ref: '#/definitions/models.QhjRStrategy'
  35479. type: array
  35480. "500":
  35481. description: Internal Server Error
  35482. schema:
  35483. $ref: '#/definitions/app.Response'
  35484. security:
  35485. - ApiKeyAuth: []
  35486. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  35487. tags:
  35488. - 大连千海金
  35489. /Qhj/QueryReckonPriceLog:
  35490. get:
  35491. parameters:
  35492. - description: 商品ID
  35493. in: query
  35494. name: goodsid
  35495. type: integer
  35496. - description: 交易日 格式(yyyymmdd)
  35497. in: query
  35498. name: tradedate
  35499. type: string
  35500. produces:
  35501. - application/json
  35502. responses:
  35503. "200":
  35504. description: OK
  35505. schema:
  35506. items:
  35507. $ref: '#/definitions/models.QhjReckonPriceLog'
  35508. type: array
  35509. "500":
  35510. description: Internal Server Error
  35511. schema:
  35512. $ref: '#/definitions/app.Response'
  35513. security:
  35514. - ApiKeyAuth: []
  35515. summary: 查询定投价(结算价)
  35516. tags:
  35517. - 大连千海金
  35518. /Qhj/QueryScoreLog:
  35519. get:
  35520. parameters:
  35521. - description: 用户ID
  35522. in: query
  35523. name: userid
  35524. required: true
  35525. type: integer
  35526. - description: 开始交易日(yyyymmdd)
  35527. in: query
  35528. name: begindate
  35529. type: string
  35530. - description: 结束交易日(yyyymmdd)
  35531. in: query
  35532. name: enddate
  35533. type: string
  35534. - description: 最近多少条
  35535. in: query
  35536. name: lastnum
  35537. type: integer
  35538. produces:
  35539. - application/json
  35540. responses:
  35541. "200":
  35542. description: OK
  35543. schema:
  35544. items:
  35545. $ref: '#/definitions/models.QhjScoreLog'
  35546. type: array
  35547. "500":
  35548. description: Internal Server Error
  35549. schema:
  35550. $ref: '#/definitions/app.Response'
  35551. security:
  35552. - ApiKeyAuth: []
  35553. summary: 查询积分流水(我的积分)
  35554. tags:
  35555. - 大连千海金
  35556. /Qhj/QuerySiteColumnDetail:
  35557. get:
  35558. parameters:
  35559. - description: 用户ID
  35560. in: query
  35561. name: userid
  35562. required: true
  35563. type: integer
  35564. produces:
  35565. - application/json
  35566. responses:
  35567. "200":
  35568. description: OK
  35569. schema:
  35570. items:
  35571. $ref: '#/definitions/models.QhjSiteColumnDetail'
  35572. type: array
  35573. "500":
  35574. description: Internal Server Error
  35575. schema:
  35576. $ref: '#/definitions/app.Response'
  35577. summary: 查询资讯
  35578. tags:
  35579. - 大连千海金
  35580. /Qhj/QueryTradeGoodsPickup:
  35581. get:
  35582. parameters:
  35583. - description: 用户ID
  35584. in: query
  35585. name: userid
  35586. required: true
  35587. type: integer
  35588. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  35589. 7:已拒绝 8:已撤销
  35590. in: query
  35591. name: takeorderstatus
  35592. type: integer
  35593. produces:
  35594. - application/json
  35595. responses:
  35596. "200":
  35597. description: OK
  35598. schema:
  35599. items:
  35600. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  35601. type: array
  35602. "500":
  35603. description: Internal Server Error
  35604. schema:
  35605. $ref: '#/definitions/app.Response'
  35606. security:
  35607. - ApiKeyAuth: []
  35608. summary: 查询提货
  35609. tags:
  35610. - 大连千海金
  35611. /Qhj/QueryUserCollectConfig:
  35612. get:
  35613. parameters:
  35614. - description: 用户ID
  35615. in: query
  35616. name: userid
  35617. required: true
  35618. type: integer
  35619. produces:
  35620. - application/json
  35621. responses:
  35622. "200":
  35623. description: OK
  35624. schema:
  35625. items:
  35626. $ref: '#/definitions/models.UserCollectConfig'
  35627. type: array
  35628. "500":
  35629. description: Internal Server Error
  35630. schema:
  35631. $ref: '#/definitions/app.Response'
  35632. security:
  35633. - ApiKeyAuth: []
  35634. summary: 查询提现账户设置
  35635. tags:
  35636. - 大连千海金
  35637. /Qhj/QueryUserReceiveInfo:
  35638. get:
  35639. parameters:
  35640. - description: 用户ID
  35641. in: query
  35642. name: userid
  35643. required: true
  35644. type: integer
  35645. produces:
  35646. - application/json
  35647. responses:
  35648. "200":
  35649. description: OK
  35650. schema:
  35651. items:
  35652. $ref: '#/definitions/models.UserReceiveInfo'
  35653. type: array
  35654. "500":
  35655. description: Internal Server Error
  35656. schema:
  35657. $ref: '#/definitions/app.Response'
  35658. security:
  35659. - ApiKeyAuth: []
  35660. summary: 查询收货地址信息
  35661. tags:
  35662. - 大连千海金
  35663. /QhjMgr/QueryAccountInOutApply:
  35664. get:
  35665. parameters:
  35666. - description: 查询类型 1-提现(出金) 2-充值(出金)
  35667. in: query
  35668. name: querytype
  35669. required: true
  35670. type: integer
  35671. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  35672. in: query
  35673. name: applystatus
  35674. type: integer
  35675. - description: 申请起始日期(格式yyyymmdd)
  35676. in: query
  35677. name: begindate
  35678. type: string
  35679. - description: 申请截止日期(格式yyyymmdd)
  35680. in: query
  35681. name: enddate
  35682. type: string
  35683. - description: 模糊搜索名称
  35684. in: query
  35685. name: likename
  35686. type: string
  35687. produces:
  35688. - application/json
  35689. responses:
  35690. "200":
  35691. description: OK
  35692. schema:
  35693. items:
  35694. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  35695. type: array
  35696. "500":
  35697. description: Internal Server Error
  35698. schema:
  35699. $ref: '#/definitions/app.Response'
  35700. security:
  35701. - ApiKeyAuth: []
  35702. summary: 查询充值提现
  35703. tags:
  35704. - 大连千海金(PCWeb)
  35705. /QhjMgr/QueryBrokerApply:
  35706. get:
  35707. parameters:
  35708. - description: 所属机构ID
  35709. in: query
  35710. name: userid
  35711. type: integer
  35712. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  35713. in: query
  35714. name: filterstatus
  35715. type: string
  35716. - description: 名称(模糊匹配)
  35717. in: query
  35718. name: filtername
  35719. type: string
  35720. - description: 是否包含子级 1-包含
  35721. in: query
  35722. name: includesub
  35723. type: integer
  35724. produces:
  35725. - application/json
  35726. responses:
  35727. "200":
  35728. description: OK
  35729. schema:
  35730. items:
  35731. $ref: '#/definitions/models.QhjMgrBrokerApply'
  35732. type: array
  35733. "500":
  35734. description: Internal Server Error
  35735. schema:
  35736. $ref: '#/definitions/app.Response'
  35737. security:
  35738. - ApiKeyAuth: []
  35739. summary: 查询经纪人申请
  35740. tags:
  35741. - 大连千海金(PCWeb)
  35742. /QhjMgr/QueryBrokerRewardReport:
  35743. get:
  35744. parameters:
  35745. - description: 所属机构ID
  35746. in: query
  35747. name: userid
  35748. required: true
  35749. type: integer
  35750. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  35751. in: query
  35752. name: cycletype
  35753. required: true
  35754. type: integer
  35755. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  35756. in: query
  35757. name: cycletime
  35758. required: true
  35759. type: string
  35760. - description: 名称(模糊匹配)
  35761. in: query
  35762. name: filtername
  35763. type: string
  35764. - description: 是否包含子级 1-包含
  35765. in: query
  35766. name: includesub
  35767. type: integer
  35768. produces:
  35769. - application/json
  35770. responses:
  35771. "200":
  35772. description: OK
  35773. schema:
  35774. items:
  35775. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  35776. type: array
  35777. "500":
  35778. description: Internal Server Error
  35779. schema:
  35780. $ref: '#/definitions/app.Response'
  35781. security:
  35782. - ApiKeyAuth: []
  35783. summary: 查询经纪人奖励报表(废弃)
  35784. tags:
  35785. - 大连千海金(PCWeb)
  35786. /QhjMgr/QueryContract:
  35787. get:
  35788. parameters:
  35789. - description: 用户ID
  35790. in: query
  35791. name: userid
  35792. type: integer
  35793. - description: 商品id
  35794. in: query
  35795. name: goodsid
  35796. type: integer
  35797. - description: 名称(模糊搜索账户)
  35798. in: query
  35799. name: filtername
  35800. type: string
  35801. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  35802. in: query
  35803. name: risklevel
  35804. type: string
  35805. - description: 开始交易日(yyyymmdd)
  35806. in: query
  35807. name: begindate
  35808. type: string
  35809. - description: 结束交易日(yyyymmdd)
  35810. in: query
  35811. name: enddate
  35812. type: string
  35813. produces:
  35814. - application/json
  35815. responses:
  35816. "200":
  35817. description: OK
  35818. schema:
  35819. items:
  35820. $ref: '#/definitions/models.QhjMgrContract'
  35821. type: array
  35822. "500":
  35823. description: Internal Server Error
  35824. schema:
  35825. $ref: '#/definitions/app.Response'
  35826. security:
  35827. - ApiKeyAuth: []
  35828. summary: 查询融资信息(合同)
  35829. tags:
  35830. - 大连千海金(PCWeb)
  35831. /QhjMgr/QueryCustomerInfo:
  35832. get:
  35833. parameters:
  35834. - description: 用户ID
  35835. in: query
  35836. name: userid
  35837. required: true
  35838. type: integer
  35839. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  35840. in: query
  35841. name: querytype
  35842. required: true
  35843. type: integer
  35844. - description: 客户类型 1-个人 2-企业
  35845. in: query
  35846. name: userinfotype
  35847. type: integer
  35848. - description: 客户名称(模糊匹配)
  35849. in: query
  35850. name: customername
  35851. type: string
  35852. - description: 昵称(模糊匹配)
  35853. in: query
  35854. name: nickname
  35855. type: string
  35856. - description: 所属客户经理(模糊匹配)
  35857. in: query
  35858. name: brokername
  35859. type: string
  35860. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  35861. 如0503 -5月3日)
  35862. in: query
  35863. name: birthday
  35864. type: string
  35865. - description: 是否包含子级 1-包含
  35866. in: query
  35867. name: includesub
  35868. type: integer
  35869. produces:
  35870. - application/json
  35871. responses:
  35872. "200":
  35873. description: OK
  35874. schema:
  35875. items:
  35876. $ref: '#/definitions/models.QhjMgrCustomer'
  35877. type: array
  35878. "500":
  35879. description: Internal Server Error
  35880. schema:
  35881. $ref: '#/definitions/app.Response'
  35882. security:
  35883. - ApiKeyAuth: []
  35884. summary: 查询客户资料
  35885. tags:
  35886. - 大连千海金(PCWeb)
  35887. /QhjMgr/QueryPickGoods:
  35888. get:
  35889. parameters:
  35890. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  35891. in: query
  35892. name: status
  35893. type: string
  35894. produces:
  35895. - application/json
  35896. responses:
  35897. "200":
  35898. description: OK
  35899. schema:
  35900. items:
  35901. $ref: '#/definitions/models.QhjMgrPickGoods'
  35902. type: array
  35903. "500":
  35904. description: Internal Server Error
  35905. schema:
  35906. $ref: '#/definitions/app.Response'
  35907. security:
  35908. - ApiKeyAuth: []
  35909. summary: 查询提货商品
  35910. tags:
  35911. - 大连千海金(PCWeb)
  35912. /QhjMgr/QuerySubArea:
  35913. get:
  35914. parameters:
  35915. - description: 用户ID
  35916. in: query
  35917. name: userid
  35918. required: true
  35919. type: integer
  35920. produces:
  35921. - application/json
  35922. responses:
  35923. "200":
  35924. description: OK
  35925. schema:
  35926. items:
  35927. $ref: '#/definitions/models.QhjMgrSubArea'
  35928. type: array
  35929. "500":
  35930. description: Internal Server Error
  35931. schema:
  35932. $ref: '#/definitions/app.Response'
  35933. security:
  35934. - ApiKeyAuth: []
  35935. summary: 查询子机构列表
  35936. tags:
  35937. - 大连千海金(PCWeb)
  35938. /QhjMgr/QueryTradeDetail:
  35939. get:
  35940. parameters:
  35941. - description: 用户ID
  35942. in: query
  35943. name: userid
  35944. required: true
  35945. type: integer
  35946. - description: 用户类型 1-个人 2-企业
  35947. in: query
  35948. name: userinfotype
  35949. type: integer
  35950. - description: 交易模式
  35951. in: query
  35952. name: trademode
  35953. type: integer
  35954. - description: 商品id
  35955. in: query
  35956. name: goodsid
  35957. type: integer
  35958. - description: 名称(模糊搜索账户)
  35959. in: query
  35960. name: filtername
  35961. type: string
  35962. - description: 开始交易日(yyyymmdd)
  35963. in: query
  35964. name: begindate
  35965. type: string
  35966. - description: 结束交易日(yyyymmdd)
  35967. in: query
  35968. name: enddate
  35969. type: string
  35970. - description: 是否包含子级 1-包含
  35971. in: query
  35972. name: includesub
  35973. type: integer
  35974. produces:
  35975. - application/json
  35976. responses:
  35977. "200":
  35978. description: OK
  35979. schema:
  35980. items:
  35981. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  35982. type: array
  35983. "500":
  35984. description: Internal Server Error
  35985. schema:
  35986. $ref: '#/definitions/app.Response'
  35987. security:
  35988. - ApiKeyAuth: []
  35989. summary: 查询成交明细
  35990. tags:
  35991. - 大连千海金(PCWeb)
  35992. /QhjMgr/QueryTradeOrderDetail:
  35993. get:
  35994. parameters:
  35995. - description: 用户ID
  35996. in: query
  35997. name: userid
  35998. required: true
  35999. type: integer
  36000. - description: 用户类型 1-个人 2-企业
  36001. in: query
  36002. name: userinfotype
  36003. type: integer
  36004. - description: 交易模式
  36005. in: query
  36006. name: trademode
  36007. type: integer
  36008. - description: 商品id
  36009. in: query
  36010. name: goodsid
  36011. type: integer
  36012. - description: 名称(模糊搜索账户)
  36013. in: query
  36014. name: filtername
  36015. type: string
  36016. - description: 开始交易日(yyyymmdd)
  36017. in: query
  36018. name: begindate
  36019. type: string
  36020. - description: 结束交易日(yyyymmdd)
  36021. in: query
  36022. name: enddate
  36023. type: string
  36024. - description: 是否包含子级 1-包含
  36025. in: query
  36026. name: includesub
  36027. type: integer
  36028. produces:
  36029. - application/json
  36030. responses:
  36031. "200":
  36032. description: OK
  36033. schema:
  36034. items:
  36035. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  36036. type: array
  36037. "500":
  36038. description: Internal Server Error
  36039. schema:
  36040. $ref: '#/definitions/app.Response'
  36041. security:
  36042. - ApiKeyAuth: []
  36043. summary: 查询委托明细
  36044. tags:
  36045. - 大连千海金(PCWeb)
  36046. /QhjMgr/QueryTradePayOrder:
  36047. get:
  36048. parameters:
  36049. - description: 用户ID
  36050. in: query
  36051. name: userid
  36052. required: true
  36053. type: integer
  36054. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  36055. in: query
  36056. name: payflag
  36057. type: string
  36058. - description: 用户类型 1-个人 2-企业
  36059. in: query
  36060. name: userinfotype
  36061. type: integer
  36062. - description: 交易模式
  36063. in: query
  36064. name: trademode
  36065. type: integer
  36066. - description: 商品id
  36067. in: query
  36068. name: goodsid
  36069. type: integer
  36070. - description: 名称(模糊搜索账户)
  36071. in: query
  36072. name: filtername
  36073. type: string
  36074. - description: 开始交易日(yyyymmdd)
  36075. in: query
  36076. name: begindate
  36077. type: string
  36078. - description: 结束交易日(yyyymmdd)
  36079. in: query
  36080. name: enddate
  36081. type: string
  36082. - description: 是否包含子级 1-包含
  36083. in: query
  36084. name: includesub
  36085. type: integer
  36086. produces:
  36087. - application/json
  36088. responses:
  36089. "200":
  36090. description: OK
  36091. schema:
  36092. items:
  36093. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  36094. type: array
  36095. "500":
  36096. description: Internal Server Error
  36097. schema:
  36098. $ref: '#/definitions/app.Response'
  36099. security:
  36100. - ApiKeyAuth: []
  36101. summary: 查询待付款单
  36102. tags:
  36103. - 大连千海金(PCWeb)
  36104. /QhjMgr/QueryTradePosition:
  36105. get:
  36106. parameters:
  36107. - description: 用户ID
  36108. in: query
  36109. name: userid
  36110. required: true
  36111. type: integer
  36112. - description: 用户类型 1-个人 2-企业
  36113. in: query
  36114. name: userinfotype
  36115. type: integer
  36116. - description: 交易模式
  36117. in: query
  36118. name: trademode
  36119. type: integer
  36120. - description: 商品id
  36121. in: query
  36122. name: goodsid
  36123. type: integer
  36124. - description: 名称(模糊搜索账户)
  36125. in: query
  36126. name: filtername
  36127. type: string
  36128. - description: 是否包含子级 1-包含
  36129. in: query
  36130. name: includesub
  36131. type: integer
  36132. produces:
  36133. - application/json
  36134. responses:
  36135. "200":
  36136. description: OK
  36137. schema:
  36138. items:
  36139. $ref: '#/definitions/models.QhjMgrPositionRsp'
  36140. type: array
  36141. "500":
  36142. description: Internal Server Error
  36143. schema:
  36144. $ref: '#/definitions/app.Response'
  36145. security:
  36146. - ApiKeyAuth: []
  36147. summary: 查询持仓汇总
  36148. tags:
  36149. - 大连千海金(PCWeb)
  36150. /QhjSys/QueryAgreementChangeLog:
  36151. get:
  36152. parameters:
  36153. - description: 协议ID
  36154. in: query
  36155. name: agreementid
  36156. type: integer
  36157. - description: 协议版本号
  36158. in: query
  36159. name: agreementversion
  36160. type: integer
  36161. - description: 协议类型 - 1:注册 2:登录 3:交易
  36162. in: query
  36163. name: agreementtype
  36164. type: integer
  36165. - description: 协议编号(模糊匹配)
  36166. in: query
  36167. name: agreementno
  36168. type: string
  36169. - description: 协议名称(模糊匹配)
  36170. in: query
  36171. name: agreementname
  36172. type: string
  36173. produces:
  36174. - application/json
  36175. responses:
  36176. "200":
  36177. description: OK
  36178. schema:
  36179. items:
  36180. $ref: '#/definitions/models.QhjAgreementChangeLog'
  36181. type: array
  36182. "500":
  36183. description: Internal Server Error
  36184. schema:
  36185. $ref: '#/definitions/app.Response'
  36186. security:
  36187. - ApiKeyAuth: []
  36188. summary: 查询协议配置变更流水
  36189. tags:
  36190. - 大连千海金(协议和签约信息)
  36191. /QhjSys/QueryAgreementConfig:
  36192. get:
  36193. parameters:
  36194. - description: 协议ID
  36195. in: query
  36196. name: agreementid
  36197. type: integer
  36198. - description: 协议版本号
  36199. in: query
  36200. name: agreementversion
  36201. type: integer
  36202. - description: 协议类型 - 1:注册 2:登录 3:交易
  36203. in: query
  36204. name: agreementtype
  36205. type: integer
  36206. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  36207. in: query
  36208. name: isvalid
  36209. type: integer
  36210. - description: 协议编号(模糊匹配)
  36211. in: query
  36212. name: agreementno
  36213. type: string
  36214. - description: 协议名称(模糊匹配)
  36215. in: query
  36216. name: agreementname
  36217. type: string
  36218. produces:
  36219. - application/json
  36220. responses:
  36221. "200":
  36222. description: OK
  36223. schema:
  36224. items:
  36225. $ref: '#/definitions/models.QhjAgreementConfig'
  36226. type: array
  36227. "500":
  36228. description: Internal Server Error
  36229. schema:
  36230. $ref: '#/definitions/app.Response'
  36231. security:
  36232. - ApiKeyAuth: []
  36233. summary: 查询协议配置
  36234. tags:
  36235. - 大连千海金(协议和签约信息)
  36236. /QhjSys/QueryCustomerSignStatus:
  36237. get:
  36238. parameters:
  36239. - description: 客户ID
  36240. in: query
  36241. name: userid
  36242. type: integer
  36243. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  36244. in: query
  36245. name: nodetype
  36246. type: integer
  36247. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  36248. in: query
  36249. name: goodsid
  36250. type: integer
  36251. - description: 创建交易日(yyyyMMdd)
  36252. in: query
  36253. name: tradedate
  36254. type: string
  36255. - description: 用户名称(模糊匹配)
  36256. in: query
  36257. name: username
  36258. type: string
  36259. produces:
  36260. - application/json
  36261. responses:
  36262. "200":
  36263. description: OK
  36264. schema:
  36265. items:
  36266. $ref: '#/definitions/models.QhjCustomerSignStatus'
  36267. type: array
  36268. "500":
  36269. description: Internal Server Error
  36270. schema:
  36271. $ref: '#/definitions/app.Response'
  36272. security:
  36273. - ApiKeyAuth: []
  36274. summary: 查询客户协议签约状态
  36275. tags:
  36276. - 大连千海金(协议和签约信息)
  36277. /QhjSys/QueryNodeAgreementConfig:
  36278. get:
  36279. parameters:
  36280. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  36281. in: query
  36282. name: configid
  36283. type: integer
  36284. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  36285. in: query
  36286. name: nodetype
  36287. type: integer
  36288. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  36289. in: query
  36290. name: goodsid
  36291. type: integer
  36292. - description: 协议ID
  36293. in: query
  36294. name: agreementid
  36295. type: integer
  36296. - description: 协议类型 - 1:注册 2:登录 3:交易
  36297. in: query
  36298. name: agreementtype
  36299. type: integer
  36300. - description: 协议版本号
  36301. in: query
  36302. name: agreementversion
  36303. type: integer
  36304. - description: 协议编号(模糊匹配)
  36305. in: query
  36306. name: agreementno
  36307. type: string
  36308. - description: 协议名称(模糊匹配)
  36309. in: query
  36310. name: agreementname
  36311. type: string
  36312. produces:
  36313. - application/json
  36314. responses:
  36315. "200":
  36316. description: OK
  36317. schema:
  36318. items:
  36319. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  36320. type: array
  36321. "500":
  36322. description: Internal Server Error
  36323. schema:
  36324. $ref: '#/definitions/app.Response'
  36325. security:
  36326. - ApiKeyAuth: []
  36327. summary: 查询协议节点配置
  36328. tags:
  36329. - 大连千海金(协议和签约信息)
  36330. /QhjSys/QueryQhjCustomerSignLog:
  36331. get:
  36332. parameters:
  36333. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  36334. in: query
  36335. name: logid
  36336. type: integer
  36337. - description: 客户ID
  36338. in: query
  36339. name: userid
  36340. type: integer
  36341. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  36342. in: query
  36343. name: nodetype
  36344. type: integer
  36345. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  36346. in: query
  36347. name: goodsid
  36348. type: integer
  36349. - description: 协议ID
  36350. in: query
  36351. name: agreementid
  36352. type: integer
  36353. - description: 用户名称(模糊匹配)
  36354. in: query
  36355. name: username
  36356. type: string
  36357. - description: 协议编号(模糊匹配)
  36358. in: query
  36359. name: agreementno
  36360. type: string
  36361. - description: 协议名称(模糊匹配)
  36362. in: query
  36363. name: agreementname
  36364. type: string
  36365. produces:
  36366. - application/json
  36367. responses:
  36368. "200":
  36369. description: OK
  36370. schema:
  36371. items:
  36372. $ref: '#/definitions/models.QhjCustomerSignLog'
  36373. type: array
  36374. "500":
  36375. description: Internal Server Error
  36376. schema:
  36377. $ref: '#/definitions/app.Response'
  36378. security:
  36379. - ApiKeyAuth: []
  36380. summary: 查询客户协议签约流水
  36381. tags:
  36382. - 大连千海金(协议和签约信息)
  36383. /QhjSys/QueryUserNodeCfgAndStatus:
  36384. get:
  36385. parameters:
  36386. - description: 客户ID
  36387. in: query
  36388. name: userid
  36389. type: integer
  36390. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  36391. in: query
  36392. name: configid
  36393. type: integer
  36394. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  36395. in: query
  36396. name: nodetype
  36397. type: string
  36398. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  36399. in: query
  36400. name: goodsid
  36401. type: integer
  36402. - description: 协议ID
  36403. in: query
  36404. name: agreementid
  36405. type: integer
  36406. - description: 协议类型 - 1:注册 2:登录 3:交易
  36407. in: query
  36408. name: agreementtype
  36409. type: integer
  36410. - description: 协议版本号
  36411. in: query
  36412. name: agreementversion
  36413. type: integer
  36414. - description: 协议编号(模糊匹配)
  36415. in: query
  36416. name: agreementno
  36417. type: string
  36418. - description: 协议名称(模糊匹配)
  36419. in: query
  36420. name: agreementname
  36421. type: string
  36422. produces:
  36423. - application/json
  36424. responses:
  36425. "200":
  36426. description: OK
  36427. schema:
  36428. items:
  36429. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  36430. type: array
  36431. "500":
  36432. description: Internal Server Error
  36433. schema:
  36434. $ref: '#/definitions/app.Response'
  36435. security:
  36436. - ApiKeyAuth: []
  36437. summary: 查询用户协议节点配置和状态
  36438. tags:
  36439. - 大连千海金(协议和签约信息)
  36440. /Quote/QueryHistoryDatas:
  36441. get:
  36442. parameters:
  36443. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  36444. 日线 12:周线 13:月线 14:年线'
  36445. in: query
  36446. name: cycleType
  36447. required: true
  36448. type: integer
  36449. - description: 商品代码
  36450. in: query
  36451. name: goodsCode
  36452. required: true
  36453. type: string
  36454. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  36455. in: query
  36456. name: startTime
  36457. type: string
  36458. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  36459. in: query
  36460. name: endTime
  36461. type: string
  36462. - description: 条数
  36463. in: query
  36464. name: count
  36465. type: integer
  36466. - description: 是否按时间顺序排序(默认为时间倒序排序)
  36467. in: query
  36468. name: isAsc
  36469. type: boolean
  36470. produces:
  36471. - application/json
  36472. responses:
  36473. "200":
  36474. description: OK
  36475. schema:
  36476. $ref: '#/definitions/quote.HistoryData'
  36477. "500":
  36478. description: Internal Server Error
  36479. schema:
  36480. $ref: '#/definitions/app.Response'
  36481. security:
  36482. - ApiKeyAuth: []
  36483. summary: 查询行情历史数据
  36484. tags:
  36485. - 行情服务
  36486. /Quote/QueryHistoryTikDatas:
  36487. get:
  36488. parameters:
  36489. - description: 商品代码
  36490. in: query
  36491. name: goodsCode
  36492. required: true
  36493. type: string
  36494. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  36495. in: query
  36496. name: startTime
  36497. type: string
  36498. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  36499. in: query
  36500. name: endTime
  36501. type: string
  36502. - description: 条数
  36503. in: query
  36504. name: count
  36505. type: integer
  36506. - description: 是否按时间顺序排序(默认为时间倒序排序)
  36507. in: query
  36508. name: isAsc
  36509. type: boolean
  36510. produces:
  36511. - application/json
  36512. responses:
  36513. "200":
  36514. description: OK
  36515. schema:
  36516. $ref: '#/definitions/quote.HistoryTikData'
  36517. "500":
  36518. description: Internal Server Error
  36519. schema:
  36520. $ref: '#/definitions/app.Response'
  36521. security:
  36522. - ApiKeyAuth: []
  36523. summary: 查询行情Tik数据
  36524. tags:
  36525. - 行情服务
  36526. /Quote/QueryQuoteDay:
  36527. get:
  36528. parameters:
  36529. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  36530. in: query
  36531. name: goodsCodes
  36532. type: string
  36533. produces:
  36534. - application/json
  36535. responses:
  36536. "200":
  36537. description: OK
  36538. schema:
  36539. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  36540. "500":
  36541. description: Internal Server Error
  36542. schema:
  36543. $ref: '#/definitions/app.Response'
  36544. security:
  36545. - ApiKeyAuth: []
  36546. summary: 获取商品盘面信息
  36547. tags:
  36548. - 行情服务
  36549. /Quote/QueryTSData:
  36550. get:
  36551. parameters:
  36552. - description: 商品代码
  36553. in: query
  36554. name: goodsCode
  36555. required: true
  36556. type: string
  36557. produces:
  36558. - application/json
  36559. responses:
  36560. "200":
  36561. description: OK
  36562. schema:
  36563. $ref: '#/definitions/quote.QueryTSDataRsp'
  36564. "500":
  36565. description: Internal Server Error
  36566. schema:
  36567. $ref: '#/definitions/app.Response'
  36568. security:
  36569. - ApiKeyAuth: []
  36570. summary: 分时图数据查询
  36571. tags:
  36572. - 行情服务
  36573. /SZDZ/QueryConvertConfig:
  36574. get:
  36575. parameters:
  36576. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  36577. 6:交易转花生米(不设置)
  36578. in: query
  36579. name: convertType
  36580. type: integer
  36581. - description: 外部商品代码[JD\PD]
  36582. in: query
  36583. name: outerGoodsCode
  36584. type: string
  36585. - description: 内部商品ID列表[交易],格式:1,2,3
  36586. in: query
  36587. name: innerGoodsIDs
  36588. type: string
  36589. produces:
  36590. - application/json
  36591. responses:
  36592. "200":
  36593. description: OK
  36594. schema:
  36595. $ref: '#/definitions/models.Szdz3convertconfig'
  36596. "500":
  36597. description: Internal Server Error
  36598. schema:
  36599. $ref: '#/definitions/app.Response'
  36600. security:
  36601. - ApiKeyAuth: []
  36602. summary: 查询交易系统转换设置
  36603. tags:
  36604. - 定制【尚志大宗】
  36605. /SZDZ/QueryConvertLog:
  36606. get:
  36607. parameters:
  36608. - description: 资金账户 - 格式:1,2,3
  36609. in: query
  36610. name: accountID
  36611. required: true
  36612. type: string
  36613. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  36614. in: query
  36615. name: startDate
  36616. type: string
  36617. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  36618. in: query
  36619. name: endDate
  36620. type: string
  36621. produces:
  36622. - application/json
  36623. responses:
  36624. "200":
  36625. description: OK
  36626. schema:
  36627. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  36628. "500":
  36629. description: Internal Server Error
  36630. schema:
  36631. $ref: '#/definitions/app.Response'
  36632. security:
  36633. - ApiKeyAuth: []
  36634. summary: 交易系统转换流水查询
  36635. tags:
  36636. - 定制【尚志大宗】
  36637. /SZDZ/QueryGoodsPickup:
  36638. get:
  36639. parameters:
  36640. - description: 资金账户 - 格式:1,2,3
  36641. in: query
  36642. name: accountID
  36643. required: true
  36644. type: string
  36645. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  36646. in: query
  36647. name: takeOrderStatus
  36648. type: integer
  36649. produces:
  36650. - application/json
  36651. responses:
  36652. "200":
  36653. description: OK
  36654. schema:
  36655. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  36656. "500":
  36657. description: Internal Server Error
  36658. schema:
  36659. $ref: '#/definitions/app.Response'
  36660. security:
  36661. - ApiKeyAuth: []
  36662. summary: 商品提货单查询
  36663. tags:
  36664. - 定制【尚志大宗】
  36665. /SZDZ/QueryRecieptOrder:
  36666. get:
  36667. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  36668. parameters:
  36669. - description: 页码
  36670. in: query
  36671. name: page
  36672. type: integer
  36673. - description: 每页条数
  36674. in: query
  36675. name: pagesize
  36676. type: integer
  36677. - description: 商品ID
  36678. in: query
  36679. name: goodsID
  36680. required: true
  36681. type: integer
  36682. - description: 所属账户名称
  36683. in: query
  36684. name: accountName
  36685. type: string
  36686. - description: 市场ID
  36687. in: query
  36688. name: marketID
  36689. type: integer
  36690. - description: 方向 - 0:买 1:卖
  36691. in: query
  36692. name: buyorsell
  36693. required: true
  36694. type: integer
  36695. produces:
  36696. - application/json
  36697. responses:
  36698. "200":
  36699. description: OK
  36700. schema:
  36701. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  36702. "500":
  36703. description: Internal Server Error
  36704. schema:
  36705. $ref: '#/definitions/app.Response'
  36706. security:
  36707. - ApiKeyAuth: []
  36708. summary: 点选挂牌委托单据查询(摘牌大厅)
  36709. tags:
  36710. - 定制【尚志大宗】
  36711. /SZDZ/QuerySZDZTradePosition:
  36712. get:
  36713. parameters:
  36714. - description: 资金账户
  36715. in: query
  36716. name: accountID
  36717. required: true
  36718. type: integer
  36719. produces:
  36720. - application/json
  36721. responses:
  36722. "200":
  36723. description: OK
  36724. schema:
  36725. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  36726. "500":
  36727. description: Internal Server Error
  36728. schema:
  36729. $ref: '#/definitions/app.Response'
  36730. security:
  36731. - ApiKeyAuth: []
  36732. summary: 持仓汇总查询(尚志大宗)
  36733. tags:
  36734. - 定制【尚志大宗】
  36735. /SZDZ/SearchWhite:
  36736. get:
  36737. parameters:
  36738. - description: 用户ID
  36739. in: query
  36740. name: userID
  36741. required: true
  36742. type: integer
  36743. produces:
  36744. - application/json
  36745. responses:
  36746. "200":
  36747. description: OK
  36748. schema:
  36749. $ref: '#/definitions/models.Szdz3searchwhitelist'
  36750. "500":
  36751. description: Internal Server Error
  36752. schema:
  36753. $ref: '#/definitions/app.Response'
  36754. security:
  36755. - ApiKeyAuth: []
  36756. summary: 搜索白名单
  36757. tags:
  36758. - 定制【尚志大宗】
  36759. /Search/SearchGoodses:
  36760. get:
  36761. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  36762. parameters:
  36763. - description: 检索内容
  36764. in: query
  36765. name: content
  36766. required: true
  36767. type: string
  36768. - description: 交易模式,格式:1,2,3
  36769. in: query
  36770. name: tradeModes
  36771. type: string
  36772. produces:
  36773. - application/json
  36774. responses:
  36775. "200":
  36776. description: OK
  36777. schema:
  36778. $ref: '#/definitions/models.SearchGoods'
  36779. "500":
  36780. description: Internal Server Error
  36781. schema:
  36782. $ref: '#/definitions/app.Response'
  36783. summary: 检索商品信息
  36784. tags:
  36785. - 检索服务
  36786. /TaAccount/GetTaAccounts:
  36787. get:
  36788. parameters:
  36789. - description: 登录账户
  36790. in: query
  36791. name: loginID
  36792. required: true
  36793. type: integer
  36794. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  36795. in: query
  36796. name: taAccountType
  36797. type: integer
  36798. produces:
  36799. - application/json
  36800. responses:
  36801. "200":
  36802. description: OK
  36803. schema:
  36804. $ref: '#/definitions/models.Taaccount'
  36805. "500":
  36806. description: Internal Server Error
  36807. schema:
  36808. $ref: '#/definitions/app.Response'
  36809. security:
  36810. - ApiKeyAuth: []
  36811. summary: 获取资金账户信息
  36812. tags:
  36813. - 资金账户
  36814. /TaAccount/QueryAmountLog:
  36815. get:
  36816. parameters:
  36817. - description: 页码
  36818. in: query
  36819. name: page
  36820. type: integer
  36821. - description: 每页条数
  36822. in: query
  36823. name: pagesize
  36824. type: integer
  36825. - description: 分页标志 0-page从0开始 1-page从1开始
  36826. in: query
  36827. name: pageflag
  36828. type: integer
  36829. - description: 资金账户 - 格式:1,2,3
  36830. in: query
  36831. name: accountID
  36832. required: true
  36833. type: string
  36834. - description: 资金操作类型 - 格式:1,2,3
  36835. in: query
  36836. name: OperateType
  36837. type: string
  36838. produces:
  36839. - application/json
  36840. responses:
  36841. "200":
  36842. description: OK
  36843. schema:
  36844. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  36845. "500":
  36846. description: Internal Server Error
  36847. schema:
  36848. $ref: '#/definitions/app.Response'
  36849. security:
  36850. - ApiKeyAuth: []
  36851. summary: 资金流水查询(当前)
  36852. tags:
  36853. - 资金账户
  36854. /TaAccount/QueryHisAmountLog:
  36855. get:
  36856. parameters:
  36857. - description: 页码
  36858. in: query
  36859. name: page
  36860. type: integer
  36861. - description: 每页条数
  36862. in: query
  36863. name: pagesize
  36864. type: integer
  36865. - description: 分页标志 0-page从0开始 1-page从1开始
  36866. in: query
  36867. name: pageflag
  36868. type: integer
  36869. - description: 资金账户 - 格式:1,2,3
  36870. in: query
  36871. name: accountID
  36872. required: true
  36873. type: string
  36874. - description: 资金操作类型 - 格式:1,2,3
  36875. in: query
  36876. name: OperateType
  36877. type: string
  36878. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  36879. in: query
  36880. name: startDate
  36881. type: string
  36882. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  36883. in: query
  36884. name: endDate
  36885. type: string
  36886. produces:
  36887. - application/json
  36888. responses:
  36889. "200":
  36890. description: OK
  36891. schema:
  36892. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  36893. "500":
  36894. description: Internal Server Error
  36895. schema:
  36896. $ref: '#/definitions/app.Response'
  36897. security:
  36898. - ApiKeyAuth: []
  36899. summary: 资金流水查询(历史)
  36900. tags:
  36901. - 资金账户
  36902. /TaAccount/QueryRelatedTaAccount:
  36903. get:
  36904. parameters:
  36905. - description: 关联UserID
  36906. in: query
  36907. name: relateduserid
  36908. required: true
  36909. type: integer
  36910. produces:
  36911. - application/json
  36912. responses:
  36913. "200":
  36914. description: OK
  36915. schema:
  36916. items:
  36917. $ref: '#/definitions/models.RelatedTaAccount'
  36918. type: array
  36919. "500":
  36920. description: Internal Server Error
  36921. schema:
  36922. $ref: '#/definitions/app.Response'
  36923. security:
  36924. - ApiKeyAuth: []
  36925. summary: 查询关联资金账户信息
  36926. tags:
  36927. - 资金账户
  36928. /Tjmd/QueryQuoteGoodsList:
  36929. get:
  36930. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  36931. parameters:
  36932. - description: 用户类型
  36933. in: query
  36934. name: usertype
  36935. required: true
  36936. type: integer
  36937. - description: 市场id, 格式 1,2,3
  36938. in: query
  36939. name: marketids
  36940. type: string
  36941. - description: 商品组id
  36942. in: query
  36943. name: goodsgroupid
  36944. type: integer
  36945. - description: 商品id
  36946. in: query
  36947. name: goodsid
  36948. type: integer
  36949. produces:
  36950. - application/json
  36951. responses:
  36952. "200":
  36953. description: OK
  36954. schema:
  36955. items:
  36956. $ref: '#/definitions/models.TjmdQuoteGoods'
  36957. type: array
  36958. "500":
  36959. description: Internal Server Error
  36960. schema:
  36961. $ref: '#/definitions/app.Response'
  36962. security:
  36963. - ApiKeyAuth: []
  36964. summary: 查询掉期报价列表
  36965. tags:
  36966. - 天津麦顿
  36967. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  36968. get:
  36969. parameters:
  36970. - description: 成交单号
  36971. in: query
  36972. name: tradeid
  36973. required: true
  36974. type: string
  36975. produces:
  36976. - application/json
  36977. responses:
  36978. "200":
  36979. description: OK
  36980. schema:
  36981. items:
  36982. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  36983. type: array
  36984. "500":
  36985. description: Internal Server Error
  36986. schema:
  36987. $ref: '#/definitions/app.Response'
  36988. security:
  36989. - ApiKeyAuth: []
  36990. summary: 掉期商品订单详情(交易确认书)
  36991. tags:
  36992. - 天津麦顿
  36993. /Tjmd/QueryTjmdMarketSection:
  36994. get:
  36995. produces:
  36996. - application/json
  36997. responses:
  36998. "200":
  36999. description: OK
  37000. schema:
  37001. items:
  37002. $ref: '#/definitions/models.TjmdMarketSection'
  37003. type: array
  37004. "500":
  37005. description: Internal Server Error
  37006. schema:
  37007. $ref: '#/definitions/app.Response'
  37008. security:
  37009. - ApiKeyAuth: []
  37010. summary: 查询市场板块
  37011. tags:
  37012. - 天津麦顿
  37013. /Tjmd/QueryTjmdTodayAccountMargin:
  37014. get:
  37015. parameters:
  37016. - description: 市场id
  37017. in: query
  37018. name: marketid
  37019. type: string
  37020. - description: 商品id
  37021. in: query
  37022. name: goodsid
  37023. type: string
  37024. - description: 资金账号
  37025. in: query
  37026. name: accountid
  37027. type: string
  37028. produces:
  37029. - application/json
  37030. responses:
  37031. "200":
  37032. description: OK
  37033. schema:
  37034. items:
  37035. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  37036. type: array
  37037. "500":
  37038. description: Internal Server Error
  37039. schema:
  37040. $ref: '#/definitions/app.Response'
  37041. security:
  37042. - ApiKeyAuth: []
  37043. summary: 查询今日账户保证金配置
  37044. tags:
  37045. - 天津麦顿
  37046. /Tjmd/QueryTjmdTradeOrderDetail:
  37047. get:
  37048. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  37049. parameters:
  37050. - description: 页码
  37051. in: query
  37052. name: page
  37053. type: integer
  37054. - description: 每页条数
  37055. in: query
  37056. name: pagesize
  37057. type: integer
  37058. - description: 用户id
  37059. in: query
  37060. name: userid
  37061. required: true
  37062. type: integer
  37063. - description: 用户类型
  37064. in: query
  37065. name: usertype
  37066. required: true
  37067. type: integer
  37068. - description: 市场id, 格式 1,2,3
  37069. in: query
  37070. name: marketids
  37071. type: string
  37072. - description: 商品id
  37073. in: query
  37074. name: goodsid
  37075. required: true
  37076. type: integer
  37077. - description: 买卖方向 0-买 1-卖
  37078. in: query
  37079. name: buyorsell
  37080. required: true
  37081. type: integer
  37082. produces:
  37083. - application/json
  37084. responses:
  37085. "200":
  37086. description: OK
  37087. schema:
  37088. items:
  37089. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  37090. type: array
  37091. "500":
  37092. description: Internal Server Error
  37093. schema:
  37094. $ref: '#/definitions/app.Response'
  37095. security:
  37096. - ApiKeyAuth: []
  37097. summary: 查询掉期买卖大厅
  37098. tags:
  37099. - 天津麦顿
  37100. /Tjmd/QueryTjmdTransferApply:
  37101. get:
  37102. parameters:
  37103. - description: 类型 1-我的申请 2-对方申请
  37104. in: query
  37105. name: applytype
  37106. required: true
  37107. type: integer
  37108. - description: 市场id, 格式 1,2,3
  37109. in: query
  37110. name: marketids
  37111. type: string
  37112. - description: 资金账号, 格式 25000000001,25000000003
  37113. in: query
  37114. name: accountids
  37115. type: string
  37116. - description: 开始交易日(yyyymmdd)
  37117. in: query
  37118. name: begindate
  37119. type: string
  37120. - description: 结束交易日(yyyymmdd)
  37121. in: query
  37122. name: enddate
  37123. type: string
  37124. produces:
  37125. - application/json
  37126. responses:
  37127. "200":
  37128. description: OK
  37129. schema:
  37130. items:
  37131. $ref: '#/definitions/models.TjmdTransferApply'
  37132. type: array
  37133. "500":
  37134. description: Internal Server Error
  37135. schema:
  37136. $ref: '#/definitions/app.Response'
  37137. security:
  37138. - ApiKeyAuth: []
  37139. summary: 查询掉期协议单
  37140. tags:
  37141. - 天津麦顿
  37142. /Trade/QueryRecieptOrder:
  37143. get:
  37144. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  37145. parameters:
  37146. - description: 页码
  37147. in: query
  37148. name: page
  37149. type: integer
  37150. - description: 每页条数
  37151. in: query
  37152. name: pagesize
  37153. type: integer
  37154. - description: 商品ID
  37155. in: query
  37156. name: goodsID
  37157. required: true
  37158. type: integer
  37159. - description: 所属账户名称
  37160. in: query
  37161. name: accountName
  37162. type: string
  37163. - description: 市场ID
  37164. in: query
  37165. name: marketID
  37166. type: integer
  37167. - description: 方向 - 0:买 1:卖
  37168. in: query
  37169. name: buyorsell
  37170. required: true
  37171. type: integer
  37172. produces:
  37173. - application/json
  37174. responses:
  37175. "200":
  37176. description: OK
  37177. schema:
  37178. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  37179. "500":
  37180. description: Internal Server Error
  37181. schema:
  37182. $ref: '#/definitions/app.Response'
  37183. security:
  37184. - ApiKeyAuth: []
  37185. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  37186. tags:
  37187. - 通用交易
  37188. /User/AddMessageBoard:
  37189. post:
  37190. parameters:
  37191. - description: 用户ID
  37192. in: query
  37193. name: userID
  37194. required: true
  37195. type: integer
  37196. - description: 留言信息
  37197. in: query
  37198. name: message
  37199. required: true
  37200. type: string
  37201. - description: 联系电话
  37202. in: query
  37203. name: contactNum
  37204. required: true
  37205. type: string
  37206. produces:
  37207. - application/json
  37208. responses:
  37209. "200":
  37210. description: OK
  37211. schema:
  37212. $ref: '#/definitions/app.Response'
  37213. "500":
  37214. description: Internal Server Error
  37215. schema:
  37216. $ref: '#/definitions/app.Response'
  37217. security:
  37218. - ApiKeyAuth: []
  37219. summary: 添加用户留言板信息
  37220. tags:
  37221. - 用户信息
  37222. /User/AddUserFavoriteGoods:
  37223. post:
  37224. parameters:
  37225. - description: 用户ID
  37226. in: query
  37227. name: userID
  37228. required: true
  37229. type: integer
  37230. - description: 商品ID
  37231. in: query
  37232. name: goodsID
  37233. required: true
  37234. type: integer
  37235. produces:
  37236. - application/json
  37237. responses:
  37238. "200":
  37239. description: OK
  37240. schema:
  37241. $ref: '#/definitions/app.Response'
  37242. "500":
  37243. description: Internal Server Error
  37244. schema:
  37245. $ref: '#/definitions/app.Response'
  37246. security:
  37247. - ApiKeyAuth: []
  37248. summary: 添加用户商品收藏信息
  37249. tags:
  37250. - 用户信息
  37251. /User/GetLoginID:
  37252. get:
  37253. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  37254. parameters:
  37255. - description: 登录代码
  37256. in: query
  37257. name: username
  37258. required: true
  37259. type: string
  37260. produces:
  37261. - application/json
  37262. responses:
  37263. "200":
  37264. description: OK
  37265. schema:
  37266. $ref: '#/definitions/app.Response'
  37267. "500":
  37268. description: Internal Server Error
  37269. schema:
  37270. $ref: '#/definitions/app.Response'
  37271. summary: 获取登录ID
  37272. tags:
  37273. - 用户信息
  37274. /User/GetUserAccount:
  37275. get:
  37276. parameters:
  37277. - description: 用户ID
  37278. in: query
  37279. name: userID
  37280. required: true
  37281. type: integer
  37282. produces:
  37283. - application/json
  37284. responses:
  37285. "200":
  37286. description: OK
  37287. schema:
  37288. $ref: '#/definitions/models.Useraccount'
  37289. "500":
  37290. description: Internal Server Error
  37291. schema:
  37292. $ref: '#/definitions/app.Response'
  37293. security:
  37294. - ApiKeyAuth: []
  37295. summary: 获取用户账号信息
  37296. tags:
  37297. - 用户信息
  37298. /User/GetUserAuthStatus:
  37299. get:
  37300. parameters:
  37301. - description: 用户ID
  37302. in: query
  37303. name: userID
  37304. required: true
  37305. type: integer
  37306. produces:
  37307. - application/json
  37308. responses:
  37309. "200":
  37310. description: OK
  37311. schema:
  37312. $ref: '#/definitions/app.Response'
  37313. "500":
  37314. description: Internal Server Error
  37315. schema:
  37316. $ref: '#/definitions/app.Response'
  37317. security:
  37318. - ApiKeyAuth: []
  37319. summary: 获取用户实名认证状态
  37320. tags:
  37321. - 用户信息
  37322. /User/LoginQuery:
  37323. get:
  37324. parameters:
  37325. - description: 登录账号
  37326. in: query
  37327. name: loginID
  37328. required: true
  37329. type: integer
  37330. produces:
  37331. - application/json
  37332. responses:
  37333. "200":
  37334. description: OK
  37335. schema:
  37336. $ref: '#/definitions/user.LoginQueryRsp'
  37337. "500":
  37338. description: Internal Server Error
  37339. schema:
  37340. $ref: '#/definitions/app.Response'
  37341. security:
  37342. - ApiKeyAuth: []
  37343. summary: 账户登录后信息查询
  37344. tags:
  37345. - 用户信息
  37346. /User/QueryMessageBoard:
  37347. get:
  37348. parameters:
  37349. - description: 用户ID
  37350. in: query
  37351. name: userID
  37352. required: true
  37353. type: integer
  37354. produces:
  37355. - application/json
  37356. responses:
  37357. "200":
  37358. description: OK
  37359. schema:
  37360. $ref: '#/definitions/models.Messageboard'
  37361. "500":
  37362. description: Internal Server Error
  37363. schema:
  37364. $ref: '#/definitions/app.Response'
  37365. security:
  37366. - ApiKeyAuth: []
  37367. summary: 获取用户留言板信息
  37368. tags:
  37369. - 用户信息
  37370. /User/QueryUserFavoriteGoodses:
  37371. get:
  37372. parameters:
  37373. - description: 用户ID
  37374. in: query
  37375. name: userID
  37376. required: true
  37377. type: integer
  37378. produces:
  37379. - application/json
  37380. responses:
  37381. "200":
  37382. description: OK
  37383. schema:
  37384. $ref: '#/definitions/models.Userfavoritegoods'
  37385. "500":
  37386. description: Internal Server Error
  37387. schema:
  37388. $ref: '#/definitions/app.Response'
  37389. security:
  37390. - ApiKeyAuth: []
  37391. summary: 获取用户商品收藏信息
  37392. tags:
  37393. - 用户信息
  37394. /User/QueryUserInfo:
  37395. get:
  37396. parameters:
  37397. - description: 用户ID
  37398. in: query
  37399. name: userID
  37400. required: true
  37401. type: integer
  37402. - description: 是否解密
  37403. in: query
  37404. name: isDecrypt
  37405. type: boolean
  37406. produces:
  37407. - application/json
  37408. responses:
  37409. "200":
  37410. description: OK
  37411. schema:
  37412. $ref: '#/definitions/models.Userinfo'
  37413. "500":
  37414. description: Internal Server Error
  37415. schema:
  37416. $ref: '#/definitions/app.Response'
  37417. security:
  37418. - ApiKeyAuth: []
  37419. summary: 获取用户信息
  37420. tags:
  37421. - 用户信息
  37422. /User/QueryUserReferNum:
  37423. get:
  37424. parameters:
  37425. - description: 用户ID
  37426. in: query
  37427. name: userID
  37428. required: true
  37429. type: integer
  37430. produces:
  37431. - application/json
  37432. responses:
  37433. "200":
  37434. description: OK
  37435. schema:
  37436. $ref: '#/definitions/app.Response'
  37437. "500":
  37438. description: Internal Server Error
  37439. schema:
  37440. $ref: '#/definitions/app.Response'
  37441. summary: 获取用户邀请码
  37442. tags:
  37443. - 用户信息
  37444. /User/RemoveUserFavoriteGoods:
  37445. post:
  37446. parameters:
  37447. - description: 用户ID
  37448. in: query
  37449. name: userID
  37450. required: true
  37451. type: integer
  37452. - description: 商品ID
  37453. in: query
  37454. name: goodsID
  37455. required: true
  37456. type: integer
  37457. produces:
  37458. - application/json
  37459. responses:
  37460. "200":
  37461. description: OK
  37462. schema:
  37463. $ref: '#/definitions/app.Response'
  37464. "500":
  37465. description: Internal Server Error
  37466. schema:
  37467. $ref: '#/definitions/app.Response'
  37468. security:
  37469. - ApiKeyAuth: []
  37470. summary: 移除用户商品收藏信息
  37471. tags:
  37472. - 用户信息
  37473. /User/UpdateUserAccountStatus:
  37474. post:
  37475. parameters:
  37476. - description: 用户ID
  37477. in: query
  37478. name: userID
  37479. required: true
  37480. type: integer
  37481. - description: 账户状态 - 4:正常 6:注销(停用)
  37482. in: query
  37483. name: accountStatus
  37484. required: true
  37485. type: integer
  37486. produces:
  37487. - application/json
  37488. responses:
  37489. "200":
  37490. description: OK
  37491. schema:
  37492. $ref: '#/definitions/app.Response'
  37493. "500":
  37494. description: Internal Server Error
  37495. schema:
  37496. $ref: '#/definitions/app.Response'
  37497. security:
  37498. - ApiKeyAuth: []
  37499. summary: 更新用户状态
  37500. tags:
  37501. - 用户信息
  37502. /User/UpdateUserHeadUrl:
  37503. post:
  37504. parameters:
  37505. - description: 入参
  37506. in: body
  37507. name: data
  37508. required: true
  37509. schema:
  37510. $ref: '#/definitions/user.UpdateUserHeadUrlReq'
  37511. produces:
  37512. - application/json
  37513. responses:
  37514. "200":
  37515. description: OK
  37516. schema:
  37517. $ref: '#/definitions/app.Response'
  37518. "500":
  37519. description: Internal Server Error
  37520. schema:
  37521. $ref: '#/definitions/app.Response'
  37522. security:
  37523. - ApiKeyAuth: []
  37524. summary: 更新用户头像
  37525. tags:
  37526. - 用户信息
  37527. /WRTrade/GetAllDeliveryGoods:
  37528. get:
  37529. produces:
  37530. - application/json
  37531. responses:
  37532. "200":
  37533. description: OK
  37534. schema:
  37535. $ref: '#/definitions/app.Response'
  37536. "500":
  37537. description: Internal Server Error
  37538. schema:
  37539. $ref: '#/definitions/app.Response'
  37540. security:
  37541. - ApiKeyAuth: []
  37542. summary: 获取带仓单分类的种类信息
  37543. tags:
  37544. - 仓单贸易
  37545. - 仓单贸易
  37546. /WrTrade2/InsertXhcpSellBackApply:
  37547. post:
  37548. parameters:
  37549. - description: 回收申请
  37550. in: body
  37551. name: jsonBody
  37552. required: true
  37553. schema:
  37554. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  37555. produces:
  37556. - application/json
  37557. responses:
  37558. "200":
  37559. description: OK
  37560. schema:
  37561. $ref: '#/definitions/app.Response'
  37562. "500":
  37563. description: Internal Server Error
  37564. schema:
  37565. $ref: '#/definitions/app.Response'
  37566. security:
  37567. - ApiKeyAuth: []
  37568. summary: 新增回收申请(新会陈皮)
  37569. tags:
  37570. - 仓单贸易v2
  37571. /WrTrade2/QueryDeliveryGoodsSection:
  37572. get:
  37573. produces:
  37574. - application/json
  37575. responses:
  37576. "200":
  37577. description: OK
  37578. schema:
  37579. items:
  37580. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  37581. type: array
  37582. "500":
  37583. description: Internal Server Error
  37584. schema:
  37585. $ref: '#/definitions/app.Response'
  37586. security:
  37587. - ApiKeyAuth: []
  37588. summary: 查询板块(分类)
  37589. tags:
  37590. - 仓单贸易v2
  37591. /WrTrade2/QueryFaProductDetail:
  37592. get:
  37593. description: 页面 买卖大厅 -> 选择融资方案
  37594. parameters:
  37595. - description: 仓单要素id
  37596. in: query
  37597. name: wrfactortypeid
  37598. required: true
  37599. type: integer
  37600. produces:
  37601. - application/json
  37602. responses:
  37603. "200":
  37604. description: OK
  37605. schema:
  37606. items:
  37607. $ref: '#/definitions/models.WrFAProductDetail'
  37608. type: array
  37609. "500":
  37610. description: Internal Server Error
  37611. schema:
  37612. $ref: '#/definitions/app.Response'
  37613. security:
  37614. - ApiKeyAuth: []
  37615. summary: 查询融资产品列表
  37616. tags:
  37617. - 仓单贸易v2
  37618. /WrTrade2/QueryFilterItem:
  37619. get:
  37620. parameters:
  37621. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  37622. in: query
  37623. name: itype
  37624. required: true
  37625. type: string
  37626. produces:
  37627. - application/json
  37628. responses:
  37629. "200":
  37630. description: OK
  37631. schema:
  37632. items:
  37633. $ref: '#/definitions/models.WrFilterItem'
  37634. type: array
  37635. "500":
  37636. description: Internal Server Error
  37637. schema:
  37638. $ref: '#/definitions/app.Response'
  37639. security:
  37640. - ApiKeyAuth: []
  37641. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  37642. tags:
  37643. - 仓单贸易v2
  37644. /WrTrade2/QueryFtDeliveryGoods:
  37645. get:
  37646. produces:
  37647. - application/json
  37648. responses:
  37649. "200":
  37650. description: OK
  37651. schema:
  37652. items:
  37653. $ref: '#/definitions/models.WrFtDeliveryGoods'
  37654. type: array
  37655. "500":
  37656. description: Internal Server Error
  37657. schema:
  37658. $ref: '#/definitions/app.Response'
  37659. security:
  37660. - ApiKeyAuth: []
  37661. summary: 查询品种品类筛选框列表
  37662. tags:
  37663. - 仓单贸易v2
  37664. /WrTrade2/QueryHoldLB:
  37665. get:
  37666. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  37667. parameters:
  37668. - description: 资金账号
  37669. in: query
  37670. name: accountid
  37671. required: true
  37672. type: integer
  37673. - description: 仓库id
  37674. in: query
  37675. name: warehouseid
  37676. type: integer
  37677. - description: 品种id
  37678. in: query
  37679. name: deliverygoodsid
  37680. type: integer
  37681. - description: 品类id
  37682. in: query
  37683. name: wrstandardid
  37684. type: integer
  37685. - description: 仓单要素id
  37686. in: query
  37687. name: wrfactortypeid
  37688. type: integer
  37689. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  37690. in: query
  37691. name: dgitemname
  37692. type: string
  37693. produces:
  37694. - application/json
  37695. responses:
  37696. "200":
  37697. description: OK
  37698. schema:
  37699. items:
  37700. $ref: '#/definitions/models.WrHoldLB'
  37701. type: array
  37702. "500":
  37703. description: Internal Server Error
  37704. schema:
  37705. $ref: '#/definitions/app.Response'
  37706. security:
  37707. - ApiKeyAuth: []
  37708. summary: 查询仓单持有记录
  37709. tags:
  37710. - 仓单贸易v2
  37711. /WrTrade2/QueryOrderQuote:
  37712. get:
  37713. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  37714. 唯一确定1条记录
  37715. parameters:
  37716. - description: 页码
  37717. in: query
  37718. name: page
  37719. type: integer
  37720. - description: 每页条数
  37721. in: query
  37722. name: pagesize
  37723. type: integer
  37724. - description: 仓单贸易市场id
  37725. in: query
  37726. name: marketid
  37727. type: integer
  37728. - description: 价格方式 - 1:固定价 2-浮动价
  37729. in: query
  37730. name: wrpricetype
  37731. required: true
  37732. type: integer
  37733. - description: 0:仓单预售 1:仓单贸易
  37734. in: query
  37735. name: haswr
  37736. type: integer
  37737. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  37738. in: query
  37739. name: dgitemname
  37740. type: string
  37741. - description: 仓库id(筛选条件)
  37742. in: query
  37743. name: warehouseid
  37744. type: integer
  37745. - description: 品种id
  37746. in: query
  37747. name: deliverygoodsid
  37748. type: integer
  37749. - description: 品类id
  37750. in: query
  37751. name: wrstandardid
  37752. type: integer
  37753. - description: 品牌id(dgfactoryitemid)
  37754. in: query
  37755. name: brandid
  37756. type: integer
  37757. - description: 年份id(dgfactoryitemid)
  37758. in: query
  37759. name: yearsid
  37760. type: integer
  37761. - description: 仓单要素id
  37762. in: query
  37763. name: wrfactortypeid
  37764. type: integer
  37765. - description: 交收月(yyyy-mm) 仓单预售填写
  37766. in: query
  37767. name: deliverymonth
  37768. type: string
  37769. produces:
  37770. - application/json
  37771. responses:
  37772. "200":
  37773. description: OK
  37774. schema:
  37775. items:
  37776. $ref: '#/definitions/models.WrOrderQuote'
  37777. type: array
  37778. "500":
  37779. description: Internal Server Error
  37780. schema:
  37781. $ref: '#/definitions/app.Response'
  37782. security:
  37783. - ApiKeyAuth: []
  37784. summary: 查询大厅行情列表
  37785. tags:
  37786. - 仓单贸易v2
  37787. /WrTrade2/QueryOrderQuoteDetail:
  37788. get:
  37789. parameters:
  37790. - description: 页码
  37791. in: query
  37792. name: page
  37793. type: integer
  37794. - description: 每页条数
  37795. in: query
  37796. name: pagesize
  37797. type: integer
  37798. - description: 仓单贸易市场id
  37799. in: query
  37800. name: marketid
  37801. type: integer
  37802. - description: 价格方式 - 1:固定价 2-浮动价
  37803. in: query
  37804. name: wrpricetype
  37805. required: true
  37806. type: integer
  37807. - description: 0:仓单预售 1:仓单贸易
  37808. in: query
  37809. name: haswr
  37810. type: integer
  37811. - description: 仓单要素id
  37812. in: query
  37813. name: wrfactortypeid
  37814. required: true
  37815. type: integer
  37816. - description: 期货商品id(浮动价方式时填)
  37817. in: query
  37818. name: goodsid
  37819. type: integer
  37820. - description: 买卖方向 0-买 1-卖
  37821. in: query
  37822. name: buyorsell
  37823. required: true
  37824. type: integer
  37825. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  37826. in: query
  37827. name: deliverymonth
  37828. type: string
  37829. produces:
  37830. - application/json
  37831. responses:
  37832. "200":
  37833. description: OK
  37834. schema:
  37835. items:
  37836. $ref: '#/definitions/models.WrOrderQuoteDetail'
  37837. type: array
  37838. "500":
  37839. description: Internal Server Error
  37840. schema:
  37841. $ref: '#/definitions/app.Response'
  37842. security:
  37843. - ApiKeyAuth: []
  37844. summary: 查询买卖大厅
  37845. tags:
  37846. - 仓单贸易v2
  37847. /WrTrade2/QueryOrderQuoteMyq:
  37848. get:
  37849. parameters:
  37850. - description: 页码
  37851. in: query
  37852. name: page
  37853. type: integer
  37854. - description: 每页条数
  37855. in: query
  37856. name: pagesize
  37857. type: integer
  37858. - description: 用户id
  37859. in: query
  37860. name: userid
  37861. required: true
  37862. type: integer
  37863. - description: 仓单贸易市场id
  37864. in: query
  37865. name: marketid
  37866. type: integer
  37867. - description: 0:仓单预售 1:仓单贸易
  37868. in: query
  37869. name: haswr
  37870. type: integer
  37871. - description: 买卖方向 0-买 1-卖
  37872. in: query
  37873. name: buyorsell
  37874. required: true
  37875. type: integer
  37876. - description: 品种id
  37877. in: query
  37878. name: deliverygoodsid
  37879. type: integer
  37880. - description: 品类id
  37881. in: query
  37882. name: wrstandardid
  37883. type: integer
  37884. - description: 交收月(yyyy-mm) 仓单预售填写
  37885. in: query
  37886. name: deliverymonth
  37887. type: string
  37888. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  37889. in: query
  37890. name: dgitemname
  37891. type: string
  37892. produces:
  37893. - application/json
  37894. responses:
  37895. "200":
  37896. description: OK
  37897. schema:
  37898. items:
  37899. $ref: '#/definitions/models.WrQuoteOrderMyq'
  37900. type: array
  37901. "500":
  37902. description: Internal Server Error
  37903. schema:
  37904. $ref: '#/definitions/app.Response'
  37905. security:
  37906. - ApiKeyAuth: []
  37907. summary: 查询贸易圈挂牌大厅
  37908. tags:
  37909. - 仓单贸易v2
  37910. /WrTrade2/QueryPerformancePlan:
  37911. get:
  37912. parameters:
  37913. - description: 用户id
  37914. in: query
  37915. name: userid
  37916. required: true
  37917. type: integer
  37918. - description: 买卖方向 0-买 1-卖
  37919. in: query
  37920. name: buyorsell
  37921. required: true
  37922. type: integer
  37923. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  37924. 8:释放冻结失败 9:超时待处理 10:超时关闭
  37925. in: query
  37926. name: status
  37927. type: string
  37928. - description: 开始交易日(yyyymmdd)
  37929. in: query
  37930. name: begindate
  37931. type: string
  37932. - description: 结束交易日(yyyymmdd)
  37933. in: query
  37934. name: enddate
  37935. type: string
  37936. produces:
  37937. - application/json
  37938. responses:
  37939. "200":
  37940. description: OK
  37941. schema:
  37942. items:
  37943. $ref: '#/definitions/models.WrPerformancePlan'
  37944. type: array
  37945. "500":
  37946. description: Internal Server Error
  37947. schema:
  37948. $ref: '#/definitions/app.Response'
  37949. security:
  37950. - ApiKeyAuth: []
  37951. summary: 查询履约信息
  37952. tags:
  37953. - 仓单贸易v2
  37954. /WrTrade2/QueryPermancePlanTmp:
  37955. get:
  37956. description: |-
  37957. 返回指定用户的模板和公共模板(用户id为空)
  37958. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  37959. parameters:
  37960. - description: 用户id
  37961. in: query
  37962. name: userid
  37963. type: integer
  37964. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  37965. (无仓单) 5:挂牌期权 6:竞拍-降价式
  37966. in: query
  37967. name: tmptype
  37968. type: string
  37969. - description: 是否包含公共模板(用户id为空的) 1-包含
  37970. in: query
  37971. name: includepub
  37972. type: integer
  37973. - description: 市场id(天津麦顿指定此参数,其它不用)
  37974. in: query
  37975. name: marketid
  37976. type: integer
  37977. produces:
  37978. - application/json
  37979. responses:
  37980. "200":
  37981. description: OK
  37982. schema:
  37983. items:
  37984. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  37985. type: array
  37986. "500":
  37987. description: Internal Server Error
  37988. schema:
  37989. $ref: '#/definitions/app.Response'
  37990. security:
  37991. - ApiKeyAuth: []
  37992. summary: 查询履约模板
  37993. tags:
  37994. - 仓单贸易v2
  37995. /WrTrade2/QuerySiteColumnConfig:
  37996. get:
  37997. parameters:
  37998. - description: 页码
  37999. in: query
  38000. name: page
  38001. type: integer
  38002. - description: 每页条数
  38003. in: query
  38004. name: pagesize
  38005. type: integer
  38006. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  38007. in: query
  38008. name: columntype
  38009. type: integer
  38010. produces:
  38011. - application/json
  38012. responses:
  38013. "200":
  38014. description: OK
  38015. schema:
  38016. items:
  38017. $ref: '#/definitions/models.Sitecolumnconfig'
  38018. type: array
  38019. "500":
  38020. description: Internal Server Error
  38021. schema:
  38022. $ref: '#/definitions/app.Response'
  38023. summary: 查询资讯栏目配置
  38024. tags:
  38025. - 仓单贸易v2
  38026. /WrTrade2/QuerySiteColumnDetail:
  38027. get:
  38028. parameters:
  38029. - description: 页码
  38030. in: query
  38031. name: page
  38032. type: integer
  38033. - description: 每页条数
  38034. in: query
  38035. name: pagesize
  38036. type: integer
  38037. - description: 所属栏目id
  38038. in: query
  38039. name: columnid
  38040. type: integer
  38041. produces:
  38042. - application/json
  38043. responses:
  38044. "200":
  38045. description: OK
  38046. schema:
  38047. items:
  38048. $ref: '#/definitions/models.WrSiteColumnDetail'
  38049. type: array
  38050. "500":
  38051. description: Internal Server Error
  38052. schema:
  38053. $ref: '#/definitions/app.Response'
  38054. summary: 查询资讯
  38055. tags:
  38056. - 仓单贸易v2
  38057. /WrTrade2/QuerySpotGroupTradeSum:
  38058. get:
  38059. produces:
  38060. - application/json
  38061. responses:
  38062. "200":
  38063. description: OK
  38064. schema:
  38065. items:
  38066. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  38067. type: array
  38068. "500":
  38069. description: Internal Server Error
  38070. schema:
  38071. $ref: '#/definitions/app.Response'
  38072. security:
  38073. - ApiKeyAuth: []
  38074. summary: 查询指数
  38075. tags:
  38076. - 仓单贸易v2
  38077. /WrTrade2/QuerySpotGroupTradeSumDetail:
  38078. get:
  38079. description: 查询的结果将会按日期 从小到大 排序
  38080. parameters:
  38081. - description: 现货商品id
  38082. in: query
  38083. name: deliverygoodsid
  38084. required: true
  38085. type: integer
  38086. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  38087. in: query
  38088. name: lastnum
  38089. type: integer
  38090. produces:
  38091. - application/json
  38092. responses:
  38093. "200":
  38094. description: OK
  38095. schema:
  38096. items:
  38097. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  38098. type: array
  38099. "500":
  38100. description: Internal Server Error
  38101. schema:
  38102. $ref: '#/definitions/app.Response'
  38103. security:
  38104. - ApiKeyAuth: []
  38105. summary: 查询指数详细(价格走势图)
  38106. tags:
  38107. - 仓单贸易v2
  38108. /WrTrade2/QueryWrAverageTradePrice:
  38109. get:
  38110. parameters:
  38111. - description: 页码
  38112. in: query
  38113. name: page
  38114. type: integer
  38115. - description: 每页条数
  38116. in: query
  38117. name: pagesize
  38118. type: integer
  38119. - description: 0:仓单预售 1:仓单贸易
  38120. in: query
  38121. name: haswr
  38122. required: true
  38123. type: integer
  38124. - description: 仓单要素id
  38125. in: query
  38126. name: wrfactortypeid
  38127. required: true
  38128. type: integer
  38129. produces:
  38130. - application/json
  38131. responses:
  38132. "200":
  38133. description: OK
  38134. schema:
  38135. items:
  38136. $ref: '#/definitions/models.WrAverageTradePrice'
  38137. type: array
  38138. "500":
  38139. description: Internal Server Error
  38140. schema:
  38141. $ref: '#/definitions/app.Response'
  38142. security:
  38143. - ApiKeyAuth: []
  38144. summary: 查询成交价(历史走势)
  38145. tags:
  38146. - 仓单贸易v2
  38147. /WrTrade2/QueryWrBrandAndYears:
  38148. get:
  38149. produces:
  38150. - application/json
  38151. responses:
  38152. "200":
  38153. description: OK
  38154. schema:
  38155. items:
  38156. $ref: '#/definitions/models.WrBrandAndYears'
  38157. type: array
  38158. "500":
  38159. description: Internal Server Error
  38160. schema:
  38161. $ref: '#/definitions/app.Response'
  38162. security:
  38163. - ApiKeyAuth: []
  38164. summary: 查询品牌和年份
  38165. tags:
  38166. - 仓单贸易v2
  38167. /WrTrade2/QueryWrBsGoodsInfo:
  38168. get:
  38169. description: 合约交易/买卖大厅/详情
  38170. parameters:
  38171. - description: 商品id
  38172. in: query
  38173. name: goodsid
  38174. required: true
  38175. type: integer
  38176. produces:
  38177. - application/json
  38178. responses:
  38179. "200":
  38180. description: OK
  38181. schema:
  38182. items:
  38183. $ref: '#/definitions/models.WrBsGoodsInfo'
  38184. type: array
  38185. "500":
  38186. description: Internal Server Error
  38187. schema:
  38188. $ref: '#/definitions/app.Response'
  38189. security:
  38190. - ApiKeyAuth: []
  38191. summary: 查询合约交易买卖大厅详情
  38192. tags:
  38193. - 仓单贸易v2
  38194. /WrTrade2/QueryWrBuybackDetail:
  38195. get:
  38196. parameters:
  38197. - description: 融资合同id
  38198. in: query
  38199. name: scfcontractid
  38200. type: integer
  38201. produces:
  38202. - application/json
  38203. responses:
  38204. "200":
  38205. description: OK
  38206. schema:
  38207. items:
  38208. $ref: '#/definitions/models.WrBuybackDetail'
  38209. type: array
  38210. "500":
  38211. description: Internal Server Error
  38212. schema:
  38213. $ref: '#/definitions/app.Response'
  38214. security:
  38215. - ApiKeyAuth: []
  38216. summary: 查询仓单回购明细
  38217. tags:
  38218. - 仓单贸易v2
  38219. /WrTrade2/QueryWrClientAdSpaceConfig:
  38220. get:
  38221. produces:
  38222. - application/json
  38223. responses:
  38224. "200":
  38225. description: OK
  38226. schema:
  38227. items:
  38228. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  38229. type: array
  38230. "500":
  38231. description: Internal Server Error
  38232. schema:
  38233. $ref: '#/definitions/app.Response'
  38234. security:
  38235. - ApiKeyAuth: []
  38236. summary: 查询固定广告配置
  38237. tags:
  38238. - 仓单贸易v2
  38239. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  38240. get:
  38241. parameters:
  38242. - description: 资金账号
  38243. in: query
  38244. name: accountid
  38245. required: true
  38246. type: integer
  38247. - description: 商品id
  38248. in: query
  38249. name: goodsid
  38250. required: true
  38251. type: integer
  38252. produces:
  38253. - application/json
  38254. responses:
  38255. "200":
  38256. description: OK
  38257. schema:
  38258. items:
  38259. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  38260. type: array
  38261. "500":
  38262. description: Internal Server Error
  38263. schema:
  38264. $ref: '#/definitions/app.Response'
  38265. security:
  38266. - ApiKeyAuth: []
  38267. summary: 查询合约交收可点选仓单
  38268. tags:
  38269. - 仓单贸易v2
  38270. /WrTrade2/QueryWrDeliveryDetail:
  38271. get:
  38272. parameters:
  38273. - description: 用户id
  38274. in: query
  38275. name: userid
  38276. required: true
  38277. type: integer
  38278. - description: 资金账号id
  38279. in: query
  38280. name: accountid
  38281. type: integer
  38282. - description: 开始交易日(yyyymmdd)
  38283. in: query
  38284. name: begindate
  38285. type: string
  38286. - description: 结束交易日(yyyymmdd)
  38287. in: query
  38288. name: enddate
  38289. type: string
  38290. produces:
  38291. - application/json
  38292. responses:
  38293. "200":
  38294. description: OK
  38295. schema:
  38296. items:
  38297. $ref: '#/definitions/models.WrDeliveryDetail'
  38298. type: array
  38299. "500":
  38300. description: Internal Server Error
  38301. schema:
  38302. $ref: '#/definitions/app.Response'
  38303. security:
  38304. - ApiKeyAuth: []
  38305. summary: 查询交收
  38306. tags:
  38307. - 仓单贸易v2
  38308. /WrTrade2/QueryWrDraftUserInfo:
  38309. get:
  38310. parameters:
  38311. - description: 用户ID
  38312. in: query
  38313. name: userid
  38314. required: true
  38315. type: integer
  38316. - description: 用户状态 1:正常 2:注销
  38317. in: query
  38318. name: userstatus
  38319. type: integer
  38320. produces:
  38321. - application/json
  38322. responses:
  38323. "200":
  38324. description: OK
  38325. schema:
  38326. items:
  38327. $ref: '#/definitions/models.WrDraftUserInfo'
  38328. type: array
  38329. "500":
  38330. description: Internal Server Error
  38331. schema:
  38332. $ref: '#/definitions/app.Response'
  38333. security:
  38334. - ApiKeyAuth: []
  38335. summary: 查询实名认证信息
  38336. tags:
  38337. - 仓单贸易v2
  38338. /WrTrade2/QueryWrFactorTypeInfo:
  38339. get:
  38340. parameters:
  38341. - description: 仓单要素id
  38342. in: query
  38343. name: wrfactortypeid
  38344. required: true
  38345. type: integer
  38346. produces:
  38347. - application/json
  38348. responses:
  38349. "200":
  38350. description: OK
  38351. schema:
  38352. items:
  38353. $ref: '#/definitions/models.WrFactorTypeInfo'
  38354. type: array
  38355. "500":
  38356. description: Internal Server Error
  38357. schema:
  38358. $ref: '#/definitions/app.Response'
  38359. security:
  38360. - ApiKeyAuth: []
  38361. summary: 查询仓单要素详细信息
  38362. tags:
  38363. - 仓单贸易v2
  38364. /WrTrade2/QueryWrFactorTypeInfoEx:
  38365. get:
  38366. parameters:
  38367. - description: 仓单要素id
  38368. in: query
  38369. name: wrfactortypeid
  38370. required: true
  38371. type: integer
  38372. produces:
  38373. - application/json
  38374. responses:
  38375. "200":
  38376. description: OK
  38377. schema:
  38378. items:
  38379. $ref: '#/definitions/models.WrTypeItem'
  38380. type: array
  38381. "500":
  38382. description: Internal Server Error
  38383. schema:
  38384. $ref: '#/definitions/app.Response'
  38385. security:
  38386. - ApiKeyAuth: []
  38387. summary: 查询仓单要素详细信息列表项
  38388. tags:
  38389. - 仓单贸易v2
  38390. /WrTrade2/QueryWrFinanceBuyApply:
  38391. get:
  38392. description: 页面 融资信息+ / 申请单
  38393. parameters:
  38394. - description: 用户id
  38395. in: query
  38396. name: userid
  38397. required: true
  38398. type: integer
  38399. produces:
  38400. - application/json
  38401. responses:
  38402. "200":
  38403. description: OK
  38404. schema:
  38405. items:
  38406. $ref: '#/definitions/models.WrFinanceBuyApply'
  38407. type: array
  38408. "500":
  38409. description: Internal Server Error
  38410. schema:
  38411. $ref: '#/definitions/app.Response'
  38412. security:
  38413. - ApiKeyAuth: []
  38414. summary: 查询融资购买申请
  38415. tags:
  38416. - 仓单贸易v2
  38417. /WrTrade2/QueryWrFriendApply:
  38418. get:
  38419. parameters:
  38420. - description: 用户id
  38421. in: query
  38422. name: userid
  38423. required: true
  38424. type: integer
  38425. produces:
  38426. - application/json
  38427. responses:
  38428. "200":
  38429. description: OK
  38430. schema:
  38431. items:
  38432. $ref: '#/definitions/models.WrFriendApply'
  38433. type: array
  38434. "500":
  38435. description: Internal Server Error
  38436. schema:
  38437. $ref: '#/definitions/app.Response'
  38438. security:
  38439. - ApiKeyAuth: []
  38440. summary: 查询好友申请记录
  38441. tags:
  38442. - 仓单贸易v2
  38443. /WrTrade2/QueryWrGoodsInfo:
  38444. get:
  38445. parameters:
  38446. - description: 仓单贸易市场id
  38447. in: query
  38448. name: marketid
  38449. type: integer
  38450. - description: 0:仓单预售 1:仓单贸易
  38451. in: query
  38452. name: haswr
  38453. required: true
  38454. type: integer
  38455. - description: 仓单要素id
  38456. in: query
  38457. name: wrfactortypeid
  38458. required: true
  38459. type: integer
  38460. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  38461. in: query
  38462. name: tmplateid
  38463. type: integer
  38464. produces:
  38465. - application/json
  38466. responses:
  38467. "200":
  38468. description: OK
  38469. schema:
  38470. items:
  38471. $ref: '#/definitions/models.WrGoodsInfo'
  38472. type: array
  38473. "500":
  38474. description: Internal Server Error
  38475. schema:
  38476. $ref: '#/definitions/app.Response'
  38477. security:
  38478. - ApiKeyAuth: []
  38479. summary: 查询仓单商品信息
  38480. tags:
  38481. - 仓单贸易v2
  38482. /WrTrade2/QueryWrMarketTradeConfig:
  38483. get:
  38484. parameters:
  38485. - description: 市场id
  38486. in: query
  38487. name: marketid
  38488. type: integer
  38489. produces:
  38490. - application/json
  38491. responses:
  38492. "200":
  38493. description: OK
  38494. schema:
  38495. items:
  38496. $ref: '#/definitions/models.WrMarketTradeConfig'
  38497. type: array
  38498. "500":
  38499. description: Internal Server Error
  38500. schema:
  38501. $ref: '#/definitions/app.Response'
  38502. security:
  38503. - ApiKeyAuth: []
  38504. summary: 查询市场交易参数配置
  38505. tags:
  38506. - 仓单贸易v2
  38507. /WrTrade2/QueryWrOrderDetail:
  38508. get:
  38509. description: 页面 现货仓单 | 预售仓单 -> 委托单
  38510. parameters:
  38511. - description: 页码
  38512. in: query
  38513. name: page
  38514. type: integer
  38515. - description: 每页条数
  38516. in: query
  38517. name: pagesize
  38518. type: integer
  38519. - description: 用户id
  38520. in: query
  38521. name: userid
  38522. required: true
  38523. type: integer
  38524. - description: 仓单贸易市场id
  38525. in: query
  38526. name: marketid
  38527. type: integer
  38528. - description: 0:仓单预售 1:仓单贸易
  38529. in: query
  38530. name: haswr
  38531. required: true
  38532. type: integer
  38533. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  38534. in: query
  38535. name: bcancel
  38536. type: integer
  38537. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  38538. in: query
  38539. name: wrtradetype
  38540. type: integer
  38541. - description: 开始交易日(yyyymmdd)
  38542. in: query
  38543. name: begindate
  38544. type: string
  38545. - description: 结束交易日(yyyymmdd)
  38546. in: query
  38547. name: enddate
  38548. type: string
  38549. produces:
  38550. - application/json
  38551. responses:
  38552. "200":
  38553. description: OK
  38554. schema:
  38555. items:
  38556. $ref: '#/definitions/models.WrOrderDetail'
  38557. type: array
  38558. "500":
  38559. description: Internal Server Error
  38560. schema:
  38561. $ref: '#/definitions/app.Response'
  38562. security:
  38563. - ApiKeyAuth: []
  38564. summary: 查询仓单委托单
  38565. tags:
  38566. - 仓单贸易v2
  38567. /WrTrade2/QueryWrOutInApply:
  38568. get:
  38569. parameters:
  38570. - description: 页码
  38571. in: query
  38572. name: page
  38573. type: integer
  38574. - description: 每页条数
  38575. in: query
  38576. name: pagesize
  38577. type: integer
  38578. - description: 用户id
  38579. in: query
  38580. name: userid
  38581. required: true
  38582. type: integer
  38583. - description: 开始交易日(yyyymmdd)
  38584. in: query
  38585. name: begindate
  38586. type: string
  38587. - description: 结束交易日(yyyymmdd)
  38588. in: query
  38589. name: enddate
  38590. type: string
  38591. produces:
  38592. - application/json
  38593. responses:
  38594. "200":
  38595. description: OK
  38596. schema:
  38597. items:
  38598. $ref: '#/definitions/models.WrOutInApply'
  38599. type: array
  38600. "500":
  38601. description: Internal Server Error
  38602. schema:
  38603. $ref: '#/definitions/app.Response'
  38604. security:
  38605. - ApiKeyAuth: []
  38606. summary: 查询提货申请
  38607. tags:
  38608. - 仓单贸易v2
  38609. /WrTrade2/QueryWrPerformancePlanStep:
  38610. get:
  38611. parameters:
  38612. - description: 履约计划id(performanceplanid)
  38613. in: query
  38614. name: planid
  38615. required: true
  38616. type: integer
  38617. - description: 当前步骤id
  38618. in: query
  38619. name: curstepid
  38620. type: integer
  38621. produces:
  38622. - application/json
  38623. responses:
  38624. "200":
  38625. description: OK
  38626. schema:
  38627. items:
  38628. $ref: '#/definitions/models.WrPerformancePlanStep'
  38629. type: array
  38630. "500":
  38631. description: Internal Server Error
  38632. schema:
  38633. $ref: '#/definitions/app.Response'
  38634. security:
  38635. - ApiKeyAuth: []
  38636. summary: 查询履约信息详情
  38637. tags:
  38638. - 仓单贸易v2
  38639. /WrTrade2/QueryWrPerformanceStepType:
  38640. get:
  38641. produces:
  38642. - application/json
  38643. responses:
  38644. "200":
  38645. description: OK
  38646. schema:
  38647. items:
  38648. $ref: '#/definitions/models.WrPerformanceStepType'
  38649. type: array
  38650. "500":
  38651. description: Internal Server Error
  38652. schema:
  38653. $ref: '#/definitions/app.Response'
  38654. security:
  38655. - ApiKeyAuth: []
  38656. summary: 查询履约步骤枚举
  38657. tags:
  38658. - 仓单贸易v2
  38659. /WrTrade2/QueryWrPosition:
  38660. get:
  38661. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  38662. parameters:
  38663. - description: 用户id
  38664. in: query
  38665. name: userid
  38666. required: true
  38667. type: integer
  38668. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  38669. in: query
  38670. name: querytype
  38671. required: true
  38672. type: integer
  38673. - description: 0:仓单预售 1:仓单贸易
  38674. in: query
  38675. name: haswr
  38676. required: true
  38677. type: integer
  38678. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  38679. in: query
  38680. name: dgitemname
  38681. type: string
  38682. - description: 仓库id(筛选条件)
  38683. in: query
  38684. name: warehouseid
  38685. type: integer
  38686. - description: 品种id
  38687. in: query
  38688. name: deliverygoodsid
  38689. type: integer
  38690. - description: 品类id
  38691. in: query
  38692. name: wrstandardid
  38693. type: integer
  38694. produces:
  38695. - application/json
  38696. responses:
  38697. "200":
  38698. description: OK
  38699. schema:
  38700. items:
  38701. $ref: '#/definitions/models.WrPosition'
  38702. type: array
  38703. "500":
  38704. description: Internal Server Error
  38705. schema:
  38706. $ref: '#/definitions/app.Response'
  38707. security:
  38708. - ApiKeyAuth: []
  38709. summary: 查询现货(预售)仓单持仓
  38710. tags:
  38711. - 仓单贸易v2
  38712. /WrTrade2/QueryWrPreSaleInfo:
  38713. get:
  38714. parameters:
  38715. - description: 市场id
  38716. in: query
  38717. name: marketid
  38718. type: integer
  38719. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  38720. in: query
  38721. name: presalestatus
  38722. type: string
  38723. - description: 摇号标识 - 0:未摇号 1:已摇号
  38724. in: query
  38725. name: lotteryflag
  38726. type: integer
  38727. - description: 最近多少条记录(按创建时间倒序)
  38728. in: query
  38729. name: lastnum
  38730. type: integer
  38731. produces:
  38732. - application/json
  38733. responses:
  38734. "200":
  38735. description: OK
  38736. schema:
  38737. items:
  38738. $ref: '#/definitions/models.WrPreSaleInfo'
  38739. type: array
  38740. "500":
  38741. description: Internal Server Error
  38742. schema:
  38743. $ref: '#/definitions/app.Response'
  38744. security:
  38745. - ApiKeyAuth: []
  38746. summary: 查询新品发布
  38747. tags:
  38748. - 仓单贸易v2
  38749. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  38750. get:
  38751. parameters:
  38752. - description: 市场id
  38753. in: query
  38754. name: marketid
  38755. required: true
  38756. type: integer
  38757. - description: 现货商品id
  38758. in: query
  38759. name: wrstandardid
  38760. required: true
  38761. type: integer
  38762. - description: 开始交易日(yyyymmdd)
  38763. in: query
  38764. name: begindate
  38765. type: string
  38766. - description: 结束交易日(yyyymmdd)
  38767. in: query
  38768. name: enddate
  38769. type: string
  38770. - description: 最近多少条记录(按交易日倒序)
  38771. in: query
  38772. name: lastnum
  38773. type: integer
  38774. - description: 是否今日
  38775. in: query
  38776. name: istoday
  38777. type: boolean
  38778. produces:
  38779. - application/json
  38780. responses:
  38781. "200":
  38782. description: OK
  38783. schema:
  38784. items:
  38785. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  38786. type: array
  38787. "500":
  38788. description: Internal Server Error
  38789. schema:
  38790. $ref: '#/definitions/app.Response'
  38791. security:
  38792. - ApiKeyAuth: []
  38793. summary: 查询价格走势
  38794. tags:
  38795. - 仓单贸易v2
  38796. /WrTrade2/QueryWrScfContract:
  38797. get:
  38798. parameters:
  38799. - description: 用户id
  38800. in: query
  38801. name: userid
  38802. required: true
  38803. type: integer
  38804. - description: 融资合同id
  38805. in: query
  38806. name: scfcontractid
  38807. type: integer
  38808. produces:
  38809. - application/json
  38810. responses:
  38811. "200":
  38812. description: OK
  38813. schema:
  38814. items:
  38815. $ref: '#/definitions/models.WrScfContract'
  38816. type: array
  38817. "500":
  38818. description: Internal Server Error
  38819. schema:
  38820. $ref: '#/definitions/app.Response'
  38821. security:
  38822. - ApiKeyAuth: []
  38823. summary: 查询仓单贸易融资合同
  38824. tags:
  38825. - 仓单贸易v2
  38826. /WrTrade2/QueryWrScfContractInterest:
  38827. get:
  38828. parameters:
  38829. - description: 融资合同id
  38830. in: query
  38831. name: scfcontractid
  38832. type: integer
  38833. produces:
  38834. - application/json
  38835. responses:
  38836. "200":
  38837. description: OK
  38838. schema:
  38839. items:
  38840. $ref: '#/definitions/models.WrScfContractInterest'
  38841. type: array
  38842. "500":
  38843. description: Internal Server Error
  38844. schema:
  38845. $ref: '#/definitions/app.Response'
  38846. security:
  38847. - ApiKeyAuth: []
  38848. summary: 查询融资合同费用明细
  38849. tags:
  38850. - 仓单贸易v2
  38851. /WrTrade2/QueryWrSearchUser:
  38852. get:
  38853. parameters:
  38854. - description: 用户名称(模糊匹配)
  38855. in: query
  38856. name: username
  38857. required: true
  38858. type: string
  38859. produces:
  38860. - application/json
  38861. responses:
  38862. "200":
  38863. description: OK
  38864. schema:
  38865. items:
  38866. $ref: '#/definitions/models.WrSearchUser'
  38867. type: array
  38868. "500":
  38869. description: Internal Server Error
  38870. schema:
  38871. $ref: '#/definitions/app.Response'
  38872. security:
  38873. - ApiKeyAuth: []
  38874. summary: 查询用户
  38875. tags:
  38876. - 仓单贸易v2
  38877. /WrTrade2/QueryWrSpecialMatchOrder:
  38878. get:
  38879. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  38880. parameters:
  38881. - description: 页码
  38882. in: query
  38883. name: page
  38884. type: integer
  38885. - description: 每页条数
  38886. in: query
  38887. name: pagesize
  38888. type: integer
  38889. - description: 用户id
  38890. in: query
  38891. name: userid
  38892. required: true
  38893. type: integer
  38894. - description: 仓单贸易市场id
  38895. in: query
  38896. name: marketid
  38897. type: integer
  38898. - description: 0:仓单预售 1:仓单贸易
  38899. in: query
  38900. name: haswr
  38901. required: true
  38902. type: integer
  38903. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  38904. in: query
  38905. name: isspecified
  38906. type: integer
  38907. produces:
  38908. - application/json
  38909. responses:
  38910. "200":
  38911. description: OK
  38912. schema:
  38913. items:
  38914. $ref: '#/definitions/models.WrSpecialMatchOrder'
  38915. type: array
  38916. "500":
  38917. description: Internal Server Error
  38918. schema:
  38919. $ref: '#/definitions/app.Response'
  38920. security:
  38921. - ApiKeyAuth: []
  38922. summary: 查询指定成交
  38923. tags:
  38924. - 仓单贸易v2
  38925. /WrTrade2/QueryWrStandardFactoryItem:
  38926. get:
  38927. parameters:
  38928. - description: 品类id
  38929. in: query
  38930. name: wrstandardid
  38931. required: true
  38932. type: integer
  38933. produces:
  38934. - application/json
  38935. responses:
  38936. "200":
  38937. description: OK
  38938. schema:
  38939. items:
  38940. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  38941. type: array
  38942. "500":
  38943. description: Internal Server Error
  38944. schema:
  38945. $ref: '#/definitions/app.Response'
  38946. security:
  38947. - ApiKeyAuth: []
  38948. summary: 查询品类要素定义项
  38949. tags:
  38950. - 仓单贸易v2
  38951. /WrTrade2/QueryWrTradeBargainApply:
  38952. get:
  38953. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  38954. 议价->对方议价 填写matchuserid=登录用户id
  38955. parameters:
  38956. - description: 议价人id(摘牌方)
  38957. in: query
  38958. name: userid
  38959. type: integer
  38960. - description: 挂牌方id(查对方议价时,填写此项)
  38961. in: query
  38962. name: matchuserid
  38963. type: integer
  38964. - description: 关联委托单id
  38965. in: query
  38966. name: wrtradeorderid
  38967. type: integer
  38968. - description: 0:仓单预售 1:仓单贸易
  38969. in: query
  38970. name: haswr
  38971. required: true
  38972. type: integer
  38973. - description: 开始交易日(yyyymmdd)
  38974. in: query
  38975. name: begindate
  38976. type: string
  38977. - description: 结束交易日(yyyymmdd)
  38978. in: query
  38979. name: enddate
  38980. type: string
  38981. produces:
  38982. - application/json
  38983. responses:
  38984. "200":
  38985. description: OK
  38986. schema:
  38987. items:
  38988. $ref: '#/definitions/models.WRTradeBargainApply'
  38989. type: array
  38990. "500":
  38991. description: Internal Server Error
  38992. schema:
  38993. $ref: '#/definitions/app.Response'
  38994. security:
  38995. - ApiKeyAuth: []
  38996. summary: 查询议价单
  38997. tags:
  38998. - 仓单贸易v2
  38999. /WrTrade2/QueryWrTradeDetail:
  39000. get:
  39001. parameters:
  39002. - description: 页码
  39003. in: query
  39004. name: page
  39005. type: integer
  39006. - description: 每页条数
  39007. in: query
  39008. name: pagesize
  39009. type: integer
  39010. - description: 用户id
  39011. in: query
  39012. name: userid
  39013. required: true
  39014. type: integer
  39015. - description: 仓单贸易市场id
  39016. in: query
  39017. name: marketid
  39018. type: integer
  39019. - description: 0:仓单预售 1:仓单贸易
  39020. in: query
  39021. name: haswr
  39022. required: true
  39023. type: integer
  39024. - description: 开始交易日(yyyymmdd)
  39025. in: query
  39026. name: begindate
  39027. type: string
  39028. - description: 结束交易日(yyyymmdd)
  39029. in: query
  39030. name: enddate
  39031. type: string
  39032. produces:
  39033. - application/json
  39034. responses:
  39035. "200":
  39036. description: OK
  39037. schema:
  39038. items:
  39039. $ref: '#/definitions/models.WrTradeDetail'
  39040. type: array
  39041. "500":
  39042. description: Internal Server Error
  39043. schema:
  39044. $ref: '#/definitions/app.Response'
  39045. security:
  39046. - ApiKeyAuth: []
  39047. summary: 查询仓单成交明细
  39048. tags:
  39049. - 仓单贸易v2
  39050. /WrTrade2/QueryWrTradeOrderDetail:
  39051. get:
  39052. parameters:
  39053. - description: 页码
  39054. in: query
  39055. name: page
  39056. type: integer
  39057. - description: 每页条数
  39058. in: query
  39059. name: pagesize
  39060. type: integer
  39061. - description: 商品id
  39062. in: query
  39063. name: goodsid
  39064. required: true
  39065. type: integer
  39066. - description: 买卖方向 0-买 1-卖
  39067. in: query
  39068. name: buyorsell
  39069. required: true
  39070. type: integer
  39071. produces:
  39072. - application/json
  39073. responses:
  39074. "200":
  39075. description: OK
  39076. schema:
  39077. items:
  39078. $ref: '#/definitions/models.WrTradeOrderDetail'
  39079. type: array
  39080. "500":
  39081. description: Internal Server Error
  39082. schema:
  39083. $ref: '#/definitions/app.Response'
  39084. security:
  39085. - ApiKeyAuth: []
  39086. summary: 查询合约交易买卖大厅
  39087. tags:
  39088. - 仓单贸易v2
  39089. /WrTrade2/QueryWrTradeQuote:
  39090. get:
  39091. parameters:
  39092. - description: 现货商品id
  39093. in: query
  39094. name: wrstandardid
  39095. required: true
  39096. type: integer
  39097. - description: 开始日期(yyyymmdd)
  39098. in: query
  39099. name: begindate
  39100. required: true
  39101. type: string
  39102. - description: 结束日期(yyyymmdd)
  39103. in: query
  39104. name: enddate
  39105. required: true
  39106. type: string
  39107. - description: 市场id
  39108. in: query
  39109. name: marketid
  39110. type: integer
  39111. produces:
  39112. - application/json
  39113. responses:
  39114. "200":
  39115. description: OK
  39116. schema:
  39117. items:
  39118. $ref: '#/definitions/models.Wrtradetradequote'
  39119. type: array
  39120. "500":
  39121. description: Internal Server Error
  39122. schema:
  39123. $ref: '#/definitions/app.Response'
  39124. security:
  39125. - ApiKeyAuth: []
  39126. summary: 查询仓单贸易成交行情
  39127. tags:
  39128. - 仓单贸易v2
  39129. /WrTrade2/QueryWrUserFriend:
  39130. get:
  39131. parameters:
  39132. - description: 用户id
  39133. in: query
  39134. name: userid
  39135. required: true
  39136. type: integer
  39137. - description: 新朋友userid, 如果填写了此项则查找新朋友
  39138. in: query
  39139. name: newuserid
  39140. type: integer
  39141. produces:
  39142. - application/json
  39143. responses:
  39144. "200":
  39145. description: OK
  39146. schema:
  39147. items:
  39148. $ref: '#/definitions/models.WrUserFriend'
  39149. type: array
  39150. "500":
  39151. description: Internal Server Error
  39152. schema:
  39153. $ref: '#/definitions/app.Response'
  39154. security:
  39155. - ApiKeyAuth: []
  39156. summary: 查询我的朋友
  39157. tags:
  39158. - 仓单贸易v2
  39159. /WrTrade2/QueryWrUserReceiptInfo:
  39160. get:
  39161. parameters:
  39162. - description: 用户id
  39163. in: query
  39164. name: userid
  39165. type: integer
  39166. - description: 发票类型 - 1:个人 2:企业
  39167. in: query
  39168. name: receipttype
  39169. type: integer
  39170. produces:
  39171. - application/json
  39172. responses:
  39173. "200":
  39174. description: OK
  39175. schema:
  39176. items:
  39177. $ref: '#/definitions/models.WrUserReceiptInfo'
  39178. type: array
  39179. "500":
  39180. description: Internal Server Error
  39181. schema:
  39182. $ref: '#/definitions/app.Response'
  39183. security:
  39184. - ApiKeyAuth: []
  39185. summary: 查询发票信息
  39186. tags:
  39187. - 仓单贸易v2
  39188. /WrTrade2/QueryXhcpSellBackApply:
  39189. get:
  39190. parameters:
  39191. - description: 用户ID
  39192. in: query
  39193. name: userid
  39194. required: true
  39195. type: integer
  39196. produces:
  39197. - application/json
  39198. responses:
  39199. "200":
  39200. description: OK
  39201. schema:
  39202. items:
  39203. $ref: '#/definitions/models.Xhcpsellbackapply'
  39204. type: array
  39205. "500":
  39206. description: Internal Server Error
  39207. schema:
  39208. $ref: '#/definitions/app.Response'
  39209. security:
  39210. - ApiKeyAuth: []
  39211. summary: 查询我的回收申请(新会陈皮)
  39212. tags:
  39213. - 仓单贸易v2
  39214. /ZJ/GetBankTip:
  39215. get:
  39216. produces:
  39217. - application/json
  39218. responses:
  39219. "200":
  39220. description: OK
  39221. schema:
  39222. type: string
  39223. "500":
  39224. description: Internal Server Error
  39225. schema:
  39226. $ref: '#/definitions/app.Response'
  39227. summary: 获取中江网银端出入金提示信息
  39228. tags:
  39229. - 中江
  39230. /ZJ/GetCusBankChannels:
  39231. get:
  39232. produces:
  39233. - application/json
  39234. responses:
  39235. "200":
  39236. description: OK
  39237. schema:
  39238. items:
  39239. type: string
  39240. type: array
  39241. "500":
  39242. description: Internal Server Error
  39243. schema:
  39244. $ref: '#/definitions/app.Response'
  39245. summary: 获取中江出入金渠道显示列表
  39246. tags:
  39247. - 中江
  39248. securityDefinitions:
  39249. ApiKeyAuth:
  39250. in: header
  39251. name: Authorization
  39252. type: apiKey
  39253. Group:
  39254. in: header
  39255. name: Group
  39256. type: apiKey
  39257. LoginID:
  39258. in: header
  39259. name: LoginID
  39260. type: apiKey
  39261. swagger: "2.0"